PR tree-optimization/17697
[official-gcc.git] / libstdc++-v3 / configure
blobf19e56b5dd2ba392e5eeb383d69ad8a3a2f99648
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CCODECVT_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-c-mbchar enable multibyte (wide) characters
873 [default=yes]
874 --enable-c99 turns on ISO/IEC 9899:1999 support
875 [default=yes]
876 --enable-long-long enables I/O support for 'long long'
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-fully-dynamic-string
888 do not put empty strings in per-process static
889 memory [default=no]
890 --enable-symvers=STYLE enables symbol versioning of the shared library
891 [default=yes]
892 --enable-version-specific-runtime-libs
893 Specify that runtime libraries should be installed
894 in a compiler-specific directory
896 Optional Packages:
897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
899 --with-target-subdir=SUBDIR
900 configuring in a subdirectory
901 --with-cross-host=HOST configuring with a cross compiler
902 --with-newlib assume newlib as a system C library
903 --with-gnu-ld assume the C compiler uses GNU ld default=no
904 --with-pic try to use only PIC/non-PIC objects default=use both
905 --with-gxx-include-dir=DIR
906 installation directory for include files
908 Some influential environment variables:
909 CC C compiler command
910 CFLAGS C compiler flags
911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
912 nonstandard directory <lib dir>
913 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
914 headers in a nonstandard directory <include dir>
915 CXX C++ compiler command
916 CXXFLAGS C++ compiler flags
917 CXXCPP C++ preprocessor
918 CPP C preprocessor
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
923 _ACEOF
926 if test "$ac_init_help" = "recursive"; then
927 # If there are subdirs, report their specific --help.
928 ac_popdir=`pwd`
929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930 test -d $ac_dir || continue
931 ac_builddir=.
933 if test "$ac_dir" != .; then
934 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935 # A "../" for each directory in $ac_dir_suffix.
936 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938 ac_dir_suffix= ac_top_builddir=
941 case $srcdir in
942 .) # No --srcdir option. We are building in place.
943 ac_srcdir=.
944 if test -z "$ac_top_builddir"; then
945 ac_top_srcdir=.
946 else
947 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948 fi ;;
949 [\\/]* | ?:[\\/]* ) # Absolute path.
950 ac_srcdir=$srcdir$ac_dir_suffix;
951 ac_top_srcdir=$srcdir ;;
952 *) # Relative path.
953 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954 ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
962 case "$ac_dir" in
963 .) ac_abs_builddir=`pwd`;;
964 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965 *) ac_abs_builddir=`pwd`/"$ac_dir";;
966 esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
971 case ${ac_top_builddir}. in
972 .) ac_abs_top_builddir=$ac_abs_builddir;;
973 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975 esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
980 case $ac_srcdir in
981 .) ac_abs_srcdir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984 esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
989 case $ac_top_srcdir in
990 .) ac_abs_top_srcdir=$ac_abs_builddir;;
991 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993 esac;;
994 esac
996 cd $ac_dir
997 # Check for guested configure; otherwise get Cygnus style configure.
998 if test -f $ac_srcdir/configure.gnu; then
999 echo
1000 $SHELL $ac_srcdir/configure.gnu --help=recursive
1001 elif test -f $ac_srcdir/configure; then
1002 echo
1003 $SHELL $ac_srcdir/configure --help=recursive
1004 elif test -f $ac_srcdir/configure.ac ||
1005 test -f $ac_srcdir/configure.in; then
1006 echo
1007 $ac_configure --help
1008 else
1009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1011 cd $ac_popdir
1012 done
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017 cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025 exit 0
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59. Invocation command line was
1035 $ $0 $@
1037 _ACEOF
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1061 _ASUNAME
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1066 IFS=$as_save_IFS
1067 test -z "$as_dir" && as_dir=.
1068 echo "PATH: $as_dir"
1069 done
1071 } >&5
1073 cat >&5 <<_ACEOF
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1080 _ACEOF
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1095 for ac_arg
1097 case $ac_arg in
1098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100 | -silent | --silent | --silen | --sile | --sil)
1101 continue ;;
1102 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104 esac
1105 case $ac_pass in
1106 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1108 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109 if test $ac_must_keep_next = true; then
1110 ac_must_keep_next=false # Got value, back to normal.
1111 else
1112 case $ac_arg in
1113 *=* | --config-cache | -C | -disable-* | --disable-* \
1114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116 | -with-* | --with-* | -without-* | --without-* | --x)
1117 case "$ac_configure_args0 " in
1118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119 esac
1121 -* ) ac_must_keep_next=true ;;
1122 esac
1124 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125 # Get rid of the leading space.
1126 ac_sep=" "
1128 esac
1129 done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log. We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140 # Save into config.log some information that might help in debugging.
1142 echo
1144 cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149 echo
1150 # The following way of writing the cache mishandles newlines in values,
1152 (set) 2>&1 |
1153 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154 *ac_space=\ *)
1155 sed -n \
1156 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160 sed -n \
1161 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1163 esac;
1165 echo
1167 cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172 echo
1173 for ac_var in $ac_subst_vars
1175 eval ac_val=$`echo $ac_var`
1176 echo "$ac_var='"'"'$ac_val'"'"'"
1177 done | sort
1178 echo
1180 if test -n "$ac_subst_files"; then
1181 cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186 echo
1187 for ac_var in $ac_subst_files
1189 eval ac_val=$`echo $ac_var`
1190 echo "$ac_var='"'"'$ac_val'"'"'"
1191 done | sort
1192 echo
1195 if test -s confdefs.h; then
1196 cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201 echo
1202 sed "/^$/d" confdefs.h | sort
1203 echo
1205 test "$ac_signal" != 0 &&
1206 echo "$as_me: caught signal $ac_signal"
1207 echo "$as_me: exit $exit_status"
1208 } >&5
1209 rm -f core *.core &&
1210 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211 exit $exit_status
1213 for ac_signal in 1 2 13 15; do
1214 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1223 # Predefined preprocessor variables.
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253 if test "x$prefix" != xNONE; then
1254 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255 else
1256 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259 for ac_site_file in $CONFIG_SITE; do
1260 if test -r "$ac_site_file"; then
1261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263 sed 's/^/| /' "$ac_site_file" >&5
1264 . "$ac_site_file"
1266 done
1268 if test -r "$cache_file"; then
1269 # Some versions of bash will fail to source /dev/null (special
1270 # files actually), so we avoid doing that.
1271 if test -f "$cache_file"; then
1272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274 case $cache_file in
1275 [\\/]* | ?:[\\/]* ) . $cache_file;;
1276 *) . ./$cache_file;;
1277 esac
1279 else
1280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282 >$cache_file
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291 eval ac_new_set=\$ac_env_${ac_var}_set
1292 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293 eval ac_new_val="\$ac_env_${ac_var}_value"
1294 case $ac_old_set,$ac_new_set in
1295 set,)
1296 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298 ac_cache_corrupted=: ;;
1299 ,set)
1300 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302 ac_cache_corrupted=: ;;
1303 ,);;
1305 if test "x$ac_old_val" != "x$ac_new_val"; then
1306 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1309 echo "$as_me: former value: $ac_old_val" >&2;}
1310 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1311 echo "$as_me: current value: $ac_new_val" >&2;}
1312 ac_cache_corrupted=:
1313 fi;;
1314 esac
1315 # Pass precious variables to config.status.
1316 if test "$ac_new_set" = set; then
1317 case $ac_new_val in
1318 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320 *) ac_arg=$ac_var=$ac_new_val ;;
1321 esac
1322 case " $ac_configure_args " in
1323 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1324 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325 esac
1327 done
1328 if $ac_cache_corrupted; then
1329 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333 { (exit 1); exit 1; }; }
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1369 ac_config_headers="$ac_config_headers config.h"
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported. Only used at the end of this file.
1376 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:2:0
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386 enableval="$enable_multilib"
1387 case "$enableval" in
1388 yes) multilib=yes ;;
1389 no) multilib=no ;;
1390 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392 { (exit 1); exit 1; }; } ;;
1393 esac
1394 else
1395 multilib=yes
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1402 if test "$srcdir" = "."; then
1403 if test "$with_target_subdir" != "."; then
1404 multi_basedir="$srcdir/$with_multisrctop../.."
1405 else
1406 multi_basedir="$srcdir/$with_multisrctop.."
1408 else
1409 multi_basedir="$srcdir/.."
1413 ac_config_commands="$ac_config_commands default-1"
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1418 # You will slowly go insane if you do not grok the following fact: when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/. configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf. Therefore, 'target' and
1422 # 'host' will always be the same. This makes sense both for native and
1423 # cross compilers, just think about it for a little while. :-)
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1428 # Do not delete or change the following two lines. For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432 if test -f $ac_dir/install-sh; then
1433 ac_aux_dir=$ac_dir
1434 ac_install_sh="$ac_aux_dir/install-sh -c"
1435 break
1436 elif test -f $ac_dir/install.sh; then
1437 ac_aux_dir=$ac_dir
1438 ac_install_sh="$ac_aux_dir/install.sh -c"
1439 break
1440 elif test -f $ac_dir/shtool; then
1441 ac_aux_dir=$ac_dir
1442 ac_install_sh="$ac_aux_dir/shtool install -c"
1443 break
1445 done
1446 if test -z "$ac_aux_dir"; then
1447 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449 { (exit 1); exit 1; }; }
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459 { (exit 1); exit 1; }; }
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466 ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468 ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472 { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476 { (exit 1); exit 1; }; }
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492 ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494 ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514 ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516 ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534 test "$program_prefix$program_suffix$program_transform_name" = \
1535 NONENONEs,x,x, &&
1536 program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1542 if test "$build" != "$host"; then
1543 # We are being configured with some form of cross compiler.
1544 GLIBCXX_IS_NATIVE=false
1546 else
1547 GLIBCXX_IS_NATIVE=true
1550 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 # 1.x: minimum required version
1553 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 # of other PACKAGE_* variables will, however, and there's nothing
1555 # we can do about that; they come from AC_INIT).
1556 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1557 # file in the top srcdir, etc, etc), so stop complaining.
1558 # no-dependencies: turns off auto dependency generation (just for now)
1559 # -Wall: turns on all automake warnings...
1560 # -Wno-portability: ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program. We prefer a C program (faster),
1563 # so one script is as good as another. But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1584 IFS=$as_save_IFS
1585 test -z "$as_dir" && as_dir=.
1586 # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588 ./ | .// | /cC/* | \
1589 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591 /usr/ucb/* ) ;;
1593 # OSF1 and SCO ODT 3.0 have their own names for install.
1594 # Don't use installbsd from OSF since it installs stuff as root
1595 # by default.
1596 for ac_prog in ginstall scoinst install; do
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599 if test $ac_prog = install &&
1600 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601 # AIX install. It has an incompatible calling convention.
1603 elif test $ac_prog = install &&
1604 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # program-specific install script used by HP pwplus--don't use.
1607 else
1608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609 break 3
1612 done
1613 done
1615 esac
1616 done
1620 if test "${ac_cv_path_install+set}" = set; then
1621 INSTALL=$ac_cv_path_install
1622 else
1623 # As a last resort, use the slow shell script. We don't cache a
1624 # path for INSTALL within a source directory, because that will
1625 # break other packages using the cache if that directory is
1626 # removed, or if the path is relative.
1627 INSTALL=$ac_install_sh
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments. Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653 if test "$*" = "X"; then
1654 # -L didn't work.
1655 set X `ls -t $srcdir/configure conftest.file`
1657 rm -f conftest.file
1658 if test "$*" != "X $srcdir/configure conftest.file" \
1659 && test "$*" != "X conftest.file $srcdir/configure"; then
1661 # If neither matched, then we have a broken ls. This can happen
1662 # if, for instance, CONFIG_SHELL is bash and it inherits a
1663 # broken ls alias from the environment. This has actually
1664 # happened. Such a system could not be considered "sane".
1665 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&2;}
1669 { (exit 1); exit 1; }; }
1672 test "$2" = conftest.file
1674 then
1675 # Ok.
1677 else
1678 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682 { (exit 1); exit 1; }; }
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $. echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705 am_missing_run="$MISSING --run "
1706 else
1707 am_missing_run=
1708 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713 # We used to keeping the `.' as first argument, in order to
1714 # allow $(mkdir_p) to be used without argument. As in
1715 # $(mkdir_p) $(somedir)
1716 # where $(somedir) is conditionally defined. However this is wrong
1717 # for two reasons:
1718 # 1. if the package is installed by a user who cannot write `.'
1719 # make install will fail,
1720 # 2. the above comment should most certainly read
1721 # $(mkdir_p) $(DESTDIR)$(somedir)
1722 # so it does not work when $(somedir) is undefined and
1723 # $(DESTDIR) is not.
1724 # To support the latter case, we have to write
1725 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726 # so the `.' trick is pointless.
1727 mkdir_p='mkdir -p --'
1728 else
1729 # On NextStep and OpenStep, the `mkdir' command does not
1730 # recognize any option. It will interpret all options as
1731 # directories to create, and then abort because `.' already
1732 # exists.
1733 for d in ./-p ./--version;
1735 test -d $d && rmdir $d
1736 done
1737 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738 if test -f "$ac_aux_dir/mkinstalldirs"; then
1739 mkdir_p='$(mkinstalldirs)'
1740 else
1741 mkdir_p='$(install_sh) -d'
1745 for ac_prog in gawk mawk nawk awk
1747 # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 if test -n "$AWK"; then
1755 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1760 IFS=$as_save_IFS
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_AWK="$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 break 2
1768 done
1769 done
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775 echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1782 test -n "$AWK" && break
1783 done
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791 cat >conftest.make <<\_ACEOF
1792 all:
1793 @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798 eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800 eval ac_cv_prog_make_${ac_make}_set=no
1802 rm -f conftest.make
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805 echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807 SET_MAKE=
1808 else
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811 SET_MAKE="MAKE=${MAKE-make}"
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817 am__leading_dot=.
1818 else
1819 am__leading_dot=_
1821 rmdir .tst 2>/dev/null
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825 test -f $srcdir/config.status; then
1826 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828 { (exit 1); exit 1; }; }
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833 if (cygpath --version) >/dev/null 2>/dev/null; then
1834 CYGPATH_W='cygpath -w'
1835 else
1836 CYGPATH_W=echo
1841 # Define the identity of the package.
1842 PACKAGE='libstdc++'
1843 VERSION='version-unused'
1846 # Some tools Automake needs.
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'. However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869 if test -n "$ac_tool_prefix"; then
1870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 if test -n "$STRIP"; then
1878 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1883 IFS=$as_save_IFS
1884 test -z "$as_dir" && as_dir=.
1885 for ac_exec_ext in '' $ac_executable_extensions; do
1886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 break 2
1891 done
1892 done
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898 echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1906 if test -z "$ac_cv_prog_STRIP"; then
1907 ac_ct_STRIP=$STRIP
1908 # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915 if test -n "$ac_ct_STRIP"; then
1916 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1921 IFS=$as_save_IFS
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_ac_ct_STRIP="strip"
1926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 break 2
1929 done
1930 done
1932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1944 STRIP=$ac_ct_STRIP
1945 else
1946 STRIP="$ac_cv_prog_STRIP"
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1952 # We need awk for the "check" target. The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1965 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1966 # up critical shell variables.
1968 # Keep these sync'd with the list in Makefile.am. The first provides an
1969 # expandable list at autoconf time; the second provides an expandable list
1970 # (i.e., shell variable) at configure time.
1972 SUBDIRS='include libmath libsupc++ src po testsuite'
1974 # These need to be absolute paths, yet at the same time need to
1975 # canonicalize only relative paths, because then amd will not unmount
1976 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1977 glibcxx_builddir=`${PWDCMD-pwd}`
1978 case $srcdir in
1979 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1980 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1981 esac
1982 toplevel_srcdir=${glibcxx_srcdir}/..
1987 # We use these options to decide which functions to include. They are
1988 # set from the top level.
1990 # Check whether --with-target-subdir or --without-target-subdir was given.
1991 if test "${with_target_subdir+set}" = set; then
1992 withval="$with_target_subdir"
1997 # Check whether --with-cross-host or --without-cross-host was given.
1998 if test "${with_cross_host+set}" = set; then
1999 withval="$with_cross_host"
2004 # Check whether --with-newlib or --without-newlib was given.
2005 if test "${with_newlib+set}" = set; then
2006 withval="$with_newlib"
2010 # We're almost certainly being configured before anything else which uses
2011 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2012 # we not cache the value of CXX that we "discover" here, because it's set
2013 # to something unique for us and libjava. Other target libraries need to
2014 # find CXX for themselves. We yank the rug out from under the normal AC_*
2015 # process by sneakily renaming the cache variable. This also lets us debug
2016 # the value of "our" CXX in postmortems.
2018 # We must also force CXX to /not/ be a precious variable, otherwise the
2019 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2020 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2021 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2022 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2024 # -fno-builtin must be present here so that a non-conflicting form of
2025 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2030 save_CXXFLAGS="$CXXFLAGS"
2031 CXXFLAGS="$CXXFLAGS -fno-builtin"
2032 ac_ext=c
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 if test -n "$ac_tool_prefix"; then
2038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_CC+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045 if test -n "$CC"; then
2046 ac_cv_prog_CC="$CC" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2051 IFS=$as_save_IFS
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 break 2
2059 done
2060 done
2064 CC=$ac_cv_prog_CC
2065 if test -n "$CC"; then
2066 echo "$as_me:$LINENO: result: $CC" >&5
2067 echo "${ECHO_T}$CC" >&6
2068 else
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2074 if test -z "$ac_cv_prog_CC"; then
2075 ac_ct_CC=$CC
2076 # Extract the first word of "gcc", so it can be a program name with args.
2077 set dummy gcc; ac_word=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083 if test -n "$ac_ct_CC"; then
2084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2089 IFS=$as_save_IFS
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093 ac_cv_prog_ac_ct_CC="gcc"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 break 2
2097 done
2098 done
2102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2105 echo "${ECHO_T}$ac_ct_CC" >&6
2106 else
2107 echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2111 CC=$ac_ct_CC
2112 else
2113 CC="$ac_cv_prog_CC"
2116 if test -z "$CC"; then
2117 if test -n "$ac_tool_prefix"; then
2118 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2119 set dummy ${ac_tool_prefix}cc; ac_word=$2
2120 echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2122 if test "${ac_cv_prog_CC+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 else
2125 if test -n "$CC"; then
2126 ac_cv_prog_CC="$CC" # Let the user override the test.
2127 else
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2131 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135 ac_cv_prog_CC="${ac_tool_prefix}cc"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 break 2
2139 done
2140 done
2144 CC=$ac_cv_prog_CC
2145 if test -n "$CC"; then
2146 echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2148 else
2149 echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2154 if test -z "$ac_cv_prog_CC"; then
2155 ac_ct_CC=$CC
2156 # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc; ac_word=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 else
2163 if test -n "$ac_ct_CC"; then
2164 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2169 IFS=$as_save_IFS
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_ac_ct_CC="cc"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 break 2
2177 done
2178 done
2182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2185 echo "${ECHO_T}$ac_ct_CC" >&6
2186 else
2187 echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2191 CC=$ac_ct_CC
2192 else
2193 CC="$ac_cv_prog_CC"
2197 if test -z "$CC"; then
2198 # Extract the first word of "cc", so it can be a program name with args.
2199 set dummy cc; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC="$CC" # Let the user override the test.
2207 else
2208 ac_prog_rejected=no
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 for as_dir in $PATH
2212 IFS=$as_save_IFS
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2217 ac_prog_rejected=yes
2218 continue
2220 ac_cv_prog_CC="cc"
2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 break 2
2224 done
2225 done
2227 if test $ac_prog_rejected = yes; then
2228 # We found a bogon in the path, so make sure we never use it.
2229 set dummy $ac_cv_prog_CC
2230 shift
2231 if test $# != 0; then
2232 # We chose a different compiler from the bogus one.
2233 # However, it has the same basename, so the bogon will be chosen
2234 # first if we set CC to just the basename; use the full file name.
2235 shift
2236 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2241 CC=$ac_cv_prog_CC
2242 if test -n "$CC"; then
2243 echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2245 else
2246 echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2251 if test -z "$CC"; then
2252 if test -n "$ac_tool_prefix"; then
2253 for ac_prog in cl
2255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC="$CC" # Let the user override the test.
2264 else
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2268 IFS=$as_save_IFS
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 break 2
2276 done
2277 done
2281 CC=$ac_cv_prog_CC
2282 if test -n "$CC"; then
2283 echo "$as_me:$LINENO: result: $CC" >&5
2284 echo "${ECHO_T}$CC" >&6
2285 else
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2290 test -n "$CC" && break
2291 done
2293 if test -z "$CC"; then
2294 ac_ct_CC=$CC
2295 for ac_prog in cl
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 else
2304 if test -n "$ac_ct_CC"; then
2305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_ac_ct_CC="$ac_prog"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2318 done
2319 done
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324 if test -n "$ac_ct_CC"; then
2325 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2326 echo "${ECHO_T}$ac_ct_CC" >&6
2327 else
2328 echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2332 test -n "$ac_ct_CC" && break
2333 done
2335 CC=$ac_ct_CC
2341 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: no acceptable C compiler found in \$PATH
2344 See \`config.log' for more details." >&2;}
2345 { (exit 1); exit 1; }; }
2347 # Provide some information about the compiler.
2348 echo "$as_me:$LINENO:" \
2349 "checking for C compiler version" >&5
2350 ac_compiler=`set X $ac_compile; echo $2`
2351 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2352 (eval $ac_compiler --version </dev/null >&5) 2>&5
2353 ac_status=$?
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }
2356 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2357 (eval $ac_compiler -v </dev/null >&5) 2>&5
2358 ac_status=$?
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }
2361 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2362 (eval $ac_compiler -V </dev/null >&5) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h. */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2375 main ()
2379 return 0;
2381 _ACEOF
2382 # FIXME: Cleanup?
2383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2384 (eval $ac_link) 2>&5
2385 ac_status=$?
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; then
2388 gcc_no_link=no
2389 else
2390 gcc_no_link=yes
2393 if test x$gcc_no_link = xyes; then
2394 # Setting cross_compile will disable run tests; it will
2395 # also disable AC_CHECK_FILE but that's generally
2396 # correct if we can't link.
2397 cross_compiling=yes
2398 EXEEXT=
2399 else
2400 cat >conftest.$ac_ext <<_ACEOF
2401 /* confdefs.h. */
2402 _ACEOF
2403 cat confdefs.h >>conftest.$ac_ext
2404 cat >>conftest.$ac_ext <<_ACEOF
2405 /* end confdefs.h. */
2408 main ()
2412 return 0;
2414 _ACEOF
2415 ac_clean_files_save=$ac_clean_files
2416 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2417 # Try to create an executable without -o first, disregard a.out.
2418 # It will help us diagnose broken compilers, and finding out an intuition
2419 # of exeext.
2420 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2421 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2422 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2423 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2424 (eval $ac_link_default) 2>&5
2425 ac_status=$?
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; then
2428 # Find the output, starting from the most likely. This scheme is
2429 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2430 # resort.
2432 # Be careful to initialize this variable, since it used to be cached.
2433 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2434 ac_cv_exeext=
2435 # b.out is created by i960 compilers.
2436 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2438 test -f "$ac_file" || continue
2439 case $ac_file in
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2442 conftest.$ac_ext )
2443 # This is the source file.
2445 [ab].out )
2446 # We found the default executable, but exeext='' is most
2447 # certainly right.
2448 break;;
2449 *.* )
2450 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2451 # FIXME: I believe we export ac_cv_exeext for Libtool,
2452 # but it would be cool to find out if it's true. Does anybody
2453 # maintain Libtool? --akim.
2454 export ac_cv_exeext
2455 break;;
2457 break;;
2458 esac
2459 done
2460 else
2461 echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&2;}
2468 { (exit 77); exit 77; }; }
2471 ac_exeext=$ac_cv_exeext
2472 echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6
2475 # Check the compiler produces executables we can run. If not, either
2476 # the compiler is broken, or we cross compile.
2477 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2478 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2479 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2480 # If not cross compiling, check that we can run a simple program.
2481 if test "$cross_compiling" != yes; then
2482 if { ac_try='./$ac_file'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 (eval $ac_try) 2>&5
2485 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 cross_compiling=no
2489 else
2490 if test "$cross_compiling" = maybe; then
2491 cross_compiling=yes
2492 else
2493 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&2;}
2499 { (exit 1); exit 1; }; }
2503 echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6
2506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2507 ac_clean_files=$ac_clean_files_save
2508 # Check the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2512 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2513 echo "${ECHO_T}$cross_compiling" >&6
2515 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2518 (eval $ac_link) 2>&5
2519 ac_status=$?
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; then
2522 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2523 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2524 # work properly (i.e., refer to `conftest.exe'), while it won't with
2525 # `rm'.
2526 for ac_file in conftest.exe conftest conftest.*; do
2527 test -f "$ac_file" || continue
2528 case $ac_file in
2529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2530 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2531 export ac_cv_exeext
2532 break;;
2533 * ) break;;
2534 esac
2535 done
2536 else
2537 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541 { (exit 1); exit 1; }; }
2544 rm -f conftest$ac_cv_exeext
2545 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6
2548 rm -f conftest.$ac_ext
2549 EXEEXT=$ac_cv_exeext
2550 ac_exeext=$EXEEXT
2552 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2554 if test "${ac_cv_objext+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 else
2557 cat >conftest.$ac_ext <<_ACEOF
2558 /* confdefs.h. */
2559 _ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2565 main ()
2569 return 0;
2571 _ACEOF
2572 rm -f conftest.o conftest.obj
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>&5
2575 ac_status=$?
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; then
2578 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2579 case $ac_file in
2580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2582 break;;
2583 esac
2584 done
2585 else
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2589 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2590 See \`config.log' for more details." >&5
2591 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&2;}
2593 { (exit 1); exit 1; }; }
2596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2598 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2599 echo "${ECHO_T}$ac_cv_objext" >&6
2600 OBJEXT=$ac_cv_objext
2601 ac_objext=$OBJEXT
2602 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2603 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 else
2607 cat >conftest.$ac_ext <<_ACEOF
2608 /* confdefs.h. */
2609 _ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2615 main ()
2617 #ifndef __GNUC__
2618 choke me
2619 #endif
2622 return 0;
2624 _ACEOF
2625 rm -f conftest.$ac_objext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627 (eval $ac_compile) 2>conftest.er1
2628 ac_status=$?
2629 grep -v '^ *+' conftest.er1 >conftest.err
2630 rm -f conftest.er1
2631 cat conftest.err >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try='test -z "$ac_c_werror_flag"
2635 || test ! -s conftest.err'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 (eval $ac_try) 2>&5
2638 ac_status=$?
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try='test -s conftest.$ac_objext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 (eval $ac_try) 2>&5
2644 ac_status=$?
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2647 ac_compiler_gnu=yes
2648 else
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 ac_compiler_gnu=no
2654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2658 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2659 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2660 GCC=`test $ac_compiler_gnu = yes && echo yes`
2661 ac_test_CFLAGS=${CFLAGS+set}
2662 ac_save_CFLAGS=$CFLAGS
2663 CFLAGS="-g"
2664 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2665 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2666 if test "${ac_cv_prog_cc_g+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 else
2669 cat >conftest.$ac_ext <<_ACEOF
2670 /* confdefs.h. */
2671 _ACEOF
2672 cat confdefs.h >>conftest.$ac_ext
2673 cat >>conftest.$ac_ext <<_ACEOF
2674 /* end confdefs.h. */
2677 main ()
2681 return 0;
2683 _ACEOF
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>conftest.er1
2687 ac_status=$?
2688 grep -v '^ *+' conftest.er1 >conftest.err
2689 rm -f conftest.er1
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try='test -z "$ac_c_werror_flag"
2694 || test ! -s conftest.err'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 (eval $ac_try) 2>&5
2697 ac_status=$?
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; } &&
2700 { ac_try='test -s conftest.$ac_objext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 (eval $ac_try) 2>&5
2703 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2706 ac_cv_prog_cc_g=yes
2707 else
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 ac_cv_prog_cc_g=no
2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2715 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2716 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2717 if test "$ac_test_CFLAGS" = set; then
2718 CFLAGS=$ac_save_CFLAGS
2719 elif test $ac_cv_prog_cc_g = yes; then
2720 if test "$GCC" = yes; then
2721 CFLAGS="-g -O2"
2722 else
2723 CFLAGS="-g"
2725 else
2726 if test "$GCC" = yes; then
2727 CFLAGS="-O2"
2728 else
2729 CFLAGS=
2732 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2733 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2734 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2735 echo $ECHO_N "(cached) $ECHO_C" >&6
2736 else
2737 ac_cv_prog_cc_stdc=no
2738 ac_save_CC=$CC
2739 cat >conftest.$ac_ext <<_ACEOF
2740 /* confdefs.h. */
2741 _ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2745 #include <stdarg.h>
2746 #include <stdio.h>
2747 #include <sys/types.h>
2748 #include <sys/stat.h>
2749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2750 struct buf { int x; };
2751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2752 static char *e (p, i)
2753 char **p;
2754 int i;
2756 return p[i];
2758 static char *f (char * (*g) (char **, int), char **p, ...)
2760 char *s;
2761 va_list v;
2762 va_start (v,p);
2763 s = g (p, va_arg (v,int));
2764 va_end (v);
2765 return s;
2768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2769 function prototypes and stuff, but not '\xHH' hex character constants.
2770 These don't provoke an error unfortunately, instead are silently treated
2771 as 'x'. The following induces an error, until -std1 is added to get
2772 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2773 array size at least. It's necessary to write '\x00'==0 to get something
2774 that's true only with -std1. */
2775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2777 int test (int i, double x);
2778 struct s1 {int (*f) (int a);};
2779 struct s2 {int (*f) (double a);};
2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2781 int argc;
2782 char **argv;
2784 main ()
2786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2788 return 0;
2790 _ACEOF
2791 # Don't try gcc -ansi; that turns off useful extensions and
2792 # breaks some systems' header files.
2793 # AIX -qlanglvl=ansi
2794 # Ultrix and OSF/1 -std1
2795 # HP-UX 10.20 and later -Ae
2796 # HP-UX older versions -Aa -D_HPUX_SOURCE
2797 # SVR4 -Xc -D__EXTENSIONS__
2798 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2800 CC="$ac_save_CC $ac_arg"
2801 rm -f conftest.$ac_objext
2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2803 (eval $ac_compile) 2>conftest.er1
2804 ac_status=$?
2805 grep -v '^ *+' conftest.er1 >conftest.err
2806 rm -f conftest.er1
2807 cat conftest.err >&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } &&
2810 { ac_try='test -z "$ac_c_werror_flag"
2811 || test ! -s conftest.err'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 (eval $ac_try) 2>&5
2814 ac_status=$?
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; } &&
2817 { ac_try='test -s conftest.$ac_objext'
2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819 (eval $ac_try) 2>&5
2820 ac_status=$?
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); }; }; then
2823 ac_cv_prog_cc_stdc=$ac_arg
2824 break
2825 else
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2830 rm -f conftest.err conftest.$ac_objext
2831 done
2832 rm -f conftest.$ac_ext conftest.$ac_objext
2833 CC=$ac_save_CC
2837 case "x$ac_cv_prog_cc_stdc" in
2838 x|xno)
2839 echo "$as_me:$LINENO: result: none needed" >&5
2840 echo "${ECHO_T}none needed" >&6 ;;
2842 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2844 CC="$CC $ac_cv_prog_cc_stdc" ;;
2845 esac
2847 # Some people use a C++ compiler to compile C. Since we use `exit',
2848 # in C++ we need to declare it. In case someone uses the same compiler
2849 # for both compiling C and C++ we need to have the C++ compiler decide
2850 # the declaration of exit, since it's the most demanding environment.
2851 cat >conftest.$ac_ext <<_ACEOF
2852 #ifndef __cplusplus
2853 choke me
2854 #endif
2855 _ACEOF
2856 rm -f conftest.$ac_objext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>conftest.er1
2859 ac_status=$?
2860 grep -v '^ *+' conftest.er1 >conftest.err
2861 rm -f conftest.er1
2862 cat conftest.err >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } &&
2865 { ac_try='test -z "$ac_c_werror_flag"
2866 || test ! -s conftest.err'
2867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868 (eval $ac_try) 2>&5
2869 ac_status=$?
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; } &&
2872 { ac_try='test -s conftest.$ac_objext'
2873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 (eval $ac_try) 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; }; then
2878 for ac_declaration in \
2879 '' \
2880 'extern "C" void std::exit (int) throw (); using std::exit;' \
2881 'extern "C" void std::exit (int); using std::exit;' \
2882 'extern "C" void exit (int) throw ();' \
2883 'extern "C" void exit (int);' \
2884 'void exit (int);'
2886 cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h. */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2892 $ac_declaration
2893 #include <stdlib.h>
2895 main ()
2897 exit (42);
2899 return 0;
2901 _ACEOF
2902 rm -f conftest.$ac_objext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2904 (eval $ac_compile) 2>conftest.er1
2905 ac_status=$?
2906 grep -v '^ *+' conftest.er1 >conftest.err
2907 rm -f conftest.er1
2908 cat conftest.err >&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } &&
2911 { ac_try='test -z "$ac_c_werror_flag"
2912 || test ! -s conftest.err'
2913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 (eval $ac_try) 2>&5
2915 ac_status=$?
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; } &&
2918 { ac_try='test -s conftest.$ac_objext'
2919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 (eval $ac_try) 2>&5
2921 ac_status=$?
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; }; then
2925 else
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 continue
2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2932 cat >conftest.$ac_ext <<_ACEOF
2933 /* confdefs.h. */
2934 _ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2938 $ac_declaration
2940 main ()
2942 exit (42);
2944 return 0;
2946 _ACEOF
2947 rm -f conftest.$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949 (eval $ac_compile) 2>conftest.er1
2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } &&
2956 { ac_try='test -z "$ac_c_werror_flag"
2957 || test ! -s conftest.err'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 (eval $ac_try) 2>&5
2960 ac_status=$?
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; } &&
2963 { ac_try='test -s conftest.$ac_objext'
2964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965 (eval $ac_try) 2>&5
2966 ac_status=$?
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; }; then
2969 break
2970 else
2971 echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2976 done
2977 rm -f conftest*
2978 if test -n "$ac_declaration"; then
2979 echo '#ifdef __cplusplus' >>confdefs.h
2980 echo $ac_declaration >>confdefs.h
2981 echo '#endif' >>confdefs.h
2984 else
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990 ac_ext=c
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2996 ac_ext=cc
2997 ac_cpp='$CXXCPP $CPPFLAGS'
2998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3001 if test -n "$ac_tool_prefix"; then
3002 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3006 echo "$as_me:$LINENO: checking for $ac_word" >&5
3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3008 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011 if test -n "$CXX"; then
3012 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3017 IFS=$as_save_IFS
3018 test -z "$as_dir" && as_dir=.
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3021 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 break 2
3025 done
3026 done
3030 CXX=$glibcxx_cv_prog_CXX
3031 if test -n "$CXX"; then
3032 echo "$as_me:$LINENO: result: $CXX" >&5
3033 echo "${ECHO_T}$CXX" >&6
3034 else
3035 echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3039 test -n "$CXX" && break
3040 done
3042 if test -z "$CXX"; then
3043 ac_ct_CXX=$CXX
3044 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3046 # Extract the first word of "$ac_prog", so it can be a program name with args.
3047 set dummy $ac_prog; ac_word=$2
3048 echo "$as_me:$LINENO: checking for $ac_word" >&5
3049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 else
3053 if test -n "$ac_ct_CXX"; then
3054 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3059 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_ac_ct_CXX="$ac_prog"
3064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 break 2
3067 done
3068 done
3072 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3073 if test -n "$ac_ct_CXX"; then
3074 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3075 echo "${ECHO_T}$ac_ct_CXX" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3081 test -n "$ac_ct_CXX" && break
3082 done
3083 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3085 CXX=$ac_ct_CXX
3089 # Provide some information about the compiler.
3090 echo "$as_me:$LINENO:" \
3091 "checking for C++ compiler version" >&5
3092 ac_compiler=`set X $ac_compile; echo $2`
3093 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3094 (eval $ac_compiler --version </dev/null >&5) 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }
3098 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3099 (eval $ac_compiler -v </dev/null >&5) 2>&5
3100 ac_status=$?
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); }
3103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3104 (eval $ac_compiler -V </dev/null >&5) 2>&5
3105 ac_status=$?
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }
3109 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 else
3114 cat >conftest.$ac_ext <<_ACEOF
3115 /* confdefs.h. */
3116 _ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3122 main ()
3124 #ifndef __GNUC__
3125 choke me
3126 #endif
3129 return 0;
3131 _ACEOF
3132 rm -f conftest.$ac_objext
3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3134 (eval $ac_compile) 2>conftest.er1
3135 ac_status=$?
3136 grep -v '^ *+' conftest.er1 >conftest.err
3137 rm -f conftest.er1
3138 cat conftest.err >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } &&
3141 { ac_try='test -z "$ac_cxx_werror_flag"
3142 || test ! -s conftest.err'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 (eval $ac_try) 2>&5
3145 ac_status=$?
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; } &&
3148 { ac_try='test -s conftest.$ac_objext'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 (eval $ac_try) 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3154 ac_compiler_gnu=yes
3155 else
3156 echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3159 ac_compiler_gnu=no
3161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3165 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3166 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3167 GXX=`test $ac_compiler_gnu = yes && echo yes`
3168 ac_test_CXXFLAGS=${CXXFLAGS+set}
3169 ac_save_CXXFLAGS=$CXXFLAGS
3170 CXXFLAGS="-g"
3171 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3172 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3173 if test "${ac_cv_prog_cxx_g+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176 cat >conftest.$ac_ext <<_ACEOF
3177 /* confdefs.h. */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3184 main ()
3188 return 0;
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193 (eval $ac_compile) 2>conftest.er1
3194 ac_status=$?
3195 grep -v '^ *+' conftest.er1 >conftest.err
3196 rm -f conftest.er1
3197 cat conftest.err >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); } &&
3200 { ac_try='test -z "$ac_cxx_werror_flag"
3201 || test ! -s conftest.err'
3202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 (eval $ac_try) 2>&5
3204 ac_status=$?
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); }; } &&
3207 { ac_try='test -s conftest.$ac_objext'
3208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 (eval $ac_try) 2>&5
3210 ac_status=$?
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); }; }; then
3213 ac_cv_prog_cxx_g=yes
3214 else
3215 echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3218 ac_cv_prog_cxx_g=no
3220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3222 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3223 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3224 if test "$ac_test_CXXFLAGS" = set; then
3225 CXXFLAGS=$ac_save_CXXFLAGS
3226 elif test $ac_cv_prog_cxx_g = yes; then
3227 if test "$GXX" = yes; then
3228 CXXFLAGS="-g -O2"
3229 else
3230 CXXFLAGS="-g"
3232 else
3233 if test "$GXX" = yes; then
3234 CXXFLAGS="-O2"
3235 else
3236 CXXFLAGS=
3239 for ac_declaration in \
3240 '' \
3241 'extern "C" void std::exit (int) throw (); using std::exit;' \
3242 'extern "C" void std::exit (int); using std::exit;' \
3243 'extern "C" void exit (int) throw ();' \
3244 'extern "C" void exit (int);' \
3245 'void exit (int);'
3247 cat >conftest.$ac_ext <<_ACEOF
3248 /* confdefs.h. */
3249 _ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h. */
3253 $ac_declaration
3254 #include <stdlib.h>
3256 main ()
3258 exit (42);
3260 return 0;
3262 _ACEOF
3263 rm -f conftest.$ac_objext
3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3265 (eval $ac_compile) 2>conftest.er1
3266 ac_status=$?
3267 grep -v '^ *+' conftest.er1 >conftest.err
3268 rm -f conftest.er1
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } &&
3272 { ac_try='test -z "$ac_cxx_werror_flag"
3273 || test ! -s conftest.err'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 (eval $ac_try) 2>&5
3276 ac_status=$?
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; } &&
3279 { ac_try='test -s conftest.$ac_objext'
3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281 (eval $ac_try) 2>&5
3282 ac_status=$?
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }; }; then
3286 else
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3290 continue
3292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3293 cat >conftest.$ac_ext <<_ACEOF
3294 /* confdefs.h. */
3295 _ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3299 $ac_declaration
3301 main ()
3303 exit (42);
3305 return 0;
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310 (eval $ac_compile) 2>conftest.er1
3311 ac_status=$?
3312 grep -v '^ *+' conftest.er1 >conftest.err
3313 rm -f conftest.er1
3314 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try='test -z "$ac_cxx_werror_flag"
3318 || test ! -s conftest.err'
3319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 (eval $ac_try) 2>&5
3321 ac_status=$?
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; } &&
3324 { ac_try='test -s conftest.$ac_objext'
3325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 (eval $ac_try) 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }; }; then
3330 break
3331 else
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3337 done
3338 rm -f conftest*
3339 if test -n "$ac_declaration"; then
3340 echo '#ifdef __cplusplus' >>confdefs.h
3341 echo $ac_declaration >>confdefs.h
3342 echo '#endif' >>confdefs.h
3345 ac_ext=c
3346 ac_cpp='$CPP $CPPFLAGS'
3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3351 CXXFLAGS="$save_CXXFLAGS"
3356 # For directory versioning (e.g., headers) and other variables.
3357 echo "$as_me:$LINENO: checking for GCC version number" >&5
3358 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3359 gcc_version=`$CXX -dumpversion`
3360 echo "$as_me:$LINENO: result: $gcc_version" >&5
3361 echo "${ECHO_T}$gcc_version" >&6
3363 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3364 # available). Uncomment the next line to force a particular method.
3365 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3366 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3367 LN_S=$as_ln_s
3368 if test "$LN_S" = "ln -s"; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3371 else
3372 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3373 echo "${ECHO_T}no, using $LN_S" >&6
3376 #LN_S='cp -p'
3378 if test -n "$ac_tool_prefix"; then
3379 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3380 set dummy ${ac_tool_prefix}as; ac_word=$2
3381 echo "$as_me:$LINENO: checking for $ac_word" >&5
3382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3383 if test "${ac_cv_prog_AS+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 else
3386 if test -n "$AS"; then
3387 ac_cv_prog_AS="$AS" # Let the user override the test.
3388 else
3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 for as_dir in $PATH
3392 IFS=$as_save_IFS
3393 test -z "$as_dir" && as_dir=.
3394 for ac_exec_ext in '' $ac_executable_extensions; do
3395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3396 ac_cv_prog_AS="${ac_tool_prefix}as"
3397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 break 2
3400 done
3401 done
3405 AS=$ac_cv_prog_AS
3406 if test -n "$AS"; then
3407 echo "$as_me:$LINENO: result: $AS" >&5
3408 echo "${ECHO_T}$AS" >&6
3409 else
3410 echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3415 if test -z "$ac_cv_prog_AS"; then
3416 ac_ct_AS=$AS
3417 # Extract the first word of "as", so it can be a program name with args.
3418 set dummy as; ac_word=$2
3419 echo "$as_me:$LINENO: checking for $ac_word" >&5
3420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3421 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424 if test -n "$ac_ct_AS"; then
3425 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3430 IFS=$as_save_IFS
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3434 ac_cv_prog_ac_ct_AS="as"
3435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 break 2
3438 done
3439 done
3443 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3444 if test -n "$ac_ct_AS"; then
3445 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3446 echo "${ECHO_T}$ac_ct_AS" >&6
3447 else
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3452 AS=$ac_ct_AS
3453 else
3454 AS="$ac_cv_prog_AS"
3457 if test -n "$ac_tool_prefix"; then
3458 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3459 set dummy ${ac_tool_prefix}ar; ac_word=$2
3460 echo "$as_me:$LINENO: checking for $ac_word" >&5
3461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3462 if test "${ac_cv_prog_AR+set}" = set; then
3463 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 else
3465 if test -n "$AR"; then
3466 ac_cv_prog_AR="$AR" # Let the user override the test.
3467 else
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 for as_dir in $PATH
3471 IFS=$as_save_IFS
3472 test -z "$as_dir" && as_dir=.
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3475 ac_cv_prog_AR="${ac_tool_prefix}ar"
3476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3477 break 2
3479 done
3480 done
3484 AR=$ac_cv_prog_AR
3485 if test -n "$AR"; then
3486 echo "$as_me:$LINENO: result: $AR" >&5
3487 echo "${ECHO_T}$AR" >&6
3488 else
3489 echo "$as_me:$LINENO: result: no" >&5
3490 echo "${ECHO_T}no" >&6
3494 if test -z "$ac_cv_prog_AR"; then
3495 ac_ct_AR=$AR
3496 # Extract the first word of "ar", so it can be a program name with args.
3497 set dummy ar; ac_word=$2
3498 echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503 if test -n "$ac_ct_AR"; then
3504 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_ac_ct_AR="ar"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3517 done
3518 done
3522 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3523 if test -n "$ac_ct_AR"; then
3524 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3525 echo "${ECHO_T}$ac_ct_AR" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3531 AR=$ac_ct_AR
3532 else
3533 AR="$ac_cv_prog_AR"
3536 if test -n "$ac_tool_prefix"; then
3537 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3538 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3539 echo "$as_me:$LINENO: checking for $ac_word" >&5
3540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3541 if test "${ac_cv_prog_RANLIB+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 else
3544 if test -n "$RANLIB"; then
3545 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3554 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 break 2
3558 done
3559 done
3563 RANLIB=$ac_cv_prog_RANLIB
3564 if test -n "$RANLIB"; then
3565 echo "$as_me:$LINENO: result: $RANLIB" >&5
3566 echo "${ECHO_T}$RANLIB" >&6
3567 else
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3573 if test -z "$ac_cv_prog_RANLIB"; then
3574 ac_ct_RANLIB=$RANLIB
3575 # Extract the first word of "ranlib", so it can be a program name with args.
3576 set dummy ranlib; ac_word=$2
3577 echo "$as_me:$LINENO: checking for $ac_word" >&5
3578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3579 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 else
3582 if test -n "$ac_ct_RANLIB"; then
3583 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3588 IFS=$as_save_IFS
3589 test -z "$as_dir" && as_dir=.
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3592 ac_cv_prog_ac_ct_RANLIB="ranlib"
3593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 break 2
3596 done
3597 done
3599 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3602 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3603 if test -n "$ac_ct_RANLIB"; then
3604 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3605 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3606 else
3607 echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6
3611 RANLIB=$ac_ct_RANLIB
3612 else
3613 RANLIB="$ac_cv_prog_RANLIB"
3617 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3618 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3619 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3620 if test "${enable_maintainer_mode+set}" = set; then
3621 enableval="$enable_maintainer_mode"
3622 USE_MAINTAINER_MODE=$enableval
3623 else
3624 USE_MAINTAINER_MODE=no
3626 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3627 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3630 if test $USE_MAINTAINER_MODE = yes; then
3631 MAINTAINER_MODE_TRUE=
3632 MAINTAINER_MODE_FALSE='#'
3633 else
3634 MAINTAINER_MODE_TRUE='#'
3635 MAINTAINER_MODE_FALSE=
3638 MAINT=$MAINTAINER_MODE_TRUE
3642 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3643 # which are themselves conditionally expanded.
3644 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3645 ## other macros from doing the same. This should be automated.) -pme
3646 need_libmath=no
3647 enable_wchar_t=no
3648 #enable_libstdcxx_debug=no
3649 #enable_libstdcxx_pch=no
3650 #enable_cheaders=c
3651 #c_compatibility=no
3652 #enable_abi_check=no
3653 #enable_symvers=no
3654 #enable_hosted_libstdcxx=yes
3656 # Find platform-specific directories containing configuration info.
3657 # Also possibly modify flags used elsewhere, as needed by the platform.
3659 . $glibcxx_srcdir/configure.host
3660 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3661 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3662 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3663 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3667 #AC_MSG_NOTICE([====== Starting libtool configuration])
3669 # Check whether --enable-shared or --disable-shared was given.
3670 if test "${enable_shared+set}" = set; then
3671 enableval="$enable_shared"
3672 p=${PACKAGE-default}
3673 case $enableval in
3674 yes) enable_shared=yes ;;
3675 no) enable_shared=no ;;
3677 enable_shared=no
3678 # Look at the argument we got. We use all the common list separators.
3679 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3680 for pkg in $enableval; do
3681 if test "X$pkg" = "X$p"; then
3682 enable_shared=yes
3684 done
3685 IFS="$ac_save_ifs"
3687 esac
3688 else
3689 enable_shared=yes
3691 # Check whether --enable-static or --disable-static was given.
3692 if test "${enable_static+set}" = set; then
3693 enableval="$enable_static"
3694 p=${PACKAGE-default}
3695 case $enableval in
3696 yes) enable_static=yes ;;
3697 no) enable_static=no ;;
3699 enable_static=no
3700 # Look at the argument we got. We use all the common list separators.
3701 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3702 for pkg in $enableval; do
3703 if test "X$pkg" = "X$p"; then
3704 enable_static=yes
3706 done
3707 IFS="$ac_save_ifs"
3709 esac
3710 else
3711 enable_static=yes
3713 # Check whether --enable-fast-install or --disable-fast-install was given.
3714 if test "${enable_fast_install+set}" = set; then
3715 enableval="$enable_fast_install"
3716 p=${PACKAGE-default}
3717 case $enableval in
3718 yes) enable_fast_install=yes ;;
3719 no) enable_fast_install=no ;;
3721 enable_fast_install=no
3722 # Look at the argument we got. We use all the common list separators.
3723 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3724 for pkg in $enableval; do
3725 if test "X$pkg" = "X$p"; then
3726 enable_fast_install=yes
3728 done
3729 IFS="$ac_save_ifs"
3731 esac
3732 else
3733 enable_fast_install=yes
3736 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3737 if test "${with_gnu_ld+set}" = set; then
3738 withval="$with_gnu_ld"
3739 test "$withval" = no || with_gnu_ld=yes
3740 else
3741 with_gnu_ld=no
3743 ac_prog=ld
3744 if test "$GCC" = yes; then
3745 # Check if gcc -print-prog-name=ld gives a path.
3746 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3747 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3748 case $host in
3749 *-*-mingw*)
3750 # gcc leaves a trailing carriage return which upsets mingw
3751 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3753 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3754 esac
3755 case $ac_prog in
3756 # Accept absolute paths.
3757 [\\/]* | [A-Za-z]:[\\/]*)
3758 re_direlt='/[^/][^/]*/\.\./'
3759 # Canonicalize the path of ld
3760 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3761 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3762 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3763 done
3764 test -z "$LD" && LD="$ac_prog"
3767 # If it fails, then pretend we aren't using GCC.
3768 ac_prog=ld
3771 # If it is relative, then search for the first ld in PATH.
3772 with_gnu_ld=unknown
3774 esac
3775 elif test "$with_gnu_ld" = yes; then
3776 echo "$as_me:$LINENO: checking for GNU ld" >&5
3777 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3778 else
3779 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3780 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3782 if test "${lt_cv_path_LD+set}" = set; then
3783 echo $ECHO_N "(cached) $ECHO_C" >&6
3784 else
3785 if test -z "$LD"; then
3786 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3787 for ac_dir in $PATH; do
3788 test -z "$ac_dir" && ac_dir=.
3789 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3790 lt_cv_path_LD="$ac_dir/$ac_prog"
3791 # Check to see if the program is GNU ld. I'd rather use --version,
3792 # but apparently some GNU ld's only accept -v.
3793 # Break only if it was the GNU/non-GNU ld that we prefer.
3794 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3795 test "$with_gnu_ld" != no && break
3796 else
3797 test "$with_gnu_ld" != yes && break
3800 done
3801 IFS="$ac_save_ifs"
3802 else
3803 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3807 LD="$lt_cv_path_LD"
3808 if test -n "$LD"; then
3809 echo "$as_me:$LINENO: result: $LD" >&5
3810 echo "${ECHO_T}$LD" >&6
3811 else
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3815 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3816 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3817 { (exit 1); exit 1; }; }
3818 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3819 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3820 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 else
3823 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3824 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3825 lt_cv_prog_gnu_ld=yes
3826 else
3827 lt_cv_prog_gnu_ld=no
3830 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3831 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3832 with_gnu_ld=$lt_cv_prog_gnu_ld
3835 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3836 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3837 if test "${lt_cv_ld_reload_flag+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3839 else
3840 lt_cv_ld_reload_flag='-r'
3842 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3843 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3844 reload_flag=$lt_cv_ld_reload_flag
3845 test -n "$reload_flag" && reload_flag=" $reload_flag"
3847 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3848 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3849 if test "${lt_cv_path_NM+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 else
3852 if test -n "$NM"; then
3853 # Let the user override the test.
3854 lt_cv_path_NM="$NM"
3855 else
3856 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3857 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3858 test -z "$ac_dir" && ac_dir=.
3859 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3860 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3861 # Check to see if the nm accepts a BSD-compat flag.
3862 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3863 # nm: unknown option "B" ignored
3864 # Tru64's nm complains that /dev/null is an invalid object file
3865 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3866 lt_cv_path_NM="$tmp_nm -B"
3867 break
3868 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3869 lt_cv_path_NM="$tmp_nm -p"
3870 break
3871 else
3872 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3873 continue # so that we can try to find one that supports BSD flags
3876 done
3877 IFS="$ac_save_ifs"
3878 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3882 NM="$lt_cv_path_NM"
3883 echo "$as_me:$LINENO: result: $NM" >&5
3884 echo "${ECHO_T}$NM" >&6
3886 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3887 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3888 if test "${lt_cv_deplibs_check_method+set}" = set; then
3889 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 else
3891 lt_cv_file_magic_cmd='$MAGIC_CMD'
3892 lt_cv_file_magic_test_file=
3893 lt_cv_deplibs_check_method='unknown'
3894 # Need to set the preceding variable on all platforms that support
3895 # interlibrary dependencies.
3896 # 'none' -- dependencies not supported.
3897 # `unknown' -- same as none, but documents that we really don't know.
3898 # 'pass_all' -- all dependencies passed with no checks.
3899 # 'test_compile' -- check by making test program.
3900 # 'file_magic [regex]' -- check by looking for files in library path
3901 # which responds to the $file_magic_cmd with a given egrep regex.
3902 # If you have `file' or equivalent on your system and you're not sure
3903 # whether `pass_all' will *always* work, you probably want this one.
3905 case $host_os in
3906 aix*)
3907 lt_cv_deplibs_check_method=pass_all
3910 beos*)
3911 lt_cv_deplibs_check_method=pass_all
3914 bsdi4*)
3915 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3916 lt_cv_file_magic_cmd='/usr/bin/file -L'
3917 lt_cv_file_magic_test_file=/shlib/libc.so
3920 cygwin* | mingw* |pw32*)
3921 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3922 lt_cv_file_magic_cmd='$OBJDUMP -f'
3925 darwin* | rhapsody*)
3926 # this will be overwritten by pass_all, but leave it in just in case
3927 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3928 lt_cv_file_magic_cmd='/usr/bin/file -L'
3929 case "$host_os" in
3930 rhapsody* | darwin1.012)
3931 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3933 *) # Darwin 1.3 on
3934 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3936 esac
3937 lt_cv_deplibs_check_method=pass_all
3940 freebsd* | kfreebsd*-gnu)
3941 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3942 case $host_cpu in
3943 i*86 )
3944 # Not sure whether the presence of OpenBSD here was a mistake.
3945 # Let's accept both of them until this is cleared up.
3946 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3947 lt_cv_file_magic_cmd=/usr/bin/file
3948 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3950 esac
3951 else
3952 lt_cv_deplibs_check_method=pass_all
3956 gnu*)
3957 lt_cv_deplibs_check_method=pass_all
3960 hpux10.20*|hpux11*)
3961 case $host_cpu in
3962 hppa*)
3963 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3964 lt_cv_file_magic_cmd=/usr/bin/file
3965 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3967 ia64*)
3968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3969 lt_cv_file_magic_cmd=/usr/bin/file
3970 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3972 esac
3975 irix5* | irix6*)
3976 case $host_os in
3977 irix5*)
3978 # this will be overridden with pass_all, but let us keep it just in case
3979 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3982 case $LD in
3983 *-32|*"-32 ") libmagic=32-bit;;
3984 *-n32|*"-n32 ") libmagic=N32;;
3985 *-64|*"-64 ") libmagic=64-bit;;
3986 *) libmagic=never-match;;
3987 esac
3988 # this will be overridden with pass_all, but let us keep it just in case
3989 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3991 esac
3992 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3993 lt_cv_deplibs_check_method=pass_all
3996 # This must be Linux ELF.
3997 linux-gnu*)
3998 case $host_cpu in
3999 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
4000 lt_cv_deplibs_check_method=pass_all ;;
4002 # glibc up to 2.1.1 does not perform some relocations on ARM
4003 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4004 esac
4005 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4008 netbsd* | knetbsd*-gnu)
4009 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4010 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4011 else
4012 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4016 newsos6)
4017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4018 lt_cv_file_magic_cmd=/usr/bin/file
4019 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4022 osf3* | osf4* | osf5*)
4023 # this will be overridden with pass_all, but let us keep it just in case
4024 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4025 lt_cv_file_magic_test_file=/shlib/libc.so
4026 lt_cv_deplibs_check_method=pass_all
4029 sco3.2v5*)
4030 lt_cv_deplibs_check_method=pass_all
4033 solaris*)
4034 lt_cv_deplibs_check_method=pass_all
4035 lt_cv_file_magic_test_file=/lib/libc.so
4038 sysv5uw[78]* | sysv4*uw2*)
4039 lt_cv_deplibs_check_method=pass_all
4042 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4043 case $host_vendor in
4044 ncr)
4045 lt_cv_deplibs_check_method=pass_all
4047 motorola)
4048 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4051 esac
4053 esac
4056 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4057 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4058 file_magic_cmd=$lt_cv_file_magic_cmd
4059 deplibs_check_method=$lt_cv_deplibs_check_method
4065 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4067 # Only perform the check for file, if the check method requires it
4068 case $deplibs_check_method in
4069 file_magic*)
4070 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4071 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4072 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4073 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4074 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 else
4076 case $MAGIC_CMD in
4078 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4080 ?:/*)
4081 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4084 ac_save_MAGIC_CMD="$MAGIC_CMD"
4085 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4086 ac_dummy="/usr/bin:$PATH"
4087 for ac_dir in $ac_dummy; do
4088 test -z "$ac_dir" && ac_dir=.
4089 if test -f $ac_dir/${ac_tool_prefix}file; then
4090 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4091 if test -n "$file_magic_test_file"; then
4092 case $deplibs_check_method in
4093 "file_magic "*)
4094 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4095 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4096 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4097 egrep "$file_magic_regex" > /dev/null; then
4099 else
4100 cat <<EOF 1>&2
4102 *** Warning: the command libtool uses to detect shared libraries,
4103 *** $file_magic_cmd, produces output that libtool cannot recognize.
4104 *** The result is that libtool may fail to recognize shared libraries
4105 *** as such. This will affect the creation of libtool libraries that
4106 *** depend on shared libraries, but programs linked with such libtool
4107 *** libraries will work regardless of this problem. Nevertheless, you
4108 *** may want to report the problem to your system manager and/or to
4109 *** bug-libtool@gnu.org
4112 fi ;;
4113 esac
4115 break
4117 done
4118 IFS="$ac_save_ifs"
4119 MAGIC_CMD="$ac_save_MAGIC_CMD"
4121 esac
4124 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4125 if test -n "$MAGIC_CMD"; then
4126 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4127 echo "${ECHO_T}$MAGIC_CMD" >&6
4128 else
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4133 if test -z "$lt_cv_path_MAGIC_CMD"; then
4134 if test -n "$ac_tool_prefix"; then
4135 echo "$as_me:$LINENO: checking for file" >&5
4136 echo $ECHO_N "checking for file... $ECHO_C" >&6
4137 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 else
4140 case $MAGIC_CMD in
4142 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4144 ?:/*)
4145 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4148 ac_save_MAGIC_CMD="$MAGIC_CMD"
4149 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4150 ac_dummy="/usr/bin:$PATH"
4151 for ac_dir in $ac_dummy; do
4152 test -z "$ac_dir" && ac_dir=.
4153 if test -f $ac_dir/file; then
4154 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4155 if test -n "$file_magic_test_file"; then
4156 case $deplibs_check_method in
4157 "file_magic "*)
4158 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4159 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4160 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4161 egrep "$file_magic_regex" > /dev/null; then
4163 else
4164 cat <<EOF 1>&2
4166 *** Warning: the command libtool uses to detect shared libraries,
4167 *** $file_magic_cmd, produces output that libtool cannot recognize.
4168 *** The result is that libtool may fail to recognize shared libraries
4169 *** as such. This will affect the creation of libtool libraries that
4170 *** depend on shared libraries, but programs linked with such libtool
4171 *** libraries will work regardless of this problem. Nevertheless, you
4172 *** may want to report the problem to your system manager and/or to
4173 *** bug-libtool@gnu.org
4176 fi ;;
4177 esac
4179 break
4181 done
4182 IFS="$ac_save_ifs"
4183 MAGIC_CMD="$ac_save_MAGIC_CMD"
4185 esac
4188 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4189 if test -n "$MAGIC_CMD"; then
4190 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4191 echo "${ECHO_T}$MAGIC_CMD" >&6
4192 else
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4197 else
4198 MAGIC_CMD=:
4204 esac
4206 if test -n "$ac_tool_prefix"; then
4207 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4208 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4209 echo "$as_me:$LINENO: checking for $ac_word" >&5
4210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4211 if test "${ac_cv_prog_RANLIB+set}" = set; then
4212 echo $ECHO_N "(cached) $ECHO_C" >&6
4213 else
4214 if test -n "$RANLIB"; then
4215 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4216 else
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4218 for as_dir in $PATH
4220 IFS=$as_save_IFS
4221 test -z "$as_dir" && as_dir=.
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4224 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4226 break 2
4228 done
4229 done
4233 RANLIB=$ac_cv_prog_RANLIB
4234 if test -n "$RANLIB"; then
4235 echo "$as_me:$LINENO: result: $RANLIB" >&5
4236 echo "${ECHO_T}$RANLIB" >&6
4237 else
4238 echo "$as_me:$LINENO: result: no" >&5
4239 echo "${ECHO_T}no" >&6
4243 if test -z "$ac_cv_prog_RANLIB"; then
4244 ac_ct_RANLIB=$RANLIB
4245 # Extract the first word of "ranlib", so it can be a program name with args.
4246 set dummy ranlib; ac_word=$2
4247 echo "$as_me:$LINENO: checking for $ac_word" >&5
4248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4249 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4250 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 else
4252 if test -n "$ac_ct_RANLIB"; then
4253 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4254 else
4255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 for as_dir in $PATH
4258 IFS=$as_save_IFS
4259 test -z "$as_dir" && as_dir=.
4260 for ac_exec_ext in '' $ac_executable_extensions; do
4261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262 ac_cv_prog_ac_ct_RANLIB="ranlib"
4263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 break 2
4266 done
4267 done
4269 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4272 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4273 if test -n "$ac_ct_RANLIB"; then
4274 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4275 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4276 else
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4281 RANLIB=$ac_ct_RANLIB
4282 else
4283 RANLIB="$ac_cv_prog_RANLIB"
4286 if test -n "$ac_tool_prefix"; then
4287 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4288 set dummy ${ac_tool_prefix}strip; ac_word=$2
4289 echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291 if test "${ac_cv_prog_STRIP+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294 if test -n "$STRIP"; then
4295 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4296 else
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 for as_dir in $PATH
4300 IFS=$as_save_IFS
4301 test -z "$as_dir" && as_dir=.
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306 break 2
4308 done
4309 done
4313 STRIP=$ac_cv_prog_STRIP
4314 if test -n "$STRIP"; then
4315 echo "$as_me:$LINENO: result: $STRIP" >&5
4316 echo "${ECHO_T}$STRIP" >&6
4317 else
4318 echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6
4323 if test -z "$ac_cv_prog_STRIP"; then
4324 ac_ct_STRIP=$STRIP
4325 # Extract the first word of "strip", so it can be a program name with args.
4326 set dummy strip; ac_word=$2
4327 echo "$as_me:$LINENO: checking for $ac_word" >&5
4328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4329 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 else
4332 if test -n "$ac_ct_STRIP"; then
4333 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4334 else
4335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336 for as_dir in $PATH
4338 IFS=$as_save_IFS
4339 test -z "$as_dir" && as_dir=.
4340 for ac_exec_ext in '' $ac_executable_extensions; do
4341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4342 ac_cv_prog_ac_ct_STRIP="strip"
4343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4344 break 2
4346 done
4347 done
4349 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4352 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4353 if test -n "$ac_ct_STRIP"; then
4354 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4355 echo "${ECHO_T}$ac_ct_STRIP" >&6
4356 else
4357 echo "$as_me:$LINENO: result: no" >&5
4358 echo "${ECHO_T}no" >&6
4361 STRIP=$ac_ct_STRIP
4362 else
4363 STRIP="$ac_cv_prog_STRIP"
4367 # Check for any special flags to pass to ltconfig.
4368 libtool_flags="--cache-file=$cache_file"
4369 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4370 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4371 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4372 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4373 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4376 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4377 if test "${enable_libtool_lock+set}" = set; then
4378 enableval="$enable_libtool_lock"
4381 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4382 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4385 # Check whether --with-pic or --without-pic was given.
4386 if test "${with_pic+set}" = set; then
4387 withval="$with_pic"
4388 pic_mode="$withval"
4389 else
4390 pic_mode=default
4392 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4393 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4395 # Some flags need to be propagated to the compiler or linker for good
4396 # libtool support.
4397 case $host in
4398 *-*-irix6*)
4399 # Find out which ABI we are using.
4400 echo '#line 4400 "configure"' > conftest.$ac_ext
4401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4402 (eval $ac_compile) 2>&5
4403 ac_status=$?
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; then
4406 if test "$lt_cv_prog_gnu_ld" = yes; then
4407 case `/usr/bin/file conftest.$ac_objext` in
4408 *32-bit*)
4409 LD="${LD-ld} -melf32bsmip"
4411 *N32*)
4412 LD="${LD-ld} -melf32bmipn32"
4414 *64-bit*)
4415 LD="${LD-ld} -melf64bmip"
4417 esac
4418 else
4419 case `/usr/bin/file conftest.$ac_objext` in
4420 *32-bit*)
4421 LD="${LD-ld} -32"
4423 *N32*)
4424 LD="${LD-ld} -n32"
4426 *64-bit*)
4427 LD="${LD-ld} -64"
4429 esac
4432 rm -rf conftest*
4435 ia64-*-hpux*)
4436 # Find out which ABI we are using.
4437 echo 'int i;' > conftest.$ac_ext
4438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4439 (eval $ac_compile) 2>&5
4440 ac_status=$?
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; then
4443 case "`/usr/bin/file conftest.o`" in
4444 *ELF-32*)
4445 HPUX_IA64_MODE="32"
4447 *ELF-64*)
4448 HPUX_IA64_MODE="64"
4450 esac
4452 rm -rf conftest*
4455 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4456 # Find out which ABI we are using.
4457 echo 'int i;' > conftest.$ac_ext
4458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4459 (eval $ac_compile) 2>&5
4460 ac_status=$?
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; then
4463 case "`/usr/bin/file conftest.o`" in
4464 *32-bit*)
4465 case $host in
4466 x86_64-*linux*)
4467 LD="${LD-ld} -m elf_i386"
4469 ppc64-*linux*|powerpc64-*linux*)
4470 LD="${LD-ld} -m elf32ppclinux"
4472 s390x-*linux*)
4473 LD="${LD-ld} -m elf_s390"
4475 sparc64-*linux*)
4476 LD="${LD-ld} -m elf32_sparc"
4478 esac
4480 *64-bit*)
4481 case $host in
4482 x86_64-*linux*)
4483 LD="${LD-ld} -m elf_x86_64"
4485 ppc*-*linux*|powerpc*-*linux*)
4486 LD="${LD-ld} -m elf64ppc"
4488 s390*-*linux*)
4489 LD="${LD-ld} -m elf64_s390"
4491 sparc*-*linux*)
4492 LD="${LD-ld} -m elf64_sparc"
4494 esac
4496 esac
4498 rm -rf conftest*
4501 *-*-sco3.2v5*)
4502 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4503 SAVE_CFLAGS="$CFLAGS"
4504 CFLAGS="$CFLAGS -belf"
4505 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4506 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4507 if test "${lt_cv_cc_needs_belf+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 else
4512 ac_ext=c
4513 ac_cpp='$CPP $CPPFLAGS'
4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4518 if test x$gcc_no_link = xyes; then
4519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4521 { (exit 1); exit 1; }; }
4523 cat >conftest.$ac_ext <<_ACEOF
4524 /* confdefs.h. */
4525 _ACEOF
4526 cat confdefs.h >>conftest.$ac_ext
4527 cat >>conftest.$ac_ext <<_ACEOF
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 rm -f conftest.$ac_objext conftest$ac_exeext
4539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4540 (eval $ac_link) 2>conftest.er1
4541 ac_status=$?
4542 grep -v '^ *+' conftest.er1 >conftest.err
4543 rm -f conftest.er1
4544 cat conftest.err >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } &&
4547 { ac_try='test -z "$ac_c_werror_flag"
4548 || test ! -s conftest.err'
4549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4550 (eval $ac_try) 2>&5
4551 ac_status=$?
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); }; } &&
4554 { ac_try='test -s conftest$ac_exeext'
4555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4556 (eval $ac_try) 2>&5
4557 ac_status=$?
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); }; }; then
4560 lt_cv_cc_needs_belf=yes
4561 else
4562 echo "$as_me: failed program was:" >&5
4563 sed 's/^/| /' conftest.$ac_ext >&5
4565 lt_cv_cc_needs_belf=no
4567 rm -f conftest.err conftest.$ac_objext \
4568 conftest$ac_exeext conftest.$ac_ext
4569 ac_ext=c
4570 ac_cpp='$CPP $CPPFLAGS'
4571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4576 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4577 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4578 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4579 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4580 CFLAGS="$SAVE_CFLAGS"
4585 esac
4588 # Save cache, so that ltconfig can load it
4589 cat >confcache <<\_ACEOF
4590 # This file is a shell script that caches the results of configure
4591 # tests run on this system so they can be shared between configure
4592 # scripts and configure runs, see configure's option --config-cache.
4593 # It is not useful on other systems. If it contains results you don't
4594 # want to keep, you may remove or edit it.
4596 # config.status only pays attention to the cache file if you give it
4597 # the --recheck option to rerun configure.
4599 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4600 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4601 # following values.
4603 _ACEOF
4605 # The following way of writing the cache mishandles newlines in values,
4606 # but we know of no workaround that is simple, portable, and efficient.
4607 # So, don't put newlines in cache variables' values.
4608 # Ultrix sh set writes to stderr and can't be redirected directly,
4609 # and sets the high bit in the cache file unless we assign to the vars.
4611 (set) 2>&1 |
4612 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4613 *ac_space=\ *)
4614 # `set' does not quote correctly, so add quotes (double-quote
4615 # substitution turns \\\\ into \\, and sed turns \\ into \).
4616 sed -n \
4617 "s/'/'\\\\''/g;
4618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4621 # `set' quotes correctly as required by POSIX, so do not add quotes.
4622 sed -n \
4623 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4625 esac;
4627 sed '
4628 t clear
4629 : clear
4630 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4631 t end
4632 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4633 : end' >>confcache
4634 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4635 if test -w $cache_file; then
4636 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4637 cat confcache >$cache_file
4638 else
4639 echo "not updating unwritable cache $cache_file"
4642 rm -f confcache
4644 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4645 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4646 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4647 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4648 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4649 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4650 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4651 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4652 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4653 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4654 echo "$as_me: error: libtool configure failed" >&2;}
4655 { (exit 1); exit 1; }; }
4657 # Reload cache, that may have been modified by ltconfig
4658 if test -r "$cache_file"; then
4659 # Some versions of bash will fail to source /dev/null (special
4660 # files actually), so we avoid doing that.
4661 if test -f "$cache_file"; then
4662 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4663 echo "$as_me: loading cache $cache_file" >&6;}
4664 case $cache_file in
4665 [\\/]* | ?:[\\/]* ) . $cache_file;;
4666 *) . ./$cache_file;;
4667 esac
4669 else
4670 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4671 echo "$as_me: creating cache $cache_file" >&6;}
4672 >$cache_file
4676 # This can be used to rebuild libtool when needed
4677 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4679 # Always use our own libtool.
4680 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4682 # Redirect the config.log output again, so that the ltconfig log is not
4683 # clobbered by the next message.
4684 exec 5>>./config.log
4686 ac_ext=cc
4687 ac_cpp='$CXXCPP $CPPFLAGS'
4688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4691 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4692 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4693 if test -z "$CXXCPP"; then
4694 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 else
4697 # Double quotes because CXXCPP needs to be expanded
4698 for CXXCPP in "$CXX -E" "/lib/cpp"
4700 ac_preproc_ok=false
4701 for ac_cxx_preproc_warn_flag in '' yes
4703 # Use a header file that comes with gcc, so configuring glibc
4704 # with a fresh cross-compiler works.
4705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706 # <limits.h> exists even on freestanding compilers.
4707 # On the NeXT, cc -E runs the code through the compiler's parser,
4708 # not just through cpp. "Syntax error" is here to catch this case.
4709 cat >conftest.$ac_ext <<_ACEOF
4710 /* confdefs.h. */
4711 _ACEOF
4712 cat confdefs.h >>conftest.$ac_ext
4713 cat >>conftest.$ac_ext <<_ACEOF
4714 /* end confdefs.h. */
4715 #ifdef __STDC__
4716 # include <limits.h>
4717 #else
4718 # include <assert.h>
4719 #endif
4720 Syntax error
4721 _ACEOF
4722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4724 ac_status=$?
4725 grep -v '^ *+' conftest.er1 >conftest.err
4726 rm -f conftest.er1
4727 cat conftest.err >&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } >/dev/null; then
4730 if test -s conftest.err; then
4731 ac_cpp_err=$ac_cxx_preproc_warn_flag
4732 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4733 else
4734 ac_cpp_err=
4736 else
4737 ac_cpp_err=yes
4739 if test -z "$ac_cpp_err"; then
4741 else
4742 echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.$ac_ext >&5
4745 # Broken: fails on valid input.
4746 continue
4748 rm -f conftest.err conftest.$ac_ext
4750 # OK, works on sane cases. Now check whether non-existent headers
4751 # can be detected and how.
4752 cat >conftest.$ac_ext <<_ACEOF
4753 /* confdefs.h. */
4754 _ACEOF
4755 cat confdefs.h >>conftest.$ac_ext
4756 cat >>conftest.$ac_ext <<_ACEOF
4757 /* end confdefs.h. */
4758 #include <ac_nonexistent.h>
4759 _ACEOF
4760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4762 ac_status=$?
4763 grep -v '^ *+' conftest.er1 >conftest.err
4764 rm -f conftest.er1
4765 cat conftest.err >&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); } >/dev/null; then
4768 if test -s conftest.err; then
4769 ac_cpp_err=$ac_cxx_preproc_warn_flag
4770 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4771 else
4772 ac_cpp_err=
4774 else
4775 ac_cpp_err=yes
4777 if test -z "$ac_cpp_err"; then
4778 # Broken: success on invalid input.
4779 continue
4780 else
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4784 # Passes both tests.
4785 ac_preproc_ok=:
4786 break
4788 rm -f conftest.err conftest.$ac_ext
4790 done
4791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4792 rm -f conftest.err conftest.$ac_ext
4793 if $ac_preproc_ok; then
4794 break
4797 done
4798 ac_cv_prog_CXXCPP=$CXXCPP
4801 CXXCPP=$ac_cv_prog_CXXCPP
4802 else
4803 ac_cv_prog_CXXCPP=$CXXCPP
4805 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4806 echo "${ECHO_T}$CXXCPP" >&6
4807 ac_preproc_ok=false
4808 for ac_cxx_preproc_warn_flag in '' yes
4810 # Use a header file that comes with gcc, so configuring glibc
4811 # with a fresh cross-compiler works.
4812 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4813 # <limits.h> exists even on freestanding compilers.
4814 # On the NeXT, cc -E runs the code through the compiler's parser,
4815 # not just through cpp. "Syntax error" is here to catch this case.
4816 cat >conftest.$ac_ext <<_ACEOF
4817 /* confdefs.h. */
4818 _ACEOF
4819 cat confdefs.h >>conftest.$ac_ext
4820 cat >>conftest.$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4822 #ifdef __STDC__
4823 # include <limits.h>
4824 #else
4825 # include <assert.h>
4826 #endif
4827 Syntax error
4828 _ACEOF
4829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4831 ac_status=$?
4832 grep -v '^ *+' conftest.er1 >conftest.err
4833 rm -f conftest.er1
4834 cat conftest.err >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); } >/dev/null; then
4837 if test -s conftest.err; then
4838 ac_cpp_err=$ac_cxx_preproc_warn_flag
4839 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4840 else
4841 ac_cpp_err=
4843 else
4844 ac_cpp_err=yes
4846 if test -z "$ac_cpp_err"; then
4848 else
4849 echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.$ac_ext >&5
4852 # Broken: fails on valid input.
4853 continue
4855 rm -f conftest.err conftest.$ac_ext
4857 # OK, works on sane cases. Now check whether non-existent headers
4858 # can be detected and how.
4859 cat >conftest.$ac_ext <<_ACEOF
4860 /* confdefs.h. */
4861 _ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4865 #include <ac_nonexistent.h>
4866 _ACEOF
4867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4869 ac_status=$?
4870 grep -v '^ *+' conftest.er1 >conftest.err
4871 rm -f conftest.er1
4872 cat conftest.err >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } >/dev/null; then
4875 if test -s conftest.err; then
4876 ac_cpp_err=$ac_cxx_preproc_warn_flag
4877 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4878 else
4879 ac_cpp_err=
4881 else
4882 ac_cpp_err=yes
4884 if test -z "$ac_cpp_err"; then
4885 # Broken: success on invalid input.
4886 continue
4887 else
4888 echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4891 # Passes both tests.
4892 ac_preproc_ok=:
4893 break
4895 rm -f conftest.err conftest.$ac_ext
4897 done
4898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4899 rm -f conftest.err conftest.$ac_ext
4900 if $ac_preproc_ok; then
4902 else
4903 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4904 See \`config.log' for more details." >&5
4905 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4906 See \`config.log' for more details." >&2;}
4907 { (exit 1); exit 1; }; }
4910 ac_ext=c
4911 ac_cpp='$CPP $CPPFLAGS'
4912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4918 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4919 lt_save_CC="$CC"
4920 lt_save_CFLAGS="$CFLAGS"
4921 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4922 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4923 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4924 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4925 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4926 deplibs_check_method="$deplibs_check_method" \
4927 file_magic_cmd="$file_magic_cmd" \
4928 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4929 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4930 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4931 echo "$as_me: error: libtool tag configuration failed" >&2;}
4932 { (exit 1); exit 1; }; }
4933 CC="$lt_save_CC"
4934 CFLAGS="$lt_save_CFLAGS"
4936 # Redirect the config.log output again, so that the ltconfig log is not
4937 # clobbered by the next message.
4938 exec 5>>./config.log
4947 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4949 # Possibly disable most of the library.
4950 ## XXX Consider skipping unncessary tests altogether in this case, rather
4951 ## than just ignoring the results. Faster /and/ more correct, win win.
4953 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4954 if test "${enable_hosted_libstdcxx+set}" = set; then
4955 enableval="$enable_hosted_libstdcxx"
4957 else
4958 case "$host" in
4959 arm*-*-symbianelf*)
4960 enable_hosted_libstdcxx=no
4963 enable_hosted_libstdcxx=yes
4965 esac
4967 if test "$enable_hosted_libstdcxx" = no; then
4968 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4969 echo "$as_me: Only freestanding libraries will be built" >&6;}
4970 is_hosted=no
4971 hosted_define=0
4972 enable_abi_check=no
4973 enable_libstdcxx_pch=no
4974 else
4975 is_hosted=yes
4976 hosted_define=1
4980 cat >>confdefs.h <<_ACEOF
4981 #define _GLIBCXX_HOSTED $hosted_define
4982 _ACEOF
4986 # Check for support bits and g++ features that don't require linking.
4988 echo "$as_me:$LINENO: checking for exception model to use" >&5
4989 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4992 ac_ext=cc
4993 ac_cpp='$CXXCPP $CPPFLAGS'
4994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4998 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4999 if test "${enable_sjlj_exceptions+set}" = set; then
5000 enableval="$enable_sjlj_exceptions"
5002 case "$enableval" in
5003 yes|no|auto) ;;
5004 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5005 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5006 { (exit 1); exit 1; }; } ;;
5007 esac
5009 else
5010 enable_sjlj_exceptions=auto
5014 if test $enable_sjlj_exceptions = auto; then
5015 # Botheration. Now we've got to detect the exception model. Link tests
5016 # against libgcc.a are problematic since we've not been given proper -L
5017 # bits for single-tree newlib and libgloss.
5019 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5020 cat > conftest.$ac_ext << EOF
5021 #line 5021 "configure"
5022 struct S { ~S(); };
5023 void bar();
5024 void foo()
5026 S s;
5027 bar();
5030 old_CXXFLAGS="$CXXFLAGS"
5031 CXXFLAGS=-S
5032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5033 (eval $ac_compile) 2>&5
5034 ac_status=$?
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; then
5037 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5038 enable_sjlj_exceptions=yes
5039 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5040 enable_sjlj_exceptions=no
5043 CXXFLAGS="$old_CXXFLAGS"
5044 rm -f conftest*
5047 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5048 # to two different models.
5049 case $enable_sjlj_exceptions in
5050 yes)
5052 cat >>confdefs.h <<\_ACEOF
5053 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5054 _ACEOF
5056 ac_exception_model_name=sjlj
5059 ac_exception_model_name="call frame"
5062 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5063 echo "$as_me: error: unable to detect exception model" >&2;}
5064 { (exit 1); exit 1; }; }
5066 esac
5067 ac_ext=c
5068 ac_cpp='$CPP $CPPFLAGS'
5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5073 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5074 echo "${ECHO_T}$ac_exception_model_name" >&6
5077 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5078 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5079 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5080 if test "${enable_libstdcxx_pch+set}" = set; then
5081 enableval="$enable_libstdcxx_pch"
5083 case "$enableval" in
5084 yes|no) ;;
5085 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5086 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5087 { (exit 1); exit 1; }; } ;;
5088 esac
5090 else
5091 enable_libstdcxx_pch=$is_hosted
5094 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5095 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5097 if test $enable_libstdcxx_pch = yes; then
5098 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5099 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5100 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103 ac_save_CXXFLAGS="$CXXFLAGS"
5104 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5107 ac_ext=cc
5108 ac_cpp='$CXXCPP $CPPFLAGS'
5109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5113 echo '#include <math.h>' > conftest.h
5114 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5115 -o conftest.h.gch 1>&5 2>&1 &&
5116 echo '#error "pch failed"' > conftest.h &&
5117 echo '#include "conftest.h"' > conftest.cc &&
5118 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5119 then
5120 glibcxx_cv_prog_CXX_pch=yes
5121 else
5122 glibcxx_cv_prog_CXX_pch=no
5124 rm -f conftest*
5125 CXXFLAGS=$ac_save_CXXFLAGS
5126 ac_ext=c
5127 ac_cpp='$CPP $CPPFLAGS'
5128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5134 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5135 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5136 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5140 if test $enable_libstdcxx_pch = yes; then
5141 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5142 else
5143 glibcxx_PCHFLAGS=""
5148 # Enable all the variable C++ runtime options.
5149 # NB: C_MBCHAR must come early.
5151 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5152 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5153 # Check whether --enable-cstdio or --disable-cstdio was given.
5154 if test "${enable_cstdio+set}" = set; then
5155 enableval="$enable_cstdio"
5157 case "$enableval" in
5158 stdio) ;;
5159 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5160 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5161 { (exit 1); exit 1; }; } ;;
5162 esac
5164 else
5165 enable_cstdio=stdio
5169 # Now that libio has been removed, you can have any color you want as long
5170 # as it's black. This is one big no-op until other packages are added, but
5171 # showing the framework never hurts.
5172 case ${enable_cstdio} in
5173 stdio)
5174 CSTDIO_H=config/io/c_io_stdio.h
5175 BASIC_FILE_H=config/io/basic_file_stdio.h
5176 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5177 echo "$as_me:$LINENO: result: stdio" >&5
5178 echo "${ECHO_T}stdio" >&6
5180 esac
5186 ac_ext=c
5187 ac_cpp='$CPP $CPPFLAGS'
5188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5191 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5192 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5193 # On Suns, sometimes $CPP names a directory.
5194 if test -n "$CPP" && test -d "$CPP"; then
5195 CPP=
5197 if test -z "$CPP"; then
5198 if test "${ac_cv_prog_CPP+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 else
5201 # Double quotes because CPP needs to be expanded
5202 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5204 ac_preproc_ok=false
5205 for ac_c_preproc_warn_flag in '' yes
5207 # Use a header file that comes with gcc, so configuring glibc
5208 # with a fresh cross-compiler works.
5209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5210 # <limits.h> exists even on freestanding compilers.
5211 # On the NeXT, cc -E runs the code through the compiler's parser,
5212 # not just through cpp. "Syntax error" is here to catch this case.
5213 cat >conftest.$ac_ext <<_ACEOF
5214 /* confdefs.h. */
5215 _ACEOF
5216 cat confdefs.h >>conftest.$ac_ext
5217 cat >>conftest.$ac_ext <<_ACEOF
5218 /* end confdefs.h. */
5219 #ifdef __STDC__
5220 # include <limits.h>
5221 #else
5222 # include <assert.h>
5223 #endif
5224 Syntax error
5225 _ACEOF
5226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5228 ac_status=$?
5229 grep -v '^ *+' conftest.er1 >conftest.err
5230 rm -f conftest.er1
5231 cat conftest.err >&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); } >/dev/null; then
5234 if test -s conftest.err; then
5235 ac_cpp_err=$ac_c_preproc_warn_flag
5236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5237 else
5238 ac_cpp_err=
5240 else
5241 ac_cpp_err=yes
5243 if test -z "$ac_cpp_err"; then
5245 else
5246 echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.$ac_ext >&5
5249 # Broken: fails on valid input.
5250 continue
5252 rm -f conftest.err conftest.$ac_ext
5254 # OK, works on sane cases. Now check whether non-existent headers
5255 # can be detected and how.
5256 cat >conftest.$ac_ext <<_ACEOF
5257 /* confdefs.h. */
5258 _ACEOF
5259 cat confdefs.h >>conftest.$ac_ext
5260 cat >>conftest.$ac_ext <<_ACEOF
5261 /* end confdefs.h. */
5262 #include <ac_nonexistent.h>
5263 _ACEOF
5264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5266 ac_status=$?
5267 grep -v '^ *+' conftest.er1 >conftest.err
5268 rm -f conftest.er1
5269 cat conftest.err >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } >/dev/null; then
5272 if test -s conftest.err; then
5273 ac_cpp_err=$ac_c_preproc_warn_flag
5274 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5275 else
5276 ac_cpp_err=
5278 else
5279 ac_cpp_err=yes
5281 if test -z "$ac_cpp_err"; then
5282 # Broken: success on invalid input.
5283 continue
5284 else
5285 echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.$ac_ext >&5
5288 # Passes both tests.
5289 ac_preproc_ok=:
5290 break
5292 rm -f conftest.err conftest.$ac_ext
5294 done
5295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5296 rm -f conftest.err conftest.$ac_ext
5297 if $ac_preproc_ok; then
5298 break
5301 done
5302 ac_cv_prog_CPP=$CPP
5305 CPP=$ac_cv_prog_CPP
5306 else
5307 ac_cv_prog_CPP=$CPP
5309 echo "$as_me:$LINENO: result: $CPP" >&5
5310 echo "${ECHO_T}$CPP" >&6
5311 ac_preproc_ok=false
5312 for ac_c_preproc_warn_flag in '' yes
5314 # Use a header file that comes with gcc, so configuring glibc
5315 # with a fresh cross-compiler works.
5316 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5317 # <limits.h> exists even on freestanding compilers.
5318 # On the NeXT, cc -E runs the code through the compiler's parser,
5319 # not just through cpp. "Syntax error" is here to catch this case.
5320 cat >conftest.$ac_ext <<_ACEOF
5321 /* confdefs.h. */
5322 _ACEOF
5323 cat confdefs.h >>conftest.$ac_ext
5324 cat >>conftest.$ac_ext <<_ACEOF
5325 /* end confdefs.h. */
5326 #ifdef __STDC__
5327 # include <limits.h>
5328 #else
5329 # include <assert.h>
5330 #endif
5331 Syntax error
5332 _ACEOF
5333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5334 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5335 ac_status=$?
5336 grep -v '^ *+' conftest.er1 >conftest.err
5337 rm -f conftest.er1
5338 cat conftest.err >&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); } >/dev/null; then
5341 if test -s conftest.err; then
5342 ac_cpp_err=$ac_c_preproc_warn_flag
5343 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5344 else
5345 ac_cpp_err=
5347 else
5348 ac_cpp_err=yes
5350 if test -z "$ac_cpp_err"; then
5352 else
5353 echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5356 # Broken: fails on valid input.
5357 continue
5359 rm -f conftest.err conftest.$ac_ext
5361 # OK, works on sane cases. Now check whether non-existent headers
5362 # can be detected and how.
5363 cat >conftest.$ac_ext <<_ACEOF
5364 /* confdefs.h. */
5365 _ACEOF
5366 cat confdefs.h >>conftest.$ac_ext
5367 cat >>conftest.$ac_ext <<_ACEOF
5368 /* end confdefs.h. */
5369 #include <ac_nonexistent.h>
5370 _ACEOF
5371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5373 ac_status=$?
5374 grep -v '^ *+' conftest.er1 >conftest.err
5375 rm -f conftest.er1
5376 cat conftest.err >&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } >/dev/null; then
5379 if test -s conftest.err; then
5380 ac_cpp_err=$ac_c_preproc_warn_flag
5381 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5382 else
5383 ac_cpp_err=
5385 else
5386 ac_cpp_err=yes
5388 if test -z "$ac_cpp_err"; then
5389 # Broken: success on invalid input.
5390 continue
5391 else
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.$ac_ext >&5
5395 # Passes both tests.
5396 ac_preproc_ok=:
5397 break
5399 rm -f conftest.err conftest.$ac_ext
5401 done
5402 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5403 rm -f conftest.err conftest.$ac_ext
5404 if $ac_preproc_ok; then
5406 else
5407 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5408 See \`config.log' for more details." >&5
5409 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5410 See \`config.log' for more details." >&2;}
5411 { (exit 1); exit 1; }; }
5414 ac_ext=c
5415 ac_cpp='$CPP $CPPFLAGS'
5416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5421 echo "$as_me:$LINENO: checking for egrep" >&5
5422 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5423 if test "${ac_cv_prog_egrep+set}" = set; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 else
5426 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5427 then ac_cv_prog_egrep='grep -E'
5428 else ac_cv_prog_egrep='egrep'
5431 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5432 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5433 EGREP=$ac_cv_prog_egrep
5436 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5437 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5438 if test "${ac_cv_header_stdc+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441 cat >conftest.$ac_ext <<_ACEOF
5442 /* confdefs.h. */
5443 _ACEOF
5444 cat confdefs.h >>conftest.$ac_ext
5445 cat >>conftest.$ac_ext <<_ACEOF
5446 /* end confdefs.h. */
5447 #include <stdlib.h>
5448 #include <stdarg.h>
5449 #include <string.h>
5450 #include <float.h>
5453 main ()
5457 return 0;
5459 _ACEOF
5460 rm -f conftest.$ac_objext
5461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5462 (eval $ac_compile) 2>conftest.er1
5463 ac_status=$?
5464 grep -v '^ *+' conftest.er1 >conftest.err
5465 rm -f conftest.er1
5466 cat conftest.err >&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } &&
5469 { ac_try='test -z "$ac_c_werror_flag"
5470 || test ! -s conftest.err'
5471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 (eval $ac_try) 2>&5
5473 ac_status=$?
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); }; } &&
5476 { ac_try='test -s conftest.$ac_objext'
5477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478 (eval $ac_try) 2>&5
5479 ac_status=$?
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); }; }; then
5482 ac_cv_header_stdc=yes
5483 else
5484 echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.$ac_ext >&5
5487 ac_cv_header_stdc=no
5489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5491 if test $ac_cv_header_stdc = yes; then
5492 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5493 cat >conftest.$ac_ext <<_ACEOF
5494 /* confdefs.h. */
5495 _ACEOF
5496 cat confdefs.h >>conftest.$ac_ext
5497 cat >>conftest.$ac_ext <<_ACEOF
5498 /* end confdefs.h. */
5499 #include <string.h>
5501 _ACEOF
5502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5503 $EGREP "memchr" >/dev/null 2>&1; then
5505 else
5506 ac_cv_header_stdc=no
5508 rm -f conftest*
5512 if test $ac_cv_header_stdc = yes; then
5513 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5514 cat >conftest.$ac_ext <<_ACEOF
5515 /* confdefs.h. */
5516 _ACEOF
5517 cat confdefs.h >>conftest.$ac_ext
5518 cat >>conftest.$ac_ext <<_ACEOF
5519 /* end confdefs.h. */
5520 #include <stdlib.h>
5522 _ACEOF
5523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5524 $EGREP "free" >/dev/null 2>&1; then
5526 else
5527 ac_cv_header_stdc=no
5529 rm -f conftest*
5533 if test $ac_cv_header_stdc = yes; then
5534 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5535 if test "$cross_compiling" = yes; then
5537 else
5538 cat >conftest.$ac_ext <<_ACEOF
5539 /* confdefs.h. */
5540 _ACEOF
5541 cat confdefs.h >>conftest.$ac_ext
5542 cat >>conftest.$ac_ext <<_ACEOF
5543 /* end confdefs.h. */
5544 #include <ctype.h>
5545 #if ((' ' & 0x0FF) == 0x020)
5546 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5547 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5548 #else
5549 # define ISLOWER(c) \
5550 (('a' <= (c) && (c) <= 'i') \
5551 || ('j' <= (c) && (c) <= 'r') \
5552 || ('s' <= (c) && (c) <= 'z'))
5553 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5554 #endif
5556 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5558 main ()
5560 int i;
5561 for (i = 0; i < 256; i++)
5562 if (XOR (islower (i), ISLOWER (i))
5563 || toupper (i) != TOUPPER (i))
5564 exit(2);
5565 exit (0);
5567 _ACEOF
5568 rm -f conftest$ac_exeext
5569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5570 (eval $ac_link) 2>&5
5571 ac_status=$?
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 (eval $ac_try) 2>&5
5576 ac_status=$?
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; }; then
5580 else
5581 echo "$as_me: program exited with status $ac_status" >&5
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.$ac_ext >&5
5585 ( exit $ac_status )
5586 ac_cv_header_stdc=no
5588 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5592 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5593 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5594 if test $ac_cv_header_stdc = yes; then
5596 cat >>confdefs.h <<\_ACEOF
5597 #define STDC_HEADERS 1
5598 _ACEOF
5602 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5612 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5613 inttypes.h stdint.h unistd.h
5615 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5616 echo "$as_me:$LINENO: checking for $ac_header" >&5
5617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5619 echo $ECHO_N "(cached) $ECHO_C" >&6
5620 else
5621 cat >conftest.$ac_ext <<_ACEOF
5622 /* confdefs.h. */
5623 _ACEOF
5624 cat confdefs.h >>conftest.$ac_ext
5625 cat >>conftest.$ac_ext <<_ACEOF
5626 /* end confdefs.h. */
5627 $ac_includes_default
5629 #include <$ac_header>
5630 _ACEOF
5631 rm -f conftest.$ac_objext
5632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5633 (eval $ac_compile) 2>conftest.er1
5634 ac_status=$?
5635 grep -v '^ *+' conftest.er1 >conftest.err
5636 rm -f conftest.er1
5637 cat conftest.err >&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } &&
5640 { ac_try='test -z "$ac_c_werror_flag"
5641 || test ! -s conftest.err'
5642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643 (eval $ac_try) 2>&5
5644 ac_status=$?
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; } &&
5647 { ac_try='test -s conftest.$ac_objext'
5648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5649 (eval $ac_try) 2>&5
5650 ac_status=$?
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); }; }; then
5653 eval "$as_ac_Header=yes"
5654 else
5655 echo "$as_me: failed program was:" >&5
5656 sed 's/^/| /' conftest.$ac_ext >&5
5658 eval "$as_ac_Header=no"
5660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5665 cat >>confdefs.h <<_ACEOF
5666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5667 _ACEOF
5671 done
5675 echo "$as_me:$LINENO: checking for C locale to use" >&5
5676 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5677 # Check whether --enable-clocale or --disable-clocale was given.
5678 if test "${enable_clocale+set}" = set; then
5679 enableval="$enable_clocale"
5681 case "$enableval" in
5682 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5683 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5684 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5685 { (exit 1); exit 1; }; } ;;
5686 esac
5688 else
5689 enable_clocale=auto
5693 # If they didn't use this option switch, or if they specified --enable
5694 # with no specific model, we'll have to look for one. If they
5695 # specified --disable (???), do likewise.
5696 if test $enable_clocale = no || test $enable_clocale = yes; then
5697 enable_clocale=auto
5700 # Either a known package, or "auto"
5701 enable_clocale_flag=$enable_clocale
5703 # Probe for locale support if no specific model is specified.
5704 # Default to "generic".
5705 if test $enable_clocale_flag = auto; then
5706 case ${target_os} in
5707 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5708 cat >conftest.$ac_ext <<_ACEOF
5709 /* confdefs.h. */
5710 _ACEOF
5711 cat confdefs.h >>conftest.$ac_ext
5712 cat >>conftest.$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5715 #include <features.h>
5716 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5717 _GLIBCXX_ok
5718 #endif
5720 _ACEOF
5721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5722 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5723 enable_clocale_flag=gnu
5724 else
5725 enable_clocale_flag=generic
5727 rm -f conftest*
5730 # Test for bugs early in glibc-2.2.x series
5731 if test $enable_clocale_flag = gnu; then
5732 if test "$cross_compiling" = yes; then
5733 enable_clocale_flag=generic
5734 else
5735 cat >conftest.$ac_ext <<_ACEOF
5736 /* confdefs.h. */
5737 _ACEOF
5738 cat confdefs.h >>conftest.$ac_ext
5739 cat >>conftest.$ac_ext <<_ACEOF
5740 /* end confdefs.h. */
5742 #define _GNU_SOURCE 1
5743 #include <locale.h>
5744 #include <string.h>
5745 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5746 extern __typeof(newlocale) __newlocale;
5747 extern __typeof(duplocale) __duplocale;
5748 extern __typeof(strcoll_l) __strcoll_l;
5749 #endif
5750 int main()
5752 const char __one[] = "Äuglein Augmen";
5753 const char __two[] = "Äuglein";
5754 int i;
5755 int j;
5756 __locale_t loc;
5757 __locale_t loc_dup;
5758 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5759 loc_dup = __duplocale(loc);
5760 i = __strcoll_l(__one, __two, loc);
5761 j = __strcoll_l(__one, __two, loc_dup);
5762 return 0;
5765 _ACEOF
5766 rm -f conftest$ac_exeext
5767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5768 (eval $ac_link) 2>&5
5769 ac_status=$?
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 (eval $ac_try) 2>&5
5774 ac_status=$?
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then
5777 enable_clocale_flag=gnu
5778 else
5779 echo "$as_me: program exited with status $ac_status" >&5
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5783 ( exit $ac_status )
5784 enable_clocale_flag=generic
5786 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5790 # ... at some point put __strxfrm_l tests in as well.
5793 enable_clocale_flag=generic
5795 esac
5798 # Deal with gettext issues. Default to not using it (=no) until we detect
5799 # support for it later. Let the user turn it off via --e/d, but let that
5800 # default to on for easier handling.
5801 USE_NLS=no
5802 # Check whether --enable-nls or --disable-nls was given.
5803 if test "${enable_nls+set}" = set; then
5804 enableval="$enable_nls"
5806 else
5807 enable_nls=yes
5810 # Set configure bits for specified locale package
5811 case ${enable_clocale_flag} in
5812 generic)
5813 echo "$as_me:$LINENO: result: generic" >&5
5814 echo "${ECHO_T}generic" >&6
5816 CLOCALE_H=config/locale/generic/c_locale.h
5817 CLOCALE_CC=config/locale/generic/c_locale.cc
5818 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5819 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5820 CCOLLATE_CC=config/locale/generic/collate_members.cc
5821 CCTYPE_CC=config/locale/generic/ctype_members.cc
5822 CMESSAGES_H=config/locale/generic/messages_members.h
5823 CMESSAGES_CC=config/locale/generic/messages_members.cc
5824 CMONEY_CC=config/locale/generic/monetary_members.cc
5825 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5826 CTIME_H=config/locale/generic/time_members.h
5827 CTIME_CC=config/locale/generic/time_members.cc
5828 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5830 gnu)
5831 echo "$as_me:$LINENO: result: gnu" >&5
5832 echo "${ECHO_T}gnu" >&6
5834 # Declare intention to use gettext, and add support for specific
5835 # languages.
5836 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5837 ALL_LINGUAS="de fr"
5839 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5840 # Extract the first word of "msgfmt", so it can be a program name with args.
5841 set dummy msgfmt; ac_word=$2
5842 echo "$as_me:$LINENO: checking for $ac_word" >&5
5843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5844 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5845 echo $ECHO_N "(cached) $ECHO_C" >&6
5846 else
5847 if test -n "$check_msgfmt"; then
5848 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5849 else
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH
5853 IFS=$as_save_IFS
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_check_msgfmt="yes"
5858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 break 2
5861 done
5862 done
5864 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5867 check_msgfmt=$ac_cv_prog_check_msgfmt
5868 if test -n "$check_msgfmt"; then
5869 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5870 echo "${ECHO_T}$check_msgfmt" >&6
5871 else
5872 echo "$as_me:$LINENO: result: no" >&5
5873 echo "${ECHO_T}no" >&6
5876 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5877 USE_NLS=yes
5879 # Export the build objects.
5880 for ling in $ALL_LINGUAS; do \
5881 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5882 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5883 done
5887 CLOCALE_H=config/locale/gnu/c_locale.h
5888 CLOCALE_CC=config/locale/gnu/c_locale.cc
5889 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5890 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5891 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5892 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5893 CMESSAGES_H=config/locale/gnu/messages_members.h
5894 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5895 CMONEY_CC=config/locale/gnu/monetary_members.cc
5896 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5897 CTIME_H=config/locale/gnu/time_members.h
5898 CTIME_CC=config/locale/gnu/time_members.cc
5899 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5901 ieee_1003.1-2001)
5902 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5903 echo "${ECHO_T}IEEE 1003.1" >&6
5905 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5906 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5907 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5908 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5909 CCOLLATE_CC=config/locale/generic/collate_members.cc
5910 CCTYPE_CC=config/locale/generic/ctype_members.cc
5911 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5912 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5913 CMONEY_CC=config/locale/generic/monetary_members.cc
5914 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5915 CTIME_H=config/locale/generic/time_members.h
5916 CTIME_CC=config/locale/generic/time_members.cc
5917 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5919 esac
5921 # This is where the testsuite looks for locale catalogs, using the
5922 # -DLOCALEDIR define during testsuite compilation.
5923 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5926 # A standalone libintl (e.g., GNU libintl) may be in use.
5927 if test $USE_NLS = yes; then
5929 for ac_header in libintl.h
5931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5933 echo "$as_me:$LINENO: checking for $ac_header" >&5
5934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5936 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5940 else
5941 # Is the header compilable?
5942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5944 cat >conftest.$ac_ext <<_ACEOF
5945 /* confdefs.h. */
5946 _ACEOF
5947 cat confdefs.h >>conftest.$ac_ext
5948 cat >>conftest.$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5950 $ac_includes_default
5951 #include <$ac_header>
5952 _ACEOF
5953 rm -f conftest.$ac_objext
5954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5955 (eval $ac_compile) 2>conftest.er1
5956 ac_status=$?
5957 grep -v '^ *+' conftest.er1 >conftest.err
5958 rm -f conftest.er1
5959 cat conftest.err >&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); } &&
5962 { ac_try='test -z "$ac_c_werror_flag"
5963 || test ! -s conftest.err'
5964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5965 (eval $ac_try) 2>&5
5966 ac_status=$?
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); }; } &&
5969 { ac_try='test -s conftest.$ac_objext'
5970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5971 (eval $ac_try) 2>&5
5972 ac_status=$?
5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 (exit $ac_status); }; }; then
5975 ac_header_compiler=yes
5976 else
5977 echo "$as_me: failed program was:" >&5
5978 sed 's/^/| /' conftest.$ac_ext >&5
5980 ac_header_compiler=no
5982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5984 echo "${ECHO_T}$ac_header_compiler" >&6
5986 # Is the header present?
5987 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5989 cat >conftest.$ac_ext <<_ACEOF
5990 /* confdefs.h. */
5991 _ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #include <$ac_header>
5996 _ACEOF
5997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5999 ac_status=$?
6000 grep -v '^ *+' conftest.er1 >conftest.err
6001 rm -f conftest.er1
6002 cat conftest.err >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); } >/dev/null; then
6005 if test -s conftest.err; then
6006 ac_cpp_err=$ac_c_preproc_warn_flag
6007 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6008 else
6009 ac_cpp_err=
6011 else
6012 ac_cpp_err=yes
6014 if test -z "$ac_cpp_err"; then
6015 ac_header_preproc=yes
6016 else
6017 echo "$as_me: failed program was:" >&5
6018 sed 's/^/| /' conftest.$ac_ext >&5
6020 ac_header_preproc=no
6022 rm -f conftest.err conftest.$ac_ext
6023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6024 echo "${ECHO_T}$ac_header_preproc" >&6
6026 # So? What about this header?
6027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6028 yes:no: )
6029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6033 ac_header_preproc=yes
6035 no:yes:* )
6036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6049 cat <<\_ASBOX
6050 ## ----------------------------------------- ##
6051 ## Report this to the package-unused lists. ##
6052 ## ----------------------------------------- ##
6053 _ASBOX
6055 sed "s/^/$as_me: WARNING: /" >&2
6057 esac
6058 echo "$as_me:$LINENO: checking for $ac_header" >&5
6059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 else
6063 eval "$as_ac_Header=\$ac_header_preproc"
6065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6070 cat >>confdefs.h <<_ACEOF
6071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6072 _ACEOF
6074 else
6075 USE_NLS=no
6078 done
6080 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6081 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6082 if test "${ac_cv_search_gettext+set}" = set; then
6083 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 else
6085 ac_func_search_save_LIBS=$LIBS
6086 ac_cv_search_gettext=no
6087 if test x$gcc_no_link = xyes; then
6088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6090 { (exit 1); exit 1; }; }
6092 cat >conftest.$ac_ext <<_ACEOF
6093 /* confdefs.h. */
6094 _ACEOF
6095 cat confdefs.h >>conftest.$ac_ext
6096 cat >>conftest.$ac_ext <<_ACEOF
6097 /* end confdefs.h. */
6099 /* Override any gcc2 internal prototype to avoid an error. */
6100 #ifdef __cplusplus
6101 extern "C"
6102 #endif
6103 /* We use char because int might match the return type of a gcc2
6104 builtin and then its argument prototype would still apply. */
6105 char gettext ();
6107 main ()
6109 gettext ();
6111 return 0;
6113 _ACEOF
6114 rm -f conftest.$ac_objext conftest$ac_exeext
6115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6116 (eval $ac_link) 2>conftest.er1
6117 ac_status=$?
6118 grep -v '^ *+' conftest.er1 >conftest.err
6119 rm -f conftest.er1
6120 cat conftest.err >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); } &&
6123 { ac_try='test -z "$ac_c_werror_flag"
6124 || test ! -s conftest.err'
6125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6126 (eval $ac_try) 2>&5
6127 ac_status=$?
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); }; } &&
6130 { ac_try='test -s conftest$ac_exeext'
6131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6132 (eval $ac_try) 2>&5
6133 ac_status=$?
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); }; }; then
6136 ac_cv_search_gettext="none required"
6137 else
6138 echo "$as_me: failed program was:" >&5
6139 sed 's/^/| /' conftest.$ac_ext >&5
6142 rm -f conftest.err conftest.$ac_objext \
6143 conftest$ac_exeext conftest.$ac_ext
6144 if test "$ac_cv_search_gettext" = no; then
6145 for ac_lib in intl; do
6146 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6147 if test x$gcc_no_link = xyes; then
6148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6150 { (exit 1); exit 1; }; }
6152 cat >conftest.$ac_ext <<_ACEOF
6153 /* confdefs.h. */
6154 _ACEOF
6155 cat confdefs.h >>conftest.$ac_ext
6156 cat >>conftest.$ac_ext <<_ACEOF
6157 /* end confdefs.h. */
6159 /* Override any gcc2 internal prototype to avoid an error. */
6160 #ifdef __cplusplus
6161 extern "C"
6162 #endif
6163 /* We use char because int might match the return type of a gcc2
6164 builtin and then its argument prototype would still apply. */
6165 char gettext ();
6167 main ()
6169 gettext ();
6171 return 0;
6173 _ACEOF
6174 rm -f conftest.$ac_objext conftest$ac_exeext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6176 (eval $ac_link) 2>conftest.er1
6177 ac_status=$?
6178 grep -v '^ *+' conftest.er1 >conftest.err
6179 rm -f conftest.er1
6180 cat conftest.err >&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); } &&
6183 { ac_try='test -z "$ac_c_werror_flag"
6184 || test ! -s conftest.err'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6186 (eval $ac_try) 2>&5
6187 ac_status=$?
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; } &&
6190 { ac_try='test -s conftest$ac_exeext'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6192 (eval $ac_try) 2>&5
6193 ac_status=$?
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then
6196 ac_cv_search_gettext="-l$ac_lib"
6197 break
6198 else
6199 echo "$as_me: failed program was:" >&5
6200 sed 's/^/| /' conftest.$ac_ext >&5
6203 rm -f conftest.err conftest.$ac_objext \
6204 conftest$ac_exeext conftest.$ac_ext
6205 done
6207 LIBS=$ac_func_search_save_LIBS
6209 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6210 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6211 if test "$ac_cv_search_gettext" != no; then
6212 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6214 else
6215 USE_NLS=no
6219 if test $USE_NLS = yes; then
6220 cat >>confdefs.h <<\_ACEOF
6221 #define _GLIBCXX_USE_NLS 1
6222 _ACEOF
6242 echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6243 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6244 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6245 if test "${enable_libstdcxx_allocator+set}" = set; then
6246 enableval="$enable_libstdcxx_allocator"
6248 case "$enableval" in
6249 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6250 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6251 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6252 { (exit 1); exit 1; }; } ;;
6253 esac
6255 else
6256 enable_libstdcxx_allocator=auto
6260 # If they didn't use this option switch, or if they specified --enable
6261 # with no specific model, we'll have to look for one. If they
6262 # specified --disable (???), do likewise.
6263 if test $enable_libstdcxx_allocator = no ||
6264 test $enable_libstdcxx_allocator = yes;
6265 then
6266 enable_libstdcxx_allocator=auto
6269 # Either a known package, or "auto". Auto implies the default choice
6270 # for a particular platform.
6271 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6273 # Probe for host-specific support if no specific model is specified.
6274 # Default to "new".
6275 if test $enable_libstdcxx_allocator_flag = auto; then
6276 case ${target_os} in
6277 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6278 enable_libstdcxx_allocator_flag=mt
6281 enable_libstdcxx_allocator_flag=new
6283 esac
6285 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6286 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6289 # Set configure bits for specified locale package
6290 case ${enable_libstdcxx_allocator_flag} in
6291 bitmap)
6292 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6293 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6295 malloc)
6296 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6297 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6300 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6301 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6303 new)
6304 ALLOCATOR_H=config/allocator/new_allocator_base.h
6305 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6307 pool)
6308 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6309 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6311 esac
6317 # Check whether --enable-cheaders or --disable-cheaders was given.
6318 if test "${enable_cheaders+set}" = set; then
6319 enableval="$enable_cheaders"
6321 case "$enableval" in
6322 c|c_std) ;;
6323 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6324 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6325 { (exit 1); exit 1; }; } ;;
6326 esac
6328 else
6329 enable_cheaders=$c_model
6332 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6333 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6335 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6342 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6343 if test "${enable_c_mbchar+set}" = set; then
6344 enableval="$enable_c_mbchar"
6346 case "$enableval" in
6347 yes|no) ;;
6348 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6349 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6350 { (exit 1); exit 1; }; } ;;
6351 esac
6353 else
6354 enable_c_mbchar=yes
6357 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6361 # Check whether --enable-c99 or --disable-c99 was given.
6362 if test "${enable_c99+set}" = set; then
6363 enableval="$enable_c99"
6365 case "$enableval" in
6366 yes|no) ;;
6367 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6368 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6369 { (exit 1); exit 1; }; } ;;
6370 esac
6372 else
6373 enable_c99=yes
6379 ac_ext=cc
6380 ac_cpp='$CXXCPP $CPPFLAGS'
6381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6386 # Check for the existence of <math.h> functions used if C99 is enabled.
6387 ac_c99_math=yes;
6388 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6389 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6390 cat >conftest.$ac_ext <<_ACEOF
6391 /* confdefs.h. */
6392 _ACEOF
6393 cat confdefs.h >>conftest.$ac_ext
6394 cat >>conftest.$ac_ext <<_ACEOF
6395 /* end confdefs.h. */
6396 #include <math.h>
6398 main ()
6400 fpclassify(0.0);
6402 return 0;
6404 _ACEOF
6405 rm -f conftest.$ac_objext
6406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6407 (eval $ac_compile) 2>conftest.er1
6408 ac_status=$?
6409 grep -v '^ *+' conftest.er1 >conftest.err
6410 rm -f conftest.er1
6411 cat conftest.err >&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); } &&
6414 { ac_try='test -z "$ac_cxx_werror_flag"
6415 || test ! -s conftest.err'
6416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6417 (eval $ac_try) 2>&5
6418 ac_status=$?
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); }; } &&
6421 { ac_try='test -s conftest.$ac_objext'
6422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423 (eval $ac_try) 2>&5
6424 ac_status=$?
6425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426 (exit $ac_status); }; }; then
6428 else
6429 echo "$as_me: failed program was:" >&5
6430 sed 's/^/| /' conftest.$ac_ext >&5
6432 ac_c99_math=no
6434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6435 cat >conftest.$ac_ext <<_ACEOF
6436 /* confdefs.h. */
6437 _ACEOF
6438 cat confdefs.h >>conftest.$ac_ext
6439 cat >>conftest.$ac_ext <<_ACEOF
6440 /* end confdefs.h. */
6441 #include <math.h>
6443 main ()
6445 isfinite(0.0);
6447 return 0;
6449 _ACEOF
6450 rm -f conftest.$ac_objext
6451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6452 (eval $ac_compile) 2>conftest.er1
6453 ac_status=$?
6454 grep -v '^ *+' conftest.er1 >conftest.err
6455 rm -f conftest.er1
6456 cat conftest.err >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } &&
6459 { ac_try='test -z "$ac_cxx_werror_flag"
6460 || test ! -s conftest.err'
6461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 (eval $ac_try) 2>&5
6463 ac_status=$?
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); }; } &&
6466 { ac_try='test -s conftest.$ac_objext'
6467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 (eval $ac_try) 2>&5
6469 ac_status=$?
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); }; }; then
6473 else
6474 echo "$as_me: failed program was:" >&5
6475 sed 's/^/| /' conftest.$ac_ext >&5
6477 ac_c99_math=no
6479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6480 cat >conftest.$ac_ext <<_ACEOF
6481 /* confdefs.h. */
6482 _ACEOF
6483 cat confdefs.h >>conftest.$ac_ext
6484 cat >>conftest.$ac_ext <<_ACEOF
6485 /* end confdefs.h. */
6486 #include <math.h>
6488 main ()
6490 isinf(0.0);
6492 return 0;
6494 _ACEOF
6495 rm -f conftest.$ac_objext
6496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6497 (eval $ac_compile) 2>conftest.er1
6498 ac_status=$?
6499 grep -v '^ *+' conftest.er1 >conftest.err
6500 rm -f conftest.er1
6501 cat conftest.err >&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); } &&
6504 { ac_try='test -z "$ac_cxx_werror_flag"
6505 || test ! -s conftest.err'
6506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6507 (eval $ac_try) 2>&5
6508 ac_status=$?
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); }; } &&
6511 { ac_try='test -s conftest.$ac_objext'
6512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 (eval $ac_try) 2>&5
6514 ac_status=$?
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); }; }; then
6518 else
6519 echo "$as_me: failed program was:" >&5
6520 sed 's/^/| /' conftest.$ac_ext >&5
6522 ac_c99_math=no
6524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6525 cat >conftest.$ac_ext <<_ACEOF
6526 /* confdefs.h. */
6527 _ACEOF
6528 cat confdefs.h >>conftest.$ac_ext
6529 cat >>conftest.$ac_ext <<_ACEOF
6530 /* end confdefs.h. */
6531 #include <math.h>
6533 main ()
6535 isnan(0.0);
6537 return 0;
6539 _ACEOF
6540 rm -f conftest.$ac_objext
6541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6542 (eval $ac_compile) 2>conftest.er1
6543 ac_status=$?
6544 grep -v '^ *+' conftest.er1 >conftest.err
6545 rm -f conftest.er1
6546 cat conftest.err >&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); } &&
6549 { ac_try='test -z "$ac_cxx_werror_flag"
6550 || test ! -s conftest.err'
6551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 (eval $ac_try) 2>&5
6553 ac_status=$?
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); }; } &&
6556 { ac_try='test -s conftest.$ac_objext'
6557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6558 (eval $ac_try) 2>&5
6559 ac_status=$?
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); }; }; then
6563 else
6564 echo "$as_me: failed program was:" >&5
6565 sed 's/^/| /' conftest.$ac_ext >&5
6567 ac_c99_math=no
6569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6570 cat >conftest.$ac_ext <<_ACEOF
6571 /* confdefs.h. */
6572 _ACEOF
6573 cat confdefs.h >>conftest.$ac_ext
6574 cat >>conftest.$ac_ext <<_ACEOF
6575 /* end confdefs.h. */
6576 #include <math.h>
6578 main ()
6580 isnormal(0.0);
6582 return 0;
6584 _ACEOF
6585 rm -f conftest.$ac_objext
6586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6587 (eval $ac_compile) 2>conftest.er1
6588 ac_status=$?
6589 grep -v '^ *+' conftest.er1 >conftest.err
6590 rm -f conftest.er1
6591 cat conftest.err >&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); } &&
6594 { ac_try='test -z "$ac_cxx_werror_flag"
6595 || test ! -s conftest.err'
6596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6597 (eval $ac_try) 2>&5
6598 ac_status=$?
6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600 (exit $ac_status); }; } &&
6601 { ac_try='test -s conftest.$ac_objext'
6602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603 (eval $ac_try) 2>&5
6604 ac_status=$?
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }; }; then
6608 else
6609 echo "$as_me: failed program was:" >&5
6610 sed 's/^/| /' conftest.$ac_ext >&5
6612 ac_c99_math=no
6614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6615 cat >conftest.$ac_ext <<_ACEOF
6616 /* confdefs.h. */
6617 _ACEOF
6618 cat confdefs.h >>conftest.$ac_ext
6619 cat >>conftest.$ac_ext <<_ACEOF
6620 /* end confdefs.h. */
6621 #include <math.h>
6623 main ()
6625 signbit(0.0);
6627 return 0;
6629 _ACEOF
6630 rm -f conftest.$ac_objext
6631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>conftest.er1
6633 ac_status=$?
6634 grep -v '^ *+' conftest.er1 >conftest.err
6635 rm -f conftest.er1
6636 cat conftest.err >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } &&
6639 { ac_try='test -z "$ac_cxx_werror_flag"
6640 || test ! -s conftest.err'
6641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 (eval $ac_try) 2>&5
6643 ac_status=$?
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); }; } &&
6646 { ac_try='test -s conftest.$ac_objext'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 (eval $ac_try) 2>&5
6649 ac_status=$?
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; }; then
6653 else
6654 echo "$as_me: failed program was:" >&5
6655 sed 's/^/| /' conftest.$ac_ext >&5
6657 ac_c99_math=no
6659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6660 cat >conftest.$ac_ext <<_ACEOF
6661 /* confdefs.h. */
6662 _ACEOF
6663 cat confdefs.h >>conftest.$ac_ext
6664 cat >>conftest.$ac_ext <<_ACEOF
6665 /* end confdefs.h. */
6666 #include <math.h>
6668 main ()
6670 isgreater(0.0,0.0);
6672 return 0;
6674 _ACEOF
6675 rm -f conftest.$ac_objext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6677 (eval $ac_compile) 2>conftest.er1
6678 ac_status=$?
6679 grep -v '^ *+' conftest.er1 >conftest.err
6680 rm -f conftest.er1
6681 cat conftest.err >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } &&
6684 { ac_try='test -z "$ac_cxx_werror_flag"
6685 || test ! -s conftest.err'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6687 (eval $ac_try) 2>&5
6688 ac_status=$?
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; } &&
6691 { ac_try='test -s conftest.$ac_objext'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 (eval $ac_try) 2>&5
6694 ac_status=$?
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; }; then
6698 else
6699 echo "$as_me: failed program was:" >&5
6700 sed 's/^/| /' conftest.$ac_ext >&5
6702 ac_c99_math=no
6704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6705 cat >conftest.$ac_ext <<_ACEOF
6706 /* confdefs.h. */
6707 _ACEOF
6708 cat confdefs.h >>conftest.$ac_ext
6709 cat >>conftest.$ac_ext <<_ACEOF
6710 /* end confdefs.h. */
6711 #include <math.h>
6713 main ()
6715 isgreaterequal(0.0,0.0);
6717 return 0;
6719 _ACEOF
6720 rm -f conftest.$ac_objext
6721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6722 (eval $ac_compile) 2>conftest.er1
6723 ac_status=$?
6724 grep -v '^ *+' conftest.er1 >conftest.err
6725 rm -f conftest.er1
6726 cat conftest.err >&5
6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 (exit $ac_status); } &&
6729 { ac_try='test -z "$ac_cxx_werror_flag"
6730 || test ! -s conftest.err'
6731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6732 (eval $ac_try) 2>&5
6733 ac_status=$?
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); }; } &&
6736 { ac_try='test -s conftest.$ac_objext'
6737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6738 (eval $ac_try) 2>&5
6739 ac_status=$?
6740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); }; }; then
6743 else
6744 echo "$as_me: failed program was:" >&5
6745 sed 's/^/| /' conftest.$ac_ext >&5
6747 ac_c99_math=no
6749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6750 cat >conftest.$ac_ext <<_ACEOF
6751 /* confdefs.h. */
6752 _ACEOF
6753 cat confdefs.h >>conftest.$ac_ext
6754 cat >>conftest.$ac_ext <<_ACEOF
6755 /* end confdefs.h. */
6756 #include <math.h>
6758 main ()
6760 isless(0.0,0.0);
6762 return 0;
6764 _ACEOF
6765 rm -f conftest.$ac_objext
6766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6767 (eval $ac_compile) 2>conftest.er1
6768 ac_status=$?
6769 grep -v '^ *+' conftest.er1 >conftest.err
6770 rm -f conftest.er1
6771 cat conftest.err >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); } &&
6774 { ac_try='test -z "$ac_cxx_werror_flag"
6775 || test ! -s conftest.err'
6776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6777 (eval $ac_try) 2>&5
6778 ac_status=$?
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); }; } &&
6781 { ac_try='test -s conftest.$ac_objext'
6782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 (eval $ac_try) 2>&5
6784 ac_status=$?
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); }; }; then
6788 else
6789 echo "$as_me: failed program was:" >&5
6790 sed 's/^/| /' conftest.$ac_ext >&5
6792 ac_c99_math=no
6794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6795 cat >conftest.$ac_ext <<_ACEOF
6796 /* confdefs.h. */
6797 _ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6801 #include <math.h>
6803 main ()
6805 islessequal(0.0,0.0);
6807 return 0;
6809 _ACEOF
6810 rm -f conftest.$ac_objext
6811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6812 (eval $ac_compile) 2>conftest.er1
6813 ac_status=$?
6814 grep -v '^ *+' conftest.er1 >conftest.err
6815 rm -f conftest.er1
6816 cat conftest.err >&5
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); } &&
6819 { ac_try='test -z "$ac_cxx_werror_flag"
6820 || test ! -s conftest.err'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6822 (eval $ac_try) 2>&5
6823 ac_status=$?
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; } &&
6826 { ac_try='test -s conftest.$ac_objext'
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828 (eval $ac_try) 2>&5
6829 ac_status=$?
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; }; then
6833 else
6834 echo "$as_me: failed program was:" >&5
6835 sed 's/^/| /' conftest.$ac_ext >&5
6837 ac_c99_math=no
6839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6840 cat >conftest.$ac_ext <<_ACEOF
6841 /* confdefs.h. */
6842 _ACEOF
6843 cat confdefs.h >>conftest.$ac_ext
6844 cat >>conftest.$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6846 #include <math.h>
6848 main ()
6850 islessgreater(0.0,0.0);
6852 return 0;
6854 _ACEOF
6855 rm -f conftest.$ac_objext
6856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6857 (eval $ac_compile) 2>conftest.er1
6858 ac_status=$?
6859 grep -v '^ *+' conftest.er1 >conftest.err
6860 rm -f conftest.er1
6861 cat conftest.err >&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); } &&
6864 { ac_try='test -z "$ac_cxx_werror_flag"
6865 || test ! -s conftest.err'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6867 (eval $ac_try) 2>&5
6868 ac_status=$?
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; } &&
6871 { ac_try='test -s conftest.$ac_objext'
6872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6873 (eval $ac_try) 2>&5
6874 ac_status=$?
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); }; }; then
6878 else
6879 echo "$as_me: failed program was:" >&5
6880 sed 's/^/| /' conftest.$ac_ext >&5
6882 ac_c99_math=no
6884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6885 cat >conftest.$ac_ext <<_ACEOF
6886 /* confdefs.h. */
6887 _ACEOF
6888 cat confdefs.h >>conftest.$ac_ext
6889 cat >>conftest.$ac_ext <<_ACEOF
6890 /* end confdefs.h. */
6891 #include <math.h>
6893 main ()
6895 isunordered(0.0,0.0);
6897 return 0;
6899 _ACEOF
6900 rm -f conftest.$ac_objext
6901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6902 (eval $ac_compile) 2>conftest.er1
6903 ac_status=$?
6904 grep -v '^ *+' conftest.er1 >conftest.err
6905 rm -f conftest.er1
6906 cat conftest.err >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); } &&
6909 { ac_try='test -z "$ac_cxx_werror_flag"
6910 || test ! -s conftest.err'
6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 (eval $ac_try) 2>&5
6913 ac_status=$?
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); }; } &&
6916 { ac_try='test -s conftest.$ac_objext'
6917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918 (eval $ac_try) 2>&5
6919 ac_status=$?
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 (exit $ac_status); }; }; then
6923 else
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.$ac_ext >&5
6927 ac_c99_math=no
6929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6930 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6931 echo "${ECHO_T}$ac_c99_math" >&6
6933 if test x"$ac_c99_math" = x"yes"; then
6934 cat >>confdefs.h <<\_ACEOF
6935 #define _GLIBCXX_USE_C99_MATH 1
6936 _ACEOF
6940 # Check for the existence in <stdio.h> of vscanf, et. al.
6941 ac_c99_stdio=yes;
6942 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6943 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6944 cat >conftest.$ac_ext <<_ACEOF
6945 /* confdefs.h. */
6946 _ACEOF
6947 cat confdefs.h >>conftest.$ac_ext
6948 cat >>conftest.$ac_ext <<_ACEOF
6949 /* end confdefs.h. */
6950 #include <stdio.h>
6952 main ()
6954 snprintf("12", 0, "%i");
6956 return 0;
6958 _ACEOF
6959 rm -f conftest.$ac_objext
6960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6961 (eval $ac_compile) 2>conftest.er1
6962 ac_status=$?
6963 grep -v '^ *+' conftest.er1 >conftest.err
6964 rm -f conftest.er1
6965 cat conftest.err >&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); } &&
6968 { ac_try='test -z "$ac_cxx_werror_flag"
6969 || test ! -s conftest.err'
6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6971 (eval $ac_try) 2>&5
6972 ac_status=$?
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; } &&
6975 { ac_try='test -s conftest.$ac_objext'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6977 (eval $ac_try) 2>&5
6978 ac_status=$?
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; }; then
6982 else
6983 echo "$as_me: failed program was:" >&5
6984 sed 's/^/| /' conftest.$ac_ext >&5
6986 ac_c99_stdio=no
6988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6989 cat >conftest.$ac_ext <<_ACEOF
6990 /* confdefs.h. */
6991 _ACEOF
6992 cat confdefs.h >>conftest.$ac_ext
6993 cat >>conftest.$ac_ext <<_ACEOF
6994 /* end confdefs.h. */
6995 #include <stdio.h>
6996 #include <stdarg.h>
6997 void foo(char* fmt, ...)
6998 {va_list args; va_start(args, fmt);
6999 vfscanf(stderr, "%i", args);}
7001 main ()
7005 return 0;
7007 _ACEOF
7008 rm -f conftest.$ac_objext
7009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7010 (eval $ac_compile) 2>conftest.er1
7011 ac_status=$?
7012 grep -v '^ *+' conftest.er1 >conftest.err
7013 rm -f conftest.er1
7014 cat conftest.err >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); } &&
7017 { ac_try='test -z "$ac_cxx_werror_flag"
7018 || test ! -s conftest.err'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 (eval $ac_try) 2>&5
7021 ac_status=$?
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; } &&
7024 { ac_try='test -s conftest.$ac_objext'
7025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7026 (eval $ac_try) 2>&5
7027 ac_status=$?
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); }; }; then
7031 else
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.$ac_ext >&5
7035 ac_c99_stdio=no
7037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7038 cat >conftest.$ac_ext <<_ACEOF
7039 /* confdefs.h. */
7040 _ACEOF
7041 cat confdefs.h >>conftest.$ac_ext
7042 cat >>conftest.$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7044 #include <stdio.h>
7045 #include <stdarg.h>
7046 void foo(char* fmt, ...)
7047 {va_list args; va_start(args, fmt);
7048 vscanf("%i", args);}
7050 main ()
7054 return 0;
7056 _ACEOF
7057 rm -f conftest.$ac_objext
7058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7059 (eval $ac_compile) 2>conftest.er1
7060 ac_status=$?
7061 grep -v '^ *+' conftest.er1 >conftest.err
7062 rm -f conftest.er1
7063 cat conftest.err >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); } &&
7066 { ac_try='test -z "$ac_cxx_werror_flag"
7067 || test ! -s conftest.err'
7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7069 (eval $ac_try) 2>&5
7070 ac_status=$?
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; } &&
7073 { ac_try='test -s conftest.$ac_objext'
7074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7075 (eval $ac_try) 2>&5
7076 ac_status=$?
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }; }; then
7080 else
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7084 ac_c99_stdio=no
7086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7087 cat >conftest.$ac_ext <<_ACEOF
7088 /* confdefs.h. */
7089 _ACEOF
7090 cat confdefs.h >>conftest.$ac_ext
7091 cat >>conftest.$ac_ext <<_ACEOF
7092 /* end confdefs.h. */
7093 #include <stdio.h>
7094 #include <stdarg.h>
7095 void foo(char* fmt, ...)
7096 {va_list args; va_start(args, fmt);
7097 vsnprintf(fmt, 0, "%i", args);}
7099 main ()
7103 return 0;
7105 _ACEOF
7106 rm -f conftest.$ac_objext
7107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7108 (eval $ac_compile) 2>conftest.er1
7109 ac_status=$?
7110 grep -v '^ *+' conftest.er1 >conftest.err
7111 rm -f conftest.er1
7112 cat conftest.err >&5
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); } &&
7115 { ac_try='test -z "$ac_cxx_werror_flag"
7116 || test ! -s conftest.err'
7117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118 (eval $ac_try) 2>&5
7119 ac_status=$?
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); }; } &&
7122 { ac_try='test -s conftest.$ac_objext'
7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7124 (eval $ac_try) 2>&5
7125 ac_status=$?
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); }; }; then
7129 else
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.$ac_ext >&5
7133 ac_c99_stdio=no
7135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7136 cat >conftest.$ac_ext <<_ACEOF
7137 /* confdefs.h. */
7138 _ACEOF
7139 cat confdefs.h >>conftest.$ac_ext
7140 cat >>conftest.$ac_ext <<_ACEOF
7141 /* end confdefs.h. */
7142 #include <stdio.h>
7143 #include <stdarg.h>
7144 void foo(char* fmt, ...)
7145 {va_list args; va_start(args, fmt);
7146 vsscanf(fmt, "%i", args);}
7148 main ()
7152 return 0;
7154 _ACEOF
7155 rm -f conftest.$ac_objext
7156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7157 (eval $ac_compile) 2>conftest.er1
7158 ac_status=$?
7159 grep -v '^ *+' conftest.er1 >conftest.err
7160 rm -f conftest.er1
7161 cat conftest.err >&5
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); } &&
7164 { ac_try='test -z "$ac_cxx_werror_flag"
7165 || test ! -s conftest.err'
7166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7167 (eval $ac_try) 2>&5
7168 ac_status=$?
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); }; } &&
7171 { ac_try='test -s conftest.$ac_objext'
7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7173 (eval $ac_try) 2>&5
7174 ac_status=$?
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }; }; then
7178 else
7179 echo "$as_me: failed program was:" >&5
7180 sed 's/^/| /' conftest.$ac_ext >&5
7182 ac_c99_stdio=no
7184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7185 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7186 echo "${ECHO_T}$ac_c99_stdio" >&6
7188 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7189 ac_c99_stdlib=yes;
7190 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7191 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7192 if test "${ac_c99_lldiv_t+set}" = set; then
7193 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 else
7196 cat >conftest.$ac_ext <<_ACEOF
7197 /* confdefs.h. */
7198 _ACEOF
7199 cat confdefs.h >>conftest.$ac_ext
7200 cat >>conftest.$ac_ext <<_ACEOF
7201 /* end confdefs.h. */
7202 #include <stdlib.h>
7204 main ()
7206 lldiv_t mydivt;
7208 return 0;
7210 _ACEOF
7211 rm -f conftest.$ac_objext
7212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7213 (eval $ac_compile) 2>conftest.er1
7214 ac_status=$?
7215 grep -v '^ *+' conftest.er1 >conftest.err
7216 rm -f conftest.er1
7217 cat conftest.err >&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); } &&
7220 { ac_try='test -z "$ac_cxx_werror_flag"
7221 || test ! -s conftest.err'
7222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7223 (eval $ac_try) 2>&5
7224 ac_status=$?
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); }; } &&
7227 { ac_try='test -s conftest.$ac_objext'
7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 (eval $ac_try) 2>&5
7230 ac_status=$?
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }; }; then
7233 ac_c99_lldiv_t=yes
7234 else
7235 echo "$as_me: failed program was:" >&5
7236 sed 's/^/| /' conftest.$ac_ext >&5
7238 ac_c99_lldiv_t=no
7240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7244 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7245 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7247 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7248 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7249 cat >conftest.$ac_ext <<_ACEOF
7250 /* confdefs.h. */
7251 _ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 #include <stdlib.h>
7257 main ()
7259 char* tmp; strtof("gnu", &tmp);
7261 return 0;
7263 _ACEOF
7264 rm -f conftest.$ac_objext
7265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7266 (eval $ac_compile) 2>conftest.er1
7267 ac_status=$?
7268 grep -v '^ *+' conftest.er1 >conftest.err
7269 rm -f conftest.er1
7270 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } &&
7273 { ac_try='test -z "$ac_cxx_werror_flag"
7274 || test ! -s conftest.err'
7275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7276 (eval $ac_try) 2>&5
7277 ac_status=$?
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); }; } &&
7280 { ac_try='test -s conftest.$ac_objext'
7281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7282 (eval $ac_try) 2>&5
7283 ac_status=$?
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); }; }; then
7287 else
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7291 ac_c99_stdlib=no
7293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7294 cat >conftest.$ac_ext <<_ACEOF
7295 /* confdefs.h. */
7296 _ACEOF
7297 cat confdefs.h >>conftest.$ac_ext
7298 cat >>conftest.$ac_ext <<_ACEOF
7299 /* end confdefs.h. */
7300 #include <stdlib.h>
7302 main ()
7304 char* tmp; strtold("gnu", &tmp);
7306 return 0;
7308 _ACEOF
7309 rm -f conftest.$ac_objext
7310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7311 (eval $ac_compile) 2>conftest.er1
7312 ac_status=$?
7313 grep -v '^ *+' conftest.er1 >conftest.err
7314 rm -f conftest.er1
7315 cat conftest.err >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); } &&
7318 { ac_try='test -z "$ac_cxx_werror_flag"
7319 || test ! -s conftest.err'
7320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7321 (eval $ac_try) 2>&5
7322 ac_status=$?
7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); }; } &&
7325 { ac_try='test -s conftest.$ac_objext'
7326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7327 (eval $ac_try) 2>&5
7328 ac_status=$?
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); }; }; then
7332 else
7333 echo "$as_me: failed program was:" >&5
7334 sed 's/^/| /' conftest.$ac_ext >&5
7336 ac_c99_stdlib=no
7338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7339 cat >conftest.$ac_ext <<_ACEOF
7340 /* confdefs.h. */
7341 _ACEOF
7342 cat confdefs.h >>conftest.$ac_ext
7343 cat >>conftest.$ac_ext <<_ACEOF
7344 /* end confdefs.h. */
7345 #include <stdlib.h>
7347 main ()
7349 llabs(10);
7351 return 0;
7353 _ACEOF
7354 rm -f conftest.$ac_objext
7355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7356 (eval $ac_compile) 2>conftest.er1
7357 ac_status=$?
7358 grep -v '^ *+' conftest.er1 >conftest.err
7359 rm -f conftest.er1
7360 cat conftest.err >&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } &&
7363 { ac_try='test -z "$ac_cxx_werror_flag"
7364 || test ! -s conftest.err'
7365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7366 (eval $ac_try) 2>&5
7367 ac_status=$?
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); }; } &&
7370 { ac_try='test -s conftest.$ac_objext'
7371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7372 (eval $ac_try) 2>&5
7373 ac_status=$?
7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); }; }; then
7377 else
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.$ac_ext >&5
7381 ac_c99_stdlib=no
7383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7384 cat >conftest.$ac_ext <<_ACEOF
7385 /* confdefs.h. */
7386 _ACEOF
7387 cat confdefs.h >>conftest.$ac_ext
7388 cat >>conftest.$ac_ext <<_ACEOF
7389 /* end confdefs.h. */
7390 #include <stdlib.h>
7392 main ()
7394 lldiv(10,1);
7396 return 0;
7398 _ACEOF
7399 rm -f conftest.$ac_objext
7400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7401 (eval $ac_compile) 2>conftest.er1
7402 ac_status=$?
7403 grep -v '^ *+' conftest.er1 >conftest.err
7404 rm -f conftest.er1
7405 cat conftest.err >&5
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); } &&
7408 { ac_try='test -z "$ac_cxx_werror_flag"
7409 || test ! -s conftest.err'
7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 (eval $ac_try) 2>&5
7412 ac_status=$?
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); }; } &&
7415 { ac_try='test -s conftest.$ac_objext'
7416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417 (eval $ac_try) 2>&5
7418 ac_status=$?
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); }; }; then
7422 else
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7426 ac_c99_stdlib=no
7428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7429 cat >conftest.$ac_ext <<_ACEOF
7430 /* confdefs.h. */
7431 _ACEOF
7432 cat confdefs.h >>conftest.$ac_ext
7433 cat >>conftest.$ac_ext <<_ACEOF
7434 /* end confdefs.h. */
7435 #include <stdlib.h>
7437 main ()
7439 atoll("10");
7441 return 0;
7443 _ACEOF
7444 rm -f conftest.$ac_objext
7445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7446 (eval $ac_compile) 2>conftest.er1
7447 ac_status=$?
7448 grep -v '^ *+' conftest.er1 >conftest.err
7449 rm -f conftest.er1
7450 cat conftest.err >&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); } &&
7453 { ac_try='test -z "$ac_cxx_werror_flag"
7454 || test ! -s conftest.err'
7455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456 (eval $ac_try) 2>&5
7457 ac_status=$?
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); }; } &&
7460 { ac_try='test -s conftest.$ac_objext'
7461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462 (eval $ac_try) 2>&5
7463 ac_status=$?
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); }; }; then
7467 else
7468 echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.$ac_ext >&5
7471 ac_c99_stdlib=no
7473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7474 cat >conftest.$ac_ext <<_ACEOF
7475 /* confdefs.h. */
7476 _ACEOF
7477 cat confdefs.h >>conftest.$ac_ext
7478 cat >>conftest.$ac_ext <<_ACEOF
7479 /* end confdefs.h. */
7480 #include <stdlib.h>
7482 main ()
7484 _Exit(0);
7486 return 0;
7488 _ACEOF
7489 rm -f conftest.$ac_objext
7490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7491 (eval $ac_compile) 2>conftest.er1
7492 ac_status=$?
7493 grep -v '^ *+' conftest.er1 >conftest.err
7494 rm -f conftest.er1
7495 cat conftest.err >&5
7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497 (exit $ac_status); } &&
7498 { ac_try='test -z "$ac_cxx_werror_flag"
7499 || test ! -s conftest.err'
7500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7501 (eval $ac_try) 2>&5
7502 ac_status=$?
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); }; } &&
7505 { ac_try='test -s conftest.$ac_objext'
7506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507 (eval $ac_try) 2>&5
7508 ac_status=$?
7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); }; }; then
7512 else
7513 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7516 ac_c99_stdlib=no
7518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7519 if test x"$ac_c99_lldiv_t" = x"no"; then
7520 ac_c99_stdlib=no;
7522 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7523 echo "${ECHO_T}$ac_c99_stdlib" >&6
7525 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7526 # XXX the wchar.h checks should be rolled into the general C99 bits.
7527 ac_c99_wchar=yes;
7528 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7529 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7530 cat >conftest.$ac_ext <<_ACEOF
7531 /* confdefs.h. */
7532 _ACEOF
7533 cat confdefs.h >>conftest.$ac_ext
7534 cat >>conftest.$ac_ext <<_ACEOF
7535 /* end confdefs.h. */
7536 #include <wchar.h>
7538 main ()
7540 wcstold(L"10.0", NULL);
7542 return 0;
7544 _ACEOF
7545 rm -f conftest.$ac_objext
7546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7547 (eval $ac_compile) 2>conftest.er1
7548 ac_status=$?
7549 grep -v '^ *+' conftest.er1 >conftest.err
7550 rm -f conftest.er1
7551 cat conftest.err >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } &&
7554 { ac_try='test -z "$ac_cxx_werror_flag"
7555 || test ! -s conftest.err'
7556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7557 (eval $ac_try) 2>&5
7558 ac_status=$?
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); }; } &&
7561 { ac_try='test -s conftest.$ac_objext'
7562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563 (eval $ac_try) 2>&5
7564 ac_status=$?
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); }; }; then
7568 else
7569 echo "$as_me: failed program was:" >&5
7570 sed 's/^/| /' conftest.$ac_ext >&5
7572 ac_c99_wchar=no
7574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7575 cat >conftest.$ac_ext <<_ACEOF
7576 /* confdefs.h. */
7577 _ACEOF
7578 cat confdefs.h >>conftest.$ac_ext
7579 cat >>conftest.$ac_ext <<_ACEOF
7580 /* end confdefs.h. */
7581 #include <wchar.h>
7583 main ()
7585 wcstoll(L"10", NULL, 10);
7587 return 0;
7589 _ACEOF
7590 rm -f conftest.$ac_objext
7591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7592 (eval $ac_compile) 2>conftest.er1
7593 ac_status=$?
7594 grep -v '^ *+' conftest.er1 >conftest.err
7595 rm -f conftest.er1
7596 cat conftest.err >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } &&
7599 { ac_try='test -z "$ac_cxx_werror_flag"
7600 || test ! -s conftest.err'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 (eval $ac_try) 2>&5
7603 ac_status=$?
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; } &&
7606 { ac_try='test -s conftest.$ac_objext'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 (eval $ac_try) 2>&5
7609 ac_status=$?
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; }; then
7613 else
7614 echo "$as_me: failed program was:" >&5
7615 sed 's/^/| /' conftest.$ac_ext >&5
7617 ac_c99_wchar=no
7619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7620 cat >conftest.$ac_ext <<_ACEOF
7621 /* confdefs.h. */
7622 _ACEOF
7623 cat confdefs.h >>conftest.$ac_ext
7624 cat >>conftest.$ac_ext <<_ACEOF
7625 /* end confdefs.h. */
7626 #include <wchar.h>
7628 main ()
7630 wcstoull(L"10", NULL, 10);
7632 return 0;
7634 _ACEOF
7635 rm -f conftest.$ac_objext
7636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7637 (eval $ac_compile) 2>conftest.er1
7638 ac_status=$?
7639 grep -v '^ *+' conftest.er1 >conftest.err
7640 rm -f conftest.er1
7641 cat conftest.err >&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } &&
7644 { ac_try='test -z "$ac_cxx_werror_flag"
7645 || test ! -s conftest.err'
7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7647 (eval $ac_try) 2>&5
7648 ac_status=$?
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }; } &&
7651 { ac_try='test -s conftest.$ac_objext'
7652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7653 (eval $ac_try) 2>&5
7654 ac_status=$?
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); }; }; then
7658 else
7659 echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5
7662 ac_c99_wchar=no
7664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7665 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7666 echo "${ECHO_T}$ac_c99_wchar" >&6
7668 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7669 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7670 if test x"$ac_c99_math" = x"no" ||
7671 test x"$ac_c99_stdio" = x"no" ||
7672 test x"$ac_c99_stdlib" = x"no" ||
7673 test x"$ac_c99_wchar" = x"no"; then
7674 enable_c99=no;
7676 echo "$as_me:$LINENO: result: $enable_c99" >&5
7677 echo "${ECHO_T}$enable_c99" >&6
7679 if test x"$ac_99_math" = x"yes"; then
7680 cat >>confdefs.h <<\_ACEOF
7681 #define _GLIBCXX_USE_C99_MATH 1
7682 _ACEOF
7686 # Option parsed, now set things appropriately
7687 if test x"$enable_c99" = x"yes"; then
7688 cat >>confdefs.h <<\_ACEOF
7689 #define _GLIBCXX_USE_C99 1
7690 _ACEOF
7694 ac_ext=c
7695 ac_cpp='$CPP $CPPFLAGS'
7696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7702 # Check whether --enable-long-long or --disable-long-long was given.
7703 if test "${enable_long_long+set}" = set; then
7704 enableval="$enable_long_long"
7706 case "$enableval" in
7707 yes|no) ;;
7708 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7709 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7710 { (exit 1); exit 1; }; } ;;
7711 esac
7713 else
7714 enable_long_long=yes
7717 if test $enable_long_long = yes; then
7718 cat >>confdefs.h <<\_ACEOF
7719 #define _GLIBCXX_USE_LONG_LONG 1
7720 _ACEOF
7725 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7726 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7727 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7728 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7729 echo "${ECHO_T}$target_thread_file" >&6
7731 if test $target_thread_file != single; then
7732 cat >>confdefs.h <<\_ACEOF
7733 #define HAVE_GTHR_DEFAULT 1
7734 _ACEOF
7738 glibcxx_thread_h=gthr-$target_thread_file.h
7742 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7743 if test "${enable_concept_checks+set}" = set; then
7744 enableval="$enable_concept_checks"
7746 case "$enableval" in
7747 yes|no) ;;
7748 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7749 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7750 { (exit 1); exit 1; }; } ;;
7751 esac
7753 else
7754 enable_concept_checks=no
7757 if test $enable_concept_checks = yes; then
7758 cat >>confdefs.h <<\_ACEOF
7759 #define _GLIBCXX_CONCEPT_CHECKS 1
7760 _ACEOF
7765 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7766 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7767 enableval="$enable_libstdcxx_debug_flags"
7768 case "x$enable_libstdcxx_debug_flags" in
7769 xno | x) enable_libstdcxx_debug_flags= ;;
7770 x-*) ;;
7771 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7772 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7773 { (exit 1); exit 1; }; } ;;
7774 esac
7775 else
7776 enable_libstdcxx_debug_flags="-g3 -O0"
7780 # Option parsed, now set things appropriately
7781 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7784 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7785 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7788 echo "$as_me:$LINENO: checking for additional debug build" >&5
7789 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7790 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7791 if test "${enable_libstdcxx_debug+set}" = set; then
7792 enableval="$enable_libstdcxx_debug"
7794 case "$enableval" in
7795 yes|no) ;;
7796 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7797 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7798 { (exit 1); exit 1; }; } ;;
7799 esac
7801 else
7802 enable_libstdcxx_debug=no
7805 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7806 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7809 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7810 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7811 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7812 if test "${enable_cxx_flags+set}" = set; then
7813 enableval="$enable_cxx_flags"
7814 case "x$enable_cxx_flags" in
7815 xno | x) enable_cxx_flags= ;;
7816 x-*) ;;
7817 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7818 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7819 { (exit 1); exit 1; }; } ;;
7820 esac
7821 else
7822 enable_cxx_flags=
7826 # Run through flags (either default or command-line) and set anything
7827 # extra (e.g., #defines) that must accompany particular g++ options.
7828 if test -n "$enable_cxx_flags"; then
7829 for f in $enable_cxx_flags; do
7830 case "$f" in
7831 -fhonor-std) ;;
7832 -*) ;;
7833 *) # and we're trying to pass /what/ exactly?
7834 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7835 echo "$as_me: error: compiler flags start with a -" >&2;}
7836 { (exit 1); exit 1; }; } ;;
7837 esac
7838 done
7841 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7842 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7843 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7847 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7848 if test "${enable_fully_dynamic_string+set}" = set; then
7849 enableval="$enable_fully_dynamic_string"
7851 case "$enableval" in
7852 yes|no) ;;
7853 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7854 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7855 { (exit 1); exit 1; }; } ;;
7856 esac
7858 else
7859 enable_fully_dynamic_string=no
7862 if test $enable_fully_dynamic_string = yes; then
7863 cat >>confdefs.h <<\_ACEOF
7864 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7865 _ACEOF
7870 # No surprises, no surprises...
7871 if test $atomicity_dir = cpu/generic ; then
7872 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7873 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7874 if test $target_thread_file = single; then
7875 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7876 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7877 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7878 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7879 else
7880 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7881 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7882 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7883 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7888 if $GLIBCXX_IS_NATIVE; then
7890 # We can do more elaborate tests that assume a working linker.
7891 CANADIAN=no
7893 # Check for available headers.
7907 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7908 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7909 sys/types.h
7911 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7913 echo "$as_me:$LINENO: checking for $ac_header" >&5
7914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7916 echo $ECHO_N "(cached) $ECHO_C" >&6
7918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7920 else
7921 # Is the header compilable?
7922 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7923 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7924 cat >conftest.$ac_ext <<_ACEOF
7925 /* confdefs.h. */
7926 _ACEOF
7927 cat confdefs.h >>conftest.$ac_ext
7928 cat >>conftest.$ac_ext <<_ACEOF
7929 /* end confdefs.h. */
7930 $ac_includes_default
7931 #include <$ac_header>
7932 _ACEOF
7933 rm -f conftest.$ac_objext
7934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7935 (eval $ac_compile) 2>conftest.er1
7936 ac_status=$?
7937 grep -v '^ *+' conftest.er1 >conftest.err
7938 rm -f conftest.er1
7939 cat conftest.err >&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); } &&
7942 { ac_try='test -z "$ac_c_werror_flag"
7943 || test ! -s conftest.err'
7944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 (eval $ac_try) 2>&5
7946 ac_status=$?
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); }; } &&
7949 { ac_try='test -s conftest.$ac_objext'
7950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7951 (eval $ac_try) 2>&5
7952 ac_status=$?
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); }; }; then
7955 ac_header_compiler=yes
7956 else
7957 echo "$as_me: failed program was:" >&5
7958 sed 's/^/| /' conftest.$ac_ext >&5
7960 ac_header_compiler=no
7962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7964 echo "${ECHO_T}$ac_header_compiler" >&6
7966 # Is the header present?
7967 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7968 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7969 cat >conftest.$ac_ext <<_ACEOF
7970 /* confdefs.h. */
7971 _ACEOF
7972 cat confdefs.h >>conftest.$ac_ext
7973 cat >>conftest.$ac_ext <<_ACEOF
7974 /* end confdefs.h. */
7975 #include <$ac_header>
7976 _ACEOF
7977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7978 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7979 ac_status=$?
7980 grep -v '^ *+' conftest.er1 >conftest.err
7981 rm -f conftest.er1
7982 cat conftest.err >&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); } >/dev/null; then
7985 if test -s conftest.err; then
7986 ac_cpp_err=$ac_c_preproc_warn_flag
7987 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7988 else
7989 ac_cpp_err=
7991 else
7992 ac_cpp_err=yes
7994 if test -z "$ac_cpp_err"; then
7995 ac_header_preproc=yes
7996 else
7997 echo "$as_me: failed program was:" >&5
7998 sed 's/^/| /' conftest.$ac_ext >&5
8000 ac_header_preproc=no
8002 rm -f conftest.err conftest.$ac_ext
8003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8004 echo "${ECHO_T}$ac_header_preproc" >&6
8006 # So? What about this header?
8007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8008 yes:no: )
8009 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8010 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8012 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8013 ac_header_preproc=yes
8015 no:yes:* )
8016 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8017 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8018 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8019 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8020 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8021 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8022 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8023 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8025 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8026 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8027 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8029 cat <<\_ASBOX
8030 ## ----------------------------------------- ##
8031 ## Report this to the package-unused lists. ##
8032 ## ----------------------------------------- ##
8033 _ASBOX
8035 sed "s/^/$as_me: WARNING: /" >&2
8037 esac
8038 echo "$as_me:$LINENO: checking for $ac_header" >&5
8039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8041 echo $ECHO_N "(cached) $ECHO_C" >&6
8042 else
8043 eval "$as_ac_Header=\$ac_header_preproc"
8045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8050 cat >>confdefs.h <<_ACEOF
8051 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8052 _ACEOF
8056 done
8060 # All these tests are for C++; save the language and the compiler flags.
8061 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8062 # found in GLIBCXX_CONFIGURE.
8065 ac_ext=cc
8066 ac_cpp='$CXXCPP $CPPFLAGS'
8067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8071 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8072 ac_save_CXXFLAGS="$CXXFLAGS"
8074 # Check for maintainer-mode bits.
8075 if test x"$USE_MAINTAINER_MODE" = xno; then
8076 WERROR=''
8077 else
8078 WERROR='-Werror'
8081 # Check for -ffunction-sections -fdata-sections
8082 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8083 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8084 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8085 cat >conftest.$ac_ext <<_ACEOF
8086 /* confdefs.h. */
8087 _ACEOF
8088 cat confdefs.h >>conftest.$ac_ext
8089 cat >>conftest.$ac_ext <<_ACEOF
8090 /* end confdefs.h. */
8093 main ()
8095 int foo;
8097 return 0;
8099 _ACEOF
8100 rm -f conftest.$ac_objext
8101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8102 (eval $ac_compile) 2>conftest.er1
8103 ac_status=$?
8104 grep -v '^ *+' conftest.er1 >conftest.err
8105 rm -f conftest.er1
8106 cat conftest.err >&5
8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 (exit $ac_status); } &&
8109 { ac_try='test -z "$ac_cxx_werror_flag"
8110 || test ! -s conftest.err'
8111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8112 (eval $ac_try) 2>&5
8113 ac_status=$?
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); }; } &&
8116 { ac_try='test -s conftest.$ac_objext'
8117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8118 (eval $ac_try) 2>&5
8119 ac_status=$?
8120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 (exit $ac_status); }; }; then
8122 ac_fdsections=yes
8123 else
8124 echo "$as_me: failed program was:" >&5
8125 sed 's/^/| /' conftest.$ac_ext >&5
8127 ac_fdsections=no
8129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8130 if test "$ac_test_CXXFLAGS" = set; then
8131 CXXFLAGS="$ac_save_CXXFLAGS"
8132 else
8133 # this is the suspicious part
8134 CXXFLAGS=''
8136 if test x"$ac_fdsections" = x"yes"; then
8137 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8139 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8140 echo "${ECHO_T}$ac_fdsections" >&6
8142 ac_ext=c
8143 ac_cpp='$CPP $CPPFLAGS'
8144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8152 # If we're not using GNU ld, then there's no point in even trying these
8153 # tests. Check for that first. We should have already tested for gld
8154 # by now (in libtool), but require it now just to be safe...
8155 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8156 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8160 # The name set by libtool depends on the version of libtool. Shame on us
8161 # for depending on an impl detail, but c'est la vie. Older versions used
8162 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8163 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8164 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8165 # set (hence we're using an older libtool), then set it.
8166 if test x${with_gnu_ld+set} != xset; then
8167 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8168 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8169 with_gnu_ld=no
8170 else
8171 with_gnu_ld=$ac_cv_prog_gnu_ld
8175 # Start by getting the version number. I think the libtool test already
8176 # does some of this, but throws away the result.
8178 ldver=`$LD --version 2>/dev/null | head -1 | \
8179 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8181 glibcxx_gnu_ld_version=`echo $ldver | \
8182 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8184 # Set --gc-sections.
8185 if test "$with_gnu_ld" = "notbroken"; then
8186 # GNU ld it is! Joy and bunny rabbits!
8188 # All these tests are for C++; save the language and the compiler flags.
8189 # Need to do this so that g++ won't try to link in libstdc++
8190 ac_test_CFLAGS="${CFLAGS+set}"
8191 ac_save_CFLAGS="$CFLAGS"
8192 CFLAGS='-x c++ -Wl,--gc-sections'
8194 # Check for -Wl,--gc-sections
8195 # XXX This test is broken at the moment, as symbols required for linking
8196 # are now in libsupc++ (not built yet). In addition, this test has
8197 # cored on solaris in the past. In addition, --gc-sections doesn't
8198 # really work at the moment (keeps on discarding used sections, first
8199 # .eh_frame and now some of the glibc sections for iconv).
8200 # Bzzzzt. Thanks for playing, maybe next time.
8201 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8202 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8203 if test "$cross_compiling" = yes; then
8204 ac_sectionLDflags=yes
8205 else
8206 cat >conftest.$ac_ext <<_ACEOF
8207 /* confdefs.h. */
8208 _ACEOF
8209 cat confdefs.h >>conftest.$ac_ext
8210 cat >>conftest.$ac_ext <<_ACEOF
8211 /* end confdefs.h. */
8213 int main(void)
8215 try { throw 1; }
8216 catch (...) { };
8217 return 0;
8220 _ACEOF
8221 rm -f conftest$ac_exeext
8222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8223 (eval $ac_link) 2>&5
8224 ac_status=$?
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8228 (eval $ac_try) 2>&5
8229 ac_status=$?
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); }; }; then
8232 ac_sectionLDflags=yes
8233 else
8234 echo "$as_me: program exited with status $ac_status" >&5
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.$ac_ext >&5
8238 ( exit $ac_status )
8239 ac_sectionLDflags=no
8241 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8243 if test "$ac_test_CFLAGS" = set; then
8244 CFLAGS="$ac_save_CFLAGS"
8245 else
8246 # this is the suspicious part
8247 CFLAGS=''
8249 if test "$ac_sectionLDflags" = "yes"; then
8250 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8252 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8253 echo "${ECHO_T}$ac_sectionLDflags" >&6
8256 # Set linker optimization flags.
8257 if test x"$with_gnu_ld" = x"yes"; then
8258 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8265 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8266 ac_save_CXXFLAGS="$CXXFLAGS"
8267 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8269 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8270 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8271 if test "${ac_cv_lib_m_sin+set}" = set; then
8272 echo $ECHO_N "(cached) $ECHO_C" >&6
8273 else
8274 ac_check_lib_save_LIBS=$LIBS
8275 LIBS="-lm $LIBS"
8276 if test x$gcc_no_link = xyes; then
8277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8279 { (exit 1); exit 1; }; }
8281 cat >conftest.$ac_ext <<_ACEOF
8282 /* confdefs.h. */
8283 _ACEOF
8284 cat confdefs.h >>conftest.$ac_ext
8285 cat >>conftest.$ac_ext <<_ACEOF
8286 /* end confdefs.h. */
8288 /* Override any gcc2 internal prototype to avoid an error. */
8289 #ifdef __cplusplus
8290 extern "C"
8291 #endif
8292 /* We use char because int might match the return type of a gcc2
8293 builtin and then its argument prototype would still apply. */
8294 char sin ();
8296 main ()
8298 sin ();
8300 return 0;
8302 _ACEOF
8303 rm -f conftest.$ac_objext conftest$ac_exeext
8304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8305 (eval $ac_link) 2>conftest.er1
8306 ac_status=$?
8307 grep -v '^ *+' conftest.er1 >conftest.err
8308 rm -f conftest.er1
8309 cat conftest.err >&5
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 (exit $ac_status); } &&
8312 { ac_try='test -z "$ac_c_werror_flag"
8313 || test ! -s conftest.err'
8314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8315 (eval $ac_try) 2>&5
8316 ac_status=$?
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); }; } &&
8319 { ac_try='test -s conftest$ac_exeext'
8320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8321 (eval $ac_try) 2>&5
8322 ac_status=$?
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); }; }; then
8325 ac_cv_lib_m_sin=yes
8326 else
8327 echo "$as_me: failed program was:" >&5
8328 sed 's/^/| /' conftest.$ac_ext >&5
8330 ac_cv_lib_m_sin=no
8332 rm -f conftest.err conftest.$ac_objext \
8333 conftest$ac_exeext conftest.$ac_ext
8334 LIBS=$ac_check_lib_save_LIBS
8336 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8337 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8338 if test $ac_cv_lib_m_sin = yes; then
8339 libm="-lm"
8342 ac_save_LIBS="$LIBS"
8343 LIBS="$LIBS $libm"
8347 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8348 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8349 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8350 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8351 echo $ECHO_N "(cached) $ECHO_C" >&6
8352 else
8356 ac_ext=cc
8357 ac_cpp='$CXXCPP $CPPFLAGS'
8358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8362 cat >conftest.$ac_ext <<_ACEOF
8363 /* confdefs.h. */
8364 _ACEOF
8365 cat confdefs.h >>conftest.$ac_ext
8366 cat >>conftest.$ac_ext <<_ACEOF
8367 /* end confdefs.h. */
8368 #include <math.h>
8369 #ifdef HAVE_IEEEFP_H
8370 #include <ieeefp.h>
8371 #endif
8374 main ()
8376 isinf(0);
8378 return 0;
8380 _ACEOF
8381 rm -f conftest.$ac_objext
8382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8383 (eval $ac_compile) 2>conftest.er1
8384 ac_status=$?
8385 grep -v '^ *+' conftest.er1 >conftest.err
8386 rm -f conftest.er1
8387 cat conftest.err >&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); } &&
8390 { ac_try='test -z "$ac_cxx_werror_flag"
8391 || test ! -s conftest.err'
8392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8393 (eval $ac_try) 2>&5
8394 ac_status=$?
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); }; } &&
8397 { ac_try='test -s conftest.$ac_objext'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8399 (eval $ac_try) 2>&5
8400 ac_status=$?
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; }; then
8403 glibcxx_cv_func_isinf_use=yes
8404 else
8405 echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.$ac_ext >&5
8408 glibcxx_cv_func_isinf_use=no
8410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8411 ac_ext=c
8412 ac_cpp='$CPP $CPPFLAGS'
8413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8421 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8422 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8424 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8426 for ac_func in isinf
8428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8429 echo "$as_me:$LINENO: checking for $ac_func" >&5
8430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8431 if eval "test \"\${$as_ac_var+set}\" = set"; then
8432 echo $ECHO_N "(cached) $ECHO_C" >&6
8433 else
8434 if test x$gcc_no_link = xyes; then
8435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8437 { (exit 1); exit 1; }; }
8439 cat >conftest.$ac_ext <<_ACEOF
8440 /* confdefs.h. */
8441 _ACEOF
8442 cat confdefs.h >>conftest.$ac_ext
8443 cat >>conftest.$ac_ext <<_ACEOF
8444 /* end confdefs.h. */
8445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8447 #define $ac_func innocuous_$ac_func
8449 /* System header to define __stub macros and hopefully few prototypes,
8450 which can conflict with char $ac_func (); below.
8451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8452 <limits.h> exists even on freestanding compilers. */
8454 #ifdef __STDC__
8455 # include <limits.h>
8456 #else
8457 # include <assert.h>
8458 #endif
8460 #undef $ac_func
8462 /* Override any gcc2 internal prototype to avoid an error. */
8463 #ifdef __cplusplus
8464 extern "C"
8466 #endif
8467 /* We use char because int might match the return type of a gcc2
8468 builtin and then its argument prototype would still apply. */
8469 char $ac_func ();
8470 /* The GNU C library defines this for functions which it implements
8471 to always fail with ENOSYS. Some functions are actually named
8472 something starting with __ and the normal name is an alias. */
8473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8474 choke me
8475 #else
8476 char (*f) () = $ac_func;
8477 #endif
8478 #ifdef __cplusplus
8480 #endif
8483 main ()
8485 return f != $ac_func;
8487 return 0;
8489 _ACEOF
8490 rm -f conftest.$ac_objext conftest$ac_exeext
8491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8492 (eval $ac_link) 2>conftest.er1
8493 ac_status=$?
8494 grep -v '^ *+' conftest.er1 >conftest.err
8495 rm -f conftest.er1
8496 cat conftest.err >&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); } &&
8499 { ac_try='test -z "$ac_c_werror_flag"
8500 || test ! -s conftest.err'
8501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8502 (eval $ac_try) 2>&5
8503 ac_status=$?
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); }; } &&
8506 { ac_try='test -s conftest$ac_exeext'
8507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508 (eval $ac_try) 2>&5
8509 ac_status=$?
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); }; }; then
8512 eval "$as_ac_var=yes"
8513 else
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.$ac_ext >&5
8517 eval "$as_ac_var=no"
8519 rm -f conftest.err conftest.$ac_objext \
8520 conftest$ac_exeext conftest.$ac_ext
8522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8524 if test `eval echo '${'$as_ac_var'}'` = yes; then
8525 cat >>confdefs.h <<_ACEOF
8526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8527 _ACEOF
8530 done
8532 else
8534 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8535 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8536 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8537 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8538 echo $ECHO_N "(cached) $ECHO_C" >&6
8539 else
8543 ac_ext=cc
8544 ac_cpp='$CXXCPP $CPPFLAGS'
8545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8549 cat >conftest.$ac_ext <<_ACEOF
8550 /* confdefs.h. */
8551 _ACEOF
8552 cat confdefs.h >>conftest.$ac_ext
8553 cat >>conftest.$ac_ext <<_ACEOF
8554 /* end confdefs.h. */
8555 #include <math.h>
8556 #ifdef HAVE_IEEEFP_H
8557 #include <ieeefp.h>
8558 #endif
8561 main ()
8563 _isinf(0);
8565 return 0;
8567 _ACEOF
8568 rm -f conftest.$ac_objext
8569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8570 (eval $ac_compile) 2>conftest.er1
8571 ac_status=$?
8572 grep -v '^ *+' conftest.er1 >conftest.err
8573 rm -f conftest.er1
8574 cat conftest.err >&5
8575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576 (exit $ac_status); } &&
8577 { ac_try='test -z "$ac_cxx_werror_flag"
8578 || test ! -s conftest.err'
8579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8580 (eval $ac_try) 2>&5
8581 ac_status=$?
8582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583 (exit $ac_status); }; } &&
8584 { ac_try='test -s conftest.$ac_objext'
8585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8586 (eval $ac_try) 2>&5
8587 ac_status=$?
8588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589 (exit $ac_status); }; }; then
8590 glibcxx_cv_func__isinf_use=yes
8591 else
8592 echo "$as_me: failed program was:" >&5
8593 sed 's/^/| /' conftest.$ac_ext >&5
8595 glibcxx_cv_func__isinf_use=no
8597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8598 ac_ext=c
8599 ac_cpp='$CPP $CPPFLAGS'
8600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8608 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8609 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8611 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8613 for ac_func in _isinf
8615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8616 echo "$as_me:$LINENO: checking for $ac_func" >&5
8617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8618 if eval "test \"\${$as_ac_var+set}\" = set"; then
8619 echo $ECHO_N "(cached) $ECHO_C" >&6
8620 else
8621 if test x$gcc_no_link = xyes; then
8622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8624 { (exit 1); exit 1; }; }
8626 cat >conftest.$ac_ext <<_ACEOF
8627 /* confdefs.h. */
8628 _ACEOF
8629 cat confdefs.h >>conftest.$ac_ext
8630 cat >>conftest.$ac_ext <<_ACEOF
8631 /* end confdefs.h. */
8632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8634 #define $ac_func innocuous_$ac_func
8636 /* System header to define __stub macros and hopefully few prototypes,
8637 which can conflict with char $ac_func (); below.
8638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8639 <limits.h> exists even on freestanding compilers. */
8641 #ifdef __STDC__
8642 # include <limits.h>
8643 #else
8644 # include <assert.h>
8645 #endif
8647 #undef $ac_func
8649 /* Override any gcc2 internal prototype to avoid an error. */
8650 #ifdef __cplusplus
8651 extern "C"
8653 #endif
8654 /* We use char because int might match the return type of a gcc2
8655 builtin and then its argument prototype would still apply. */
8656 char $ac_func ();
8657 /* The GNU C library defines this for functions which it implements
8658 to always fail with ENOSYS. Some functions are actually named
8659 something starting with __ and the normal name is an alias. */
8660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8661 choke me
8662 #else
8663 char (*f) () = $ac_func;
8664 #endif
8665 #ifdef __cplusplus
8667 #endif
8670 main ()
8672 return f != $ac_func;
8674 return 0;
8676 _ACEOF
8677 rm -f conftest.$ac_objext conftest$ac_exeext
8678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8679 (eval $ac_link) 2>conftest.er1
8680 ac_status=$?
8681 grep -v '^ *+' conftest.er1 >conftest.err
8682 rm -f conftest.er1
8683 cat conftest.err >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); } &&
8686 { ac_try='test -z "$ac_c_werror_flag"
8687 || test ! -s conftest.err'
8688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8689 (eval $ac_try) 2>&5
8690 ac_status=$?
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; } &&
8693 { ac_try='test -s conftest$ac_exeext'
8694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8695 (eval $ac_try) 2>&5
8696 ac_status=$?
8697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698 (exit $ac_status); }; }; then
8699 eval "$as_ac_var=yes"
8700 else
8701 echo "$as_me: failed program was:" >&5
8702 sed 's/^/| /' conftest.$ac_ext >&5
8704 eval "$as_ac_var=no"
8706 rm -f conftest.err conftest.$ac_objext \
8707 conftest$ac_exeext conftest.$ac_ext
8709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8711 if test `eval echo '${'$as_ac_var'}'` = yes; then
8712 cat >>confdefs.h <<_ACEOF
8713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8714 _ACEOF
8717 done
8724 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8725 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8726 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8727 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8728 echo $ECHO_N "(cached) $ECHO_C" >&6
8729 else
8733 ac_ext=cc
8734 ac_cpp='$CXXCPP $CPPFLAGS'
8735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8739 cat >conftest.$ac_ext <<_ACEOF
8740 /* confdefs.h. */
8741 _ACEOF
8742 cat confdefs.h >>conftest.$ac_ext
8743 cat >>conftest.$ac_ext <<_ACEOF
8744 /* end confdefs.h. */
8745 #include <math.h>
8746 #ifdef HAVE_IEEEFP_H
8747 #include <ieeefp.h>
8748 #endif
8751 main ()
8753 isnan(0);
8755 return 0;
8757 _ACEOF
8758 rm -f conftest.$ac_objext
8759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8760 (eval $ac_compile) 2>conftest.er1
8761 ac_status=$?
8762 grep -v '^ *+' conftest.er1 >conftest.err
8763 rm -f conftest.er1
8764 cat conftest.err >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); } &&
8767 { ac_try='test -z "$ac_cxx_werror_flag"
8768 || test ! -s conftest.err'
8769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8770 (eval $ac_try) 2>&5
8771 ac_status=$?
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); }; } &&
8774 { ac_try='test -s conftest.$ac_objext'
8775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8776 (eval $ac_try) 2>&5
8777 ac_status=$?
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); }; }; then
8780 glibcxx_cv_func_isnan_use=yes
8781 else
8782 echo "$as_me: failed program was:" >&5
8783 sed 's/^/| /' conftest.$ac_ext >&5
8785 glibcxx_cv_func_isnan_use=no
8787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8788 ac_ext=c
8789 ac_cpp='$CPP $CPPFLAGS'
8790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8798 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8799 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8801 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8803 for ac_func in isnan
8805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8806 echo "$as_me:$LINENO: checking for $ac_func" >&5
8807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8808 if eval "test \"\${$as_ac_var+set}\" = set"; then
8809 echo $ECHO_N "(cached) $ECHO_C" >&6
8810 else
8811 if test x$gcc_no_link = xyes; then
8812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8814 { (exit 1); exit 1; }; }
8816 cat >conftest.$ac_ext <<_ACEOF
8817 /* confdefs.h. */
8818 _ACEOF
8819 cat confdefs.h >>conftest.$ac_ext
8820 cat >>conftest.$ac_ext <<_ACEOF
8821 /* end confdefs.h. */
8822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8824 #define $ac_func innocuous_$ac_func
8826 /* System header to define __stub macros and hopefully few prototypes,
8827 which can conflict with char $ac_func (); below.
8828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8829 <limits.h> exists even on freestanding compilers. */
8831 #ifdef __STDC__
8832 # include <limits.h>
8833 #else
8834 # include <assert.h>
8835 #endif
8837 #undef $ac_func
8839 /* Override any gcc2 internal prototype to avoid an error. */
8840 #ifdef __cplusplus
8841 extern "C"
8843 #endif
8844 /* We use char because int might match the return type of a gcc2
8845 builtin and then its argument prototype would still apply. */
8846 char $ac_func ();
8847 /* The GNU C library defines this for functions which it implements
8848 to always fail with ENOSYS. Some functions are actually named
8849 something starting with __ and the normal name is an alias. */
8850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8851 choke me
8852 #else
8853 char (*f) () = $ac_func;
8854 #endif
8855 #ifdef __cplusplus
8857 #endif
8860 main ()
8862 return f != $ac_func;
8864 return 0;
8866 _ACEOF
8867 rm -f conftest.$ac_objext conftest$ac_exeext
8868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8869 (eval $ac_link) 2>conftest.er1
8870 ac_status=$?
8871 grep -v '^ *+' conftest.er1 >conftest.err
8872 rm -f conftest.er1
8873 cat conftest.err >&5
8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 (exit $ac_status); } &&
8876 { ac_try='test -z "$ac_c_werror_flag"
8877 || test ! -s conftest.err'
8878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8879 (eval $ac_try) 2>&5
8880 ac_status=$?
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); }; } &&
8883 { ac_try='test -s conftest$ac_exeext'
8884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8885 (eval $ac_try) 2>&5
8886 ac_status=$?
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); }; }; then
8889 eval "$as_ac_var=yes"
8890 else
8891 echo "$as_me: failed program was:" >&5
8892 sed 's/^/| /' conftest.$ac_ext >&5
8894 eval "$as_ac_var=no"
8896 rm -f conftest.err conftest.$ac_objext \
8897 conftest$ac_exeext conftest.$ac_ext
8899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8901 if test `eval echo '${'$as_ac_var'}'` = yes; then
8902 cat >>confdefs.h <<_ACEOF
8903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8904 _ACEOF
8907 done
8909 else
8911 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8912 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8913 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8914 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8915 echo $ECHO_N "(cached) $ECHO_C" >&6
8916 else
8920 ac_ext=cc
8921 ac_cpp='$CXXCPP $CPPFLAGS'
8922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8926 cat >conftest.$ac_ext <<_ACEOF
8927 /* confdefs.h. */
8928 _ACEOF
8929 cat confdefs.h >>conftest.$ac_ext
8930 cat >>conftest.$ac_ext <<_ACEOF
8931 /* end confdefs.h. */
8932 #include <math.h>
8933 #ifdef HAVE_IEEEFP_H
8934 #include <ieeefp.h>
8935 #endif
8938 main ()
8940 _isnan(0);
8942 return 0;
8944 _ACEOF
8945 rm -f conftest.$ac_objext
8946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8947 (eval $ac_compile) 2>conftest.er1
8948 ac_status=$?
8949 grep -v '^ *+' conftest.er1 >conftest.err
8950 rm -f conftest.er1
8951 cat conftest.err >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); } &&
8954 { ac_try='test -z "$ac_cxx_werror_flag"
8955 || test ! -s conftest.err'
8956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8957 (eval $ac_try) 2>&5
8958 ac_status=$?
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); }; } &&
8961 { ac_try='test -s conftest.$ac_objext'
8962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8963 (eval $ac_try) 2>&5
8964 ac_status=$?
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); }; }; then
8967 glibcxx_cv_func__isnan_use=yes
8968 else
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8972 glibcxx_cv_func__isnan_use=no
8974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8975 ac_ext=c
8976 ac_cpp='$CPP $CPPFLAGS'
8977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8985 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8986 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8988 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8990 for ac_func in _isnan
8992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8993 echo "$as_me:$LINENO: checking for $ac_func" >&5
8994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8995 if eval "test \"\${$as_ac_var+set}\" = set"; then
8996 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 else
8998 if test x$gcc_no_link = xyes; then
8999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9001 { (exit 1); exit 1; }; }
9003 cat >conftest.$ac_ext <<_ACEOF
9004 /* confdefs.h. */
9005 _ACEOF
9006 cat confdefs.h >>conftest.$ac_ext
9007 cat >>conftest.$ac_ext <<_ACEOF
9008 /* end confdefs.h. */
9009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9011 #define $ac_func innocuous_$ac_func
9013 /* System header to define __stub macros and hopefully few prototypes,
9014 which can conflict with char $ac_func (); below.
9015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9016 <limits.h> exists even on freestanding compilers. */
9018 #ifdef __STDC__
9019 # include <limits.h>
9020 #else
9021 # include <assert.h>
9022 #endif
9024 #undef $ac_func
9026 /* Override any gcc2 internal prototype to avoid an error. */
9027 #ifdef __cplusplus
9028 extern "C"
9030 #endif
9031 /* We use char because int might match the return type of a gcc2
9032 builtin and then its argument prototype would still apply. */
9033 char $ac_func ();
9034 /* The GNU C library defines this for functions which it implements
9035 to always fail with ENOSYS. Some functions are actually named
9036 something starting with __ and the normal name is an alias. */
9037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9038 choke me
9039 #else
9040 char (*f) () = $ac_func;
9041 #endif
9042 #ifdef __cplusplus
9044 #endif
9047 main ()
9049 return f != $ac_func;
9051 return 0;
9053 _ACEOF
9054 rm -f conftest.$ac_objext conftest$ac_exeext
9055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9056 (eval $ac_link) 2>conftest.er1
9057 ac_status=$?
9058 grep -v '^ *+' conftest.er1 >conftest.err
9059 rm -f conftest.er1
9060 cat conftest.err >&5
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); } &&
9063 { ac_try='test -z "$ac_c_werror_flag"
9064 || test ! -s conftest.err'
9065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9066 (eval $ac_try) 2>&5
9067 ac_status=$?
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); }; } &&
9070 { ac_try='test -s conftest$ac_exeext'
9071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9072 (eval $ac_try) 2>&5
9073 ac_status=$?
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); }; }; then
9076 eval "$as_ac_var=yes"
9077 else
9078 echo "$as_me: failed program was:" >&5
9079 sed 's/^/| /' conftest.$ac_ext >&5
9081 eval "$as_ac_var=no"
9083 rm -f conftest.err conftest.$ac_objext \
9084 conftest$ac_exeext conftest.$ac_ext
9086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9088 if test `eval echo '${'$as_ac_var'}'` = yes; then
9089 cat >>confdefs.h <<_ACEOF
9090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9091 _ACEOF
9094 done
9101 echo "$as_me:$LINENO: checking for finite declaration" >&5
9102 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9103 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9104 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9105 echo $ECHO_N "(cached) $ECHO_C" >&6
9106 else
9110 ac_ext=cc
9111 ac_cpp='$CXXCPP $CPPFLAGS'
9112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9116 cat >conftest.$ac_ext <<_ACEOF
9117 /* confdefs.h. */
9118 _ACEOF
9119 cat confdefs.h >>conftest.$ac_ext
9120 cat >>conftest.$ac_ext <<_ACEOF
9121 /* end confdefs.h. */
9122 #include <math.h>
9123 #ifdef HAVE_IEEEFP_H
9124 #include <ieeefp.h>
9125 #endif
9128 main ()
9130 finite(0);
9132 return 0;
9134 _ACEOF
9135 rm -f conftest.$ac_objext
9136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9137 (eval $ac_compile) 2>conftest.er1
9138 ac_status=$?
9139 grep -v '^ *+' conftest.er1 >conftest.err
9140 rm -f conftest.er1
9141 cat conftest.err >&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); } &&
9144 { ac_try='test -z "$ac_cxx_werror_flag"
9145 || test ! -s conftest.err'
9146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9147 (eval $ac_try) 2>&5
9148 ac_status=$?
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); }; } &&
9151 { ac_try='test -s conftest.$ac_objext'
9152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9153 (eval $ac_try) 2>&5
9154 ac_status=$?
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 (exit $ac_status); }; }; then
9157 glibcxx_cv_func_finite_use=yes
9158 else
9159 echo "$as_me: failed program was:" >&5
9160 sed 's/^/| /' conftest.$ac_ext >&5
9162 glibcxx_cv_func_finite_use=no
9164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9165 ac_ext=c
9166 ac_cpp='$CPP $CPPFLAGS'
9167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9175 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9176 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9178 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9180 for ac_func in finite
9182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9183 echo "$as_me:$LINENO: checking for $ac_func" >&5
9184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9185 if eval "test \"\${$as_ac_var+set}\" = set"; then
9186 echo $ECHO_N "(cached) $ECHO_C" >&6
9187 else
9188 if test x$gcc_no_link = xyes; then
9189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9191 { (exit 1); exit 1; }; }
9193 cat >conftest.$ac_ext <<_ACEOF
9194 /* confdefs.h. */
9195 _ACEOF
9196 cat confdefs.h >>conftest.$ac_ext
9197 cat >>conftest.$ac_ext <<_ACEOF
9198 /* end confdefs.h. */
9199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9201 #define $ac_func innocuous_$ac_func
9203 /* System header to define __stub macros and hopefully few prototypes,
9204 which can conflict with char $ac_func (); below.
9205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9206 <limits.h> exists even on freestanding compilers. */
9208 #ifdef __STDC__
9209 # include <limits.h>
9210 #else
9211 # include <assert.h>
9212 #endif
9214 #undef $ac_func
9216 /* Override any gcc2 internal prototype to avoid an error. */
9217 #ifdef __cplusplus
9218 extern "C"
9220 #endif
9221 /* We use char because int might match the return type of a gcc2
9222 builtin and then its argument prototype would still apply. */
9223 char $ac_func ();
9224 /* The GNU C library defines this for functions which it implements
9225 to always fail with ENOSYS. Some functions are actually named
9226 something starting with __ and the normal name is an alias. */
9227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9228 choke me
9229 #else
9230 char (*f) () = $ac_func;
9231 #endif
9232 #ifdef __cplusplus
9234 #endif
9237 main ()
9239 return f != $ac_func;
9241 return 0;
9243 _ACEOF
9244 rm -f conftest.$ac_objext conftest$ac_exeext
9245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9246 (eval $ac_link) 2>conftest.er1
9247 ac_status=$?
9248 grep -v '^ *+' conftest.er1 >conftest.err
9249 rm -f conftest.er1
9250 cat conftest.err >&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } &&
9253 { ac_try='test -z "$ac_c_werror_flag"
9254 || test ! -s conftest.err'
9255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9256 (eval $ac_try) 2>&5
9257 ac_status=$?
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); }; } &&
9260 { ac_try='test -s conftest$ac_exeext'
9261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9262 (eval $ac_try) 2>&5
9263 ac_status=$?
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); }; }; then
9266 eval "$as_ac_var=yes"
9267 else
9268 echo "$as_me: failed program was:" >&5
9269 sed 's/^/| /' conftest.$ac_ext >&5
9271 eval "$as_ac_var=no"
9273 rm -f conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9278 if test `eval echo '${'$as_ac_var'}'` = yes; then
9279 cat >>confdefs.h <<_ACEOF
9280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9281 _ACEOF
9284 done
9286 else
9288 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9289 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9290 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9291 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9292 echo $ECHO_N "(cached) $ECHO_C" >&6
9293 else
9297 ac_ext=cc
9298 ac_cpp='$CXXCPP $CPPFLAGS'
9299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9303 cat >conftest.$ac_ext <<_ACEOF
9304 /* confdefs.h. */
9305 _ACEOF
9306 cat confdefs.h >>conftest.$ac_ext
9307 cat >>conftest.$ac_ext <<_ACEOF
9308 /* end confdefs.h. */
9309 #include <math.h>
9310 #ifdef HAVE_IEEEFP_H
9311 #include <ieeefp.h>
9312 #endif
9315 main ()
9317 _finite(0);
9319 return 0;
9321 _ACEOF
9322 rm -f conftest.$ac_objext
9323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9324 (eval $ac_compile) 2>conftest.er1
9325 ac_status=$?
9326 grep -v '^ *+' conftest.er1 >conftest.err
9327 rm -f conftest.er1
9328 cat conftest.err >&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); } &&
9331 { ac_try='test -z "$ac_cxx_werror_flag"
9332 || test ! -s conftest.err'
9333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 (eval $ac_try) 2>&5
9335 ac_status=$?
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); }; } &&
9338 { ac_try='test -s conftest.$ac_objext'
9339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9340 (eval $ac_try) 2>&5
9341 ac_status=$?
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); }; }; then
9344 glibcxx_cv_func__finite_use=yes
9345 else
9346 echo "$as_me: failed program was:" >&5
9347 sed 's/^/| /' conftest.$ac_ext >&5
9349 glibcxx_cv_func__finite_use=no
9351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9352 ac_ext=c
9353 ac_cpp='$CPP $CPPFLAGS'
9354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9362 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9363 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9365 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9367 for ac_func in _finite
9369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9370 echo "$as_me:$LINENO: checking for $ac_func" >&5
9371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9372 if eval "test \"\${$as_ac_var+set}\" = set"; then
9373 echo $ECHO_N "(cached) $ECHO_C" >&6
9374 else
9375 if test x$gcc_no_link = xyes; then
9376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9378 { (exit 1); exit 1; }; }
9380 cat >conftest.$ac_ext <<_ACEOF
9381 /* confdefs.h. */
9382 _ACEOF
9383 cat confdefs.h >>conftest.$ac_ext
9384 cat >>conftest.$ac_ext <<_ACEOF
9385 /* end confdefs.h. */
9386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9388 #define $ac_func innocuous_$ac_func
9390 /* System header to define __stub macros and hopefully few prototypes,
9391 which can conflict with char $ac_func (); below.
9392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9393 <limits.h> exists even on freestanding compilers. */
9395 #ifdef __STDC__
9396 # include <limits.h>
9397 #else
9398 # include <assert.h>
9399 #endif
9401 #undef $ac_func
9403 /* Override any gcc2 internal prototype to avoid an error. */
9404 #ifdef __cplusplus
9405 extern "C"
9407 #endif
9408 /* We use char because int might match the return type of a gcc2
9409 builtin and then its argument prototype would still apply. */
9410 char $ac_func ();
9411 /* The GNU C library defines this for functions which it implements
9412 to always fail with ENOSYS. Some functions are actually named
9413 something starting with __ and the normal name is an alias. */
9414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9415 choke me
9416 #else
9417 char (*f) () = $ac_func;
9418 #endif
9419 #ifdef __cplusplus
9421 #endif
9424 main ()
9426 return f != $ac_func;
9428 return 0;
9430 _ACEOF
9431 rm -f conftest.$ac_objext conftest$ac_exeext
9432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9433 (eval $ac_link) 2>conftest.er1
9434 ac_status=$?
9435 grep -v '^ *+' conftest.er1 >conftest.err
9436 rm -f conftest.er1
9437 cat conftest.err >&5
9438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439 (exit $ac_status); } &&
9440 { ac_try='test -z "$ac_c_werror_flag"
9441 || test ! -s conftest.err'
9442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 (eval $ac_try) 2>&5
9444 ac_status=$?
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); }; } &&
9447 { ac_try='test -s conftest$ac_exeext'
9448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9449 (eval $ac_try) 2>&5
9450 ac_status=$?
9451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9452 (exit $ac_status); }; }; then
9453 eval "$as_ac_var=yes"
9454 else
9455 echo "$as_me: failed program was:" >&5
9456 sed 's/^/| /' conftest.$ac_ext >&5
9458 eval "$as_ac_var=no"
9460 rm -f conftest.err conftest.$ac_objext \
9461 conftest$ac_exeext conftest.$ac_ext
9463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9465 if test `eval echo '${'$as_ac_var'}'` = yes; then
9466 cat >>confdefs.h <<_ACEOF
9467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9468 _ACEOF
9471 done
9478 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9479 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9480 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9481 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9482 echo $ECHO_N "(cached) $ECHO_C" >&6
9483 else
9487 ac_ext=cc
9488 ac_cpp='$CXXCPP $CPPFLAGS'
9489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9493 cat >conftest.$ac_ext <<_ACEOF
9494 /* confdefs.h. */
9495 _ACEOF
9496 cat confdefs.h >>conftest.$ac_ext
9497 cat >>conftest.$ac_ext <<_ACEOF
9498 /* end confdefs.h. */
9499 #include <math.h>
9501 main ()
9503 copysign(0, 0);
9505 return 0;
9507 _ACEOF
9508 rm -f conftest.$ac_objext
9509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9510 (eval $ac_compile) 2>conftest.er1
9511 ac_status=$?
9512 grep -v '^ *+' conftest.er1 >conftest.err
9513 rm -f conftest.er1
9514 cat conftest.err >&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); } &&
9517 { ac_try='test -z "$ac_cxx_werror_flag"
9518 || test ! -s conftest.err'
9519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9520 (eval $ac_try) 2>&5
9521 ac_status=$?
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); }; } &&
9524 { ac_try='test -s conftest.$ac_objext'
9525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9526 (eval $ac_try) 2>&5
9527 ac_status=$?
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); }; }; then
9530 glibcxx_cv_func_copysign_use=yes
9531 else
9532 echo "$as_me: failed program was:" >&5
9533 sed 's/^/| /' conftest.$ac_ext >&5
9535 glibcxx_cv_func_copysign_use=no
9537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9538 ac_ext=c
9539 ac_cpp='$CPP $CPPFLAGS'
9540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9548 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9549 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9551 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9553 for ac_func in copysign
9555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9556 echo "$as_me:$LINENO: checking for $ac_func" >&5
9557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9558 if eval "test \"\${$as_ac_var+set}\" = set"; then
9559 echo $ECHO_N "(cached) $ECHO_C" >&6
9560 else
9561 if test x$gcc_no_link = xyes; then
9562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9564 { (exit 1); exit 1; }; }
9566 cat >conftest.$ac_ext <<_ACEOF
9567 /* confdefs.h. */
9568 _ACEOF
9569 cat confdefs.h >>conftest.$ac_ext
9570 cat >>conftest.$ac_ext <<_ACEOF
9571 /* end confdefs.h. */
9572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9574 #define $ac_func innocuous_$ac_func
9576 /* System header to define __stub macros and hopefully few prototypes,
9577 which can conflict with char $ac_func (); below.
9578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9579 <limits.h> exists even on freestanding compilers. */
9581 #ifdef __STDC__
9582 # include <limits.h>
9583 #else
9584 # include <assert.h>
9585 #endif
9587 #undef $ac_func
9589 /* Override any gcc2 internal prototype to avoid an error. */
9590 #ifdef __cplusplus
9591 extern "C"
9593 #endif
9594 /* We use char because int might match the return type of a gcc2
9595 builtin and then its argument prototype would still apply. */
9596 char $ac_func ();
9597 /* The GNU C library defines this for functions which it implements
9598 to always fail with ENOSYS. Some functions are actually named
9599 something starting with __ and the normal name is an alias. */
9600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9601 choke me
9602 #else
9603 char (*f) () = $ac_func;
9604 #endif
9605 #ifdef __cplusplus
9607 #endif
9610 main ()
9612 return f != $ac_func;
9614 return 0;
9616 _ACEOF
9617 rm -f conftest.$ac_objext conftest$ac_exeext
9618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9619 (eval $ac_link) 2>conftest.er1
9620 ac_status=$?
9621 grep -v '^ *+' conftest.er1 >conftest.err
9622 rm -f conftest.er1
9623 cat conftest.err >&5
9624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625 (exit $ac_status); } &&
9626 { ac_try='test -z "$ac_c_werror_flag"
9627 || test ! -s conftest.err'
9628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9629 (eval $ac_try) 2>&5
9630 ac_status=$?
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); }; } &&
9633 { ac_try='test -s conftest$ac_exeext'
9634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9635 (eval $ac_try) 2>&5
9636 ac_status=$?
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); }; }; then
9639 eval "$as_ac_var=yes"
9640 else
9641 echo "$as_me: failed program was:" >&5
9642 sed 's/^/| /' conftest.$ac_ext >&5
9644 eval "$as_ac_var=no"
9646 rm -f conftest.err conftest.$ac_objext \
9647 conftest$ac_exeext conftest.$ac_ext
9649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9651 if test `eval echo '${'$as_ac_var'}'` = yes; then
9652 cat >>confdefs.h <<_ACEOF
9653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9654 _ACEOF
9657 done
9659 else
9661 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9662 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9663 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9664 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9665 echo $ECHO_N "(cached) $ECHO_C" >&6
9666 else
9670 ac_ext=cc
9671 ac_cpp='$CXXCPP $CPPFLAGS'
9672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9676 cat >conftest.$ac_ext <<_ACEOF
9677 /* confdefs.h. */
9678 _ACEOF
9679 cat confdefs.h >>conftest.$ac_ext
9680 cat >>conftest.$ac_ext <<_ACEOF
9681 /* end confdefs.h. */
9682 #include <math.h>
9684 main ()
9686 _copysign(0, 0);
9688 return 0;
9690 _ACEOF
9691 rm -f conftest.$ac_objext
9692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9693 (eval $ac_compile) 2>conftest.er1
9694 ac_status=$?
9695 grep -v '^ *+' conftest.er1 >conftest.err
9696 rm -f conftest.er1
9697 cat conftest.err >&5
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 (exit $ac_status); } &&
9700 { ac_try='test -z "$ac_cxx_werror_flag"
9701 || test ! -s conftest.err'
9702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9703 (eval $ac_try) 2>&5
9704 ac_status=$?
9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); }; } &&
9707 { ac_try='test -s conftest.$ac_objext'
9708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9709 (eval $ac_try) 2>&5
9710 ac_status=$?
9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712 (exit $ac_status); }; }; then
9713 glibcxx_cv_func__copysign_use=yes
9714 else
9715 echo "$as_me: failed program was:" >&5
9716 sed 's/^/| /' conftest.$ac_ext >&5
9718 glibcxx_cv_func__copysign_use=no
9720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9721 ac_ext=c
9722 ac_cpp='$CPP $CPPFLAGS'
9723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9732 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9734 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9736 for ac_func in _copysign
9738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9739 echo "$as_me:$LINENO: checking for $ac_func" >&5
9740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9741 if eval "test \"\${$as_ac_var+set}\" = set"; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 else
9744 if test x$gcc_no_link = xyes; then
9745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9747 { (exit 1); exit 1; }; }
9749 cat >conftest.$ac_ext <<_ACEOF
9750 /* confdefs.h. */
9751 _ACEOF
9752 cat confdefs.h >>conftest.$ac_ext
9753 cat >>conftest.$ac_ext <<_ACEOF
9754 /* end confdefs.h. */
9755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9757 #define $ac_func innocuous_$ac_func
9759 /* System header to define __stub macros and hopefully few prototypes,
9760 which can conflict with char $ac_func (); below.
9761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9762 <limits.h> exists even on freestanding compilers. */
9764 #ifdef __STDC__
9765 # include <limits.h>
9766 #else
9767 # include <assert.h>
9768 #endif
9770 #undef $ac_func
9772 /* Override any gcc2 internal prototype to avoid an error. */
9773 #ifdef __cplusplus
9774 extern "C"
9776 #endif
9777 /* We use char because int might match the return type of a gcc2
9778 builtin and then its argument prototype would still apply. */
9779 char $ac_func ();
9780 /* The GNU C library defines this for functions which it implements
9781 to always fail with ENOSYS. Some functions are actually named
9782 something starting with __ and the normal name is an alias. */
9783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9784 choke me
9785 #else
9786 char (*f) () = $ac_func;
9787 #endif
9788 #ifdef __cplusplus
9790 #endif
9793 main ()
9795 return f != $ac_func;
9797 return 0;
9799 _ACEOF
9800 rm -f conftest.$ac_objext conftest$ac_exeext
9801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9802 (eval $ac_link) 2>conftest.er1
9803 ac_status=$?
9804 grep -v '^ *+' conftest.er1 >conftest.err
9805 rm -f conftest.er1
9806 cat conftest.err >&5
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 (exit $ac_status); } &&
9809 { ac_try='test -z "$ac_c_werror_flag"
9810 || test ! -s conftest.err'
9811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9812 (eval $ac_try) 2>&5
9813 ac_status=$?
9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 (exit $ac_status); }; } &&
9816 { ac_try='test -s conftest$ac_exeext'
9817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9818 (eval $ac_try) 2>&5
9819 ac_status=$?
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); }; }; then
9822 eval "$as_ac_var=yes"
9823 else
9824 echo "$as_me: failed program was:" >&5
9825 sed 's/^/| /' conftest.$ac_ext >&5
9827 eval "$as_ac_var=no"
9829 rm -f conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9834 if test `eval echo '${'$as_ac_var'}'` = yes; then
9835 cat >>confdefs.h <<_ACEOF
9836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9837 _ACEOF
9840 done
9847 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9848 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9849 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9850 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9851 echo $ECHO_N "(cached) $ECHO_C" >&6
9852 else
9856 ac_ext=cc
9857 ac_cpp='$CXXCPP $CPPFLAGS'
9858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9862 cat >conftest.$ac_ext <<_ACEOF
9863 /* confdefs.h. */
9864 _ACEOF
9865 cat confdefs.h >>conftest.$ac_ext
9866 cat >>conftest.$ac_ext <<_ACEOF
9867 /* end confdefs.h. */
9868 #include <math.h>
9870 main ()
9872 sincos(0, 0, 0);
9874 return 0;
9876 _ACEOF
9877 rm -f conftest.$ac_objext
9878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9879 (eval $ac_compile) 2>conftest.er1
9880 ac_status=$?
9881 grep -v '^ *+' conftest.er1 >conftest.err
9882 rm -f conftest.er1
9883 cat conftest.err >&5
9884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885 (exit $ac_status); } &&
9886 { ac_try='test -z "$ac_cxx_werror_flag"
9887 || test ! -s conftest.err'
9888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9889 (eval $ac_try) 2>&5
9890 ac_status=$?
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); }; } &&
9893 { ac_try='test -s conftest.$ac_objext'
9894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9895 (eval $ac_try) 2>&5
9896 ac_status=$?
9897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9898 (exit $ac_status); }; }; then
9899 glibcxx_cv_func_sincos_use=yes
9900 else
9901 echo "$as_me: failed program was:" >&5
9902 sed 's/^/| /' conftest.$ac_ext >&5
9904 glibcxx_cv_func_sincos_use=no
9906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9907 ac_ext=c
9908 ac_cpp='$CPP $CPPFLAGS'
9909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9917 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9918 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9920 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9922 for ac_func in sincos
9924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9925 echo "$as_me:$LINENO: checking for $ac_func" >&5
9926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9927 if eval "test \"\${$as_ac_var+set}\" = set"; then
9928 echo $ECHO_N "(cached) $ECHO_C" >&6
9929 else
9930 if test x$gcc_no_link = xyes; then
9931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9933 { (exit 1); exit 1; }; }
9935 cat >conftest.$ac_ext <<_ACEOF
9936 /* confdefs.h. */
9937 _ACEOF
9938 cat confdefs.h >>conftest.$ac_ext
9939 cat >>conftest.$ac_ext <<_ACEOF
9940 /* end confdefs.h. */
9941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9943 #define $ac_func innocuous_$ac_func
9945 /* System header to define __stub macros and hopefully few prototypes,
9946 which can conflict with char $ac_func (); below.
9947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9948 <limits.h> exists even on freestanding compilers. */
9950 #ifdef __STDC__
9951 # include <limits.h>
9952 #else
9953 # include <assert.h>
9954 #endif
9956 #undef $ac_func
9958 /* Override any gcc2 internal prototype to avoid an error. */
9959 #ifdef __cplusplus
9960 extern "C"
9962 #endif
9963 /* We use char because int might match the return type of a gcc2
9964 builtin and then its argument prototype would still apply. */
9965 char $ac_func ();
9966 /* The GNU C library defines this for functions which it implements
9967 to always fail with ENOSYS. Some functions are actually named
9968 something starting with __ and the normal name is an alias. */
9969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9970 choke me
9971 #else
9972 char (*f) () = $ac_func;
9973 #endif
9974 #ifdef __cplusplus
9976 #endif
9979 main ()
9981 return f != $ac_func;
9983 return 0;
9985 _ACEOF
9986 rm -f conftest.$ac_objext conftest$ac_exeext
9987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9988 (eval $ac_link) 2>conftest.er1
9989 ac_status=$?
9990 grep -v '^ *+' conftest.er1 >conftest.err
9991 rm -f conftest.er1
9992 cat conftest.err >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); } &&
9995 { ac_try='test -z "$ac_c_werror_flag"
9996 || test ! -s conftest.err'
9997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9998 (eval $ac_try) 2>&5
9999 ac_status=$?
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); }; } &&
10002 { ac_try='test -s conftest$ac_exeext'
10003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10004 (eval $ac_try) 2>&5
10005 ac_status=$?
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); }; }; then
10008 eval "$as_ac_var=yes"
10009 else
10010 echo "$as_me: failed program was:" >&5
10011 sed 's/^/| /' conftest.$ac_ext >&5
10013 eval "$as_ac_var=no"
10015 rm -f conftest.err conftest.$ac_objext \
10016 conftest$ac_exeext conftest.$ac_ext
10018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10020 if test `eval echo '${'$as_ac_var'}'` = yes; then
10021 cat >>confdefs.h <<_ACEOF
10022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10023 _ACEOF
10026 done
10028 else
10030 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10031 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10032 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10033 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10034 echo $ECHO_N "(cached) $ECHO_C" >&6
10035 else
10039 ac_ext=cc
10040 ac_cpp='$CXXCPP $CPPFLAGS'
10041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10045 cat >conftest.$ac_ext <<_ACEOF
10046 /* confdefs.h. */
10047 _ACEOF
10048 cat confdefs.h >>conftest.$ac_ext
10049 cat >>conftest.$ac_ext <<_ACEOF
10050 /* end confdefs.h. */
10051 #include <math.h>
10053 main ()
10055 _sincos(0, 0, 0);
10057 return 0;
10059 _ACEOF
10060 rm -f conftest.$ac_objext
10061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10062 (eval $ac_compile) 2>conftest.er1
10063 ac_status=$?
10064 grep -v '^ *+' conftest.er1 >conftest.err
10065 rm -f conftest.er1
10066 cat conftest.err >&5
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); } &&
10069 { ac_try='test -z "$ac_cxx_werror_flag"
10070 || test ! -s conftest.err'
10071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10072 (eval $ac_try) 2>&5
10073 ac_status=$?
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); }; } &&
10076 { ac_try='test -s conftest.$ac_objext'
10077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10078 (eval $ac_try) 2>&5
10079 ac_status=$?
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); }; }; then
10082 glibcxx_cv_func__sincos_use=yes
10083 else
10084 echo "$as_me: failed program was:" >&5
10085 sed 's/^/| /' conftest.$ac_ext >&5
10087 glibcxx_cv_func__sincos_use=no
10089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10090 ac_ext=c
10091 ac_cpp='$CPP $CPPFLAGS'
10092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10100 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10101 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10103 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10105 for ac_func in _sincos
10107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10108 echo "$as_me:$LINENO: checking for $ac_func" >&5
10109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10110 if eval "test \"\${$as_ac_var+set}\" = set"; then
10111 echo $ECHO_N "(cached) $ECHO_C" >&6
10112 else
10113 if test x$gcc_no_link = xyes; then
10114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10116 { (exit 1); exit 1; }; }
10118 cat >conftest.$ac_ext <<_ACEOF
10119 /* confdefs.h. */
10120 _ACEOF
10121 cat confdefs.h >>conftest.$ac_ext
10122 cat >>conftest.$ac_ext <<_ACEOF
10123 /* end confdefs.h. */
10124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10126 #define $ac_func innocuous_$ac_func
10128 /* System header to define __stub macros and hopefully few prototypes,
10129 which can conflict with char $ac_func (); below.
10130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10131 <limits.h> exists even on freestanding compilers. */
10133 #ifdef __STDC__
10134 # include <limits.h>
10135 #else
10136 # include <assert.h>
10137 #endif
10139 #undef $ac_func
10141 /* Override any gcc2 internal prototype to avoid an error. */
10142 #ifdef __cplusplus
10143 extern "C"
10145 #endif
10146 /* We use char because int might match the return type of a gcc2
10147 builtin and then its argument prototype would still apply. */
10148 char $ac_func ();
10149 /* The GNU C library defines this for functions which it implements
10150 to always fail with ENOSYS. Some functions are actually named
10151 something starting with __ and the normal name is an alias. */
10152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10153 choke me
10154 #else
10155 char (*f) () = $ac_func;
10156 #endif
10157 #ifdef __cplusplus
10159 #endif
10162 main ()
10164 return f != $ac_func;
10166 return 0;
10168 _ACEOF
10169 rm -f conftest.$ac_objext conftest$ac_exeext
10170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10171 (eval $ac_link) 2>conftest.er1
10172 ac_status=$?
10173 grep -v '^ *+' conftest.er1 >conftest.err
10174 rm -f conftest.er1
10175 cat conftest.err >&5
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); } &&
10178 { ac_try='test -z "$ac_c_werror_flag"
10179 || test ! -s conftest.err'
10180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10181 (eval $ac_try) 2>&5
10182 ac_status=$?
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); }; } &&
10185 { ac_try='test -s conftest$ac_exeext'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5
10188 ac_status=$?
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; }; then
10191 eval "$as_ac_var=yes"
10192 else
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.$ac_ext >&5
10196 eval "$as_ac_var=no"
10198 rm -f conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10203 if test `eval echo '${'$as_ac_var'}'` = yes; then
10204 cat >>confdefs.h <<_ACEOF
10205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10206 _ACEOF
10209 done
10216 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10217 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10218 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10219 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10220 echo $ECHO_N "(cached) $ECHO_C" >&6
10221 else
10225 ac_ext=cc
10226 ac_cpp='$CXXCPP $CPPFLAGS'
10227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10231 cat >conftest.$ac_ext <<_ACEOF
10232 /* confdefs.h. */
10233 _ACEOF
10234 cat confdefs.h >>conftest.$ac_ext
10235 cat >>conftest.$ac_ext <<_ACEOF
10236 /* end confdefs.h. */
10237 #include <math.h>
10238 #ifdef HAVE_IEEEFP_H
10239 #include <ieeefp.h>
10240 #endif
10243 main ()
10245 fpclass(0);
10247 return 0;
10249 _ACEOF
10250 rm -f conftest.$ac_objext
10251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10252 (eval $ac_compile) 2>conftest.er1
10253 ac_status=$?
10254 grep -v '^ *+' conftest.er1 >conftest.err
10255 rm -f conftest.er1
10256 cat conftest.err >&5
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); } &&
10259 { ac_try='test -z "$ac_cxx_werror_flag"
10260 || test ! -s conftest.err'
10261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10262 (eval $ac_try) 2>&5
10263 ac_status=$?
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); }; } &&
10266 { ac_try='test -s conftest.$ac_objext'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10269 ac_status=$?
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; }; then
10272 glibcxx_cv_func_fpclass_use=yes
10273 else
10274 echo "$as_me: failed program was:" >&5
10275 sed 's/^/| /' conftest.$ac_ext >&5
10277 glibcxx_cv_func_fpclass_use=no
10279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10280 ac_ext=c
10281 ac_cpp='$CPP $CPPFLAGS'
10282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10291 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10293 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10295 for ac_func in fpclass
10297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10298 echo "$as_me:$LINENO: checking for $ac_func" >&5
10299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10300 if eval "test \"\${$as_ac_var+set}\" = set"; then
10301 echo $ECHO_N "(cached) $ECHO_C" >&6
10302 else
10303 if test x$gcc_no_link = xyes; then
10304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10306 { (exit 1); exit 1; }; }
10308 cat >conftest.$ac_ext <<_ACEOF
10309 /* confdefs.h. */
10310 _ACEOF
10311 cat confdefs.h >>conftest.$ac_ext
10312 cat >>conftest.$ac_ext <<_ACEOF
10313 /* end confdefs.h. */
10314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10316 #define $ac_func innocuous_$ac_func
10318 /* System header to define __stub macros and hopefully few prototypes,
10319 which can conflict with char $ac_func (); below.
10320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10321 <limits.h> exists even on freestanding compilers. */
10323 #ifdef __STDC__
10324 # include <limits.h>
10325 #else
10326 # include <assert.h>
10327 #endif
10329 #undef $ac_func
10331 /* Override any gcc2 internal prototype to avoid an error. */
10332 #ifdef __cplusplus
10333 extern "C"
10335 #endif
10336 /* We use char because int might match the return type of a gcc2
10337 builtin and then its argument prototype would still apply. */
10338 char $ac_func ();
10339 /* The GNU C library defines this for functions which it implements
10340 to always fail with ENOSYS. Some functions are actually named
10341 something starting with __ and the normal name is an alias. */
10342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10343 choke me
10344 #else
10345 char (*f) () = $ac_func;
10346 #endif
10347 #ifdef __cplusplus
10349 #endif
10352 main ()
10354 return f != $ac_func;
10356 return 0;
10358 _ACEOF
10359 rm -f conftest.$ac_objext conftest$ac_exeext
10360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10361 (eval $ac_link) 2>conftest.er1
10362 ac_status=$?
10363 grep -v '^ *+' conftest.er1 >conftest.err
10364 rm -f conftest.er1
10365 cat conftest.err >&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); } &&
10368 { ac_try='test -z "$ac_c_werror_flag"
10369 || test ! -s conftest.err'
10370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10371 (eval $ac_try) 2>&5
10372 ac_status=$?
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); }; } &&
10375 { ac_try='test -s conftest$ac_exeext'
10376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10377 (eval $ac_try) 2>&5
10378 ac_status=$?
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; }; then
10381 eval "$as_ac_var=yes"
10382 else
10383 echo "$as_me: failed program was:" >&5
10384 sed 's/^/| /' conftest.$ac_ext >&5
10386 eval "$as_ac_var=no"
10388 rm -f conftest.err conftest.$ac_objext \
10389 conftest$ac_exeext conftest.$ac_ext
10391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10393 if test `eval echo '${'$as_ac_var'}'` = yes; then
10394 cat >>confdefs.h <<_ACEOF
10395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10396 _ACEOF
10399 done
10401 else
10403 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10404 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10405 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10406 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10407 echo $ECHO_N "(cached) $ECHO_C" >&6
10408 else
10412 ac_ext=cc
10413 ac_cpp='$CXXCPP $CPPFLAGS'
10414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10418 cat >conftest.$ac_ext <<_ACEOF
10419 /* confdefs.h. */
10420 _ACEOF
10421 cat confdefs.h >>conftest.$ac_ext
10422 cat >>conftest.$ac_ext <<_ACEOF
10423 /* end confdefs.h. */
10424 #include <math.h>
10425 #ifdef HAVE_IEEEFP_H
10426 #include <ieeefp.h>
10427 #endif
10430 main ()
10432 _fpclass(0);
10434 return 0;
10436 _ACEOF
10437 rm -f conftest.$ac_objext
10438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10439 (eval $ac_compile) 2>conftest.er1
10440 ac_status=$?
10441 grep -v '^ *+' conftest.er1 >conftest.err
10442 rm -f conftest.er1
10443 cat conftest.err >&5
10444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445 (exit $ac_status); } &&
10446 { ac_try='test -z "$ac_cxx_werror_flag"
10447 || test ! -s conftest.err'
10448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10449 (eval $ac_try) 2>&5
10450 ac_status=$?
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); }; } &&
10453 { ac_try='test -s conftest.$ac_objext'
10454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10455 (eval $ac_try) 2>&5
10456 ac_status=$?
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); }; }; then
10459 glibcxx_cv_func__fpclass_use=yes
10460 else
10461 echo "$as_me: failed program was:" >&5
10462 sed 's/^/| /' conftest.$ac_ext >&5
10464 glibcxx_cv_func__fpclass_use=no
10466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10467 ac_ext=c
10468 ac_cpp='$CPP $CPPFLAGS'
10469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10478 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10480 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10482 for ac_func in _fpclass
10484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10485 echo "$as_me:$LINENO: checking for $ac_func" >&5
10486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10487 if eval "test \"\${$as_ac_var+set}\" = set"; then
10488 echo $ECHO_N "(cached) $ECHO_C" >&6
10489 else
10490 if test x$gcc_no_link = xyes; then
10491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10493 { (exit 1); exit 1; }; }
10495 cat >conftest.$ac_ext <<_ACEOF
10496 /* confdefs.h. */
10497 _ACEOF
10498 cat confdefs.h >>conftest.$ac_ext
10499 cat >>conftest.$ac_ext <<_ACEOF
10500 /* end confdefs.h. */
10501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10503 #define $ac_func innocuous_$ac_func
10505 /* System header to define __stub macros and hopefully few prototypes,
10506 which can conflict with char $ac_func (); below.
10507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10508 <limits.h> exists even on freestanding compilers. */
10510 #ifdef __STDC__
10511 # include <limits.h>
10512 #else
10513 # include <assert.h>
10514 #endif
10516 #undef $ac_func
10518 /* Override any gcc2 internal prototype to avoid an error. */
10519 #ifdef __cplusplus
10520 extern "C"
10522 #endif
10523 /* We use char because int might match the return type of a gcc2
10524 builtin and then its argument prototype would still apply. */
10525 char $ac_func ();
10526 /* The GNU C library defines this for functions which it implements
10527 to always fail with ENOSYS. Some functions are actually named
10528 something starting with __ and the normal name is an alias. */
10529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10530 choke me
10531 #else
10532 char (*f) () = $ac_func;
10533 #endif
10534 #ifdef __cplusplus
10536 #endif
10539 main ()
10541 return f != $ac_func;
10543 return 0;
10545 _ACEOF
10546 rm -f conftest.$ac_objext conftest$ac_exeext
10547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10548 (eval $ac_link) 2>conftest.er1
10549 ac_status=$?
10550 grep -v '^ *+' conftest.er1 >conftest.err
10551 rm -f conftest.er1
10552 cat conftest.err >&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } &&
10555 { ac_try='test -z "$ac_c_werror_flag"
10556 || test ! -s conftest.err'
10557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10558 (eval $ac_try) 2>&5
10559 ac_status=$?
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); }; } &&
10562 { ac_try='test -s conftest$ac_exeext'
10563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10564 (eval $ac_try) 2>&5
10565 ac_status=$?
10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10567 (exit $ac_status); }; }; then
10568 eval "$as_ac_var=yes"
10569 else
10570 echo "$as_me: failed program was:" >&5
10571 sed 's/^/| /' conftest.$ac_ext >&5
10573 eval "$as_ac_var=no"
10575 rm -f conftest.err conftest.$ac_objext \
10576 conftest$ac_exeext conftest.$ac_ext
10578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10580 if test `eval echo '${'$as_ac_var'}'` = yes; then
10581 cat >>confdefs.h <<_ACEOF
10582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10583 _ACEOF
10586 done
10593 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10594 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10595 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10596 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10597 echo $ECHO_N "(cached) $ECHO_C" >&6
10598 else
10602 ac_ext=cc
10603 ac_cpp='$CXXCPP $CPPFLAGS'
10604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10608 cat >conftest.$ac_ext <<_ACEOF
10609 /* confdefs.h. */
10610 _ACEOF
10611 cat confdefs.h >>conftest.$ac_ext
10612 cat >>conftest.$ac_ext <<_ACEOF
10613 /* end confdefs.h. */
10614 #include <math.h>
10615 #ifdef HAVE_IEEEFP_H
10616 #include <ieeefp.h>
10617 #endif
10620 main ()
10622 qfpclass(0);
10624 return 0;
10626 _ACEOF
10627 rm -f conftest.$ac_objext
10628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10629 (eval $ac_compile) 2>conftest.er1
10630 ac_status=$?
10631 grep -v '^ *+' conftest.er1 >conftest.err
10632 rm -f conftest.er1
10633 cat conftest.err >&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); } &&
10636 { ac_try='test -z "$ac_cxx_werror_flag"
10637 || test ! -s conftest.err'
10638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10639 (eval $ac_try) 2>&5
10640 ac_status=$?
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); }; } &&
10643 { ac_try='test -s conftest.$ac_objext'
10644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10645 (eval $ac_try) 2>&5
10646 ac_status=$?
10647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648 (exit $ac_status); }; }; then
10649 glibcxx_cv_func_qfpclass_use=yes
10650 else
10651 echo "$as_me: failed program was:" >&5
10652 sed 's/^/| /' conftest.$ac_ext >&5
10654 glibcxx_cv_func_qfpclass_use=no
10656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10657 ac_ext=c
10658 ac_cpp='$CPP $CPPFLAGS'
10659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10668 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10670 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10672 for ac_func in qfpclass
10674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10675 echo "$as_me:$LINENO: checking for $ac_func" >&5
10676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10677 if eval "test \"\${$as_ac_var+set}\" = set"; then
10678 echo $ECHO_N "(cached) $ECHO_C" >&6
10679 else
10680 if test x$gcc_no_link = xyes; then
10681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10683 { (exit 1); exit 1; }; }
10685 cat >conftest.$ac_ext <<_ACEOF
10686 /* confdefs.h. */
10687 _ACEOF
10688 cat confdefs.h >>conftest.$ac_ext
10689 cat >>conftest.$ac_ext <<_ACEOF
10690 /* end confdefs.h. */
10691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10693 #define $ac_func innocuous_$ac_func
10695 /* System header to define __stub macros and hopefully few prototypes,
10696 which can conflict with char $ac_func (); below.
10697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10698 <limits.h> exists even on freestanding compilers. */
10700 #ifdef __STDC__
10701 # include <limits.h>
10702 #else
10703 # include <assert.h>
10704 #endif
10706 #undef $ac_func
10708 /* Override any gcc2 internal prototype to avoid an error. */
10709 #ifdef __cplusplus
10710 extern "C"
10712 #endif
10713 /* We use char because int might match the return type of a gcc2
10714 builtin and then its argument prototype would still apply. */
10715 char $ac_func ();
10716 /* The GNU C library defines this for functions which it implements
10717 to always fail with ENOSYS. Some functions are actually named
10718 something starting with __ and the normal name is an alias. */
10719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10720 choke me
10721 #else
10722 char (*f) () = $ac_func;
10723 #endif
10724 #ifdef __cplusplus
10726 #endif
10729 main ()
10731 return f != $ac_func;
10733 return 0;
10735 _ACEOF
10736 rm -f conftest.$ac_objext conftest$ac_exeext
10737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10738 (eval $ac_link) 2>conftest.er1
10739 ac_status=$?
10740 grep -v '^ *+' conftest.er1 >conftest.err
10741 rm -f conftest.er1
10742 cat conftest.err >&5
10743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744 (exit $ac_status); } &&
10745 { ac_try='test -z "$ac_c_werror_flag"
10746 || test ! -s conftest.err'
10747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10748 (eval $ac_try) 2>&5
10749 ac_status=$?
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); }; } &&
10752 { ac_try='test -s conftest$ac_exeext'
10753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 (eval $ac_try) 2>&5
10755 ac_status=$?
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); }; }; then
10758 eval "$as_ac_var=yes"
10759 else
10760 echo "$as_me: failed program was:" >&5
10761 sed 's/^/| /' conftest.$ac_ext >&5
10763 eval "$as_ac_var=no"
10765 rm -f conftest.err conftest.$ac_objext \
10766 conftest$ac_exeext conftest.$ac_ext
10768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10770 if test `eval echo '${'$as_ac_var'}'` = yes; then
10771 cat >>confdefs.h <<_ACEOF
10772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10773 _ACEOF
10776 done
10778 else
10780 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10781 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10782 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10783 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 else
10789 ac_ext=cc
10790 ac_cpp='$CXXCPP $CPPFLAGS'
10791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10795 cat >conftest.$ac_ext <<_ACEOF
10796 /* confdefs.h. */
10797 _ACEOF
10798 cat confdefs.h >>conftest.$ac_ext
10799 cat >>conftest.$ac_ext <<_ACEOF
10800 /* end confdefs.h. */
10801 #include <math.h>
10802 #ifdef HAVE_IEEEFP_H
10803 #include <ieeefp.h>
10804 #endif
10807 main ()
10809 _qfpclass(0);
10811 return 0;
10813 _ACEOF
10814 rm -f conftest.$ac_objext
10815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10816 (eval $ac_compile) 2>conftest.er1
10817 ac_status=$?
10818 grep -v '^ *+' conftest.er1 >conftest.err
10819 rm -f conftest.er1
10820 cat conftest.err >&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } &&
10823 { ac_try='test -z "$ac_cxx_werror_flag"
10824 || test ! -s conftest.err'
10825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10826 (eval $ac_try) 2>&5
10827 ac_status=$?
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); }; } &&
10830 { ac_try='test -s conftest.$ac_objext'
10831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10832 (eval $ac_try) 2>&5
10833 ac_status=$?
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); }; }; then
10836 glibcxx_cv_func__qfpclass_use=yes
10837 else
10838 echo "$as_me: failed program was:" >&5
10839 sed 's/^/| /' conftest.$ac_ext >&5
10841 glibcxx_cv_func__qfpclass_use=no
10843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10844 ac_ext=c
10845 ac_cpp='$CPP $CPPFLAGS'
10846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10855 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10857 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10859 for ac_func in _qfpclass
10861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10862 echo "$as_me:$LINENO: checking for $ac_func" >&5
10863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10864 if eval "test \"\${$as_ac_var+set}\" = set"; then
10865 echo $ECHO_N "(cached) $ECHO_C" >&6
10866 else
10867 if test x$gcc_no_link = xyes; then
10868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10870 { (exit 1); exit 1; }; }
10872 cat >conftest.$ac_ext <<_ACEOF
10873 /* confdefs.h. */
10874 _ACEOF
10875 cat confdefs.h >>conftest.$ac_ext
10876 cat >>conftest.$ac_ext <<_ACEOF
10877 /* end confdefs.h. */
10878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10880 #define $ac_func innocuous_$ac_func
10882 /* System header to define __stub macros and hopefully few prototypes,
10883 which can conflict with char $ac_func (); below.
10884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10885 <limits.h> exists even on freestanding compilers. */
10887 #ifdef __STDC__
10888 # include <limits.h>
10889 #else
10890 # include <assert.h>
10891 #endif
10893 #undef $ac_func
10895 /* Override any gcc2 internal prototype to avoid an error. */
10896 #ifdef __cplusplus
10897 extern "C"
10899 #endif
10900 /* We use char because int might match the return type of a gcc2
10901 builtin and then its argument prototype would still apply. */
10902 char $ac_func ();
10903 /* The GNU C library defines this for functions which it implements
10904 to always fail with ENOSYS. Some functions are actually named
10905 something starting with __ and the normal name is an alias. */
10906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10907 choke me
10908 #else
10909 char (*f) () = $ac_func;
10910 #endif
10911 #ifdef __cplusplus
10913 #endif
10916 main ()
10918 return f != $ac_func;
10920 return 0;
10922 _ACEOF
10923 rm -f conftest.$ac_objext conftest$ac_exeext
10924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10925 (eval $ac_link) 2>conftest.er1
10926 ac_status=$?
10927 grep -v '^ *+' conftest.er1 >conftest.err
10928 rm -f conftest.er1
10929 cat conftest.err >&5
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); } &&
10932 { ac_try='test -z "$ac_c_werror_flag"
10933 || test ! -s conftest.err'
10934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10935 (eval $ac_try) 2>&5
10936 ac_status=$?
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); }; } &&
10939 { ac_try='test -s conftest$ac_exeext'
10940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10941 (eval $ac_try) 2>&5
10942 ac_status=$?
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); }; }; then
10945 eval "$as_ac_var=yes"
10946 else
10947 echo "$as_me: failed program was:" >&5
10948 sed 's/^/| /' conftest.$ac_ext >&5
10950 eval "$as_ac_var=no"
10952 rm -f conftest.err conftest.$ac_objext \
10953 conftest$ac_exeext conftest.$ac_ext
10955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10957 if test `eval echo '${'$as_ac_var'}'` = yes; then
10958 cat >>confdefs.h <<_ACEOF
10959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10960 _ACEOF
10963 done
10970 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10971 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10972 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10973 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10974 echo $ECHO_N "(cached) $ECHO_C" >&6
10975 else
10979 ac_ext=cc
10980 ac_cpp='$CXXCPP $CPPFLAGS'
10981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10985 cat >conftest.$ac_ext <<_ACEOF
10986 /* confdefs.h. */
10987 _ACEOF
10988 cat confdefs.h >>conftest.$ac_ext
10989 cat >>conftest.$ac_ext <<_ACEOF
10990 /* end confdefs.h. */
10991 #include <math.h>
10993 main ()
10995 hypot(0, 0);
10997 return 0;
10999 _ACEOF
11000 rm -f conftest.$ac_objext
11001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11002 (eval $ac_compile) 2>conftest.er1
11003 ac_status=$?
11004 grep -v '^ *+' conftest.er1 >conftest.err
11005 rm -f conftest.er1
11006 cat conftest.err >&5
11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008 (exit $ac_status); } &&
11009 { ac_try='test -z "$ac_cxx_werror_flag"
11010 || test ! -s conftest.err'
11011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012 (eval $ac_try) 2>&5
11013 ac_status=$?
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; } &&
11016 { ac_try='test -s conftest.$ac_objext'
11017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11018 (eval $ac_try) 2>&5
11019 ac_status=$?
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); }; }; then
11022 glibcxx_cv_func_hypot_use=yes
11023 else
11024 echo "$as_me: failed program was:" >&5
11025 sed 's/^/| /' conftest.$ac_ext >&5
11027 glibcxx_cv_func_hypot_use=no
11029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11030 ac_ext=c
11031 ac_cpp='$CPP $CPPFLAGS'
11032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11040 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11041 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11043 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11045 for ac_func in hypot
11047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11048 echo "$as_me:$LINENO: checking for $ac_func" >&5
11049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11050 if eval "test \"\${$as_ac_var+set}\" = set"; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11052 else
11053 if test x$gcc_no_link = xyes; then
11054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11056 { (exit 1); exit 1; }; }
11058 cat >conftest.$ac_ext <<_ACEOF
11059 /* confdefs.h. */
11060 _ACEOF
11061 cat confdefs.h >>conftest.$ac_ext
11062 cat >>conftest.$ac_ext <<_ACEOF
11063 /* end confdefs.h. */
11064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11066 #define $ac_func innocuous_$ac_func
11068 /* System header to define __stub macros and hopefully few prototypes,
11069 which can conflict with char $ac_func (); below.
11070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11071 <limits.h> exists even on freestanding compilers. */
11073 #ifdef __STDC__
11074 # include <limits.h>
11075 #else
11076 # include <assert.h>
11077 #endif
11079 #undef $ac_func
11081 /* Override any gcc2 internal prototype to avoid an error. */
11082 #ifdef __cplusplus
11083 extern "C"
11085 #endif
11086 /* We use char because int might match the return type of a gcc2
11087 builtin and then its argument prototype would still apply. */
11088 char $ac_func ();
11089 /* The GNU C library defines this for functions which it implements
11090 to always fail with ENOSYS. Some functions are actually named
11091 something starting with __ and the normal name is an alias. */
11092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11093 choke me
11094 #else
11095 char (*f) () = $ac_func;
11096 #endif
11097 #ifdef __cplusplus
11099 #endif
11102 main ()
11104 return f != $ac_func;
11106 return 0;
11108 _ACEOF
11109 rm -f conftest.$ac_objext conftest$ac_exeext
11110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11111 (eval $ac_link) 2>conftest.er1
11112 ac_status=$?
11113 grep -v '^ *+' conftest.er1 >conftest.err
11114 rm -f conftest.er1
11115 cat conftest.err >&5
11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 (exit $ac_status); } &&
11118 { ac_try='test -z "$ac_c_werror_flag"
11119 || test ! -s conftest.err'
11120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11121 (eval $ac_try) 2>&5
11122 ac_status=$?
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; } &&
11125 { ac_try='test -s conftest$ac_exeext'
11126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11127 (eval $ac_try) 2>&5
11128 ac_status=$?
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); }; }; then
11131 eval "$as_ac_var=yes"
11132 else
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11136 eval "$as_ac_var=no"
11138 rm -f conftest.err conftest.$ac_objext \
11139 conftest$ac_exeext conftest.$ac_ext
11141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11143 if test `eval echo '${'$as_ac_var'}'` = yes; then
11144 cat >>confdefs.h <<_ACEOF
11145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11146 _ACEOF
11149 done
11151 else
11153 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11154 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11155 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11156 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11157 echo $ECHO_N "(cached) $ECHO_C" >&6
11158 else
11162 ac_ext=cc
11163 ac_cpp='$CXXCPP $CPPFLAGS'
11164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11168 cat >conftest.$ac_ext <<_ACEOF
11169 /* confdefs.h. */
11170 _ACEOF
11171 cat confdefs.h >>conftest.$ac_ext
11172 cat >>conftest.$ac_ext <<_ACEOF
11173 /* end confdefs.h. */
11174 #include <math.h>
11176 main ()
11178 _hypot(0, 0);
11180 return 0;
11182 _ACEOF
11183 rm -f conftest.$ac_objext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11185 (eval $ac_compile) 2>conftest.er1
11186 ac_status=$?
11187 grep -v '^ *+' conftest.er1 >conftest.err
11188 rm -f conftest.er1
11189 cat conftest.err >&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); } &&
11192 { ac_try='test -z "$ac_cxx_werror_flag"
11193 || test ! -s conftest.err'
11194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195 (eval $ac_try) 2>&5
11196 ac_status=$?
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); }; } &&
11199 { ac_try='test -s conftest.$ac_objext'
11200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201 (eval $ac_try) 2>&5
11202 ac_status=$?
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); }; }; then
11205 glibcxx_cv_func__hypot_use=yes
11206 else
11207 echo "$as_me: failed program was:" >&5
11208 sed 's/^/| /' conftest.$ac_ext >&5
11210 glibcxx_cv_func__hypot_use=no
11212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11213 ac_ext=c
11214 ac_cpp='$CPP $CPPFLAGS'
11215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11223 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11224 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11226 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11228 for ac_func in _hypot
11230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11231 echo "$as_me:$LINENO: checking for $ac_func" >&5
11232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11233 if eval "test \"\${$as_ac_var+set}\" = set"; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11235 else
11236 if test x$gcc_no_link = xyes; then
11237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11239 { (exit 1); exit 1; }; }
11241 cat >conftest.$ac_ext <<_ACEOF
11242 /* confdefs.h. */
11243 _ACEOF
11244 cat confdefs.h >>conftest.$ac_ext
11245 cat >>conftest.$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11249 #define $ac_func innocuous_$ac_func
11251 /* System header to define __stub macros and hopefully few prototypes,
11252 which can conflict with char $ac_func (); below.
11253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11254 <limits.h> exists even on freestanding compilers. */
11256 #ifdef __STDC__
11257 # include <limits.h>
11258 #else
11259 # include <assert.h>
11260 #endif
11262 #undef $ac_func
11264 /* Override any gcc2 internal prototype to avoid an error. */
11265 #ifdef __cplusplus
11266 extern "C"
11268 #endif
11269 /* We use char because int might match the return type of a gcc2
11270 builtin and then its argument prototype would still apply. */
11271 char $ac_func ();
11272 /* The GNU C library defines this for functions which it implements
11273 to always fail with ENOSYS. Some functions are actually named
11274 something starting with __ and the normal name is an alias. */
11275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11276 choke me
11277 #else
11278 char (*f) () = $ac_func;
11279 #endif
11280 #ifdef __cplusplus
11282 #endif
11285 main ()
11287 return f != $ac_func;
11289 return 0;
11291 _ACEOF
11292 rm -f conftest.$ac_objext conftest$ac_exeext
11293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11294 (eval $ac_link) 2>conftest.er1
11295 ac_status=$?
11296 grep -v '^ *+' conftest.er1 >conftest.err
11297 rm -f conftest.er1
11298 cat conftest.err >&5
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); } &&
11301 { ac_try='test -z "$ac_c_werror_flag"
11302 || test ! -s conftest.err'
11303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11304 (eval $ac_try) 2>&5
11305 ac_status=$?
11306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); }; } &&
11308 { ac_try='test -s conftest$ac_exeext'
11309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11310 (eval $ac_try) 2>&5
11311 ac_status=$?
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 (exit $ac_status); }; }; then
11314 eval "$as_ac_var=yes"
11315 else
11316 echo "$as_me: failed program was:" >&5
11317 sed 's/^/| /' conftest.$ac_ext >&5
11319 eval "$as_ac_var=no"
11321 rm -f conftest.err conftest.$ac_objext \
11322 conftest$ac_exeext conftest.$ac_ext
11324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11326 if test `eval echo '${'$as_ac_var'}'` = yes; then
11327 cat >>confdefs.h <<_ACEOF
11328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11329 _ACEOF
11332 done
11339 echo "$as_me:$LINENO: checking for float trig functions" >&5
11340 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11341 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11342 echo $ECHO_N "(cached) $ECHO_C" >&6
11343 else
11347 ac_ext=cc
11348 ac_cpp='$CXXCPP $CPPFLAGS'
11349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11353 cat >conftest.$ac_ext <<_ACEOF
11354 /* confdefs.h. */
11355 _ACEOF
11356 cat confdefs.h >>conftest.$ac_ext
11357 cat >>conftest.$ac_ext <<_ACEOF
11358 /* end confdefs.h. */
11359 #include <math.h>
11361 main ()
11363 `for x in acosf asinf atanf \
11364 cosf sinf tanf \
11365 coshf sinhf tanhf; do echo "$x (0);"; done`
11367 return 0;
11369 _ACEOF
11370 rm -f conftest.$ac_objext
11371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11372 (eval $ac_compile) 2>conftest.er1
11373 ac_status=$?
11374 grep -v '^ *+' conftest.er1 >conftest.err
11375 rm -f conftest.er1
11376 cat conftest.err >&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); } &&
11379 { ac_try='test -z "$ac_cxx_werror_flag"
11380 || test ! -s conftest.err'
11381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11382 (eval $ac_try) 2>&5
11383 ac_status=$?
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); }; } &&
11386 { ac_try='test -s conftest.$ac_objext'
11387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11388 (eval $ac_try) 2>&5
11389 ac_status=$?
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); }; }; then
11392 glibcxx_cv_func_float_trig_use=yes
11393 else
11394 echo "$as_me: failed program was:" >&5
11395 sed 's/^/| /' conftest.$ac_ext >&5
11397 glibcxx_cv_func_float_trig_use=no
11399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11400 ac_ext=c
11401 ac_cpp='$CPP $CPPFLAGS'
11402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11409 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11410 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11420 for ac_func in acosf asinf atanf \
11421 cosf sinf tanf \
11422 coshf sinhf tanhf
11424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11425 echo "$as_me:$LINENO: checking for $ac_func" >&5
11426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11427 if eval "test \"\${$as_ac_var+set}\" = set"; then
11428 echo $ECHO_N "(cached) $ECHO_C" >&6
11429 else
11430 if test x$gcc_no_link = xyes; then
11431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11433 { (exit 1); exit 1; }; }
11435 cat >conftest.$ac_ext <<_ACEOF
11436 /* confdefs.h. */
11437 _ACEOF
11438 cat confdefs.h >>conftest.$ac_ext
11439 cat >>conftest.$ac_ext <<_ACEOF
11440 /* end confdefs.h. */
11441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11443 #define $ac_func innocuous_$ac_func
11445 /* System header to define __stub macros and hopefully few prototypes,
11446 which can conflict with char $ac_func (); below.
11447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11448 <limits.h> exists even on freestanding compilers. */
11450 #ifdef __STDC__
11451 # include <limits.h>
11452 #else
11453 # include <assert.h>
11454 #endif
11456 #undef $ac_func
11458 /* Override any gcc2 internal prototype to avoid an error. */
11459 #ifdef __cplusplus
11460 extern "C"
11462 #endif
11463 /* We use char because int might match the return type of a gcc2
11464 builtin and then its argument prototype would still apply. */
11465 char $ac_func ();
11466 /* The GNU C library defines this for functions which it implements
11467 to always fail with ENOSYS. Some functions are actually named
11468 something starting with __ and the normal name is an alias. */
11469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11470 choke me
11471 #else
11472 char (*f) () = $ac_func;
11473 #endif
11474 #ifdef __cplusplus
11476 #endif
11479 main ()
11481 return f != $ac_func;
11483 return 0;
11485 _ACEOF
11486 rm -f conftest.$ac_objext conftest$ac_exeext
11487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11488 (eval $ac_link) 2>conftest.er1
11489 ac_status=$?
11490 grep -v '^ *+' conftest.er1 >conftest.err
11491 rm -f conftest.er1
11492 cat conftest.err >&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); } &&
11495 { ac_try='test -z "$ac_c_werror_flag"
11496 || test ! -s conftest.err'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11499 ac_status=$?
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; } &&
11502 { ac_try='test -s conftest$ac_exeext'
11503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11504 (eval $ac_try) 2>&5
11505 ac_status=$?
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; }; then
11508 eval "$as_ac_var=yes"
11509 else
11510 echo "$as_me: failed program was:" >&5
11511 sed 's/^/| /' conftest.$ac_ext >&5
11513 eval "$as_ac_var=no"
11515 rm -f conftest.err conftest.$ac_objext \
11516 conftest$ac_exeext conftest.$ac_ext
11518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11520 if test `eval echo '${'$as_ac_var'}'` = yes; then
11521 cat >>confdefs.h <<_ACEOF
11522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11523 _ACEOF
11526 done
11531 echo "$as_me:$LINENO: checking for float round functions" >&5
11532 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11533 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11534 echo $ECHO_N "(cached) $ECHO_C" >&6
11535 else
11539 ac_ext=cc
11540 ac_cpp='$CXXCPP $CPPFLAGS'
11541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11545 cat >conftest.$ac_ext <<_ACEOF
11546 /* confdefs.h. */
11547 _ACEOF
11548 cat confdefs.h >>conftest.$ac_ext
11549 cat >>conftest.$ac_ext <<_ACEOF
11550 /* end confdefs.h. */
11551 #include <math.h>
11553 main ()
11555 `for x in ceilf floorf; do echo "$x (0);"; done`
11557 return 0;
11559 _ACEOF
11560 rm -f conftest.$ac_objext
11561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11562 (eval $ac_compile) 2>conftest.er1
11563 ac_status=$?
11564 grep -v '^ *+' conftest.er1 >conftest.err
11565 rm -f conftest.er1
11566 cat conftest.err >&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); } &&
11569 { ac_try='test -z "$ac_cxx_werror_flag"
11570 || test ! -s conftest.err'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11573 ac_status=$?
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; } &&
11576 { ac_try='test -s conftest.$ac_objext'
11577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11578 (eval $ac_try) 2>&5
11579 ac_status=$?
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); }; }; then
11582 glibcxx_cv_func_float_round_use=yes
11583 else
11584 echo "$as_me: failed program was:" >&5
11585 sed 's/^/| /' conftest.$ac_ext >&5
11587 glibcxx_cv_func_float_round_use=no
11589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11590 ac_ext=c
11591 ac_cpp='$CPP $CPPFLAGS'
11592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11598 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11599 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11600 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11603 for ac_func in ceilf floorf
11605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11606 echo "$as_me:$LINENO: checking for $ac_func" >&5
11607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11608 if eval "test \"\${$as_ac_var+set}\" = set"; then
11609 echo $ECHO_N "(cached) $ECHO_C" >&6
11610 else
11611 if test x$gcc_no_link = xyes; then
11612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11614 { (exit 1); exit 1; }; }
11616 cat >conftest.$ac_ext <<_ACEOF
11617 /* confdefs.h. */
11618 _ACEOF
11619 cat confdefs.h >>conftest.$ac_ext
11620 cat >>conftest.$ac_ext <<_ACEOF
11621 /* end confdefs.h. */
11622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11624 #define $ac_func innocuous_$ac_func
11626 /* System header to define __stub macros and hopefully few prototypes,
11627 which can conflict with char $ac_func (); below.
11628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11629 <limits.h> exists even on freestanding compilers. */
11631 #ifdef __STDC__
11632 # include <limits.h>
11633 #else
11634 # include <assert.h>
11635 #endif
11637 #undef $ac_func
11639 /* Override any gcc2 internal prototype to avoid an error. */
11640 #ifdef __cplusplus
11641 extern "C"
11643 #endif
11644 /* We use char because int might match the return type of a gcc2
11645 builtin and then its argument prototype would still apply. */
11646 char $ac_func ();
11647 /* The GNU C library defines this for functions which it implements
11648 to always fail with ENOSYS. Some functions are actually named
11649 something starting with __ and the normal name is an alias. */
11650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11651 choke me
11652 #else
11653 char (*f) () = $ac_func;
11654 #endif
11655 #ifdef __cplusplus
11657 #endif
11660 main ()
11662 return f != $ac_func;
11664 return 0;
11666 _ACEOF
11667 rm -f conftest.$ac_objext conftest$ac_exeext
11668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11669 (eval $ac_link) 2>conftest.er1
11670 ac_status=$?
11671 grep -v '^ *+' conftest.er1 >conftest.err
11672 rm -f conftest.er1
11673 cat conftest.err >&5
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); } &&
11676 { ac_try='test -z "$ac_c_werror_flag"
11677 || test ! -s conftest.err'
11678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11679 (eval $ac_try) 2>&5
11680 ac_status=$?
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; } &&
11683 { ac_try='test -s conftest$ac_exeext'
11684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11685 (eval $ac_try) 2>&5
11686 ac_status=$?
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); }; }; then
11689 eval "$as_ac_var=yes"
11690 else
11691 echo "$as_me: failed program was:" >&5
11692 sed 's/^/| /' conftest.$ac_ext >&5
11694 eval "$as_ac_var=no"
11696 rm -f conftest.err conftest.$ac_objext \
11697 conftest$ac_exeext conftest.$ac_ext
11699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11701 if test `eval echo '${'$as_ac_var'}'` = yes; then
11702 cat >>confdefs.h <<_ACEOF
11703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11704 _ACEOF
11707 done
11713 echo "$as_me:$LINENO: checking for expf declaration" >&5
11714 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11715 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11716 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11717 echo $ECHO_N "(cached) $ECHO_C" >&6
11718 else
11722 ac_ext=cc
11723 ac_cpp='$CXXCPP $CPPFLAGS'
11724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11728 cat >conftest.$ac_ext <<_ACEOF
11729 /* confdefs.h. */
11730 _ACEOF
11731 cat confdefs.h >>conftest.$ac_ext
11732 cat >>conftest.$ac_ext <<_ACEOF
11733 /* end confdefs.h. */
11734 #include <math.h>
11735 #ifdef HAVE_IEEEFP_H
11736 #include <ieeefp.h>
11737 #endif
11740 main ()
11742 expf(0);
11744 return 0;
11746 _ACEOF
11747 rm -f conftest.$ac_objext
11748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11749 (eval $ac_compile) 2>conftest.er1
11750 ac_status=$?
11751 grep -v '^ *+' conftest.er1 >conftest.err
11752 rm -f conftest.er1
11753 cat conftest.err >&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); } &&
11756 { ac_try='test -z "$ac_cxx_werror_flag"
11757 || test ! -s conftest.err'
11758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11759 (eval $ac_try) 2>&5
11760 ac_status=$?
11761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11762 (exit $ac_status); }; } &&
11763 { ac_try='test -s conftest.$ac_objext'
11764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11765 (eval $ac_try) 2>&5
11766 ac_status=$?
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); }; }; then
11769 glibcxx_cv_func_expf_use=yes
11770 else
11771 echo "$as_me: failed program was:" >&5
11772 sed 's/^/| /' conftest.$ac_ext >&5
11774 glibcxx_cv_func_expf_use=no
11776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11777 ac_ext=c
11778 ac_cpp='$CPP $CPPFLAGS'
11779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11787 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11788 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11790 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11792 for ac_func in expf
11794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11795 echo "$as_me:$LINENO: checking for $ac_func" >&5
11796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11797 if eval "test \"\${$as_ac_var+set}\" = set"; then
11798 echo $ECHO_N "(cached) $ECHO_C" >&6
11799 else
11800 if test x$gcc_no_link = xyes; then
11801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11803 { (exit 1); exit 1; }; }
11805 cat >conftest.$ac_ext <<_ACEOF
11806 /* confdefs.h. */
11807 _ACEOF
11808 cat confdefs.h >>conftest.$ac_ext
11809 cat >>conftest.$ac_ext <<_ACEOF
11810 /* end confdefs.h. */
11811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11813 #define $ac_func innocuous_$ac_func
11815 /* System header to define __stub macros and hopefully few prototypes,
11816 which can conflict with char $ac_func (); below.
11817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11818 <limits.h> exists even on freestanding compilers. */
11820 #ifdef __STDC__
11821 # include <limits.h>
11822 #else
11823 # include <assert.h>
11824 #endif
11826 #undef $ac_func
11828 /* Override any gcc2 internal prototype to avoid an error. */
11829 #ifdef __cplusplus
11830 extern "C"
11832 #endif
11833 /* We use char because int might match the return type of a gcc2
11834 builtin and then its argument prototype would still apply. */
11835 char $ac_func ();
11836 /* The GNU C library defines this for functions which it implements
11837 to always fail with ENOSYS. Some functions are actually named
11838 something starting with __ and the normal name is an alias. */
11839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11840 choke me
11841 #else
11842 char (*f) () = $ac_func;
11843 #endif
11844 #ifdef __cplusplus
11846 #endif
11849 main ()
11851 return f != $ac_func;
11853 return 0;
11855 _ACEOF
11856 rm -f conftest.$ac_objext conftest$ac_exeext
11857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11858 (eval $ac_link) 2>conftest.er1
11859 ac_status=$?
11860 grep -v '^ *+' conftest.er1 >conftest.err
11861 rm -f conftest.er1
11862 cat conftest.err >&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); } &&
11865 { ac_try='test -z "$ac_c_werror_flag"
11866 || test ! -s conftest.err'
11867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11868 (eval $ac_try) 2>&5
11869 ac_status=$?
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; } &&
11872 { ac_try='test -s conftest$ac_exeext'
11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11874 (eval $ac_try) 2>&5
11875 ac_status=$?
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; }; then
11878 eval "$as_ac_var=yes"
11879 else
11880 echo "$as_me: failed program was:" >&5
11881 sed 's/^/| /' conftest.$ac_ext >&5
11883 eval "$as_ac_var=no"
11885 rm -f conftest.err conftest.$ac_objext \
11886 conftest$ac_exeext conftest.$ac_ext
11888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11890 if test `eval echo '${'$as_ac_var'}'` = yes; then
11891 cat >>confdefs.h <<_ACEOF
11892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11893 _ACEOF
11896 done
11898 else
11900 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11901 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11902 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11903 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11904 echo $ECHO_N "(cached) $ECHO_C" >&6
11905 else
11909 ac_ext=cc
11910 ac_cpp='$CXXCPP $CPPFLAGS'
11911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11915 cat >conftest.$ac_ext <<_ACEOF
11916 /* confdefs.h. */
11917 _ACEOF
11918 cat confdefs.h >>conftest.$ac_ext
11919 cat >>conftest.$ac_ext <<_ACEOF
11920 /* end confdefs.h. */
11921 #include <math.h>
11922 #ifdef HAVE_IEEEFP_H
11923 #include <ieeefp.h>
11924 #endif
11927 main ()
11929 _expf(0);
11931 return 0;
11933 _ACEOF
11934 rm -f conftest.$ac_objext
11935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11936 (eval $ac_compile) 2>conftest.er1
11937 ac_status=$?
11938 grep -v '^ *+' conftest.er1 >conftest.err
11939 rm -f conftest.er1
11940 cat conftest.err >&5
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); } &&
11943 { ac_try='test -z "$ac_cxx_werror_flag"
11944 || test ! -s conftest.err'
11945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946 (eval $ac_try) 2>&5
11947 ac_status=$?
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); }; } &&
11950 { ac_try='test -s conftest.$ac_objext'
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11953 ac_status=$?
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); }; }; then
11956 glibcxx_cv_func__expf_use=yes
11957 else
11958 echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.$ac_ext >&5
11961 glibcxx_cv_func__expf_use=no
11963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11964 ac_ext=c
11965 ac_cpp='$CPP $CPPFLAGS'
11966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11975 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11977 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11979 for ac_func in _expf
11981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11982 echo "$as_me:$LINENO: checking for $ac_func" >&5
11983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11984 if eval "test \"\${$as_ac_var+set}\" = set"; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6
11986 else
11987 if test x$gcc_no_link = xyes; then
11988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11990 { (exit 1); exit 1; }; }
11992 cat >conftest.$ac_ext <<_ACEOF
11993 /* confdefs.h. */
11994 _ACEOF
11995 cat confdefs.h >>conftest.$ac_ext
11996 cat >>conftest.$ac_ext <<_ACEOF
11997 /* end confdefs.h. */
11998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12000 #define $ac_func innocuous_$ac_func
12002 /* System header to define __stub macros and hopefully few prototypes,
12003 which can conflict with char $ac_func (); below.
12004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12005 <limits.h> exists even on freestanding compilers. */
12007 #ifdef __STDC__
12008 # include <limits.h>
12009 #else
12010 # include <assert.h>
12011 #endif
12013 #undef $ac_func
12015 /* Override any gcc2 internal prototype to avoid an error. */
12016 #ifdef __cplusplus
12017 extern "C"
12019 #endif
12020 /* We use char because int might match the return type of a gcc2
12021 builtin and then its argument prototype would still apply. */
12022 char $ac_func ();
12023 /* The GNU C library defines this for functions which it implements
12024 to always fail with ENOSYS. Some functions are actually named
12025 something starting with __ and the normal name is an alias. */
12026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12027 choke me
12028 #else
12029 char (*f) () = $ac_func;
12030 #endif
12031 #ifdef __cplusplus
12033 #endif
12036 main ()
12038 return f != $ac_func;
12040 return 0;
12042 _ACEOF
12043 rm -f conftest.$ac_objext conftest$ac_exeext
12044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12045 (eval $ac_link) 2>conftest.er1
12046 ac_status=$?
12047 grep -v '^ *+' conftest.er1 >conftest.err
12048 rm -f conftest.er1
12049 cat conftest.err >&5
12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 (exit $ac_status); } &&
12052 { ac_try='test -z "$ac_c_werror_flag"
12053 || test ! -s conftest.err'
12054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12055 (eval $ac_try) 2>&5
12056 ac_status=$?
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); }; } &&
12059 { ac_try='test -s conftest$ac_exeext'
12060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12061 (eval $ac_try) 2>&5
12062 ac_status=$?
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); }; }; then
12065 eval "$as_ac_var=yes"
12066 else
12067 echo "$as_me: failed program was:" >&5
12068 sed 's/^/| /' conftest.$ac_ext >&5
12070 eval "$as_ac_var=no"
12072 rm -f conftest.err conftest.$ac_objext \
12073 conftest$ac_exeext conftest.$ac_ext
12075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12077 if test `eval echo '${'$as_ac_var'}'` = yes; then
12078 cat >>confdefs.h <<_ACEOF
12079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12080 _ACEOF
12083 done
12090 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12091 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12092 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12093 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12094 echo $ECHO_N "(cached) $ECHO_C" >&6
12095 else
12099 ac_ext=cc
12100 ac_cpp='$CXXCPP $CPPFLAGS'
12101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12105 cat >conftest.$ac_ext <<_ACEOF
12106 /* confdefs.h. */
12107 _ACEOF
12108 cat confdefs.h >>conftest.$ac_ext
12109 cat >>conftest.$ac_ext <<_ACEOF
12110 /* end confdefs.h. */
12111 #include <math.h>
12112 #ifdef HAVE_IEEEFP_H
12113 #include <ieeefp.h>
12114 #endif
12117 main ()
12119 isnanf(0);
12121 return 0;
12123 _ACEOF
12124 rm -f conftest.$ac_objext
12125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12126 (eval $ac_compile) 2>conftest.er1
12127 ac_status=$?
12128 grep -v '^ *+' conftest.er1 >conftest.err
12129 rm -f conftest.er1
12130 cat conftest.err >&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } &&
12133 { ac_try='test -z "$ac_cxx_werror_flag"
12134 || test ! -s conftest.err'
12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12136 (eval $ac_try) 2>&5
12137 ac_status=$?
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }; } &&
12140 { ac_try='test -s conftest.$ac_objext'
12141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 (eval $ac_try) 2>&5
12143 ac_status=$?
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }; }; then
12146 glibcxx_cv_func_isnanf_use=yes
12147 else
12148 echo "$as_me: failed program was:" >&5
12149 sed 's/^/| /' conftest.$ac_ext >&5
12151 glibcxx_cv_func_isnanf_use=no
12153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12154 ac_ext=c
12155 ac_cpp='$CPP $CPPFLAGS'
12156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12165 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12167 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12169 for ac_func in isnanf
12171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12172 echo "$as_me:$LINENO: checking for $ac_func" >&5
12173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12174 if eval "test \"\${$as_ac_var+set}\" = set"; then
12175 echo $ECHO_N "(cached) $ECHO_C" >&6
12176 else
12177 if test x$gcc_no_link = xyes; then
12178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12180 { (exit 1); exit 1; }; }
12182 cat >conftest.$ac_ext <<_ACEOF
12183 /* confdefs.h. */
12184 _ACEOF
12185 cat confdefs.h >>conftest.$ac_ext
12186 cat >>conftest.$ac_ext <<_ACEOF
12187 /* end confdefs.h. */
12188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12190 #define $ac_func innocuous_$ac_func
12192 /* System header to define __stub macros and hopefully few prototypes,
12193 which can conflict with char $ac_func (); below.
12194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12195 <limits.h> exists even on freestanding compilers. */
12197 #ifdef __STDC__
12198 # include <limits.h>
12199 #else
12200 # include <assert.h>
12201 #endif
12203 #undef $ac_func
12205 /* Override any gcc2 internal prototype to avoid an error. */
12206 #ifdef __cplusplus
12207 extern "C"
12209 #endif
12210 /* We use char because int might match the return type of a gcc2
12211 builtin and then its argument prototype would still apply. */
12212 char $ac_func ();
12213 /* The GNU C library defines this for functions which it implements
12214 to always fail with ENOSYS. Some functions are actually named
12215 something starting with __ and the normal name is an alias. */
12216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12217 choke me
12218 #else
12219 char (*f) () = $ac_func;
12220 #endif
12221 #ifdef __cplusplus
12223 #endif
12226 main ()
12228 return f != $ac_func;
12230 return 0;
12232 _ACEOF
12233 rm -f conftest.$ac_objext conftest$ac_exeext
12234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12235 (eval $ac_link) 2>conftest.er1
12236 ac_status=$?
12237 grep -v '^ *+' conftest.er1 >conftest.err
12238 rm -f conftest.er1
12239 cat conftest.err >&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); } &&
12242 { ac_try='test -z "$ac_c_werror_flag"
12243 || test ! -s conftest.err'
12244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12245 (eval $ac_try) 2>&5
12246 ac_status=$?
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); }; } &&
12249 { ac_try='test -s conftest$ac_exeext'
12250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12251 (eval $ac_try) 2>&5
12252 ac_status=$?
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); }; }; then
12255 eval "$as_ac_var=yes"
12256 else
12257 echo "$as_me: failed program was:" >&5
12258 sed 's/^/| /' conftest.$ac_ext >&5
12260 eval "$as_ac_var=no"
12262 rm -f conftest.err conftest.$ac_objext \
12263 conftest$ac_exeext conftest.$ac_ext
12265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12267 if test `eval echo '${'$as_ac_var'}'` = yes; then
12268 cat >>confdefs.h <<_ACEOF
12269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12270 _ACEOF
12273 done
12275 else
12277 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12278 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12279 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12280 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12281 echo $ECHO_N "(cached) $ECHO_C" >&6
12282 else
12286 ac_ext=cc
12287 ac_cpp='$CXXCPP $CPPFLAGS'
12288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12292 cat >conftest.$ac_ext <<_ACEOF
12293 /* confdefs.h. */
12294 _ACEOF
12295 cat confdefs.h >>conftest.$ac_ext
12296 cat >>conftest.$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12298 #include <math.h>
12299 #ifdef HAVE_IEEEFP_H
12300 #include <ieeefp.h>
12301 #endif
12304 main ()
12306 _isnanf(0);
12308 return 0;
12310 _ACEOF
12311 rm -f conftest.$ac_objext
12312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12313 (eval $ac_compile) 2>conftest.er1
12314 ac_status=$?
12315 grep -v '^ *+' conftest.er1 >conftest.err
12316 rm -f conftest.er1
12317 cat conftest.err >&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } &&
12320 { ac_try='test -z "$ac_cxx_werror_flag"
12321 || test ! -s conftest.err'
12322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12323 (eval $ac_try) 2>&5
12324 ac_status=$?
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); }; } &&
12327 { ac_try='test -s conftest.$ac_objext'
12328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12329 (eval $ac_try) 2>&5
12330 ac_status=$?
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); }; }; then
12333 glibcxx_cv_func__isnanf_use=yes
12334 else
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.$ac_ext >&5
12338 glibcxx_cv_func__isnanf_use=no
12340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12341 ac_ext=c
12342 ac_cpp='$CPP $CPPFLAGS'
12343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12352 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12354 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12356 for ac_func in _isnanf
12358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12359 echo "$as_me:$LINENO: checking for $ac_func" >&5
12360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12361 if eval "test \"\${$as_ac_var+set}\" = set"; then
12362 echo $ECHO_N "(cached) $ECHO_C" >&6
12363 else
12364 if test x$gcc_no_link = xyes; then
12365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12367 { (exit 1); exit 1; }; }
12369 cat >conftest.$ac_ext <<_ACEOF
12370 /* confdefs.h. */
12371 _ACEOF
12372 cat confdefs.h >>conftest.$ac_ext
12373 cat >>conftest.$ac_ext <<_ACEOF
12374 /* end confdefs.h. */
12375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12377 #define $ac_func innocuous_$ac_func
12379 /* System header to define __stub macros and hopefully few prototypes,
12380 which can conflict with char $ac_func (); below.
12381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12382 <limits.h> exists even on freestanding compilers. */
12384 #ifdef __STDC__
12385 # include <limits.h>
12386 #else
12387 # include <assert.h>
12388 #endif
12390 #undef $ac_func
12392 /* Override any gcc2 internal prototype to avoid an error. */
12393 #ifdef __cplusplus
12394 extern "C"
12396 #endif
12397 /* We use char because int might match the return type of a gcc2
12398 builtin and then its argument prototype would still apply. */
12399 char $ac_func ();
12400 /* The GNU C library defines this for functions which it implements
12401 to always fail with ENOSYS. Some functions are actually named
12402 something starting with __ and the normal name is an alias. */
12403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12404 choke me
12405 #else
12406 char (*f) () = $ac_func;
12407 #endif
12408 #ifdef __cplusplus
12410 #endif
12413 main ()
12415 return f != $ac_func;
12417 return 0;
12419 _ACEOF
12420 rm -f conftest.$ac_objext conftest$ac_exeext
12421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12422 (eval $ac_link) 2>conftest.er1
12423 ac_status=$?
12424 grep -v '^ *+' conftest.er1 >conftest.err
12425 rm -f conftest.er1
12426 cat conftest.err >&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); } &&
12429 { ac_try='test -z "$ac_c_werror_flag"
12430 || test ! -s conftest.err'
12431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12432 (eval $ac_try) 2>&5
12433 ac_status=$?
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; } &&
12436 { ac_try='test -s conftest$ac_exeext'
12437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12438 (eval $ac_try) 2>&5
12439 ac_status=$?
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); }; }; then
12442 eval "$as_ac_var=yes"
12443 else
12444 echo "$as_me: failed program was:" >&5
12445 sed 's/^/| /' conftest.$ac_ext >&5
12447 eval "$as_ac_var=no"
12449 rm -f conftest.err conftest.$ac_objext \
12450 conftest$ac_exeext conftest.$ac_ext
12452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12454 if test `eval echo '${'$as_ac_var'}'` = yes; then
12455 cat >>confdefs.h <<_ACEOF
12456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12457 _ACEOF
12460 done
12467 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12468 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12469 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12470 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12471 echo $ECHO_N "(cached) $ECHO_C" >&6
12472 else
12476 ac_ext=cc
12477 ac_cpp='$CXXCPP $CPPFLAGS'
12478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12482 cat >conftest.$ac_ext <<_ACEOF
12483 /* confdefs.h. */
12484 _ACEOF
12485 cat confdefs.h >>conftest.$ac_ext
12486 cat >>conftest.$ac_ext <<_ACEOF
12487 /* end confdefs.h. */
12488 #include <math.h>
12489 #ifdef HAVE_IEEEFP_H
12490 #include <ieeefp.h>
12491 #endif
12494 main ()
12496 isinff(0);
12498 return 0;
12500 _ACEOF
12501 rm -f conftest.$ac_objext
12502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12503 (eval $ac_compile) 2>conftest.er1
12504 ac_status=$?
12505 grep -v '^ *+' conftest.er1 >conftest.err
12506 rm -f conftest.er1
12507 cat conftest.err >&5
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); } &&
12510 { ac_try='test -z "$ac_cxx_werror_flag"
12511 || test ! -s conftest.err'
12512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12513 (eval $ac_try) 2>&5
12514 ac_status=$?
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); }; } &&
12517 { ac_try='test -s conftest.$ac_objext'
12518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12519 (eval $ac_try) 2>&5
12520 ac_status=$?
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); }; }; then
12523 glibcxx_cv_func_isinff_use=yes
12524 else
12525 echo "$as_me: failed program was:" >&5
12526 sed 's/^/| /' conftest.$ac_ext >&5
12528 glibcxx_cv_func_isinff_use=no
12530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12531 ac_ext=c
12532 ac_cpp='$CPP $CPPFLAGS'
12533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12541 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12542 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12544 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12546 for ac_func in isinff
12548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12549 echo "$as_me:$LINENO: checking for $ac_func" >&5
12550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12551 if eval "test \"\${$as_ac_var+set}\" = set"; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 else
12554 if test x$gcc_no_link = xyes; then
12555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12557 { (exit 1); exit 1; }; }
12559 cat >conftest.$ac_ext <<_ACEOF
12560 /* confdefs.h. */
12561 _ACEOF
12562 cat confdefs.h >>conftest.$ac_ext
12563 cat >>conftest.$ac_ext <<_ACEOF
12564 /* end confdefs.h. */
12565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12567 #define $ac_func innocuous_$ac_func
12569 /* System header to define __stub macros and hopefully few prototypes,
12570 which can conflict with char $ac_func (); below.
12571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12572 <limits.h> exists even on freestanding compilers. */
12574 #ifdef __STDC__
12575 # include <limits.h>
12576 #else
12577 # include <assert.h>
12578 #endif
12580 #undef $ac_func
12582 /* Override any gcc2 internal prototype to avoid an error. */
12583 #ifdef __cplusplus
12584 extern "C"
12586 #endif
12587 /* We use char because int might match the return type of a gcc2
12588 builtin and then its argument prototype would still apply. */
12589 char $ac_func ();
12590 /* The GNU C library defines this for functions which it implements
12591 to always fail with ENOSYS. Some functions are actually named
12592 something starting with __ and the normal name is an alias. */
12593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12594 choke me
12595 #else
12596 char (*f) () = $ac_func;
12597 #endif
12598 #ifdef __cplusplus
12600 #endif
12603 main ()
12605 return f != $ac_func;
12607 return 0;
12609 _ACEOF
12610 rm -f conftest.$ac_objext conftest$ac_exeext
12611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12612 (eval $ac_link) 2>conftest.er1
12613 ac_status=$?
12614 grep -v '^ *+' conftest.er1 >conftest.err
12615 rm -f conftest.er1
12616 cat conftest.err >&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } &&
12619 { ac_try='test -z "$ac_c_werror_flag"
12620 || test ! -s conftest.err'
12621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12622 (eval $ac_try) 2>&5
12623 ac_status=$?
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); }; } &&
12626 { ac_try='test -s conftest$ac_exeext'
12627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12628 (eval $ac_try) 2>&5
12629 ac_status=$?
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); }; }; then
12632 eval "$as_ac_var=yes"
12633 else
12634 echo "$as_me: failed program was:" >&5
12635 sed 's/^/| /' conftest.$ac_ext >&5
12637 eval "$as_ac_var=no"
12639 rm -f conftest.err conftest.$ac_objext \
12640 conftest$ac_exeext conftest.$ac_ext
12642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12644 if test `eval echo '${'$as_ac_var'}'` = yes; then
12645 cat >>confdefs.h <<_ACEOF
12646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12647 _ACEOF
12650 done
12652 else
12654 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12655 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12656 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12657 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12658 echo $ECHO_N "(cached) $ECHO_C" >&6
12659 else
12663 ac_ext=cc
12664 ac_cpp='$CXXCPP $CPPFLAGS'
12665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12669 cat >conftest.$ac_ext <<_ACEOF
12670 /* confdefs.h. */
12671 _ACEOF
12672 cat confdefs.h >>conftest.$ac_ext
12673 cat >>conftest.$ac_ext <<_ACEOF
12674 /* end confdefs.h. */
12675 #include <math.h>
12676 #ifdef HAVE_IEEEFP_H
12677 #include <ieeefp.h>
12678 #endif
12681 main ()
12683 _isinff(0);
12685 return 0;
12687 _ACEOF
12688 rm -f conftest.$ac_objext
12689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12690 (eval $ac_compile) 2>conftest.er1
12691 ac_status=$?
12692 grep -v '^ *+' conftest.er1 >conftest.err
12693 rm -f conftest.er1
12694 cat conftest.err >&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); } &&
12697 { ac_try='test -z "$ac_cxx_werror_flag"
12698 || test ! -s conftest.err'
12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 (eval $ac_try) 2>&5
12701 ac_status=$?
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; } &&
12704 { ac_try='test -s conftest.$ac_objext'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12707 ac_status=$?
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; }; then
12710 glibcxx_cv_func__isinff_use=yes
12711 else
12712 echo "$as_me: failed program was:" >&5
12713 sed 's/^/| /' conftest.$ac_ext >&5
12715 glibcxx_cv_func__isinff_use=no
12717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12718 ac_ext=c
12719 ac_cpp='$CPP $CPPFLAGS'
12720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12728 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12729 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12731 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12733 for ac_func in _isinff
12735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12736 echo "$as_me:$LINENO: checking for $ac_func" >&5
12737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12738 if eval "test \"\${$as_ac_var+set}\" = set"; then
12739 echo $ECHO_N "(cached) $ECHO_C" >&6
12740 else
12741 if test x$gcc_no_link = xyes; then
12742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12744 { (exit 1); exit 1; }; }
12746 cat >conftest.$ac_ext <<_ACEOF
12747 /* confdefs.h. */
12748 _ACEOF
12749 cat confdefs.h >>conftest.$ac_ext
12750 cat >>conftest.$ac_ext <<_ACEOF
12751 /* end confdefs.h. */
12752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12754 #define $ac_func innocuous_$ac_func
12756 /* System header to define __stub macros and hopefully few prototypes,
12757 which can conflict with char $ac_func (); below.
12758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12759 <limits.h> exists even on freestanding compilers. */
12761 #ifdef __STDC__
12762 # include <limits.h>
12763 #else
12764 # include <assert.h>
12765 #endif
12767 #undef $ac_func
12769 /* Override any gcc2 internal prototype to avoid an error. */
12770 #ifdef __cplusplus
12771 extern "C"
12773 #endif
12774 /* We use char because int might match the return type of a gcc2
12775 builtin and then its argument prototype would still apply. */
12776 char $ac_func ();
12777 /* The GNU C library defines this for functions which it implements
12778 to always fail with ENOSYS. Some functions are actually named
12779 something starting with __ and the normal name is an alias. */
12780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12781 choke me
12782 #else
12783 char (*f) () = $ac_func;
12784 #endif
12785 #ifdef __cplusplus
12787 #endif
12790 main ()
12792 return f != $ac_func;
12794 return 0;
12796 _ACEOF
12797 rm -f conftest.$ac_objext conftest$ac_exeext
12798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12799 (eval $ac_link) 2>conftest.er1
12800 ac_status=$?
12801 grep -v '^ *+' conftest.er1 >conftest.err
12802 rm -f conftest.er1
12803 cat conftest.err >&5
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); } &&
12806 { ac_try='test -z "$ac_c_werror_flag"
12807 || test ! -s conftest.err'
12808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12809 (eval $ac_try) 2>&5
12810 ac_status=$?
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); }; } &&
12813 { ac_try='test -s conftest$ac_exeext'
12814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12815 (eval $ac_try) 2>&5
12816 ac_status=$?
12817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12818 (exit $ac_status); }; }; then
12819 eval "$as_ac_var=yes"
12820 else
12821 echo "$as_me: failed program was:" >&5
12822 sed 's/^/| /' conftest.$ac_ext >&5
12824 eval "$as_ac_var=no"
12826 rm -f conftest.err conftest.$ac_objext \
12827 conftest$ac_exeext conftest.$ac_ext
12829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12831 if test `eval echo '${'$as_ac_var'}'` = yes; then
12832 cat >>confdefs.h <<_ACEOF
12833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12834 _ACEOF
12837 done
12844 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12845 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12846 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12847 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12848 echo $ECHO_N "(cached) $ECHO_C" >&6
12849 else
12853 ac_ext=cc
12854 ac_cpp='$CXXCPP $CPPFLAGS'
12855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12859 cat >conftest.$ac_ext <<_ACEOF
12860 /* confdefs.h. */
12861 _ACEOF
12862 cat confdefs.h >>conftest.$ac_ext
12863 cat >>conftest.$ac_ext <<_ACEOF
12864 /* end confdefs.h. */
12865 #include <math.h>
12867 main ()
12869 atan2f(0, 0);
12871 return 0;
12873 _ACEOF
12874 rm -f conftest.$ac_objext
12875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12876 (eval $ac_compile) 2>conftest.er1
12877 ac_status=$?
12878 grep -v '^ *+' conftest.er1 >conftest.err
12879 rm -f conftest.er1
12880 cat conftest.err >&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } &&
12883 { ac_try='test -z "$ac_cxx_werror_flag"
12884 || test ! -s conftest.err'
12885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12886 (eval $ac_try) 2>&5
12887 ac_status=$?
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); }; } &&
12890 { ac_try='test -s conftest.$ac_objext'
12891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12892 (eval $ac_try) 2>&5
12893 ac_status=$?
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }; }; then
12896 glibcxx_cv_func_atan2f_use=yes
12897 else
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.$ac_ext >&5
12901 glibcxx_cv_func_atan2f_use=no
12903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12904 ac_ext=c
12905 ac_cpp='$CPP $CPPFLAGS'
12906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12914 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12915 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12917 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12919 for ac_func in atan2f
12921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12922 echo "$as_me:$LINENO: checking for $ac_func" >&5
12923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12924 if eval "test \"\${$as_ac_var+set}\" = set"; then
12925 echo $ECHO_N "(cached) $ECHO_C" >&6
12926 else
12927 if test x$gcc_no_link = xyes; then
12928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12930 { (exit 1); exit 1; }; }
12932 cat >conftest.$ac_ext <<_ACEOF
12933 /* confdefs.h. */
12934 _ACEOF
12935 cat confdefs.h >>conftest.$ac_ext
12936 cat >>conftest.$ac_ext <<_ACEOF
12937 /* end confdefs.h. */
12938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12940 #define $ac_func innocuous_$ac_func
12942 /* System header to define __stub macros and hopefully few prototypes,
12943 which can conflict with char $ac_func (); below.
12944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12945 <limits.h> exists even on freestanding compilers. */
12947 #ifdef __STDC__
12948 # include <limits.h>
12949 #else
12950 # include <assert.h>
12951 #endif
12953 #undef $ac_func
12955 /* Override any gcc2 internal prototype to avoid an error. */
12956 #ifdef __cplusplus
12957 extern "C"
12959 #endif
12960 /* We use char because int might match the return type of a gcc2
12961 builtin and then its argument prototype would still apply. */
12962 char $ac_func ();
12963 /* The GNU C library defines this for functions which it implements
12964 to always fail with ENOSYS. Some functions are actually named
12965 something starting with __ and the normal name is an alias. */
12966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12967 choke me
12968 #else
12969 char (*f) () = $ac_func;
12970 #endif
12971 #ifdef __cplusplus
12973 #endif
12976 main ()
12978 return f != $ac_func;
12980 return 0;
12982 _ACEOF
12983 rm -f conftest.$ac_objext conftest$ac_exeext
12984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12985 (eval $ac_link) 2>conftest.er1
12986 ac_status=$?
12987 grep -v '^ *+' conftest.er1 >conftest.err
12988 rm -f conftest.er1
12989 cat conftest.err >&5
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); } &&
12992 { ac_try='test -z "$ac_c_werror_flag"
12993 || test ! -s conftest.err'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; } &&
12999 { ac_try='test -s conftest$ac_exeext'
13000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13001 (eval $ac_try) 2>&5
13002 ac_status=$?
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); }; }; then
13005 eval "$as_ac_var=yes"
13006 else
13007 echo "$as_me: failed program was:" >&5
13008 sed 's/^/| /' conftest.$ac_ext >&5
13010 eval "$as_ac_var=no"
13012 rm -f conftest.err conftest.$ac_objext \
13013 conftest$ac_exeext conftest.$ac_ext
13015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13017 if test `eval echo '${'$as_ac_var'}'` = yes; then
13018 cat >>confdefs.h <<_ACEOF
13019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13020 _ACEOF
13023 done
13025 else
13027 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13028 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13029 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13030 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13031 echo $ECHO_N "(cached) $ECHO_C" >&6
13032 else
13036 ac_ext=cc
13037 ac_cpp='$CXXCPP $CPPFLAGS'
13038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13042 cat >conftest.$ac_ext <<_ACEOF
13043 /* confdefs.h. */
13044 _ACEOF
13045 cat confdefs.h >>conftest.$ac_ext
13046 cat >>conftest.$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13048 #include <math.h>
13050 main ()
13052 _atan2f(0, 0);
13054 return 0;
13056 _ACEOF
13057 rm -f conftest.$ac_objext
13058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13059 (eval $ac_compile) 2>conftest.er1
13060 ac_status=$?
13061 grep -v '^ *+' conftest.er1 >conftest.err
13062 rm -f conftest.er1
13063 cat conftest.err >&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); } &&
13066 { ac_try='test -z "$ac_cxx_werror_flag"
13067 || test ! -s conftest.err'
13068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 (eval $ac_try) 2>&5
13070 ac_status=$?
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; } &&
13073 { ac_try='test -s conftest.$ac_objext'
13074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13075 (eval $ac_try) 2>&5
13076 ac_status=$?
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); }; }; then
13079 glibcxx_cv_func__atan2f_use=yes
13080 else
13081 echo "$as_me: failed program was:" >&5
13082 sed 's/^/| /' conftest.$ac_ext >&5
13084 glibcxx_cv_func__atan2f_use=no
13086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13087 ac_ext=c
13088 ac_cpp='$CPP $CPPFLAGS'
13089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13097 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13098 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13100 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13102 for ac_func in _atan2f
13104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13105 echo "$as_me:$LINENO: checking for $ac_func" >&5
13106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13107 if eval "test \"\${$as_ac_var+set}\" = set"; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13109 else
13110 if test x$gcc_no_link = xyes; then
13111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13113 { (exit 1); exit 1; }; }
13115 cat >conftest.$ac_ext <<_ACEOF
13116 /* confdefs.h. */
13117 _ACEOF
13118 cat confdefs.h >>conftest.$ac_ext
13119 cat >>conftest.$ac_ext <<_ACEOF
13120 /* end confdefs.h. */
13121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13123 #define $ac_func innocuous_$ac_func
13125 /* System header to define __stub macros and hopefully few prototypes,
13126 which can conflict with char $ac_func (); below.
13127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13128 <limits.h> exists even on freestanding compilers. */
13130 #ifdef __STDC__
13131 # include <limits.h>
13132 #else
13133 # include <assert.h>
13134 #endif
13136 #undef $ac_func
13138 /* Override any gcc2 internal prototype to avoid an error. */
13139 #ifdef __cplusplus
13140 extern "C"
13142 #endif
13143 /* We use char because int might match the return type of a gcc2
13144 builtin and then its argument prototype would still apply. */
13145 char $ac_func ();
13146 /* The GNU C library defines this for functions which it implements
13147 to always fail with ENOSYS. Some functions are actually named
13148 something starting with __ and the normal name is an alias. */
13149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13150 choke me
13151 #else
13152 char (*f) () = $ac_func;
13153 #endif
13154 #ifdef __cplusplus
13156 #endif
13159 main ()
13161 return f != $ac_func;
13163 return 0;
13165 _ACEOF
13166 rm -f conftest.$ac_objext conftest$ac_exeext
13167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13168 (eval $ac_link) 2>conftest.er1
13169 ac_status=$?
13170 grep -v '^ *+' conftest.er1 >conftest.err
13171 rm -f conftest.er1
13172 cat conftest.err >&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); } &&
13175 { ac_try='test -z "$ac_c_werror_flag"
13176 || test ! -s conftest.err'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13179 ac_status=$?
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; } &&
13182 { ac_try='test -s conftest$ac_exeext'
13183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13184 (eval $ac_try) 2>&5
13185 ac_status=$?
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); }; }; then
13188 eval "$as_ac_var=yes"
13189 else
13190 echo "$as_me: failed program was:" >&5
13191 sed 's/^/| /' conftest.$ac_ext >&5
13193 eval "$as_ac_var=no"
13195 rm -f conftest.err conftest.$ac_objext \
13196 conftest$ac_exeext conftest.$ac_ext
13198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13200 if test `eval echo '${'$as_ac_var'}'` = yes; then
13201 cat >>confdefs.h <<_ACEOF
13202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13203 _ACEOF
13206 done
13213 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13214 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13215 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13216 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13217 echo $ECHO_N "(cached) $ECHO_C" >&6
13218 else
13222 ac_ext=cc
13223 ac_cpp='$CXXCPP $CPPFLAGS'
13224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13228 cat >conftest.$ac_ext <<_ACEOF
13229 /* confdefs.h. */
13230 _ACEOF
13231 cat confdefs.h >>conftest.$ac_ext
13232 cat >>conftest.$ac_ext <<_ACEOF
13233 /* end confdefs.h. */
13234 #include <math.h>
13235 #ifdef HAVE_IEEEFP_H
13236 #include <ieeefp.h>
13237 #endif
13240 main ()
13242 fabsf(0);
13244 return 0;
13246 _ACEOF
13247 rm -f conftest.$ac_objext
13248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13249 (eval $ac_compile) 2>conftest.er1
13250 ac_status=$?
13251 grep -v '^ *+' conftest.er1 >conftest.err
13252 rm -f conftest.er1
13253 cat conftest.err >&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } &&
13256 { ac_try='test -z "$ac_cxx_werror_flag"
13257 || test ! -s conftest.err'
13258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13259 (eval $ac_try) 2>&5
13260 ac_status=$?
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); }; } &&
13263 { ac_try='test -s conftest.$ac_objext'
13264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13265 (eval $ac_try) 2>&5
13266 ac_status=$?
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }; }; then
13269 glibcxx_cv_func_fabsf_use=yes
13270 else
13271 echo "$as_me: failed program was:" >&5
13272 sed 's/^/| /' conftest.$ac_ext >&5
13274 glibcxx_cv_func_fabsf_use=no
13276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13277 ac_ext=c
13278 ac_cpp='$CPP $CPPFLAGS'
13279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13287 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13288 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13290 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13292 for ac_func in fabsf
13294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13295 echo "$as_me:$LINENO: checking for $ac_func" >&5
13296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13297 if eval "test \"\${$as_ac_var+set}\" = set"; then
13298 echo $ECHO_N "(cached) $ECHO_C" >&6
13299 else
13300 if test x$gcc_no_link = xyes; then
13301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13303 { (exit 1); exit 1; }; }
13305 cat >conftest.$ac_ext <<_ACEOF
13306 /* confdefs.h. */
13307 _ACEOF
13308 cat confdefs.h >>conftest.$ac_ext
13309 cat >>conftest.$ac_ext <<_ACEOF
13310 /* end confdefs.h. */
13311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13313 #define $ac_func innocuous_$ac_func
13315 /* System header to define __stub macros and hopefully few prototypes,
13316 which can conflict with char $ac_func (); below.
13317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13318 <limits.h> exists even on freestanding compilers. */
13320 #ifdef __STDC__
13321 # include <limits.h>
13322 #else
13323 # include <assert.h>
13324 #endif
13326 #undef $ac_func
13328 /* Override any gcc2 internal prototype to avoid an error. */
13329 #ifdef __cplusplus
13330 extern "C"
13332 #endif
13333 /* We use char because int might match the return type of a gcc2
13334 builtin and then its argument prototype would still apply. */
13335 char $ac_func ();
13336 /* The GNU C library defines this for functions which it implements
13337 to always fail with ENOSYS. Some functions are actually named
13338 something starting with __ and the normal name is an alias. */
13339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13340 choke me
13341 #else
13342 char (*f) () = $ac_func;
13343 #endif
13344 #ifdef __cplusplus
13346 #endif
13349 main ()
13351 return f != $ac_func;
13353 return 0;
13355 _ACEOF
13356 rm -f conftest.$ac_objext conftest$ac_exeext
13357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13358 (eval $ac_link) 2>conftest.er1
13359 ac_status=$?
13360 grep -v '^ *+' conftest.er1 >conftest.err
13361 rm -f conftest.er1
13362 cat conftest.err >&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } &&
13365 { ac_try='test -z "$ac_c_werror_flag"
13366 || test ! -s conftest.err'
13367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13368 (eval $ac_try) 2>&5
13369 ac_status=$?
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); }; } &&
13372 { ac_try='test -s conftest$ac_exeext'
13373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 (eval $ac_try) 2>&5
13375 ac_status=$?
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; }; then
13378 eval "$as_ac_var=yes"
13379 else
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.$ac_ext >&5
13383 eval "$as_ac_var=no"
13385 rm -f conftest.err conftest.$ac_objext \
13386 conftest$ac_exeext conftest.$ac_ext
13388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13390 if test `eval echo '${'$as_ac_var'}'` = yes; then
13391 cat >>confdefs.h <<_ACEOF
13392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13393 _ACEOF
13396 done
13398 else
13400 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13401 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13402 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13403 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13404 echo $ECHO_N "(cached) $ECHO_C" >&6
13405 else
13409 ac_ext=cc
13410 ac_cpp='$CXXCPP $CPPFLAGS'
13411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13415 cat >conftest.$ac_ext <<_ACEOF
13416 /* confdefs.h. */
13417 _ACEOF
13418 cat confdefs.h >>conftest.$ac_ext
13419 cat >>conftest.$ac_ext <<_ACEOF
13420 /* end confdefs.h. */
13421 #include <math.h>
13422 #ifdef HAVE_IEEEFP_H
13423 #include <ieeefp.h>
13424 #endif
13427 main ()
13429 _fabsf(0);
13431 return 0;
13433 _ACEOF
13434 rm -f conftest.$ac_objext
13435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13436 (eval $ac_compile) 2>conftest.er1
13437 ac_status=$?
13438 grep -v '^ *+' conftest.er1 >conftest.err
13439 rm -f conftest.er1
13440 cat conftest.err >&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); } &&
13443 { ac_try='test -z "$ac_cxx_werror_flag"
13444 || test ! -s conftest.err'
13445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446 (eval $ac_try) 2>&5
13447 ac_status=$?
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); }; } &&
13450 { ac_try='test -s conftest.$ac_objext'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13453 ac_status=$?
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; }; then
13456 glibcxx_cv_func__fabsf_use=yes
13457 else
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13461 glibcxx_cv_func__fabsf_use=no
13463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13464 ac_ext=c
13465 ac_cpp='$CPP $CPPFLAGS'
13466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13474 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13475 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13477 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13479 for ac_func in _fabsf
13481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13482 echo "$as_me:$LINENO: checking for $ac_func" >&5
13483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13484 if eval "test \"\${$as_ac_var+set}\" = set"; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 else
13487 if test x$gcc_no_link = xyes; then
13488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13490 { (exit 1); exit 1; }; }
13492 cat >conftest.$ac_ext <<_ACEOF
13493 /* confdefs.h. */
13494 _ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13500 #define $ac_func innocuous_$ac_func
13502 /* System header to define __stub macros and hopefully few prototypes,
13503 which can conflict with char $ac_func (); below.
13504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13505 <limits.h> exists even on freestanding compilers. */
13507 #ifdef __STDC__
13508 # include <limits.h>
13509 #else
13510 # include <assert.h>
13511 #endif
13513 #undef $ac_func
13515 /* Override any gcc2 internal prototype to avoid an error. */
13516 #ifdef __cplusplus
13517 extern "C"
13519 #endif
13520 /* We use char because int might match the return type of a gcc2
13521 builtin and then its argument prototype would still apply. */
13522 char $ac_func ();
13523 /* The GNU C library defines this for functions which it implements
13524 to always fail with ENOSYS. Some functions are actually named
13525 something starting with __ and the normal name is an alias. */
13526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13527 choke me
13528 #else
13529 char (*f) () = $ac_func;
13530 #endif
13531 #ifdef __cplusplus
13533 #endif
13536 main ()
13538 return f != $ac_func;
13540 return 0;
13542 _ACEOF
13543 rm -f conftest.$ac_objext conftest$ac_exeext
13544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13545 (eval $ac_link) 2>conftest.er1
13546 ac_status=$?
13547 grep -v '^ *+' conftest.er1 >conftest.err
13548 rm -f conftest.er1
13549 cat conftest.err >&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); } &&
13552 { ac_try='test -z "$ac_c_werror_flag"
13553 || test ! -s conftest.err'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13556 ac_status=$?
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; } &&
13559 { ac_try='test -s conftest$ac_exeext'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13562 ac_status=$?
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; }; then
13565 eval "$as_ac_var=yes"
13566 else
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13570 eval "$as_ac_var=no"
13572 rm -f conftest.err conftest.$ac_objext \
13573 conftest$ac_exeext conftest.$ac_ext
13575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13577 if test `eval echo '${'$as_ac_var'}'` = yes; then
13578 cat >>confdefs.h <<_ACEOF
13579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13580 _ACEOF
13583 done
13590 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13591 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13592 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13593 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13594 echo $ECHO_N "(cached) $ECHO_C" >&6
13595 else
13599 ac_ext=cc
13600 ac_cpp='$CXXCPP $CPPFLAGS'
13601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13605 cat >conftest.$ac_ext <<_ACEOF
13606 /* confdefs.h. */
13607 _ACEOF
13608 cat confdefs.h >>conftest.$ac_ext
13609 cat >>conftest.$ac_ext <<_ACEOF
13610 /* end confdefs.h. */
13611 #include <math.h>
13613 main ()
13615 fmodf(0, 0);
13617 return 0;
13619 _ACEOF
13620 rm -f conftest.$ac_objext
13621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13622 (eval $ac_compile) 2>conftest.er1
13623 ac_status=$?
13624 grep -v '^ *+' conftest.er1 >conftest.err
13625 rm -f conftest.er1
13626 cat conftest.err >&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); } &&
13629 { ac_try='test -z "$ac_cxx_werror_flag"
13630 || test ! -s conftest.err'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13633 ac_status=$?
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; } &&
13636 { ac_try='test -s conftest.$ac_objext'
13637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13638 (eval $ac_try) 2>&5
13639 ac_status=$?
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); }; }; then
13642 glibcxx_cv_func_fmodf_use=yes
13643 else
13644 echo "$as_me: failed program was:" >&5
13645 sed 's/^/| /' conftest.$ac_ext >&5
13647 glibcxx_cv_func_fmodf_use=no
13649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13650 ac_ext=c
13651 ac_cpp='$CPP $CPPFLAGS'
13652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13660 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13661 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13663 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13665 for ac_func in fmodf
13667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13668 echo "$as_me:$LINENO: checking for $ac_func" >&5
13669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13670 if eval "test \"\${$as_ac_var+set}\" = set"; then
13671 echo $ECHO_N "(cached) $ECHO_C" >&6
13672 else
13673 if test x$gcc_no_link = xyes; then
13674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13676 { (exit 1); exit 1; }; }
13678 cat >conftest.$ac_ext <<_ACEOF
13679 /* confdefs.h. */
13680 _ACEOF
13681 cat confdefs.h >>conftest.$ac_ext
13682 cat >>conftest.$ac_ext <<_ACEOF
13683 /* end confdefs.h. */
13684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13686 #define $ac_func innocuous_$ac_func
13688 /* System header to define __stub macros and hopefully few prototypes,
13689 which can conflict with char $ac_func (); below.
13690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13691 <limits.h> exists even on freestanding compilers. */
13693 #ifdef __STDC__
13694 # include <limits.h>
13695 #else
13696 # include <assert.h>
13697 #endif
13699 #undef $ac_func
13701 /* Override any gcc2 internal prototype to avoid an error. */
13702 #ifdef __cplusplus
13703 extern "C"
13705 #endif
13706 /* We use char because int might match the return type of a gcc2
13707 builtin and then its argument prototype would still apply. */
13708 char $ac_func ();
13709 /* The GNU C library defines this for functions which it implements
13710 to always fail with ENOSYS. Some functions are actually named
13711 something starting with __ and the normal name is an alias. */
13712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13713 choke me
13714 #else
13715 char (*f) () = $ac_func;
13716 #endif
13717 #ifdef __cplusplus
13719 #endif
13722 main ()
13724 return f != $ac_func;
13726 return 0;
13728 _ACEOF
13729 rm -f conftest.$ac_objext conftest$ac_exeext
13730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13731 (eval $ac_link) 2>conftest.er1
13732 ac_status=$?
13733 grep -v '^ *+' conftest.er1 >conftest.err
13734 rm -f conftest.er1
13735 cat conftest.err >&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); } &&
13738 { ac_try='test -z "$ac_c_werror_flag"
13739 || test ! -s conftest.err'
13740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13741 (eval $ac_try) 2>&5
13742 ac_status=$?
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); }; } &&
13745 { ac_try='test -s conftest$ac_exeext'
13746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13747 (eval $ac_try) 2>&5
13748 ac_status=$?
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); }; }; then
13751 eval "$as_ac_var=yes"
13752 else
13753 echo "$as_me: failed program was:" >&5
13754 sed 's/^/| /' conftest.$ac_ext >&5
13756 eval "$as_ac_var=no"
13758 rm -f conftest.err conftest.$ac_objext \
13759 conftest$ac_exeext conftest.$ac_ext
13761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13763 if test `eval echo '${'$as_ac_var'}'` = yes; then
13764 cat >>confdefs.h <<_ACEOF
13765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13766 _ACEOF
13769 done
13771 else
13773 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13774 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13775 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13776 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13777 echo $ECHO_N "(cached) $ECHO_C" >&6
13778 else
13782 ac_ext=cc
13783 ac_cpp='$CXXCPP $CPPFLAGS'
13784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13788 cat >conftest.$ac_ext <<_ACEOF
13789 /* confdefs.h. */
13790 _ACEOF
13791 cat confdefs.h >>conftest.$ac_ext
13792 cat >>conftest.$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13794 #include <math.h>
13796 main ()
13798 _fmodf(0, 0);
13800 return 0;
13802 _ACEOF
13803 rm -f conftest.$ac_objext
13804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13805 (eval $ac_compile) 2>conftest.er1
13806 ac_status=$?
13807 grep -v '^ *+' conftest.er1 >conftest.err
13808 rm -f conftest.er1
13809 cat conftest.err >&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } &&
13812 { ac_try='test -z "$ac_cxx_werror_flag"
13813 || test ! -s conftest.err'
13814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13815 (eval $ac_try) 2>&5
13816 ac_status=$?
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); }; } &&
13819 { ac_try='test -s conftest.$ac_objext'
13820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13821 (eval $ac_try) 2>&5
13822 ac_status=$?
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); }; }; then
13825 glibcxx_cv_func__fmodf_use=yes
13826 else
13827 echo "$as_me: failed program was:" >&5
13828 sed 's/^/| /' conftest.$ac_ext >&5
13830 glibcxx_cv_func__fmodf_use=no
13832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13833 ac_ext=c
13834 ac_cpp='$CPP $CPPFLAGS'
13835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13843 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13844 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13846 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13848 for ac_func in _fmodf
13850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13851 echo "$as_me:$LINENO: checking for $ac_func" >&5
13852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13853 if eval "test \"\${$as_ac_var+set}\" = set"; then
13854 echo $ECHO_N "(cached) $ECHO_C" >&6
13855 else
13856 if test x$gcc_no_link = xyes; then
13857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13859 { (exit 1); exit 1; }; }
13861 cat >conftest.$ac_ext <<_ACEOF
13862 /* confdefs.h. */
13863 _ACEOF
13864 cat confdefs.h >>conftest.$ac_ext
13865 cat >>conftest.$ac_ext <<_ACEOF
13866 /* end confdefs.h. */
13867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13869 #define $ac_func innocuous_$ac_func
13871 /* System header to define __stub macros and hopefully few prototypes,
13872 which can conflict with char $ac_func (); below.
13873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13874 <limits.h> exists even on freestanding compilers. */
13876 #ifdef __STDC__
13877 # include <limits.h>
13878 #else
13879 # include <assert.h>
13880 #endif
13882 #undef $ac_func
13884 /* Override any gcc2 internal prototype to avoid an error. */
13885 #ifdef __cplusplus
13886 extern "C"
13888 #endif
13889 /* We use char because int might match the return type of a gcc2
13890 builtin and then its argument prototype would still apply. */
13891 char $ac_func ();
13892 /* The GNU C library defines this for functions which it implements
13893 to always fail with ENOSYS. Some functions are actually named
13894 something starting with __ and the normal name is an alias. */
13895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13896 choke me
13897 #else
13898 char (*f) () = $ac_func;
13899 #endif
13900 #ifdef __cplusplus
13902 #endif
13905 main ()
13907 return f != $ac_func;
13909 return 0;
13911 _ACEOF
13912 rm -f conftest.$ac_objext conftest$ac_exeext
13913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13914 (eval $ac_link) 2>conftest.er1
13915 ac_status=$?
13916 grep -v '^ *+' conftest.er1 >conftest.err
13917 rm -f conftest.er1
13918 cat conftest.err >&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); } &&
13921 { ac_try='test -z "$ac_c_werror_flag"
13922 || test ! -s conftest.err'
13923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13924 (eval $ac_try) 2>&5
13925 ac_status=$?
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }; } &&
13928 { ac_try='test -s conftest$ac_exeext'
13929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13930 (eval $ac_try) 2>&5
13931 ac_status=$?
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; }; then
13934 eval "$as_ac_var=yes"
13935 else
13936 echo "$as_me: failed program was:" >&5
13937 sed 's/^/| /' conftest.$ac_ext >&5
13939 eval "$as_ac_var=no"
13941 rm -f conftest.err conftest.$ac_objext \
13942 conftest$ac_exeext conftest.$ac_ext
13944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13946 if test `eval echo '${'$as_ac_var'}'` = yes; then
13947 cat >>confdefs.h <<_ACEOF
13948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13949 _ACEOF
13952 done
13959 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13960 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13961 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13962 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13963 echo $ECHO_N "(cached) $ECHO_C" >&6
13964 else
13968 ac_ext=cc
13969 ac_cpp='$CXXCPP $CPPFLAGS'
13970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13974 cat >conftest.$ac_ext <<_ACEOF
13975 /* confdefs.h. */
13976 _ACEOF
13977 cat confdefs.h >>conftest.$ac_ext
13978 cat >>conftest.$ac_ext <<_ACEOF
13979 /* end confdefs.h. */
13980 #include <math.h>
13982 main ()
13984 frexpf(0, 0);
13986 return 0;
13988 _ACEOF
13989 rm -f conftest.$ac_objext
13990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13991 (eval $ac_compile) 2>conftest.er1
13992 ac_status=$?
13993 grep -v '^ *+' conftest.er1 >conftest.err
13994 rm -f conftest.er1
13995 cat conftest.err >&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); } &&
13998 { ac_try='test -z "$ac_cxx_werror_flag"
13999 || test ! -s conftest.err'
14000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14002 ac_status=$?
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; } &&
14005 { ac_try='test -s conftest.$ac_objext'
14006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14007 (eval $ac_try) 2>&5
14008 ac_status=$?
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); }; }; then
14011 glibcxx_cv_func_frexpf_use=yes
14012 else
14013 echo "$as_me: failed program was:" >&5
14014 sed 's/^/| /' conftest.$ac_ext >&5
14016 glibcxx_cv_func_frexpf_use=no
14018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14019 ac_ext=c
14020 ac_cpp='$CPP $CPPFLAGS'
14021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14030 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14032 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14034 for ac_func in frexpf
14036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14037 echo "$as_me:$LINENO: checking for $ac_func" >&5
14038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14039 if eval "test \"\${$as_ac_var+set}\" = set"; then
14040 echo $ECHO_N "(cached) $ECHO_C" >&6
14041 else
14042 if test x$gcc_no_link = xyes; then
14043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14045 { (exit 1); exit 1; }; }
14047 cat >conftest.$ac_ext <<_ACEOF
14048 /* confdefs.h. */
14049 _ACEOF
14050 cat confdefs.h >>conftest.$ac_ext
14051 cat >>conftest.$ac_ext <<_ACEOF
14052 /* end confdefs.h. */
14053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14055 #define $ac_func innocuous_$ac_func
14057 /* System header to define __stub macros and hopefully few prototypes,
14058 which can conflict with char $ac_func (); below.
14059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14060 <limits.h> exists even on freestanding compilers. */
14062 #ifdef __STDC__
14063 # include <limits.h>
14064 #else
14065 # include <assert.h>
14066 #endif
14068 #undef $ac_func
14070 /* Override any gcc2 internal prototype to avoid an error. */
14071 #ifdef __cplusplus
14072 extern "C"
14074 #endif
14075 /* We use char because int might match the return type of a gcc2
14076 builtin and then its argument prototype would still apply. */
14077 char $ac_func ();
14078 /* The GNU C library defines this for functions which it implements
14079 to always fail with ENOSYS. Some functions are actually named
14080 something starting with __ and the normal name is an alias. */
14081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14082 choke me
14083 #else
14084 char (*f) () = $ac_func;
14085 #endif
14086 #ifdef __cplusplus
14088 #endif
14091 main ()
14093 return f != $ac_func;
14095 return 0;
14097 _ACEOF
14098 rm -f conftest.$ac_objext conftest$ac_exeext
14099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14100 (eval $ac_link) 2>conftest.er1
14101 ac_status=$?
14102 grep -v '^ *+' conftest.er1 >conftest.err
14103 rm -f conftest.er1
14104 cat conftest.err >&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); } &&
14107 { ac_try='test -z "$ac_c_werror_flag"
14108 || test ! -s conftest.err'
14109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14110 (eval $ac_try) 2>&5
14111 ac_status=$?
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); }; } &&
14114 { ac_try='test -s conftest$ac_exeext'
14115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14116 (eval $ac_try) 2>&5
14117 ac_status=$?
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); }; }; then
14120 eval "$as_ac_var=yes"
14121 else
14122 echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.$ac_ext >&5
14125 eval "$as_ac_var=no"
14127 rm -f conftest.err conftest.$ac_objext \
14128 conftest$ac_exeext conftest.$ac_ext
14130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14132 if test `eval echo '${'$as_ac_var'}'` = yes; then
14133 cat >>confdefs.h <<_ACEOF
14134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14135 _ACEOF
14138 done
14140 else
14142 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14143 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14144 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14145 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 else
14151 ac_ext=cc
14152 ac_cpp='$CXXCPP $CPPFLAGS'
14153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14157 cat >conftest.$ac_ext <<_ACEOF
14158 /* confdefs.h. */
14159 _ACEOF
14160 cat confdefs.h >>conftest.$ac_ext
14161 cat >>conftest.$ac_ext <<_ACEOF
14162 /* end confdefs.h. */
14163 #include <math.h>
14165 main ()
14167 _frexpf(0, 0);
14169 return 0;
14171 _ACEOF
14172 rm -f conftest.$ac_objext
14173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14174 (eval $ac_compile) 2>conftest.er1
14175 ac_status=$?
14176 grep -v '^ *+' conftest.er1 >conftest.err
14177 rm -f conftest.er1
14178 cat conftest.err >&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } &&
14181 { ac_try='test -z "$ac_cxx_werror_flag"
14182 || test ! -s conftest.err'
14183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14184 (eval $ac_try) 2>&5
14185 ac_status=$?
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); }; } &&
14188 { ac_try='test -s conftest.$ac_objext'
14189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14190 (eval $ac_try) 2>&5
14191 ac_status=$?
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; }; then
14194 glibcxx_cv_func__frexpf_use=yes
14195 else
14196 echo "$as_me: failed program was:" >&5
14197 sed 's/^/| /' conftest.$ac_ext >&5
14199 glibcxx_cv_func__frexpf_use=no
14201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14202 ac_ext=c
14203 ac_cpp='$CPP $CPPFLAGS'
14204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14212 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14213 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14215 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14217 for ac_func in _frexpf
14219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14220 echo "$as_me:$LINENO: checking for $ac_func" >&5
14221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14222 if eval "test \"\${$as_ac_var+set}\" = set"; then
14223 echo $ECHO_N "(cached) $ECHO_C" >&6
14224 else
14225 if test x$gcc_no_link = xyes; then
14226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14228 { (exit 1); exit 1; }; }
14230 cat >conftest.$ac_ext <<_ACEOF
14231 /* confdefs.h. */
14232 _ACEOF
14233 cat confdefs.h >>conftest.$ac_ext
14234 cat >>conftest.$ac_ext <<_ACEOF
14235 /* end confdefs.h. */
14236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14238 #define $ac_func innocuous_$ac_func
14240 /* System header to define __stub macros and hopefully few prototypes,
14241 which can conflict with char $ac_func (); below.
14242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14243 <limits.h> exists even on freestanding compilers. */
14245 #ifdef __STDC__
14246 # include <limits.h>
14247 #else
14248 # include <assert.h>
14249 #endif
14251 #undef $ac_func
14253 /* Override any gcc2 internal prototype to avoid an error. */
14254 #ifdef __cplusplus
14255 extern "C"
14257 #endif
14258 /* We use char because int might match the return type of a gcc2
14259 builtin and then its argument prototype would still apply. */
14260 char $ac_func ();
14261 /* The GNU C library defines this for functions which it implements
14262 to always fail with ENOSYS. Some functions are actually named
14263 something starting with __ and the normal name is an alias. */
14264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14265 choke me
14266 #else
14267 char (*f) () = $ac_func;
14268 #endif
14269 #ifdef __cplusplus
14271 #endif
14274 main ()
14276 return f != $ac_func;
14278 return 0;
14280 _ACEOF
14281 rm -f conftest.$ac_objext conftest$ac_exeext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14283 (eval $ac_link) 2>conftest.er1
14284 ac_status=$?
14285 grep -v '^ *+' conftest.er1 >conftest.err
14286 rm -f conftest.er1
14287 cat conftest.err >&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } &&
14290 { ac_try='test -z "$ac_c_werror_flag"
14291 || test ! -s conftest.err'
14292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293 (eval $ac_try) 2>&5
14294 ac_status=$?
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }; } &&
14297 { ac_try='test -s conftest$ac_exeext'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14300 ac_status=$?
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; }; then
14303 eval "$as_ac_var=yes"
14304 else
14305 echo "$as_me: failed program was:" >&5
14306 sed 's/^/| /' conftest.$ac_ext >&5
14308 eval "$as_ac_var=no"
14310 rm -f conftest.err conftest.$ac_objext \
14311 conftest$ac_exeext conftest.$ac_ext
14313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14315 if test `eval echo '${'$as_ac_var'}'` = yes; then
14316 cat >>confdefs.h <<_ACEOF
14317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14318 _ACEOF
14321 done
14328 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14329 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14330 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14331 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14332 echo $ECHO_N "(cached) $ECHO_C" >&6
14333 else
14337 ac_ext=cc
14338 ac_cpp='$CXXCPP $CPPFLAGS'
14339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14343 cat >conftest.$ac_ext <<_ACEOF
14344 /* confdefs.h. */
14345 _ACEOF
14346 cat confdefs.h >>conftest.$ac_ext
14347 cat >>conftest.$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14349 #include <math.h>
14351 main ()
14353 hypotf(0, 0);
14355 return 0;
14357 _ACEOF
14358 rm -f conftest.$ac_objext
14359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14360 (eval $ac_compile) 2>conftest.er1
14361 ac_status=$?
14362 grep -v '^ *+' conftest.er1 >conftest.err
14363 rm -f conftest.er1
14364 cat conftest.err >&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } &&
14367 { ac_try='test -z "$ac_cxx_werror_flag"
14368 || test ! -s conftest.err'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14371 ac_status=$?
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; } &&
14374 { ac_try='test -s conftest.$ac_objext'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14377 ac_status=$?
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; }; then
14380 glibcxx_cv_func_hypotf_use=yes
14381 else
14382 echo "$as_me: failed program was:" >&5
14383 sed 's/^/| /' conftest.$ac_ext >&5
14385 glibcxx_cv_func_hypotf_use=no
14387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14388 ac_ext=c
14389 ac_cpp='$CPP $CPPFLAGS'
14390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14398 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14399 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14401 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14403 for ac_func in hypotf
14405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14406 echo "$as_me:$LINENO: checking for $ac_func" >&5
14407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14408 if eval "test \"\${$as_ac_var+set}\" = set"; then
14409 echo $ECHO_N "(cached) $ECHO_C" >&6
14410 else
14411 if test x$gcc_no_link = xyes; then
14412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14414 { (exit 1); exit 1; }; }
14416 cat >conftest.$ac_ext <<_ACEOF
14417 /* confdefs.h. */
14418 _ACEOF
14419 cat confdefs.h >>conftest.$ac_ext
14420 cat >>conftest.$ac_ext <<_ACEOF
14421 /* end confdefs.h. */
14422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14424 #define $ac_func innocuous_$ac_func
14426 /* System header to define __stub macros and hopefully few prototypes,
14427 which can conflict with char $ac_func (); below.
14428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14429 <limits.h> exists even on freestanding compilers. */
14431 #ifdef __STDC__
14432 # include <limits.h>
14433 #else
14434 # include <assert.h>
14435 #endif
14437 #undef $ac_func
14439 /* Override any gcc2 internal prototype to avoid an error. */
14440 #ifdef __cplusplus
14441 extern "C"
14443 #endif
14444 /* We use char because int might match the return type of a gcc2
14445 builtin and then its argument prototype would still apply. */
14446 char $ac_func ();
14447 /* The GNU C library defines this for functions which it implements
14448 to always fail with ENOSYS. Some functions are actually named
14449 something starting with __ and the normal name is an alias. */
14450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14451 choke me
14452 #else
14453 char (*f) () = $ac_func;
14454 #endif
14455 #ifdef __cplusplus
14457 #endif
14460 main ()
14462 return f != $ac_func;
14464 return 0;
14466 _ACEOF
14467 rm -f conftest.$ac_objext conftest$ac_exeext
14468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14469 (eval $ac_link) 2>conftest.er1
14470 ac_status=$?
14471 grep -v '^ *+' conftest.er1 >conftest.err
14472 rm -f conftest.er1
14473 cat conftest.err >&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } &&
14476 { ac_try='test -z "$ac_c_werror_flag"
14477 || test ! -s conftest.err'
14478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479 (eval $ac_try) 2>&5
14480 ac_status=$?
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); }; } &&
14483 { ac_try='test -s conftest$ac_exeext'
14484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14485 (eval $ac_try) 2>&5
14486 ac_status=$?
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); }; }; then
14489 eval "$as_ac_var=yes"
14490 else
14491 echo "$as_me: failed program was:" >&5
14492 sed 's/^/| /' conftest.$ac_ext >&5
14494 eval "$as_ac_var=no"
14496 rm -f conftest.err conftest.$ac_objext \
14497 conftest$ac_exeext conftest.$ac_ext
14499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14501 if test `eval echo '${'$as_ac_var'}'` = yes; then
14502 cat >>confdefs.h <<_ACEOF
14503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14504 _ACEOF
14507 done
14509 else
14511 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14512 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14513 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14514 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14516 else
14520 ac_ext=cc
14521 ac_cpp='$CXXCPP $CPPFLAGS'
14522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14526 cat >conftest.$ac_ext <<_ACEOF
14527 /* confdefs.h. */
14528 _ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14532 #include <math.h>
14534 main ()
14536 _hypotf(0, 0);
14538 return 0;
14540 _ACEOF
14541 rm -f conftest.$ac_objext
14542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14543 (eval $ac_compile) 2>conftest.er1
14544 ac_status=$?
14545 grep -v '^ *+' conftest.er1 >conftest.err
14546 rm -f conftest.er1
14547 cat conftest.err >&5
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); } &&
14550 { ac_try='test -z "$ac_cxx_werror_flag"
14551 || test ! -s conftest.err'
14552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14553 (eval $ac_try) 2>&5
14554 ac_status=$?
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); }; } &&
14557 { ac_try='test -s conftest.$ac_objext'
14558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14559 (eval $ac_try) 2>&5
14560 ac_status=$?
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; }; then
14563 glibcxx_cv_func__hypotf_use=yes
14564 else
14565 echo "$as_me: failed program was:" >&5
14566 sed 's/^/| /' conftest.$ac_ext >&5
14568 glibcxx_cv_func__hypotf_use=no
14570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14571 ac_ext=c
14572 ac_cpp='$CPP $CPPFLAGS'
14573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14582 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14584 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14586 for ac_func in _hypotf
14588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14589 echo "$as_me:$LINENO: checking for $ac_func" >&5
14590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14591 if eval "test \"\${$as_ac_var+set}\" = set"; then
14592 echo $ECHO_N "(cached) $ECHO_C" >&6
14593 else
14594 if test x$gcc_no_link = xyes; then
14595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14597 { (exit 1); exit 1; }; }
14599 cat >conftest.$ac_ext <<_ACEOF
14600 /* confdefs.h. */
14601 _ACEOF
14602 cat confdefs.h >>conftest.$ac_ext
14603 cat >>conftest.$ac_ext <<_ACEOF
14604 /* end confdefs.h. */
14605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14607 #define $ac_func innocuous_$ac_func
14609 /* System header to define __stub macros and hopefully few prototypes,
14610 which can conflict with char $ac_func (); below.
14611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14612 <limits.h> exists even on freestanding compilers. */
14614 #ifdef __STDC__
14615 # include <limits.h>
14616 #else
14617 # include <assert.h>
14618 #endif
14620 #undef $ac_func
14622 /* Override any gcc2 internal prototype to avoid an error. */
14623 #ifdef __cplusplus
14624 extern "C"
14626 #endif
14627 /* We use char because int might match the return type of a gcc2
14628 builtin and then its argument prototype would still apply. */
14629 char $ac_func ();
14630 /* The GNU C library defines this for functions which it implements
14631 to always fail with ENOSYS. Some functions are actually named
14632 something starting with __ and the normal name is an alias. */
14633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14634 choke me
14635 #else
14636 char (*f) () = $ac_func;
14637 #endif
14638 #ifdef __cplusplus
14640 #endif
14643 main ()
14645 return f != $ac_func;
14647 return 0;
14649 _ACEOF
14650 rm -f conftest.$ac_objext conftest$ac_exeext
14651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14652 (eval $ac_link) 2>conftest.er1
14653 ac_status=$?
14654 grep -v '^ *+' conftest.er1 >conftest.err
14655 rm -f conftest.er1
14656 cat conftest.err >&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } &&
14659 { ac_try='test -z "$ac_c_werror_flag"
14660 || test ! -s conftest.err'
14661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14662 (eval $ac_try) 2>&5
14663 ac_status=$?
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); }; } &&
14666 { ac_try='test -s conftest$ac_exeext'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14669 ac_status=$?
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; }; then
14672 eval "$as_ac_var=yes"
14673 else
14674 echo "$as_me: failed program was:" >&5
14675 sed 's/^/| /' conftest.$ac_ext >&5
14677 eval "$as_ac_var=no"
14679 rm -f conftest.err conftest.$ac_objext \
14680 conftest$ac_exeext conftest.$ac_ext
14682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14684 if test `eval echo '${'$as_ac_var'}'` = yes; then
14685 cat >>confdefs.h <<_ACEOF
14686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14687 _ACEOF
14690 done
14697 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14698 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14699 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14700 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14701 echo $ECHO_N "(cached) $ECHO_C" >&6
14702 else
14706 ac_ext=cc
14707 ac_cpp='$CXXCPP $CPPFLAGS'
14708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14712 cat >conftest.$ac_ext <<_ACEOF
14713 /* confdefs.h. */
14714 _ACEOF
14715 cat confdefs.h >>conftest.$ac_ext
14716 cat >>conftest.$ac_ext <<_ACEOF
14717 /* end confdefs.h. */
14718 #include <math.h>
14720 main ()
14722 ldexpf(0, 0);
14724 return 0;
14726 _ACEOF
14727 rm -f conftest.$ac_objext
14728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14729 (eval $ac_compile) 2>conftest.er1
14730 ac_status=$?
14731 grep -v '^ *+' conftest.er1 >conftest.err
14732 rm -f conftest.er1
14733 cat conftest.err >&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try='test -z "$ac_cxx_werror_flag"
14737 || test ! -s conftest.err'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; } &&
14743 { ac_try='test -s conftest.$ac_objext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14746 ac_status=$?
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 glibcxx_cv_func_ldexpf_use=yes
14750 else
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14754 glibcxx_cv_func_ldexpf_use=no
14756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14757 ac_ext=c
14758 ac_cpp='$CPP $CPPFLAGS'
14759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14767 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14768 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14770 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14772 for ac_func in ldexpf
14774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14775 echo "$as_me:$LINENO: checking for $ac_func" >&5
14776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14777 if eval "test \"\${$as_ac_var+set}\" = set"; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 else
14780 if test x$gcc_no_link = xyes; then
14781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14783 { (exit 1); exit 1; }; }
14785 cat >conftest.$ac_ext <<_ACEOF
14786 /* confdefs.h. */
14787 _ACEOF
14788 cat confdefs.h >>conftest.$ac_ext
14789 cat >>conftest.$ac_ext <<_ACEOF
14790 /* end confdefs.h. */
14791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14793 #define $ac_func innocuous_$ac_func
14795 /* System header to define __stub macros and hopefully few prototypes,
14796 which can conflict with char $ac_func (); below.
14797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14798 <limits.h> exists even on freestanding compilers. */
14800 #ifdef __STDC__
14801 # include <limits.h>
14802 #else
14803 # include <assert.h>
14804 #endif
14806 #undef $ac_func
14808 /* Override any gcc2 internal prototype to avoid an error. */
14809 #ifdef __cplusplus
14810 extern "C"
14812 #endif
14813 /* We use char because int might match the return type of a gcc2
14814 builtin and then its argument prototype would still apply. */
14815 char $ac_func ();
14816 /* The GNU C library defines this for functions which it implements
14817 to always fail with ENOSYS. Some functions are actually named
14818 something starting with __ and the normal name is an alias. */
14819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14820 choke me
14821 #else
14822 char (*f) () = $ac_func;
14823 #endif
14824 #ifdef __cplusplus
14826 #endif
14829 main ()
14831 return f != $ac_func;
14833 return 0;
14835 _ACEOF
14836 rm -f conftest.$ac_objext conftest$ac_exeext
14837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14838 (eval $ac_link) 2>conftest.er1
14839 ac_status=$?
14840 grep -v '^ *+' conftest.er1 >conftest.err
14841 rm -f conftest.er1
14842 cat conftest.err >&5
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); } &&
14845 { ac_try='test -z "$ac_c_werror_flag"
14846 || test ! -s conftest.err'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14849 ac_status=$?
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; } &&
14852 { ac_try='test -s conftest$ac_exeext'
14853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14854 (eval $ac_try) 2>&5
14855 ac_status=$?
14856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14857 (exit $ac_status); }; }; then
14858 eval "$as_ac_var=yes"
14859 else
14860 echo "$as_me: failed program was:" >&5
14861 sed 's/^/| /' conftest.$ac_ext >&5
14863 eval "$as_ac_var=no"
14865 rm -f conftest.err conftest.$ac_objext \
14866 conftest$ac_exeext conftest.$ac_ext
14868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14870 if test `eval echo '${'$as_ac_var'}'` = yes; then
14871 cat >>confdefs.h <<_ACEOF
14872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14873 _ACEOF
14876 done
14878 else
14880 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14881 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14882 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14883 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14884 echo $ECHO_N "(cached) $ECHO_C" >&6
14885 else
14889 ac_ext=cc
14890 ac_cpp='$CXXCPP $CPPFLAGS'
14891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14895 cat >conftest.$ac_ext <<_ACEOF
14896 /* confdefs.h. */
14897 _ACEOF
14898 cat confdefs.h >>conftest.$ac_ext
14899 cat >>conftest.$ac_ext <<_ACEOF
14900 /* end confdefs.h. */
14901 #include <math.h>
14903 main ()
14905 _ldexpf(0, 0);
14907 return 0;
14909 _ACEOF
14910 rm -f conftest.$ac_objext
14911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14912 (eval $ac_compile) 2>conftest.er1
14913 ac_status=$?
14914 grep -v '^ *+' conftest.er1 >conftest.err
14915 rm -f conftest.er1
14916 cat conftest.err >&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); } &&
14919 { ac_try='test -z "$ac_cxx_werror_flag"
14920 || test ! -s conftest.err'
14921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14922 (eval $ac_try) 2>&5
14923 ac_status=$?
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }; } &&
14926 { ac_try='test -s conftest.$ac_objext'
14927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14928 (eval $ac_try) 2>&5
14929 ac_status=$?
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; }; then
14932 glibcxx_cv_func__ldexpf_use=yes
14933 else
14934 echo "$as_me: failed program was:" >&5
14935 sed 's/^/| /' conftest.$ac_ext >&5
14937 glibcxx_cv_func__ldexpf_use=no
14939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14940 ac_ext=c
14941 ac_cpp='$CPP $CPPFLAGS'
14942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14950 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14951 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14953 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14955 for ac_func in _ldexpf
14957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14958 echo "$as_me:$LINENO: checking for $ac_func" >&5
14959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14960 if eval "test \"\${$as_ac_var+set}\" = set"; then
14961 echo $ECHO_N "(cached) $ECHO_C" >&6
14962 else
14963 if test x$gcc_no_link = xyes; then
14964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14966 { (exit 1); exit 1; }; }
14968 cat >conftest.$ac_ext <<_ACEOF
14969 /* confdefs.h. */
14970 _ACEOF
14971 cat confdefs.h >>conftest.$ac_ext
14972 cat >>conftest.$ac_ext <<_ACEOF
14973 /* end confdefs.h. */
14974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14976 #define $ac_func innocuous_$ac_func
14978 /* System header to define __stub macros and hopefully few prototypes,
14979 which can conflict with char $ac_func (); below.
14980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14981 <limits.h> exists even on freestanding compilers. */
14983 #ifdef __STDC__
14984 # include <limits.h>
14985 #else
14986 # include <assert.h>
14987 #endif
14989 #undef $ac_func
14991 /* Override any gcc2 internal prototype to avoid an error. */
14992 #ifdef __cplusplus
14993 extern "C"
14995 #endif
14996 /* We use char because int might match the return type of a gcc2
14997 builtin and then its argument prototype would still apply. */
14998 char $ac_func ();
14999 /* The GNU C library defines this for functions which it implements
15000 to always fail with ENOSYS. Some functions are actually named
15001 something starting with __ and the normal name is an alias. */
15002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15003 choke me
15004 #else
15005 char (*f) () = $ac_func;
15006 #endif
15007 #ifdef __cplusplus
15009 #endif
15012 main ()
15014 return f != $ac_func;
15016 return 0;
15018 _ACEOF
15019 rm -f conftest.$ac_objext conftest$ac_exeext
15020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15021 (eval $ac_link) 2>conftest.er1
15022 ac_status=$?
15023 grep -v '^ *+' conftest.er1 >conftest.err
15024 rm -f conftest.er1
15025 cat conftest.err >&5
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); } &&
15028 { ac_try='test -z "$ac_c_werror_flag"
15029 || test ! -s conftest.err'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15032 ac_status=$?
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; } &&
15035 { ac_try='test -s conftest$ac_exeext'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15038 ac_status=$?
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; }; then
15041 eval "$as_ac_var=yes"
15042 else
15043 echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.$ac_ext >&5
15046 eval "$as_ac_var=no"
15048 rm -f conftest.err conftest.$ac_objext \
15049 conftest$ac_exeext conftest.$ac_ext
15051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15053 if test `eval echo '${'$as_ac_var'}'` = yes; then
15054 cat >>confdefs.h <<_ACEOF
15055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15056 _ACEOF
15059 done
15066 echo "$as_me:$LINENO: checking for logf declaration" >&5
15067 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15068 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15069 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 else
15075 ac_ext=cc
15076 ac_cpp='$CXXCPP $CPPFLAGS'
15077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15081 cat >conftest.$ac_ext <<_ACEOF
15082 /* confdefs.h. */
15083 _ACEOF
15084 cat confdefs.h >>conftest.$ac_ext
15085 cat >>conftest.$ac_ext <<_ACEOF
15086 /* end confdefs.h. */
15087 #include <math.h>
15088 #ifdef HAVE_IEEEFP_H
15089 #include <ieeefp.h>
15090 #endif
15093 main ()
15095 logf(0);
15097 return 0;
15099 _ACEOF
15100 rm -f conftest.$ac_objext
15101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15102 (eval $ac_compile) 2>conftest.er1
15103 ac_status=$?
15104 grep -v '^ *+' conftest.er1 >conftest.err
15105 rm -f conftest.er1
15106 cat conftest.err >&5
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); } &&
15109 { ac_try='test -z "$ac_cxx_werror_flag"
15110 || test ! -s conftest.err'
15111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15112 (eval $ac_try) 2>&5
15113 ac_status=$?
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; } &&
15116 { ac_try='test -s conftest.$ac_objext'
15117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 (eval $ac_try) 2>&5
15119 ac_status=$?
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; }; then
15122 glibcxx_cv_func_logf_use=yes
15123 else
15124 echo "$as_me: failed program was:" >&5
15125 sed 's/^/| /' conftest.$ac_ext >&5
15127 glibcxx_cv_func_logf_use=no
15129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15130 ac_ext=c
15131 ac_cpp='$CPP $CPPFLAGS'
15132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15140 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15141 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15143 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15145 for ac_func in logf
15147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15148 echo "$as_me:$LINENO: checking for $ac_func" >&5
15149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15150 if eval "test \"\${$as_ac_var+set}\" = set"; then
15151 echo $ECHO_N "(cached) $ECHO_C" >&6
15152 else
15153 if test x$gcc_no_link = xyes; then
15154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15156 { (exit 1); exit 1; }; }
15158 cat >conftest.$ac_ext <<_ACEOF
15159 /* confdefs.h. */
15160 _ACEOF
15161 cat confdefs.h >>conftest.$ac_ext
15162 cat >>conftest.$ac_ext <<_ACEOF
15163 /* end confdefs.h. */
15164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15166 #define $ac_func innocuous_$ac_func
15168 /* System header to define __stub macros and hopefully few prototypes,
15169 which can conflict with char $ac_func (); below.
15170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15171 <limits.h> exists even on freestanding compilers. */
15173 #ifdef __STDC__
15174 # include <limits.h>
15175 #else
15176 # include <assert.h>
15177 #endif
15179 #undef $ac_func
15181 /* Override any gcc2 internal prototype to avoid an error. */
15182 #ifdef __cplusplus
15183 extern "C"
15185 #endif
15186 /* We use char because int might match the return type of a gcc2
15187 builtin and then its argument prototype would still apply. */
15188 char $ac_func ();
15189 /* The GNU C library defines this for functions which it implements
15190 to always fail with ENOSYS. Some functions are actually named
15191 something starting with __ and the normal name is an alias. */
15192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15193 choke me
15194 #else
15195 char (*f) () = $ac_func;
15196 #endif
15197 #ifdef __cplusplus
15199 #endif
15202 main ()
15204 return f != $ac_func;
15206 return 0;
15208 _ACEOF
15209 rm -f conftest.$ac_objext conftest$ac_exeext
15210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15211 (eval $ac_link) 2>conftest.er1
15212 ac_status=$?
15213 grep -v '^ *+' conftest.er1 >conftest.err
15214 rm -f conftest.er1
15215 cat conftest.err >&5
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); } &&
15218 { ac_try='test -z "$ac_c_werror_flag"
15219 || test ! -s conftest.err'
15220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15221 (eval $ac_try) 2>&5
15222 ac_status=$?
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); }; } &&
15225 { ac_try='test -s conftest$ac_exeext'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15228 ac_status=$?
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; }; then
15231 eval "$as_ac_var=yes"
15232 else
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.$ac_ext >&5
15236 eval "$as_ac_var=no"
15238 rm -f conftest.err conftest.$ac_objext \
15239 conftest$ac_exeext conftest.$ac_ext
15241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15243 if test `eval echo '${'$as_ac_var'}'` = yes; then
15244 cat >>confdefs.h <<_ACEOF
15245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15246 _ACEOF
15249 done
15251 else
15253 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15254 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15255 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15256 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 else
15262 ac_ext=cc
15263 ac_cpp='$CXXCPP $CPPFLAGS'
15264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15268 cat >conftest.$ac_ext <<_ACEOF
15269 /* confdefs.h. */
15270 _ACEOF
15271 cat confdefs.h >>conftest.$ac_ext
15272 cat >>conftest.$ac_ext <<_ACEOF
15273 /* end confdefs.h. */
15274 #include <math.h>
15275 #ifdef HAVE_IEEEFP_H
15276 #include <ieeefp.h>
15277 #endif
15280 main ()
15282 _logf(0);
15284 return 0;
15286 _ACEOF
15287 rm -f conftest.$ac_objext
15288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15289 (eval $ac_compile) 2>conftest.er1
15290 ac_status=$?
15291 grep -v '^ *+' conftest.er1 >conftest.err
15292 rm -f conftest.er1
15293 cat conftest.err >&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try='test -z "$ac_cxx_werror_flag"
15297 || test ! -s conftest.err'
15298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15299 (eval $ac_try) 2>&5
15300 ac_status=$?
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); }; } &&
15303 { ac_try='test -s conftest.$ac_objext'
15304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15305 (eval $ac_try) 2>&5
15306 ac_status=$?
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); }; }; then
15309 glibcxx_cv_func__logf_use=yes
15310 else
15311 echo "$as_me: failed program was:" >&5
15312 sed 's/^/| /' conftest.$ac_ext >&5
15314 glibcxx_cv_func__logf_use=no
15316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15317 ac_ext=c
15318 ac_cpp='$CPP $CPPFLAGS'
15319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15327 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15328 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15330 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15332 for ac_func in _logf
15334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15335 echo "$as_me:$LINENO: checking for $ac_func" >&5
15336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15337 if eval "test \"\${$as_ac_var+set}\" = set"; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 else
15340 if test x$gcc_no_link = xyes; then
15341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15343 { (exit 1); exit 1; }; }
15345 cat >conftest.$ac_ext <<_ACEOF
15346 /* confdefs.h. */
15347 _ACEOF
15348 cat confdefs.h >>conftest.$ac_ext
15349 cat >>conftest.$ac_ext <<_ACEOF
15350 /* end confdefs.h. */
15351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15353 #define $ac_func innocuous_$ac_func
15355 /* System header to define __stub macros and hopefully few prototypes,
15356 which can conflict with char $ac_func (); below.
15357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15358 <limits.h> exists even on freestanding compilers. */
15360 #ifdef __STDC__
15361 # include <limits.h>
15362 #else
15363 # include <assert.h>
15364 #endif
15366 #undef $ac_func
15368 /* Override any gcc2 internal prototype to avoid an error. */
15369 #ifdef __cplusplus
15370 extern "C"
15372 #endif
15373 /* We use char because int might match the return type of a gcc2
15374 builtin and then its argument prototype would still apply. */
15375 char $ac_func ();
15376 /* The GNU C library defines this for functions which it implements
15377 to always fail with ENOSYS. Some functions are actually named
15378 something starting with __ and the normal name is an alias. */
15379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15380 choke me
15381 #else
15382 char (*f) () = $ac_func;
15383 #endif
15384 #ifdef __cplusplus
15386 #endif
15389 main ()
15391 return f != $ac_func;
15393 return 0;
15395 _ACEOF
15396 rm -f conftest.$ac_objext conftest$ac_exeext
15397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15398 (eval $ac_link) 2>conftest.er1
15399 ac_status=$?
15400 grep -v '^ *+' conftest.er1 >conftest.err
15401 rm -f conftest.er1
15402 cat conftest.err >&5
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); } &&
15405 { ac_try='test -z "$ac_c_werror_flag"
15406 || test ! -s conftest.err'
15407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15408 (eval $ac_try) 2>&5
15409 ac_status=$?
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; } &&
15412 { ac_try='test -s conftest$ac_exeext'
15413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15414 (eval $ac_try) 2>&5
15415 ac_status=$?
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); }; }; then
15418 eval "$as_ac_var=yes"
15419 else
15420 echo "$as_me: failed program was:" >&5
15421 sed 's/^/| /' conftest.$ac_ext >&5
15423 eval "$as_ac_var=no"
15425 rm -f conftest.err conftest.$ac_objext \
15426 conftest$ac_exeext conftest.$ac_ext
15428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15430 if test `eval echo '${'$as_ac_var'}'` = yes; then
15431 cat >>confdefs.h <<_ACEOF
15432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15433 _ACEOF
15436 done
15443 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15444 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15445 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15446 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15447 echo $ECHO_N "(cached) $ECHO_C" >&6
15448 else
15452 ac_ext=cc
15453 ac_cpp='$CXXCPP $CPPFLAGS'
15454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15458 cat >conftest.$ac_ext <<_ACEOF
15459 /* confdefs.h. */
15460 _ACEOF
15461 cat confdefs.h >>conftest.$ac_ext
15462 cat >>conftest.$ac_ext <<_ACEOF
15463 /* end confdefs.h. */
15464 #include <math.h>
15465 #ifdef HAVE_IEEEFP_H
15466 #include <ieeefp.h>
15467 #endif
15470 main ()
15472 log10f(0);
15474 return 0;
15476 _ACEOF
15477 rm -f conftest.$ac_objext
15478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15479 (eval $ac_compile) 2>conftest.er1
15480 ac_status=$?
15481 grep -v '^ *+' conftest.er1 >conftest.err
15482 rm -f conftest.er1
15483 cat conftest.err >&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } &&
15486 { ac_try='test -z "$ac_cxx_werror_flag"
15487 || test ! -s conftest.err'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15490 ac_status=$?
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; } &&
15493 { ac_try='test -s conftest.$ac_objext'
15494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15495 (eval $ac_try) 2>&5
15496 ac_status=$?
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; }; then
15499 glibcxx_cv_func_log10f_use=yes
15500 else
15501 echo "$as_me: failed program was:" >&5
15502 sed 's/^/| /' conftest.$ac_ext >&5
15504 glibcxx_cv_func_log10f_use=no
15506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15507 ac_ext=c
15508 ac_cpp='$CPP $CPPFLAGS'
15509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15517 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15518 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15520 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15522 for ac_func in log10f
15524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15525 echo "$as_me:$LINENO: checking for $ac_func" >&5
15526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15527 if eval "test \"\${$as_ac_var+set}\" = set"; then
15528 echo $ECHO_N "(cached) $ECHO_C" >&6
15529 else
15530 if test x$gcc_no_link = xyes; then
15531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15533 { (exit 1); exit 1; }; }
15535 cat >conftest.$ac_ext <<_ACEOF
15536 /* confdefs.h. */
15537 _ACEOF
15538 cat confdefs.h >>conftest.$ac_ext
15539 cat >>conftest.$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15543 #define $ac_func innocuous_$ac_func
15545 /* System header to define __stub macros and hopefully few prototypes,
15546 which can conflict with char $ac_func (); below.
15547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15548 <limits.h> exists even on freestanding compilers. */
15550 #ifdef __STDC__
15551 # include <limits.h>
15552 #else
15553 # include <assert.h>
15554 #endif
15556 #undef $ac_func
15558 /* Override any gcc2 internal prototype to avoid an error. */
15559 #ifdef __cplusplus
15560 extern "C"
15562 #endif
15563 /* We use char because int might match the return type of a gcc2
15564 builtin and then its argument prototype would still apply. */
15565 char $ac_func ();
15566 /* The GNU C library defines this for functions which it implements
15567 to always fail with ENOSYS. Some functions are actually named
15568 something starting with __ and the normal name is an alias. */
15569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15570 choke me
15571 #else
15572 char (*f) () = $ac_func;
15573 #endif
15574 #ifdef __cplusplus
15576 #endif
15579 main ()
15581 return f != $ac_func;
15583 return 0;
15585 _ACEOF
15586 rm -f conftest.$ac_objext conftest$ac_exeext
15587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15588 (eval $ac_link) 2>conftest.er1
15589 ac_status=$?
15590 grep -v '^ *+' conftest.er1 >conftest.err
15591 rm -f conftest.er1
15592 cat conftest.err >&5
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); } &&
15595 { ac_try='test -z "$ac_c_werror_flag"
15596 || test ! -s conftest.err'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15599 ac_status=$?
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; } &&
15602 { ac_try='test -s conftest$ac_exeext'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15605 ac_status=$?
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15608 eval "$as_ac_var=yes"
15609 else
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.$ac_ext >&5
15613 eval "$as_ac_var=no"
15615 rm -f conftest.err conftest.$ac_objext \
15616 conftest$ac_exeext conftest.$ac_ext
15618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15620 if test `eval echo '${'$as_ac_var'}'` = yes; then
15621 cat >>confdefs.h <<_ACEOF
15622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15623 _ACEOF
15626 done
15628 else
15630 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15631 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15632 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15633 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15635 else
15639 ac_ext=cc
15640 ac_cpp='$CXXCPP $CPPFLAGS'
15641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15645 cat >conftest.$ac_ext <<_ACEOF
15646 /* confdefs.h. */
15647 _ACEOF
15648 cat confdefs.h >>conftest.$ac_ext
15649 cat >>conftest.$ac_ext <<_ACEOF
15650 /* end confdefs.h. */
15651 #include <math.h>
15652 #ifdef HAVE_IEEEFP_H
15653 #include <ieeefp.h>
15654 #endif
15657 main ()
15659 _log10f(0);
15661 return 0;
15663 _ACEOF
15664 rm -f conftest.$ac_objext
15665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15666 (eval $ac_compile) 2>conftest.er1
15667 ac_status=$?
15668 grep -v '^ *+' conftest.er1 >conftest.err
15669 rm -f conftest.er1
15670 cat conftest.err >&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); } &&
15673 { ac_try='test -z "$ac_cxx_werror_flag"
15674 || test ! -s conftest.err'
15675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15676 (eval $ac_try) 2>&5
15677 ac_status=$?
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); }; } &&
15680 { ac_try='test -s conftest.$ac_objext'
15681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15682 (eval $ac_try) 2>&5
15683 ac_status=$?
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); }; }; then
15686 glibcxx_cv_func__log10f_use=yes
15687 else
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.$ac_ext >&5
15691 glibcxx_cv_func__log10f_use=no
15693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15694 ac_ext=c
15695 ac_cpp='$CPP $CPPFLAGS'
15696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15704 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15705 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15707 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15709 for ac_func in _log10f
15711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15712 echo "$as_me:$LINENO: checking for $ac_func" >&5
15713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15714 if eval "test \"\${$as_ac_var+set}\" = set"; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15716 else
15717 if test x$gcc_no_link = xyes; then
15718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15720 { (exit 1); exit 1; }; }
15722 cat >conftest.$ac_ext <<_ACEOF
15723 /* confdefs.h. */
15724 _ACEOF
15725 cat confdefs.h >>conftest.$ac_ext
15726 cat >>conftest.$ac_ext <<_ACEOF
15727 /* end confdefs.h. */
15728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15730 #define $ac_func innocuous_$ac_func
15732 /* System header to define __stub macros and hopefully few prototypes,
15733 which can conflict with char $ac_func (); below.
15734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15735 <limits.h> exists even on freestanding compilers. */
15737 #ifdef __STDC__
15738 # include <limits.h>
15739 #else
15740 # include <assert.h>
15741 #endif
15743 #undef $ac_func
15745 /* Override any gcc2 internal prototype to avoid an error. */
15746 #ifdef __cplusplus
15747 extern "C"
15749 #endif
15750 /* We use char because int might match the return type of a gcc2
15751 builtin and then its argument prototype would still apply. */
15752 char $ac_func ();
15753 /* The GNU C library defines this for functions which it implements
15754 to always fail with ENOSYS. Some functions are actually named
15755 something starting with __ and the normal name is an alias. */
15756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15757 choke me
15758 #else
15759 char (*f) () = $ac_func;
15760 #endif
15761 #ifdef __cplusplus
15763 #endif
15766 main ()
15768 return f != $ac_func;
15770 return 0;
15772 _ACEOF
15773 rm -f conftest.$ac_objext conftest$ac_exeext
15774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15775 (eval $ac_link) 2>conftest.er1
15776 ac_status=$?
15777 grep -v '^ *+' conftest.er1 >conftest.err
15778 rm -f conftest.er1
15779 cat conftest.err >&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); } &&
15782 { ac_try='test -z "$ac_c_werror_flag"
15783 || test ! -s conftest.err'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15786 ac_status=$?
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; } &&
15789 { ac_try='test -s conftest$ac_exeext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15792 ac_status=$?
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 eval "$as_ac_var=yes"
15796 else
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15800 eval "$as_ac_var=no"
15802 rm -f conftest.err conftest.$ac_objext \
15803 conftest$ac_exeext conftest.$ac_ext
15805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15807 if test `eval echo '${'$as_ac_var'}'` = yes; then
15808 cat >>confdefs.h <<_ACEOF
15809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15810 _ACEOF
15813 done
15820 echo "$as_me:$LINENO: checking for modff declaration" >&5
15821 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15822 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15823 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
15825 else
15829 ac_ext=cc
15830 ac_cpp='$CXXCPP $CPPFLAGS'
15831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15835 cat >conftest.$ac_ext <<_ACEOF
15836 /* confdefs.h. */
15837 _ACEOF
15838 cat confdefs.h >>conftest.$ac_ext
15839 cat >>conftest.$ac_ext <<_ACEOF
15840 /* end confdefs.h. */
15841 #include <math.h>
15843 main ()
15845 modff(0, 0);
15847 return 0;
15849 _ACEOF
15850 rm -f conftest.$ac_objext
15851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15852 (eval $ac_compile) 2>conftest.er1
15853 ac_status=$?
15854 grep -v '^ *+' conftest.er1 >conftest.err
15855 rm -f conftest.er1
15856 cat conftest.err >&5
15857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858 (exit $ac_status); } &&
15859 { ac_try='test -z "$ac_cxx_werror_flag"
15860 || test ! -s conftest.err'
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15863 ac_status=$?
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; } &&
15866 { ac_try='test -s conftest.$ac_objext'
15867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15868 (eval $ac_try) 2>&5
15869 ac_status=$?
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); }; }; then
15872 glibcxx_cv_func_modff_use=yes
15873 else
15874 echo "$as_me: failed program was:" >&5
15875 sed 's/^/| /' conftest.$ac_ext >&5
15877 glibcxx_cv_func_modff_use=no
15879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15880 ac_ext=c
15881 ac_cpp='$CPP $CPPFLAGS'
15882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15891 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15893 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15895 for ac_func in modff
15897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15898 echo "$as_me:$LINENO: checking for $ac_func" >&5
15899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15900 if eval "test \"\${$as_ac_var+set}\" = set"; then
15901 echo $ECHO_N "(cached) $ECHO_C" >&6
15902 else
15903 if test x$gcc_no_link = xyes; then
15904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15906 { (exit 1); exit 1; }; }
15908 cat >conftest.$ac_ext <<_ACEOF
15909 /* confdefs.h. */
15910 _ACEOF
15911 cat confdefs.h >>conftest.$ac_ext
15912 cat >>conftest.$ac_ext <<_ACEOF
15913 /* end confdefs.h. */
15914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15916 #define $ac_func innocuous_$ac_func
15918 /* System header to define __stub macros and hopefully few prototypes,
15919 which can conflict with char $ac_func (); below.
15920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15921 <limits.h> exists even on freestanding compilers. */
15923 #ifdef __STDC__
15924 # include <limits.h>
15925 #else
15926 # include <assert.h>
15927 #endif
15929 #undef $ac_func
15931 /* Override any gcc2 internal prototype to avoid an error. */
15932 #ifdef __cplusplus
15933 extern "C"
15935 #endif
15936 /* We use char because int might match the return type of a gcc2
15937 builtin and then its argument prototype would still apply. */
15938 char $ac_func ();
15939 /* The GNU C library defines this for functions which it implements
15940 to always fail with ENOSYS. Some functions are actually named
15941 something starting with __ and the normal name is an alias. */
15942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15943 choke me
15944 #else
15945 char (*f) () = $ac_func;
15946 #endif
15947 #ifdef __cplusplus
15949 #endif
15952 main ()
15954 return f != $ac_func;
15956 return 0;
15958 _ACEOF
15959 rm -f conftest.$ac_objext conftest$ac_exeext
15960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15961 (eval $ac_link) 2>conftest.er1
15962 ac_status=$?
15963 grep -v '^ *+' conftest.er1 >conftest.err
15964 rm -f conftest.er1
15965 cat conftest.err >&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); } &&
15968 { ac_try='test -z "$ac_c_werror_flag"
15969 || test ! -s conftest.err'
15970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15971 (eval $ac_try) 2>&5
15972 ac_status=$?
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); }; } &&
15975 { ac_try='test -s conftest$ac_exeext'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15978 ac_status=$?
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; }; then
15981 eval "$as_ac_var=yes"
15982 else
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.$ac_ext >&5
15986 eval "$as_ac_var=no"
15988 rm -f conftest.err conftest.$ac_objext \
15989 conftest$ac_exeext conftest.$ac_ext
15991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15993 if test `eval echo '${'$as_ac_var'}'` = yes; then
15994 cat >>confdefs.h <<_ACEOF
15995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15996 _ACEOF
15999 done
16001 else
16003 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16004 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16005 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16006 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 else
16012 ac_ext=cc
16013 ac_cpp='$CXXCPP $CPPFLAGS'
16014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16018 cat >conftest.$ac_ext <<_ACEOF
16019 /* confdefs.h. */
16020 _ACEOF
16021 cat confdefs.h >>conftest.$ac_ext
16022 cat >>conftest.$ac_ext <<_ACEOF
16023 /* end confdefs.h. */
16024 #include <math.h>
16026 main ()
16028 _modff(0, 0);
16030 return 0;
16032 _ACEOF
16033 rm -f conftest.$ac_objext
16034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16035 (eval $ac_compile) 2>conftest.er1
16036 ac_status=$?
16037 grep -v '^ *+' conftest.er1 >conftest.err
16038 rm -f conftest.er1
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } &&
16042 { ac_try='test -z "$ac_cxx_werror_flag"
16043 || test ! -s conftest.err'
16044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16045 (eval $ac_try) 2>&5
16046 ac_status=$?
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); }; } &&
16049 { ac_try='test -s conftest.$ac_objext'
16050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16051 (eval $ac_try) 2>&5
16052 ac_status=$?
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); }; }; then
16055 glibcxx_cv_func__modff_use=yes
16056 else
16057 echo "$as_me: failed program was:" >&5
16058 sed 's/^/| /' conftest.$ac_ext >&5
16060 glibcxx_cv_func__modff_use=no
16062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16063 ac_ext=c
16064 ac_cpp='$CPP $CPPFLAGS'
16065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16074 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16076 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16078 for ac_func in _modff
16080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16081 echo "$as_me:$LINENO: checking for $ac_func" >&5
16082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16083 if eval "test \"\${$as_ac_var+set}\" = set"; then
16084 echo $ECHO_N "(cached) $ECHO_C" >&6
16085 else
16086 if test x$gcc_no_link = xyes; then
16087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16089 { (exit 1); exit 1; }; }
16091 cat >conftest.$ac_ext <<_ACEOF
16092 /* confdefs.h. */
16093 _ACEOF
16094 cat confdefs.h >>conftest.$ac_ext
16095 cat >>conftest.$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16099 #define $ac_func innocuous_$ac_func
16101 /* System header to define __stub macros and hopefully few prototypes,
16102 which can conflict with char $ac_func (); below.
16103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16104 <limits.h> exists even on freestanding compilers. */
16106 #ifdef __STDC__
16107 # include <limits.h>
16108 #else
16109 # include <assert.h>
16110 #endif
16112 #undef $ac_func
16114 /* Override any gcc2 internal prototype to avoid an error. */
16115 #ifdef __cplusplus
16116 extern "C"
16118 #endif
16119 /* We use char because int might match the return type of a gcc2
16120 builtin and then its argument prototype would still apply. */
16121 char $ac_func ();
16122 /* The GNU C library defines this for functions which it implements
16123 to always fail with ENOSYS. Some functions are actually named
16124 something starting with __ and the normal name is an alias. */
16125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16126 choke me
16127 #else
16128 char (*f) () = $ac_func;
16129 #endif
16130 #ifdef __cplusplus
16132 #endif
16135 main ()
16137 return f != $ac_func;
16139 return 0;
16141 _ACEOF
16142 rm -f conftest.$ac_objext conftest$ac_exeext
16143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16144 (eval $ac_link) 2>conftest.er1
16145 ac_status=$?
16146 grep -v '^ *+' conftest.er1 >conftest.err
16147 rm -f conftest.er1
16148 cat conftest.err >&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } &&
16151 { ac_try='test -z "$ac_c_werror_flag"
16152 || test ! -s conftest.err'
16153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16154 (eval $ac_try) 2>&5
16155 ac_status=$?
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; } &&
16158 { ac_try='test -s conftest$ac_exeext'
16159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16160 (eval $ac_try) 2>&5
16161 ac_status=$?
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); }; }; then
16164 eval "$as_ac_var=yes"
16165 else
16166 echo "$as_me: failed program was:" >&5
16167 sed 's/^/| /' conftest.$ac_ext >&5
16169 eval "$as_ac_var=no"
16171 rm -f conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext conftest.$ac_ext
16174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16176 if test `eval echo '${'$as_ac_var'}'` = yes; then
16177 cat >>confdefs.h <<_ACEOF
16178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16179 _ACEOF
16182 done
16189 echo "$as_me:$LINENO: checking for powf declaration" >&5
16190 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16191 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16192 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16193 echo $ECHO_N "(cached) $ECHO_C" >&6
16194 else
16198 ac_ext=cc
16199 ac_cpp='$CXXCPP $CPPFLAGS'
16200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16204 cat >conftest.$ac_ext <<_ACEOF
16205 /* confdefs.h. */
16206 _ACEOF
16207 cat confdefs.h >>conftest.$ac_ext
16208 cat >>conftest.$ac_ext <<_ACEOF
16209 /* end confdefs.h. */
16210 #include <math.h>
16212 main ()
16214 powf(0, 0);
16216 return 0;
16218 _ACEOF
16219 rm -f conftest.$ac_objext
16220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16221 (eval $ac_compile) 2>conftest.er1
16222 ac_status=$?
16223 grep -v '^ *+' conftest.er1 >conftest.err
16224 rm -f conftest.er1
16225 cat conftest.err >&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); } &&
16228 { ac_try='test -z "$ac_cxx_werror_flag"
16229 || test ! -s conftest.err'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16232 ac_status=$?
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; } &&
16235 { ac_try='test -s conftest.$ac_objext'
16236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16237 (eval $ac_try) 2>&5
16238 ac_status=$?
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); }; }; then
16241 glibcxx_cv_func_powf_use=yes
16242 else
16243 echo "$as_me: failed program was:" >&5
16244 sed 's/^/| /' conftest.$ac_ext >&5
16246 glibcxx_cv_func_powf_use=no
16248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16249 ac_ext=c
16250 ac_cpp='$CPP $CPPFLAGS'
16251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16259 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16260 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16262 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16264 for ac_func in powf
16266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16267 echo "$as_me:$LINENO: checking for $ac_func" >&5
16268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16269 if eval "test \"\${$as_ac_var+set}\" = set"; then
16270 echo $ECHO_N "(cached) $ECHO_C" >&6
16271 else
16272 if test x$gcc_no_link = xyes; then
16273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16275 { (exit 1); exit 1; }; }
16277 cat >conftest.$ac_ext <<_ACEOF
16278 /* confdefs.h. */
16279 _ACEOF
16280 cat confdefs.h >>conftest.$ac_ext
16281 cat >>conftest.$ac_ext <<_ACEOF
16282 /* end confdefs.h. */
16283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16285 #define $ac_func innocuous_$ac_func
16287 /* System header to define __stub macros and hopefully few prototypes,
16288 which can conflict with char $ac_func (); below.
16289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16290 <limits.h> exists even on freestanding compilers. */
16292 #ifdef __STDC__
16293 # include <limits.h>
16294 #else
16295 # include <assert.h>
16296 #endif
16298 #undef $ac_func
16300 /* Override any gcc2 internal prototype to avoid an error. */
16301 #ifdef __cplusplus
16302 extern "C"
16304 #endif
16305 /* We use char because int might match the return type of a gcc2
16306 builtin and then its argument prototype would still apply. */
16307 char $ac_func ();
16308 /* The GNU C library defines this for functions which it implements
16309 to always fail with ENOSYS. Some functions are actually named
16310 something starting with __ and the normal name is an alias. */
16311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16312 choke me
16313 #else
16314 char (*f) () = $ac_func;
16315 #endif
16316 #ifdef __cplusplus
16318 #endif
16321 main ()
16323 return f != $ac_func;
16325 return 0;
16327 _ACEOF
16328 rm -f conftest.$ac_objext conftest$ac_exeext
16329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16330 (eval $ac_link) 2>conftest.er1
16331 ac_status=$?
16332 grep -v '^ *+' conftest.er1 >conftest.err
16333 rm -f conftest.er1
16334 cat conftest.err >&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); } &&
16337 { ac_try='test -z "$ac_c_werror_flag"
16338 || test ! -s conftest.err'
16339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16340 (eval $ac_try) 2>&5
16341 ac_status=$?
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; } &&
16344 { ac_try='test -s conftest$ac_exeext'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; }; then
16350 eval "$as_ac_var=yes"
16351 else
16352 echo "$as_me: failed program was:" >&5
16353 sed 's/^/| /' conftest.$ac_ext >&5
16355 eval "$as_ac_var=no"
16357 rm -f conftest.err conftest.$ac_objext \
16358 conftest$ac_exeext conftest.$ac_ext
16360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16362 if test `eval echo '${'$as_ac_var'}'` = yes; then
16363 cat >>confdefs.h <<_ACEOF
16364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16365 _ACEOF
16368 done
16370 else
16372 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16373 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16374 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16375 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16376 echo $ECHO_N "(cached) $ECHO_C" >&6
16377 else
16381 ac_ext=cc
16382 ac_cpp='$CXXCPP $CPPFLAGS'
16383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16387 cat >conftest.$ac_ext <<_ACEOF
16388 /* confdefs.h. */
16389 _ACEOF
16390 cat confdefs.h >>conftest.$ac_ext
16391 cat >>conftest.$ac_ext <<_ACEOF
16392 /* end confdefs.h. */
16393 #include <math.h>
16395 main ()
16397 _powf(0, 0);
16399 return 0;
16401 _ACEOF
16402 rm -f conftest.$ac_objext
16403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16404 (eval $ac_compile) 2>conftest.er1
16405 ac_status=$?
16406 grep -v '^ *+' conftest.er1 >conftest.err
16407 rm -f conftest.er1
16408 cat conftest.err >&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); } &&
16411 { ac_try='test -z "$ac_cxx_werror_flag"
16412 || test ! -s conftest.err'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16415 ac_status=$?
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; } &&
16418 { ac_try='test -s conftest.$ac_objext'
16419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16420 (eval $ac_try) 2>&5
16421 ac_status=$?
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); }; }; then
16424 glibcxx_cv_func__powf_use=yes
16425 else
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.$ac_ext >&5
16429 glibcxx_cv_func__powf_use=no
16431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16432 ac_ext=c
16433 ac_cpp='$CPP $CPPFLAGS'
16434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16442 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16443 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16445 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16447 for ac_func in _powf
16449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16450 echo "$as_me:$LINENO: checking for $ac_func" >&5
16451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16452 if eval "test \"\${$as_ac_var+set}\" = set"; then
16453 echo $ECHO_N "(cached) $ECHO_C" >&6
16454 else
16455 if test x$gcc_no_link = xyes; then
16456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16458 { (exit 1); exit 1; }; }
16460 cat >conftest.$ac_ext <<_ACEOF
16461 /* confdefs.h. */
16462 _ACEOF
16463 cat confdefs.h >>conftest.$ac_ext
16464 cat >>conftest.$ac_ext <<_ACEOF
16465 /* end confdefs.h. */
16466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16468 #define $ac_func innocuous_$ac_func
16470 /* System header to define __stub macros and hopefully few prototypes,
16471 which can conflict with char $ac_func (); below.
16472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16473 <limits.h> exists even on freestanding compilers. */
16475 #ifdef __STDC__
16476 # include <limits.h>
16477 #else
16478 # include <assert.h>
16479 #endif
16481 #undef $ac_func
16483 /* Override any gcc2 internal prototype to avoid an error. */
16484 #ifdef __cplusplus
16485 extern "C"
16487 #endif
16488 /* We use char because int might match the return type of a gcc2
16489 builtin and then its argument prototype would still apply. */
16490 char $ac_func ();
16491 /* The GNU C library defines this for functions which it implements
16492 to always fail with ENOSYS. Some functions are actually named
16493 something starting with __ and the normal name is an alias. */
16494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16495 choke me
16496 #else
16497 char (*f) () = $ac_func;
16498 #endif
16499 #ifdef __cplusplus
16501 #endif
16504 main ()
16506 return f != $ac_func;
16508 return 0;
16510 _ACEOF
16511 rm -f conftest.$ac_objext conftest$ac_exeext
16512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16513 (eval $ac_link) 2>conftest.er1
16514 ac_status=$?
16515 grep -v '^ *+' conftest.er1 >conftest.err
16516 rm -f conftest.er1
16517 cat conftest.err >&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); } &&
16520 { ac_try='test -z "$ac_c_werror_flag"
16521 || test ! -s conftest.err'
16522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16523 (eval $ac_try) 2>&5
16524 ac_status=$?
16525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16526 (exit $ac_status); }; } &&
16527 { ac_try='test -s conftest$ac_exeext'
16528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16529 (eval $ac_try) 2>&5
16530 ac_status=$?
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); }; }; then
16533 eval "$as_ac_var=yes"
16534 else
16535 echo "$as_me: failed program was:" >&5
16536 sed 's/^/| /' conftest.$ac_ext >&5
16538 eval "$as_ac_var=no"
16540 rm -f conftest.err conftest.$ac_objext \
16541 conftest$ac_exeext conftest.$ac_ext
16543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16545 if test `eval echo '${'$as_ac_var'}'` = yes; then
16546 cat >>confdefs.h <<_ACEOF
16547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16548 _ACEOF
16551 done
16558 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16559 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16560 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16561 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16562 echo $ECHO_N "(cached) $ECHO_C" >&6
16563 else
16567 ac_ext=cc
16568 ac_cpp='$CXXCPP $CPPFLAGS'
16569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16573 cat >conftest.$ac_ext <<_ACEOF
16574 /* confdefs.h. */
16575 _ACEOF
16576 cat confdefs.h >>conftest.$ac_ext
16577 cat >>conftest.$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 #include <math.h>
16580 #ifdef HAVE_IEEEFP_H
16581 #include <ieeefp.h>
16582 #endif
16585 main ()
16587 sqrtf(0);
16589 return 0;
16591 _ACEOF
16592 rm -f conftest.$ac_objext
16593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16594 (eval $ac_compile) 2>conftest.er1
16595 ac_status=$?
16596 grep -v '^ *+' conftest.er1 >conftest.err
16597 rm -f conftest.er1
16598 cat conftest.err >&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } &&
16601 { ac_try='test -z "$ac_cxx_werror_flag"
16602 || test ! -s conftest.err'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16605 ac_status=$?
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; } &&
16608 { ac_try='test -s conftest.$ac_objext'
16609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16610 (eval $ac_try) 2>&5
16611 ac_status=$?
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); }; }; then
16614 glibcxx_cv_func_sqrtf_use=yes
16615 else
16616 echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.$ac_ext >&5
16619 glibcxx_cv_func_sqrtf_use=no
16621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16622 ac_ext=c
16623 ac_cpp='$CPP $CPPFLAGS'
16624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16632 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16633 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16635 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16637 for ac_func in sqrtf
16639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16640 echo "$as_me:$LINENO: checking for $ac_func" >&5
16641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16642 if eval "test \"\${$as_ac_var+set}\" = set"; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 else
16645 if test x$gcc_no_link = xyes; then
16646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16648 { (exit 1); exit 1; }; }
16650 cat >conftest.$ac_ext <<_ACEOF
16651 /* confdefs.h. */
16652 _ACEOF
16653 cat confdefs.h >>conftest.$ac_ext
16654 cat >>conftest.$ac_ext <<_ACEOF
16655 /* end confdefs.h. */
16656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16658 #define $ac_func innocuous_$ac_func
16660 /* System header to define __stub macros and hopefully few prototypes,
16661 which can conflict with char $ac_func (); below.
16662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16663 <limits.h> exists even on freestanding compilers. */
16665 #ifdef __STDC__
16666 # include <limits.h>
16667 #else
16668 # include <assert.h>
16669 #endif
16671 #undef $ac_func
16673 /* Override any gcc2 internal prototype to avoid an error. */
16674 #ifdef __cplusplus
16675 extern "C"
16677 #endif
16678 /* We use char because int might match the return type of a gcc2
16679 builtin and then its argument prototype would still apply. */
16680 char $ac_func ();
16681 /* The GNU C library defines this for functions which it implements
16682 to always fail with ENOSYS. Some functions are actually named
16683 something starting with __ and the normal name is an alias. */
16684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16685 choke me
16686 #else
16687 char (*f) () = $ac_func;
16688 #endif
16689 #ifdef __cplusplus
16691 #endif
16694 main ()
16696 return f != $ac_func;
16698 return 0;
16700 _ACEOF
16701 rm -f conftest.$ac_objext conftest$ac_exeext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16703 (eval $ac_link) 2>conftest.er1
16704 ac_status=$?
16705 grep -v '^ *+' conftest.er1 >conftest.err
16706 rm -f conftest.er1
16707 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try='test -z "$ac_c_werror_flag"
16711 || test ! -s conftest.err'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16714 ac_status=$?
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; } &&
16717 { ac_try='test -s conftest$ac_exeext'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16720 ac_status=$?
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16723 eval "$as_ac_var=yes"
16724 else
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16728 eval "$as_ac_var=no"
16730 rm -f conftest.err conftest.$ac_objext \
16731 conftest$ac_exeext conftest.$ac_ext
16733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16735 if test `eval echo '${'$as_ac_var'}'` = yes; then
16736 cat >>confdefs.h <<_ACEOF
16737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16738 _ACEOF
16741 done
16743 else
16745 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16746 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16747 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16748 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16750 else
16754 ac_ext=cc
16755 ac_cpp='$CXXCPP $CPPFLAGS'
16756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16760 cat >conftest.$ac_ext <<_ACEOF
16761 /* confdefs.h. */
16762 _ACEOF
16763 cat confdefs.h >>conftest.$ac_ext
16764 cat >>conftest.$ac_ext <<_ACEOF
16765 /* end confdefs.h. */
16766 #include <math.h>
16767 #ifdef HAVE_IEEEFP_H
16768 #include <ieeefp.h>
16769 #endif
16772 main ()
16774 _sqrtf(0);
16776 return 0;
16778 _ACEOF
16779 rm -f conftest.$ac_objext
16780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16781 (eval $ac_compile) 2>conftest.er1
16782 ac_status=$?
16783 grep -v '^ *+' conftest.er1 >conftest.err
16784 rm -f conftest.er1
16785 cat conftest.err >&5
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); } &&
16788 { ac_try='test -z "$ac_cxx_werror_flag"
16789 || test ! -s conftest.err'
16790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16791 (eval $ac_try) 2>&5
16792 ac_status=$?
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); }; } &&
16795 { ac_try='test -s conftest.$ac_objext'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16798 ac_status=$?
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; }; then
16801 glibcxx_cv_func__sqrtf_use=yes
16802 else
16803 echo "$as_me: failed program was:" >&5
16804 sed 's/^/| /' conftest.$ac_ext >&5
16806 glibcxx_cv_func__sqrtf_use=no
16808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16809 ac_ext=c
16810 ac_cpp='$CPP $CPPFLAGS'
16811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16819 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16820 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16822 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16824 for ac_func in _sqrtf
16826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16827 echo "$as_me:$LINENO: checking for $ac_func" >&5
16828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16829 if eval "test \"\${$as_ac_var+set}\" = set"; then
16830 echo $ECHO_N "(cached) $ECHO_C" >&6
16831 else
16832 if test x$gcc_no_link = xyes; then
16833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16835 { (exit 1); exit 1; }; }
16837 cat >conftest.$ac_ext <<_ACEOF
16838 /* confdefs.h. */
16839 _ACEOF
16840 cat confdefs.h >>conftest.$ac_ext
16841 cat >>conftest.$ac_ext <<_ACEOF
16842 /* end confdefs.h. */
16843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16845 #define $ac_func innocuous_$ac_func
16847 /* System header to define __stub macros and hopefully few prototypes,
16848 which can conflict with char $ac_func (); below.
16849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16850 <limits.h> exists even on freestanding compilers. */
16852 #ifdef __STDC__
16853 # include <limits.h>
16854 #else
16855 # include <assert.h>
16856 #endif
16858 #undef $ac_func
16860 /* Override any gcc2 internal prototype to avoid an error. */
16861 #ifdef __cplusplus
16862 extern "C"
16864 #endif
16865 /* We use char because int might match the return type of a gcc2
16866 builtin and then its argument prototype would still apply. */
16867 char $ac_func ();
16868 /* The GNU C library defines this for functions which it implements
16869 to always fail with ENOSYS. Some functions are actually named
16870 something starting with __ and the normal name is an alias. */
16871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16872 choke me
16873 #else
16874 char (*f) () = $ac_func;
16875 #endif
16876 #ifdef __cplusplus
16878 #endif
16881 main ()
16883 return f != $ac_func;
16885 return 0;
16887 _ACEOF
16888 rm -f conftest.$ac_objext conftest$ac_exeext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16890 (eval $ac_link) 2>conftest.er1
16891 ac_status=$?
16892 grep -v '^ *+' conftest.er1 >conftest.err
16893 rm -f conftest.er1
16894 cat conftest.err >&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } &&
16897 { ac_try='test -z "$ac_c_werror_flag"
16898 || test ! -s conftest.err'
16899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16900 (eval $ac_try) 2>&5
16901 ac_status=$?
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); }; } &&
16904 { ac_try='test -s conftest$ac_exeext'
16905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16906 (eval $ac_try) 2>&5
16907 ac_status=$?
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); }; }; then
16910 eval "$as_ac_var=yes"
16911 else
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.$ac_ext >&5
16915 eval "$as_ac_var=no"
16917 rm -f conftest.err conftest.$ac_objext \
16918 conftest$ac_exeext conftest.$ac_ext
16920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16922 if test `eval echo '${'$as_ac_var'}'` = yes; then
16923 cat >>confdefs.h <<_ACEOF
16924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16925 _ACEOF
16928 done
16935 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16936 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16937 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16938 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16940 else
16944 ac_ext=cc
16945 ac_cpp='$CXXCPP $CPPFLAGS'
16946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16950 cat >conftest.$ac_ext <<_ACEOF
16951 /* confdefs.h. */
16952 _ACEOF
16953 cat confdefs.h >>conftest.$ac_ext
16954 cat >>conftest.$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16956 #include <math.h>
16958 main ()
16960 sincosf(0, 0, 0);
16962 return 0;
16964 _ACEOF
16965 rm -f conftest.$ac_objext
16966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16967 (eval $ac_compile) 2>conftest.er1
16968 ac_status=$?
16969 grep -v '^ *+' conftest.er1 >conftest.err
16970 rm -f conftest.er1
16971 cat conftest.err >&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } &&
16974 { ac_try='test -z "$ac_cxx_werror_flag"
16975 || test ! -s conftest.err'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16978 ac_status=$?
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; } &&
16981 { ac_try='test -s conftest.$ac_objext'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16984 ac_status=$?
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 glibcxx_cv_func_sincosf_use=yes
16988 else
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16992 glibcxx_cv_func_sincosf_use=no
16994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16995 ac_ext=c
16996 ac_cpp='$CPP $CPPFLAGS'
16997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17006 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17008 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17010 for ac_func in sincosf
17012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17013 echo "$as_me:$LINENO: checking for $ac_func" >&5
17014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17015 if eval "test \"\${$as_ac_var+set}\" = set"; then
17016 echo $ECHO_N "(cached) $ECHO_C" >&6
17017 else
17018 if test x$gcc_no_link = xyes; then
17019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17021 { (exit 1); exit 1; }; }
17023 cat >conftest.$ac_ext <<_ACEOF
17024 /* confdefs.h. */
17025 _ACEOF
17026 cat confdefs.h >>conftest.$ac_ext
17027 cat >>conftest.$ac_ext <<_ACEOF
17028 /* end confdefs.h. */
17029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17031 #define $ac_func innocuous_$ac_func
17033 /* System header to define __stub macros and hopefully few prototypes,
17034 which can conflict with char $ac_func (); below.
17035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17036 <limits.h> exists even on freestanding compilers. */
17038 #ifdef __STDC__
17039 # include <limits.h>
17040 #else
17041 # include <assert.h>
17042 #endif
17044 #undef $ac_func
17046 /* Override any gcc2 internal prototype to avoid an error. */
17047 #ifdef __cplusplus
17048 extern "C"
17050 #endif
17051 /* We use char because int might match the return type of a gcc2
17052 builtin and then its argument prototype would still apply. */
17053 char $ac_func ();
17054 /* The GNU C library defines this for functions which it implements
17055 to always fail with ENOSYS. Some functions are actually named
17056 something starting with __ and the normal name is an alias. */
17057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17058 choke me
17059 #else
17060 char (*f) () = $ac_func;
17061 #endif
17062 #ifdef __cplusplus
17064 #endif
17067 main ()
17069 return f != $ac_func;
17071 return 0;
17073 _ACEOF
17074 rm -f conftest.$ac_objext conftest$ac_exeext
17075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17076 (eval $ac_link) 2>conftest.er1
17077 ac_status=$?
17078 grep -v '^ *+' conftest.er1 >conftest.err
17079 rm -f conftest.er1
17080 cat conftest.err >&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); } &&
17083 { ac_try='test -z "$ac_c_werror_flag"
17084 || test ! -s conftest.err'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17087 ac_status=$?
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try='test -s conftest$ac_exeext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17093 ac_status=$?
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 eval "$as_ac_var=yes"
17097 else
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17101 eval "$as_ac_var=no"
17103 rm -f conftest.err conftest.$ac_objext \
17104 conftest$ac_exeext conftest.$ac_ext
17106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17108 if test `eval echo '${'$as_ac_var'}'` = yes; then
17109 cat >>confdefs.h <<_ACEOF
17110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17111 _ACEOF
17114 done
17116 else
17118 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17119 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17120 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17121 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17123 else
17127 ac_ext=cc
17128 ac_cpp='$CXXCPP $CPPFLAGS'
17129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17133 cat >conftest.$ac_ext <<_ACEOF
17134 /* confdefs.h. */
17135 _ACEOF
17136 cat confdefs.h >>conftest.$ac_ext
17137 cat >>conftest.$ac_ext <<_ACEOF
17138 /* end confdefs.h. */
17139 #include <math.h>
17141 main ()
17143 _sincosf(0, 0, 0);
17145 return 0;
17147 _ACEOF
17148 rm -f conftest.$ac_objext
17149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17150 (eval $ac_compile) 2>conftest.er1
17151 ac_status=$?
17152 grep -v '^ *+' conftest.er1 >conftest.err
17153 rm -f conftest.er1
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } &&
17157 { ac_try='test -z "$ac_cxx_werror_flag"
17158 || test ! -s conftest.err'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17161 ac_status=$?
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; } &&
17164 { ac_try='test -s conftest.$ac_objext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17167 ac_status=$?
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 glibcxx_cv_func__sincosf_use=yes
17171 else
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17175 glibcxx_cv_func__sincosf_use=no
17177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17178 ac_ext=c
17179 ac_cpp='$CPP $CPPFLAGS'
17180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17189 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17191 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17193 for ac_func in _sincosf
17195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17196 echo "$as_me:$LINENO: checking for $ac_func" >&5
17197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17198 if eval "test \"\${$as_ac_var+set}\" = set"; then
17199 echo $ECHO_N "(cached) $ECHO_C" >&6
17200 else
17201 if test x$gcc_no_link = xyes; then
17202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17204 { (exit 1); exit 1; }; }
17206 cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h. */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17214 #define $ac_func innocuous_$ac_func
17216 /* System header to define __stub macros and hopefully few prototypes,
17217 which can conflict with char $ac_func (); below.
17218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17219 <limits.h> exists even on freestanding compilers. */
17221 #ifdef __STDC__
17222 # include <limits.h>
17223 #else
17224 # include <assert.h>
17225 #endif
17227 #undef $ac_func
17229 /* Override any gcc2 internal prototype to avoid an error. */
17230 #ifdef __cplusplus
17231 extern "C"
17233 #endif
17234 /* We use char because int might match the return type of a gcc2
17235 builtin and then its argument prototype would still apply. */
17236 char $ac_func ();
17237 /* The GNU C library defines this for functions which it implements
17238 to always fail with ENOSYS. Some functions are actually named
17239 something starting with __ and the normal name is an alias. */
17240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17241 choke me
17242 #else
17243 char (*f) () = $ac_func;
17244 #endif
17245 #ifdef __cplusplus
17247 #endif
17250 main ()
17252 return f != $ac_func;
17254 return 0;
17256 _ACEOF
17257 rm -f conftest.$ac_objext conftest$ac_exeext
17258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17259 (eval $ac_link) 2>conftest.er1
17260 ac_status=$?
17261 grep -v '^ *+' conftest.er1 >conftest.err
17262 rm -f conftest.er1
17263 cat conftest.err >&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); } &&
17266 { ac_try='test -z "$ac_c_werror_flag"
17267 || test ! -s conftest.err'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17270 ac_status=$?
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; } &&
17273 { ac_try='test -s conftest$ac_exeext'
17274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17275 (eval $ac_try) 2>&5
17276 ac_status=$?
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); }; }; then
17279 eval "$as_ac_var=yes"
17280 else
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.$ac_ext >&5
17284 eval "$as_ac_var=no"
17286 rm -f conftest.err conftest.$ac_objext \
17287 conftest$ac_exeext conftest.$ac_ext
17289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17291 if test `eval echo '${'$as_ac_var'}'` = yes; then
17292 cat >>confdefs.h <<_ACEOF
17293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17294 _ACEOF
17297 done
17304 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17305 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17306 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17307 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 else
17313 ac_ext=cc
17314 ac_cpp='$CXXCPP $CPPFLAGS'
17315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17319 cat >conftest.$ac_ext <<_ACEOF
17320 /* confdefs.h. */
17321 _ACEOF
17322 cat confdefs.h >>conftest.$ac_ext
17323 cat >>conftest.$ac_ext <<_ACEOF
17324 /* end confdefs.h. */
17325 #include <math.h>
17326 #ifdef HAVE_IEEEFP_H
17327 #include <ieeefp.h>
17328 #endif
17331 main ()
17333 finitef(0);
17335 return 0;
17337 _ACEOF
17338 rm -f conftest.$ac_objext
17339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17340 (eval $ac_compile) 2>conftest.er1
17341 ac_status=$?
17342 grep -v '^ *+' conftest.er1 >conftest.err
17343 rm -f conftest.er1
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } &&
17347 { ac_try='test -z "$ac_cxx_werror_flag"
17348 || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17351 ac_status=$?
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try='test -s conftest.$ac_objext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17357 ac_status=$?
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 glibcxx_cv_func_finitef_use=yes
17361 else
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.$ac_ext >&5
17365 glibcxx_cv_func_finitef_use=no
17367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17368 ac_ext=c
17369 ac_cpp='$CPP $CPPFLAGS'
17370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17378 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17379 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17381 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17383 for ac_func in finitef
17385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17386 echo "$as_me:$LINENO: checking for $ac_func" >&5
17387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17388 if eval "test \"\${$as_ac_var+set}\" = set"; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 else
17391 if test x$gcc_no_link = xyes; then
17392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17394 { (exit 1); exit 1; }; }
17396 cat >conftest.$ac_ext <<_ACEOF
17397 /* confdefs.h. */
17398 _ACEOF
17399 cat confdefs.h >>conftest.$ac_ext
17400 cat >>conftest.$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17404 #define $ac_func innocuous_$ac_func
17406 /* System header to define __stub macros and hopefully few prototypes,
17407 which can conflict with char $ac_func (); below.
17408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17409 <limits.h> exists even on freestanding compilers. */
17411 #ifdef __STDC__
17412 # include <limits.h>
17413 #else
17414 # include <assert.h>
17415 #endif
17417 #undef $ac_func
17419 /* Override any gcc2 internal prototype to avoid an error. */
17420 #ifdef __cplusplus
17421 extern "C"
17423 #endif
17424 /* We use char because int might match the return type of a gcc2
17425 builtin and then its argument prototype would still apply. */
17426 char $ac_func ();
17427 /* The GNU C library defines this for functions which it implements
17428 to always fail with ENOSYS. Some functions are actually named
17429 something starting with __ and the normal name is an alias. */
17430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17431 choke me
17432 #else
17433 char (*f) () = $ac_func;
17434 #endif
17435 #ifdef __cplusplus
17437 #endif
17440 main ()
17442 return f != $ac_func;
17444 return 0;
17446 _ACEOF
17447 rm -f conftest.$ac_objext conftest$ac_exeext
17448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17449 (eval $ac_link) 2>conftest.er1
17450 ac_status=$?
17451 grep -v '^ *+' conftest.er1 >conftest.err
17452 rm -f conftest.er1
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try='test -z "$ac_c_werror_flag"
17457 || test ! -s conftest.err'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17460 ac_status=$?
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; } &&
17463 { ac_try='test -s conftest$ac_exeext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17466 ac_status=$?
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 eval "$as_ac_var=yes"
17470 else
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.$ac_ext >&5
17474 eval "$as_ac_var=no"
17476 rm -f conftest.err conftest.$ac_objext \
17477 conftest$ac_exeext conftest.$ac_ext
17479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17481 if test `eval echo '${'$as_ac_var'}'` = yes; then
17482 cat >>confdefs.h <<_ACEOF
17483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17484 _ACEOF
17487 done
17489 else
17491 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17492 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17493 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17494 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17495 echo $ECHO_N "(cached) $ECHO_C" >&6
17496 else
17500 ac_ext=cc
17501 ac_cpp='$CXXCPP $CPPFLAGS'
17502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17506 cat >conftest.$ac_ext <<_ACEOF
17507 /* confdefs.h. */
17508 _ACEOF
17509 cat confdefs.h >>conftest.$ac_ext
17510 cat >>conftest.$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17512 #include <math.h>
17513 #ifdef HAVE_IEEEFP_H
17514 #include <ieeefp.h>
17515 #endif
17518 main ()
17520 _finitef(0);
17522 return 0;
17524 _ACEOF
17525 rm -f conftest.$ac_objext
17526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17527 (eval $ac_compile) 2>conftest.er1
17528 ac_status=$?
17529 grep -v '^ *+' conftest.er1 >conftest.err
17530 rm -f conftest.er1
17531 cat conftest.err >&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } &&
17534 { ac_try='test -z "$ac_cxx_werror_flag"
17535 || test ! -s conftest.err'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17538 ac_status=$?
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; } &&
17541 { ac_try='test -s conftest.$ac_objext'
17542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17543 (eval $ac_try) 2>&5
17544 ac_status=$?
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }; }; then
17547 glibcxx_cv_func__finitef_use=yes
17548 else
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.$ac_ext >&5
17552 glibcxx_cv_func__finitef_use=no
17554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17555 ac_ext=c
17556 ac_cpp='$CPP $CPPFLAGS'
17557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17565 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17566 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17568 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17570 for ac_func in _finitef
17572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17573 echo "$as_me:$LINENO: checking for $ac_func" >&5
17574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17575 if eval "test \"\${$as_ac_var+set}\" = set"; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17577 else
17578 if test x$gcc_no_link = xyes; then
17579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17581 { (exit 1); exit 1; }; }
17583 cat >conftest.$ac_ext <<_ACEOF
17584 /* confdefs.h. */
17585 _ACEOF
17586 cat confdefs.h >>conftest.$ac_ext
17587 cat >>conftest.$ac_ext <<_ACEOF
17588 /* end confdefs.h. */
17589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17591 #define $ac_func innocuous_$ac_func
17593 /* System header to define __stub macros and hopefully few prototypes,
17594 which can conflict with char $ac_func (); below.
17595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17596 <limits.h> exists even on freestanding compilers. */
17598 #ifdef __STDC__
17599 # include <limits.h>
17600 #else
17601 # include <assert.h>
17602 #endif
17604 #undef $ac_func
17606 /* Override any gcc2 internal prototype to avoid an error. */
17607 #ifdef __cplusplus
17608 extern "C"
17610 #endif
17611 /* We use char because int might match the return type of a gcc2
17612 builtin and then its argument prototype would still apply. */
17613 char $ac_func ();
17614 /* The GNU C library defines this for functions which it implements
17615 to always fail with ENOSYS. Some functions are actually named
17616 something starting with __ and the normal name is an alias. */
17617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17618 choke me
17619 #else
17620 char (*f) () = $ac_func;
17621 #endif
17622 #ifdef __cplusplus
17624 #endif
17627 main ()
17629 return f != $ac_func;
17631 return 0;
17633 _ACEOF
17634 rm -f conftest.$ac_objext conftest$ac_exeext
17635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17636 (eval $ac_link) 2>conftest.er1
17637 ac_status=$?
17638 grep -v '^ *+' conftest.er1 >conftest.err
17639 rm -f conftest.er1
17640 cat conftest.err >&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } &&
17643 { ac_try='test -z "$ac_c_werror_flag"
17644 || test ! -s conftest.err'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17647 ac_status=$?
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; } &&
17650 { ac_try='test -s conftest$ac_exeext'
17651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17652 (eval $ac_try) 2>&5
17653 ac_status=$?
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); }; }; then
17656 eval "$as_ac_var=yes"
17657 else
17658 echo "$as_me: failed program was:" >&5
17659 sed 's/^/| /' conftest.$ac_ext >&5
17661 eval "$as_ac_var=no"
17663 rm -f conftest.err conftest.$ac_objext \
17664 conftest$ac_exeext conftest.$ac_ext
17666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17668 if test `eval echo '${'$as_ac_var'}'` = yes; then
17669 cat >>confdefs.h <<_ACEOF
17670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17671 _ACEOF
17674 done
17681 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17682 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17683 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17684 echo $ECHO_N "(cached) $ECHO_C" >&6
17685 else
17689 ac_ext=cc
17690 ac_cpp='$CXXCPP $CPPFLAGS'
17691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17695 cat >conftest.$ac_ext <<_ACEOF
17696 /* confdefs.h. */
17697 _ACEOF
17698 cat confdefs.h >>conftest.$ac_ext
17699 cat >>conftest.$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17701 #include <math.h>
17703 main ()
17705 `for x in acosl asinl atanl \
17706 cosl sinl tanl \
17707 coshl sinhl tanhl; do echo "$x (0);"; done`
17709 return 0;
17711 _ACEOF
17712 rm -f conftest.$ac_objext
17713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17714 (eval $ac_compile) 2>conftest.er1
17715 ac_status=$?
17716 grep -v '^ *+' conftest.er1 >conftest.err
17717 rm -f conftest.er1
17718 cat conftest.err >&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); } &&
17721 { ac_try='test -z "$ac_cxx_werror_flag"
17722 || test ! -s conftest.err'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17725 ac_status=$?
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; } &&
17728 { ac_try='test -s conftest.$ac_objext'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17731 ac_status=$?
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; }; then
17734 glibcxx_cv_func_long_double_trig_use=yes
17735 else
17736 echo "$as_me: failed program was:" >&5
17737 sed 's/^/| /' conftest.$ac_ext >&5
17739 glibcxx_cv_func_long_double_trig_use=no
17741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17742 ac_ext=c
17743 ac_cpp='$CPP $CPPFLAGS'
17744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17750 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17751 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17752 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17762 for ac_func in acosl asinl atanl \
17763 cosl sinl tanl \
17764 coshl sinhl tanhl
17766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17767 echo "$as_me:$LINENO: checking for $ac_func" >&5
17768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17769 if eval "test \"\${$as_ac_var+set}\" = set"; then
17770 echo $ECHO_N "(cached) $ECHO_C" >&6
17771 else
17772 if test x$gcc_no_link = xyes; then
17773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17775 { (exit 1); exit 1; }; }
17777 cat >conftest.$ac_ext <<_ACEOF
17778 /* confdefs.h. */
17779 _ACEOF
17780 cat confdefs.h >>conftest.$ac_ext
17781 cat >>conftest.$ac_ext <<_ACEOF
17782 /* end confdefs.h. */
17783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17785 #define $ac_func innocuous_$ac_func
17787 /* System header to define __stub macros and hopefully few prototypes,
17788 which can conflict with char $ac_func (); below.
17789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17790 <limits.h> exists even on freestanding compilers. */
17792 #ifdef __STDC__
17793 # include <limits.h>
17794 #else
17795 # include <assert.h>
17796 #endif
17798 #undef $ac_func
17800 /* Override any gcc2 internal prototype to avoid an error. */
17801 #ifdef __cplusplus
17802 extern "C"
17804 #endif
17805 /* We use char because int might match the return type of a gcc2
17806 builtin and then its argument prototype would still apply. */
17807 char $ac_func ();
17808 /* The GNU C library defines this for functions which it implements
17809 to always fail with ENOSYS. Some functions are actually named
17810 something starting with __ and the normal name is an alias. */
17811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17812 choke me
17813 #else
17814 char (*f) () = $ac_func;
17815 #endif
17816 #ifdef __cplusplus
17818 #endif
17821 main ()
17823 return f != $ac_func;
17825 return 0;
17827 _ACEOF
17828 rm -f conftest.$ac_objext conftest$ac_exeext
17829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17830 (eval $ac_link) 2>conftest.er1
17831 ac_status=$?
17832 grep -v '^ *+' conftest.er1 >conftest.err
17833 rm -f conftest.er1
17834 cat conftest.err >&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } &&
17837 { ac_try='test -z "$ac_c_werror_flag"
17838 || test ! -s conftest.err'
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17841 ac_status=$?
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; } &&
17844 { ac_try='test -s conftest$ac_exeext'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17847 ac_status=$?
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; }; then
17850 eval "$as_ac_var=yes"
17851 else
17852 echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.$ac_ext >&5
17855 eval "$as_ac_var=no"
17857 rm -f conftest.err conftest.$ac_objext \
17858 conftest$ac_exeext conftest.$ac_ext
17860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17862 if test `eval echo '${'$as_ac_var'}'` = yes; then
17863 cat >>confdefs.h <<_ACEOF
17864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17865 _ACEOF
17868 done
17873 echo "$as_me:$LINENO: checking for long double round functions" >&5
17874 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17875 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17876 echo $ECHO_N "(cached) $ECHO_C" >&6
17877 else
17881 ac_ext=cc
17882 ac_cpp='$CXXCPP $CPPFLAGS'
17883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17887 cat >conftest.$ac_ext <<_ACEOF
17888 /* confdefs.h. */
17889 _ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17893 #include <math.h>
17895 main ()
17897 `for x in ceill floorl; do echo "$x (0);"; done`
17899 return 0;
17901 _ACEOF
17902 rm -f conftest.$ac_objext
17903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17904 (eval $ac_compile) 2>conftest.er1
17905 ac_status=$?
17906 grep -v '^ *+' conftest.er1 >conftest.err
17907 rm -f conftest.er1
17908 cat conftest.err >&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } &&
17911 { ac_try='test -z "$ac_cxx_werror_flag"
17912 || test ! -s conftest.err'
17913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914 (eval $ac_try) 2>&5
17915 ac_status=$?
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); }; } &&
17918 { ac_try='test -s conftest.$ac_objext'
17919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17920 (eval $ac_try) 2>&5
17921 ac_status=$?
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; }; then
17924 glibcxx_cv_func_long_double_round_use=yes
17925 else
17926 echo "$as_me: failed program was:" >&5
17927 sed 's/^/| /' conftest.$ac_ext >&5
17929 glibcxx_cv_func_long_double_round_use=no
17931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17932 ac_ext=c
17933 ac_cpp='$CPP $CPPFLAGS'
17934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17940 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17941 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17942 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17945 for ac_func in ceill floorl
17947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17948 echo "$as_me:$LINENO: checking for $ac_func" >&5
17949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17950 if eval "test \"\${$as_ac_var+set}\" = set"; then
17951 echo $ECHO_N "(cached) $ECHO_C" >&6
17952 else
17953 if test x$gcc_no_link = xyes; then
17954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17956 { (exit 1); exit 1; }; }
17958 cat >conftest.$ac_ext <<_ACEOF
17959 /* confdefs.h. */
17960 _ACEOF
17961 cat confdefs.h >>conftest.$ac_ext
17962 cat >>conftest.$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17966 #define $ac_func innocuous_$ac_func
17968 /* System header to define __stub macros and hopefully few prototypes,
17969 which can conflict with char $ac_func (); below.
17970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17971 <limits.h> exists even on freestanding compilers. */
17973 #ifdef __STDC__
17974 # include <limits.h>
17975 #else
17976 # include <assert.h>
17977 #endif
17979 #undef $ac_func
17981 /* Override any gcc2 internal prototype to avoid an error. */
17982 #ifdef __cplusplus
17983 extern "C"
17985 #endif
17986 /* We use char because int might match the return type of a gcc2
17987 builtin and then its argument prototype would still apply. */
17988 char $ac_func ();
17989 /* The GNU C library defines this for functions which it implements
17990 to always fail with ENOSYS. Some functions are actually named
17991 something starting with __ and the normal name is an alias. */
17992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17993 choke me
17994 #else
17995 char (*f) () = $ac_func;
17996 #endif
17997 #ifdef __cplusplus
17999 #endif
18002 main ()
18004 return f != $ac_func;
18006 return 0;
18008 _ACEOF
18009 rm -f conftest.$ac_objext conftest$ac_exeext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18011 (eval $ac_link) 2>conftest.er1
18012 ac_status=$?
18013 grep -v '^ *+' conftest.er1 >conftest.err
18014 rm -f conftest.er1
18015 cat conftest.err >&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); } &&
18018 { ac_try='test -z "$ac_c_werror_flag"
18019 || test ! -s conftest.err'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18022 ac_status=$?
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; } &&
18025 { ac_try='test -s conftest$ac_exeext'
18026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18027 (eval $ac_try) 2>&5
18028 ac_status=$?
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); }; }; then
18031 eval "$as_ac_var=yes"
18032 else
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.$ac_ext >&5
18036 eval "$as_ac_var=no"
18038 rm -f conftest.err conftest.$ac_objext \
18039 conftest$ac_exeext conftest.$ac_ext
18041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18043 if test `eval echo '${'$as_ac_var'}'` = yes; then
18044 cat >>confdefs.h <<_ACEOF
18045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18046 _ACEOF
18049 done
18055 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18056 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18057 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18058 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18059 echo $ECHO_N "(cached) $ECHO_C" >&6
18060 else
18064 ac_ext=cc
18065 ac_cpp='$CXXCPP $CPPFLAGS'
18066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18070 cat >conftest.$ac_ext <<_ACEOF
18071 /* confdefs.h. */
18072 _ACEOF
18073 cat confdefs.h >>conftest.$ac_ext
18074 cat >>conftest.$ac_ext <<_ACEOF
18075 /* end confdefs.h. */
18076 #include <math.h>
18077 #ifdef HAVE_IEEEFP_H
18078 #include <ieeefp.h>
18079 #endif
18082 main ()
18084 isnanl(0);
18086 return 0;
18088 _ACEOF
18089 rm -f conftest.$ac_objext
18090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18091 (eval $ac_compile) 2>conftest.er1
18092 ac_status=$?
18093 grep -v '^ *+' conftest.er1 >conftest.err
18094 rm -f conftest.er1
18095 cat conftest.err >&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } &&
18098 { ac_try='test -z "$ac_cxx_werror_flag"
18099 || test ! -s conftest.err'
18100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18101 (eval $ac_try) 2>&5
18102 ac_status=$?
18103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104 (exit $ac_status); }; } &&
18105 { ac_try='test -s conftest.$ac_objext'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18108 ac_status=$?
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; }; then
18111 glibcxx_cv_func_isnanl_use=yes
18112 else
18113 echo "$as_me: failed program was:" >&5
18114 sed 's/^/| /' conftest.$ac_ext >&5
18116 glibcxx_cv_func_isnanl_use=no
18118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18119 ac_ext=c
18120 ac_cpp='$CPP $CPPFLAGS'
18121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18129 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18130 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18132 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18134 for ac_func in isnanl
18136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18137 echo "$as_me:$LINENO: checking for $ac_func" >&5
18138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18139 if eval "test \"\${$as_ac_var+set}\" = set"; then
18140 echo $ECHO_N "(cached) $ECHO_C" >&6
18141 else
18142 if test x$gcc_no_link = xyes; then
18143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18145 { (exit 1); exit 1; }; }
18147 cat >conftest.$ac_ext <<_ACEOF
18148 /* confdefs.h. */
18149 _ACEOF
18150 cat confdefs.h >>conftest.$ac_ext
18151 cat >>conftest.$ac_ext <<_ACEOF
18152 /* end confdefs.h. */
18153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18155 #define $ac_func innocuous_$ac_func
18157 /* System header to define __stub macros and hopefully few prototypes,
18158 which can conflict with char $ac_func (); below.
18159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18160 <limits.h> exists even on freestanding compilers. */
18162 #ifdef __STDC__
18163 # include <limits.h>
18164 #else
18165 # include <assert.h>
18166 #endif
18168 #undef $ac_func
18170 /* Override any gcc2 internal prototype to avoid an error. */
18171 #ifdef __cplusplus
18172 extern "C"
18174 #endif
18175 /* We use char because int might match the return type of a gcc2
18176 builtin and then its argument prototype would still apply. */
18177 char $ac_func ();
18178 /* The GNU C library defines this for functions which it implements
18179 to always fail with ENOSYS. Some functions are actually named
18180 something starting with __ and the normal name is an alias. */
18181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18182 choke me
18183 #else
18184 char (*f) () = $ac_func;
18185 #endif
18186 #ifdef __cplusplus
18188 #endif
18191 main ()
18193 return f != $ac_func;
18195 return 0;
18197 _ACEOF
18198 rm -f conftest.$ac_objext conftest$ac_exeext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18200 (eval $ac_link) 2>conftest.er1
18201 ac_status=$?
18202 grep -v '^ *+' conftest.er1 >conftest.err
18203 rm -f conftest.er1
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } &&
18207 { ac_try='test -z "$ac_c_werror_flag"
18208 || test ! -s conftest.err'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18211 ac_status=$?
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; } &&
18214 { ac_try='test -s conftest$ac_exeext'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18217 ac_status=$?
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; }; then
18220 eval "$as_ac_var=yes"
18221 else
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18225 eval "$as_ac_var=no"
18227 rm -f conftest.err conftest.$ac_objext \
18228 conftest$ac_exeext conftest.$ac_ext
18230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18232 if test `eval echo '${'$as_ac_var'}'` = yes; then
18233 cat >>confdefs.h <<_ACEOF
18234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18235 _ACEOF
18238 done
18240 else
18242 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18243 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18244 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18245 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18246 echo $ECHO_N "(cached) $ECHO_C" >&6
18247 else
18251 ac_ext=cc
18252 ac_cpp='$CXXCPP $CPPFLAGS'
18253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18257 cat >conftest.$ac_ext <<_ACEOF
18258 /* confdefs.h. */
18259 _ACEOF
18260 cat confdefs.h >>conftest.$ac_ext
18261 cat >>conftest.$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18263 #include <math.h>
18264 #ifdef HAVE_IEEEFP_H
18265 #include <ieeefp.h>
18266 #endif
18269 main ()
18271 _isnanl(0);
18273 return 0;
18275 _ACEOF
18276 rm -f conftest.$ac_objext
18277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18278 (eval $ac_compile) 2>conftest.er1
18279 ac_status=$?
18280 grep -v '^ *+' conftest.er1 >conftest.err
18281 rm -f conftest.er1
18282 cat conftest.err >&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); } &&
18285 { ac_try='test -z "$ac_cxx_werror_flag"
18286 || test ! -s conftest.err'
18287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18288 (eval $ac_try) 2>&5
18289 ac_status=$?
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); }; } &&
18292 { ac_try='test -s conftest.$ac_objext'
18293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18294 (eval $ac_try) 2>&5
18295 ac_status=$?
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); }; }; then
18298 glibcxx_cv_func__isnanl_use=yes
18299 else
18300 echo "$as_me: failed program was:" >&5
18301 sed 's/^/| /' conftest.$ac_ext >&5
18303 glibcxx_cv_func__isnanl_use=no
18305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18306 ac_ext=c
18307 ac_cpp='$CPP $CPPFLAGS'
18308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18316 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18317 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18319 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18321 for ac_func in _isnanl
18323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18324 echo "$as_me:$LINENO: checking for $ac_func" >&5
18325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18326 if eval "test \"\${$as_ac_var+set}\" = set"; then
18327 echo $ECHO_N "(cached) $ECHO_C" >&6
18328 else
18329 if test x$gcc_no_link = xyes; then
18330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18332 { (exit 1); exit 1; }; }
18334 cat >conftest.$ac_ext <<_ACEOF
18335 /* confdefs.h. */
18336 _ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18342 #define $ac_func innocuous_$ac_func
18344 /* System header to define __stub macros and hopefully few prototypes,
18345 which can conflict with char $ac_func (); below.
18346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18347 <limits.h> exists even on freestanding compilers. */
18349 #ifdef __STDC__
18350 # include <limits.h>
18351 #else
18352 # include <assert.h>
18353 #endif
18355 #undef $ac_func
18357 /* Override any gcc2 internal prototype to avoid an error. */
18358 #ifdef __cplusplus
18359 extern "C"
18361 #endif
18362 /* We use char because int might match the return type of a gcc2
18363 builtin and then its argument prototype would still apply. */
18364 char $ac_func ();
18365 /* The GNU C library defines this for functions which it implements
18366 to always fail with ENOSYS. Some functions are actually named
18367 something starting with __ and the normal name is an alias. */
18368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18369 choke me
18370 #else
18371 char (*f) () = $ac_func;
18372 #endif
18373 #ifdef __cplusplus
18375 #endif
18378 main ()
18380 return f != $ac_func;
18382 return 0;
18384 _ACEOF
18385 rm -f conftest.$ac_objext conftest$ac_exeext
18386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18387 (eval $ac_link) 2>conftest.er1
18388 ac_status=$?
18389 grep -v '^ *+' conftest.er1 >conftest.err
18390 rm -f conftest.er1
18391 cat conftest.err >&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); } &&
18394 { ac_try='test -z "$ac_c_werror_flag"
18395 || test ! -s conftest.err'
18396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18397 (eval $ac_try) 2>&5
18398 ac_status=$?
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; } &&
18401 { ac_try='test -s conftest$ac_exeext'
18402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18403 (eval $ac_try) 2>&5
18404 ac_status=$?
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); }; }; then
18407 eval "$as_ac_var=yes"
18408 else
18409 echo "$as_me: failed program was:" >&5
18410 sed 's/^/| /' conftest.$ac_ext >&5
18412 eval "$as_ac_var=no"
18414 rm -f conftest.err conftest.$ac_objext \
18415 conftest$ac_exeext conftest.$ac_ext
18417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18419 if test `eval echo '${'$as_ac_var'}'` = yes; then
18420 cat >>confdefs.h <<_ACEOF
18421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18422 _ACEOF
18425 done
18432 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18433 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18434 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18435 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18436 echo $ECHO_N "(cached) $ECHO_C" >&6
18437 else
18441 ac_ext=cc
18442 ac_cpp='$CXXCPP $CPPFLAGS'
18443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18447 cat >conftest.$ac_ext <<_ACEOF
18448 /* confdefs.h. */
18449 _ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 #include <math.h>
18454 #ifdef HAVE_IEEEFP_H
18455 #include <ieeefp.h>
18456 #endif
18459 main ()
18461 isinfl(0);
18463 return 0;
18465 _ACEOF
18466 rm -f conftest.$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 (eval $ac_compile) 2>conftest.er1
18469 ac_status=$?
18470 grep -v '^ *+' conftest.er1 >conftest.err
18471 rm -f conftest.er1
18472 cat conftest.err >&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } &&
18475 { ac_try='test -z "$ac_cxx_werror_flag"
18476 || test ! -s conftest.err'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18479 ac_status=$?
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; } &&
18482 { ac_try='test -s conftest.$ac_objext'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18485 ac_status=$?
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; }; then
18488 glibcxx_cv_func_isinfl_use=yes
18489 else
18490 echo "$as_me: failed program was:" >&5
18491 sed 's/^/| /' conftest.$ac_ext >&5
18493 glibcxx_cv_func_isinfl_use=no
18495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18496 ac_ext=c
18497 ac_cpp='$CPP $CPPFLAGS'
18498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18506 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18507 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18509 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18511 for ac_func in isinfl
18513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18514 echo "$as_me:$LINENO: checking for $ac_func" >&5
18515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18516 if eval "test \"\${$as_ac_var+set}\" = set"; then
18517 echo $ECHO_N "(cached) $ECHO_C" >&6
18518 else
18519 if test x$gcc_no_link = xyes; then
18520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18522 { (exit 1); exit 1; }; }
18524 cat >conftest.$ac_ext <<_ACEOF
18525 /* confdefs.h. */
18526 _ACEOF
18527 cat confdefs.h >>conftest.$ac_ext
18528 cat >>conftest.$ac_ext <<_ACEOF
18529 /* end confdefs.h. */
18530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18532 #define $ac_func innocuous_$ac_func
18534 /* System header to define __stub macros and hopefully few prototypes,
18535 which can conflict with char $ac_func (); below.
18536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18537 <limits.h> exists even on freestanding compilers. */
18539 #ifdef __STDC__
18540 # include <limits.h>
18541 #else
18542 # include <assert.h>
18543 #endif
18545 #undef $ac_func
18547 /* Override any gcc2 internal prototype to avoid an error. */
18548 #ifdef __cplusplus
18549 extern "C"
18551 #endif
18552 /* We use char because int might match the return type of a gcc2
18553 builtin and then its argument prototype would still apply. */
18554 char $ac_func ();
18555 /* The GNU C library defines this for functions which it implements
18556 to always fail with ENOSYS. Some functions are actually named
18557 something starting with __ and the normal name is an alias. */
18558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18559 choke me
18560 #else
18561 char (*f) () = $ac_func;
18562 #endif
18563 #ifdef __cplusplus
18565 #endif
18568 main ()
18570 return f != $ac_func;
18572 return 0;
18574 _ACEOF
18575 rm -f conftest.$ac_objext conftest$ac_exeext
18576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18577 (eval $ac_link) 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } &&
18584 { ac_try='test -z "$ac_c_werror_flag"
18585 || test ! -s conftest.err'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18588 ac_status=$?
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; } &&
18591 { ac_try='test -s conftest$ac_exeext'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18594 ac_status=$?
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; }; then
18597 eval "$as_ac_var=yes"
18598 else
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.$ac_ext >&5
18602 eval "$as_ac_var=no"
18604 rm -f conftest.err conftest.$ac_objext \
18605 conftest$ac_exeext conftest.$ac_ext
18607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18609 if test `eval echo '${'$as_ac_var'}'` = yes; then
18610 cat >>confdefs.h <<_ACEOF
18611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18612 _ACEOF
18615 done
18617 else
18619 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18620 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18621 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18622 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18623 echo $ECHO_N "(cached) $ECHO_C" >&6
18624 else
18628 ac_ext=cc
18629 ac_cpp='$CXXCPP $CPPFLAGS'
18630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18634 cat >conftest.$ac_ext <<_ACEOF
18635 /* confdefs.h. */
18636 _ACEOF
18637 cat confdefs.h >>conftest.$ac_ext
18638 cat >>conftest.$ac_ext <<_ACEOF
18639 /* end confdefs.h. */
18640 #include <math.h>
18641 #ifdef HAVE_IEEEFP_H
18642 #include <ieeefp.h>
18643 #endif
18646 main ()
18648 _isinfl(0);
18650 return 0;
18652 _ACEOF
18653 rm -f conftest.$ac_objext
18654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18655 (eval $ac_compile) 2>conftest.er1
18656 ac_status=$?
18657 grep -v '^ *+' conftest.er1 >conftest.err
18658 rm -f conftest.er1
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } &&
18662 { ac_try='test -z "$ac_cxx_werror_flag"
18663 || test ! -s conftest.err'
18664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18665 (eval $ac_try) 2>&5
18666 ac_status=$?
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; } &&
18669 { ac_try='test -s conftest.$ac_objext'
18670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18671 (eval $ac_try) 2>&5
18672 ac_status=$?
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); }; }; then
18675 glibcxx_cv_func__isinfl_use=yes
18676 else
18677 echo "$as_me: failed program was:" >&5
18678 sed 's/^/| /' conftest.$ac_ext >&5
18680 glibcxx_cv_func__isinfl_use=no
18682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18683 ac_ext=c
18684 ac_cpp='$CPP $CPPFLAGS'
18685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18694 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18696 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18698 for ac_func in _isinfl
18700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18701 echo "$as_me:$LINENO: checking for $ac_func" >&5
18702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18703 if eval "test \"\${$as_ac_var+set}\" = set"; then
18704 echo $ECHO_N "(cached) $ECHO_C" >&6
18705 else
18706 if test x$gcc_no_link = xyes; then
18707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18709 { (exit 1); exit 1; }; }
18711 cat >conftest.$ac_ext <<_ACEOF
18712 /* confdefs.h. */
18713 _ACEOF
18714 cat confdefs.h >>conftest.$ac_ext
18715 cat >>conftest.$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18719 #define $ac_func innocuous_$ac_func
18721 /* System header to define __stub macros and hopefully few prototypes,
18722 which can conflict with char $ac_func (); below.
18723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18724 <limits.h> exists even on freestanding compilers. */
18726 #ifdef __STDC__
18727 # include <limits.h>
18728 #else
18729 # include <assert.h>
18730 #endif
18732 #undef $ac_func
18734 /* Override any gcc2 internal prototype to avoid an error. */
18735 #ifdef __cplusplus
18736 extern "C"
18738 #endif
18739 /* We use char because int might match the return type of a gcc2
18740 builtin and then its argument prototype would still apply. */
18741 char $ac_func ();
18742 /* The GNU C library defines this for functions which it implements
18743 to always fail with ENOSYS. Some functions are actually named
18744 something starting with __ and the normal name is an alias. */
18745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18746 choke me
18747 #else
18748 char (*f) () = $ac_func;
18749 #endif
18750 #ifdef __cplusplus
18752 #endif
18755 main ()
18757 return f != $ac_func;
18759 return 0;
18761 _ACEOF
18762 rm -f conftest.$ac_objext conftest$ac_exeext
18763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18764 (eval $ac_link) 2>conftest.er1
18765 ac_status=$?
18766 grep -v '^ *+' conftest.er1 >conftest.err
18767 rm -f conftest.er1
18768 cat conftest.err >&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); } &&
18771 { ac_try='test -z "$ac_c_werror_flag"
18772 || test ! -s conftest.err'
18773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18774 (eval $ac_try) 2>&5
18775 ac_status=$?
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); }; } &&
18778 { ac_try='test -s conftest$ac_exeext'
18779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18780 (eval $ac_try) 2>&5
18781 ac_status=$?
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); }; }; then
18784 eval "$as_ac_var=yes"
18785 else
18786 echo "$as_me: failed program was:" >&5
18787 sed 's/^/| /' conftest.$ac_ext >&5
18789 eval "$as_ac_var=no"
18791 rm -f conftest.err conftest.$ac_objext \
18792 conftest$ac_exeext conftest.$ac_ext
18794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18796 if test `eval echo '${'$as_ac_var'}'` = yes; then
18797 cat >>confdefs.h <<_ACEOF
18798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18799 _ACEOF
18802 done
18809 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18810 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18811 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18812 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18813 echo $ECHO_N "(cached) $ECHO_C" >&6
18814 else
18818 ac_ext=cc
18819 ac_cpp='$CXXCPP $CPPFLAGS'
18820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18824 cat >conftest.$ac_ext <<_ACEOF
18825 /* confdefs.h. */
18826 _ACEOF
18827 cat confdefs.h >>conftest.$ac_ext
18828 cat >>conftest.$ac_ext <<_ACEOF
18829 /* end confdefs.h. */
18830 #include <math.h>
18832 main ()
18834 copysignl(0, 0);
18836 return 0;
18838 _ACEOF
18839 rm -f conftest.$ac_objext
18840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18841 (eval $ac_compile) 2>conftest.er1
18842 ac_status=$?
18843 grep -v '^ *+' conftest.er1 >conftest.err
18844 rm -f conftest.er1
18845 cat conftest.err >&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); } &&
18848 { ac_try='test -z "$ac_cxx_werror_flag"
18849 || test ! -s conftest.err'
18850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18851 (eval $ac_try) 2>&5
18852 ac_status=$?
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); }; } &&
18855 { ac_try='test -s conftest.$ac_objext'
18856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18857 (eval $ac_try) 2>&5
18858 ac_status=$?
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); }; }; then
18861 glibcxx_cv_func_copysignl_use=yes
18862 else
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.$ac_ext >&5
18866 glibcxx_cv_func_copysignl_use=no
18868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18869 ac_ext=c
18870 ac_cpp='$CPP $CPPFLAGS'
18871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18880 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18882 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18884 for ac_func in copysignl
18886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18887 echo "$as_me:$LINENO: checking for $ac_func" >&5
18888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18889 if eval "test \"\${$as_ac_var+set}\" = set"; then
18890 echo $ECHO_N "(cached) $ECHO_C" >&6
18891 else
18892 if test x$gcc_no_link = xyes; then
18893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18895 { (exit 1); exit 1; }; }
18897 cat >conftest.$ac_ext <<_ACEOF
18898 /* confdefs.h. */
18899 _ACEOF
18900 cat confdefs.h >>conftest.$ac_ext
18901 cat >>conftest.$ac_ext <<_ACEOF
18902 /* end confdefs.h. */
18903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18905 #define $ac_func innocuous_$ac_func
18907 /* System header to define __stub macros and hopefully few prototypes,
18908 which can conflict with char $ac_func (); below.
18909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18910 <limits.h> exists even on freestanding compilers. */
18912 #ifdef __STDC__
18913 # include <limits.h>
18914 #else
18915 # include <assert.h>
18916 #endif
18918 #undef $ac_func
18920 /* Override any gcc2 internal prototype to avoid an error. */
18921 #ifdef __cplusplus
18922 extern "C"
18924 #endif
18925 /* We use char because int might match the return type of a gcc2
18926 builtin and then its argument prototype would still apply. */
18927 char $ac_func ();
18928 /* The GNU C library defines this for functions which it implements
18929 to always fail with ENOSYS. Some functions are actually named
18930 something starting with __ and the normal name is an alias. */
18931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18932 choke me
18933 #else
18934 char (*f) () = $ac_func;
18935 #endif
18936 #ifdef __cplusplus
18938 #endif
18941 main ()
18943 return f != $ac_func;
18945 return 0;
18947 _ACEOF
18948 rm -f conftest.$ac_objext conftest$ac_exeext
18949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18950 (eval $ac_link) 2>conftest.er1
18951 ac_status=$?
18952 grep -v '^ *+' conftest.er1 >conftest.err
18953 rm -f conftest.er1
18954 cat conftest.err >&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } &&
18957 { ac_try='test -z "$ac_c_werror_flag"
18958 || test ! -s conftest.err'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18961 ac_status=$?
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; } &&
18964 { ac_try='test -s conftest$ac_exeext'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18967 ac_status=$?
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; }; then
18970 eval "$as_ac_var=yes"
18971 else
18972 echo "$as_me: failed program was:" >&5
18973 sed 's/^/| /' conftest.$ac_ext >&5
18975 eval "$as_ac_var=no"
18977 rm -f conftest.err conftest.$ac_objext \
18978 conftest$ac_exeext conftest.$ac_ext
18980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18982 if test `eval echo '${'$as_ac_var'}'` = yes; then
18983 cat >>confdefs.h <<_ACEOF
18984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18985 _ACEOF
18988 done
18990 else
18992 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
18993 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
18994 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
18995 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
18996 echo $ECHO_N "(cached) $ECHO_C" >&6
18997 else
19001 ac_ext=cc
19002 ac_cpp='$CXXCPP $CPPFLAGS'
19003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19007 cat >conftest.$ac_ext <<_ACEOF
19008 /* confdefs.h. */
19009 _ACEOF
19010 cat confdefs.h >>conftest.$ac_ext
19011 cat >>conftest.$ac_ext <<_ACEOF
19012 /* end confdefs.h. */
19013 #include <math.h>
19015 main ()
19017 _copysignl(0, 0);
19019 return 0;
19021 _ACEOF
19022 rm -f conftest.$ac_objext
19023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19024 (eval $ac_compile) 2>conftest.er1
19025 ac_status=$?
19026 grep -v '^ *+' conftest.er1 >conftest.err
19027 rm -f conftest.er1
19028 cat conftest.err >&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); } &&
19031 { ac_try='test -z "$ac_cxx_werror_flag"
19032 || test ! -s conftest.err'
19033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034 (eval $ac_try) 2>&5
19035 ac_status=$?
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); }; } &&
19038 { ac_try='test -s conftest.$ac_objext'
19039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 (eval $ac_try) 2>&5
19041 ac_status=$?
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; }; then
19044 glibcxx_cv_func__copysignl_use=yes
19045 else
19046 echo "$as_me: failed program was:" >&5
19047 sed 's/^/| /' conftest.$ac_ext >&5
19049 glibcxx_cv_func__copysignl_use=no
19051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19052 ac_ext=c
19053 ac_cpp='$CPP $CPPFLAGS'
19054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19063 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19065 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19067 for ac_func in _copysignl
19069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19070 echo "$as_me:$LINENO: checking for $ac_func" >&5
19071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19072 if eval "test \"\${$as_ac_var+set}\" = set"; then
19073 echo $ECHO_N "(cached) $ECHO_C" >&6
19074 else
19075 if test x$gcc_no_link = xyes; then
19076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19078 { (exit 1); exit 1; }; }
19080 cat >conftest.$ac_ext <<_ACEOF
19081 /* confdefs.h. */
19082 _ACEOF
19083 cat confdefs.h >>conftest.$ac_ext
19084 cat >>conftest.$ac_ext <<_ACEOF
19085 /* end confdefs.h. */
19086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19088 #define $ac_func innocuous_$ac_func
19090 /* System header to define __stub macros and hopefully few prototypes,
19091 which can conflict with char $ac_func (); below.
19092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19093 <limits.h> exists even on freestanding compilers. */
19095 #ifdef __STDC__
19096 # include <limits.h>
19097 #else
19098 # include <assert.h>
19099 #endif
19101 #undef $ac_func
19103 /* Override any gcc2 internal prototype to avoid an error. */
19104 #ifdef __cplusplus
19105 extern "C"
19107 #endif
19108 /* We use char because int might match the return type of a gcc2
19109 builtin and then its argument prototype would still apply. */
19110 char $ac_func ();
19111 /* The GNU C library defines this for functions which it implements
19112 to always fail with ENOSYS. Some functions are actually named
19113 something starting with __ and the normal name is an alias. */
19114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19115 choke me
19116 #else
19117 char (*f) () = $ac_func;
19118 #endif
19119 #ifdef __cplusplus
19121 #endif
19124 main ()
19126 return f != $ac_func;
19128 return 0;
19130 _ACEOF
19131 rm -f conftest.$ac_objext conftest$ac_exeext
19132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19133 (eval $ac_link) 2>conftest.er1
19134 ac_status=$?
19135 grep -v '^ *+' conftest.er1 >conftest.err
19136 rm -f conftest.er1
19137 cat conftest.err >&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } &&
19140 { ac_try='test -z "$ac_c_werror_flag"
19141 || test ! -s conftest.err'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19144 ac_status=$?
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; } &&
19147 { ac_try='test -s conftest$ac_exeext'
19148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19149 (eval $ac_try) 2>&5
19150 ac_status=$?
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; }; then
19153 eval "$as_ac_var=yes"
19154 else
19155 echo "$as_me: failed program was:" >&5
19156 sed 's/^/| /' conftest.$ac_ext >&5
19158 eval "$as_ac_var=no"
19160 rm -f conftest.err conftest.$ac_objext \
19161 conftest$ac_exeext conftest.$ac_ext
19163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19165 if test `eval echo '${'$as_ac_var'}'` = yes; then
19166 cat >>confdefs.h <<_ACEOF
19167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19168 _ACEOF
19171 done
19178 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19179 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19180 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19181 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19182 echo $ECHO_N "(cached) $ECHO_C" >&6
19183 else
19187 ac_ext=cc
19188 ac_cpp='$CXXCPP $CPPFLAGS'
19189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19193 cat >conftest.$ac_ext <<_ACEOF
19194 /* confdefs.h. */
19195 _ACEOF
19196 cat confdefs.h >>conftest.$ac_ext
19197 cat >>conftest.$ac_ext <<_ACEOF
19198 /* end confdefs.h. */
19199 #include <math.h>
19201 main ()
19203 atan2l(0, 0);
19205 return 0;
19207 _ACEOF
19208 rm -f conftest.$ac_objext
19209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19210 (eval $ac_compile) 2>conftest.er1
19211 ac_status=$?
19212 grep -v '^ *+' conftest.er1 >conftest.err
19213 rm -f conftest.er1
19214 cat conftest.err >&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } &&
19217 { ac_try='test -z "$ac_cxx_werror_flag"
19218 || test ! -s conftest.err'
19219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19220 (eval $ac_try) 2>&5
19221 ac_status=$?
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); }; } &&
19224 { ac_try='test -s conftest.$ac_objext'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19227 ac_status=$?
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; }; then
19230 glibcxx_cv_func_atan2l_use=yes
19231 else
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.$ac_ext >&5
19235 glibcxx_cv_func_atan2l_use=no
19237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19238 ac_ext=c
19239 ac_cpp='$CPP $CPPFLAGS'
19240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19248 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19249 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19251 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19253 for ac_func in atan2l
19255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19256 echo "$as_me:$LINENO: checking for $ac_func" >&5
19257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19258 if eval "test \"\${$as_ac_var+set}\" = set"; then
19259 echo $ECHO_N "(cached) $ECHO_C" >&6
19260 else
19261 if test x$gcc_no_link = xyes; then
19262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19264 { (exit 1); exit 1; }; }
19266 cat >conftest.$ac_ext <<_ACEOF
19267 /* confdefs.h. */
19268 _ACEOF
19269 cat confdefs.h >>conftest.$ac_ext
19270 cat >>conftest.$ac_ext <<_ACEOF
19271 /* end confdefs.h. */
19272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19274 #define $ac_func innocuous_$ac_func
19276 /* System header to define __stub macros and hopefully few prototypes,
19277 which can conflict with char $ac_func (); below.
19278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19279 <limits.h> exists even on freestanding compilers. */
19281 #ifdef __STDC__
19282 # include <limits.h>
19283 #else
19284 # include <assert.h>
19285 #endif
19287 #undef $ac_func
19289 /* Override any gcc2 internal prototype to avoid an error. */
19290 #ifdef __cplusplus
19291 extern "C"
19293 #endif
19294 /* We use char because int might match the return type of a gcc2
19295 builtin and then its argument prototype would still apply. */
19296 char $ac_func ();
19297 /* The GNU C library defines this for functions which it implements
19298 to always fail with ENOSYS. Some functions are actually named
19299 something starting with __ and the normal name is an alias. */
19300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19301 choke me
19302 #else
19303 char (*f) () = $ac_func;
19304 #endif
19305 #ifdef __cplusplus
19307 #endif
19310 main ()
19312 return f != $ac_func;
19314 return 0;
19316 _ACEOF
19317 rm -f conftest.$ac_objext conftest$ac_exeext
19318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19319 (eval $ac_link) 2>conftest.er1
19320 ac_status=$?
19321 grep -v '^ *+' conftest.er1 >conftest.err
19322 rm -f conftest.er1
19323 cat conftest.err >&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try='test -z "$ac_c_werror_flag"
19327 || test ! -s conftest.err'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19330 ac_status=$?
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; } &&
19333 { ac_try='test -s conftest$ac_exeext'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19336 ac_status=$?
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; }; then
19339 eval "$as_ac_var=yes"
19340 else
19341 echo "$as_me: failed program was:" >&5
19342 sed 's/^/| /' conftest.$ac_ext >&5
19344 eval "$as_ac_var=no"
19346 rm -f conftest.err conftest.$ac_objext \
19347 conftest$ac_exeext conftest.$ac_ext
19349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19351 if test `eval echo '${'$as_ac_var'}'` = yes; then
19352 cat >>confdefs.h <<_ACEOF
19353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19354 _ACEOF
19357 done
19359 else
19361 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19362 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19363 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19364 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19365 echo $ECHO_N "(cached) $ECHO_C" >&6
19366 else
19370 ac_ext=cc
19371 ac_cpp='$CXXCPP $CPPFLAGS'
19372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19376 cat >conftest.$ac_ext <<_ACEOF
19377 /* confdefs.h. */
19378 _ACEOF
19379 cat confdefs.h >>conftest.$ac_ext
19380 cat >>conftest.$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 #include <math.h>
19384 main ()
19386 _atan2l(0, 0);
19388 return 0;
19390 _ACEOF
19391 rm -f conftest.$ac_objext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393 (eval $ac_compile) 2>conftest.er1
19394 ac_status=$?
19395 grep -v '^ *+' conftest.er1 >conftest.err
19396 rm -f conftest.er1
19397 cat conftest.err >&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } &&
19400 { ac_try='test -z "$ac_cxx_werror_flag"
19401 || test ! -s conftest.err'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19404 ac_status=$?
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; } &&
19407 { ac_try='test -s conftest.$ac_objext'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19410 ac_status=$?
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; }; then
19413 glibcxx_cv_func__atan2l_use=yes
19414 else
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19418 glibcxx_cv_func__atan2l_use=no
19420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19421 ac_ext=c
19422 ac_cpp='$CPP $CPPFLAGS'
19423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19432 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19434 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19436 for ac_func in _atan2l
19438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19439 echo "$as_me:$LINENO: checking for $ac_func" >&5
19440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19441 if eval "test \"\${$as_ac_var+set}\" = set"; then
19442 echo $ECHO_N "(cached) $ECHO_C" >&6
19443 else
19444 if test x$gcc_no_link = xyes; then
19445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19447 { (exit 1); exit 1; }; }
19449 cat >conftest.$ac_ext <<_ACEOF
19450 /* confdefs.h. */
19451 _ACEOF
19452 cat confdefs.h >>conftest.$ac_ext
19453 cat >>conftest.$ac_ext <<_ACEOF
19454 /* end confdefs.h. */
19455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19457 #define $ac_func innocuous_$ac_func
19459 /* System header to define __stub macros and hopefully few prototypes,
19460 which can conflict with char $ac_func (); below.
19461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19462 <limits.h> exists even on freestanding compilers. */
19464 #ifdef __STDC__
19465 # include <limits.h>
19466 #else
19467 # include <assert.h>
19468 #endif
19470 #undef $ac_func
19472 /* Override any gcc2 internal prototype to avoid an error. */
19473 #ifdef __cplusplus
19474 extern "C"
19476 #endif
19477 /* We use char because int might match the return type of a gcc2
19478 builtin and then its argument prototype would still apply. */
19479 char $ac_func ();
19480 /* The GNU C library defines this for functions which it implements
19481 to always fail with ENOSYS. Some functions are actually named
19482 something starting with __ and the normal name is an alias. */
19483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19484 choke me
19485 #else
19486 char (*f) () = $ac_func;
19487 #endif
19488 #ifdef __cplusplus
19490 #endif
19493 main ()
19495 return f != $ac_func;
19497 return 0;
19499 _ACEOF
19500 rm -f conftest.$ac_objext conftest$ac_exeext
19501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19502 (eval $ac_link) 2>conftest.er1
19503 ac_status=$?
19504 grep -v '^ *+' conftest.er1 >conftest.err
19505 rm -f conftest.er1
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } &&
19509 { ac_try='test -z "$ac_c_werror_flag"
19510 || test ! -s conftest.err'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19513 ac_status=$?
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; } &&
19516 { ac_try='test -s conftest$ac_exeext'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19519 ac_status=$?
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; }; then
19522 eval "$as_ac_var=yes"
19523 else
19524 echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.$ac_ext >&5
19527 eval "$as_ac_var=no"
19529 rm -f conftest.err conftest.$ac_objext \
19530 conftest$ac_exeext conftest.$ac_ext
19532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19534 if test `eval echo '${'$as_ac_var'}'` = yes; then
19535 cat >>confdefs.h <<_ACEOF
19536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19537 _ACEOF
19540 done
19547 echo "$as_me:$LINENO: checking for expl declaration" >&5
19548 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19549 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19550 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19551 echo $ECHO_N "(cached) $ECHO_C" >&6
19552 else
19556 ac_ext=cc
19557 ac_cpp='$CXXCPP $CPPFLAGS'
19558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19562 cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h. */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 #include <math.h>
19569 #ifdef HAVE_IEEEFP_H
19570 #include <ieeefp.h>
19571 #endif
19574 main ()
19576 expl(0);
19578 return 0;
19580 _ACEOF
19581 rm -f conftest.$ac_objext
19582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19583 (eval $ac_compile) 2>conftest.er1
19584 ac_status=$?
19585 grep -v '^ *+' conftest.er1 >conftest.err
19586 rm -f conftest.er1
19587 cat conftest.err >&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); } &&
19590 { ac_try='test -z "$ac_cxx_werror_flag"
19591 || test ! -s conftest.err'
19592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19593 (eval $ac_try) 2>&5
19594 ac_status=$?
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); }; } &&
19597 { ac_try='test -s conftest.$ac_objext'
19598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19599 (eval $ac_try) 2>&5
19600 ac_status=$?
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); }; }; then
19603 glibcxx_cv_func_expl_use=yes
19604 else
19605 echo "$as_me: failed program was:" >&5
19606 sed 's/^/| /' conftest.$ac_ext >&5
19608 glibcxx_cv_func_expl_use=no
19610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19611 ac_ext=c
19612 ac_cpp='$CPP $CPPFLAGS'
19613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19622 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19624 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19626 for ac_func in expl
19628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19629 echo "$as_me:$LINENO: checking for $ac_func" >&5
19630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19631 if eval "test \"\${$as_ac_var+set}\" = set"; then
19632 echo $ECHO_N "(cached) $ECHO_C" >&6
19633 else
19634 if test x$gcc_no_link = xyes; then
19635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19637 { (exit 1); exit 1; }; }
19639 cat >conftest.$ac_ext <<_ACEOF
19640 /* confdefs.h. */
19641 _ACEOF
19642 cat confdefs.h >>conftest.$ac_ext
19643 cat >>conftest.$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19647 #define $ac_func innocuous_$ac_func
19649 /* System header to define __stub macros and hopefully few prototypes,
19650 which can conflict with char $ac_func (); below.
19651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19652 <limits.h> exists even on freestanding compilers. */
19654 #ifdef __STDC__
19655 # include <limits.h>
19656 #else
19657 # include <assert.h>
19658 #endif
19660 #undef $ac_func
19662 /* Override any gcc2 internal prototype to avoid an error. */
19663 #ifdef __cplusplus
19664 extern "C"
19666 #endif
19667 /* We use char because int might match the return type of a gcc2
19668 builtin and then its argument prototype would still apply. */
19669 char $ac_func ();
19670 /* The GNU C library defines this for functions which it implements
19671 to always fail with ENOSYS. Some functions are actually named
19672 something starting with __ and the normal name is an alias. */
19673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19674 choke me
19675 #else
19676 char (*f) () = $ac_func;
19677 #endif
19678 #ifdef __cplusplus
19680 #endif
19683 main ()
19685 return f != $ac_func;
19687 return 0;
19689 _ACEOF
19690 rm -f conftest.$ac_objext conftest$ac_exeext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19692 (eval $ac_link) 2>conftest.er1
19693 ac_status=$?
19694 grep -v '^ *+' conftest.er1 >conftest.err
19695 rm -f conftest.er1
19696 cat conftest.err >&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } &&
19699 { ac_try='test -z "$ac_c_werror_flag"
19700 || test ! -s conftest.err'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19703 ac_status=$?
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; } &&
19706 { ac_try='test -s conftest$ac_exeext'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19709 ac_status=$?
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; }; then
19712 eval "$as_ac_var=yes"
19713 else
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.$ac_ext >&5
19717 eval "$as_ac_var=no"
19719 rm -f conftest.err conftest.$ac_objext \
19720 conftest$ac_exeext conftest.$ac_ext
19722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19724 if test `eval echo '${'$as_ac_var'}'` = yes; then
19725 cat >>confdefs.h <<_ACEOF
19726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19727 _ACEOF
19730 done
19732 else
19734 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19735 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19736 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19737 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19738 echo $ECHO_N "(cached) $ECHO_C" >&6
19739 else
19743 ac_ext=cc
19744 ac_cpp='$CXXCPP $CPPFLAGS'
19745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19749 cat >conftest.$ac_ext <<_ACEOF
19750 /* confdefs.h. */
19751 _ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 #include <math.h>
19756 #ifdef HAVE_IEEEFP_H
19757 #include <ieeefp.h>
19758 #endif
19761 main ()
19763 _expl(0);
19765 return 0;
19767 _ACEOF
19768 rm -f conftest.$ac_objext
19769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19770 (eval $ac_compile) 2>conftest.er1
19771 ac_status=$?
19772 grep -v '^ *+' conftest.er1 >conftest.err
19773 rm -f conftest.er1
19774 cat conftest.err >&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } &&
19777 { ac_try='test -z "$ac_cxx_werror_flag"
19778 || test ! -s conftest.err'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19781 ac_status=$?
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; } &&
19784 { ac_try='test -s conftest.$ac_objext'
19785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19786 (eval $ac_try) 2>&5
19787 ac_status=$?
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; }; then
19790 glibcxx_cv_func__expl_use=yes
19791 else
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.$ac_ext >&5
19795 glibcxx_cv_func__expl_use=no
19797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19798 ac_ext=c
19799 ac_cpp='$CPP $CPPFLAGS'
19800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19809 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19811 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19813 for ac_func in _expl
19815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19816 echo "$as_me:$LINENO: checking for $ac_func" >&5
19817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19818 if eval "test \"\${$as_ac_var+set}\" = set"; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 else
19821 if test x$gcc_no_link = xyes; then
19822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19824 { (exit 1); exit 1; }; }
19826 cat >conftest.$ac_ext <<_ACEOF
19827 /* confdefs.h. */
19828 _ACEOF
19829 cat confdefs.h >>conftest.$ac_ext
19830 cat >>conftest.$ac_ext <<_ACEOF
19831 /* end confdefs.h. */
19832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19834 #define $ac_func innocuous_$ac_func
19836 /* System header to define __stub macros and hopefully few prototypes,
19837 which can conflict with char $ac_func (); below.
19838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19839 <limits.h> exists even on freestanding compilers. */
19841 #ifdef __STDC__
19842 # include <limits.h>
19843 #else
19844 # include <assert.h>
19845 #endif
19847 #undef $ac_func
19849 /* Override any gcc2 internal prototype to avoid an error. */
19850 #ifdef __cplusplus
19851 extern "C"
19853 #endif
19854 /* We use char because int might match the return type of a gcc2
19855 builtin and then its argument prototype would still apply. */
19856 char $ac_func ();
19857 /* The GNU C library defines this for functions which it implements
19858 to always fail with ENOSYS. Some functions are actually named
19859 something starting with __ and the normal name is an alias. */
19860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19861 choke me
19862 #else
19863 char (*f) () = $ac_func;
19864 #endif
19865 #ifdef __cplusplus
19867 #endif
19870 main ()
19872 return f != $ac_func;
19874 return 0;
19876 _ACEOF
19877 rm -f conftest.$ac_objext conftest$ac_exeext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19879 (eval $ac_link) 2>conftest.er1
19880 ac_status=$?
19881 grep -v '^ *+' conftest.er1 >conftest.err
19882 rm -f conftest.er1
19883 cat conftest.err >&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } &&
19886 { ac_try='test -z "$ac_c_werror_flag"
19887 || test ! -s conftest.err'
19888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889 (eval $ac_try) 2>&5
19890 ac_status=$?
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; } &&
19893 { ac_try='test -s conftest$ac_exeext'
19894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895 (eval $ac_try) 2>&5
19896 ac_status=$?
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); }; }; then
19899 eval "$as_ac_var=yes"
19900 else
19901 echo "$as_me: failed program was:" >&5
19902 sed 's/^/| /' conftest.$ac_ext >&5
19904 eval "$as_ac_var=no"
19906 rm -f conftest.err conftest.$ac_objext \
19907 conftest$ac_exeext conftest.$ac_ext
19909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19911 if test `eval echo '${'$as_ac_var'}'` = yes; then
19912 cat >>confdefs.h <<_ACEOF
19913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19914 _ACEOF
19917 done
19924 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19925 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19926 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19927 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19928 echo $ECHO_N "(cached) $ECHO_C" >&6
19929 else
19933 ac_ext=cc
19934 ac_cpp='$CXXCPP $CPPFLAGS'
19935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19939 cat >conftest.$ac_ext <<_ACEOF
19940 /* confdefs.h. */
19941 _ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #include <math.h>
19946 #ifdef HAVE_IEEEFP_H
19947 #include <ieeefp.h>
19948 #endif
19951 main ()
19953 fabsl(0);
19955 return 0;
19957 _ACEOF
19958 rm -f conftest.$ac_objext
19959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 (eval $ac_compile) 2>conftest.er1
19961 ac_status=$?
19962 grep -v '^ *+' conftest.er1 >conftest.err
19963 rm -f conftest.er1
19964 cat conftest.err >&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try='test -z "$ac_cxx_werror_flag"
19968 || test ! -s conftest.err'
19969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19970 (eval $ac_try) 2>&5
19971 ac_status=$?
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); }; } &&
19974 { ac_try='test -s conftest.$ac_objext'
19975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19976 (eval $ac_try) 2>&5
19977 ac_status=$?
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); }; }; then
19980 glibcxx_cv_func_fabsl_use=yes
19981 else
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.$ac_ext >&5
19985 glibcxx_cv_func_fabsl_use=no
19987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19988 ac_ext=c
19989 ac_cpp='$CPP $CPPFLAGS'
19990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19998 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
19999 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
20001 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
20003 for ac_func in fabsl
20005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20006 echo "$as_me:$LINENO: checking for $ac_func" >&5
20007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20008 if eval "test \"\${$as_ac_var+set}\" = set"; then
20009 echo $ECHO_N "(cached) $ECHO_C" >&6
20010 else
20011 if test x$gcc_no_link = xyes; then
20012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20014 { (exit 1); exit 1; }; }
20016 cat >conftest.$ac_ext <<_ACEOF
20017 /* confdefs.h. */
20018 _ACEOF
20019 cat confdefs.h >>conftest.$ac_ext
20020 cat >>conftest.$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20024 #define $ac_func innocuous_$ac_func
20026 /* System header to define __stub macros and hopefully few prototypes,
20027 which can conflict with char $ac_func (); below.
20028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20029 <limits.h> exists even on freestanding compilers. */
20031 #ifdef __STDC__
20032 # include <limits.h>
20033 #else
20034 # include <assert.h>
20035 #endif
20037 #undef $ac_func
20039 /* Override any gcc2 internal prototype to avoid an error. */
20040 #ifdef __cplusplus
20041 extern "C"
20043 #endif
20044 /* We use char because int might match the return type of a gcc2
20045 builtin and then its argument prototype would still apply. */
20046 char $ac_func ();
20047 /* The GNU C library defines this for functions which it implements
20048 to always fail with ENOSYS. Some functions are actually named
20049 something starting with __ and the normal name is an alias. */
20050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20051 choke me
20052 #else
20053 char (*f) () = $ac_func;
20054 #endif
20055 #ifdef __cplusplus
20057 #endif
20060 main ()
20062 return f != $ac_func;
20064 return 0;
20066 _ACEOF
20067 rm -f conftest.$ac_objext conftest$ac_exeext
20068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20069 (eval $ac_link) 2>conftest.er1
20070 ac_status=$?
20071 grep -v '^ *+' conftest.er1 >conftest.err
20072 rm -f conftest.er1
20073 cat conftest.err >&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } &&
20076 { ac_try='test -z "$ac_c_werror_flag"
20077 || test ! -s conftest.err'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20080 ac_status=$?
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; } &&
20083 { ac_try='test -s conftest$ac_exeext'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 eval "$as_ac_var=yes"
20090 else
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.$ac_ext >&5
20094 eval "$as_ac_var=no"
20096 rm -f conftest.err conftest.$ac_objext \
20097 conftest$ac_exeext conftest.$ac_ext
20099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20101 if test `eval echo '${'$as_ac_var'}'` = yes; then
20102 cat >>confdefs.h <<_ACEOF
20103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20104 _ACEOF
20107 done
20109 else
20111 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20112 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20113 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20114 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20115 echo $ECHO_N "(cached) $ECHO_C" >&6
20116 else
20120 ac_ext=cc
20121 ac_cpp='$CXXCPP $CPPFLAGS'
20122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20126 cat >conftest.$ac_ext <<_ACEOF
20127 /* confdefs.h. */
20128 _ACEOF
20129 cat confdefs.h >>conftest.$ac_ext
20130 cat >>conftest.$ac_ext <<_ACEOF
20131 /* end confdefs.h. */
20132 #include <math.h>
20133 #ifdef HAVE_IEEEFP_H
20134 #include <ieeefp.h>
20135 #endif
20138 main ()
20140 _fabsl(0);
20142 return 0;
20144 _ACEOF
20145 rm -f conftest.$ac_objext
20146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20147 (eval $ac_compile) 2>conftest.er1
20148 ac_status=$?
20149 grep -v '^ *+' conftest.er1 >conftest.err
20150 rm -f conftest.er1
20151 cat conftest.err >&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); } &&
20154 { ac_try='test -z "$ac_cxx_werror_flag"
20155 || test ! -s conftest.err'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20158 ac_status=$?
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; } &&
20161 { ac_try='test -s conftest.$ac_objext'
20162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20163 (eval $ac_try) 2>&5
20164 ac_status=$?
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); }; }; then
20167 glibcxx_cv_func__fabsl_use=yes
20168 else
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20172 glibcxx_cv_func__fabsl_use=no
20174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20175 ac_ext=c
20176 ac_cpp='$CPP $CPPFLAGS'
20177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20186 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20188 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20190 for ac_func in _fabsl
20192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20193 echo "$as_me:$LINENO: checking for $ac_func" >&5
20194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20195 if eval "test \"\${$as_ac_var+set}\" = set"; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20197 else
20198 if test x$gcc_no_link = xyes; then
20199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20201 { (exit 1); exit 1; }; }
20203 cat >conftest.$ac_ext <<_ACEOF
20204 /* confdefs.h. */
20205 _ACEOF
20206 cat confdefs.h >>conftest.$ac_ext
20207 cat >>conftest.$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20211 #define $ac_func innocuous_$ac_func
20213 /* System header to define __stub macros and hopefully few prototypes,
20214 which can conflict with char $ac_func (); below.
20215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20216 <limits.h> exists even on freestanding compilers. */
20218 #ifdef __STDC__
20219 # include <limits.h>
20220 #else
20221 # include <assert.h>
20222 #endif
20224 #undef $ac_func
20226 /* Override any gcc2 internal prototype to avoid an error. */
20227 #ifdef __cplusplus
20228 extern "C"
20230 #endif
20231 /* We use char because int might match the return type of a gcc2
20232 builtin and then its argument prototype would still apply. */
20233 char $ac_func ();
20234 /* The GNU C library defines this for functions which it implements
20235 to always fail with ENOSYS. Some functions are actually named
20236 something starting with __ and the normal name is an alias. */
20237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20238 choke me
20239 #else
20240 char (*f) () = $ac_func;
20241 #endif
20242 #ifdef __cplusplus
20244 #endif
20247 main ()
20249 return f != $ac_func;
20251 return 0;
20253 _ACEOF
20254 rm -f conftest.$ac_objext conftest$ac_exeext
20255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20256 (eval $ac_link) 2>conftest.er1
20257 ac_status=$?
20258 grep -v '^ *+' conftest.er1 >conftest.err
20259 rm -f conftest.er1
20260 cat conftest.err >&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); } &&
20263 { ac_try='test -z "$ac_c_werror_flag"
20264 || test ! -s conftest.err'
20265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20266 (eval $ac_try) 2>&5
20267 ac_status=$?
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); }; } &&
20270 { ac_try='test -s conftest$ac_exeext'
20271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20272 (eval $ac_try) 2>&5
20273 ac_status=$?
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); }; }; then
20276 eval "$as_ac_var=yes"
20277 else
20278 echo "$as_me: failed program was:" >&5
20279 sed 's/^/| /' conftest.$ac_ext >&5
20281 eval "$as_ac_var=no"
20283 rm -f conftest.err conftest.$ac_objext \
20284 conftest$ac_exeext conftest.$ac_ext
20286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20288 if test `eval echo '${'$as_ac_var'}'` = yes; then
20289 cat >>confdefs.h <<_ACEOF
20290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20291 _ACEOF
20294 done
20301 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20302 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20303 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20304 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20305 echo $ECHO_N "(cached) $ECHO_C" >&6
20306 else
20310 ac_ext=cc
20311 ac_cpp='$CXXCPP $CPPFLAGS'
20312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20316 cat >conftest.$ac_ext <<_ACEOF
20317 /* confdefs.h. */
20318 _ACEOF
20319 cat confdefs.h >>conftest.$ac_ext
20320 cat >>conftest.$ac_ext <<_ACEOF
20321 /* end confdefs.h. */
20322 #include <math.h>
20324 main ()
20326 fmodl(0, 0);
20328 return 0;
20330 _ACEOF
20331 rm -f conftest.$ac_objext
20332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20333 (eval $ac_compile) 2>conftest.er1
20334 ac_status=$?
20335 grep -v '^ *+' conftest.er1 >conftest.err
20336 rm -f conftest.er1
20337 cat conftest.err >&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } &&
20340 { ac_try='test -z "$ac_cxx_werror_flag"
20341 || test ! -s conftest.err'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20344 ac_status=$?
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; } &&
20347 { ac_try='test -s conftest.$ac_objext'
20348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20349 (eval $ac_try) 2>&5
20350 ac_status=$?
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); }; }; then
20353 glibcxx_cv_func_fmodl_use=yes
20354 else
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.$ac_ext >&5
20358 glibcxx_cv_func_fmodl_use=no
20360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20361 ac_ext=c
20362 ac_cpp='$CPP $CPPFLAGS'
20363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20372 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20374 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20376 for ac_func in fmodl
20378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20379 echo "$as_me:$LINENO: checking for $ac_func" >&5
20380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20381 if eval "test \"\${$as_ac_var+set}\" = set"; then
20382 echo $ECHO_N "(cached) $ECHO_C" >&6
20383 else
20384 if test x$gcc_no_link = xyes; then
20385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20387 { (exit 1); exit 1; }; }
20389 cat >conftest.$ac_ext <<_ACEOF
20390 /* confdefs.h. */
20391 _ACEOF
20392 cat confdefs.h >>conftest.$ac_ext
20393 cat >>conftest.$ac_ext <<_ACEOF
20394 /* end confdefs.h. */
20395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20397 #define $ac_func innocuous_$ac_func
20399 /* System header to define __stub macros and hopefully few prototypes,
20400 which can conflict with char $ac_func (); below.
20401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20402 <limits.h> exists even on freestanding compilers. */
20404 #ifdef __STDC__
20405 # include <limits.h>
20406 #else
20407 # include <assert.h>
20408 #endif
20410 #undef $ac_func
20412 /* Override any gcc2 internal prototype to avoid an error. */
20413 #ifdef __cplusplus
20414 extern "C"
20416 #endif
20417 /* We use char because int might match the return type of a gcc2
20418 builtin and then its argument prototype would still apply. */
20419 char $ac_func ();
20420 /* The GNU C library defines this for functions which it implements
20421 to always fail with ENOSYS. Some functions are actually named
20422 something starting with __ and the normal name is an alias. */
20423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20424 choke me
20425 #else
20426 char (*f) () = $ac_func;
20427 #endif
20428 #ifdef __cplusplus
20430 #endif
20433 main ()
20435 return f != $ac_func;
20437 return 0;
20439 _ACEOF
20440 rm -f conftest.$ac_objext conftest$ac_exeext
20441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20442 (eval $ac_link) 2>conftest.er1
20443 ac_status=$?
20444 grep -v '^ *+' conftest.er1 >conftest.err
20445 rm -f conftest.er1
20446 cat conftest.err >&5
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); } &&
20449 { ac_try='test -z "$ac_c_werror_flag"
20450 || test ! -s conftest.err'
20451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20452 (eval $ac_try) 2>&5
20453 ac_status=$?
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); }; } &&
20456 { ac_try='test -s conftest$ac_exeext'
20457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20458 (eval $ac_try) 2>&5
20459 ac_status=$?
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); }; }; then
20462 eval "$as_ac_var=yes"
20463 else
20464 echo "$as_me: failed program was:" >&5
20465 sed 's/^/| /' conftest.$ac_ext >&5
20467 eval "$as_ac_var=no"
20469 rm -f conftest.err conftest.$ac_objext \
20470 conftest$ac_exeext conftest.$ac_ext
20472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20474 if test `eval echo '${'$as_ac_var'}'` = yes; then
20475 cat >>confdefs.h <<_ACEOF
20476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20477 _ACEOF
20480 done
20482 else
20484 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20485 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20486 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20487 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20488 echo $ECHO_N "(cached) $ECHO_C" >&6
20489 else
20493 ac_ext=cc
20494 ac_cpp='$CXXCPP $CPPFLAGS'
20495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20499 cat >conftest.$ac_ext <<_ACEOF
20500 /* confdefs.h. */
20501 _ACEOF
20502 cat confdefs.h >>conftest.$ac_ext
20503 cat >>conftest.$ac_ext <<_ACEOF
20504 /* end confdefs.h. */
20505 #include <math.h>
20507 main ()
20509 _fmodl(0, 0);
20511 return 0;
20513 _ACEOF
20514 rm -f conftest.$ac_objext
20515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20516 (eval $ac_compile) 2>conftest.er1
20517 ac_status=$?
20518 grep -v '^ *+' conftest.er1 >conftest.err
20519 rm -f conftest.er1
20520 cat conftest.err >&5
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 (exit $ac_status); } &&
20523 { ac_try='test -z "$ac_cxx_werror_flag"
20524 || test ! -s conftest.err'
20525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20526 (eval $ac_try) 2>&5
20527 ac_status=$?
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); }; } &&
20530 { ac_try='test -s conftest.$ac_objext'
20531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20532 (eval $ac_try) 2>&5
20533 ac_status=$?
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); }; }; then
20536 glibcxx_cv_func__fmodl_use=yes
20537 else
20538 echo "$as_me: failed program was:" >&5
20539 sed 's/^/| /' conftest.$ac_ext >&5
20541 glibcxx_cv_func__fmodl_use=no
20543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20544 ac_ext=c
20545 ac_cpp='$CPP $CPPFLAGS'
20546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20555 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20557 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20559 for ac_func in _fmodl
20561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20562 echo "$as_me:$LINENO: checking for $ac_func" >&5
20563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20564 if eval "test \"\${$as_ac_var+set}\" = set"; then
20565 echo $ECHO_N "(cached) $ECHO_C" >&6
20566 else
20567 if test x$gcc_no_link = xyes; then
20568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20570 { (exit 1); exit 1; }; }
20572 cat >conftest.$ac_ext <<_ACEOF
20573 /* confdefs.h. */
20574 _ACEOF
20575 cat confdefs.h >>conftest.$ac_ext
20576 cat >>conftest.$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20580 #define $ac_func innocuous_$ac_func
20582 /* System header to define __stub macros and hopefully few prototypes,
20583 which can conflict with char $ac_func (); below.
20584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20585 <limits.h> exists even on freestanding compilers. */
20587 #ifdef __STDC__
20588 # include <limits.h>
20589 #else
20590 # include <assert.h>
20591 #endif
20593 #undef $ac_func
20595 /* Override any gcc2 internal prototype to avoid an error. */
20596 #ifdef __cplusplus
20597 extern "C"
20599 #endif
20600 /* We use char because int might match the return type of a gcc2
20601 builtin and then its argument prototype would still apply. */
20602 char $ac_func ();
20603 /* The GNU C library defines this for functions which it implements
20604 to always fail with ENOSYS. Some functions are actually named
20605 something starting with __ and the normal name is an alias. */
20606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20607 choke me
20608 #else
20609 char (*f) () = $ac_func;
20610 #endif
20611 #ifdef __cplusplus
20613 #endif
20616 main ()
20618 return f != $ac_func;
20620 return 0;
20622 _ACEOF
20623 rm -f conftest.$ac_objext conftest$ac_exeext
20624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20625 (eval $ac_link) 2>conftest.er1
20626 ac_status=$?
20627 grep -v '^ *+' conftest.er1 >conftest.err
20628 rm -f conftest.er1
20629 cat conftest.err >&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } &&
20632 { ac_try='test -z "$ac_c_werror_flag"
20633 || test ! -s conftest.err'
20634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20635 (eval $ac_try) 2>&5
20636 ac_status=$?
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); }; } &&
20639 { ac_try='test -s conftest$ac_exeext'
20640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20641 (eval $ac_try) 2>&5
20642 ac_status=$?
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); }; }; then
20645 eval "$as_ac_var=yes"
20646 else
20647 echo "$as_me: failed program was:" >&5
20648 sed 's/^/| /' conftest.$ac_ext >&5
20650 eval "$as_ac_var=no"
20652 rm -f conftest.err conftest.$ac_objext \
20653 conftest$ac_exeext conftest.$ac_ext
20655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20657 if test `eval echo '${'$as_ac_var'}'` = yes; then
20658 cat >>confdefs.h <<_ACEOF
20659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20660 _ACEOF
20663 done
20670 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20671 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20672 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20673 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20674 echo $ECHO_N "(cached) $ECHO_C" >&6
20675 else
20679 ac_ext=cc
20680 ac_cpp='$CXXCPP $CPPFLAGS'
20681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20685 cat >conftest.$ac_ext <<_ACEOF
20686 /* confdefs.h. */
20687 _ACEOF
20688 cat confdefs.h >>conftest.$ac_ext
20689 cat >>conftest.$ac_ext <<_ACEOF
20690 /* end confdefs.h. */
20691 #include <math.h>
20693 main ()
20695 frexpl(0, 0);
20697 return 0;
20699 _ACEOF
20700 rm -f conftest.$ac_objext
20701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20702 (eval $ac_compile) 2>conftest.er1
20703 ac_status=$?
20704 grep -v '^ *+' conftest.er1 >conftest.err
20705 rm -f conftest.er1
20706 cat conftest.err >&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); } &&
20709 { ac_try='test -z "$ac_cxx_werror_flag"
20710 || test ! -s conftest.err'
20711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20712 (eval $ac_try) 2>&5
20713 ac_status=$?
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); }; } &&
20716 { ac_try='test -s conftest.$ac_objext'
20717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20718 (eval $ac_try) 2>&5
20719 ac_status=$?
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); }; }; then
20722 glibcxx_cv_func_frexpl_use=yes
20723 else
20724 echo "$as_me: failed program was:" >&5
20725 sed 's/^/| /' conftest.$ac_ext >&5
20727 glibcxx_cv_func_frexpl_use=no
20729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20730 ac_ext=c
20731 ac_cpp='$CPP $CPPFLAGS'
20732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20740 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20741 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20743 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20745 for ac_func in frexpl
20747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20748 echo "$as_me:$LINENO: checking for $ac_func" >&5
20749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20750 if eval "test \"\${$as_ac_var+set}\" = set"; then
20751 echo $ECHO_N "(cached) $ECHO_C" >&6
20752 else
20753 if test x$gcc_no_link = xyes; then
20754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20756 { (exit 1); exit 1; }; }
20758 cat >conftest.$ac_ext <<_ACEOF
20759 /* confdefs.h. */
20760 _ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20766 #define $ac_func innocuous_$ac_func
20768 /* System header to define __stub macros and hopefully few prototypes,
20769 which can conflict with char $ac_func (); below.
20770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20771 <limits.h> exists even on freestanding compilers. */
20773 #ifdef __STDC__
20774 # include <limits.h>
20775 #else
20776 # include <assert.h>
20777 #endif
20779 #undef $ac_func
20781 /* Override any gcc2 internal prototype to avoid an error. */
20782 #ifdef __cplusplus
20783 extern "C"
20785 #endif
20786 /* We use char because int might match the return type of a gcc2
20787 builtin and then its argument prototype would still apply. */
20788 char $ac_func ();
20789 /* The GNU C library defines this for functions which it implements
20790 to always fail with ENOSYS. Some functions are actually named
20791 something starting with __ and the normal name is an alias. */
20792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20793 choke me
20794 #else
20795 char (*f) () = $ac_func;
20796 #endif
20797 #ifdef __cplusplus
20799 #endif
20802 main ()
20804 return f != $ac_func;
20806 return 0;
20808 _ACEOF
20809 rm -f conftest.$ac_objext conftest$ac_exeext
20810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20811 (eval $ac_link) 2>conftest.er1
20812 ac_status=$?
20813 grep -v '^ *+' conftest.er1 >conftest.err
20814 rm -f conftest.er1
20815 cat conftest.err >&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); } &&
20818 { ac_try='test -z "$ac_c_werror_flag"
20819 || test ! -s conftest.err'
20820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20821 (eval $ac_try) 2>&5
20822 ac_status=$?
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); }; } &&
20825 { ac_try='test -s conftest$ac_exeext'
20826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20827 (eval $ac_try) 2>&5
20828 ac_status=$?
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); }; }; then
20831 eval "$as_ac_var=yes"
20832 else
20833 echo "$as_me: failed program was:" >&5
20834 sed 's/^/| /' conftest.$ac_ext >&5
20836 eval "$as_ac_var=no"
20838 rm -f conftest.err conftest.$ac_objext \
20839 conftest$ac_exeext conftest.$ac_ext
20841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20843 if test `eval echo '${'$as_ac_var'}'` = yes; then
20844 cat >>confdefs.h <<_ACEOF
20845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20846 _ACEOF
20849 done
20851 else
20853 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20854 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20855 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20856 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20857 echo $ECHO_N "(cached) $ECHO_C" >&6
20858 else
20862 ac_ext=cc
20863 ac_cpp='$CXXCPP $CPPFLAGS'
20864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20868 cat >conftest.$ac_ext <<_ACEOF
20869 /* confdefs.h. */
20870 _ACEOF
20871 cat confdefs.h >>conftest.$ac_ext
20872 cat >>conftest.$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874 #include <math.h>
20876 main ()
20878 _frexpl(0, 0);
20880 return 0;
20882 _ACEOF
20883 rm -f conftest.$ac_objext
20884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20885 (eval $ac_compile) 2>conftest.er1
20886 ac_status=$?
20887 grep -v '^ *+' conftest.er1 >conftest.err
20888 rm -f conftest.er1
20889 cat conftest.err >&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); } &&
20892 { ac_try='test -z "$ac_cxx_werror_flag"
20893 || test ! -s conftest.err'
20894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895 (eval $ac_try) 2>&5
20896 ac_status=$?
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; } &&
20899 { ac_try='test -s conftest.$ac_objext'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20902 ac_status=$?
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 glibcxx_cv_func__frexpl_use=yes
20906 else
20907 echo "$as_me: failed program was:" >&5
20908 sed 's/^/| /' conftest.$ac_ext >&5
20910 glibcxx_cv_func__frexpl_use=no
20912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20913 ac_ext=c
20914 ac_cpp='$CPP $CPPFLAGS'
20915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20923 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20924 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20926 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20928 for ac_func in _frexpl
20930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20931 echo "$as_me:$LINENO: checking for $ac_func" >&5
20932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20933 if eval "test \"\${$as_ac_var+set}\" = set"; then
20934 echo $ECHO_N "(cached) $ECHO_C" >&6
20935 else
20936 if test x$gcc_no_link = xyes; then
20937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20939 { (exit 1); exit 1; }; }
20941 cat >conftest.$ac_ext <<_ACEOF
20942 /* confdefs.h. */
20943 _ACEOF
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20949 #define $ac_func innocuous_$ac_func
20951 /* System header to define __stub macros and hopefully few prototypes,
20952 which can conflict with char $ac_func (); below.
20953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20954 <limits.h> exists even on freestanding compilers. */
20956 #ifdef __STDC__
20957 # include <limits.h>
20958 #else
20959 # include <assert.h>
20960 #endif
20962 #undef $ac_func
20964 /* Override any gcc2 internal prototype to avoid an error. */
20965 #ifdef __cplusplus
20966 extern "C"
20968 #endif
20969 /* We use char because int might match the return type of a gcc2
20970 builtin and then its argument prototype would still apply. */
20971 char $ac_func ();
20972 /* The GNU C library defines this for functions which it implements
20973 to always fail with ENOSYS. Some functions are actually named
20974 something starting with __ and the normal name is an alias. */
20975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20976 choke me
20977 #else
20978 char (*f) () = $ac_func;
20979 #endif
20980 #ifdef __cplusplus
20982 #endif
20985 main ()
20987 return f != $ac_func;
20989 return 0;
20991 _ACEOF
20992 rm -f conftest.$ac_objext conftest$ac_exeext
20993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20994 (eval $ac_link) 2>conftest.er1
20995 ac_status=$?
20996 grep -v '^ *+' conftest.er1 >conftest.err
20997 rm -f conftest.er1
20998 cat conftest.err >&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); } &&
21001 { ac_try='test -z "$ac_c_werror_flag"
21002 || test ! -s conftest.err'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21005 ac_status=$?
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; } &&
21008 { ac_try='test -s conftest$ac_exeext'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21011 ac_status=$?
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; }; then
21014 eval "$as_ac_var=yes"
21015 else
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.$ac_ext >&5
21019 eval "$as_ac_var=no"
21021 rm -f conftest.err conftest.$ac_objext \
21022 conftest$ac_exeext conftest.$ac_ext
21024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21026 if test `eval echo '${'$as_ac_var'}'` = yes; then
21027 cat >>confdefs.h <<_ACEOF
21028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21029 _ACEOF
21032 done
21039 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21040 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21041 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21042 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21043 echo $ECHO_N "(cached) $ECHO_C" >&6
21044 else
21048 ac_ext=cc
21049 ac_cpp='$CXXCPP $CPPFLAGS'
21050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21054 cat >conftest.$ac_ext <<_ACEOF
21055 /* confdefs.h. */
21056 _ACEOF
21057 cat confdefs.h >>conftest.$ac_ext
21058 cat >>conftest.$ac_ext <<_ACEOF
21059 /* end confdefs.h. */
21060 #include <math.h>
21062 main ()
21064 hypotl(0, 0);
21066 return 0;
21068 _ACEOF
21069 rm -f conftest.$ac_objext
21070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21071 (eval $ac_compile) 2>conftest.er1
21072 ac_status=$?
21073 grep -v '^ *+' conftest.er1 >conftest.err
21074 rm -f conftest.er1
21075 cat conftest.err >&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); } &&
21078 { ac_try='test -z "$ac_cxx_werror_flag"
21079 || test ! -s conftest.err'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21082 ac_status=$?
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; } &&
21085 { ac_try='test -s conftest.$ac_objext'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21088 ac_status=$?
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; }; then
21091 glibcxx_cv_func_hypotl_use=yes
21092 else
21093 echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.$ac_ext >&5
21096 glibcxx_cv_func_hypotl_use=no
21098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21099 ac_ext=c
21100 ac_cpp='$CPP $CPPFLAGS'
21101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21110 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21112 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21114 for ac_func in hypotl
21116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21117 echo "$as_me:$LINENO: checking for $ac_func" >&5
21118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21119 if eval "test \"\${$as_ac_var+set}\" = set"; then
21120 echo $ECHO_N "(cached) $ECHO_C" >&6
21121 else
21122 if test x$gcc_no_link = xyes; then
21123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21125 { (exit 1); exit 1; }; }
21127 cat >conftest.$ac_ext <<_ACEOF
21128 /* confdefs.h. */
21129 _ACEOF
21130 cat confdefs.h >>conftest.$ac_ext
21131 cat >>conftest.$ac_ext <<_ACEOF
21132 /* end confdefs.h. */
21133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21135 #define $ac_func innocuous_$ac_func
21137 /* System header to define __stub macros and hopefully few prototypes,
21138 which can conflict with char $ac_func (); below.
21139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21140 <limits.h> exists even on freestanding compilers. */
21142 #ifdef __STDC__
21143 # include <limits.h>
21144 #else
21145 # include <assert.h>
21146 #endif
21148 #undef $ac_func
21150 /* Override any gcc2 internal prototype to avoid an error. */
21151 #ifdef __cplusplus
21152 extern "C"
21154 #endif
21155 /* We use char because int might match the return type of a gcc2
21156 builtin and then its argument prototype would still apply. */
21157 char $ac_func ();
21158 /* The GNU C library defines this for functions which it implements
21159 to always fail with ENOSYS. Some functions are actually named
21160 something starting with __ and the normal name is an alias. */
21161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21162 choke me
21163 #else
21164 char (*f) () = $ac_func;
21165 #endif
21166 #ifdef __cplusplus
21168 #endif
21171 main ()
21173 return f != $ac_func;
21175 return 0;
21177 _ACEOF
21178 rm -f conftest.$ac_objext conftest$ac_exeext
21179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21180 (eval $ac_link) 2>conftest.er1
21181 ac_status=$?
21182 grep -v '^ *+' conftest.er1 >conftest.err
21183 rm -f conftest.er1
21184 cat conftest.err >&5
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); } &&
21187 { ac_try='test -z "$ac_c_werror_flag"
21188 || test ! -s conftest.err'
21189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21190 (eval $ac_try) 2>&5
21191 ac_status=$?
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; } &&
21194 { ac_try='test -s conftest$ac_exeext'
21195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21196 (eval $ac_try) 2>&5
21197 ac_status=$?
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); }; }; then
21200 eval "$as_ac_var=yes"
21201 else
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.$ac_ext >&5
21205 eval "$as_ac_var=no"
21207 rm -f conftest.err conftest.$ac_objext \
21208 conftest$ac_exeext conftest.$ac_ext
21210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21212 if test `eval echo '${'$as_ac_var'}'` = yes; then
21213 cat >>confdefs.h <<_ACEOF
21214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21215 _ACEOF
21218 done
21220 else
21222 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21223 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21224 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21225 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21226 echo $ECHO_N "(cached) $ECHO_C" >&6
21227 else
21231 ac_ext=cc
21232 ac_cpp='$CXXCPP $CPPFLAGS'
21233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21237 cat >conftest.$ac_ext <<_ACEOF
21238 /* confdefs.h. */
21239 _ACEOF
21240 cat confdefs.h >>conftest.$ac_ext
21241 cat >>conftest.$ac_ext <<_ACEOF
21242 /* end confdefs.h. */
21243 #include <math.h>
21245 main ()
21247 _hypotl(0, 0);
21249 return 0;
21251 _ACEOF
21252 rm -f conftest.$ac_objext
21253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21254 (eval $ac_compile) 2>conftest.er1
21255 ac_status=$?
21256 grep -v '^ *+' conftest.er1 >conftest.err
21257 rm -f conftest.er1
21258 cat conftest.err >&5
21259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 (exit $ac_status); } &&
21261 { ac_try='test -z "$ac_cxx_werror_flag"
21262 || test ! -s conftest.err'
21263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21264 (eval $ac_try) 2>&5
21265 ac_status=$?
21266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267 (exit $ac_status); }; } &&
21268 { ac_try='test -s conftest.$ac_objext'
21269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21270 (eval $ac_try) 2>&5
21271 ac_status=$?
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); }; }; then
21274 glibcxx_cv_func__hypotl_use=yes
21275 else
21276 echo "$as_me: failed program was:" >&5
21277 sed 's/^/| /' conftest.$ac_ext >&5
21279 glibcxx_cv_func__hypotl_use=no
21281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21282 ac_ext=c
21283 ac_cpp='$CPP $CPPFLAGS'
21284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21293 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21295 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21297 for ac_func in _hypotl
21299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21300 echo "$as_me:$LINENO: checking for $ac_func" >&5
21301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21302 if eval "test \"\${$as_ac_var+set}\" = set"; then
21303 echo $ECHO_N "(cached) $ECHO_C" >&6
21304 else
21305 if test x$gcc_no_link = xyes; then
21306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21308 { (exit 1); exit 1; }; }
21310 cat >conftest.$ac_ext <<_ACEOF
21311 /* confdefs.h. */
21312 _ACEOF
21313 cat confdefs.h >>conftest.$ac_ext
21314 cat >>conftest.$ac_ext <<_ACEOF
21315 /* end confdefs.h. */
21316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21318 #define $ac_func innocuous_$ac_func
21320 /* System header to define __stub macros and hopefully few prototypes,
21321 which can conflict with char $ac_func (); below.
21322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21323 <limits.h> exists even on freestanding compilers. */
21325 #ifdef __STDC__
21326 # include <limits.h>
21327 #else
21328 # include <assert.h>
21329 #endif
21331 #undef $ac_func
21333 /* Override any gcc2 internal prototype to avoid an error. */
21334 #ifdef __cplusplus
21335 extern "C"
21337 #endif
21338 /* We use char because int might match the return type of a gcc2
21339 builtin and then its argument prototype would still apply. */
21340 char $ac_func ();
21341 /* The GNU C library defines this for functions which it implements
21342 to always fail with ENOSYS. Some functions are actually named
21343 something starting with __ and the normal name is an alias. */
21344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21345 choke me
21346 #else
21347 char (*f) () = $ac_func;
21348 #endif
21349 #ifdef __cplusplus
21351 #endif
21354 main ()
21356 return f != $ac_func;
21358 return 0;
21360 _ACEOF
21361 rm -f conftest.$ac_objext conftest$ac_exeext
21362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21363 (eval $ac_link) 2>conftest.er1
21364 ac_status=$?
21365 grep -v '^ *+' conftest.er1 >conftest.err
21366 rm -f conftest.er1
21367 cat conftest.err >&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); } &&
21370 { ac_try='test -z "$ac_c_werror_flag"
21371 || test ! -s conftest.err'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21374 ac_status=$?
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; } &&
21377 { ac_try='test -s conftest$ac_exeext'
21378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21379 (eval $ac_try) 2>&5
21380 ac_status=$?
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); }; }; then
21383 eval "$as_ac_var=yes"
21384 else
21385 echo "$as_me: failed program was:" >&5
21386 sed 's/^/| /' conftest.$ac_ext >&5
21388 eval "$as_ac_var=no"
21390 rm -f conftest.err conftest.$ac_objext \
21391 conftest$ac_exeext conftest.$ac_ext
21393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21395 if test `eval echo '${'$as_ac_var'}'` = yes; then
21396 cat >>confdefs.h <<_ACEOF
21397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21398 _ACEOF
21401 done
21408 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21409 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21410 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21411 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21412 echo $ECHO_N "(cached) $ECHO_C" >&6
21413 else
21417 ac_ext=cc
21418 ac_cpp='$CXXCPP $CPPFLAGS'
21419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21423 cat >conftest.$ac_ext <<_ACEOF
21424 /* confdefs.h. */
21425 _ACEOF
21426 cat confdefs.h >>conftest.$ac_ext
21427 cat >>conftest.$ac_ext <<_ACEOF
21428 /* end confdefs.h. */
21429 #include <math.h>
21431 main ()
21433 ldexpl(0, 0);
21435 return 0;
21437 _ACEOF
21438 rm -f conftest.$ac_objext
21439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21440 (eval $ac_compile) 2>conftest.er1
21441 ac_status=$?
21442 grep -v '^ *+' conftest.er1 >conftest.err
21443 rm -f conftest.er1
21444 cat conftest.err >&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } &&
21447 { ac_try='test -z "$ac_cxx_werror_flag"
21448 || test ! -s conftest.err'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21451 ac_status=$?
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; } &&
21454 { ac_try='test -s conftest.$ac_objext'
21455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21456 (eval $ac_try) 2>&5
21457 ac_status=$?
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); }; }; then
21460 glibcxx_cv_func_ldexpl_use=yes
21461 else
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21465 glibcxx_cv_func_ldexpl_use=no
21467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21468 ac_ext=c
21469 ac_cpp='$CPP $CPPFLAGS'
21470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21478 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21479 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21481 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21483 for ac_func in ldexpl
21485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21486 echo "$as_me:$LINENO: checking for $ac_func" >&5
21487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21488 if eval "test \"\${$as_ac_var+set}\" = set"; then
21489 echo $ECHO_N "(cached) $ECHO_C" >&6
21490 else
21491 if test x$gcc_no_link = xyes; then
21492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21494 { (exit 1); exit 1; }; }
21496 cat >conftest.$ac_ext <<_ACEOF
21497 /* confdefs.h. */
21498 _ACEOF
21499 cat confdefs.h >>conftest.$ac_ext
21500 cat >>conftest.$ac_ext <<_ACEOF
21501 /* end confdefs.h. */
21502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21504 #define $ac_func innocuous_$ac_func
21506 /* System header to define __stub macros and hopefully few prototypes,
21507 which can conflict with char $ac_func (); below.
21508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21509 <limits.h> exists even on freestanding compilers. */
21511 #ifdef __STDC__
21512 # include <limits.h>
21513 #else
21514 # include <assert.h>
21515 #endif
21517 #undef $ac_func
21519 /* Override any gcc2 internal prototype to avoid an error. */
21520 #ifdef __cplusplus
21521 extern "C"
21523 #endif
21524 /* We use char because int might match the return type of a gcc2
21525 builtin and then its argument prototype would still apply. */
21526 char $ac_func ();
21527 /* The GNU C library defines this for functions which it implements
21528 to always fail with ENOSYS. Some functions are actually named
21529 something starting with __ and the normal name is an alias. */
21530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21531 choke me
21532 #else
21533 char (*f) () = $ac_func;
21534 #endif
21535 #ifdef __cplusplus
21537 #endif
21540 main ()
21542 return f != $ac_func;
21544 return 0;
21546 _ACEOF
21547 rm -f conftest.$ac_objext conftest$ac_exeext
21548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21549 (eval $ac_link) 2>conftest.er1
21550 ac_status=$?
21551 grep -v '^ *+' conftest.er1 >conftest.err
21552 rm -f conftest.er1
21553 cat conftest.err >&5
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); } &&
21556 { ac_try='test -z "$ac_c_werror_flag"
21557 || test ! -s conftest.err'
21558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21559 (eval $ac_try) 2>&5
21560 ac_status=$?
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); }; } &&
21563 { ac_try='test -s conftest$ac_exeext'
21564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21565 (eval $ac_try) 2>&5
21566 ac_status=$?
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); }; }; then
21569 eval "$as_ac_var=yes"
21570 else
21571 echo "$as_me: failed program was:" >&5
21572 sed 's/^/| /' conftest.$ac_ext >&5
21574 eval "$as_ac_var=no"
21576 rm -f conftest.err conftest.$ac_objext \
21577 conftest$ac_exeext conftest.$ac_ext
21579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21581 if test `eval echo '${'$as_ac_var'}'` = yes; then
21582 cat >>confdefs.h <<_ACEOF
21583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21584 _ACEOF
21587 done
21589 else
21591 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21592 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21593 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21594 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21595 echo $ECHO_N "(cached) $ECHO_C" >&6
21596 else
21600 ac_ext=cc
21601 ac_cpp='$CXXCPP $CPPFLAGS'
21602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21606 cat >conftest.$ac_ext <<_ACEOF
21607 /* confdefs.h. */
21608 _ACEOF
21609 cat confdefs.h >>conftest.$ac_ext
21610 cat >>conftest.$ac_ext <<_ACEOF
21611 /* end confdefs.h. */
21612 #include <math.h>
21614 main ()
21616 _ldexpl(0, 0);
21618 return 0;
21620 _ACEOF
21621 rm -f conftest.$ac_objext
21622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21623 (eval $ac_compile) 2>conftest.er1
21624 ac_status=$?
21625 grep -v '^ *+' conftest.er1 >conftest.err
21626 rm -f conftest.er1
21627 cat conftest.err >&5
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); } &&
21630 { ac_try='test -z "$ac_cxx_werror_flag"
21631 || test ! -s conftest.err'
21632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21633 (eval $ac_try) 2>&5
21634 ac_status=$?
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); }; } &&
21637 { ac_try='test -s conftest.$ac_objext'
21638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21639 (eval $ac_try) 2>&5
21640 ac_status=$?
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); }; }; then
21643 glibcxx_cv_func__ldexpl_use=yes
21644 else
21645 echo "$as_me: failed program was:" >&5
21646 sed 's/^/| /' conftest.$ac_ext >&5
21648 glibcxx_cv_func__ldexpl_use=no
21650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21651 ac_ext=c
21652 ac_cpp='$CPP $CPPFLAGS'
21653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21661 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21662 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21664 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21666 for ac_func in _ldexpl
21668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21669 echo "$as_me:$LINENO: checking for $ac_func" >&5
21670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21671 if eval "test \"\${$as_ac_var+set}\" = set"; then
21672 echo $ECHO_N "(cached) $ECHO_C" >&6
21673 else
21674 if test x$gcc_no_link = xyes; then
21675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21677 { (exit 1); exit 1; }; }
21679 cat >conftest.$ac_ext <<_ACEOF
21680 /* confdefs.h. */
21681 _ACEOF
21682 cat confdefs.h >>conftest.$ac_ext
21683 cat >>conftest.$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21687 #define $ac_func innocuous_$ac_func
21689 /* System header to define __stub macros and hopefully few prototypes,
21690 which can conflict with char $ac_func (); below.
21691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21692 <limits.h> exists even on freestanding compilers. */
21694 #ifdef __STDC__
21695 # include <limits.h>
21696 #else
21697 # include <assert.h>
21698 #endif
21700 #undef $ac_func
21702 /* Override any gcc2 internal prototype to avoid an error. */
21703 #ifdef __cplusplus
21704 extern "C"
21706 #endif
21707 /* We use char because int might match the return type of a gcc2
21708 builtin and then its argument prototype would still apply. */
21709 char $ac_func ();
21710 /* The GNU C library defines this for functions which it implements
21711 to always fail with ENOSYS. Some functions are actually named
21712 something starting with __ and the normal name is an alias. */
21713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21714 choke me
21715 #else
21716 char (*f) () = $ac_func;
21717 #endif
21718 #ifdef __cplusplus
21720 #endif
21723 main ()
21725 return f != $ac_func;
21727 return 0;
21729 _ACEOF
21730 rm -f conftest.$ac_objext conftest$ac_exeext
21731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21732 (eval $ac_link) 2>conftest.er1
21733 ac_status=$?
21734 grep -v '^ *+' conftest.er1 >conftest.err
21735 rm -f conftest.er1
21736 cat conftest.err >&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); } &&
21739 { ac_try='test -z "$ac_c_werror_flag"
21740 || test ! -s conftest.err'
21741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21742 (eval $ac_try) 2>&5
21743 ac_status=$?
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); }; } &&
21746 { ac_try='test -s conftest$ac_exeext'
21747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21748 (eval $ac_try) 2>&5
21749 ac_status=$?
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); }; }; then
21752 eval "$as_ac_var=yes"
21753 else
21754 echo "$as_me: failed program was:" >&5
21755 sed 's/^/| /' conftest.$ac_ext >&5
21757 eval "$as_ac_var=no"
21759 rm -f conftest.err conftest.$ac_objext \
21760 conftest$ac_exeext conftest.$ac_ext
21762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21764 if test `eval echo '${'$as_ac_var'}'` = yes; then
21765 cat >>confdefs.h <<_ACEOF
21766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21767 _ACEOF
21770 done
21777 echo "$as_me:$LINENO: checking for logl declaration" >&5
21778 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21779 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21780 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21781 echo $ECHO_N "(cached) $ECHO_C" >&6
21782 else
21786 ac_ext=cc
21787 ac_cpp='$CXXCPP $CPPFLAGS'
21788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21792 cat >conftest.$ac_ext <<_ACEOF
21793 /* confdefs.h. */
21794 _ACEOF
21795 cat confdefs.h >>conftest.$ac_ext
21796 cat >>conftest.$ac_ext <<_ACEOF
21797 /* end confdefs.h. */
21798 #include <math.h>
21799 #ifdef HAVE_IEEEFP_H
21800 #include <ieeefp.h>
21801 #endif
21804 main ()
21806 logl(0);
21808 return 0;
21810 _ACEOF
21811 rm -f conftest.$ac_objext
21812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21813 (eval $ac_compile) 2>conftest.er1
21814 ac_status=$?
21815 grep -v '^ *+' conftest.er1 >conftest.err
21816 rm -f conftest.er1
21817 cat conftest.err >&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } &&
21820 { ac_try='test -z "$ac_cxx_werror_flag"
21821 || test ! -s conftest.err'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21824 ac_status=$?
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; } &&
21827 { ac_try='test -s conftest.$ac_objext'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21830 ac_status=$?
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; }; then
21833 glibcxx_cv_func_logl_use=yes
21834 else
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.$ac_ext >&5
21838 glibcxx_cv_func_logl_use=no
21840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21841 ac_ext=c
21842 ac_cpp='$CPP $CPPFLAGS'
21843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21851 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21852 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21854 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21856 for ac_func in logl
21858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21859 echo "$as_me:$LINENO: checking for $ac_func" >&5
21860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21861 if eval "test \"\${$as_ac_var+set}\" = set"; then
21862 echo $ECHO_N "(cached) $ECHO_C" >&6
21863 else
21864 if test x$gcc_no_link = xyes; then
21865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21867 { (exit 1); exit 1; }; }
21869 cat >conftest.$ac_ext <<_ACEOF
21870 /* confdefs.h. */
21871 _ACEOF
21872 cat confdefs.h >>conftest.$ac_ext
21873 cat >>conftest.$ac_ext <<_ACEOF
21874 /* end confdefs.h. */
21875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21877 #define $ac_func innocuous_$ac_func
21879 /* System header to define __stub macros and hopefully few prototypes,
21880 which can conflict with char $ac_func (); below.
21881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21882 <limits.h> exists even on freestanding compilers. */
21884 #ifdef __STDC__
21885 # include <limits.h>
21886 #else
21887 # include <assert.h>
21888 #endif
21890 #undef $ac_func
21892 /* Override any gcc2 internal prototype to avoid an error. */
21893 #ifdef __cplusplus
21894 extern "C"
21896 #endif
21897 /* We use char because int might match the return type of a gcc2
21898 builtin and then its argument prototype would still apply. */
21899 char $ac_func ();
21900 /* The GNU C library defines this for functions which it implements
21901 to always fail with ENOSYS. Some functions are actually named
21902 something starting with __ and the normal name is an alias. */
21903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21904 choke me
21905 #else
21906 char (*f) () = $ac_func;
21907 #endif
21908 #ifdef __cplusplus
21910 #endif
21913 main ()
21915 return f != $ac_func;
21917 return 0;
21919 _ACEOF
21920 rm -f conftest.$ac_objext conftest$ac_exeext
21921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21922 (eval $ac_link) 2>conftest.er1
21923 ac_status=$?
21924 grep -v '^ *+' conftest.er1 >conftest.err
21925 rm -f conftest.er1
21926 cat conftest.err >&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); } &&
21929 { ac_try='test -z "$ac_c_werror_flag"
21930 || test ! -s conftest.err'
21931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21932 (eval $ac_try) 2>&5
21933 ac_status=$?
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); }; } &&
21936 { ac_try='test -s conftest$ac_exeext'
21937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21938 (eval $ac_try) 2>&5
21939 ac_status=$?
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); }; }; then
21942 eval "$as_ac_var=yes"
21943 else
21944 echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.$ac_ext >&5
21947 eval "$as_ac_var=no"
21949 rm -f conftest.err conftest.$ac_objext \
21950 conftest$ac_exeext conftest.$ac_ext
21952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21954 if test `eval echo '${'$as_ac_var'}'` = yes; then
21955 cat >>confdefs.h <<_ACEOF
21956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21957 _ACEOF
21960 done
21962 else
21964 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21965 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21966 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21967 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21968 echo $ECHO_N "(cached) $ECHO_C" >&6
21969 else
21973 ac_ext=cc
21974 ac_cpp='$CXXCPP $CPPFLAGS'
21975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21979 cat >conftest.$ac_ext <<_ACEOF
21980 /* confdefs.h. */
21981 _ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21985 #include <math.h>
21986 #ifdef HAVE_IEEEFP_H
21987 #include <ieeefp.h>
21988 #endif
21991 main ()
21993 _logl(0);
21995 return 0;
21997 _ACEOF
21998 rm -f conftest.$ac_objext
21999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22000 (eval $ac_compile) 2>conftest.er1
22001 ac_status=$?
22002 grep -v '^ *+' conftest.er1 >conftest.err
22003 rm -f conftest.er1
22004 cat conftest.err >&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } &&
22007 { ac_try='test -z "$ac_cxx_werror_flag"
22008 || test ! -s conftest.err'
22009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010 (eval $ac_try) 2>&5
22011 ac_status=$?
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; } &&
22014 { ac_try='test -s conftest.$ac_objext'
22015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22016 (eval $ac_try) 2>&5
22017 ac_status=$?
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); }; }; then
22020 glibcxx_cv_func__logl_use=yes
22021 else
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22025 glibcxx_cv_func__logl_use=no
22027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22028 ac_ext=c
22029 ac_cpp='$CPP $CPPFLAGS'
22030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22038 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22039 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22041 if test x$glibcxx_cv_func__logl_use = x"yes"; then
22043 for ac_func in _logl
22045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22046 echo "$as_me:$LINENO: checking for $ac_func" >&5
22047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22048 if eval "test \"\${$as_ac_var+set}\" = set"; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22050 else
22051 if test x$gcc_no_link = xyes; then
22052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22054 { (exit 1); exit 1; }; }
22056 cat >conftest.$ac_ext <<_ACEOF
22057 /* confdefs.h. */
22058 _ACEOF
22059 cat confdefs.h >>conftest.$ac_ext
22060 cat >>conftest.$ac_ext <<_ACEOF
22061 /* end confdefs.h. */
22062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22064 #define $ac_func innocuous_$ac_func
22066 /* System header to define __stub macros and hopefully few prototypes,
22067 which can conflict with char $ac_func (); below.
22068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22069 <limits.h> exists even on freestanding compilers. */
22071 #ifdef __STDC__
22072 # include <limits.h>
22073 #else
22074 # include <assert.h>
22075 #endif
22077 #undef $ac_func
22079 /* Override any gcc2 internal prototype to avoid an error. */
22080 #ifdef __cplusplus
22081 extern "C"
22083 #endif
22084 /* We use char because int might match the return type of a gcc2
22085 builtin and then its argument prototype would still apply. */
22086 char $ac_func ();
22087 /* The GNU C library defines this for functions which it implements
22088 to always fail with ENOSYS. Some functions are actually named
22089 something starting with __ and the normal name is an alias. */
22090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22091 choke me
22092 #else
22093 char (*f) () = $ac_func;
22094 #endif
22095 #ifdef __cplusplus
22097 #endif
22100 main ()
22102 return f != $ac_func;
22104 return 0;
22106 _ACEOF
22107 rm -f conftest.$ac_objext conftest$ac_exeext
22108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22109 (eval $ac_link) 2>conftest.er1
22110 ac_status=$?
22111 grep -v '^ *+' conftest.er1 >conftest.err
22112 rm -f conftest.er1
22113 cat conftest.err >&5
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); } &&
22116 { ac_try='test -z "$ac_c_werror_flag"
22117 || test ! -s conftest.err'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22120 ac_status=$?
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; } &&
22123 { ac_try='test -s conftest$ac_exeext'
22124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22125 (eval $ac_try) 2>&5
22126 ac_status=$?
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); }; }; then
22129 eval "$as_ac_var=yes"
22130 else
22131 echo "$as_me: failed program was:" >&5
22132 sed 's/^/| /' conftest.$ac_ext >&5
22134 eval "$as_ac_var=no"
22136 rm -f conftest.err conftest.$ac_objext \
22137 conftest$ac_exeext conftest.$ac_ext
22139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22141 if test `eval echo '${'$as_ac_var'}'` = yes; then
22142 cat >>confdefs.h <<_ACEOF
22143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22144 _ACEOF
22147 done
22154 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22155 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22156 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22157 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22158 echo $ECHO_N "(cached) $ECHO_C" >&6
22159 else
22163 ac_ext=cc
22164 ac_cpp='$CXXCPP $CPPFLAGS'
22165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22169 cat >conftest.$ac_ext <<_ACEOF
22170 /* confdefs.h. */
22171 _ACEOF
22172 cat confdefs.h >>conftest.$ac_ext
22173 cat >>conftest.$ac_ext <<_ACEOF
22174 /* end confdefs.h. */
22175 #include <math.h>
22176 #ifdef HAVE_IEEEFP_H
22177 #include <ieeefp.h>
22178 #endif
22181 main ()
22183 log10l(0);
22185 return 0;
22187 _ACEOF
22188 rm -f conftest.$ac_objext
22189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22190 (eval $ac_compile) 2>conftest.er1
22191 ac_status=$?
22192 grep -v '^ *+' conftest.er1 >conftest.err
22193 rm -f conftest.er1
22194 cat conftest.err >&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); } &&
22197 { ac_try='test -z "$ac_cxx_werror_flag"
22198 || test ! -s conftest.err'
22199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22200 (eval $ac_try) 2>&5
22201 ac_status=$?
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); }; } &&
22204 { ac_try='test -s conftest.$ac_objext'
22205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22206 (eval $ac_try) 2>&5
22207 ac_status=$?
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); }; }; then
22210 glibcxx_cv_func_log10l_use=yes
22211 else
22212 echo "$as_me: failed program was:" >&5
22213 sed 's/^/| /' conftest.$ac_ext >&5
22215 glibcxx_cv_func_log10l_use=no
22217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22218 ac_ext=c
22219 ac_cpp='$CPP $CPPFLAGS'
22220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22228 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22229 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22231 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22233 for ac_func in log10l
22235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22236 echo "$as_me:$LINENO: checking for $ac_func" >&5
22237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22238 if eval "test \"\${$as_ac_var+set}\" = set"; then
22239 echo $ECHO_N "(cached) $ECHO_C" >&6
22240 else
22241 if test x$gcc_no_link = xyes; then
22242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22244 { (exit 1); exit 1; }; }
22246 cat >conftest.$ac_ext <<_ACEOF
22247 /* confdefs.h. */
22248 _ACEOF
22249 cat confdefs.h >>conftest.$ac_ext
22250 cat >>conftest.$ac_ext <<_ACEOF
22251 /* end confdefs.h. */
22252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22254 #define $ac_func innocuous_$ac_func
22256 /* System header to define __stub macros and hopefully few prototypes,
22257 which can conflict with char $ac_func (); below.
22258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22259 <limits.h> exists even on freestanding compilers. */
22261 #ifdef __STDC__
22262 # include <limits.h>
22263 #else
22264 # include <assert.h>
22265 #endif
22267 #undef $ac_func
22269 /* Override any gcc2 internal prototype to avoid an error. */
22270 #ifdef __cplusplus
22271 extern "C"
22273 #endif
22274 /* We use char because int might match the return type of a gcc2
22275 builtin and then its argument prototype would still apply. */
22276 char $ac_func ();
22277 /* The GNU C library defines this for functions which it implements
22278 to always fail with ENOSYS. Some functions are actually named
22279 something starting with __ and the normal name is an alias. */
22280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22281 choke me
22282 #else
22283 char (*f) () = $ac_func;
22284 #endif
22285 #ifdef __cplusplus
22287 #endif
22290 main ()
22292 return f != $ac_func;
22294 return 0;
22296 _ACEOF
22297 rm -f conftest.$ac_objext conftest$ac_exeext
22298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22299 (eval $ac_link) 2>conftest.er1
22300 ac_status=$?
22301 grep -v '^ *+' conftest.er1 >conftest.err
22302 rm -f conftest.er1
22303 cat conftest.err >&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); } &&
22306 { ac_try='test -z "$ac_c_werror_flag"
22307 || test ! -s conftest.err'
22308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22309 (eval $ac_try) 2>&5
22310 ac_status=$?
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); }; } &&
22313 { ac_try='test -s conftest$ac_exeext'
22314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22315 (eval $ac_try) 2>&5
22316 ac_status=$?
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); }; }; then
22319 eval "$as_ac_var=yes"
22320 else
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22324 eval "$as_ac_var=no"
22326 rm -f conftest.err conftest.$ac_objext \
22327 conftest$ac_exeext conftest.$ac_ext
22329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22331 if test `eval echo '${'$as_ac_var'}'` = yes; then
22332 cat >>confdefs.h <<_ACEOF
22333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22334 _ACEOF
22337 done
22339 else
22341 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22342 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22343 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22344 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22345 echo $ECHO_N "(cached) $ECHO_C" >&6
22346 else
22350 ac_ext=cc
22351 ac_cpp='$CXXCPP $CPPFLAGS'
22352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22356 cat >conftest.$ac_ext <<_ACEOF
22357 /* confdefs.h. */
22358 _ACEOF
22359 cat confdefs.h >>conftest.$ac_ext
22360 cat >>conftest.$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22362 #include <math.h>
22363 #ifdef HAVE_IEEEFP_H
22364 #include <ieeefp.h>
22365 #endif
22368 main ()
22370 _log10l(0);
22372 return 0;
22374 _ACEOF
22375 rm -f conftest.$ac_objext
22376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22377 (eval $ac_compile) 2>conftest.er1
22378 ac_status=$?
22379 grep -v '^ *+' conftest.er1 >conftest.err
22380 rm -f conftest.er1
22381 cat conftest.err >&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); } &&
22384 { ac_try='test -z "$ac_cxx_werror_flag"
22385 || test ! -s conftest.err'
22386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22387 (eval $ac_try) 2>&5
22388 ac_status=$?
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); }; } &&
22391 { ac_try='test -s conftest.$ac_objext'
22392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393 (eval $ac_try) 2>&5
22394 ac_status=$?
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); }; }; then
22397 glibcxx_cv_func__log10l_use=yes
22398 else
22399 echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22402 glibcxx_cv_func__log10l_use=no
22404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22405 ac_ext=c
22406 ac_cpp='$CPP $CPPFLAGS'
22407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22415 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22416 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22418 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22420 for ac_func in _log10l
22422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22423 echo "$as_me:$LINENO: checking for $ac_func" >&5
22424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22425 if eval "test \"\${$as_ac_var+set}\" = set"; then
22426 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 else
22428 if test x$gcc_no_link = xyes; then
22429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22431 { (exit 1); exit 1; }; }
22433 cat >conftest.$ac_ext <<_ACEOF
22434 /* confdefs.h. */
22435 _ACEOF
22436 cat confdefs.h >>conftest.$ac_ext
22437 cat >>conftest.$ac_ext <<_ACEOF
22438 /* end confdefs.h. */
22439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22441 #define $ac_func innocuous_$ac_func
22443 /* System header to define __stub macros and hopefully few prototypes,
22444 which can conflict with char $ac_func (); below.
22445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22446 <limits.h> exists even on freestanding compilers. */
22448 #ifdef __STDC__
22449 # include <limits.h>
22450 #else
22451 # include <assert.h>
22452 #endif
22454 #undef $ac_func
22456 /* Override any gcc2 internal prototype to avoid an error. */
22457 #ifdef __cplusplus
22458 extern "C"
22460 #endif
22461 /* We use char because int might match the return type of a gcc2
22462 builtin and then its argument prototype would still apply. */
22463 char $ac_func ();
22464 /* The GNU C library defines this for functions which it implements
22465 to always fail with ENOSYS. Some functions are actually named
22466 something starting with __ and the normal name is an alias. */
22467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22468 choke me
22469 #else
22470 char (*f) () = $ac_func;
22471 #endif
22472 #ifdef __cplusplus
22474 #endif
22477 main ()
22479 return f != $ac_func;
22481 return 0;
22483 _ACEOF
22484 rm -f conftest.$ac_objext conftest$ac_exeext
22485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22486 (eval $ac_link) 2>conftest.er1
22487 ac_status=$?
22488 grep -v '^ *+' conftest.er1 >conftest.err
22489 rm -f conftest.er1
22490 cat conftest.err >&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); } &&
22493 { ac_try='test -z "$ac_c_werror_flag"
22494 || test ! -s conftest.err'
22495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22496 (eval $ac_try) 2>&5
22497 ac_status=$?
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); }; } &&
22500 { ac_try='test -s conftest$ac_exeext'
22501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22502 (eval $ac_try) 2>&5
22503 ac_status=$?
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); }; }; then
22506 eval "$as_ac_var=yes"
22507 else
22508 echo "$as_me: failed program was:" >&5
22509 sed 's/^/| /' conftest.$ac_ext >&5
22511 eval "$as_ac_var=no"
22513 rm -f conftest.err conftest.$ac_objext \
22514 conftest$ac_exeext conftest.$ac_ext
22516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22518 if test `eval echo '${'$as_ac_var'}'` = yes; then
22519 cat >>confdefs.h <<_ACEOF
22520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22521 _ACEOF
22524 done
22531 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22532 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22533 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22534 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22535 echo $ECHO_N "(cached) $ECHO_C" >&6
22536 else
22540 ac_ext=cc
22541 ac_cpp='$CXXCPP $CPPFLAGS'
22542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22546 cat >conftest.$ac_ext <<_ACEOF
22547 /* confdefs.h. */
22548 _ACEOF
22549 cat confdefs.h >>conftest.$ac_ext
22550 cat >>conftest.$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22552 #include <math.h>
22554 main ()
22556 modfl(0, 0);
22558 return 0;
22560 _ACEOF
22561 rm -f conftest.$ac_objext
22562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22563 (eval $ac_compile) 2>conftest.er1
22564 ac_status=$?
22565 grep -v '^ *+' conftest.er1 >conftest.err
22566 rm -f conftest.er1
22567 cat conftest.err >&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); } &&
22570 { ac_try='test -z "$ac_cxx_werror_flag"
22571 || test ! -s conftest.err'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22574 ac_status=$?
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; } &&
22577 { ac_try='test -s conftest.$ac_objext'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22580 ac_status=$?
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; }; then
22583 glibcxx_cv_func_modfl_use=yes
22584 else
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.$ac_ext >&5
22588 glibcxx_cv_func_modfl_use=no
22590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22591 ac_ext=c
22592 ac_cpp='$CPP $CPPFLAGS'
22593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22602 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22604 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22606 for ac_func in modfl
22608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22609 echo "$as_me:$LINENO: checking for $ac_func" >&5
22610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22611 if eval "test \"\${$as_ac_var+set}\" = set"; then
22612 echo $ECHO_N "(cached) $ECHO_C" >&6
22613 else
22614 if test x$gcc_no_link = xyes; then
22615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22617 { (exit 1); exit 1; }; }
22619 cat >conftest.$ac_ext <<_ACEOF
22620 /* confdefs.h. */
22621 _ACEOF
22622 cat confdefs.h >>conftest.$ac_ext
22623 cat >>conftest.$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22627 #define $ac_func innocuous_$ac_func
22629 /* System header to define __stub macros and hopefully few prototypes,
22630 which can conflict with char $ac_func (); below.
22631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22632 <limits.h> exists even on freestanding compilers. */
22634 #ifdef __STDC__
22635 # include <limits.h>
22636 #else
22637 # include <assert.h>
22638 #endif
22640 #undef $ac_func
22642 /* Override any gcc2 internal prototype to avoid an error. */
22643 #ifdef __cplusplus
22644 extern "C"
22646 #endif
22647 /* We use char because int might match the return type of a gcc2
22648 builtin and then its argument prototype would still apply. */
22649 char $ac_func ();
22650 /* The GNU C library defines this for functions which it implements
22651 to always fail with ENOSYS. Some functions are actually named
22652 something starting with __ and the normal name is an alias. */
22653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22654 choke me
22655 #else
22656 char (*f) () = $ac_func;
22657 #endif
22658 #ifdef __cplusplus
22660 #endif
22663 main ()
22665 return f != $ac_func;
22667 return 0;
22669 _ACEOF
22670 rm -f conftest.$ac_objext conftest$ac_exeext
22671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22672 (eval $ac_link) 2>conftest.er1
22673 ac_status=$?
22674 grep -v '^ *+' conftest.er1 >conftest.err
22675 rm -f conftest.er1
22676 cat conftest.err >&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } &&
22679 { ac_try='test -z "$ac_c_werror_flag"
22680 || test ! -s conftest.err'
22681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682 (eval $ac_try) 2>&5
22683 ac_status=$?
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; } &&
22686 { ac_try='test -s conftest$ac_exeext'
22687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22688 (eval $ac_try) 2>&5
22689 ac_status=$?
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); }; }; then
22692 eval "$as_ac_var=yes"
22693 else
22694 echo "$as_me: failed program was:" >&5
22695 sed 's/^/| /' conftest.$ac_ext >&5
22697 eval "$as_ac_var=no"
22699 rm -f conftest.err conftest.$ac_objext \
22700 conftest$ac_exeext conftest.$ac_ext
22702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22704 if test `eval echo '${'$as_ac_var'}'` = yes; then
22705 cat >>confdefs.h <<_ACEOF
22706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22707 _ACEOF
22710 done
22712 else
22714 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22715 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22716 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22717 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22718 echo $ECHO_N "(cached) $ECHO_C" >&6
22719 else
22723 ac_ext=cc
22724 ac_cpp='$CXXCPP $CPPFLAGS'
22725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22729 cat >conftest.$ac_ext <<_ACEOF
22730 /* confdefs.h. */
22731 _ACEOF
22732 cat confdefs.h >>conftest.$ac_ext
22733 cat >>conftest.$ac_ext <<_ACEOF
22734 /* end confdefs.h. */
22735 #include <math.h>
22737 main ()
22739 _modfl(0, 0);
22741 return 0;
22743 _ACEOF
22744 rm -f conftest.$ac_objext
22745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22746 (eval $ac_compile) 2>conftest.er1
22747 ac_status=$?
22748 grep -v '^ *+' conftest.er1 >conftest.err
22749 rm -f conftest.er1
22750 cat conftest.err >&5
22751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 (exit $ac_status); } &&
22753 { ac_try='test -z "$ac_cxx_werror_flag"
22754 || test ! -s conftest.err'
22755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22756 (eval $ac_try) 2>&5
22757 ac_status=$?
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); }; } &&
22760 { ac_try='test -s conftest.$ac_objext'
22761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22762 (eval $ac_try) 2>&5
22763 ac_status=$?
22764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22765 (exit $ac_status); }; }; then
22766 glibcxx_cv_func__modfl_use=yes
22767 else
22768 echo "$as_me: failed program was:" >&5
22769 sed 's/^/| /' conftest.$ac_ext >&5
22771 glibcxx_cv_func__modfl_use=no
22773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22774 ac_ext=c
22775 ac_cpp='$CPP $CPPFLAGS'
22776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22785 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22787 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22789 for ac_func in _modfl
22791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22792 echo "$as_me:$LINENO: checking for $ac_func" >&5
22793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22794 if eval "test \"\${$as_ac_var+set}\" = set"; then
22795 echo $ECHO_N "(cached) $ECHO_C" >&6
22796 else
22797 if test x$gcc_no_link = xyes; then
22798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22800 { (exit 1); exit 1; }; }
22802 cat >conftest.$ac_ext <<_ACEOF
22803 /* confdefs.h. */
22804 _ACEOF
22805 cat confdefs.h >>conftest.$ac_ext
22806 cat >>conftest.$ac_ext <<_ACEOF
22807 /* end confdefs.h. */
22808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22810 #define $ac_func innocuous_$ac_func
22812 /* System header to define __stub macros and hopefully few prototypes,
22813 which can conflict with char $ac_func (); below.
22814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22815 <limits.h> exists even on freestanding compilers. */
22817 #ifdef __STDC__
22818 # include <limits.h>
22819 #else
22820 # include <assert.h>
22821 #endif
22823 #undef $ac_func
22825 /* Override any gcc2 internal prototype to avoid an error. */
22826 #ifdef __cplusplus
22827 extern "C"
22829 #endif
22830 /* We use char because int might match the return type of a gcc2
22831 builtin and then its argument prototype would still apply. */
22832 char $ac_func ();
22833 /* The GNU C library defines this for functions which it implements
22834 to always fail with ENOSYS. Some functions are actually named
22835 something starting with __ and the normal name is an alias. */
22836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22837 choke me
22838 #else
22839 char (*f) () = $ac_func;
22840 #endif
22841 #ifdef __cplusplus
22843 #endif
22846 main ()
22848 return f != $ac_func;
22850 return 0;
22852 _ACEOF
22853 rm -f conftest.$ac_objext conftest$ac_exeext
22854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22855 (eval $ac_link) 2>conftest.er1
22856 ac_status=$?
22857 grep -v '^ *+' conftest.er1 >conftest.err
22858 rm -f conftest.er1
22859 cat conftest.err >&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); } &&
22862 { ac_try='test -z "$ac_c_werror_flag"
22863 || test ! -s conftest.err'
22864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22865 (eval $ac_try) 2>&5
22866 ac_status=$?
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); }; } &&
22869 { ac_try='test -s conftest$ac_exeext'
22870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22871 (eval $ac_try) 2>&5
22872 ac_status=$?
22873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874 (exit $ac_status); }; }; then
22875 eval "$as_ac_var=yes"
22876 else
22877 echo "$as_me: failed program was:" >&5
22878 sed 's/^/| /' conftest.$ac_ext >&5
22880 eval "$as_ac_var=no"
22882 rm -f conftest.err conftest.$ac_objext \
22883 conftest$ac_exeext conftest.$ac_ext
22885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22887 if test `eval echo '${'$as_ac_var'}'` = yes; then
22888 cat >>confdefs.h <<_ACEOF
22889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22890 _ACEOF
22893 done
22900 echo "$as_me:$LINENO: checking for powl declaration" >&5
22901 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22902 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22903 if test "${glibcxx_cv_func_powl_use+set}" = set; then
22904 echo $ECHO_N "(cached) $ECHO_C" >&6
22905 else
22909 ac_ext=cc
22910 ac_cpp='$CXXCPP $CPPFLAGS'
22911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22915 cat >conftest.$ac_ext <<_ACEOF
22916 /* confdefs.h. */
22917 _ACEOF
22918 cat confdefs.h >>conftest.$ac_ext
22919 cat >>conftest.$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921 #include <math.h>
22923 main ()
22925 powl(0, 0);
22927 return 0;
22929 _ACEOF
22930 rm -f conftest.$ac_objext
22931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22932 (eval $ac_compile) 2>conftest.er1
22933 ac_status=$?
22934 grep -v '^ *+' conftest.er1 >conftest.err
22935 rm -f conftest.er1
22936 cat conftest.err >&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); } &&
22939 { ac_try='test -z "$ac_cxx_werror_flag"
22940 || test ! -s conftest.err'
22941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22942 (eval $ac_try) 2>&5
22943 ac_status=$?
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); }; } &&
22946 { ac_try='test -s conftest.$ac_objext'
22947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22948 (eval $ac_try) 2>&5
22949 ac_status=$?
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); }; }; then
22952 glibcxx_cv_func_powl_use=yes
22953 else
22954 echo "$as_me: failed program was:" >&5
22955 sed 's/^/| /' conftest.$ac_ext >&5
22957 glibcxx_cv_func_powl_use=no
22959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22960 ac_ext=c
22961 ac_cpp='$CPP $CPPFLAGS'
22962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22970 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22971 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22973 if test x$glibcxx_cv_func_powl_use = x"yes"; then
22975 for ac_func in powl
22977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22978 echo "$as_me:$LINENO: checking for $ac_func" >&5
22979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22980 if eval "test \"\${$as_ac_var+set}\" = set"; then
22981 echo $ECHO_N "(cached) $ECHO_C" >&6
22982 else
22983 if test x$gcc_no_link = xyes; then
22984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22986 { (exit 1); exit 1; }; }
22988 cat >conftest.$ac_ext <<_ACEOF
22989 /* confdefs.h. */
22990 _ACEOF
22991 cat confdefs.h >>conftest.$ac_ext
22992 cat >>conftest.$ac_ext <<_ACEOF
22993 /* end confdefs.h. */
22994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22996 #define $ac_func innocuous_$ac_func
22998 /* System header to define __stub macros and hopefully few prototypes,
22999 which can conflict with char $ac_func (); below.
23000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23001 <limits.h> exists even on freestanding compilers. */
23003 #ifdef __STDC__
23004 # include <limits.h>
23005 #else
23006 # include <assert.h>
23007 #endif
23009 #undef $ac_func
23011 /* Override any gcc2 internal prototype to avoid an error. */
23012 #ifdef __cplusplus
23013 extern "C"
23015 #endif
23016 /* We use char because int might match the return type of a gcc2
23017 builtin and then its argument prototype would still apply. */
23018 char $ac_func ();
23019 /* The GNU C library defines this for functions which it implements
23020 to always fail with ENOSYS. Some functions are actually named
23021 something starting with __ and the normal name is an alias. */
23022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23023 choke me
23024 #else
23025 char (*f) () = $ac_func;
23026 #endif
23027 #ifdef __cplusplus
23029 #endif
23032 main ()
23034 return f != $ac_func;
23036 return 0;
23038 _ACEOF
23039 rm -f conftest.$ac_objext conftest$ac_exeext
23040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23041 (eval $ac_link) 2>conftest.er1
23042 ac_status=$?
23043 grep -v '^ *+' conftest.er1 >conftest.err
23044 rm -f conftest.er1
23045 cat conftest.err >&5
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); } &&
23048 { ac_try='test -z "$ac_c_werror_flag"
23049 || test ! -s conftest.err'
23050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23051 (eval $ac_try) 2>&5
23052 ac_status=$?
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); }; } &&
23055 { ac_try='test -s conftest$ac_exeext'
23056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23057 (eval $ac_try) 2>&5
23058 ac_status=$?
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); }; }; then
23061 eval "$as_ac_var=yes"
23062 else
23063 echo "$as_me: failed program was:" >&5
23064 sed 's/^/| /' conftest.$ac_ext >&5
23066 eval "$as_ac_var=no"
23068 rm -f conftest.err conftest.$ac_objext \
23069 conftest$ac_exeext conftest.$ac_ext
23071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23073 if test `eval echo '${'$as_ac_var'}'` = yes; then
23074 cat >>confdefs.h <<_ACEOF
23075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23076 _ACEOF
23079 done
23081 else
23083 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23084 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23085 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23086 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23087 echo $ECHO_N "(cached) $ECHO_C" >&6
23088 else
23092 ac_ext=cc
23093 ac_cpp='$CXXCPP $CPPFLAGS'
23094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23098 cat >conftest.$ac_ext <<_ACEOF
23099 /* confdefs.h. */
23100 _ACEOF
23101 cat confdefs.h >>conftest.$ac_ext
23102 cat >>conftest.$ac_ext <<_ACEOF
23103 /* end confdefs.h. */
23104 #include <math.h>
23106 main ()
23108 _powl(0, 0);
23110 return 0;
23112 _ACEOF
23113 rm -f conftest.$ac_objext
23114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23115 (eval $ac_compile) 2>conftest.er1
23116 ac_status=$?
23117 grep -v '^ *+' conftest.er1 >conftest.err
23118 rm -f conftest.er1
23119 cat conftest.err >&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); } &&
23122 { ac_try='test -z "$ac_cxx_werror_flag"
23123 || test ! -s conftest.err'
23124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23125 (eval $ac_try) 2>&5
23126 ac_status=$?
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); }; } &&
23129 { ac_try='test -s conftest.$ac_objext'
23130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23131 (eval $ac_try) 2>&5
23132 ac_status=$?
23133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134 (exit $ac_status); }; }; then
23135 glibcxx_cv_func__powl_use=yes
23136 else
23137 echo "$as_me: failed program was:" >&5
23138 sed 's/^/| /' conftest.$ac_ext >&5
23140 glibcxx_cv_func__powl_use=no
23142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23143 ac_ext=c
23144 ac_cpp='$CPP $CPPFLAGS'
23145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23153 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23154 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23156 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23158 for ac_func in _powl
23160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23161 echo "$as_me:$LINENO: checking for $ac_func" >&5
23162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23163 if eval "test \"\${$as_ac_var+set}\" = set"; then
23164 echo $ECHO_N "(cached) $ECHO_C" >&6
23165 else
23166 if test x$gcc_no_link = xyes; then
23167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23169 { (exit 1); exit 1; }; }
23171 cat >conftest.$ac_ext <<_ACEOF
23172 /* confdefs.h. */
23173 _ACEOF
23174 cat confdefs.h >>conftest.$ac_ext
23175 cat >>conftest.$ac_ext <<_ACEOF
23176 /* end confdefs.h. */
23177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23179 #define $ac_func innocuous_$ac_func
23181 /* System header to define __stub macros and hopefully few prototypes,
23182 which can conflict with char $ac_func (); below.
23183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23184 <limits.h> exists even on freestanding compilers. */
23186 #ifdef __STDC__
23187 # include <limits.h>
23188 #else
23189 # include <assert.h>
23190 #endif
23192 #undef $ac_func
23194 /* Override any gcc2 internal prototype to avoid an error. */
23195 #ifdef __cplusplus
23196 extern "C"
23198 #endif
23199 /* We use char because int might match the return type of a gcc2
23200 builtin and then its argument prototype would still apply. */
23201 char $ac_func ();
23202 /* The GNU C library defines this for functions which it implements
23203 to always fail with ENOSYS. Some functions are actually named
23204 something starting with __ and the normal name is an alias. */
23205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23206 choke me
23207 #else
23208 char (*f) () = $ac_func;
23209 #endif
23210 #ifdef __cplusplus
23212 #endif
23215 main ()
23217 return f != $ac_func;
23219 return 0;
23221 _ACEOF
23222 rm -f conftest.$ac_objext conftest$ac_exeext
23223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23224 (eval $ac_link) 2>conftest.er1
23225 ac_status=$?
23226 grep -v '^ *+' conftest.er1 >conftest.err
23227 rm -f conftest.er1
23228 cat conftest.err >&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); } &&
23231 { ac_try='test -z "$ac_c_werror_flag"
23232 || test ! -s conftest.err'
23233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23234 (eval $ac_try) 2>&5
23235 ac_status=$?
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; } &&
23238 { ac_try='test -s conftest$ac_exeext'
23239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23240 (eval $ac_try) 2>&5
23241 ac_status=$?
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); }; }; then
23244 eval "$as_ac_var=yes"
23245 else
23246 echo "$as_me: failed program was:" >&5
23247 sed 's/^/| /' conftest.$ac_ext >&5
23249 eval "$as_ac_var=no"
23251 rm -f conftest.err conftest.$ac_objext \
23252 conftest$ac_exeext conftest.$ac_ext
23254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23256 if test `eval echo '${'$as_ac_var'}'` = yes; then
23257 cat >>confdefs.h <<_ACEOF
23258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23259 _ACEOF
23262 done
23269 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23270 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23271 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23272 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23273 echo $ECHO_N "(cached) $ECHO_C" >&6
23274 else
23278 ac_ext=cc
23279 ac_cpp='$CXXCPP $CPPFLAGS'
23280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23284 cat >conftest.$ac_ext <<_ACEOF
23285 /* confdefs.h. */
23286 _ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23290 #include <math.h>
23291 #ifdef HAVE_IEEEFP_H
23292 #include <ieeefp.h>
23293 #endif
23296 main ()
23298 sqrtl(0);
23300 return 0;
23302 _ACEOF
23303 rm -f conftest.$ac_objext
23304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23305 (eval $ac_compile) 2>conftest.er1
23306 ac_status=$?
23307 grep -v '^ *+' conftest.er1 >conftest.err
23308 rm -f conftest.er1
23309 cat conftest.err >&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } &&
23312 { ac_try='test -z "$ac_cxx_werror_flag"
23313 || test ! -s conftest.err'
23314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23315 (eval $ac_try) 2>&5
23316 ac_status=$?
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); }; } &&
23319 { ac_try='test -s conftest.$ac_objext'
23320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23321 (eval $ac_try) 2>&5
23322 ac_status=$?
23323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23324 (exit $ac_status); }; }; then
23325 glibcxx_cv_func_sqrtl_use=yes
23326 else
23327 echo "$as_me: failed program was:" >&5
23328 sed 's/^/| /' conftest.$ac_ext >&5
23330 glibcxx_cv_func_sqrtl_use=no
23332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23333 ac_ext=c
23334 ac_cpp='$CPP $CPPFLAGS'
23335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23344 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23346 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23348 for ac_func in sqrtl
23350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23351 echo "$as_me:$LINENO: checking for $ac_func" >&5
23352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23353 if eval "test \"\${$as_ac_var+set}\" = set"; then
23354 echo $ECHO_N "(cached) $ECHO_C" >&6
23355 else
23356 if test x$gcc_no_link = xyes; then
23357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23359 { (exit 1); exit 1; }; }
23361 cat >conftest.$ac_ext <<_ACEOF
23362 /* confdefs.h. */
23363 _ACEOF
23364 cat confdefs.h >>conftest.$ac_ext
23365 cat >>conftest.$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23369 #define $ac_func innocuous_$ac_func
23371 /* System header to define __stub macros and hopefully few prototypes,
23372 which can conflict with char $ac_func (); below.
23373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23374 <limits.h> exists even on freestanding compilers. */
23376 #ifdef __STDC__
23377 # include <limits.h>
23378 #else
23379 # include <assert.h>
23380 #endif
23382 #undef $ac_func
23384 /* Override any gcc2 internal prototype to avoid an error. */
23385 #ifdef __cplusplus
23386 extern "C"
23388 #endif
23389 /* We use char because int might match the return type of a gcc2
23390 builtin and then its argument prototype would still apply. */
23391 char $ac_func ();
23392 /* The GNU C library defines this for functions which it implements
23393 to always fail with ENOSYS. Some functions are actually named
23394 something starting with __ and the normal name is an alias. */
23395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23396 choke me
23397 #else
23398 char (*f) () = $ac_func;
23399 #endif
23400 #ifdef __cplusplus
23402 #endif
23405 main ()
23407 return f != $ac_func;
23409 return 0;
23411 _ACEOF
23412 rm -f conftest.$ac_objext conftest$ac_exeext
23413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23414 (eval $ac_link) 2>conftest.er1
23415 ac_status=$?
23416 grep -v '^ *+' conftest.er1 >conftest.err
23417 rm -f conftest.er1
23418 cat conftest.err >&5
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); } &&
23421 { ac_try='test -z "$ac_c_werror_flag"
23422 || test ! -s conftest.err'
23423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23424 (eval $ac_try) 2>&5
23425 ac_status=$?
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); }; } &&
23428 { ac_try='test -s conftest$ac_exeext'
23429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23430 (eval $ac_try) 2>&5
23431 ac_status=$?
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); }; }; then
23434 eval "$as_ac_var=yes"
23435 else
23436 echo "$as_me: failed program was:" >&5
23437 sed 's/^/| /' conftest.$ac_ext >&5
23439 eval "$as_ac_var=no"
23441 rm -f conftest.err conftest.$ac_objext \
23442 conftest$ac_exeext conftest.$ac_ext
23444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23446 if test `eval echo '${'$as_ac_var'}'` = yes; then
23447 cat >>confdefs.h <<_ACEOF
23448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23449 _ACEOF
23452 done
23454 else
23456 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23457 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23458 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23459 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23460 echo $ECHO_N "(cached) $ECHO_C" >&6
23461 else
23465 ac_ext=cc
23466 ac_cpp='$CXXCPP $CPPFLAGS'
23467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23471 cat >conftest.$ac_ext <<_ACEOF
23472 /* confdefs.h. */
23473 _ACEOF
23474 cat confdefs.h >>conftest.$ac_ext
23475 cat >>conftest.$ac_ext <<_ACEOF
23476 /* end confdefs.h. */
23477 #include <math.h>
23478 #ifdef HAVE_IEEEFP_H
23479 #include <ieeefp.h>
23480 #endif
23483 main ()
23485 _sqrtl(0);
23487 return 0;
23489 _ACEOF
23490 rm -f conftest.$ac_objext
23491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23492 (eval $ac_compile) 2>conftest.er1
23493 ac_status=$?
23494 grep -v '^ *+' conftest.er1 >conftest.err
23495 rm -f conftest.er1
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } &&
23499 { ac_try='test -z "$ac_cxx_werror_flag"
23500 || test ! -s conftest.err'
23501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23502 (eval $ac_try) 2>&5
23503 ac_status=$?
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); }; } &&
23506 { ac_try='test -s conftest.$ac_objext'
23507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23508 (eval $ac_try) 2>&5
23509 ac_status=$?
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); }; }; then
23512 glibcxx_cv_func__sqrtl_use=yes
23513 else
23514 echo "$as_me: failed program was:" >&5
23515 sed 's/^/| /' conftest.$ac_ext >&5
23517 glibcxx_cv_func__sqrtl_use=no
23519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23520 ac_ext=c
23521 ac_cpp='$CPP $CPPFLAGS'
23522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23531 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23533 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23535 for ac_func in _sqrtl
23537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23538 echo "$as_me:$LINENO: checking for $ac_func" >&5
23539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23540 if eval "test \"\${$as_ac_var+set}\" = set"; then
23541 echo $ECHO_N "(cached) $ECHO_C" >&6
23542 else
23543 if test x$gcc_no_link = xyes; then
23544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23546 { (exit 1); exit 1; }; }
23548 cat >conftest.$ac_ext <<_ACEOF
23549 /* confdefs.h. */
23550 _ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23556 #define $ac_func innocuous_$ac_func
23558 /* System header to define __stub macros and hopefully few prototypes,
23559 which can conflict with char $ac_func (); below.
23560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23561 <limits.h> exists even on freestanding compilers. */
23563 #ifdef __STDC__
23564 # include <limits.h>
23565 #else
23566 # include <assert.h>
23567 #endif
23569 #undef $ac_func
23571 /* Override any gcc2 internal prototype to avoid an error. */
23572 #ifdef __cplusplus
23573 extern "C"
23575 #endif
23576 /* We use char because int might match the return type of a gcc2
23577 builtin and then its argument prototype would still apply. */
23578 char $ac_func ();
23579 /* The GNU C library defines this for functions which it implements
23580 to always fail with ENOSYS. Some functions are actually named
23581 something starting with __ and the normal name is an alias. */
23582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23583 choke me
23584 #else
23585 char (*f) () = $ac_func;
23586 #endif
23587 #ifdef __cplusplus
23589 #endif
23592 main ()
23594 return f != $ac_func;
23596 return 0;
23598 _ACEOF
23599 rm -f conftest.$ac_objext conftest$ac_exeext
23600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23601 (eval $ac_link) 2>conftest.er1
23602 ac_status=$?
23603 grep -v '^ *+' conftest.er1 >conftest.err
23604 rm -f conftest.er1
23605 cat conftest.err >&5
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); } &&
23608 { ac_try='test -z "$ac_c_werror_flag"
23609 || test ! -s conftest.err'
23610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23611 (eval $ac_try) 2>&5
23612 ac_status=$?
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); }; } &&
23615 { ac_try='test -s conftest$ac_exeext'
23616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23617 (eval $ac_try) 2>&5
23618 ac_status=$?
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); }; }; then
23621 eval "$as_ac_var=yes"
23622 else
23623 echo "$as_me: failed program was:" >&5
23624 sed 's/^/| /' conftest.$ac_ext >&5
23626 eval "$as_ac_var=no"
23628 rm -f conftest.err conftest.$ac_objext \
23629 conftest$ac_exeext conftest.$ac_ext
23631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23633 if test `eval echo '${'$as_ac_var'}'` = yes; then
23634 cat >>confdefs.h <<_ACEOF
23635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23636 _ACEOF
23639 done
23646 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23647 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23648 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23649 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23650 echo $ECHO_N "(cached) $ECHO_C" >&6
23651 else
23655 ac_ext=cc
23656 ac_cpp='$CXXCPP $CPPFLAGS'
23657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23661 cat >conftest.$ac_ext <<_ACEOF
23662 /* confdefs.h. */
23663 _ACEOF
23664 cat confdefs.h >>conftest.$ac_ext
23665 cat >>conftest.$ac_ext <<_ACEOF
23666 /* end confdefs.h. */
23667 #include <math.h>
23669 main ()
23671 sincosl(0, 0, 0);
23673 return 0;
23675 _ACEOF
23676 rm -f conftest.$ac_objext
23677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23678 (eval $ac_compile) 2>conftest.er1
23679 ac_status=$?
23680 grep -v '^ *+' conftest.er1 >conftest.err
23681 rm -f conftest.er1
23682 cat conftest.err >&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); } &&
23685 { ac_try='test -z "$ac_cxx_werror_flag"
23686 || test ! -s conftest.err'
23687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23688 (eval $ac_try) 2>&5
23689 ac_status=$?
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); }; } &&
23692 { ac_try='test -s conftest.$ac_objext'
23693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23694 (eval $ac_try) 2>&5
23695 ac_status=$?
23696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23697 (exit $ac_status); }; }; then
23698 glibcxx_cv_func_sincosl_use=yes
23699 else
23700 echo "$as_me: failed program was:" >&5
23701 sed 's/^/| /' conftest.$ac_ext >&5
23703 glibcxx_cv_func_sincosl_use=no
23705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23706 ac_ext=c
23707 ac_cpp='$CPP $CPPFLAGS'
23708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23716 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23717 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23719 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23721 for ac_func in sincosl
23723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23724 echo "$as_me:$LINENO: checking for $ac_func" >&5
23725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23726 if eval "test \"\${$as_ac_var+set}\" = set"; then
23727 echo $ECHO_N "(cached) $ECHO_C" >&6
23728 else
23729 if test x$gcc_no_link = xyes; then
23730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23732 { (exit 1); exit 1; }; }
23734 cat >conftest.$ac_ext <<_ACEOF
23735 /* confdefs.h. */
23736 _ACEOF
23737 cat confdefs.h >>conftest.$ac_ext
23738 cat >>conftest.$ac_ext <<_ACEOF
23739 /* end confdefs.h. */
23740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23742 #define $ac_func innocuous_$ac_func
23744 /* System header to define __stub macros and hopefully few prototypes,
23745 which can conflict with char $ac_func (); below.
23746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23747 <limits.h> exists even on freestanding compilers. */
23749 #ifdef __STDC__
23750 # include <limits.h>
23751 #else
23752 # include <assert.h>
23753 #endif
23755 #undef $ac_func
23757 /* Override any gcc2 internal prototype to avoid an error. */
23758 #ifdef __cplusplus
23759 extern "C"
23761 #endif
23762 /* We use char because int might match the return type of a gcc2
23763 builtin and then its argument prototype would still apply. */
23764 char $ac_func ();
23765 /* The GNU C library defines this for functions which it implements
23766 to always fail with ENOSYS. Some functions are actually named
23767 something starting with __ and the normal name is an alias. */
23768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23769 choke me
23770 #else
23771 char (*f) () = $ac_func;
23772 #endif
23773 #ifdef __cplusplus
23775 #endif
23778 main ()
23780 return f != $ac_func;
23782 return 0;
23784 _ACEOF
23785 rm -f conftest.$ac_objext conftest$ac_exeext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23787 (eval $ac_link) 2>conftest.er1
23788 ac_status=$?
23789 grep -v '^ *+' conftest.er1 >conftest.err
23790 rm -f conftest.er1
23791 cat conftest.err >&5
23792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793 (exit $ac_status); } &&
23794 { ac_try='test -z "$ac_c_werror_flag"
23795 || test ! -s conftest.err'
23796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23797 (eval $ac_try) 2>&5
23798 ac_status=$?
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); }; } &&
23801 { ac_try='test -s conftest$ac_exeext'
23802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23803 (eval $ac_try) 2>&5
23804 ac_status=$?
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); }; }; then
23807 eval "$as_ac_var=yes"
23808 else
23809 echo "$as_me: failed program was:" >&5
23810 sed 's/^/| /' conftest.$ac_ext >&5
23812 eval "$as_ac_var=no"
23814 rm -f conftest.err conftest.$ac_objext \
23815 conftest$ac_exeext conftest.$ac_ext
23817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23819 if test `eval echo '${'$as_ac_var'}'` = yes; then
23820 cat >>confdefs.h <<_ACEOF
23821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23822 _ACEOF
23825 done
23827 else
23829 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23830 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23831 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23832 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23833 echo $ECHO_N "(cached) $ECHO_C" >&6
23834 else
23838 ac_ext=cc
23839 ac_cpp='$CXXCPP $CPPFLAGS'
23840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23844 cat >conftest.$ac_ext <<_ACEOF
23845 /* confdefs.h. */
23846 _ACEOF
23847 cat confdefs.h >>conftest.$ac_ext
23848 cat >>conftest.$ac_ext <<_ACEOF
23849 /* end confdefs.h. */
23850 #include <math.h>
23852 main ()
23854 _sincosl(0, 0, 0);
23856 return 0;
23858 _ACEOF
23859 rm -f conftest.$ac_objext
23860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23861 (eval $ac_compile) 2>conftest.er1
23862 ac_status=$?
23863 grep -v '^ *+' conftest.er1 >conftest.err
23864 rm -f conftest.er1
23865 cat conftest.err >&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } &&
23868 { ac_try='test -z "$ac_cxx_werror_flag"
23869 || test ! -s conftest.err'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23872 ac_status=$?
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; } &&
23875 { ac_try='test -s conftest.$ac_objext'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23878 ac_status=$?
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; }; then
23881 glibcxx_cv_func__sincosl_use=yes
23882 else
23883 echo "$as_me: failed program was:" >&5
23884 sed 's/^/| /' conftest.$ac_ext >&5
23886 glibcxx_cv_func__sincosl_use=no
23888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23889 ac_ext=c
23890 ac_cpp='$CPP $CPPFLAGS'
23891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23900 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23902 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23904 for ac_func in _sincosl
23906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23907 echo "$as_me:$LINENO: checking for $ac_func" >&5
23908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23909 if eval "test \"\${$as_ac_var+set}\" = set"; then
23910 echo $ECHO_N "(cached) $ECHO_C" >&6
23911 else
23912 if test x$gcc_no_link = xyes; then
23913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23915 { (exit 1); exit 1; }; }
23917 cat >conftest.$ac_ext <<_ACEOF
23918 /* confdefs.h. */
23919 _ACEOF
23920 cat confdefs.h >>conftest.$ac_ext
23921 cat >>conftest.$ac_ext <<_ACEOF
23922 /* end confdefs.h. */
23923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23925 #define $ac_func innocuous_$ac_func
23927 /* System header to define __stub macros and hopefully few prototypes,
23928 which can conflict with char $ac_func (); below.
23929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23930 <limits.h> exists even on freestanding compilers. */
23932 #ifdef __STDC__
23933 # include <limits.h>
23934 #else
23935 # include <assert.h>
23936 #endif
23938 #undef $ac_func
23940 /* Override any gcc2 internal prototype to avoid an error. */
23941 #ifdef __cplusplus
23942 extern "C"
23944 #endif
23945 /* We use char because int might match the return type of a gcc2
23946 builtin and then its argument prototype would still apply. */
23947 char $ac_func ();
23948 /* The GNU C library defines this for functions which it implements
23949 to always fail with ENOSYS. Some functions are actually named
23950 something starting with __ and the normal name is an alias. */
23951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23952 choke me
23953 #else
23954 char (*f) () = $ac_func;
23955 #endif
23956 #ifdef __cplusplus
23958 #endif
23961 main ()
23963 return f != $ac_func;
23965 return 0;
23967 _ACEOF
23968 rm -f conftest.$ac_objext conftest$ac_exeext
23969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23970 (eval $ac_link) 2>conftest.er1
23971 ac_status=$?
23972 grep -v '^ *+' conftest.er1 >conftest.err
23973 rm -f conftest.er1
23974 cat conftest.err >&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); } &&
23977 { ac_try='test -z "$ac_c_werror_flag"
23978 || test ! -s conftest.err'
23979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23980 (eval $ac_try) 2>&5
23981 ac_status=$?
23982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23983 (exit $ac_status); }; } &&
23984 { ac_try='test -s conftest$ac_exeext'
23985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23986 (eval $ac_try) 2>&5
23987 ac_status=$?
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); }; }; then
23990 eval "$as_ac_var=yes"
23991 else
23992 echo "$as_me: failed program was:" >&5
23993 sed 's/^/| /' conftest.$ac_ext >&5
23995 eval "$as_ac_var=no"
23997 rm -f conftest.err conftest.$ac_objext \
23998 conftest$ac_exeext conftest.$ac_ext
24000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24002 if test `eval echo '${'$as_ac_var'}'` = yes; then
24003 cat >>confdefs.h <<_ACEOF
24004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24005 _ACEOF
24008 done
24015 echo "$as_me:$LINENO: checking for finitel declaration" >&5
24016 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
24017 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24018 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
24019 echo $ECHO_N "(cached) $ECHO_C" >&6
24020 else
24024 ac_ext=cc
24025 ac_cpp='$CXXCPP $CPPFLAGS'
24026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24030 cat >conftest.$ac_ext <<_ACEOF
24031 /* confdefs.h. */
24032 _ACEOF
24033 cat confdefs.h >>conftest.$ac_ext
24034 cat >>conftest.$ac_ext <<_ACEOF
24035 /* end confdefs.h. */
24036 #include <math.h>
24037 #ifdef HAVE_IEEEFP_H
24038 #include <ieeefp.h>
24039 #endif
24042 main ()
24044 finitel(0);
24046 return 0;
24048 _ACEOF
24049 rm -f conftest.$ac_objext
24050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24051 (eval $ac_compile) 2>conftest.er1
24052 ac_status=$?
24053 grep -v '^ *+' conftest.er1 >conftest.err
24054 rm -f conftest.er1
24055 cat conftest.err >&5
24056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24057 (exit $ac_status); } &&
24058 { ac_try='test -z "$ac_cxx_werror_flag"
24059 || test ! -s conftest.err'
24060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24061 (eval $ac_try) 2>&5
24062 ac_status=$?
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); }; } &&
24065 { ac_try='test -s conftest.$ac_objext'
24066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24067 (eval $ac_try) 2>&5
24068 ac_status=$?
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); }; }; then
24071 glibcxx_cv_func_finitel_use=yes
24072 else
24073 echo "$as_me: failed program was:" >&5
24074 sed 's/^/| /' conftest.$ac_ext >&5
24076 glibcxx_cv_func_finitel_use=no
24078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24079 ac_ext=c
24080 ac_cpp='$CPP $CPPFLAGS'
24081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24089 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24090 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24092 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24094 for ac_func in finitel
24096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24097 echo "$as_me:$LINENO: checking for $ac_func" >&5
24098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24099 if eval "test \"\${$as_ac_var+set}\" = set"; then
24100 echo $ECHO_N "(cached) $ECHO_C" >&6
24101 else
24102 if test x$gcc_no_link = xyes; then
24103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24105 { (exit 1); exit 1; }; }
24107 cat >conftest.$ac_ext <<_ACEOF
24108 /* confdefs.h. */
24109 _ACEOF
24110 cat confdefs.h >>conftest.$ac_ext
24111 cat >>conftest.$ac_ext <<_ACEOF
24112 /* end confdefs.h. */
24113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24115 #define $ac_func innocuous_$ac_func
24117 /* System header to define __stub macros and hopefully few prototypes,
24118 which can conflict with char $ac_func (); below.
24119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24120 <limits.h> exists even on freestanding compilers. */
24122 #ifdef __STDC__
24123 # include <limits.h>
24124 #else
24125 # include <assert.h>
24126 #endif
24128 #undef $ac_func
24130 /* Override any gcc2 internal prototype to avoid an error. */
24131 #ifdef __cplusplus
24132 extern "C"
24134 #endif
24135 /* We use char because int might match the return type of a gcc2
24136 builtin and then its argument prototype would still apply. */
24137 char $ac_func ();
24138 /* The GNU C library defines this for functions which it implements
24139 to always fail with ENOSYS. Some functions are actually named
24140 something starting with __ and the normal name is an alias. */
24141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24142 choke me
24143 #else
24144 char (*f) () = $ac_func;
24145 #endif
24146 #ifdef __cplusplus
24148 #endif
24151 main ()
24153 return f != $ac_func;
24155 return 0;
24157 _ACEOF
24158 rm -f conftest.$ac_objext conftest$ac_exeext
24159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24160 (eval $ac_link) 2>conftest.er1
24161 ac_status=$?
24162 grep -v '^ *+' conftest.er1 >conftest.err
24163 rm -f conftest.er1
24164 cat conftest.err >&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); } &&
24167 { ac_try='test -z "$ac_c_werror_flag"
24168 || test ! -s conftest.err'
24169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24170 (eval $ac_try) 2>&5
24171 ac_status=$?
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); }; } &&
24174 { ac_try='test -s conftest$ac_exeext'
24175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24176 (eval $ac_try) 2>&5
24177 ac_status=$?
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); }; }; then
24180 eval "$as_ac_var=yes"
24181 else
24182 echo "$as_me: failed program was:" >&5
24183 sed 's/^/| /' conftest.$ac_ext >&5
24185 eval "$as_ac_var=no"
24187 rm -f conftest.err conftest.$ac_objext \
24188 conftest$ac_exeext conftest.$ac_ext
24190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24192 if test `eval echo '${'$as_ac_var'}'` = yes; then
24193 cat >>confdefs.h <<_ACEOF
24194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24195 _ACEOF
24198 done
24200 else
24202 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24203 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24204 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24205 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24206 echo $ECHO_N "(cached) $ECHO_C" >&6
24207 else
24211 ac_ext=cc
24212 ac_cpp='$CXXCPP $CPPFLAGS'
24213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24217 cat >conftest.$ac_ext <<_ACEOF
24218 /* confdefs.h. */
24219 _ACEOF
24220 cat confdefs.h >>conftest.$ac_ext
24221 cat >>conftest.$ac_ext <<_ACEOF
24222 /* end confdefs.h. */
24223 #include <math.h>
24224 #ifdef HAVE_IEEEFP_H
24225 #include <ieeefp.h>
24226 #endif
24229 main ()
24231 _finitel(0);
24233 return 0;
24235 _ACEOF
24236 rm -f conftest.$ac_objext
24237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24238 (eval $ac_compile) 2>conftest.er1
24239 ac_status=$?
24240 grep -v '^ *+' conftest.er1 >conftest.err
24241 rm -f conftest.er1
24242 cat conftest.err >&5
24243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24244 (exit $ac_status); } &&
24245 { ac_try='test -z "$ac_cxx_werror_flag"
24246 || test ! -s conftest.err'
24247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24248 (eval $ac_try) 2>&5
24249 ac_status=$?
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); }; } &&
24252 { ac_try='test -s conftest.$ac_objext'
24253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24254 (eval $ac_try) 2>&5
24255 ac_status=$?
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); }; }; then
24258 glibcxx_cv_func__finitel_use=yes
24259 else
24260 echo "$as_me: failed program was:" >&5
24261 sed 's/^/| /' conftest.$ac_ext >&5
24263 glibcxx_cv_func__finitel_use=no
24265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24266 ac_ext=c
24267 ac_cpp='$CPP $CPPFLAGS'
24268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24276 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24277 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24279 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24281 for ac_func in _finitel
24283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24284 echo "$as_me:$LINENO: checking for $ac_func" >&5
24285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24286 if eval "test \"\${$as_ac_var+set}\" = set"; then
24287 echo $ECHO_N "(cached) $ECHO_C" >&6
24288 else
24289 if test x$gcc_no_link = xyes; then
24290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24292 { (exit 1); exit 1; }; }
24294 cat >conftest.$ac_ext <<_ACEOF
24295 /* confdefs.h. */
24296 _ACEOF
24297 cat confdefs.h >>conftest.$ac_ext
24298 cat >>conftest.$ac_ext <<_ACEOF
24299 /* end confdefs.h. */
24300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24302 #define $ac_func innocuous_$ac_func
24304 /* System header to define __stub macros and hopefully few prototypes,
24305 which can conflict with char $ac_func (); below.
24306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24307 <limits.h> exists even on freestanding compilers. */
24309 #ifdef __STDC__
24310 # include <limits.h>
24311 #else
24312 # include <assert.h>
24313 #endif
24315 #undef $ac_func
24317 /* Override any gcc2 internal prototype to avoid an error. */
24318 #ifdef __cplusplus
24319 extern "C"
24321 #endif
24322 /* We use char because int might match the return type of a gcc2
24323 builtin and then its argument prototype would still apply. */
24324 char $ac_func ();
24325 /* The GNU C library defines this for functions which it implements
24326 to always fail with ENOSYS. Some functions are actually named
24327 something starting with __ and the normal name is an alias. */
24328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24329 choke me
24330 #else
24331 char (*f) () = $ac_func;
24332 #endif
24333 #ifdef __cplusplus
24335 #endif
24338 main ()
24340 return f != $ac_func;
24342 return 0;
24344 _ACEOF
24345 rm -f conftest.$ac_objext conftest$ac_exeext
24346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24347 (eval $ac_link) 2>conftest.er1
24348 ac_status=$?
24349 grep -v '^ *+' conftest.er1 >conftest.err
24350 rm -f conftest.er1
24351 cat conftest.err >&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); } &&
24354 { ac_try='test -z "$ac_c_werror_flag"
24355 || test ! -s conftest.err'
24356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24357 (eval $ac_try) 2>&5
24358 ac_status=$?
24359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360 (exit $ac_status); }; } &&
24361 { ac_try='test -s conftest$ac_exeext'
24362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24363 (eval $ac_try) 2>&5
24364 ac_status=$?
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); }; }; then
24367 eval "$as_ac_var=yes"
24368 else
24369 echo "$as_me: failed program was:" >&5
24370 sed 's/^/| /' conftest.$ac_ext >&5
24372 eval "$as_ac_var=no"
24374 rm -f conftest.err conftest.$ac_objext \
24375 conftest$ac_exeext conftest.$ac_ext
24377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24379 if test `eval echo '${'$as_ac_var'}'` = yes; then
24380 cat >>confdefs.h <<_ACEOF
24381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24382 _ACEOF
24385 done
24393 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24394 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24395 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24396 echo $ECHO_N "(cached) $ECHO_C" >&6
24397 else
24401 ac_ext=cc
24402 ac_cpp='$CXXCPP $CPPFLAGS'
24403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24407 cat >conftest.$ac_ext <<_ACEOF
24408 /* confdefs.h. */
24409 _ACEOF
24410 cat confdefs.h >>conftest.$ac_ext
24411 cat >>conftest.$ac_ext <<_ACEOF
24412 /* end confdefs.h. */
24413 #include <math.h>
24415 main ()
24417 `for x in _acosf _asinf _atanf \
24418 _cosf _sinf _tanf \
24419 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24421 return 0;
24423 _ACEOF
24424 rm -f conftest.$ac_objext
24425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24426 (eval $ac_compile) 2>conftest.er1
24427 ac_status=$?
24428 grep -v '^ *+' conftest.er1 >conftest.err
24429 rm -f conftest.er1
24430 cat conftest.err >&5
24431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432 (exit $ac_status); } &&
24433 { ac_try='test -z "$ac_cxx_werror_flag"
24434 || test ! -s conftest.err'
24435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24436 (eval $ac_try) 2>&5
24437 ac_status=$?
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); }; } &&
24440 { ac_try='test -s conftest.$ac_objext'
24441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24442 (eval $ac_try) 2>&5
24443 ac_status=$?
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); }; }; then
24446 glibcxx_cv_func__float_trig_use=yes
24447 else
24448 echo "$as_me: failed program was:" >&5
24449 sed 's/^/| /' conftest.$ac_ext >&5
24451 glibcxx_cv_func__float_trig_use=no
24453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24454 ac_ext=c
24455 ac_cpp='$CPP $CPPFLAGS'
24456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24462 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24463 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24464 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24474 for ac_func in _acosf _asinf _atanf \
24475 _cosf _sinf _tanf \
24476 _coshf _sinhf _tanhf
24478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24479 echo "$as_me:$LINENO: checking for $ac_func" >&5
24480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24481 if eval "test \"\${$as_ac_var+set}\" = set"; then
24482 echo $ECHO_N "(cached) $ECHO_C" >&6
24483 else
24484 if test x$gcc_no_link = xyes; then
24485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24487 { (exit 1); exit 1; }; }
24489 cat >conftest.$ac_ext <<_ACEOF
24490 /* confdefs.h. */
24491 _ACEOF
24492 cat confdefs.h >>conftest.$ac_ext
24493 cat >>conftest.$ac_ext <<_ACEOF
24494 /* end confdefs.h. */
24495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24497 #define $ac_func innocuous_$ac_func
24499 /* System header to define __stub macros and hopefully few prototypes,
24500 which can conflict with char $ac_func (); below.
24501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24502 <limits.h> exists even on freestanding compilers. */
24504 #ifdef __STDC__
24505 # include <limits.h>
24506 #else
24507 # include <assert.h>
24508 #endif
24510 #undef $ac_func
24512 /* Override any gcc2 internal prototype to avoid an error. */
24513 #ifdef __cplusplus
24514 extern "C"
24516 #endif
24517 /* We use char because int might match the return type of a gcc2
24518 builtin and then its argument prototype would still apply. */
24519 char $ac_func ();
24520 /* The GNU C library defines this for functions which it implements
24521 to always fail with ENOSYS. Some functions are actually named
24522 something starting with __ and the normal name is an alias. */
24523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24524 choke me
24525 #else
24526 char (*f) () = $ac_func;
24527 #endif
24528 #ifdef __cplusplus
24530 #endif
24533 main ()
24535 return f != $ac_func;
24537 return 0;
24539 _ACEOF
24540 rm -f conftest.$ac_objext conftest$ac_exeext
24541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24542 (eval $ac_link) 2>conftest.er1
24543 ac_status=$?
24544 grep -v '^ *+' conftest.er1 >conftest.err
24545 rm -f conftest.er1
24546 cat conftest.err >&5
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); } &&
24549 { ac_try='test -z "$ac_c_werror_flag"
24550 || test ! -s conftest.err'
24551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24552 (eval $ac_try) 2>&5
24553 ac_status=$?
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); }; } &&
24556 { ac_try='test -s conftest$ac_exeext'
24557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24558 (eval $ac_try) 2>&5
24559 ac_status=$?
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); }; }; then
24562 eval "$as_ac_var=yes"
24563 else
24564 echo "$as_me: failed program was:" >&5
24565 sed 's/^/| /' conftest.$ac_ext >&5
24567 eval "$as_ac_var=no"
24569 rm -f conftest.err conftest.$ac_objext \
24570 conftest$ac_exeext conftest.$ac_ext
24572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24574 if test `eval echo '${'$as_ac_var'}'` = yes; then
24575 cat >>confdefs.h <<_ACEOF
24576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24577 _ACEOF
24580 done
24585 echo "$as_me:$LINENO: checking for _float round functions" >&5
24586 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24587 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24588 echo $ECHO_N "(cached) $ECHO_C" >&6
24589 else
24593 ac_ext=cc
24594 ac_cpp='$CXXCPP $CPPFLAGS'
24595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24599 cat >conftest.$ac_ext <<_ACEOF
24600 /* confdefs.h. */
24601 _ACEOF
24602 cat confdefs.h >>conftest.$ac_ext
24603 cat >>conftest.$ac_ext <<_ACEOF
24604 /* end confdefs.h. */
24605 #include <math.h>
24607 main ()
24609 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24611 return 0;
24613 _ACEOF
24614 rm -f conftest.$ac_objext
24615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24616 (eval $ac_compile) 2>conftest.er1
24617 ac_status=$?
24618 grep -v '^ *+' conftest.er1 >conftest.err
24619 rm -f conftest.er1
24620 cat conftest.err >&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); } &&
24623 { ac_try='test -z "$ac_cxx_werror_flag"
24624 || test ! -s conftest.err'
24625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24626 (eval $ac_try) 2>&5
24627 ac_status=$?
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); }; } &&
24630 { ac_try='test -s conftest.$ac_objext'
24631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24632 (eval $ac_try) 2>&5
24633 ac_status=$?
24634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635 (exit $ac_status); }; }; then
24636 glibcxx_cv_func__float_round_use=yes
24637 else
24638 echo "$as_me: failed program was:" >&5
24639 sed 's/^/| /' conftest.$ac_ext >&5
24641 glibcxx_cv_func__float_round_use=no
24643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24644 ac_ext=c
24645 ac_cpp='$CPP $CPPFLAGS'
24646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24652 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24653 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24654 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24657 for ac_func in _ceilf _floorf
24659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24660 echo "$as_me:$LINENO: checking for $ac_func" >&5
24661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24662 if eval "test \"\${$as_ac_var+set}\" = set"; then
24663 echo $ECHO_N "(cached) $ECHO_C" >&6
24664 else
24665 if test x$gcc_no_link = xyes; then
24666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24668 { (exit 1); exit 1; }; }
24670 cat >conftest.$ac_ext <<_ACEOF
24671 /* confdefs.h. */
24672 _ACEOF
24673 cat confdefs.h >>conftest.$ac_ext
24674 cat >>conftest.$ac_ext <<_ACEOF
24675 /* end confdefs.h. */
24676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24678 #define $ac_func innocuous_$ac_func
24680 /* System header to define __stub macros and hopefully few prototypes,
24681 which can conflict with char $ac_func (); below.
24682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24683 <limits.h> exists even on freestanding compilers. */
24685 #ifdef __STDC__
24686 # include <limits.h>
24687 #else
24688 # include <assert.h>
24689 #endif
24691 #undef $ac_func
24693 /* Override any gcc2 internal prototype to avoid an error. */
24694 #ifdef __cplusplus
24695 extern "C"
24697 #endif
24698 /* We use char because int might match the return type of a gcc2
24699 builtin and then its argument prototype would still apply. */
24700 char $ac_func ();
24701 /* The GNU C library defines this for functions which it implements
24702 to always fail with ENOSYS. Some functions are actually named
24703 something starting with __ and the normal name is an alias. */
24704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24705 choke me
24706 #else
24707 char (*f) () = $ac_func;
24708 #endif
24709 #ifdef __cplusplus
24711 #endif
24714 main ()
24716 return f != $ac_func;
24718 return 0;
24720 _ACEOF
24721 rm -f conftest.$ac_objext conftest$ac_exeext
24722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24723 (eval $ac_link) 2>conftest.er1
24724 ac_status=$?
24725 grep -v '^ *+' conftest.er1 >conftest.err
24726 rm -f conftest.er1
24727 cat conftest.err >&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); } &&
24730 { ac_try='test -z "$ac_c_werror_flag"
24731 || test ! -s conftest.err'
24732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24733 (eval $ac_try) 2>&5
24734 ac_status=$?
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); }; } &&
24737 { ac_try='test -s conftest$ac_exeext'
24738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24739 (eval $ac_try) 2>&5
24740 ac_status=$?
24741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742 (exit $ac_status); }; }; then
24743 eval "$as_ac_var=yes"
24744 else
24745 echo "$as_me: failed program was:" >&5
24746 sed 's/^/| /' conftest.$ac_ext >&5
24748 eval "$as_ac_var=no"
24750 rm -f conftest.err conftest.$ac_objext \
24751 conftest$ac_exeext conftest.$ac_ext
24753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24755 if test `eval echo '${'$as_ac_var'}'` = yes; then
24756 cat >>confdefs.h <<_ACEOF
24757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24758 _ACEOF
24761 done
24767 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24768 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24769 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24770 echo $ECHO_N "(cached) $ECHO_C" >&6
24771 else
24775 ac_ext=cc
24776 ac_cpp='$CXXCPP $CPPFLAGS'
24777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24781 cat >conftest.$ac_ext <<_ACEOF
24782 /* confdefs.h. */
24783 _ACEOF
24784 cat confdefs.h >>conftest.$ac_ext
24785 cat >>conftest.$ac_ext <<_ACEOF
24786 /* end confdefs.h. */
24787 #include <math.h>
24789 main ()
24791 `for x in _acosl _asinl _atanl \
24792 _cosl _sinl _tanl \
24793 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24795 return 0;
24797 _ACEOF
24798 rm -f conftest.$ac_objext
24799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24800 (eval $ac_compile) 2>conftest.er1
24801 ac_status=$?
24802 grep -v '^ *+' conftest.er1 >conftest.err
24803 rm -f conftest.er1
24804 cat conftest.err >&5
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); } &&
24807 { ac_try='test -z "$ac_cxx_werror_flag"
24808 || test ! -s conftest.err'
24809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24810 (eval $ac_try) 2>&5
24811 ac_status=$?
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); }; } &&
24814 { ac_try='test -s conftest.$ac_objext'
24815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24816 (eval $ac_try) 2>&5
24817 ac_status=$?
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); }; }; then
24820 glibcxx_cv_func__long_double_trig_use=yes
24821 else
24822 echo "$as_me: failed program was:" >&5
24823 sed 's/^/| /' conftest.$ac_ext >&5
24825 glibcxx_cv_func__long_double_trig_use=no
24827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24828 ac_ext=c
24829 ac_cpp='$CPP $CPPFLAGS'
24830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24837 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24838 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24848 for ac_func in _acosl _asinl _atanl \
24849 _cosl _sinl _tanl \
24850 _coshl _sinhl _tanhl
24852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24853 echo "$as_me:$LINENO: checking for $ac_func" >&5
24854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24855 if eval "test \"\${$as_ac_var+set}\" = set"; then
24856 echo $ECHO_N "(cached) $ECHO_C" >&6
24857 else
24858 if test x$gcc_no_link = xyes; then
24859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24861 { (exit 1); exit 1; }; }
24863 cat >conftest.$ac_ext <<_ACEOF
24864 /* confdefs.h. */
24865 _ACEOF
24866 cat confdefs.h >>conftest.$ac_ext
24867 cat >>conftest.$ac_ext <<_ACEOF
24868 /* end confdefs.h. */
24869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24871 #define $ac_func innocuous_$ac_func
24873 /* System header to define __stub macros and hopefully few prototypes,
24874 which can conflict with char $ac_func (); below.
24875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24876 <limits.h> exists even on freestanding compilers. */
24878 #ifdef __STDC__
24879 # include <limits.h>
24880 #else
24881 # include <assert.h>
24882 #endif
24884 #undef $ac_func
24886 /* Override any gcc2 internal prototype to avoid an error. */
24887 #ifdef __cplusplus
24888 extern "C"
24890 #endif
24891 /* We use char because int might match the return type of a gcc2
24892 builtin and then its argument prototype would still apply. */
24893 char $ac_func ();
24894 /* The GNU C library defines this for functions which it implements
24895 to always fail with ENOSYS. Some functions are actually named
24896 something starting with __ and the normal name is an alias. */
24897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24898 choke me
24899 #else
24900 char (*f) () = $ac_func;
24901 #endif
24902 #ifdef __cplusplus
24904 #endif
24907 main ()
24909 return f != $ac_func;
24911 return 0;
24913 _ACEOF
24914 rm -f conftest.$ac_objext conftest$ac_exeext
24915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24916 (eval $ac_link) 2>conftest.er1
24917 ac_status=$?
24918 grep -v '^ *+' conftest.er1 >conftest.err
24919 rm -f conftest.er1
24920 cat conftest.err >&5
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); } &&
24923 { ac_try='test -z "$ac_c_werror_flag"
24924 || test ! -s conftest.err'
24925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24926 (eval $ac_try) 2>&5
24927 ac_status=$?
24928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24929 (exit $ac_status); }; } &&
24930 { ac_try='test -s conftest$ac_exeext'
24931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24932 (eval $ac_try) 2>&5
24933 ac_status=$?
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); }; }; then
24936 eval "$as_ac_var=yes"
24937 else
24938 echo "$as_me: failed program was:" >&5
24939 sed 's/^/| /' conftest.$ac_ext >&5
24941 eval "$as_ac_var=no"
24943 rm -f conftest.err conftest.$ac_objext \
24944 conftest$ac_exeext conftest.$ac_ext
24946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24948 if test `eval echo '${'$as_ac_var'}'` = yes; then
24949 cat >>confdefs.h <<_ACEOF
24950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24951 _ACEOF
24954 done
24959 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24960 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24961 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24962 echo $ECHO_N "(cached) $ECHO_C" >&6
24963 else
24967 ac_ext=cc
24968 ac_cpp='$CXXCPP $CPPFLAGS'
24969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24973 cat >conftest.$ac_ext <<_ACEOF
24974 /* confdefs.h. */
24975 _ACEOF
24976 cat confdefs.h >>conftest.$ac_ext
24977 cat >>conftest.$ac_ext <<_ACEOF
24978 /* end confdefs.h. */
24979 #include <math.h>
24981 main ()
24983 `for x in _ceill _floorl; do echo "$x (0);"; done`
24985 return 0;
24987 _ACEOF
24988 rm -f conftest.$ac_objext
24989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24990 (eval $ac_compile) 2>conftest.er1
24991 ac_status=$?
24992 grep -v '^ *+' conftest.er1 >conftest.err
24993 rm -f conftest.er1
24994 cat conftest.err >&5
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); } &&
24997 { ac_try='test -z "$ac_cxx_werror_flag"
24998 || test ! -s conftest.err'
24999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25000 (eval $ac_try) 2>&5
25001 ac_status=$?
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); }; } &&
25004 { ac_try='test -s conftest.$ac_objext'
25005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25006 (eval $ac_try) 2>&5
25007 ac_status=$?
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); }; }; then
25010 glibcxx_cv_func__long_double_round_use=yes
25011 else
25012 echo "$as_me: failed program was:" >&5
25013 sed 's/^/| /' conftest.$ac_ext >&5
25015 glibcxx_cv_func__long_double_round_use=no
25017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25018 ac_ext=c
25019 ac_cpp='$CPP $CPPFLAGS'
25020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25026 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25027 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25028 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25031 for ac_func in _ceill _floorl
25033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25034 echo "$as_me:$LINENO: checking for $ac_func" >&5
25035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25036 if eval "test \"\${$as_ac_var+set}\" = set"; then
25037 echo $ECHO_N "(cached) $ECHO_C" >&6
25038 else
25039 if test x$gcc_no_link = xyes; then
25040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25042 { (exit 1); exit 1; }; }
25044 cat >conftest.$ac_ext <<_ACEOF
25045 /* confdefs.h. */
25046 _ACEOF
25047 cat confdefs.h >>conftest.$ac_ext
25048 cat >>conftest.$ac_ext <<_ACEOF
25049 /* end confdefs.h. */
25050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25052 #define $ac_func innocuous_$ac_func
25054 /* System header to define __stub macros and hopefully few prototypes,
25055 which can conflict with char $ac_func (); below.
25056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25057 <limits.h> exists even on freestanding compilers. */
25059 #ifdef __STDC__
25060 # include <limits.h>
25061 #else
25062 # include <assert.h>
25063 #endif
25065 #undef $ac_func
25067 /* Override any gcc2 internal prototype to avoid an error. */
25068 #ifdef __cplusplus
25069 extern "C"
25071 #endif
25072 /* We use char because int might match the return type of a gcc2
25073 builtin and then its argument prototype would still apply. */
25074 char $ac_func ();
25075 /* The GNU C library defines this for functions which it implements
25076 to always fail with ENOSYS. Some functions are actually named
25077 something starting with __ and the normal name is an alias. */
25078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25079 choke me
25080 #else
25081 char (*f) () = $ac_func;
25082 #endif
25083 #ifdef __cplusplus
25085 #endif
25088 main ()
25090 return f != $ac_func;
25092 return 0;
25094 _ACEOF
25095 rm -f conftest.$ac_objext conftest$ac_exeext
25096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25097 (eval $ac_link) 2>conftest.er1
25098 ac_status=$?
25099 grep -v '^ *+' conftest.er1 >conftest.err
25100 rm -f conftest.er1
25101 cat conftest.err >&5
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); } &&
25104 { ac_try='test -z "$ac_c_werror_flag"
25105 || test ! -s conftest.err'
25106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25107 (eval $ac_try) 2>&5
25108 ac_status=$?
25109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25110 (exit $ac_status); }; } &&
25111 { ac_try='test -s conftest$ac_exeext'
25112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25113 (eval $ac_try) 2>&5
25114 ac_status=$?
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); }; }; then
25117 eval "$as_ac_var=yes"
25118 else
25119 echo "$as_me: failed program was:" >&5
25120 sed 's/^/| /' conftest.$ac_ext >&5
25122 eval "$as_ac_var=no"
25124 rm -f conftest.err conftest.$ac_objext \
25125 conftest$ac_exeext conftest.$ac_ext
25127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25129 if test `eval echo '${'$as_ac_var'}'` = yes; then
25130 cat >>confdefs.h <<_ACEOF
25131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25132 _ACEOF
25135 done
25140 LIBS="$ac_save_LIBS"
25141 CXXFLAGS="$ac_save_CXXFLAGS"
25145 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25146 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25147 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25148 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25149 echo $ECHO_N "(cached) $ECHO_C" >&6
25150 else
25154 ac_ext=cc
25155 ac_cpp='$CXXCPP $CPPFLAGS'
25156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25160 cat >conftest.$ac_ext <<_ACEOF
25161 /* confdefs.h. */
25162 _ACEOF
25163 cat confdefs.h >>conftest.$ac_ext
25164 cat >>conftest.$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166 #include <math.h>
25168 main ()
25170 __builtin_abs(0);
25172 return 0;
25174 _ACEOF
25175 rm -f conftest.$ac_objext
25176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25177 (eval $ac_compile) 2>conftest.er1
25178 ac_status=$?
25179 grep -v '^ *+' conftest.er1 >conftest.err
25180 rm -f conftest.er1
25181 cat conftest.err >&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); } &&
25184 { ac_try='test -z "$ac_cxx_werror_flag"
25185 || test ! -s conftest.err'
25186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25187 (eval $ac_try) 2>&5
25188 ac_status=$?
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); }; } &&
25191 { ac_try='test -s conftest.$ac_objext'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; }; then
25197 glibcxx_cv_func___builtin_abs_use=yes
25198 else
25199 echo "$as_me: failed program was:" >&5
25200 sed 's/^/| /' conftest.$ac_ext >&5
25202 glibcxx_cv_func___builtin_abs_use=no
25204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25205 ac_ext=c
25206 ac_cpp='$CPP $CPPFLAGS'
25207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25215 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25216 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25217 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25218 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25219 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25220 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25221 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25222 echo $ECHO_N "(cached) $ECHO_C" >&6
25223 else
25225 if test x$gcc_no_link = xyes; then
25226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25228 { (exit 1); exit 1; }; }
25230 cat >conftest.$ac_ext <<_ACEOF
25231 /* confdefs.h. */
25232 _ACEOF
25233 cat confdefs.h >>conftest.$ac_ext
25234 cat >>conftest.$ac_ext <<_ACEOF
25235 /* end confdefs.h. */
25236 #include <math.h>
25238 main ()
25240 __builtin_abs(0);
25242 return 0;
25244 _ACEOF
25245 rm -f conftest.$ac_objext conftest$ac_exeext
25246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25247 (eval $ac_link) 2>conftest.er1
25248 ac_status=$?
25249 grep -v '^ *+' conftest.er1 >conftest.err
25250 rm -f conftest.er1
25251 cat conftest.err >&5
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); } &&
25254 { ac_try='test -z "$ac_c_werror_flag"
25255 || test ! -s conftest.err'
25256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25257 (eval $ac_try) 2>&5
25258 ac_status=$?
25259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25260 (exit $ac_status); }; } &&
25261 { ac_try='test -s conftest$ac_exeext'
25262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25263 (eval $ac_try) 2>&5
25264 ac_status=$?
25265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25266 (exit $ac_status); }; }; then
25267 glibcxx_cv_func___builtin_abs_link=yes
25268 else
25269 echo "$as_me: failed program was:" >&5
25270 sed 's/^/| /' conftest.$ac_ext >&5
25272 glibcxx_cv_func___builtin_abs_link=no
25274 rm -f conftest.err conftest.$ac_objext \
25275 conftest$ac_exeext conftest.$ac_ext
25280 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25281 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25282 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25283 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25285 cat >>confdefs.h <<_ACEOF
25286 #define ${ac_tr_func} 1
25287 _ACEOF
25293 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25294 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25295 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25296 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25297 echo $ECHO_N "(cached) $ECHO_C" >&6
25298 else
25302 ac_ext=cc
25303 ac_cpp='$CXXCPP $CPPFLAGS'
25304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25308 cat >conftest.$ac_ext <<_ACEOF
25309 /* confdefs.h. */
25310 _ACEOF
25311 cat confdefs.h >>conftest.$ac_ext
25312 cat >>conftest.$ac_ext <<_ACEOF
25313 /* end confdefs.h. */
25314 #include <math.h>
25316 main ()
25318 __builtin_fabsf(0);
25320 return 0;
25322 _ACEOF
25323 rm -f conftest.$ac_objext
25324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25325 (eval $ac_compile) 2>conftest.er1
25326 ac_status=$?
25327 grep -v '^ *+' conftest.er1 >conftest.err
25328 rm -f conftest.er1
25329 cat conftest.err >&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); } &&
25332 { ac_try='test -z "$ac_cxx_werror_flag"
25333 || test ! -s conftest.err'
25334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25335 (eval $ac_try) 2>&5
25336 ac_status=$?
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); }; } &&
25339 { ac_try='test -s conftest.$ac_objext'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25342 ac_status=$?
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; }; then
25345 glibcxx_cv_func___builtin_fabsf_use=yes
25346 else
25347 echo "$as_me: failed program was:" >&5
25348 sed 's/^/| /' conftest.$ac_ext >&5
25350 glibcxx_cv_func___builtin_fabsf_use=no
25352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25353 ac_ext=c
25354 ac_cpp='$CPP $CPPFLAGS'
25355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25363 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25364 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25365 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25366 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25367 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25368 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25369 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25370 echo $ECHO_N "(cached) $ECHO_C" >&6
25371 else
25373 if test x$gcc_no_link = xyes; then
25374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25376 { (exit 1); exit 1; }; }
25378 cat >conftest.$ac_ext <<_ACEOF
25379 /* confdefs.h. */
25380 _ACEOF
25381 cat confdefs.h >>conftest.$ac_ext
25382 cat >>conftest.$ac_ext <<_ACEOF
25383 /* end confdefs.h. */
25384 #include <math.h>
25386 main ()
25388 __builtin_fabsf(0);
25390 return 0;
25392 _ACEOF
25393 rm -f conftest.$ac_objext conftest$ac_exeext
25394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25395 (eval $ac_link) 2>conftest.er1
25396 ac_status=$?
25397 grep -v '^ *+' conftest.er1 >conftest.err
25398 rm -f conftest.er1
25399 cat conftest.err >&5
25400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401 (exit $ac_status); } &&
25402 { ac_try='test -z "$ac_c_werror_flag"
25403 || test ! -s conftest.err'
25404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25405 (eval $ac_try) 2>&5
25406 ac_status=$?
25407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408 (exit $ac_status); }; } &&
25409 { ac_try='test -s conftest$ac_exeext'
25410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25411 (eval $ac_try) 2>&5
25412 ac_status=$?
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); }; }; then
25415 glibcxx_cv_func___builtin_fabsf_link=yes
25416 else
25417 echo "$as_me: failed program was:" >&5
25418 sed 's/^/| /' conftest.$ac_ext >&5
25420 glibcxx_cv_func___builtin_fabsf_link=no
25422 rm -f conftest.err conftest.$ac_objext \
25423 conftest$ac_exeext conftest.$ac_ext
25428 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25429 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25430 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25431 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25433 cat >>confdefs.h <<_ACEOF
25434 #define ${ac_tr_func} 1
25435 _ACEOF
25441 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25442 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25443 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25444 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25446 else
25450 ac_ext=cc
25451 ac_cpp='$CXXCPP $CPPFLAGS'
25452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25456 cat >conftest.$ac_ext <<_ACEOF
25457 /* confdefs.h. */
25458 _ACEOF
25459 cat confdefs.h >>conftest.$ac_ext
25460 cat >>conftest.$ac_ext <<_ACEOF
25461 /* end confdefs.h. */
25462 #include <math.h>
25464 main ()
25466 __builtin_fabs(0);
25468 return 0;
25470 _ACEOF
25471 rm -f conftest.$ac_objext
25472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25473 (eval $ac_compile) 2>conftest.er1
25474 ac_status=$?
25475 grep -v '^ *+' conftest.er1 >conftest.err
25476 rm -f conftest.er1
25477 cat conftest.err >&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } &&
25480 { ac_try='test -z "$ac_cxx_werror_flag"
25481 || test ! -s conftest.err'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25484 ac_status=$?
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; } &&
25487 { ac_try='test -s conftest.$ac_objext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25490 ac_status=$?
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 glibcxx_cv_func___builtin_fabs_use=yes
25494 else
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.$ac_ext >&5
25498 glibcxx_cv_func___builtin_fabs_use=no
25500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25501 ac_ext=c
25502 ac_cpp='$CPP $CPPFLAGS'
25503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25511 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25512 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25513 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25514 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25515 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25516 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25517 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25519 else
25521 if test x$gcc_no_link = xyes; then
25522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25524 { (exit 1); exit 1; }; }
25526 cat >conftest.$ac_ext <<_ACEOF
25527 /* confdefs.h. */
25528 _ACEOF
25529 cat confdefs.h >>conftest.$ac_ext
25530 cat >>conftest.$ac_ext <<_ACEOF
25531 /* end confdefs.h. */
25532 #include <math.h>
25534 main ()
25536 __builtin_fabs(0);
25538 return 0;
25540 _ACEOF
25541 rm -f conftest.$ac_objext conftest$ac_exeext
25542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25543 (eval $ac_link) 2>conftest.er1
25544 ac_status=$?
25545 grep -v '^ *+' conftest.er1 >conftest.err
25546 rm -f conftest.er1
25547 cat conftest.err >&5
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); } &&
25550 { ac_try='test -z "$ac_c_werror_flag"
25551 || test ! -s conftest.err'
25552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25553 (eval $ac_try) 2>&5
25554 ac_status=$?
25555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25556 (exit $ac_status); }; } &&
25557 { ac_try='test -s conftest$ac_exeext'
25558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25559 (eval $ac_try) 2>&5
25560 ac_status=$?
25561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25562 (exit $ac_status); }; }; then
25563 glibcxx_cv_func___builtin_fabs_link=yes
25564 else
25565 echo "$as_me: failed program was:" >&5
25566 sed 's/^/| /' conftest.$ac_ext >&5
25568 glibcxx_cv_func___builtin_fabs_link=no
25570 rm -f conftest.err conftest.$ac_objext \
25571 conftest$ac_exeext conftest.$ac_ext
25576 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25577 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25578 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25579 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25581 cat >>confdefs.h <<_ACEOF
25582 #define ${ac_tr_func} 1
25583 _ACEOF
25589 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25590 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25591 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25592 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25593 echo $ECHO_N "(cached) $ECHO_C" >&6
25594 else
25598 ac_ext=cc
25599 ac_cpp='$CXXCPP $CPPFLAGS'
25600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25604 cat >conftest.$ac_ext <<_ACEOF
25605 /* confdefs.h. */
25606 _ACEOF
25607 cat confdefs.h >>conftest.$ac_ext
25608 cat >>conftest.$ac_ext <<_ACEOF
25609 /* end confdefs.h. */
25610 #include <math.h>
25612 main ()
25614 __builtin_fabsl(0);
25616 return 0;
25618 _ACEOF
25619 rm -f conftest.$ac_objext
25620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25621 (eval $ac_compile) 2>conftest.er1
25622 ac_status=$?
25623 grep -v '^ *+' conftest.er1 >conftest.err
25624 rm -f conftest.er1
25625 cat conftest.err >&5
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); } &&
25628 { ac_try='test -z "$ac_cxx_werror_flag"
25629 || test ! -s conftest.err'
25630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25631 (eval $ac_try) 2>&5
25632 ac_status=$?
25633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25634 (exit $ac_status); }; } &&
25635 { ac_try='test -s conftest.$ac_objext'
25636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25637 (eval $ac_try) 2>&5
25638 ac_status=$?
25639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25640 (exit $ac_status); }; }; then
25641 glibcxx_cv_func___builtin_fabsl_use=yes
25642 else
25643 echo "$as_me: failed program was:" >&5
25644 sed 's/^/| /' conftest.$ac_ext >&5
25646 glibcxx_cv_func___builtin_fabsl_use=no
25648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25649 ac_ext=c
25650 ac_cpp='$CPP $CPPFLAGS'
25651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25659 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25660 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25661 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25662 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25663 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25664 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25665 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25666 echo $ECHO_N "(cached) $ECHO_C" >&6
25667 else
25669 if test x$gcc_no_link = xyes; then
25670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25672 { (exit 1); exit 1; }; }
25674 cat >conftest.$ac_ext <<_ACEOF
25675 /* confdefs.h. */
25676 _ACEOF
25677 cat confdefs.h >>conftest.$ac_ext
25678 cat >>conftest.$ac_ext <<_ACEOF
25679 /* end confdefs.h. */
25680 #include <math.h>
25682 main ()
25684 __builtin_fabsl(0);
25686 return 0;
25688 _ACEOF
25689 rm -f conftest.$ac_objext conftest$ac_exeext
25690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25691 (eval $ac_link) 2>conftest.er1
25692 ac_status=$?
25693 grep -v '^ *+' conftest.er1 >conftest.err
25694 rm -f conftest.er1
25695 cat conftest.err >&5
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); } &&
25698 { ac_try='test -z "$ac_c_werror_flag"
25699 || test ! -s conftest.err'
25700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25701 (eval $ac_try) 2>&5
25702 ac_status=$?
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); }; } &&
25705 { ac_try='test -s conftest$ac_exeext'
25706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25707 (eval $ac_try) 2>&5
25708 ac_status=$?
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); }; }; then
25711 glibcxx_cv_func___builtin_fabsl_link=yes
25712 else
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.$ac_ext >&5
25716 glibcxx_cv_func___builtin_fabsl_link=no
25718 rm -f conftest.err conftest.$ac_objext \
25719 conftest$ac_exeext conftest.$ac_ext
25724 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25725 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25726 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25727 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25729 cat >>confdefs.h <<_ACEOF
25730 #define ${ac_tr_func} 1
25731 _ACEOF
25737 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25738 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25739 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25740 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25741 echo $ECHO_N "(cached) $ECHO_C" >&6
25742 else
25746 ac_ext=cc
25747 ac_cpp='$CXXCPP $CPPFLAGS'
25748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25752 cat >conftest.$ac_ext <<_ACEOF
25753 /* confdefs.h. */
25754 _ACEOF
25755 cat confdefs.h >>conftest.$ac_ext
25756 cat >>conftest.$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758 #include <math.h>
25760 main ()
25762 __builtin_labs(0);
25764 return 0;
25766 _ACEOF
25767 rm -f conftest.$ac_objext
25768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25769 (eval $ac_compile) 2>conftest.er1
25770 ac_status=$?
25771 grep -v '^ *+' conftest.er1 >conftest.err
25772 rm -f conftest.er1
25773 cat conftest.err >&5
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); } &&
25776 { ac_try='test -z "$ac_cxx_werror_flag"
25777 || test ! -s conftest.err'
25778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779 (eval $ac_try) 2>&5
25780 ac_status=$?
25781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782 (exit $ac_status); }; } &&
25783 { ac_try='test -s conftest.$ac_objext'
25784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25785 (eval $ac_try) 2>&5
25786 ac_status=$?
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); }; }; then
25789 glibcxx_cv_func___builtin_labs_use=yes
25790 else
25791 echo "$as_me: failed program was:" >&5
25792 sed 's/^/| /' conftest.$ac_ext >&5
25794 glibcxx_cv_func___builtin_labs_use=no
25796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25797 ac_ext=c
25798 ac_cpp='$CPP $CPPFLAGS'
25799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25807 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25808 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25809 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25810 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25811 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25812 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25813 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25814 echo $ECHO_N "(cached) $ECHO_C" >&6
25815 else
25817 if test x$gcc_no_link = xyes; then
25818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25820 { (exit 1); exit 1; }; }
25822 cat >conftest.$ac_ext <<_ACEOF
25823 /* confdefs.h. */
25824 _ACEOF
25825 cat confdefs.h >>conftest.$ac_ext
25826 cat >>conftest.$ac_ext <<_ACEOF
25827 /* end confdefs.h. */
25828 #include <math.h>
25830 main ()
25832 __builtin_labs(0);
25834 return 0;
25836 _ACEOF
25837 rm -f conftest.$ac_objext conftest$ac_exeext
25838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25839 (eval $ac_link) 2>conftest.er1
25840 ac_status=$?
25841 grep -v '^ *+' conftest.er1 >conftest.err
25842 rm -f conftest.er1
25843 cat conftest.err >&5
25844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845 (exit $ac_status); } &&
25846 { ac_try='test -z "$ac_c_werror_flag"
25847 || test ! -s conftest.err'
25848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25849 (eval $ac_try) 2>&5
25850 ac_status=$?
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); }; } &&
25853 { ac_try='test -s conftest$ac_exeext'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25856 ac_status=$?
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; }; then
25859 glibcxx_cv_func___builtin_labs_link=yes
25860 else
25861 echo "$as_me: failed program was:" >&5
25862 sed 's/^/| /' conftest.$ac_ext >&5
25864 glibcxx_cv_func___builtin_labs_link=no
25866 rm -f conftest.err conftest.$ac_objext \
25867 conftest$ac_exeext conftest.$ac_ext
25872 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25873 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25874 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25875 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25877 cat >>confdefs.h <<_ACEOF
25878 #define ${ac_tr_func} 1
25879 _ACEOF
25886 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25887 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25888 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25889 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25890 echo $ECHO_N "(cached) $ECHO_C" >&6
25891 else
25895 ac_ext=cc
25896 ac_cpp='$CXXCPP $CPPFLAGS'
25897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25901 cat >conftest.$ac_ext <<_ACEOF
25902 /* confdefs.h. */
25903 _ACEOF
25904 cat confdefs.h >>conftest.$ac_ext
25905 cat >>conftest.$ac_ext <<_ACEOF
25906 /* end confdefs.h. */
25907 #include <math.h>
25909 main ()
25911 __builtin_sqrtf(0);
25913 return 0;
25915 _ACEOF
25916 rm -f conftest.$ac_objext
25917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25918 (eval $ac_compile) 2>conftest.er1
25919 ac_status=$?
25920 grep -v '^ *+' conftest.er1 >conftest.err
25921 rm -f conftest.er1
25922 cat conftest.err >&5
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); } &&
25925 { ac_try='test -z "$ac_cxx_werror_flag"
25926 || test ! -s conftest.err'
25927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25928 (eval $ac_try) 2>&5
25929 ac_status=$?
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); }; } &&
25932 { ac_try='test -s conftest.$ac_objext'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25935 ac_status=$?
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; }; then
25938 glibcxx_cv_func___builtin_sqrtf_use=yes
25939 else
25940 echo "$as_me: failed program was:" >&5
25941 sed 's/^/| /' conftest.$ac_ext >&5
25943 glibcxx_cv_func___builtin_sqrtf_use=no
25945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25946 ac_ext=c
25947 ac_cpp='$CPP $CPPFLAGS'
25948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25956 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25957 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25958 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25959 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25960 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25961 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25962 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25963 echo $ECHO_N "(cached) $ECHO_C" >&6
25964 else
25966 if test x$gcc_no_link = xyes; then
25967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25969 { (exit 1); exit 1; }; }
25971 cat >conftest.$ac_ext <<_ACEOF
25972 /* confdefs.h. */
25973 _ACEOF
25974 cat confdefs.h >>conftest.$ac_ext
25975 cat >>conftest.$ac_ext <<_ACEOF
25976 /* end confdefs.h. */
25977 #include <math.h>
25979 main ()
25981 __builtin_sqrtf(0);
25983 return 0;
25985 _ACEOF
25986 rm -f conftest.$ac_objext conftest$ac_exeext
25987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25988 (eval $ac_link) 2>conftest.er1
25989 ac_status=$?
25990 grep -v '^ *+' conftest.er1 >conftest.err
25991 rm -f conftest.er1
25992 cat conftest.err >&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } &&
25995 { ac_try='test -z "$ac_c_werror_flag"
25996 || test ! -s conftest.err'
25997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25998 (eval $ac_try) 2>&5
25999 ac_status=$?
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); }; } &&
26002 { ac_try='test -s conftest$ac_exeext'
26003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26004 (eval $ac_try) 2>&5
26005 ac_status=$?
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); }; }; then
26008 glibcxx_cv_func___builtin_sqrtf_link=yes
26009 else
26010 echo "$as_me: failed program was:" >&5
26011 sed 's/^/| /' conftest.$ac_ext >&5
26013 glibcxx_cv_func___builtin_sqrtf_link=no
26015 rm -f conftest.err conftest.$ac_objext \
26016 conftest$ac_exeext conftest.$ac_ext
26021 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26022 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26023 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26024 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26026 cat >>confdefs.h <<_ACEOF
26027 #define ${ac_tr_func} 1
26028 _ACEOF
26034 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26035 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26036 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26037 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26038 echo $ECHO_N "(cached) $ECHO_C" >&6
26039 else
26043 ac_ext=cc
26044 ac_cpp='$CXXCPP $CPPFLAGS'
26045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26049 cat >conftest.$ac_ext <<_ACEOF
26050 /* confdefs.h. */
26051 _ACEOF
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26055 #include <math.h>
26057 main ()
26059 __builtin_sqrt(0);
26061 return 0;
26063 _ACEOF
26064 rm -f conftest.$ac_objext
26065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26066 (eval $ac_compile) 2>conftest.er1
26067 ac_status=$?
26068 grep -v '^ *+' conftest.er1 >conftest.err
26069 rm -f conftest.er1
26070 cat conftest.err >&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); } &&
26073 { ac_try='test -z "$ac_cxx_werror_flag"
26074 || test ! -s conftest.err'
26075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26076 (eval $ac_try) 2>&5
26077 ac_status=$?
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); }; } &&
26080 { ac_try='test -s conftest.$ac_objext'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26083 ac_status=$?
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; }; then
26086 glibcxx_cv_func___builtin_sqrt_use=yes
26087 else
26088 echo "$as_me: failed program was:" >&5
26089 sed 's/^/| /' conftest.$ac_ext >&5
26091 glibcxx_cv_func___builtin_sqrt_use=no
26093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26094 ac_ext=c
26095 ac_cpp='$CPP $CPPFLAGS'
26096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26104 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26105 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26106 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26107 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26108 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26109 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26110 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26111 echo $ECHO_N "(cached) $ECHO_C" >&6
26112 else
26114 if test x$gcc_no_link = xyes; then
26115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26117 { (exit 1); exit 1; }; }
26119 cat >conftest.$ac_ext <<_ACEOF
26120 /* confdefs.h. */
26121 _ACEOF
26122 cat confdefs.h >>conftest.$ac_ext
26123 cat >>conftest.$ac_ext <<_ACEOF
26124 /* end confdefs.h. */
26125 #include <math.h>
26127 main ()
26129 __builtin_sqrt(0);
26131 return 0;
26133 _ACEOF
26134 rm -f conftest.$ac_objext conftest$ac_exeext
26135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26136 (eval $ac_link) 2>conftest.er1
26137 ac_status=$?
26138 grep -v '^ *+' conftest.er1 >conftest.err
26139 rm -f conftest.er1
26140 cat conftest.err >&5
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); } &&
26143 { ac_try='test -z "$ac_c_werror_flag"
26144 || test ! -s conftest.err'
26145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26146 (eval $ac_try) 2>&5
26147 ac_status=$?
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); }; } &&
26150 { ac_try='test -s conftest$ac_exeext'
26151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26152 (eval $ac_try) 2>&5
26153 ac_status=$?
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); }; }; then
26156 glibcxx_cv_func___builtin_sqrt_link=yes
26157 else
26158 echo "$as_me: failed program was:" >&5
26159 sed 's/^/| /' conftest.$ac_ext >&5
26161 glibcxx_cv_func___builtin_sqrt_link=no
26163 rm -f conftest.err conftest.$ac_objext \
26164 conftest$ac_exeext conftest.$ac_ext
26169 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26170 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26171 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26172 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26174 cat >>confdefs.h <<_ACEOF
26175 #define ${ac_tr_func} 1
26176 _ACEOF
26182 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26183 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26184 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26185 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26186 echo $ECHO_N "(cached) $ECHO_C" >&6
26187 else
26191 ac_ext=cc
26192 ac_cpp='$CXXCPP $CPPFLAGS'
26193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26197 cat >conftest.$ac_ext <<_ACEOF
26198 /* confdefs.h. */
26199 _ACEOF
26200 cat confdefs.h >>conftest.$ac_ext
26201 cat >>conftest.$ac_ext <<_ACEOF
26202 /* end confdefs.h. */
26203 #include <math.h>
26205 main ()
26207 __builtin_sqrtl(0);
26209 return 0;
26211 _ACEOF
26212 rm -f conftest.$ac_objext
26213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26214 (eval $ac_compile) 2>conftest.er1
26215 ac_status=$?
26216 grep -v '^ *+' conftest.er1 >conftest.err
26217 rm -f conftest.er1
26218 cat conftest.err >&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); } &&
26221 { ac_try='test -z "$ac_cxx_werror_flag"
26222 || test ! -s conftest.err'
26223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26224 (eval $ac_try) 2>&5
26225 ac_status=$?
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); }; } &&
26228 { ac_try='test -s conftest.$ac_objext'
26229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26230 (eval $ac_try) 2>&5
26231 ac_status=$?
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); }; }; then
26234 glibcxx_cv_func___builtin_sqrtl_use=yes
26235 else
26236 echo "$as_me: failed program was:" >&5
26237 sed 's/^/| /' conftest.$ac_ext >&5
26239 glibcxx_cv_func___builtin_sqrtl_use=no
26241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26242 ac_ext=c
26243 ac_cpp='$CPP $CPPFLAGS'
26244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26252 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26253 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26254 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26255 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26256 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26257 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26258 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26259 echo $ECHO_N "(cached) $ECHO_C" >&6
26260 else
26262 if test x$gcc_no_link = xyes; then
26263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26265 { (exit 1); exit 1; }; }
26267 cat >conftest.$ac_ext <<_ACEOF
26268 /* confdefs.h. */
26269 _ACEOF
26270 cat confdefs.h >>conftest.$ac_ext
26271 cat >>conftest.$ac_ext <<_ACEOF
26272 /* end confdefs.h. */
26273 #include <math.h>
26275 main ()
26277 __builtin_sqrtl(0);
26279 return 0;
26281 _ACEOF
26282 rm -f conftest.$ac_objext conftest$ac_exeext
26283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26284 (eval $ac_link) 2>conftest.er1
26285 ac_status=$?
26286 grep -v '^ *+' conftest.er1 >conftest.err
26287 rm -f conftest.er1
26288 cat conftest.err >&5
26289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26290 (exit $ac_status); } &&
26291 { ac_try='test -z "$ac_c_werror_flag"
26292 || test ! -s conftest.err'
26293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26294 (eval $ac_try) 2>&5
26295 ac_status=$?
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); }; } &&
26298 { ac_try='test -s conftest$ac_exeext'
26299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26300 (eval $ac_try) 2>&5
26301 ac_status=$?
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); }; }; then
26304 glibcxx_cv_func___builtin_sqrtl_link=yes
26305 else
26306 echo "$as_me: failed program was:" >&5
26307 sed 's/^/| /' conftest.$ac_ext >&5
26309 glibcxx_cv_func___builtin_sqrtl_link=no
26311 rm -f conftest.err conftest.$ac_objext \
26312 conftest$ac_exeext conftest.$ac_ext
26317 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26318 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26319 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26320 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26322 cat >>confdefs.h <<_ACEOF
26323 #define ${ac_tr_func} 1
26324 _ACEOF
26331 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26332 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26333 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26334 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26335 echo $ECHO_N "(cached) $ECHO_C" >&6
26336 else
26340 ac_ext=cc
26341 ac_cpp='$CXXCPP $CPPFLAGS'
26342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26346 cat >conftest.$ac_ext <<_ACEOF
26347 /* confdefs.h. */
26348 _ACEOF
26349 cat confdefs.h >>conftest.$ac_ext
26350 cat >>conftest.$ac_ext <<_ACEOF
26351 /* end confdefs.h. */
26352 #include <math.h>
26354 main ()
26356 __builtin_sinf(0);
26358 return 0;
26360 _ACEOF
26361 rm -f conftest.$ac_objext
26362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26363 (eval $ac_compile) 2>conftest.er1
26364 ac_status=$?
26365 grep -v '^ *+' conftest.er1 >conftest.err
26366 rm -f conftest.er1
26367 cat conftest.err >&5
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); } &&
26370 { ac_try='test -z "$ac_cxx_werror_flag"
26371 || test ! -s conftest.err'
26372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26373 (eval $ac_try) 2>&5
26374 ac_status=$?
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); }; } &&
26377 { ac_try='test -s conftest.$ac_objext'
26378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26379 (eval $ac_try) 2>&5
26380 ac_status=$?
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); }; }; then
26383 glibcxx_cv_func___builtin_sinf_use=yes
26384 else
26385 echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.$ac_ext >&5
26388 glibcxx_cv_func___builtin_sinf_use=no
26390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26391 ac_ext=c
26392 ac_cpp='$CPP $CPPFLAGS'
26393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26401 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26402 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26403 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26404 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26405 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26406 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26407 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26408 echo $ECHO_N "(cached) $ECHO_C" >&6
26409 else
26411 if test x$gcc_no_link = xyes; then
26412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26414 { (exit 1); exit 1; }; }
26416 cat >conftest.$ac_ext <<_ACEOF
26417 /* confdefs.h. */
26418 _ACEOF
26419 cat confdefs.h >>conftest.$ac_ext
26420 cat >>conftest.$ac_ext <<_ACEOF
26421 /* end confdefs.h. */
26422 #include <math.h>
26424 main ()
26426 __builtin_sinf(0);
26428 return 0;
26430 _ACEOF
26431 rm -f conftest.$ac_objext conftest$ac_exeext
26432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26433 (eval $ac_link) 2>conftest.er1
26434 ac_status=$?
26435 grep -v '^ *+' conftest.er1 >conftest.err
26436 rm -f conftest.er1
26437 cat conftest.err >&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); } &&
26440 { ac_try='test -z "$ac_c_werror_flag"
26441 || test ! -s conftest.err'
26442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26443 (eval $ac_try) 2>&5
26444 ac_status=$?
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); }; } &&
26447 { ac_try='test -s conftest$ac_exeext'
26448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26449 (eval $ac_try) 2>&5
26450 ac_status=$?
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); }; }; then
26453 glibcxx_cv_func___builtin_sinf_link=yes
26454 else
26455 echo "$as_me: failed program was:" >&5
26456 sed 's/^/| /' conftest.$ac_ext >&5
26458 glibcxx_cv_func___builtin_sinf_link=no
26460 rm -f conftest.err conftest.$ac_objext \
26461 conftest$ac_exeext conftest.$ac_ext
26466 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26467 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26468 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26469 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26471 cat >>confdefs.h <<_ACEOF
26472 #define ${ac_tr_func} 1
26473 _ACEOF
26479 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26480 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26481 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26482 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26483 echo $ECHO_N "(cached) $ECHO_C" >&6
26484 else
26488 ac_ext=cc
26489 ac_cpp='$CXXCPP $CPPFLAGS'
26490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26494 cat >conftest.$ac_ext <<_ACEOF
26495 /* confdefs.h. */
26496 _ACEOF
26497 cat confdefs.h >>conftest.$ac_ext
26498 cat >>conftest.$ac_ext <<_ACEOF
26499 /* end confdefs.h. */
26500 #include <math.h>
26502 main ()
26504 __builtin_sin(0);
26506 return 0;
26508 _ACEOF
26509 rm -f conftest.$ac_objext
26510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26511 (eval $ac_compile) 2>conftest.er1
26512 ac_status=$?
26513 grep -v '^ *+' conftest.er1 >conftest.err
26514 rm -f conftest.er1
26515 cat conftest.err >&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); } &&
26518 { ac_try='test -z "$ac_cxx_werror_flag"
26519 || test ! -s conftest.err'
26520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26521 (eval $ac_try) 2>&5
26522 ac_status=$?
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); }; } &&
26525 { ac_try='test -s conftest.$ac_objext'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26528 ac_status=$?
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; }; then
26531 glibcxx_cv_func___builtin_sin_use=yes
26532 else
26533 echo "$as_me: failed program was:" >&5
26534 sed 's/^/| /' conftest.$ac_ext >&5
26536 glibcxx_cv_func___builtin_sin_use=no
26538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26539 ac_ext=c
26540 ac_cpp='$CPP $CPPFLAGS'
26541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26549 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26550 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26551 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26552 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26553 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26554 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26555 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26556 echo $ECHO_N "(cached) $ECHO_C" >&6
26557 else
26559 if test x$gcc_no_link = xyes; then
26560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26562 { (exit 1); exit 1; }; }
26564 cat >conftest.$ac_ext <<_ACEOF
26565 /* confdefs.h. */
26566 _ACEOF
26567 cat confdefs.h >>conftest.$ac_ext
26568 cat >>conftest.$ac_ext <<_ACEOF
26569 /* end confdefs.h. */
26570 #include <math.h>
26572 main ()
26574 __builtin_sin(0);
26576 return 0;
26578 _ACEOF
26579 rm -f conftest.$ac_objext conftest$ac_exeext
26580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26581 (eval $ac_link) 2>conftest.er1
26582 ac_status=$?
26583 grep -v '^ *+' conftest.er1 >conftest.err
26584 rm -f conftest.er1
26585 cat conftest.err >&5
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); } &&
26588 { ac_try='test -z "$ac_c_werror_flag"
26589 || test ! -s conftest.err'
26590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26591 (eval $ac_try) 2>&5
26592 ac_status=$?
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); }; } &&
26595 { ac_try='test -s conftest$ac_exeext'
26596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26597 (eval $ac_try) 2>&5
26598 ac_status=$?
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); }; }; then
26601 glibcxx_cv_func___builtin_sin_link=yes
26602 else
26603 echo "$as_me: failed program was:" >&5
26604 sed 's/^/| /' conftest.$ac_ext >&5
26606 glibcxx_cv_func___builtin_sin_link=no
26608 rm -f conftest.err conftest.$ac_objext \
26609 conftest$ac_exeext conftest.$ac_ext
26614 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26615 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26616 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26617 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26619 cat >>confdefs.h <<_ACEOF
26620 #define ${ac_tr_func} 1
26621 _ACEOF
26627 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26628 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26629 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26630 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26631 echo $ECHO_N "(cached) $ECHO_C" >&6
26632 else
26636 ac_ext=cc
26637 ac_cpp='$CXXCPP $CPPFLAGS'
26638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26642 cat >conftest.$ac_ext <<_ACEOF
26643 /* confdefs.h. */
26644 _ACEOF
26645 cat confdefs.h >>conftest.$ac_ext
26646 cat >>conftest.$ac_ext <<_ACEOF
26647 /* end confdefs.h. */
26648 #include <math.h>
26650 main ()
26652 __builtin_sinl(0);
26654 return 0;
26656 _ACEOF
26657 rm -f conftest.$ac_objext
26658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26659 (eval $ac_compile) 2>conftest.er1
26660 ac_status=$?
26661 grep -v '^ *+' conftest.er1 >conftest.err
26662 rm -f conftest.er1
26663 cat conftest.err >&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); } &&
26666 { ac_try='test -z "$ac_cxx_werror_flag"
26667 || test ! -s conftest.err'
26668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26669 (eval $ac_try) 2>&5
26670 ac_status=$?
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); }; } &&
26673 { ac_try='test -s conftest.$ac_objext'
26674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26675 (eval $ac_try) 2>&5
26676 ac_status=$?
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); }; }; then
26679 glibcxx_cv_func___builtin_sinl_use=yes
26680 else
26681 echo "$as_me: failed program was:" >&5
26682 sed 's/^/| /' conftest.$ac_ext >&5
26684 glibcxx_cv_func___builtin_sinl_use=no
26686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26687 ac_ext=c
26688 ac_cpp='$CPP $CPPFLAGS'
26689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26697 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26698 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26699 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26700 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26701 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26702 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26703 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26704 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 else
26707 if test x$gcc_no_link = xyes; then
26708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26710 { (exit 1); exit 1; }; }
26712 cat >conftest.$ac_ext <<_ACEOF
26713 /* confdefs.h. */
26714 _ACEOF
26715 cat confdefs.h >>conftest.$ac_ext
26716 cat >>conftest.$ac_ext <<_ACEOF
26717 /* end confdefs.h. */
26718 #include <math.h>
26720 main ()
26722 __builtin_sinl(0);
26724 return 0;
26726 _ACEOF
26727 rm -f conftest.$ac_objext conftest$ac_exeext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26729 (eval $ac_link) 2>conftest.er1
26730 ac_status=$?
26731 grep -v '^ *+' conftest.er1 >conftest.err
26732 rm -f conftest.er1
26733 cat conftest.err >&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } &&
26736 { ac_try='test -z "$ac_c_werror_flag"
26737 || test ! -s conftest.err'
26738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739 (eval $ac_try) 2>&5
26740 ac_status=$?
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); }; } &&
26743 { ac_try='test -s conftest$ac_exeext'
26744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745 (eval $ac_try) 2>&5
26746 ac_status=$?
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); }; }; then
26749 glibcxx_cv_func___builtin_sinl_link=yes
26750 else
26751 echo "$as_me: failed program was:" >&5
26752 sed 's/^/| /' conftest.$ac_ext >&5
26754 glibcxx_cv_func___builtin_sinl_link=no
26756 rm -f conftest.err conftest.$ac_objext \
26757 conftest$ac_exeext conftest.$ac_ext
26762 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26763 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26764 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26765 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26767 cat >>confdefs.h <<_ACEOF
26768 #define ${ac_tr_func} 1
26769 _ACEOF
26776 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26777 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26778 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26779 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26780 echo $ECHO_N "(cached) $ECHO_C" >&6
26781 else
26785 ac_ext=cc
26786 ac_cpp='$CXXCPP $CPPFLAGS'
26787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26791 cat >conftest.$ac_ext <<_ACEOF
26792 /* confdefs.h. */
26793 _ACEOF
26794 cat confdefs.h >>conftest.$ac_ext
26795 cat >>conftest.$ac_ext <<_ACEOF
26796 /* end confdefs.h. */
26797 #include <math.h>
26799 main ()
26801 __builtin_cosf(0);
26803 return 0;
26805 _ACEOF
26806 rm -f conftest.$ac_objext
26807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26808 (eval $ac_compile) 2>conftest.er1
26809 ac_status=$?
26810 grep -v '^ *+' conftest.er1 >conftest.err
26811 rm -f conftest.er1
26812 cat conftest.err >&5
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); } &&
26815 { ac_try='test -z "$ac_cxx_werror_flag"
26816 || test ! -s conftest.err'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26819 ac_status=$?
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; } &&
26822 { ac_try='test -s conftest.$ac_objext'
26823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26824 (eval $ac_try) 2>&5
26825 ac_status=$?
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; }; then
26828 glibcxx_cv_func___builtin_cosf_use=yes
26829 else
26830 echo "$as_me: failed program was:" >&5
26831 sed 's/^/| /' conftest.$ac_ext >&5
26833 glibcxx_cv_func___builtin_cosf_use=no
26835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26836 ac_ext=c
26837 ac_cpp='$CPP $CPPFLAGS'
26838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26846 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26847 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26848 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26849 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26850 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26851 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26852 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26853 echo $ECHO_N "(cached) $ECHO_C" >&6
26854 else
26856 if test x$gcc_no_link = xyes; then
26857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26859 { (exit 1); exit 1; }; }
26861 cat >conftest.$ac_ext <<_ACEOF
26862 /* confdefs.h. */
26863 _ACEOF
26864 cat confdefs.h >>conftest.$ac_ext
26865 cat >>conftest.$ac_ext <<_ACEOF
26866 /* end confdefs.h. */
26867 #include <math.h>
26869 main ()
26871 __builtin_cosf(0);
26873 return 0;
26875 _ACEOF
26876 rm -f conftest.$ac_objext conftest$ac_exeext
26877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26878 (eval $ac_link) 2>conftest.er1
26879 ac_status=$?
26880 grep -v '^ *+' conftest.er1 >conftest.err
26881 rm -f conftest.er1
26882 cat conftest.err >&5
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); } &&
26885 { ac_try='test -z "$ac_c_werror_flag"
26886 || test ! -s conftest.err'
26887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26888 (eval $ac_try) 2>&5
26889 ac_status=$?
26890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891 (exit $ac_status); }; } &&
26892 { ac_try='test -s conftest$ac_exeext'
26893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26894 (eval $ac_try) 2>&5
26895 ac_status=$?
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); }; }; then
26898 glibcxx_cv_func___builtin_cosf_link=yes
26899 else
26900 echo "$as_me: failed program was:" >&5
26901 sed 's/^/| /' conftest.$ac_ext >&5
26903 glibcxx_cv_func___builtin_cosf_link=no
26905 rm -f conftest.err conftest.$ac_objext \
26906 conftest$ac_exeext conftest.$ac_ext
26911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26912 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26913 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26914 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26916 cat >>confdefs.h <<_ACEOF
26917 #define ${ac_tr_func} 1
26918 _ACEOF
26924 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26925 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26926 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26927 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26928 echo $ECHO_N "(cached) $ECHO_C" >&6
26929 else
26933 ac_ext=cc
26934 ac_cpp='$CXXCPP $CPPFLAGS'
26935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26939 cat >conftest.$ac_ext <<_ACEOF
26940 /* confdefs.h. */
26941 _ACEOF
26942 cat confdefs.h >>conftest.$ac_ext
26943 cat >>conftest.$ac_ext <<_ACEOF
26944 /* end confdefs.h. */
26945 #include <math.h>
26947 main ()
26949 __builtin_cos(0);
26951 return 0;
26953 _ACEOF
26954 rm -f conftest.$ac_objext
26955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26956 (eval $ac_compile) 2>conftest.er1
26957 ac_status=$?
26958 grep -v '^ *+' conftest.er1 >conftest.err
26959 rm -f conftest.er1
26960 cat conftest.err >&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } &&
26963 { ac_try='test -z "$ac_cxx_werror_flag"
26964 || test ! -s conftest.err'
26965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26966 (eval $ac_try) 2>&5
26967 ac_status=$?
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); }; } &&
26970 { ac_try='test -s conftest.$ac_objext'
26971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26972 (eval $ac_try) 2>&5
26973 ac_status=$?
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); }; }; then
26976 glibcxx_cv_func___builtin_cos_use=yes
26977 else
26978 echo "$as_me: failed program was:" >&5
26979 sed 's/^/| /' conftest.$ac_ext >&5
26981 glibcxx_cv_func___builtin_cos_use=no
26983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26984 ac_ext=c
26985 ac_cpp='$CPP $CPPFLAGS'
26986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26994 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
26995 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
26996 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
26997 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
26998 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
26999 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27000 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 else
27004 if test x$gcc_no_link = xyes; then
27005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27007 { (exit 1); exit 1; }; }
27009 cat >conftest.$ac_ext <<_ACEOF
27010 /* confdefs.h. */
27011 _ACEOF
27012 cat confdefs.h >>conftest.$ac_ext
27013 cat >>conftest.$ac_ext <<_ACEOF
27014 /* end confdefs.h. */
27015 #include <math.h>
27017 main ()
27019 __builtin_cos(0);
27021 return 0;
27023 _ACEOF
27024 rm -f conftest.$ac_objext conftest$ac_exeext
27025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27026 (eval $ac_link) 2>conftest.er1
27027 ac_status=$?
27028 grep -v '^ *+' conftest.er1 >conftest.err
27029 rm -f conftest.er1
27030 cat conftest.err >&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } &&
27033 { ac_try='test -z "$ac_c_werror_flag"
27034 || test ! -s conftest.err'
27035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27036 (eval $ac_try) 2>&5
27037 ac_status=$?
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); }; } &&
27040 { ac_try='test -s conftest$ac_exeext'
27041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27042 (eval $ac_try) 2>&5
27043 ac_status=$?
27044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27045 (exit $ac_status); }; }; then
27046 glibcxx_cv_func___builtin_cos_link=yes
27047 else
27048 echo "$as_me: failed program was:" >&5
27049 sed 's/^/| /' conftest.$ac_ext >&5
27051 glibcxx_cv_func___builtin_cos_link=no
27053 rm -f conftest.err conftest.$ac_objext \
27054 conftest$ac_exeext conftest.$ac_ext
27059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27060 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27061 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27062 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27064 cat >>confdefs.h <<_ACEOF
27065 #define ${ac_tr_func} 1
27066 _ACEOF
27072 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27073 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27074 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27075 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27076 echo $ECHO_N "(cached) $ECHO_C" >&6
27077 else
27081 ac_ext=cc
27082 ac_cpp='$CXXCPP $CPPFLAGS'
27083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27087 cat >conftest.$ac_ext <<_ACEOF
27088 /* confdefs.h. */
27089 _ACEOF
27090 cat confdefs.h >>conftest.$ac_ext
27091 cat >>conftest.$ac_ext <<_ACEOF
27092 /* end confdefs.h. */
27093 #include <math.h>
27095 main ()
27097 __builtin_cosl(0);
27099 return 0;
27101 _ACEOF
27102 rm -f conftest.$ac_objext
27103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27104 (eval $ac_compile) 2>conftest.er1
27105 ac_status=$?
27106 grep -v '^ *+' conftest.er1 >conftest.err
27107 rm -f conftest.er1
27108 cat conftest.err >&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); } &&
27111 { ac_try='test -z "$ac_cxx_werror_flag"
27112 || test ! -s conftest.err'
27113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27114 (eval $ac_try) 2>&5
27115 ac_status=$?
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); }; } &&
27118 { ac_try='test -s conftest.$ac_objext'
27119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27120 (eval $ac_try) 2>&5
27121 ac_status=$?
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); }; }; then
27124 glibcxx_cv_func___builtin_cosl_use=yes
27125 else
27126 echo "$as_me: failed program was:" >&5
27127 sed 's/^/| /' conftest.$ac_ext >&5
27129 glibcxx_cv_func___builtin_cosl_use=no
27131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27132 ac_ext=c
27133 ac_cpp='$CPP $CPPFLAGS'
27134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27142 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27143 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27144 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27145 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27146 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27147 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27148 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27149 echo $ECHO_N "(cached) $ECHO_C" >&6
27150 else
27152 if test x$gcc_no_link = xyes; then
27153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27155 { (exit 1); exit 1; }; }
27157 cat >conftest.$ac_ext <<_ACEOF
27158 /* confdefs.h. */
27159 _ACEOF
27160 cat confdefs.h >>conftest.$ac_ext
27161 cat >>conftest.$ac_ext <<_ACEOF
27162 /* end confdefs.h. */
27163 #include <math.h>
27165 main ()
27167 __builtin_cosl(0);
27169 return 0;
27171 _ACEOF
27172 rm -f conftest.$ac_objext conftest$ac_exeext
27173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27174 (eval $ac_link) 2>conftest.er1
27175 ac_status=$?
27176 grep -v '^ *+' conftest.er1 >conftest.err
27177 rm -f conftest.er1
27178 cat conftest.err >&5
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); } &&
27181 { ac_try='test -z "$ac_c_werror_flag"
27182 || test ! -s conftest.err'
27183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27184 (eval $ac_try) 2>&5
27185 ac_status=$?
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); }; } &&
27188 { ac_try='test -s conftest$ac_exeext'
27189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27190 (eval $ac_try) 2>&5
27191 ac_status=$?
27192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27193 (exit $ac_status); }; }; then
27194 glibcxx_cv_func___builtin_cosl_link=yes
27195 else
27196 echo "$as_me: failed program was:" >&5
27197 sed 's/^/| /' conftest.$ac_ext >&5
27199 glibcxx_cv_func___builtin_cosl_link=no
27201 rm -f conftest.err conftest.$ac_objext \
27202 conftest$ac_exeext conftest.$ac_ext
27207 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27208 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27209 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27210 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27212 cat >>confdefs.h <<_ACEOF
27213 #define ${ac_tr_func} 1
27214 _ACEOF
27222 echo "$as_me:$LINENO: checking for main in -lm" >&5
27223 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27224 if test "${ac_cv_lib_m_main+set}" = set; then
27225 echo $ECHO_N "(cached) $ECHO_C" >&6
27226 else
27227 ac_check_lib_save_LIBS=$LIBS
27228 LIBS="-lm $LIBS"
27229 if test x$gcc_no_link = xyes; then
27230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27232 { (exit 1); exit 1; }; }
27234 cat >conftest.$ac_ext <<_ACEOF
27235 /* confdefs.h. */
27236 _ACEOF
27237 cat confdefs.h >>conftest.$ac_ext
27238 cat >>conftest.$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27243 main ()
27245 main ();
27247 return 0;
27249 _ACEOF
27250 rm -f conftest.$ac_objext conftest$ac_exeext
27251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27252 (eval $ac_link) 2>conftest.er1
27253 ac_status=$?
27254 grep -v '^ *+' conftest.er1 >conftest.err
27255 rm -f conftest.er1
27256 cat conftest.err >&5
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); } &&
27259 { ac_try='test -z "$ac_c_werror_flag"
27260 || test ! -s conftest.err'
27261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27262 (eval $ac_try) 2>&5
27263 ac_status=$?
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); }; } &&
27266 { ac_try='test -s conftest$ac_exeext'
27267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27268 (eval $ac_try) 2>&5
27269 ac_status=$?
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); }; }; then
27272 ac_cv_lib_m_main=yes
27273 else
27274 echo "$as_me: failed program was:" >&5
27275 sed 's/^/| /' conftest.$ac_ext >&5
27277 ac_cv_lib_m_main=no
27279 rm -f conftest.err conftest.$ac_objext \
27280 conftest$ac_exeext conftest.$ac_ext
27281 LIBS=$ac_check_lib_save_LIBS
27283 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27284 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27285 if test $ac_cv_lib_m_main = yes; then
27286 cat >>confdefs.h <<_ACEOF
27287 #define HAVE_LIBM 1
27288 _ACEOF
27290 LIBS="-lm $LIBS"
27295 for ac_func in copysignf
27297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27298 echo "$as_me:$LINENO: checking for $ac_func" >&5
27299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27300 if eval "test \"\${$as_ac_var+set}\" = set"; then
27301 echo $ECHO_N "(cached) $ECHO_C" >&6
27302 else
27303 if test x$gcc_no_link = xyes; then
27304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27306 { (exit 1); exit 1; }; }
27308 cat >conftest.$ac_ext <<_ACEOF
27309 /* confdefs.h. */
27310 _ACEOF
27311 cat confdefs.h >>conftest.$ac_ext
27312 cat >>conftest.$ac_ext <<_ACEOF
27313 /* end confdefs.h. */
27314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27316 #define $ac_func innocuous_$ac_func
27318 /* System header to define __stub macros and hopefully few prototypes,
27319 which can conflict with char $ac_func (); below.
27320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27321 <limits.h> exists even on freestanding compilers. */
27323 #ifdef __STDC__
27324 # include <limits.h>
27325 #else
27326 # include <assert.h>
27327 #endif
27329 #undef $ac_func
27331 /* Override any gcc2 internal prototype to avoid an error. */
27332 #ifdef __cplusplus
27333 extern "C"
27335 #endif
27336 /* We use char because int might match the return type of a gcc2
27337 builtin and then its argument prototype would still apply. */
27338 char $ac_func ();
27339 /* The GNU C library defines this for functions which it implements
27340 to always fail with ENOSYS. Some functions are actually named
27341 something starting with __ and the normal name is an alias. */
27342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27343 choke me
27344 #else
27345 char (*f) () = $ac_func;
27346 #endif
27347 #ifdef __cplusplus
27349 #endif
27352 main ()
27354 return f != $ac_func;
27356 return 0;
27358 _ACEOF
27359 rm -f conftest.$ac_objext conftest$ac_exeext
27360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27361 (eval $ac_link) 2>conftest.er1
27362 ac_status=$?
27363 grep -v '^ *+' conftest.er1 >conftest.err
27364 rm -f conftest.er1
27365 cat conftest.err >&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); } &&
27368 { ac_try='test -z "$ac_c_werror_flag"
27369 || test ! -s conftest.err'
27370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27371 (eval $ac_try) 2>&5
27372 ac_status=$?
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); }; } &&
27375 { ac_try='test -s conftest$ac_exeext'
27376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27377 (eval $ac_try) 2>&5
27378 ac_status=$?
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); }; }; then
27381 eval "$as_ac_var=yes"
27382 else
27383 echo "$as_me: failed program was:" >&5
27384 sed 's/^/| /' conftest.$ac_ext >&5
27386 eval "$as_ac_var=no"
27388 rm -f conftest.err conftest.$ac_objext \
27389 conftest$ac_exeext conftest.$ac_ext
27391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27393 if test `eval echo '${'$as_ac_var'}'` = yes; then
27394 cat >>confdefs.h <<_ACEOF
27395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27396 _ACEOF
27398 else
27399 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27401 done
27405 for ac_func in __signbit
27407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27408 echo "$as_me:$LINENO: checking for $ac_func" >&5
27409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27410 if eval "test \"\${$as_ac_var+set}\" = set"; then
27411 echo $ECHO_N "(cached) $ECHO_C" >&6
27412 else
27413 if test x$gcc_no_link = xyes; then
27414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27416 { (exit 1); exit 1; }; }
27418 cat >conftest.$ac_ext <<_ACEOF
27419 /* confdefs.h. */
27420 _ACEOF
27421 cat confdefs.h >>conftest.$ac_ext
27422 cat >>conftest.$ac_ext <<_ACEOF
27423 /* end confdefs.h. */
27424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27426 #define $ac_func innocuous_$ac_func
27428 /* System header to define __stub macros and hopefully few prototypes,
27429 which can conflict with char $ac_func (); below.
27430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27431 <limits.h> exists even on freestanding compilers. */
27433 #ifdef __STDC__
27434 # include <limits.h>
27435 #else
27436 # include <assert.h>
27437 #endif
27439 #undef $ac_func
27441 /* Override any gcc2 internal prototype to avoid an error. */
27442 #ifdef __cplusplus
27443 extern "C"
27445 #endif
27446 /* We use char because int might match the return type of a gcc2
27447 builtin and then its argument prototype would still apply. */
27448 char $ac_func ();
27449 /* The GNU C library defines this for functions which it implements
27450 to always fail with ENOSYS. Some functions are actually named
27451 something starting with __ and the normal name is an alias. */
27452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27453 choke me
27454 #else
27455 char (*f) () = $ac_func;
27456 #endif
27457 #ifdef __cplusplus
27459 #endif
27462 main ()
27464 return f != $ac_func;
27466 return 0;
27468 _ACEOF
27469 rm -f conftest.$ac_objext conftest$ac_exeext
27470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27471 (eval $ac_link) 2>conftest.er1
27472 ac_status=$?
27473 grep -v '^ *+' conftest.er1 >conftest.err
27474 rm -f conftest.er1
27475 cat conftest.err >&5
27476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477 (exit $ac_status); } &&
27478 { ac_try='test -z "$ac_c_werror_flag"
27479 || test ! -s conftest.err'
27480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27481 (eval $ac_try) 2>&5
27482 ac_status=$?
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); }; } &&
27485 { ac_try='test -s conftest$ac_exeext'
27486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27487 (eval $ac_try) 2>&5
27488 ac_status=$?
27489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27490 (exit $ac_status); }; }; then
27491 eval "$as_ac_var=yes"
27492 else
27493 echo "$as_me: failed program was:" >&5
27494 sed 's/^/| /' conftest.$ac_ext >&5
27496 eval "$as_ac_var=no"
27498 rm -f conftest.err conftest.$ac_objext \
27499 conftest$ac_exeext conftest.$ac_ext
27501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27503 if test `eval echo '${'$as_ac_var'}'` = yes; then
27504 cat >>confdefs.h <<_ACEOF
27505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27506 _ACEOF
27508 else
27509 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27511 done
27515 for ac_func in __signbitf
27517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27518 echo "$as_me:$LINENO: checking for $ac_func" >&5
27519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27520 if eval "test \"\${$as_ac_var+set}\" = set"; then
27521 echo $ECHO_N "(cached) $ECHO_C" >&6
27522 else
27523 if test x$gcc_no_link = xyes; then
27524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27526 { (exit 1); exit 1; }; }
27528 cat >conftest.$ac_ext <<_ACEOF
27529 /* confdefs.h. */
27530 _ACEOF
27531 cat confdefs.h >>conftest.$ac_ext
27532 cat >>conftest.$ac_ext <<_ACEOF
27533 /* end confdefs.h. */
27534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27536 #define $ac_func innocuous_$ac_func
27538 /* System header to define __stub macros and hopefully few prototypes,
27539 which can conflict with char $ac_func (); below.
27540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27541 <limits.h> exists even on freestanding compilers. */
27543 #ifdef __STDC__
27544 # include <limits.h>
27545 #else
27546 # include <assert.h>
27547 #endif
27549 #undef $ac_func
27551 /* Override any gcc2 internal prototype to avoid an error. */
27552 #ifdef __cplusplus
27553 extern "C"
27555 #endif
27556 /* We use char because int might match the return type of a gcc2
27557 builtin and then its argument prototype would still apply. */
27558 char $ac_func ();
27559 /* The GNU C library defines this for functions which it implements
27560 to always fail with ENOSYS. Some functions are actually named
27561 something starting with __ and the normal name is an alias. */
27562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27563 choke me
27564 #else
27565 char (*f) () = $ac_func;
27566 #endif
27567 #ifdef __cplusplus
27569 #endif
27572 main ()
27574 return f != $ac_func;
27576 return 0;
27578 _ACEOF
27579 rm -f conftest.$ac_objext conftest$ac_exeext
27580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27581 (eval $ac_link) 2>conftest.er1
27582 ac_status=$?
27583 grep -v '^ *+' conftest.er1 >conftest.err
27584 rm -f conftest.er1
27585 cat conftest.err >&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); } &&
27588 { ac_try='test -z "$ac_c_werror_flag"
27589 || test ! -s conftest.err'
27590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27591 (eval $ac_try) 2>&5
27592 ac_status=$?
27593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27594 (exit $ac_status); }; } &&
27595 { ac_try='test -s conftest$ac_exeext'
27596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27597 (eval $ac_try) 2>&5
27598 ac_status=$?
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); }; }; then
27601 eval "$as_ac_var=yes"
27602 else
27603 echo "$as_me: failed program was:" >&5
27604 sed 's/^/| /' conftest.$ac_ext >&5
27606 eval "$as_ac_var=no"
27608 rm -f conftest.err conftest.$ac_objext \
27609 conftest$ac_exeext conftest.$ac_ext
27611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27613 if test `eval echo '${'$as_ac_var'}'` = yes; then
27614 cat >>confdefs.h <<_ACEOF
27615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27616 _ACEOF
27618 else
27619 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27621 done
27624 if test x$ac_cv_func_copysignl = x"yes"; then
27626 for ac_func in __signbitl
27628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27629 echo "$as_me:$LINENO: checking for $ac_func" >&5
27630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27631 if eval "test \"\${$as_ac_var+set}\" = set"; then
27632 echo $ECHO_N "(cached) $ECHO_C" >&6
27633 else
27634 if test x$gcc_no_link = xyes; then
27635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27637 { (exit 1); exit 1; }; }
27639 cat >conftest.$ac_ext <<_ACEOF
27640 /* confdefs.h. */
27641 _ACEOF
27642 cat confdefs.h >>conftest.$ac_ext
27643 cat >>conftest.$ac_ext <<_ACEOF
27644 /* end confdefs.h. */
27645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27647 #define $ac_func innocuous_$ac_func
27649 /* System header to define __stub macros and hopefully few prototypes,
27650 which can conflict with char $ac_func (); below.
27651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27652 <limits.h> exists even on freestanding compilers. */
27654 #ifdef __STDC__
27655 # include <limits.h>
27656 #else
27657 # include <assert.h>
27658 #endif
27660 #undef $ac_func
27662 /* Override any gcc2 internal prototype to avoid an error. */
27663 #ifdef __cplusplus
27664 extern "C"
27666 #endif
27667 /* We use char because int might match the return type of a gcc2
27668 builtin and then its argument prototype would still apply. */
27669 char $ac_func ();
27670 /* The GNU C library defines this for functions which it implements
27671 to always fail with ENOSYS. Some functions are actually named
27672 something starting with __ and the normal name is an alias. */
27673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27674 choke me
27675 #else
27676 char (*f) () = $ac_func;
27677 #endif
27678 #ifdef __cplusplus
27680 #endif
27683 main ()
27685 return f != $ac_func;
27687 return 0;
27689 _ACEOF
27690 rm -f conftest.$ac_objext conftest$ac_exeext
27691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27692 (eval $ac_link) 2>conftest.er1
27693 ac_status=$?
27694 grep -v '^ *+' conftest.er1 >conftest.err
27695 rm -f conftest.er1
27696 cat conftest.err >&5
27697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27698 (exit $ac_status); } &&
27699 { ac_try='test -z "$ac_c_werror_flag"
27700 || test ! -s conftest.err'
27701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27702 (eval $ac_try) 2>&5
27703 ac_status=$?
27704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705 (exit $ac_status); }; } &&
27706 { ac_try='test -s conftest$ac_exeext'
27707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27708 (eval $ac_try) 2>&5
27709 ac_status=$?
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); }; }; then
27712 eval "$as_ac_var=yes"
27713 else
27714 echo "$as_me: failed program was:" >&5
27715 sed 's/^/| /' conftest.$ac_ext >&5
27717 eval "$as_ac_var=no"
27719 rm -f conftest.err conftest.$ac_objext \
27720 conftest$ac_exeext conftest.$ac_ext
27722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27724 if test `eval echo '${'$as_ac_var'}'` = yes; then
27725 cat >>confdefs.h <<_ACEOF
27726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27727 _ACEOF
27729 else
27730 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27732 done
27736 # Used in libmath/Makefile.am.
27737 if test -n "$LIBMATHOBJS"; then
27738 need_libmath=yes
27743 # Test wchar.h for mbstate_t, which is needed for char_traits and
27744 # others even if wchar_t support is not on.
27745 echo "$as_me:$LINENO: checking for mbstate_t" >&5
27746 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27747 cat >conftest.$ac_ext <<_ACEOF
27748 /* confdefs.h. */
27749 _ACEOF
27750 cat confdefs.h >>conftest.$ac_ext
27751 cat >>conftest.$ac_ext <<_ACEOF
27752 /* end confdefs.h. */
27753 #include <wchar.h>
27755 main ()
27757 mbstate_t teststate;
27759 return 0;
27761 _ACEOF
27762 rm -f conftest.$ac_objext
27763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27764 (eval $ac_compile) 2>conftest.er1
27765 ac_status=$?
27766 grep -v '^ *+' conftest.er1 >conftest.err
27767 rm -f conftest.er1
27768 cat conftest.err >&5
27769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27770 (exit $ac_status); } &&
27771 { ac_try='test -z "$ac_c_werror_flag"
27772 || test ! -s conftest.err'
27773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27774 (eval $ac_try) 2>&5
27775 ac_status=$?
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; } &&
27778 { ac_try='test -s conftest.$ac_objext'
27779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27780 (eval $ac_try) 2>&5
27781 ac_status=$?
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); }; }; then
27784 have_mbstate_t=yes
27785 else
27786 echo "$as_me: failed program was:" >&5
27787 sed 's/^/| /' conftest.$ac_ext >&5
27789 have_mbstate_t=no
27791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27792 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27793 echo "${ECHO_T}$have_mbstate_t" >&6
27794 if test x"$have_mbstate_t" = xyes; then
27795 cat >>confdefs.h <<\_ACEOF
27796 #define HAVE_MBSTATE_T 1
27797 _ACEOF
27801 # Sanity check for existence of ISO C99 headers for extended encoding.
27803 for ac_header in wchar.h
27805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27807 echo "$as_me:$LINENO: checking for $ac_header" >&5
27808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27810 echo $ECHO_N "(cached) $ECHO_C" >&6
27812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27814 else
27815 # Is the header compilable?
27816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27818 cat >conftest.$ac_ext <<_ACEOF
27819 /* confdefs.h. */
27820 _ACEOF
27821 cat confdefs.h >>conftest.$ac_ext
27822 cat >>conftest.$ac_ext <<_ACEOF
27823 /* end confdefs.h. */
27824 $ac_includes_default
27825 #include <$ac_header>
27826 _ACEOF
27827 rm -f conftest.$ac_objext
27828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27829 (eval $ac_compile) 2>conftest.er1
27830 ac_status=$?
27831 grep -v '^ *+' conftest.er1 >conftest.err
27832 rm -f conftest.er1
27833 cat conftest.err >&5
27834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27835 (exit $ac_status); } &&
27836 { ac_try='test -z "$ac_c_werror_flag"
27837 || test ! -s conftest.err'
27838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27839 (eval $ac_try) 2>&5
27840 ac_status=$?
27841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27842 (exit $ac_status); }; } &&
27843 { ac_try='test -s conftest.$ac_objext'
27844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27845 (eval $ac_try) 2>&5
27846 ac_status=$?
27847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848 (exit $ac_status); }; }; then
27849 ac_header_compiler=yes
27850 else
27851 echo "$as_me: failed program was:" >&5
27852 sed 's/^/| /' conftest.$ac_ext >&5
27854 ac_header_compiler=no
27856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27858 echo "${ECHO_T}$ac_header_compiler" >&6
27860 # Is the header present?
27861 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27863 cat >conftest.$ac_ext <<_ACEOF
27864 /* confdefs.h. */
27865 _ACEOF
27866 cat confdefs.h >>conftest.$ac_ext
27867 cat >>conftest.$ac_ext <<_ACEOF
27868 /* end confdefs.h. */
27869 #include <$ac_header>
27870 _ACEOF
27871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27872 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27873 ac_status=$?
27874 grep -v '^ *+' conftest.er1 >conftest.err
27875 rm -f conftest.er1
27876 cat conftest.err >&5
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); } >/dev/null; then
27879 if test -s conftest.err; then
27880 ac_cpp_err=$ac_c_preproc_warn_flag
27881 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27882 else
27883 ac_cpp_err=
27885 else
27886 ac_cpp_err=yes
27888 if test -z "$ac_cpp_err"; then
27889 ac_header_preproc=yes
27890 else
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.$ac_ext >&5
27894 ac_header_preproc=no
27896 rm -f conftest.err conftest.$ac_ext
27897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27898 echo "${ECHO_T}$ac_header_preproc" >&6
27900 # So? What about this header?
27901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27902 yes:no: )
27903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27904 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27906 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27907 ac_header_preproc=yes
27909 no:yes:* )
27910 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27911 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27912 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27913 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27914 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27915 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27916 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27917 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27920 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27921 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27923 cat <<\_ASBOX
27924 ## ----------------------------------------- ##
27925 ## Report this to the package-unused lists. ##
27926 ## ----------------------------------------- ##
27927 _ASBOX
27929 sed "s/^/$as_me: WARNING: /" >&2
27931 esac
27932 echo "$as_me:$LINENO: checking for $ac_header" >&5
27933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27935 echo $ECHO_N "(cached) $ECHO_C" >&6
27936 else
27937 eval "$as_ac_Header=\$ac_header_preproc"
27939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27944 cat >>confdefs.h <<_ACEOF
27945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27946 _ACEOF
27947 ac_has_wchar_h=yes
27948 else
27949 ac_has_wchar_h=no
27952 done
27955 for ac_header in wctype.h
27957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27959 echo "$as_me:$LINENO: checking for $ac_header" >&5
27960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27962 echo $ECHO_N "(cached) $ECHO_C" >&6
27964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27966 else
27967 # Is the header compilable?
27968 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27969 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27970 cat >conftest.$ac_ext <<_ACEOF
27971 /* confdefs.h. */
27972 _ACEOF
27973 cat confdefs.h >>conftest.$ac_ext
27974 cat >>conftest.$ac_ext <<_ACEOF
27975 /* end confdefs.h. */
27976 $ac_includes_default
27977 #include <$ac_header>
27978 _ACEOF
27979 rm -f conftest.$ac_objext
27980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27981 (eval $ac_compile) 2>conftest.er1
27982 ac_status=$?
27983 grep -v '^ *+' conftest.er1 >conftest.err
27984 rm -f conftest.er1
27985 cat conftest.err >&5
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); } &&
27988 { ac_try='test -z "$ac_c_werror_flag"
27989 || test ! -s conftest.err'
27990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27991 (eval $ac_try) 2>&5
27992 ac_status=$?
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); }; } &&
27995 { ac_try='test -s conftest.$ac_objext'
27996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27997 (eval $ac_try) 2>&5
27998 ac_status=$?
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); }; }; then
28001 ac_header_compiler=yes
28002 else
28003 echo "$as_me: failed program was:" >&5
28004 sed 's/^/| /' conftest.$ac_ext >&5
28006 ac_header_compiler=no
28008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28010 echo "${ECHO_T}$ac_header_compiler" >&6
28012 # Is the header present?
28013 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28015 cat >conftest.$ac_ext <<_ACEOF
28016 /* confdefs.h. */
28017 _ACEOF
28018 cat confdefs.h >>conftest.$ac_ext
28019 cat >>conftest.$ac_ext <<_ACEOF
28020 /* end confdefs.h. */
28021 #include <$ac_header>
28022 _ACEOF
28023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28025 ac_status=$?
28026 grep -v '^ *+' conftest.er1 >conftest.err
28027 rm -f conftest.er1
28028 cat conftest.err >&5
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); } >/dev/null; then
28031 if test -s conftest.err; then
28032 ac_cpp_err=$ac_c_preproc_warn_flag
28033 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28034 else
28035 ac_cpp_err=
28037 else
28038 ac_cpp_err=yes
28040 if test -z "$ac_cpp_err"; then
28041 ac_header_preproc=yes
28042 else
28043 echo "$as_me: failed program was:" >&5
28044 sed 's/^/| /' conftest.$ac_ext >&5
28046 ac_header_preproc=no
28048 rm -f conftest.err conftest.$ac_ext
28049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28050 echo "${ECHO_T}$ac_header_preproc" >&6
28052 # So? What about this header?
28053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28054 yes:no: )
28055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28058 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28059 ac_header_preproc=yes
28061 no:yes:* )
28062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28066 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28067 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28068 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28075 cat <<\_ASBOX
28076 ## ----------------------------------------- ##
28077 ## Report this to the package-unused lists. ##
28078 ## ----------------------------------------- ##
28079 _ASBOX
28081 sed "s/^/$as_me: WARNING: /" >&2
28083 esac
28084 echo "$as_me:$LINENO: checking for $ac_header" >&5
28085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28087 echo $ECHO_N "(cached) $ECHO_C" >&6
28088 else
28089 eval "$as_ac_Header=\$ac_header_preproc"
28091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28096 cat >>confdefs.h <<_ACEOF
28097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28098 _ACEOF
28099 ac_has_wctype_h=yes
28100 else
28101 ac_has_wctype_h=no
28104 done
28107 # Only continue checking if the ISO C99 headers exist and support is on.
28108 if test x"$ac_has_wchar_h" = xyes &&
28109 test x"$ac_has_wctype_h" = xyes &&
28110 test x"$enable_c_mbchar" != xno; then
28112 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28113 # numeric_limits can instantiate type_traits<wchar_t>
28114 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28115 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28116 cat >conftest.$ac_ext <<_ACEOF
28117 /* confdefs.h. */
28118 _ACEOF
28119 cat confdefs.h >>conftest.$ac_ext
28120 cat >>conftest.$ac_ext <<_ACEOF
28121 /* end confdefs.h. */
28122 #include <wchar.h>
28124 main ()
28126 int i = WCHAR_MIN; int j = WCHAR_MAX;
28128 return 0;
28130 _ACEOF
28131 rm -f conftest.$ac_objext
28132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28133 (eval $ac_compile) 2>conftest.er1
28134 ac_status=$?
28135 grep -v '^ *+' conftest.er1 >conftest.err
28136 rm -f conftest.er1
28137 cat conftest.err >&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); } &&
28140 { ac_try='test -z "$ac_c_werror_flag"
28141 || test ! -s conftest.err'
28142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28143 (eval $ac_try) 2>&5
28144 ac_status=$?
28145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28146 (exit $ac_status); }; } &&
28147 { ac_try='test -s conftest.$ac_objext'
28148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28149 (eval $ac_try) 2>&5
28150 ac_status=$?
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); }; }; then
28153 has_wchar_minmax=yes
28154 else
28155 echo "$as_me: failed program was:" >&5
28156 sed 's/^/| /' conftest.$ac_ext >&5
28158 has_wchar_minmax=no
28160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28161 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28162 echo "${ECHO_T}$has_wchar_minmax" >&6
28164 # Test wchar.h for WEOF, which is what we use to determine whether
28165 # to specialize for char_traits<wchar_t> or not.
28166 echo "$as_me:$LINENO: checking for WEOF" >&5
28167 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28168 cat >conftest.$ac_ext <<_ACEOF
28169 /* confdefs.h. */
28170 _ACEOF
28171 cat confdefs.h >>conftest.$ac_ext
28172 cat >>conftest.$ac_ext <<_ACEOF
28173 /* end confdefs.h. */
28175 #include <wchar.h>
28176 #include <stddef.h>
28178 main ()
28180 wint_t i = WEOF;
28182 return 0;
28184 _ACEOF
28185 rm -f conftest.$ac_objext
28186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28187 (eval $ac_compile) 2>conftest.er1
28188 ac_status=$?
28189 grep -v '^ *+' conftest.er1 >conftest.err
28190 rm -f conftest.er1
28191 cat conftest.err >&5
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); } &&
28194 { ac_try='test -z "$ac_c_werror_flag"
28195 || test ! -s conftest.err'
28196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28197 (eval $ac_try) 2>&5
28198 ac_status=$?
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); }; } &&
28201 { ac_try='test -s conftest.$ac_objext'
28202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28203 (eval $ac_try) 2>&5
28204 ac_status=$?
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); }; }; then
28207 has_weof=yes
28208 else
28209 echo "$as_me: failed program was:" >&5
28210 sed 's/^/| /' conftest.$ac_ext >&5
28212 has_weof=no
28214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28215 echo "$as_me:$LINENO: result: $has_weof" >&5
28216 echo "${ECHO_T}$has_weof" >&6
28218 # Tests for wide character functions used in char_traits<wchar_t>.
28219 ac_wfuncs=yes
28226 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28229 echo "$as_me:$LINENO: checking for $ac_func" >&5
28230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28231 if eval "test \"\${$as_ac_var+set}\" = set"; then
28232 echo $ECHO_N "(cached) $ECHO_C" >&6
28233 else
28234 if test x$gcc_no_link = xyes; then
28235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28237 { (exit 1); exit 1; }; }
28239 cat >conftest.$ac_ext <<_ACEOF
28240 /* confdefs.h. */
28241 _ACEOF
28242 cat confdefs.h >>conftest.$ac_ext
28243 cat >>conftest.$ac_ext <<_ACEOF
28244 /* end confdefs.h. */
28245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28247 #define $ac_func innocuous_$ac_func
28249 /* System header to define __stub macros and hopefully few prototypes,
28250 which can conflict with char $ac_func (); below.
28251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28252 <limits.h> exists even on freestanding compilers. */
28254 #ifdef __STDC__
28255 # include <limits.h>
28256 #else
28257 # include <assert.h>
28258 #endif
28260 #undef $ac_func
28262 /* Override any gcc2 internal prototype to avoid an error. */
28263 #ifdef __cplusplus
28264 extern "C"
28266 #endif
28267 /* We use char because int might match the return type of a gcc2
28268 builtin and then its argument prototype would still apply. */
28269 char $ac_func ();
28270 /* The GNU C library defines this for functions which it implements
28271 to always fail with ENOSYS. Some functions are actually named
28272 something starting with __ and the normal name is an alias. */
28273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28274 choke me
28275 #else
28276 char (*f) () = $ac_func;
28277 #endif
28278 #ifdef __cplusplus
28280 #endif
28283 main ()
28285 return f != $ac_func;
28287 return 0;
28289 _ACEOF
28290 rm -f conftest.$ac_objext conftest$ac_exeext
28291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28292 (eval $ac_link) 2>conftest.er1
28293 ac_status=$?
28294 grep -v '^ *+' conftest.er1 >conftest.err
28295 rm -f conftest.er1
28296 cat conftest.err >&5
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); } &&
28299 { ac_try='test -z "$ac_c_werror_flag"
28300 || test ! -s conftest.err'
28301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28302 (eval $ac_try) 2>&5
28303 ac_status=$?
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); }; } &&
28306 { ac_try='test -s conftest$ac_exeext'
28307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28308 (eval $ac_try) 2>&5
28309 ac_status=$?
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); }; }; then
28312 eval "$as_ac_var=yes"
28313 else
28314 echo "$as_me: failed program was:" >&5
28315 sed 's/^/| /' conftest.$ac_ext >&5
28317 eval "$as_ac_var=no"
28319 rm -f conftest.err conftest.$ac_objext \
28320 conftest$ac_exeext conftest.$ac_ext
28322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28324 if test `eval echo '${'$as_ac_var'}'` = yes; then
28325 cat >>confdefs.h <<_ACEOF
28326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28327 _ACEOF
28329 else
28330 ac_wfuncs=no
28332 done
28335 # Checks for names injected into std:: by the c_std headers.
28382 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28383 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28384 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28385 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28386 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28387 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28390 echo "$as_me:$LINENO: checking for $ac_func" >&5
28391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28392 if eval "test \"\${$as_ac_var+set}\" = set"; then
28393 echo $ECHO_N "(cached) $ECHO_C" >&6
28394 else
28395 if test x$gcc_no_link = xyes; then
28396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28398 { (exit 1); exit 1; }; }
28400 cat >conftest.$ac_ext <<_ACEOF
28401 /* confdefs.h. */
28402 _ACEOF
28403 cat confdefs.h >>conftest.$ac_ext
28404 cat >>conftest.$ac_ext <<_ACEOF
28405 /* end confdefs.h. */
28406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28408 #define $ac_func innocuous_$ac_func
28410 /* System header to define __stub macros and hopefully few prototypes,
28411 which can conflict with char $ac_func (); below.
28412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28413 <limits.h> exists even on freestanding compilers. */
28415 #ifdef __STDC__
28416 # include <limits.h>
28417 #else
28418 # include <assert.h>
28419 #endif
28421 #undef $ac_func
28423 /* Override any gcc2 internal prototype to avoid an error. */
28424 #ifdef __cplusplus
28425 extern "C"
28427 #endif
28428 /* We use char because int might match the return type of a gcc2
28429 builtin and then its argument prototype would still apply. */
28430 char $ac_func ();
28431 /* The GNU C library defines this for functions which it implements
28432 to always fail with ENOSYS. Some functions are actually named
28433 something starting with __ and the normal name is an alias. */
28434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28435 choke me
28436 #else
28437 char (*f) () = $ac_func;
28438 #endif
28439 #ifdef __cplusplus
28441 #endif
28444 main ()
28446 return f != $ac_func;
28448 return 0;
28450 _ACEOF
28451 rm -f conftest.$ac_objext conftest$ac_exeext
28452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28453 (eval $ac_link) 2>conftest.er1
28454 ac_status=$?
28455 grep -v '^ *+' conftest.er1 >conftest.err
28456 rm -f conftest.er1
28457 cat conftest.err >&5
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); } &&
28460 { ac_try='test -z "$ac_c_werror_flag"
28461 || test ! -s conftest.err'
28462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28463 (eval $ac_try) 2>&5
28464 ac_status=$?
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); }; } &&
28467 { ac_try='test -s conftest$ac_exeext'
28468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28469 (eval $ac_try) 2>&5
28470 ac_status=$?
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); }; }; then
28473 eval "$as_ac_var=yes"
28474 else
28475 echo "$as_me: failed program was:" >&5
28476 sed 's/^/| /' conftest.$ac_ext >&5
28478 eval "$as_ac_var=no"
28480 rm -f conftest.err conftest.$ac_objext \
28481 conftest$ac_exeext conftest.$ac_ext
28483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28485 if test `eval echo '${'$as_ac_var'}'` = yes; then
28486 cat >>confdefs.h <<_ACEOF
28487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28488 _ACEOF
28490 else
28491 ac_wfuncs=no
28493 done
28496 # Checks for wide character functions that are not required
28497 # for basic wchar_t support. Don't disable support if they are missing.
28498 # Injection of these is wrapped with guard macros.
28504 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28507 echo "$as_me:$LINENO: checking for $ac_func" >&5
28508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28509 if eval "test \"\${$as_ac_var+set}\" = set"; then
28510 echo $ECHO_N "(cached) $ECHO_C" >&6
28511 else
28512 if test x$gcc_no_link = xyes; then
28513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28515 { (exit 1); exit 1; }; }
28517 cat >conftest.$ac_ext <<_ACEOF
28518 /* confdefs.h. */
28519 _ACEOF
28520 cat confdefs.h >>conftest.$ac_ext
28521 cat >>conftest.$ac_ext <<_ACEOF
28522 /* end confdefs.h. */
28523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28525 #define $ac_func innocuous_$ac_func
28527 /* System header to define __stub macros and hopefully few prototypes,
28528 which can conflict with char $ac_func (); below.
28529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28530 <limits.h> exists even on freestanding compilers. */
28532 #ifdef __STDC__
28533 # include <limits.h>
28534 #else
28535 # include <assert.h>
28536 #endif
28538 #undef $ac_func
28540 /* Override any gcc2 internal prototype to avoid an error. */
28541 #ifdef __cplusplus
28542 extern "C"
28544 #endif
28545 /* We use char because int might match the return type of a gcc2
28546 builtin and then its argument prototype would still apply. */
28547 char $ac_func ();
28548 /* The GNU C library defines this for functions which it implements
28549 to always fail with ENOSYS. Some functions are actually named
28550 something starting with __ and the normal name is an alias. */
28551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28552 choke me
28553 #else
28554 char (*f) () = $ac_func;
28555 #endif
28556 #ifdef __cplusplus
28558 #endif
28561 main ()
28563 return f != $ac_func;
28565 return 0;
28567 _ACEOF
28568 rm -f conftest.$ac_objext conftest$ac_exeext
28569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28570 (eval $ac_link) 2>conftest.er1
28571 ac_status=$?
28572 grep -v '^ *+' conftest.er1 >conftest.err
28573 rm -f conftest.er1
28574 cat conftest.err >&5
28575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28576 (exit $ac_status); } &&
28577 { ac_try='test -z "$ac_c_werror_flag"
28578 || test ! -s conftest.err'
28579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28580 (eval $ac_try) 2>&5
28581 ac_status=$?
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); }; } &&
28584 { ac_try='test -s conftest$ac_exeext'
28585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28586 (eval $ac_try) 2>&5
28587 ac_status=$?
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); }; }; then
28590 eval "$as_ac_var=yes"
28591 else
28592 echo "$as_me: failed program was:" >&5
28593 sed 's/^/| /' conftest.$ac_ext >&5
28595 eval "$as_ac_var=no"
28597 rm -f conftest.err conftest.$ac_objext \
28598 conftest$ac_exeext conftest.$ac_ext
28600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28602 if test `eval echo '${'$as_ac_var'}'` = yes; then
28603 cat >>confdefs.h <<_ACEOF
28604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28605 _ACEOF
28608 done
28611 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28612 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28613 if test x"$has_weof" = xyes &&
28614 test x"$has_wchar_minmax" = xyes &&
28615 test x"$ac_wfuncs" = xyes;
28616 then
28617 ac_isoC99_wchar_t=yes
28618 else
28619 ac_isoC99_wchar_t=no
28621 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28622 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28624 # Use iconv for wchar_t to char conversions. As such, check for
28625 # X/Open Portability Guide, version 2 features (XPG2).
28626 if test "${ac_cv_header_iconv_h+set}" = set; then
28627 echo "$as_me:$LINENO: checking for iconv.h" >&5
28628 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28629 if test "${ac_cv_header_iconv_h+set}" = set; then
28630 echo $ECHO_N "(cached) $ECHO_C" >&6
28632 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28633 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28634 else
28635 # Is the header compilable?
28636 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28637 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28638 cat >conftest.$ac_ext <<_ACEOF
28639 /* confdefs.h. */
28640 _ACEOF
28641 cat confdefs.h >>conftest.$ac_ext
28642 cat >>conftest.$ac_ext <<_ACEOF
28643 /* end confdefs.h. */
28644 $ac_includes_default
28645 #include <iconv.h>
28646 _ACEOF
28647 rm -f conftest.$ac_objext
28648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28649 (eval $ac_compile) 2>conftest.er1
28650 ac_status=$?
28651 grep -v '^ *+' conftest.er1 >conftest.err
28652 rm -f conftest.er1
28653 cat conftest.err >&5
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); } &&
28656 { ac_try='test -z "$ac_c_werror_flag"
28657 || test ! -s conftest.err'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28660 ac_status=$?
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; } &&
28663 { ac_try='test -s conftest.$ac_objext'
28664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28665 (eval $ac_try) 2>&5
28666 ac_status=$?
28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 (exit $ac_status); }; }; then
28669 ac_header_compiler=yes
28670 else
28671 echo "$as_me: failed program was:" >&5
28672 sed 's/^/| /' conftest.$ac_ext >&5
28674 ac_header_compiler=no
28676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28678 echo "${ECHO_T}$ac_header_compiler" >&6
28680 # Is the header present?
28681 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28682 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28683 cat >conftest.$ac_ext <<_ACEOF
28684 /* confdefs.h. */
28685 _ACEOF
28686 cat confdefs.h >>conftest.$ac_ext
28687 cat >>conftest.$ac_ext <<_ACEOF
28688 /* end confdefs.h. */
28689 #include <iconv.h>
28690 _ACEOF
28691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28693 ac_status=$?
28694 grep -v '^ *+' conftest.er1 >conftest.err
28695 rm -f conftest.er1
28696 cat conftest.err >&5
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); } >/dev/null; then
28699 if test -s conftest.err; then
28700 ac_cpp_err=$ac_c_preproc_warn_flag
28701 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28702 else
28703 ac_cpp_err=
28705 else
28706 ac_cpp_err=yes
28708 if test -z "$ac_cpp_err"; then
28709 ac_header_preproc=yes
28710 else
28711 echo "$as_me: failed program was:" >&5
28712 sed 's/^/| /' conftest.$ac_ext >&5
28714 ac_header_preproc=no
28716 rm -f conftest.err conftest.$ac_ext
28717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28718 echo "${ECHO_T}$ac_header_preproc" >&6
28720 # So? What about this header?
28721 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28722 yes:no: )
28723 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28724 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28725 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28726 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28727 ac_header_preproc=yes
28729 no:yes:* )
28730 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28731 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28732 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28733 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28734 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28735 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28736 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28737 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28738 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28739 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28740 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28741 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28743 cat <<\_ASBOX
28744 ## ----------------------------------------- ##
28745 ## Report this to the package-unused lists. ##
28746 ## ----------------------------------------- ##
28747 _ASBOX
28749 sed "s/^/$as_me: WARNING: /" >&2
28751 esac
28752 echo "$as_me:$LINENO: checking for iconv.h" >&5
28753 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28754 if test "${ac_cv_header_iconv_h+set}" = set; then
28755 echo $ECHO_N "(cached) $ECHO_C" >&6
28756 else
28757 ac_cv_header_iconv_h=$ac_header_preproc
28759 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28760 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28763 if test $ac_cv_header_iconv_h = yes; then
28764 ac_has_iconv_h=yes
28765 else
28766 ac_has_iconv_h=no
28770 if test "${ac_cv_header_langinfo_h+set}" = set; then
28771 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28772 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28773 if test "${ac_cv_header_langinfo_h+set}" = set; then
28774 echo $ECHO_N "(cached) $ECHO_C" >&6
28776 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28777 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28778 else
28779 # Is the header compilable?
28780 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28781 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28782 cat >conftest.$ac_ext <<_ACEOF
28783 /* confdefs.h. */
28784 _ACEOF
28785 cat confdefs.h >>conftest.$ac_ext
28786 cat >>conftest.$ac_ext <<_ACEOF
28787 /* end confdefs.h. */
28788 $ac_includes_default
28789 #include <langinfo.h>
28790 _ACEOF
28791 rm -f conftest.$ac_objext
28792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28793 (eval $ac_compile) 2>conftest.er1
28794 ac_status=$?
28795 grep -v '^ *+' conftest.er1 >conftest.err
28796 rm -f conftest.er1
28797 cat conftest.err >&5
28798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28799 (exit $ac_status); } &&
28800 { ac_try='test -z "$ac_c_werror_flag"
28801 || test ! -s conftest.err'
28802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28803 (eval $ac_try) 2>&5
28804 ac_status=$?
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); }; } &&
28807 { ac_try='test -s conftest.$ac_objext'
28808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28809 (eval $ac_try) 2>&5
28810 ac_status=$?
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); }; }; then
28813 ac_header_compiler=yes
28814 else
28815 echo "$as_me: failed program was:" >&5
28816 sed 's/^/| /' conftest.$ac_ext >&5
28818 ac_header_compiler=no
28820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28822 echo "${ECHO_T}$ac_header_compiler" >&6
28824 # Is the header present?
28825 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28826 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28827 cat >conftest.$ac_ext <<_ACEOF
28828 /* confdefs.h. */
28829 _ACEOF
28830 cat confdefs.h >>conftest.$ac_ext
28831 cat >>conftest.$ac_ext <<_ACEOF
28832 /* end confdefs.h. */
28833 #include <langinfo.h>
28834 _ACEOF
28835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28837 ac_status=$?
28838 grep -v '^ *+' conftest.er1 >conftest.err
28839 rm -f conftest.er1
28840 cat conftest.err >&5
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); } >/dev/null; then
28843 if test -s conftest.err; then
28844 ac_cpp_err=$ac_c_preproc_warn_flag
28845 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28846 else
28847 ac_cpp_err=
28849 else
28850 ac_cpp_err=yes
28852 if test -z "$ac_cpp_err"; then
28853 ac_header_preproc=yes
28854 else
28855 echo "$as_me: failed program was:" >&5
28856 sed 's/^/| /' conftest.$ac_ext >&5
28858 ac_header_preproc=no
28860 rm -f conftest.err conftest.$ac_ext
28861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28862 echo "${ECHO_T}$ac_header_preproc" >&6
28864 # So? What about this header?
28865 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28866 yes:no: )
28867 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28868 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28869 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28870 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28871 ac_header_preproc=yes
28873 no:yes:* )
28874 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28875 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28876 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28877 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28878 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28879 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28880 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28881 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28882 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28883 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28884 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28885 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28887 cat <<\_ASBOX
28888 ## ----------------------------------------- ##
28889 ## Report this to the package-unused lists. ##
28890 ## ----------------------------------------- ##
28891 _ASBOX
28893 sed "s/^/$as_me: WARNING: /" >&2
28895 esac
28896 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28897 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28898 if test "${ac_cv_header_langinfo_h+set}" = set; then
28899 echo $ECHO_N "(cached) $ECHO_C" >&6
28900 else
28901 ac_cv_header_langinfo_h=$ac_header_preproc
28903 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28904 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28907 if test $ac_cv_header_langinfo_h = yes; then
28908 ac_has_langinfo_h=yes
28909 else
28910 ac_has_langinfo_h=no
28915 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28916 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28917 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28918 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28919 echo $ECHO_N "(cached) $ECHO_C" >&6
28920 else
28921 ac_check_lib_save_LIBS=$LIBS
28922 LIBS="-liconv $LIBS"
28923 if test x$gcc_no_link = xyes; then
28924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28926 { (exit 1); exit 1; }; }
28928 cat >conftest.$ac_ext <<_ACEOF
28929 /* confdefs.h. */
28930 _ACEOF
28931 cat confdefs.h >>conftest.$ac_ext
28932 cat >>conftest.$ac_ext <<_ACEOF
28933 /* end confdefs.h. */
28935 /* Override any gcc2 internal prototype to avoid an error. */
28936 #ifdef __cplusplus
28937 extern "C"
28938 #endif
28939 /* We use char because int might match the return type of a gcc2
28940 builtin and then its argument prototype would still apply. */
28941 char iconv ();
28943 main ()
28945 iconv ();
28947 return 0;
28949 _ACEOF
28950 rm -f conftest.$ac_objext conftest$ac_exeext
28951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28952 (eval $ac_link) 2>conftest.er1
28953 ac_status=$?
28954 grep -v '^ *+' conftest.er1 >conftest.err
28955 rm -f conftest.er1
28956 cat conftest.err >&5
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); } &&
28959 { ac_try='test -z "$ac_c_werror_flag"
28960 || test ! -s conftest.err'
28961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28962 (eval $ac_try) 2>&5
28963 ac_status=$?
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); }; } &&
28966 { ac_try='test -s conftest$ac_exeext'
28967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28968 (eval $ac_try) 2>&5
28969 ac_status=$?
28970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28971 (exit $ac_status); }; }; then
28972 ac_cv_lib_iconv_iconv=yes
28973 else
28974 echo "$as_me: failed program was:" >&5
28975 sed 's/^/| /' conftest.$ac_ext >&5
28977 ac_cv_lib_iconv_iconv=no
28979 rm -f conftest.err conftest.$ac_objext \
28980 conftest$ac_exeext conftest.$ac_ext
28981 LIBS=$ac_check_lib_save_LIBS
28983 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28984 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28985 if test $ac_cv_lib_iconv_iconv = yes; then
28986 LIBICONV="-liconv"
28989 ac_save_LIBS="$LIBS"
28990 LIBS="$LIBS $LIBICONV"
28997 for ac_func in iconv_open iconv_close iconv nl_langinfo
28999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29000 echo "$as_me:$LINENO: checking for $ac_func" >&5
29001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29002 if eval "test \"\${$as_ac_var+set}\" = set"; then
29003 echo $ECHO_N "(cached) $ECHO_C" >&6
29004 else
29005 if test x$gcc_no_link = xyes; then
29006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29008 { (exit 1); exit 1; }; }
29010 cat >conftest.$ac_ext <<_ACEOF
29011 /* confdefs.h. */
29012 _ACEOF
29013 cat confdefs.h >>conftest.$ac_ext
29014 cat >>conftest.$ac_ext <<_ACEOF
29015 /* end confdefs.h. */
29016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29018 #define $ac_func innocuous_$ac_func
29020 /* System header to define __stub macros and hopefully few prototypes,
29021 which can conflict with char $ac_func (); below.
29022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29023 <limits.h> exists even on freestanding compilers. */
29025 #ifdef __STDC__
29026 # include <limits.h>
29027 #else
29028 # include <assert.h>
29029 #endif
29031 #undef $ac_func
29033 /* Override any gcc2 internal prototype to avoid an error. */
29034 #ifdef __cplusplus
29035 extern "C"
29037 #endif
29038 /* We use char because int might match the return type of a gcc2
29039 builtin and then its argument prototype would still apply. */
29040 char $ac_func ();
29041 /* The GNU C library defines this for functions which it implements
29042 to always fail with ENOSYS. Some functions are actually named
29043 something starting with __ and the normal name is an alias. */
29044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29045 choke me
29046 #else
29047 char (*f) () = $ac_func;
29048 #endif
29049 #ifdef __cplusplus
29051 #endif
29054 main ()
29056 return f != $ac_func;
29058 return 0;
29060 _ACEOF
29061 rm -f conftest.$ac_objext conftest$ac_exeext
29062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29063 (eval $ac_link) 2>conftest.er1
29064 ac_status=$?
29065 grep -v '^ *+' conftest.er1 >conftest.err
29066 rm -f conftest.er1
29067 cat conftest.err >&5
29068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069 (exit $ac_status); } &&
29070 { ac_try='test -z "$ac_c_werror_flag"
29071 || test ! -s conftest.err'
29072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29073 (eval $ac_try) 2>&5
29074 ac_status=$?
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); }; } &&
29077 { ac_try='test -s conftest$ac_exeext'
29078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29079 (eval $ac_try) 2>&5
29080 ac_status=$?
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); }; }; then
29083 eval "$as_ac_var=yes"
29084 else
29085 echo "$as_me: failed program was:" >&5
29086 sed 's/^/| /' conftest.$ac_ext >&5
29088 eval "$as_ac_var=no"
29090 rm -f conftest.err conftest.$ac_objext \
29091 conftest$ac_exeext conftest.$ac_ext
29093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29095 if test `eval echo '${'$as_ac_var'}'` = yes; then
29096 cat >>confdefs.h <<_ACEOF
29097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29098 _ACEOF
29099 ac_XPG2funcs=yes
29100 else
29101 ac_XPG2funcs=no
29103 done
29106 LIBS="$ac_save_LIBS"
29108 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29109 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29110 if test x"$ac_has_iconv_h" = xyes &&
29111 test x"$ac_has_langinfo_h" = xyes &&
29112 test x"$ac_XPG2funcs" = xyes;
29113 then
29114 ac_XPG2_wchar_t=yes
29115 else
29116 ac_XPG2_wchar_t=no
29118 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29119 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29121 # At the moment, only enable wchar_t specializations if all the
29122 # above support is present.
29123 if test x"$ac_isoC99_wchar_t" = xyes &&
29124 test x"$ac_XPG2_wchar_t" = xyes;
29125 then
29126 cat >>confdefs.h <<\_ACEOF
29127 #define _GLIBCXX_USE_WCHAR_T 1
29128 _ACEOF
29130 enable_wchar_t=yes
29133 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29134 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29135 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29136 echo "${ECHO_T}$enable_wchar_t" >&6
29139 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29140 ac_save_CXXFLAGS="$CXXFLAGS"
29141 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29144 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29145 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29146 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29147 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29148 echo $ECHO_N "(cached) $ECHO_C" >&6
29149 else
29153 ac_ext=cc
29154 ac_cpp='$CXXCPP $CPPFLAGS'
29155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29159 cat >conftest.$ac_ext <<_ACEOF
29160 /* confdefs.h. */
29161 _ACEOF
29162 cat confdefs.h >>conftest.$ac_ext
29163 cat >>conftest.$ac_ext <<_ACEOF
29164 /* end confdefs.h. */
29165 #include <stdlib.h>
29167 main ()
29169 strtold(0, 0);
29171 return 0;
29173 _ACEOF
29174 rm -f conftest.$ac_objext
29175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29176 (eval $ac_compile) 2>conftest.er1
29177 ac_status=$?
29178 grep -v '^ *+' conftest.er1 >conftest.err
29179 rm -f conftest.er1
29180 cat conftest.err >&5
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } &&
29183 { ac_try='test -z "$ac_cxx_werror_flag"
29184 || test ! -s conftest.err'
29185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29186 (eval $ac_try) 2>&5
29187 ac_status=$?
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); }; } &&
29190 { ac_try='test -s conftest.$ac_objext'
29191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29192 (eval $ac_try) 2>&5
29193 ac_status=$?
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); }; }; then
29196 glibcxx_cv_func_strtold_use=yes
29197 else
29198 echo "$as_me: failed program was:" >&5
29199 sed 's/^/| /' conftest.$ac_ext >&5
29201 glibcxx_cv_func_strtold_use=no
29203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29204 ac_ext=c
29205 ac_cpp='$CPP $CPPFLAGS'
29206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29214 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29215 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29216 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29218 for ac_func in strtold
29220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29221 echo "$as_me:$LINENO: checking for $ac_func" >&5
29222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29223 if eval "test \"\${$as_ac_var+set}\" = set"; then
29224 echo $ECHO_N "(cached) $ECHO_C" >&6
29225 else
29226 if test x$gcc_no_link = xyes; then
29227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29229 { (exit 1); exit 1; }; }
29231 cat >conftest.$ac_ext <<_ACEOF
29232 /* confdefs.h. */
29233 _ACEOF
29234 cat confdefs.h >>conftest.$ac_ext
29235 cat >>conftest.$ac_ext <<_ACEOF
29236 /* end confdefs.h. */
29237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29239 #define $ac_func innocuous_$ac_func
29241 /* System header to define __stub macros and hopefully few prototypes,
29242 which can conflict with char $ac_func (); below.
29243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29244 <limits.h> exists even on freestanding compilers. */
29246 #ifdef __STDC__
29247 # include <limits.h>
29248 #else
29249 # include <assert.h>
29250 #endif
29252 #undef $ac_func
29254 /* Override any gcc2 internal prototype to avoid an error. */
29255 #ifdef __cplusplus
29256 extern "C"
29258 #endif
29259 /* We use char because int might match the return type of a gcc2
29260 builtin and then its argument prototype would still apply. */
29261 char $ac_func ();
29262 /* The GNU C library defines this for functions which it implements
29263 to always fail with ENOSYS. Some functions are actually named
29264 something starting with __ and the normal name is an alias. */
29265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29266 choke me
29267 #else
29268 char (*f) () = $ac_func;
29269 #endif
29270 #ifdef __cplusplus
29272 #endif
29275 main ()
29277 return f != $ac_func;
29279 return 0;
29281 _ACEOF
29282 rm -f conftest.$ac_objext conftest$ac_exeext
29283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29284 (eval $ac_link) 2>conftest.er1
29285 ac_status=$?
29286 grep -v '^ *+' conftest.er1 >conftest.err
29287 rm -f conftest.er1
29288 cat conftest.err >&5
29289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29290 (exit $ac_status); } &&
29291 { ac_try='test -z "$ac_c_werror_flag"
29292 || test ! -s conftest.err'
29293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29294 (eval $ac_try) 2>&5
29295 ac_status=$?
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); }; } &&
29298 { ac_try='test -s conftest$ac_exeext'
29299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29300 (eval $ac_try) 2>&5
29301 ac_status=$?
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); }; }; then
29304 eval "$as_ac_var=yes"
29305 else
29306 echo "$as_me: failed program was:" >&5
29307 sed 's/^/| /' conftest.$ac_ext >&5
29309 eval "$as_ac_var=no"
29311 rm -f conftest.err conftest.$ac_objext \
29312 conftest$ac_exeext conftest.$ac_ext
29314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29316 if test `eval echo '${'$as_ac_var'}'` = yes; then
29317 cat >>confdefs.h <<_ACEOF
29318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29319 _ACEOF
29322 done
29327 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29328 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29329 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29330 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29332 else
29336 ac_ext=cc
29337 ac_cpp='$CXXCPP $CPPFLAGS'
29338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29342 cat >conftest.$ac_ext <<_ACEOF
29343 /* confdefs.h. */
29344 _ACEOF
29345 cat confdefs.h >>conftest.$ac_ext
29346 cat >>conftest.$ac_ext <<_ACEOF
29347 /* end confdefs.h. */
29348 #include <stdlib.h>
29350 main ()
29352 strtof(0, 0);
29354 return 0;
29356 _ACEOF
29357 rm -f conftest.$ac_objext
29358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29359 (eval $ac_compile) 2>conftest.er1
29360 ac_status=$?
29361 grep -v '^ *+' conftest.er1 >conftest.err
29362 rm -f conftest.er1
29363 cat conftest.err >&5
29364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29365 (exit $ac_status); } &&
29366 { ac_try='test -z "$ac_cxx_werror_flag"
29367 || test ! -s conftest.err'
29368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29369 (eval $ac_try) 2>&5
29370 ac_status=$?
29371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29372 (exit $ac_status); }; } &&
29373 { ac_try='test -s conftest.$ac_objext'
29374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29375 (eval $ac_try) 2>&5
29376 ac_status=$?
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); }; }; then
29379 glibcxx_cv_func_strtof_use=yes
29380 else
29381 echo "$as_me: failed program was:" >&5
29382 sed 's/^/| /' conftest.$ac_ext >&5
29384 glibcxx_cv_func_strtof_use=no
29386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29387 ac_ext=c
29388 ac_cpp='$CPP $CPPFLAGS'
29389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29397 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29398 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29399 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29401 for ac_func in strtof
29403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29404 echo "$as_me:$LINENO: checking for $ac_func" >&5
29405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29406 if eval "test \"\${$as_ac_var+set}\" = set"; then
29407 echo $ECHO_N "(cached) $ECHO_C" >&6
29408 else
29409 if test x$gcc_no_link = xyes; then
29410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29412 { (exit 1); exit 1; }; }
29414 cat >conftest.$ac_ext <<_ACEOF
29415 /* confdefs.h. */
29416 _ACEOF
29417 cat confdefs.h >>conftest.$ac_ext
29418 cat >>conftest.$ac_ext <<_ACEOF
29419 /* end confdefs.h. */
29420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29422 #define $ac_func innocuous_$ac_func
29424 /* System header to define __stub macros and hopefully few prototypes,
29425 which can conflict with char $ac_func (); below.
29426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29427 <limits.h> exists even on freestanding compilers. */
29429 #ifdef __STDC__
29430 # include <limits.h>
29431 #else
29432 # include <assert.h>
29433 #endif
29435 #undef $ac_func
29437 /* Override any gcc2 internal prototype to avoid an error. */
29438 #ifdef __cplusplus
29439 extern "C"
29441 #endif
29442 /* We use char because int might match the return type of a gcc2
29443 builtin and then its argument prototype would still apply. */
29444 char $ac_func ();
29445 /* The GNU C library defines this for functions which it implements
29446 to always fail with ENOSYS. Some functions are actually named
29447 something starting with __ and the normal name is an alias. */
29448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29449 choke me
29450 #else
29451 char (*f) () = $ac_func;
29452 #endif
29453 #ifdef __cplusplus
29455 #endif
29458 main ()
29460 return f != $ac_func;
29462 return 0;
29464 _ACEOF
29465 rm -f conftest.$ac_objext conftest$ac_exeext
29466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29467 (eval $ac_link) 2>conftest.er1
29468 ac_status=$?
29469 grep -v '^ *+' conftest.er1 >conftest.err
29470 rm -f conftest.er1
29471 cat conftest.err >&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); } &&
29474 { ac_try='test -z "$ac_c_werror_flag"
29475 || test ! -s conftest.err'
29476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29477 (eval $ac_try) 2>&5
29478 ac_status=$?
29479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29480 (exit $ac_status); }; } &&
29481 { ac_try='test -s conftest$ac_exeext'
29482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29483 (eval $ac_try) 2>&5
29484 ac_status=$?
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); }; }; then
29487 eval "$as_ac_var=yes"
29488 else
29489 echo "$as_me: failed program was:" >&5
29490 sed 's/^/| /' conftest.$ac_ext >&5
29492 eval "$as_ac_var=no"
29494 rm -f conftest.err conftest.$ac_objext \
29495 conftest$ac_exeext conftest.$ac_ext
29497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29499 if test `eval echo '${'$as_ac_var'}'` = yes; then
29500 cat >>confdefs.h <<_ACEOF
29501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29502 _ACEOF
29505 done
29510 CXXFLAGS="$ac_save_CXXFLAGS"
29513 # For showmanyc_helper().
29516 for ac_header in sys/ioctl.h sys/filio.h
29518 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29520 echo "$as_me:$LINENO: checking for $ac_header" >&5
29521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29523 echo $ECHO_N "(cached) $ECHO_C" >&6
29525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29527 else
29528 # Is the header compilable?
29529 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29530 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29531 cat >conftest.$ac_ext <<_ACEOF
29532 /* confdefs.h. */
29533 _ACEOF
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h. */
29537 $ac_includes_default
29538 #include <$ac_header>
29539 _ACEOF
29540 rm -f conftest.$ac_objext
29541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29542 (eval $ac_compile) 2>conftest.er1
29543 ac_status=$?
29544 grep -v '^ *+' conftest.er1 >conftest.err
29545 rm -f conftest.er1
29546 cat conftest.err >&5
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); } &&
29549 { ac_try='test -z "$ac_c_werror_flag"
29550 || test ! -s conftest.err'
29551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29552 (eval $ac_try) 2>&5
29553 ac_status=$?
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); }; } &&
29556 { ac_try='test -s conftest.$ac_objext'
29557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29558 (eval $ac_try) 2>&5
29559 ac_status=$?
29560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561 (exit $ac_status); }; }; then
29562 ac_header_compiler=yes
29563 else
29564 echo "$as_me: failed program was:" >&5
29565 sed 's/^/| /' conftest.$ac_ext >&5
29567 ac_header_compiler=no
29569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29571 echo "${ECHO_T}$ac_header_compiler" >&6
29573 # Is the header present?
29574 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29575 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29576 cat >conftest.$ac_ext <<_ACEOF
29577 /* confdefs.h. */
29578 _ACEOF
29579 cat confdefs.h >>conftest.$ac_ext
29580 cat >>conftest.$ac_ext <<_ACEOF
29581 /* end confdefs.h. */
29582 #include <$ac_header>
29583 _ACEOF
29584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29586 ac_status=$?
29587 grep -v '^ *+' conftest.er1 >conftest.err
29588 rm -f conftest.er1
29589 cat conftest.err >&5
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); } >/dev/null; then
29592 if test -s conftest.err; then
29593 ac_cpp_err=$ac_c_preproc_warn_flag
29594 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29595 else
29596 ac_cpp_err=
29598 else
29599 ac_cpp_err=yes
29601 if test -z "$ac_cpp_err"; then
29602 ac_header_preproc=yes
29603 else
29604 echo "$as_me: failed program was:" >&5
29605 sed 's/^/| /' conftest.$ac_ext >&5
29607 ac_header_preproc=no
29609 rm -f conftest.err conftest.$ac_ext
29610 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29611 echo "${ECHO_T}$ac_header_preproc" >&6
29613 # So? What about this header?
29614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29615 yes:no: )
29616 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29617 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29619 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29620 ac_header_preproc=yes
29622 no:yes:* )
29623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29627 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29628 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29629 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29630 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29633 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29634 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29636 cat <<\_ASBOX
29637 ## ----------------------------------------- ##
29638 ## Report this to the package-unused lists. ##
29639 ## ----------------------------------------- ##
29640 _ASBOX
29642 sed "s/^/$as_me: WARNING: /" >&2
29644 esac
29645 echo "$as_me:$LINENO: checking for $ac_header" >&5
29646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29648 echo $ECHO_N "(cached) $ECHO_C" >&6
29649 else
29650 eval "$as_ac_Header=\$ac_header_preproc"
29652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29657 cat >>confdefs.h <<_ACEOF
29658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29659 _ACEOF
29663 done
29666 if test "${glibcxx_cv_POLL+set}" = set; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29668 else
29670 if test x$gcc_no_link = xyes; then
29671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29673 { (exit 1); exit 1; }; }
29675 cat >conftest.$ac_ext <<_ACEOF
29676 /* confdefs.h. */
29677 _ACEOF
29678 cat confdefs.h >>conftest.$ac_ext
29679 cat >>conftest.$ac_ext <<_ACEOF
29680 /* end confdefs.h. */
29681 #include <poll.h>
29683 main ()
29685 struct pollfd pfd[1];
29686 pfd[0].events = POLLIN;
29687 poll(pfd, 1, 0);
29689 return 0;
29691 _ACEOF
29692 rm -f conftest.$ac_objext conftest$ac_exeext
29693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29694 (eval $ac_link) 2>conftest.er1
29695 ac_status=$?
29696 grep -v '^ *+' conftest.er1 >conftest.err
29697 rm -f conftest.er1
29698 cat conftest.err >&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); } &&
29701 { ac_try='test -z "$ac_c_werror_flag"
29702 || test ! -s conftest.err'
29703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29704 (eval $ac_try) 2>&5
29705 ac_status=$?
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); }; } &&
29708 { ac_try='test -s conftest$ac_exeext'
29709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29710 (eval $ac_try) 2>&5
29711 ac_status=$?
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); }; }; then
29714 glibcxx_cv_POLL=yes
29715 else
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.$ac_ext >&5
29719 glibcxx_cv_POLL=no
29721 rm -f conftest.err conftest.$ac_objext \
29722 conftest$ac_exeext conftest.$ac_ext
29726 if test $glibcxx_cv_POLL = yes; then
29727 cat >>confdefs.h <<\_ACEOF
29728 #define HAVE_POLL 1
29729 _ACEOF
29734 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29735 echo $ECHO_N "(cached) $ECHO_C" >&6
29736 else
29738 if test x$gcc_no_link = xyes; then
29739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29741 { (exit 1); exit 1; }; }
29743 cat >conftest.$ac_ext <<_ACEOF
29744 /* confdefs.h. */
29745 _ACEOF
29746 cat confdefs.h >>conftest.$ac_ext
29747 cat >>conftest.$ac_ext <<_ACEOF
29748 /* end confdefs.h. */
29749 #include <sys/stat.h>
29751 main ()
29753 struct stat buffer;
29754 fstat(0, &buffer);
29755 S_ISREG(buffer.st_mode);
29757 return 0;
29759 _ACEOF
29760 rm -f conftest.$ac_objext conftest$ac_exeext
29761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29762 (eval $ac_link) 2>conftest.er1
29763 ac_status=$?
29764 grep -v '^ *+' conftest.er1 >conftest.err
29765 rm -f conftest.er1
29766 cat conftest.err >&5
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); } &&
29769 { ac_try='test -z "$ac_c_werror_flag"
29770 || test ! -s conftest.err'
29771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29772 (eval $ac_try) 2>&5
29773 ac_status=$?
29774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29775 (exit $ac_status); }; } &&
29776 { ac_try='test -s conftest$ac_exeext'
29777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29778 (eval $ac_try) 2>&5
29779 ac_status=$?
29780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781 (exit $ac_status); }; }; then
29782 glibcxx_cv_S_ISREG=yes
29783 else
29784 echo "$as_me: failed program was:" >&5
29785 sed 's/^/| /' conftest.$ac_ext >&5
29787 glibcxx_cv_S_ISREG=no
29789 rm -f conftest.err conftest.$ac_objext \
29790 conftest$ac_exeext conftest.$ac_ext
29794 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29795 echo $ECHO_N "(cached) $ECHO_C" >&6
29796 else
29798 if test x$gcc_no_link = xyes; then
29799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29801 { (exit 1); exit 1; }; }
29803 cat >conftest.$ac_ext <<_ACEOF
29804 /* confdefs.h. */
29805 _ACEOF
29806 cat confdefs.h >>conftest.$ac_ext
29807 cat >>conftest.$ac_ext <<_ACEOF
29808 /* end confdefs.h. */
29809 #include <sys/stat.h>
29811 main ()
29813 struct stat buffer;
29814 fstat(0, &buffer);
29815 S_IFREG & buffer.st_mode;
29817 return 0;
29819 _ACEOF
29820 rm -f conftest.$ac_objext conftest$ac_exeext
29821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29822 (eval $ac_link) 2>conftest.er1
29823 ac_status=$?
29824 grep -v '^ *+' conftest.er1 >conftest.err
29825 rm -f conftest.er1
29826 cat conftest.err >&5
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); } &&
29829 { ac_try='test -z "$ac_c_werror_flag"
29830 || test ! -s conftest.err'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29833 ac_status=$?
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; } &&
29836 { ac_try='test -s conftest$ac_exeext'
29837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29838 (eval $ac_try) 2>&5
29839 ac_status=$?
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); }; }; then
29842 glibcxx_cv_S_IFREG=yes
29843 else
29844 echo "$as_me: failed program was:" >&5
29845 sed 's/^/| /' conftest.$ac_ext >&5
29847 glibcxx_cv_S_IFREG=no
29849 rm -f conftest.err conftest.$ac_objext \
29850 conftest$ac_exeext conftest.$ac_ext
29854 if test $glibcxx_cv_S_ISREG = yes; then
29855 cat >>confdefs.h <<\_ACEOF
29856 #define HAVE_S_ISREG 1
29857 _ACEOF
29859 elif test $glibcxx_cv_S_IFREG = yes; then
29860 cat >>confdefs.h <<\_ACEOF
29861 #define HAVE_S_IFREG 1
29862 _ACEOF
29867 # For xsputn_2().
29869 for ac_header in sys/uio.h
29871 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29873 echo "$as_me:$LINENO: checking for $ac_header" >&5
29874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29876 echo $ECHO_N "(cached) $ECHO_C" >&6
29878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29880 else
29881 # Is the header compilable?
29882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29884 cat >conftest.$ac_ext <<_ACEOF
29885 /* confdefs.h. */
29886 _ACEOF
29887 cat confdefs.h >>conftest.$ac_ext
29888 cat >>conftest.$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29890 $ac_includes_default
29891 #include <$ac_header>
29892 _ACEOF
29893 rm -f conftest.$ac_objext
29894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29895 (eval $ac_compile) 2>conftest.er1
29896 ac_status=$?
29897 grep -v '^ *+' conftest.er1 >conftest.err
29898 rm -f conftest.er1
29899 cat conftest.err >&5
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); } &&
29902 { ac_try='test -z "$ac_c_werror_flag"
29903 || test ! -s conftest.err'
29904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905 (eval $ac_try) 2>&5
29906 ac_status=$?
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; } &&
29909 { ac_try='test -s conftest.$ac_objext'
29910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29911 (eval $ac_try) 2>&5
29912 ac_status=$?
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); }; }; then
29915 ac_header_compiler=yes
29916 else
29917 echo "$as_me: failed program was:" >&5
29918 sed 's/^/| /' conftest.$ac_ext >&5
29920 ac_header_compiler=no
29922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29924 echo "${ECHO_T}$ac_header_compiler" >&6
29926 # Is the header present?
29927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29929 cat >conftest.$ac_ext <<_ACEOF
29930 /* confdefs.h. */
29931 _ACEOF
29932 cat confdefs.h >>conftest.$ac_ext
29933 cat >>conftest.$ac_ext <<_ACEOF
29934 /* end confdefs.h. */
29935 #include <$ac_header>
29936 _ACEOF
29937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29939 ac_status=$?
29940 grep -v '^ *+' conftest.er1 >conftest.err
29941 rm -f conftest.er1
29942 cat conftest.err >&5
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); } >/dev/null; then
29945 if test -s conftest.err; then
29946 ac_cpp_err=$ac_c_preproc_warn_flag
29947 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29948 else
29949 ac_cpp_err=
29951 else
29952 ac_cpp_err=yes
29954 if test -z "$ac_cpp_err"; then
29955 ac_header_preproc=yes
29956 else
29957 echo "$as_me: failed program was:" >&5
29958 sed 's/^/| /' conftest.$ac_ext >&5
29960 ac_header_preproc=no
29962 rm -f conftest.err conftest.$ac_ext
29963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29964 echo "${ECHO_T}$ac_header_preproc" >&6
29966 # So? What about this header?
29967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29968 yes:no: )
29969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29973 ac_header_preproc=yes
29975 no:yes:* )
29976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29989 cat <<\_ASBOX
29990 ## ----------------------------------------- ##
29991 ## Report this to the package-unused lists. ##
29992 ## ----------------------------------------- ##
29993 _ASBOX
29995 sed "s/^/$as_me: WARNING: /" >&2
29997 esac
29998 echo "$as_me:$LINENO: checking for $ac_header" >&5
29999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30001 echo $ECHO_N "(cached) $ECHO_C" >&6
30002 else
30003 eval "$as_ac_Header=\$ac_header_preproc"
30005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30010 cat >>confdefs.h <<_ACEOF
30011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30012 _ACEOF
30016 done
30019 if test "${glibcxx_cv_WRITEV+set}" = set; then
30020 echo $ECHO_N "(cached) $ECHO_C" >&6
30021 else
30023 if test x$gcc_no_link = xyes; then
30024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30026 { (exit 1); exit 1; }; }
30028 cat >conftest.$ac_ext <<_ACEOF
30029 /* confdefs.h. */
30030 _ACEOF
30031 cat confdefs.h >>conftest.$ac_ext
30032 cat >>conftest.$ac_ext <<_ACEOF
30033 /* end confdefs.h. */
30034 #include <sys/uio.h>
30036 main ()
30038 struct iovec iov[2];
30039 writev(0, iov, 0);
30041 return 0;
30043 _ACEOF
30044 rm -f conftest.$ac_objext conftest$ac_exeext
30045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30046 (eval $ac_link) 2>conftest.er1
30047 ac_status=$?
30048 grep -v '^ *+' conftest.er1 >conftest.err
30049 rm -f conftest.er1
30050 cat conftest.err >&5
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); } &&
30053 { ac_try='test -z "$ac_c_werror_flag"
30054 || test ! -s conftest.err'
30055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30056 (eval $ac_try) 2>&5
30057 ac_status=$?
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); }; } &&
30060 { ac_try='test -s conftest$ac_exeext'
30061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30062 (eval $ac_try) 2>&5
30063 ac_status=$?
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); }; }; then
30066 glibcxx_cv_WRITEV=yes
30067 else
30068 echo "$as_me: failed program was:" >&5
30069 sed 's/^/| /' conftest.$ac_ext >&5
30071 glibcxx_cv_WRITEV=no
30073 rm -f conftest.err conftest.$ac_objext \
30074 conftest$ac_exeext conftest.$ac_ext
30078 if test $glibcxx_cv_WRITEV = yes; then
30079 cat >>confdefs.h <<\_ACEOF
30080 #define HAVE_WRITEV 1
30081 _ACEOF
30086 # For the __streamoff_base_type typedef.
30088 if test "${glibcxx_cv_INT64_T+set}" = set; then
30089 echo $ECHO_N "(cached) $ECHO_C" >&6
30090 else
30092 cat >conftest.$ac_ext <<_ACEOF
30093 /* confdefs.h. */
30094 _ACEOF
30095 cat confdefs.h >>conftest.$ac_ext
30096 cat >>conftest.$ac_ext <<_ACEOF
30097 /* end confdefs.h. */
30098 #include <stdint.h>
30100 main ()
30102 int64_t var;
30104 return 0;
30106 _ACEOF
30107 rm -f conftest.$ac_objext
30108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30109 (eval $ac_compile) 2>conftest.er1
30110 ac_status=$?
30111 grep -v '^ *+' conftest.er1 >conftest.err
30112 rm -f conftest.er1
30113 cat conftest.err >&5
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); } &&
30116 { ac_try='test -z "$ac_c_werror_flag"
30117 || test ! -s conftest.err'
30118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30119 (eval $ac_try) 2>&5
30120 ac_status=$?
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); }; } &&
30123 { ac_try='test -s conftest.$ac_objext'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30126 ac_status=$?
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; }; then
30129 glibcxx_cv_INT64_T=yes
30130 else
30131 echo "$as_me: failed program was:" >&5
30132 sed 's/^/| /' conftest.$ac_ext >&5
30134 glibcxx_cv_INT64_T=no
30136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30140 if test $glibcxx_cv_INT64_T = yes; then
30141 cat >>confdefs.h <<\_ACEOF
30142 #define HAVE_INT64_T 1
30143 _ACEOF
30148 # For LFS support.
30152 ac_ext=cc
30153 ac_cpp='$CXXCPP $CPPFLAGS'
30154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30158 ac_save_CXXFLAGS="$CXXFLAGS"
30159 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30160 if test "${glibcxx_cv_LFS+set}" = set; then
30161 echo $ECHO_N "(cached) $ECHO_C" >&6
30162 else
30164 if test x$gcc_no_link = xyes; then
30165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30167 { (exit 1); exit 1; }; }
30169 cat >conftest.$ac_ext <<_ACEOF
30170 /* confdefs.h. */
30171 _ACEOF
30172 cat confdefs.h >>conftest.$ac_ext
30173 cat >>conftest.$ac_ext <<_ACEOF
30174 /* end confdefs.h. */
30175 #include <unistd.h>
30176 #include <stdio.h>
30177 #include <sys/stat.h>
30180 main ()
30182 FILE* fp;
30183 fopen64("t", "w");
30184 fseeko64(fp, 0, SEEK_CUR);
30185 ftello64(fp);
30186 lseek64(1, 0, SEEK_CUR);
30187 struct stat64 buf;
30188 fstat64(1, &buf);
30190 return 0;
30192 _ACEOF
30193 rm -f conftest.$ac_objext conftest$ac_exeext
30194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30195 (eval $ac_link) 2>conftest.er1
30196 ac_status=$?
30197 grep -v '^ *+' conftest.er1 >conftest.err
30198 rm -f conftest.er1
30199 cat conftest.err >&5
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); } &&
30202 { ac_try='test -z "$ac_cxx_werror_flag"
30203 || test ! -s conftest.err'
30204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30205 (eval $ac_try) 2>&5
30206 ac_status=$?
30207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30208 (exit $ac_status); }; } &&
30209 { ac_try='test -s conftest$ac_exeext'
30210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30211 (eval $ac_try) 2>&5
30212 ac_status=$?
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); }; }; then
30215 glibcxx_cv_LFS=yes
30216 else
30217 echo "$as_me: failed program was:" >&5
30218 sed 's/^/| /' conftest.$ac_ext >&5
30220 glibcxx_cv_LFS=no
30222 rm -f conftest.err conftest.$ac_objext \
30223 conftest$ac_exeext conftest.$ac_ext
30227 if test $glibcxx_cv_LFS = yes; then
30228 cat >>confdefs.h <<\_ACEOF
30229 #define _GLIBCXX_USE_LFS 1
30230 _ACEOF
30233 CXXFLAGS="$ac_save_CXXFLAGS"
30234 ac_ext=c
30235 ac_cpp='$CPP $CPPFLAGS'
30236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30243 if test "${ac_cv_header_locale_h+set}" = set; then
30244 echo "$as_me:$LINENO: checking for locale.h" >&5
30245 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30246 if test "${ac_cv_header_locale_h+set}" = set; then
30247 echo $ECHO_N "(cached) $ECHO_C" >&6
30249 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30250 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30251 else
30252 # Is the header compilable?
30253 echo "$as_me:$LINENO: checking locale.h usability" >&5
30254 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30255 cat >conftest.$ac_ext <<_ACEOF
30256 /* confdefs.h. */
30257 _ACEOF
30258 cat confdefs.h >>conftest.$ac_ext
30259 cat >>conftest.$ac_ext <<_ACEOF
30260 /* end confdefs.h. */
30261 $ac_includes_default
30262 #include <locale.h>
30263 _ACEOF
30264 rm -f conftest.$ac_objext
30265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30266 (eval $ac_compile) 2>conftest.er1
30267 ac_status=$?
30268 grep -v '^ *+' conftest.er1 >conftest.err
30269 rm -f conftest.er1
30270 cat conftest.err >&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); } &&
30273 { ac_try='test -z "$ac_c_werror_flag"
30274 || test ! -s conftest.err'
30275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30276 (eval $ac_try) 2>&5
30277 ac_status=$?
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); }; } &&
30280 { ac_try='test -s conftest.$ac_objext'
30281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30282 (eval $ac_try) 2>&5
30283 ac_status=$?
30284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30285 (exit $ac_status); }; }; then
30286 ac_header_compiler=yes
30287 else
30288 echo "$as_me: failed program was:" >&5
30289 sed 's/^/| /' conftest.$ac_ext >&5
30291 ac_header_compiler=no
30293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30295 echo "${ECHO_T}$ac_header_compiler" >&6
30297 # Is the header present?
30298 echo "$as_me:$LINENO: checking locale.h presence" >&5
30299 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30300 cat >conftest.$ac_ext <<_ACEOF
30301 /* confdefs.h. */
30302 _ACEOF
30303 cat confdefs.h >>conftest.$ac_ext
30304 cat >>conftest.$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30306 #include <locale.h>
30307 _ACEOF
30308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30310 ac_status=$?
30311 grep -v '^ *+' conftest.er1 >conftest.err
30312 rm -f conftest.er1
30313 cat conftest.err >&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); } >/dev/null; then
30316 if test -s conftest.err; then
30317 ac_cpp_err=$ac_c_preproc_warn_flag
30318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30319 else
30320 ac_cpp_err=
30322 else
30323 ac_cpp_err=yes
30325 if test -z "$ac_cpp_err"; then
30326 ac_header_preproc=yes
30327 else
30328 echo "$as_me: failed program was:" >&5
30329 sed 's/^/| /' conftest.$ac_ext >&5
30331 ac_header_preproc=no
30333 rm -f conftest.err conftest.$ac_ext
30334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30335 echo "${ECHO_T}$ac_header_preproc" >&6
30337 # So? What about this header?
30338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30339 yes:no: )
30340 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30341 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30342 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30343 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30344 ac_header_preproc=yes
30346 no:yes:* )
30347 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30348 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30349 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30350 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30351 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30352 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30353 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30354 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30355 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30356 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30357 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30358 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30360 cat <<\_ASBOX
30361 ## ----------------------------------------- ##
30362 ## Report this to the package-unused lists. ##
30363 ## ----------------------------------------- ##
30364 _ASBOX
30366 sed "s/^/$as_me: WARNING: /" >&2
30368 esac
30369 echo "$as_me:$LINENO: checking for locale.h" >&5
30370 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30371 if test "${ac_cv_header_locale_h+set}" = set; then
30372 echo $ECHO_N "(cached) $ECHO_C" >&6
30373 else
30374 ac_cv_header_locale_h=$ac_header_preproc
30376 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30377 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30380 if test $ac_cv_header_locale_h = yes; then
30382 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30383 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30384 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30385 echo $ECHO_N "(cached) $ECHO_C" >&6
30386 else
30387 if test x$gcc_no_link = xyes; then
30388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30390 { (exit 1); exit 1; }; }
30392 cat >conftest.$ac_ext <<_ACEOF
30393 /* confdefs.h. */
30394 _ACEOF
30395 cat confdefs.h >>conftest.$ac_ext
30396 cat >>conftest.$ac_ext <<_ACEOF
30397 /* end confdefs.h. */
30398 #include <locale.h>
30400 main ()
30402 return LC_MESSAGES
30404 return 0;
30406 _ACEOF
30407 rm -f conftest.$ac_objext conftest$ac_exeext
30408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30409 (eval $ac_link) 2>conftest.er1
30410 ac_status=$?
30411 grep -v '^ *+' conftest.er1 >conftest.err
30412 rm -f conftest.er1
30413 cat conftest.err >&5
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); } &&
30416 { ac_try='test -z "$ac_c_werror_flag"
30417 || test ! -s conftest.err'
30418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30419 (eval $ac_try) 2>&5
30420 ac_status=$?
30421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422 (exit $ac_status); }; } &&
30423 { ac_try='test -s conftest$ac_exeext'
30424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30425 (eval $ac_try) 2>&5
30426 ac_status=$?
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); }; }; then
30429 ac_cv_val_LC_MESSAGES=yes
30430 else
30431 echo "$as_me: failed program was:" >&5
30432 sed 's/^/| /' conftest.$ac_ext >&5
30434 ac_cv_val_LC_MESSAGES=no
30436 rm -f conftest.err conftest.$ac_objext \
30437 conftest$ac_exeext conftest.$ac_ext
30439 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30440 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30441 if test $ac_cv_val_LC_MESSAGES = yes; then
30442 cat >>confdefs.h <<\_ACEOF
30443 #define HAVE_LC_MESSAGES 1
30444 _ACEOF
30453 cat >conftest.$ac_ext <<_ACEOF
30454 /* confdefs.h. */
30455 _ACEOF
30456 cat confdefs.h >>conftest.$ac_ext
30457 cat >>conftest.$ac_ext <<_ACEOF
30458 /* end confdefs.h. */
30459 #include <setjmp.h>
30461 main ()
30463 sigjmp_buf env;
30464 while (! sigsetjmp (env, 1))
30465 siglongjmp (env, 1);
30468 return 0;
30470 _ACEOF
30471 rm -f conftest.$ac_objext
30472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30473 (eval $ac_compile) 2>conftest.er1
30474 ac_status=$?
30475 grep -v '^ *+' conftest.er1 >conftest.err
30476 rm -f conftest.er1
30477 cat conftest.err >&5
30478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479 (exit $ac_status); } &&
30480 { ac_try='test -z "$ac_c_werror_flag"
30481 || test ! -s conftest.err'
30482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30483 (eval $ac_try) 2>&5
30484 ac_status=$?
30485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30486 (exit $ac_status); }; } &&
30487 { ac_try='test -s conftest.$ac_objext'
30488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30489 (eval $ac_try) 2>&5
30490 ac_status=$?
30491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30492 (exit $ac_status); }; }; then
30494 cat >>confdefs.h <<\_ACEOF
30495 #define HAVE_SIGSETJMP 1
30496 _ACEOF
30498 else
30499 echo "$as_me: failed program was:" >&5
30500 sed 's/^/| /' conftest.$ac_ext >&5
30503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30505 if test x$gcc_no_link = xyes; then
30506 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30507 ac_cv_func_mmap_fixed_mapped=no
30510 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30513 for ac_header in stdlib.h unistd.h
30515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30517 echo "$as_me:$LINENO: checking for $ac_header" >&5
30518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30520 echo $ECHO_N "(cached) $ECHO_C" >&6
30522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30524 else
30525 # Is the header compilable?
30526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30527 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30528 cat >conftest.$ac_ext <<_ACEOF
30529 /* confdefs.h. */
30530 _ACEOF
30531 cat confdefs.h >>conftest.$ac_ext
30532 cat >>conftest.$ac_ext <<_ACEOF
30533 /* end confdefs.h. */
30534 $ac_includes_default
30535 #include <$ac_header>
30536 _ACEOF
30537 rm -f conftest.$ac_objext
30538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30539 (eval $ac_compile) 2>conftest.er1
30540 ac_status=$?
30541 grep -v '^ *+' conftest.er1 >conftest.err
30542 rm -f conftest.er1
30543 cat conftest.err >&5
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); } &&
30546 { ac_try='test -z "$ac_c_werror_flag"
30547 || test ! -s conftest.err'
30548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30549 (eval $ac_try) 2>&5
30550 ac_status=$?
30551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30552 (exit $ac_status); }; } &&
30553 { ac_try='test -s conftest.$ac_objext'
30554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30555 (eval $ac_try) 2>&5
30556 ac_status=$?
30557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30558 (exit $ac_status); }; }; then
30559 ac_header_compiler=yes
30560 else
30561 echo "$as_me: failed program was:" >&5
30562 sed 's/^/| /' conftest.$ac_ext >&5
30564 ac_header_compiler=no
30566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30568 echo "${ECHO_T}$ac_header_compiler" >&6
30570 # Is the header present?
30571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30573 cat >conftest.$ac_ext <<_ACEOF
30574 /* confdefs.h. */
30575 _ACEOF
30576 cat confdefs.h >>conftest.$ac_ext
30577 cat >>conftest.$ac_ext <<_ACEOF
30578 /* end confdefs.h. */
30579 #include <$ac_header>
30580 _ACEOF
30581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30583 ac_status=$?
30584 grep -v '^ *+' conftest.er1 >conftest.err
30585 rm -f conftest.er1
30586 cat conftest.err >&5
30587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 (exit $ac_status); } >/dev/null; then
30589 if test -s conftest.err; then
30590 ac_cpp_err=$ac_c_preproc_warn_flag
30591 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30592 else
30593 ac_cpp_err=
30595 else
30596 ac_cpp_err=yes
30598 if test -z "$ac_cpp_err"; then
30599 ac_header_preproc=yes
30600 else
30601 echo "$as_me: failed program was:" >&5
30602 sed 's/^/| /' conftest.$ac_ext >&5
30604 ac_header_preproc=no
30606 rm -f conftest.err conftest.$ac_ext
30607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30608 echo "${ECHO_T}$ac_header_preproc" >&6
30610 # So? What about this header?
30611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30612 yes:no: )
30613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30616 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30617 ac_header_preproc=yes
30619 no:yes:* )
30620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30624 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30625 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30626 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30627 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30630 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30631 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30633 cat <<\_ASBOX
30634 ## ----------------------------------------- ##
30635 ## Report this to the package-unused lists. ##
30636 ## ----------------------------------------- ##
30637 _ASBOX
30639 sed "s/^/$as_me: WARNING: /" >&2
30641 esac
30642 echo "$as_me:$LINENO: checking for $ac_header" >&5
30643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30645 echo $ECHO_N "(cached) $ECHO_C" >&6
30646 else
30647 eval "$as_ac_Header=\$ac_header_preproc"
30649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30654 cat >>confdefs.h <<_ACEOF
30655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30656 _ACEOF
30660 done
30663 for ac_func in getpagesize
30665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30666 echo "$as_me:$LINENO: checking for $ac_func" >&5
30667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30668 if eval "test \"\${$as_ac_var+set}\" = set"; then
30669 echo $ECHO_N "(cached) $ECHO_C" >&6
30670 else
30671 if test x$gcc_no_link = xyes; then
30672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30674 { (exit 1); exit 1; }; }
30676 cat >conftest.$ac_ext <<_ACEOF
30677 /* confdefs.h. */
30678 _ACEOF
30679 cat confdefs.h >>conftest.$ac_ext
30680 cat >>conftest.$ac_ext <<_ACEOF
30681 /* end confdefs.h. */
30682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30684 #define $ac_func innocuous_$ac_func
30686 /* System header to define __stub macros and hopefully few prototypes,
30687 which can conflict with char $ac_func (); below.
30688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30689 <limits.h> exists even on freestanding compilers. */
30691 #ifdef __STDC__
30692 # include <limits.h>
30693 #else
30694 # include <assert.h>
30695 #endif
30697 #undef $ac_func
30699 /* Override any gcc2 internal prototype to avoid an error. */
30700 #ifdef __cplusplus
30701 extern "C"
30703 #endif
30704 /* We use char because int might match the return type of a gcc2
30705 builtin and then its argument prototype would still apply. */
30706 char $ac_func ();
30707 /* The GNU C library defines this for functions which it implements
30708 to always fail with ENOSYS. Some functions are actually named
30709 something starting with __ and the normal name is an alias. */
30710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30711 choke me
30712 #else
30713 char (*f) () = $ac_func;
30714 #endif
30715 #ifdef __cplusplus
30717 #endif
30720 main ()
30722 return f != $ac_func;
30724 return 0;
30726 _ACEOF
30727 rm -f conftest.$ac_objext conftest$ac_exeext
30728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30729 (eval $ac_link) 2>conftest.er1
30730 ac_status=$?
30731 grep -v '^ *+' conftest.er1 >conftest.err
30732 rm -f conftest.er1
30733 cat conftest.err >&5
30734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30735 (exit $ac_status); } &&
30736 { ac_try='test -z "$ac_c_werror_flag"
30737 || test ! -s conftest.err'
30738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30739 (eval $ac_try) 2>&5
30740 ac_status=$?
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); }; } &&
30743 { ac_try='test -s conftest$ac_exeext'
30744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30745 (eval $ac_try) 2>&5
30746 ac_status=$?
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); }; }; then
30749 eval "$as_ac_var=yes"
30750 else
30751 echo "$as_me: failed program was:" >&5
30752 sed 's/^/| /' conftest.$ac_ext >&5
30754 eval "$as_ac_var=no"
30756 rm -f conftest.err conftest.$ac_objext \
30757 conftest$ac_exeext conftest.$ac_ext
30759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30761 if test `eval echo '${'$as_ac_var'}'` = yes; then
30762 cat >>confdefs.h <<_ACEOF
30763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30764 _ACEOF
30767 done
30769 echo "$as_me:$LINENO: checking for working mmap" >&5
30770 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30771 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30772 echo $ECHO_N "(cached) $ECHO_C" >&6
30773 else
30774 if test "$cross_compiling" = yes; then
30775 ac_cv_func_mmap_fixed_mapped=no
30776 else
30777 cat >conftest.$ac_ext <<_ACEOF
30778 /* confdefs.h. */
30779 _ACEOF
30780 cat confdefs.h >>conftest.$ac_ext
30781 cat >>conftest.$ac_ext <<_ACEOF
30782 /* end confdefs.h. */
30783 $ac_includes_default
30784 /* malloc might have been renamed as rpl_malloc. */
30785 #undef malloc
30787 /* Thanks to Mike Haertel and Jim Avera for this test.
30788 Here is a matrix of mmap possibilities:
30789 mmap private not fixed
30790 mmap private fixed at somewhere currently unmapped
30791 mmap private fixed at somewhere already mapped
30792 mmap shared not fixed
30793 mmap shared fixed at somewhere currently unmapped
30794 mmap shared fixed at somewhere already mapped
30795 For private mappings, we should verify that changes cannot be read()
30796 back from the file, nor mmap's back from the file at a different
30797 address. (There have been systems where private was not correctly
30798 implemented like the infamous i386 svr4.0, and systems where the
30799 VM page cache was not coherent with the file system buffer cache
30800 like early versions of FreeBSD and possibly contemporary NetBSD.)
30801 For shared mappings, we should conversely verify that changes get
30802 propagated back to all the places they're supposed to be.
30804 Grep wants private fixed already mapped.
30805 The main things grep needs to know about mmap are:
30806 * does it exist and is it safe to write into the mmap'd area
30807 * how to use it (BSD variants) */
30809 #include <fcntl.h>
30810 #include <sys/mman.h>
30812 #if !STDC_HEADERS && !HAVE_STDLIB_H
30813 char *malloc ();
30814 #endif
30816 /* This mess was copied from the GNU getpagesize.h. */
30817 #if !HAVE_GETPAGESIZE
30818 /* Assume that all systems that can run configure have sys/param.h. */
30819 # if !HAVE_SYS_PARAM_H
30820 # define HAVE_SYS_PARAM_H 1
30821 # endif
30823 # ifdef _SC_PAGESIZE
30824 # define getpagesize() sysconf(_SC_PAGESIZE)
30825 # else /* no _SC_PAGESIZE */
30826 # if HAVE_SYS_PARAM_H
30827 # include <sys/param.h>
30828 # ifdef EXEC_PAGESIZE
30829 # define getpagesize() EXEC_PAGESIZE
30830 # else /* no EXEC_PAGESIZE */
30831 # ifdef NBPG
30832 # define getpagesize() NBPG * CLSIZE
30833 # ifndef CLSIZE
30834 # define CLSIZE 1
30835 # endif /* no CLSIZE */
30836 # else /* no NBPG */
30837 # ifdef NBPC
30838 # define getpagesize() NBPC
30839 # else /* no NBPC */
30840 # ifdef PAGESIZE
30841 # define getpagesize() PAGESIZE
30842 # endif /* PAGESIZE */
30843 # endif /* no NBPC */
30844 # endif /* no NBPG */
30845 # endif /* no EXEC_PAGESIZE */
30846 # else /* no HAVE_SYS_PARAM_H */
30847 # define getpagesize() 8192 /* punt totally */
30848 # endif /* no HAVE_SYS_PARAM_H */
30849 # endif /* no _SC_PAGESIZE */
30851 #endif /* no HAVE_GETPAGESIZE */
30854 main ()
30856 char *data, *data2, *data3;
30857 int i, pagesize;
30858 int fd;
30860 pagesize = getpagesize ();
30862 /* First, make a file with some known garbage in it. */
30863 data = (char *) malloc (pagesize);
30864 if (!data)
30865 exit (1);
30866 for (i = 0; i < pagesize; ++i)
30867 *(data + i) = rand ();
30868 umask (0);
30869 fd = creat ("conftest.mmap", 0600);
30870 if (fd < 0)
30871 exit (1);
30872 if (write (fd, data, pagesize) != pagesize)
30873 exit (1);
30874 close (fd);
30876 /* Next, try to mmap the file at a fixed address which already has
30877 something else allocated at it. If we can, also make sure that
30878 we see the same garbage. */
30879 fd = open ("conftest.mmap", O_RDWR);
30880 if (fd < 0)
30881 exit (1);
30882 data2 = (char *) malloc (2 * pagesize);
30883 if (!data2)
30884 exit (1);
30885 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30886 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30887 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30888 exit (1);
30889 for (i = 0; i < pagesize; ++i)
30890 if (*(data + i) != *(data2 + i))
30891 exit (1);
30893 /* Finally, make sure that changes to the mapped area do not
30894 percolate back to the file as seen by read(). (This is a bug on
30895 some variants of i386 svr4.0.) */
30896 for (i = 0; i < pagesize; ++i)
30897 *(data2 + i) = *(data2 + i) + 1;
30898 data3 = (char *) malloc (pagesize);
30899 if (!data3)
30900 exit (1);
30901 if (read (fd, data3, pagesize) != pagesize)
30902 exit (1);
30903 for (i = 0; i < pagesize; ++i)
30904 if (*(data + i) != *(data3 + i))
30905 exit (1);
30906 close (fd);
30907 exit (0);
30909 _ACEOF
30910 rm -f conftest$ac_exeext
30911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30912 (eval $ac_link) 2>&5
30913 ac_status=$?
30914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30917 (eval $ac_try) 2>&5
30918 ac_status=$?
30919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30920 (exit $ac_status); }; }; then
30921 ac_cv_func_mmap_fixed_mapped=yes
30922 else
30923 echo "$as_me: program exited with status $ac_status" >&5
30924 echo "$as_me: failed program was:" >&5
30925 sed 's/^/| /' conftest.$ac_ext >&5
30927 ( exit $ac_status )
30928 ac_cv_func_mmap_fixed_mapped=no
30930 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30933 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30934 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30935 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30937 cat >>confdefs.h <<\_ACEOF
30938 #define HAVE_MMAP 1
30939 _ACEOF
30942 rm -f conftest.mmap
30946 else
30948 # This lets us hard-code the functionality we know we'll have in the cross
30949 # target environment. "Let" is a sugar-coated word placed on an especially
30950 # dull and tedious hack, actually.
30952 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30953 # that involve linking, can't be used:
30954 # "cannot open sim-crt0.o"
30955 # "cannot open crt0.o"
30956 # etc. All this is because there currently exists no unified, consistent
30957 # way for top level CC information to be passed down to target directories:
30958 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30959 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30960 # crosses can be removed.
30962 # If Canadian cross, then don't pick up tools from the build directory.
30963 # Used only in GLIBCXX_EXPORT_INCLUDES.
30964 if test -n "$with_cross_host" &&
30965 test x"$build_alias" != x"$with_cross_host" &&
30966 test x"$build" != x"$target";
30967 then
30968 CANADIAN=yes
30969 else
30970 CANADIAN=no
30973 # Construct crosses by hand, eliminating bits that need ld...
30974 # GLIBCXX_CHECK_COMPILER_FEATURES
30975 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30976 # GLIBCXX_CHECK_MATH_SUPPORT
30978 # First, test for "known" system libraries. We may be using newlib even
30979 # on a hosted environment.
30980 if test "x${with_newlib}" = "xyes"; then
30981 os_include_dir="os/newlib"
30982 cat >>confdefs.h <<\_ACEOF
30983 #define HAVE_HYPOT 1
30984 _ACEOF
30987 # GLIBCXX_CHECK_STDLIB_SUPPORT
30988 cat >>confdefs.h <<\_ACEOF
30989 #define HAVE_STRTOF 1
30990 _ACEOF
30992 cat >>confdefs.h <<\_ACEOF
30993 #define HAVE_STRTOLD 1
30994 _ACEOF
30996 # AC_FUNC_MMAP
30997 cat >>confdefs.h <<\_ACEOF
30998 #define HAVE_MMAP 1
30999 _ACEOF
31002 cat >>confdefs.h <<\_ACEOF
31003 #define HAVE_ACOSF 1
31004 _ACEOF
31006 cat >>confdefs.h <<\_ACEOF
31007 #define HAVE_ASINF 1
31008 _ACEOF
31010 cat >>confdefs.h <<\_ACEOF
31011 #define HAVE_ATAN2F 1
31012 _ACEOF
31014 cat >>confdefs.h <<\_ACEOF
31015 #define HAVE_ATANF 1
31016 _ACEOF
31018 cat >>confdefs.h <<\_ACEOF
31019 #define HAVE_CEILF 1
31020 _ACEOF
31022 cat >>confdefs.h <<\_ACEOF
31023 #define HAVE_COPYSIGN 1
31024 _ACEOF
31026 cat >>confdefs.h <<\_ACEOF
31027 #define HAVE_COPYSIGNF 1
31028 _ACEOF
31030 cat >>confdefs.h <<\_ACEOF
31031 #define HAVE_COSF 1
31032 _ACEOF
31034 cat >>confdefs.h <<\_ACEOF
31035 #define HAVE_COSHF 1
31036 _ACEOF
31038 cat >>confdefs.h <<\_ACEOF
31039 #define HAVE_EXPF 1
31040 _ACEOF
31042 cat >>confdefs.h <<\_ACEOF
31043 #define HAVE_FABSF 1
31044 _ACEOF
31046 cat >>confdefs.h <<\_ACEOF
31047 #define HAVE_FLOORF 1
31048 _ACEOF
31050 cat >>confdefs.h <<\_ACEOF
31051 #define HAVE_FMODF 1
31052 _ACEOF
31054 cat >>confdefs.h <<\_ACEOF
31055 #define HAVE_FREXPF 1
31056 _ACEOF
31058 cat >>confdefs.h <<\_ACEOF
31059 #define HAVE_LDEXPF 1
31060 _ACEOF
31062 cat >>confdefs.h <<\_ACEOF
31063 #define HAVE_LOG10F 1
31064 _ACEOF
31066 cat >>confdefs.h <<\_ACEOF
31067 #define HAVE_LOGF 1
31068 _ACEOF
31070 cat >>confdefs.h <<\_ACEOF
31071 #define HAVE_MODFF 1
31072 _ACEOF
31074 cat >>confdefs.h <<\_ACEOF
31075 #define HAVE_POWF 1
31076 _ACEOF
31078 cat >>confdefs.h <<\_ACEOF
31079 #define HAVE_SINF 1
31080 _ACEOF
31082 cat >>confdefs.h <<\_ACEOF
31083 #define HAVE_SINHF 1
31084 _ACEOF
31086 cat >>confdefs.h <<\_ACEOF
31087 #define HAVE_SQRTF 1
31088 _ACEOF
31090 cat >>confdefs.h <<\_ACEOF
31091 #define HAVE_TANF 1
31092 _ACEOF
31094 cat >>confdefs.h <<\_ACEOF
31095 #define HAVE_TANHF 1
31096 _ACEOF
31099 cat >>confdefs.h <<\_ACEOF
31100 #define HAVE_S_ISREG 1
31101 _ACEOF
31103 cat >>confdefs.h <<\_ACEOF
31104 #define HAVE_S_IFREG 1
31105 _ACEOF
31107 else
31109 # Base decisions on target environment.
31110 case "${host}" in
31111 arm*-*-symbianelf*)
31112 # This is a freestanding configuration; there is nothing to do here.
31115 *-darwin*)
31116 # Darwin versions vary, but the linker should work in a cross environment,
31117 # so we just check for all the features here.
31118 # Check for available headers.
31132 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31133 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31134 sys/types.h
31136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31138 echo "$as_me:$LINENO: checking for $ac_header" >&5
31139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31141 echo $ECHO_N "(cached) $ECHO_C" >&6
31143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31145 else
31146 # Is the header compilable?
31147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31149 cat >conftest.$ac_ext <<_ACEOF
31150 /* confdefs.h. */
31151 _ACEOF
31152 cat confdefs.h >>conftest.$ac_ext
31153 cat >>conftest.$ac_ext <<_ACEOF
31154 /* end confdefs.h. */
31155 $ac_includes_default
31156 #include <$ac_header>
31157 _ACEOF
31158 rm -f conftest.$ac_objext
31159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31160 (eval $ac_compile) 2>conftest.er1
31161 ac_status=$?
31162 grep -v '^ *+' conftest.er1 >conftest.err
31163 rm -f conftest.er1
31164 cat conftest.err >&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } &&
31167 { ac_try='test -z "$ac_c_werror_flag"
31168 || test ! -s conftest.err'
31169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31170 (eval $ac_try) 2>&5
31171 ac_status=$?
31172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31173 (exit $ac_status); }; } &&
31174 { ac_try='test -s conftest.$ac_objext'
31175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31176 (eval $ac_try) 2>&5
31177 ac_status=$?
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); }; }; then
31180 ac_header_compiler=yes
31181 else
31182 echo "$as_me: failed program was:" >&5
31183 sed 's/^/| /' conftest.$ac_ext >&5
31185 ac_header_compiler=no
31187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31189 echo "${ECHO_T}$ac_header_compiler" >&6
31191 # Is the header present?
31192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31194 cat >conftest.$ac_ext <<_ACEOF
31195 /* confdefs.h. */
31196 _ACEOF
31197 cat confdefs.h >>conftest.$ac_ext
31198 cat >>conftest.$ac_ext <<_ACEOF
31199 /* end confdefs.h. */
31200 #include <$ac_header>
31201 _ACEOF
31202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31204 ac_status=$?
31205 grep -v '^ *+' conftest.er1 >conftest.err
31206 rm -f conftest.er1
31207 cat conftest.err >&5
31208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31209 (exit $ac_status); } >/dev/null; then
31210 if test -s conftest.err; then
31211 ac_cpp_err=$ac_c_preproc_warn_flag
31212 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31213 else
31214 ac_cpp_err=
31216 else
31217 ac_cpp_err=yes
31219 if test -z "$ac_cpp_err"; then
31220 ac_header_preproc=yes
31221 else
31222 echo "$as_me: failed program was:" >&5
31223 sed 's/^/| /' conftest.$ac_ext >&5
31225 ac_header_preproc=no
31227 rm -f conftest.err conftest.$ac_ext
31228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31229 echo "${ECHO_T}$ac_header_preproc" >&6
31231 # So? What about this header?
31232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31233 yes:no: )
31234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31238 ac_header_preproc=yes
31240 no:yes:* )
31241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31254 cat <<\_ASBOX
31255 ## ----------------------------------------- ##
31256 ## Report this to the package-unused lists. ##
31257 ## ----------------------------------------- ##
31258 _ASBOX
31260 sed "s/^/$as_me: WARNING: /" >&2
31262 esac
31263 echo "$as_me:$LINENO: checking for $ac_header" >&5
31264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31266 echo $ECHO_N "(cached) $ECHO_C" >&6
31267 else
31268 eval "$as_ac_Header=\$ac_header_preproc"
31270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31275 cat >>confdefs.h <<_ACEOF
31276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31277 _ACEOF
31281 done
31285 # All these tests are for C++; save the language and the compiler flags.
31286 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31287 # found in GLIBCXX_CONFIGURE.
31290 ac_ext=cc
31291 ac_cpp='$CXXCPP $CPPFLAGS'
31292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31296 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31297 ac_save_CXXFLAGS="$CXXFLAGS"
31299 # Check for maintainer-mode bits.
31300 if test x"$USE_MAINTAINER_MODE" = xno; then
31301 WERROR=''
31302 else
31303 WERROR='-Werror'
31306 # Check for -ffunction-sections -fdata-sections
31307 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31308 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31309 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31310 cat >conftest.$ac_ext <<_ACEOF
31311 /* confdefs.h. */
31312 _ACEOF
31313 cat confdefs.h >>conftest.$ac_ext
31314 cat >>conftest.$ac_ext <<_ACEOF
31315 /* end confdefs.h. */
31318 main ()
31320 int foo;
31322 return 0;
31324 _ACEOF
31325 rm -f conftest.$ac_objext
31326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31327 (eval $ac_compile) 2>conftest.er1
31328 ac_status=$?
31329 grep -v '^ *+' conftest.er1 >conftest.err
31330 rm -f conftest.er1
31331 cat conftest.err >&5
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); } &&
31334 { ac_try='test -z "$ac_cxx_werror_flag"
31335 || test ! -s conftest.err'
31336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31337 (eval $ac_try) 2>&5
31338 ac_status=$?
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); }; } &&
31341 { ac_try='test -s conftest.$ac_objext'
31342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31343 (eval $ac_try) 2>&5
31344 ac_status=$?
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); }; }; then
31347 ac_fdsections=yes
31348 else
31349 echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.$ac_ext >&5
31352 ac_fdsections=no
31354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31355 if test "$ac_test_CXXFLAGS" = set; then
31356 CXXFLAGS="$ac_save_CXXFLAGS"
31357 else
31358 # this is the suspicious part
31359 CXXFLAGS=''
31361 if test x"$ac_fdsections" = x"yes"; then
31362 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31364 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31365 echo "${ECHO_T}$ac_fdsections" >&6
31367 ac_ext=c
31368 ac_cpp='$CPP $CPPFLAGS'
31369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31376 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31378 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31379 ac_save_CXXFLAGS="$CXXFLAGS"
31380 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31382 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31383 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31384 if test "${ac_cv_lib_m_sin+set}" = set; then
31385 echo $ECHO_N "(cached) $ECHO_C" >&6
31386 else
31387 ac_check_lib_save_LIBS=$LIBS
31388 LIBS="-lm $LIBS"
31389 if test x$gcc_no_link = xyes; then
31390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31392 { (exit 1); exit 1; }; }
31394 cat >conftest.$ac_ext <<_ACEOF
31395 /* confdefs.h. */
31396 _ACEOF
31397 cat confdefs.h >>conftest.$ac_ext
31398 cat >>conftest.$ac_ext <<_ACEOF
31399 /* end confdefs.h. */
31401 /* Override any gcc2 internal prototype to avoid an error. */
31402 #ifdef __cplusplus
31403 extern "C"
31404 #endif
31405 /* We use char because int might match the return type of a gcc2
31406 builtin and then its argument prototype would still apply. */
31407 char sin ();
31409 main ()
31411 sin ();
31413 return 0;
31415 _ACEOF
31416 rm -f conftest.$ac_objext conftest$ac_exeext
31417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31418 (eval $ac_link) 2>conftest.er1
31419 ac_status=$?
31420 grep -v '^ *+' conftest.er1 >conftest.err
31421 rm -f conftest.er1
31422 cat conftest.err >&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); } &&
31425 { ac_try='test -z "$ac_c_werror_flag"
31426 || test ! -s conftest.err'
31427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31428 (eval $ac_try) 2>&5
31429 ac_status=$?
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); }; } &&
31432 { ac_try='test -s conftest$ac_exeext'
31433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31434 (eval $ac_try) 2>&5
31435 ac_status=$?
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); }; }; then
31438 ac_cv_lib_m_sin=yes
31439 else
31440 echo "$as_me: failed program was:" >&5
31441 sed 's/^/| /' conftest.$ac_ext >&5
31443 ac_cv_lib_m_sin=no
31445 rm -f conftest.err conftest.$ac_objext \
31446 conftest$ac_exeext conftest.$ac_ext
31447 LIBS=$ac_check_lib_save_LIBS
31449 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31450 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31451 if test $ac_cv_lib_m_sin = yes; then
31452 libm="-lm"
31455 ac_save_LIBS="$LIBS"
31456 LIBS="$LIBS $libm"
31460 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31461 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31462 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31463 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31464 echo $ECHO_N "(cached) $ECHO_C" >&6
31465 else
31469 ac_ext=cc
31470 ac_cpp='$CXXCPP $CPPFLAGS'
31471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31475 cat >conftest.$ac_ext <<_ACEOF
31476 /* confdefs.h. */
31477 _ACEOF
31478 cat confdefs.h >>conftest.$ac_ext
31479 cat >>conftest.$ac_ext <<_ACEOF
31480 /* end confdefs.h. */
31481 #include <math.h>
31482 #ifdef HAVE_IEEEFP_H
31483 #include <ieeefp.h>
31484 #endif
31487 main ()
31489 isinf(0);
31491 return 0;
31493 _ACEOF
31494 rm -f conftest.$ac_objext
31495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31496 (eval $ac_compile) 2>conftest.er1
31497 ac_status=$?
31498 grep -v '^ *+' conftest.er1 >conftest.err
31499 rm -f conftest.er1
31500 cat conftest.err >&5
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); } &&
31503 { ac_try='test -z "$ac_cxx_werror_flag"
31504 || test ! -s conftest.err'
31505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31506 (eval $ac_try) 2>&5
31507 ac_status=$?
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); }; } &&
31510 { ac_try='test -s conftest.$ac_objext'
31511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31512 (eval $ac_try) 2>&5
31513 ac_status=$?
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); }; }; then
31516 glibcxx_cv_func_isinf_use=yes
31517 else
31518 echo "$as_me: failed program was:" >&5
31519 sed 's/^/| /' conftest.$ac_ext >&5
31521 glibcxx_cv_func_isinf_use=no
31523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31524 ac_ext=c
31525 ac_cpp='$CPP $CPPFLAGS'
31526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31534 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31535 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31537 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31539 for ac_func in isinf
31541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31542 echo "$as_me:$LINENO: checking for $ac_func" >&5
31543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31544 if eval "test \"\${$as_ac_var+set}\" = set"; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31546 else
31547 if test x$gcc_no_link = xyes; then
31548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31550 { (exit 1); exit 1; }; }
31552 cat >conftest.$ac_ext <<_ACEOF
31553 /* confdefs.h. */
31554 _ACEOF
31555 cat confdefs.h >>conftest.$ac_ext
31556 cat >>conftest.$ac_ext <<_ACEOF
31557 /* end confdefs.h. */
31558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31560 #define $ac_func innocuous_$ac_func
31562 /* System header to define __stub macros and hopefully few prototypes,
31563 which can conflict with char $ac_func (); below.
31564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31565 <limits.h> exists even on freestanding compilers. */
31567 #ifdef __STDC__
31568 # include <limits.h>
31569 #else
31570 # include <assert.h>
31571 #endif
31573 #undef $ac_func
31575 /* Override any gcc2 internal prototype to avoid an error. */
31576 #ifdef __cplusplus
31577 extern "C"
31579 #endif
31580 /* We use char because int might match the return type of a gcc2
31581 builtin and then its argument prototype would still apply. */
31582 char $ac_func ();
31583 /* The GNU C library defines this for functions which it implements
31584 to always fail with ENOSYS. Some functions are actually named
31585 something starting with __ and the normal name is an alias. */
31586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31587 choke me
31588 #else
31589 char (*f) () = $ac_func;
31590 #endif
31591 #ifdef __cplusplus
31593 #endif
31596 main ()
31598 return f != $ac_func;
31600 return 0;
31602 _ACEOF
31603 rm -f conftest.$ac_objext conftest$ac_exeext
31604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31605 (eval $ac_link) 2>conftest.er1
31606 ac_status=$?
31607 grep -v '^ *+' conftest.er1 >conftest.err
31608 rm -f conftest.er1
31609 cat conftest.err >&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); } &&
31612 { ac_try='test -z "$ac_c_werror_flag"
31613 || test ! -s conftest.err'
31614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31615 (eval $ac_try) 2>&5
31616 ac_status=$?
31617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31618 (exit $ac_status); }; } &&
31619 { ac_try='test -s conftest$ac_exeext'
31620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31621 (eval $ac_try) 2>&5
31622 ac_status=$?
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); }; }; then
31625 eval "$as_ac_var=yes"
31626 else
31627 echo "$as_me: failed program was:" >&5
31628 sed 's/^/| /' conftest.$ac_ext >&5
31630 eval "$as_ac_var=no"
31632 rm -f conftest.err conftest.$ac_objext \
31633 conftest$ac_exeext conftest.$ac_ext
31635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31637 if test `eval echo '${'$as_ac_var'}'` = yes; then
31638 cat >>confdefs.h <<_ACEOF
31639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31640 _ACEOF
31643 done
31645 else
31647 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31648 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31649 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31650 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31652 else
31656 ac_ext=cc
31657 ac_cpp='$CXXCPP $CPPFLAGS'
31658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31662 cat >conftest.$ac_ext <<_ACEOF
31663 /* confdefs.h. */
31664 _ACEOF
31665 cat confdefs.h >>conftest.$ac_ext
31666 cat >>conftest.$ac_ext <<_ACEOF
31667 /* end confdefs.h. */
31668 #include <math.h>
31669 #ifdef HAVE_IEEEFP_H
31670 #include <ieeefp.h>
31671 #endif
31674 main ()
31676 _isinf(0);
31678 return 0;
31680 _ACEOF
31681 rm -f conftest.$ac_objext
31682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31683 (eval $ac_compile) 2>conftest.er1
31684 ac_status=$?
31685 grep -v '^ *+' conftest.er1 >conftest.err
31686 rm -f conftest.er1
31687 cat conftest.err >&5
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); } &&
31690 { ac_try='test -z "$ac_cxx_werror_flag"
31691 || test ! -s conftest.err'
31692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31693 (eval $ac_try) 2>&5
31694 ac_status=$?
31695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31696 (exit $ac_status); }; } &&
31697 { ac_try='test -s conftest.$ac_objext'
31698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31699 (eval $ac_try) 2>&5
31700 ac_status=$?
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); }; }; then
31703 glibcxx_cv_func__isinf_use=yes
31704 else
31705 echo "$as_me: failed program was:" >&5
31706 sed 's/^/| /' conftest.$ac_ext >&5
31708 glibcxx_cv_func__isinf_use=no
31710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31711 ac_ext=c
31712 ac_cpp='$CPP $CPPFLAGS'
31713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31721 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31722 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31724 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31726 for ac_func in _isinf
31728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31729 echo "$as_me:$LINENO: checking for $ac_func" >&5
31730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31731 if eval "test \"\${$as_ac_var+set}\" = set"; then
31732 echo $ECHO_N "(cached) $ECHO_C" >&6
31733 else
31734 if test x$gcc_no_link = xyes; then
31735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31737 { (exit 1); exit 1; }; }
31739 cat >conftest.$ac_ext <<_ACEOF
31740 /* confdefs.h. */
31741 _ACEOF
31742 cat confdefs.h >>conftest.$ac_ext
31743 cat >>conftest.$ac_ext <<_ACEOF
31744 /* end confdefs.h. */
31745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31747 #define $ac_func innocuous_$ac_func
31749 /* System header to define __stub macros and hopefully few prototypes,
31750 which can conflict with char $ac_func (); below.
31751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31752 <limits.h> exists even on freestanding compilers. */
31754 #ifdef __STDC__
31755 # include <limits.h>
31756 #else
31757 # include <assert.h>
31758 #endif
31760 #undef $ac_func
31762 /* Override any gcc2 internal prototype to avoid an error. */
31763 #ifdef __cplusplus
31764 extern "C"
31766 #endif
31767 /* We use char because int might match the return type of a gcc2
31768 builtin and then its argument prototype would still apply. */
31769 char $ac_func ();
31770 /* The GNU C library defines this for functions which it implements
31771 to always fail with ENOSYS. Some functions are actually named
31772 something starting with __ and the normal name is an alias. */
31773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31774 choke me
31775 #else
31776 char (*f) () = $ac_func;
31777 #endif
31778 #ifdef __cplusplus
31780 #endif
31783 main ()
31785 return f != $ac_func;
31787 return 0;
31789 _ACEOF
31790 rm -f conftest.$ac_objext conftest$ac_exeext
31791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31792 (eval $ac_link) 2>conftest.er1
31793 ac_status=$?
31794 grep -v '^ *+' conftest.er1 >conftest.err
31795 rm -f conftest.er1
31796 cat conftest.err >&5
31797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31798 (exit $ac_status); } &&
31799 { ac_try='test -z "$ac_c_werror_flag"
31800 || test ! -s conftest.err'
31801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31802 (eval $ac_try) 2>&5
31803 ac_status=$?
31804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31805 (exit $ac_status); }; } &&
31806 { ac_try='test -s conftest$ac_exeext'
31807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31808 (eval $ac_try) 2>&5
31809 ac_status=$?
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); }; }; then
31812 eval "$as_ac_var=yes"
31813 else
31814 echo "$as_me: failed program was:" >&5
31815 sed 's/^/| /' conftest.$ac_ext >&5
31817 eval "$as_ac_var=no"
31819 rm -f conftest.err conftest.$ac_objext \
31820 conftest$ac_exeext conftest.$ac_ext
31822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31824 if test `eval echo '${'$as_ac_var'}'` = yes; then
31825 cat >>confdefs.h <<_ACEOF
31826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31827 _ACEOF
31830 done
31837 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31838 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31839 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31840 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31841 echo $ECHO_N "(cached) $ECHO_C" >&6
31842 else
31846 ac_ext=cc
31847 ac_cpp='$CXXCPP $CPPFLAGS'
31848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31852 cat >conftest.$ac_ext <<_ACEOF
31853 /* confdefs.h. */
31854 _ACEOF
31855 cat confdefs.h >>conftest.$ac_ext
31856 cat >>conftest.$ac_ext <<_ACEOF
31857 /* end confdefs.h. */
31858 #include <math.h>
31859 #ifdef HAVE_IEEEFP_H
31860 #include <ieeefp.h>
31861 #endif
31864 main ()
31866 isnan(0);
31868 return 0;
31870 _ACEOF
31871 rm -f conftest.$ac_objext
31872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31873 (eval $ac_compile) 2>conftest.er1
31874 ac_status=$?
31875 grep -v '^ *+' conftest.er1 >conftest.err
31876 rm -f conftest.er1
31877 cat conftest.err >&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); } &&
31880 { ac_try='test -z "$ac_cxx_werror_flag"
31881 || test ! -s conftest.err'
31882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31883 (eval $ac_try) 2>&5
31884 ac_status=$?
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); }; } &&
31887 { ac_try='test -s conftest.$ac_objext'
31888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31889 (eval $ac_try) 2>&5
31890 ac_status=$?
31891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892 (exit $ac_status); }; }; then
31893 glibcxx_cv_func_isnan_use=yes
31894 else
31895 echo "$as_me: failed program was:" >&5
31896 sed 's/^/| /' conftest.$ac_ext >&5
31898 glibcxx_cv_func_isnan_use=no
31900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31901 ac_ext=c
31902 ac_cpp='$CPP $CPPFLAGS'
31903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31911 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31912 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31914 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31916 for ac_func in isnan
31918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31919 echo "$as_me:$LINENO: checking for $ac_func" >&5
31920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31921 if eval "test \"\${$as_ac_var+set}\" = set"; then
31922 echo $ECHO_N "(cached) $ECHO_C" >&6
31923 else
31924 if test x$gcc_no_link = xyes; then
31925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31927 { (exit 1); exit 1; }; }
31929 cat >conftest.$ac_ext <<_ACEOF
31930 /* confdefs.h. */
31931 _ACEOF
31932 cat confdefs.h >>conftest.$ac_ext
31933 cat >>conftest.$ac_ext <<_ACEOF
31934 /* end confdefs.h. */
31935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31937 #define $ac_func innocuous_$ac_func
31939 /* System header to define __stub macros and hopefully few prototypes,
31940 which can conflict with char $ac_func (); below.
31941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31942 <limits.h> exists even on freestanding compilers. */
31944 #ifdef __STDC__
31945 # include <limits.h>
31946 #else
31947 # include <assert.h>
31948 #endif
31950 #undef $ac_func
31952 /* Override any gcc2 internal prototype to avoid an error. */
31953 #ifdef __cplusplus
31954 extern "C"
31956 #endif
31957 /* We use char because int might match the return type of a gcc2
31958 builtin and then its argument prototype would still apply. */
31959 char $ac_func ();
31960 /* The GNU C library defines this for functions which it implements
31961 to always fail with ENOSYS. Some functions are actually named
31962 something starting with __ and the normal name is an alias. */
31963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31964 choke me
31965 #else
31966 char (*f) () = $ac_func;
31967 #endif
31968 #ifdef __cplusplus
31970 #endif
31973 main ()
31975 return f != $ac_func;
31977 return 0;
31979 _ACEOF
31980 rm -f conftest.$ac_objext conftest$ac_exeext
31981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31982 (eval $ac_link) 2>conftest.er1
31983 ac_status=$?
31984 grep -v '^ *+' conftest.er1 >conftest.err
31985 rm -f conftest.er1
31986 cat conftest.err >&5
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); } &&
31989 { ac_try='test -z "$ac_c_werror_flag"
31990 || test ! -s conftest.err'
31991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31992 (eval $ac_try) 2>&5
31993 ac_status=$?
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); }; } &&
31996 { ac_try='test -s conftest$ac_exeext'
31997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31998 (eval $ac_try) 2>&5
31999 ac_status=$?
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); }; }; then
32002 eval "$as_ac_var=yes"
32003 else
32004 echo "$as_me: failed program was:" >&5
32005 sed 's/^/| /' conftest.$ac_ext >&5
32007 eval "$as_ac_var=no"
32009 rm -f conftest.err conftest.$ac_objext \
32010 conftest$ac_exeext conftest.$ac_ext
32012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32014 if test `eval echo '${'$as_ac_var'}'` = yes; then
32015 cat >>confdefs.h <<_ACEOF
32016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32017 _ACEOF
32020 done
32022 else
32024 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32025 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32026 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32027 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32028 echo $ECHO_N "(cached) $ECHO_C" >&6
32029 else
32033 ac_ext=cc
32034 ac_cpp='$CXXCPP $CPPFLAGS'
32035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32039 cat >conftest.$ac_ext <<_ACEOF
32040 /* confdefs.h. */
32041 _ACEOF
32042 cat confdefs.h >>conftest.$ac_ext
32043 cat >>conftest.$ac_ext <<_ACEOF
32044 /* end confdefs.h. */
32045 #include <math.h>
32046 #ifdef HAVE_IEEEFP_H
32047 #include <ieeefp.h>
32048 #endif
32051 main ()
32053 _isnan(0);
32055 return 0;
32057 _ACEOF
32058 rm -f conftest.$ac_objext
32059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32060 (eval $ac_compile) 2>conftest.er1
32061 ac_status=$?
32062 grep -v '^ *+' conftest.er1 >conftest.err
32063 rm -f conftest.er1
32064 cat conftest.err >&5
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); } &&
32067 { ac_try='test -z "$ac_cxx_werror_flag"
32068 || test ! -s conftest.err'
32069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32070 (eval $ac_try) 2>&5
32071 ac_status=$?
32072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32073 (exit $ac_status); }; } &&
32074 { ac_try='test -s conftest.$ac_objext'
32075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32076 (eval $ac_try) 2>&5
32077 ac_status=$?
32078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32079 (exit $ac_status); }; }; then
32080 glibcxx_cv_func__isnan_use=yes
32081 else
32082 echo "$as_me: failed program was:" >&5
32083 sed 's/^/| /' conftest.$ac_ext >&5
32085 glibcxx_cv_func__isnan_use=no
32087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32088 ac_ext=c
32089 ac_cpp='$CPP $CPPFLAGS'
32090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32098 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32099 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32101 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32103 for ac_func in _isnan
32105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32106 echo "$as_me:$LINENO: checking for $ac_func" >&5
32107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32108 if eval "test \"\${$as_ac_var+set}\" = set"; then
32109 echo $ECHO_N "(cached) $ECHO_C" >&6
32110 else
32111 if test x$gcc_no_link = xyes; then
32112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32114 { (exit 1); exit 1; }; }
32116 cat >conftest.$ac_ext <<_ACEOF
32117 /* confdefs.h. */
32118 _ACEOF
32119 cat confdefs.h >>conftest.$ac_ext
32120 cat >>conftest.$ac_ext <<_ACEOF
32121 /* end confdefs.h. */
32122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32124 #define $ac_func innocuous_$ac_func
32126 /* System header to define __stub macros and hopefully few prototypes,
32127 which can conflict with char $ac_func (); below.
32128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32129 <limits.h> exists even on freestanding compilers. */
32131 #ifdef __STDC__
32132 # include <limits.h>
32133 #else
32134 # include <assert.h>
32135 #endif
32137 #undef $ac_func
32139 /* Override any gcc2 internal prototype to avoid an error. */
32140 #ifdef __cplusplus
32141 extern "C"
32143 #endif
32144 /* We use char because int might match the return type of a gcc2
32145 builtin and then its argument prototype would still apply. */
32146 char $ac_func ();
32147 /* The GNU C library defines this for functions which it implements
32148 to always fail with ENOSYS. Some functions are actually named
32149 something starting with __ and the normal name is an alias. */
32150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32151 choke me
32152 #else
32153 char (*f) () = $ac_func;
32154 #endif
32155 #ifdef __cplusplus
32157 #endif
32160 main ()
32162 return f != $ac_func;
32164 return 0;
32166 _ACEOF
32167 rm -f conftest.$ac_objext conftest$ac_exeext
32168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32169 (eval $ac_link) 2>conftest.er1
32170 ac_status=$?
32171 grep -v '^ *+' conftest.er1 >conftest.err
32172 rm -f conftest.er1
32173 cat conftest.err >&5
32174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32175 (exit $ac_status); } &&
32176 { ac_try='test -z "$ac_c_werror_flag"
32177 || test ! -s conftest.err'
32178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32179 (eval $ac_try) 2>&5
32180 ac_status=$?
32181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182 (exit $ac_status); }; } &&
32183 { ac_try='test -s conftest$ac_exeext'
32184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32185 (eval $ac_try) 2>&5
32186 ac_status=$?
32187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32188 (exit $ac_status); }; }; then
32189 eval "$as_ac_var=yes"
32190 else
32191 echo "$as_me: failed program was:" >&5
32192 sed 's/^/| /' conftest.$ac_ext >&5
32194 eval "$as_ac_var=no"
32196 rm -f conftest.err conftest.$ac_objext \
32197 conftest$ac_exeext conftest.$ac_ext
32199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32201 if test `eval echo '${'$as_ac_var'}'` = yes; then
32202 cat >>confdefs.h <<_ACEOF
32203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32204 _ACEOF
32207 done
32214 echo "$as_me:$LINENO: checking for finite declaration" >&5
32215 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32216 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32217 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32218 echo $ECHO_N "(cached) $ECHO_C" >&6
32219 else
32223 ac_ext=cc
32224 ac_cpp='$CXXCPP $CPPFLAGS'
32225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32229 cat >conftest.$ac_ext <<_ACEOF
32230 /* confdefs.h. */
32231 _ACEOF
32232 cat confdefs.h >>conftest.$ac_ext
32233 cat >>conftest.$ac_ext <<_ACEOF
32234 /* end confdefs.h. */
32235 #include <math.h>
32236 #ifdef HAVE_IEEEFP_H
32237 #include <ieeefp.h>
32238 #endif
32241 main ()
32243 finite(0);
32245 return 0;
32247 _ACEOF
32248 rm -f conftest.$ac_objext
32249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32250 (eval $ac_compile) 2>conftest.er1
32251 ac_status=$?
32252 grep -v '^ *+' conftest.er1 >conftest.err
32253 rm -f conftest.er1
32254 cat conftest.err >&5
32255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256 (exit $ac_status); } &&
32257 { ac_try='test -z "$ac_cxx_werror_flag"
32258 || test ! -s conftest.err'
32259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 (eval $ac_try) 2>&5
32261 ac_status=$?
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; } &&
32264 { ac_try='test -s conftest.$ac_objext'
32265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32266 (eval $ac_try) 2>&5
32267 ac_status=$?
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; }; then
32270 glibcxx_cv_func_finite_use=yes
32271 else
32272 echo "$as_me: failed program was:" >&5
32273 sed 's/^/| /' conftest.$ac_ext >&5
32275 glibcxx_cv_func_finite_use=no
32277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32278 ac_ext=c
32279 ac_cpp='$CPP $CPPFLAGS'
32280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32288 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32289 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32291 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32293 for ac_func in finite
32295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32296 echo "$as_me:$LINENO: checking for $ac_func" >&5
32297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32298 if eval "test \"\${$as_ac_var+set}\" = set"; then
32299 echo $ECHO_N "(cached) $ECHO_C" >&6
32300 else
32301 if test x$gcc_no_link = xyes; then
32302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32304 { (exit 1); exit 1; }; }
32306 cat >conftest.$ac_ext <<_ACEOF
32307 /* confdefs.h. */
32308 _ACEOF
32309 cat confdefs.h >>conftest.$ac_ext
32310 cat >>conftest.$ac_ext <<_ACEOF
32311 /* end confdefs.h. */
32312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32314 #define $ac_func innocuous_$ac_func
32316 /* System header to define __stub macros and hopefully few prototypes,
32317 which can conflict with char $ac_func (); below.
32318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32319 <limits.h> exists even on freestanding compilers. */
32321 #ifdef __STDC__
32322 # include <limits.h>
32323 #else
32324 # include <assert.h>
32325 #endif
32327 #undef $ac_func
32329 /* Override any gcc2 internal prototype to avoid an error. */
32330 #ifdef __cplusplus
32331 extern "C"
32333 #endif
32334 /* We use char because int might match the return type of a gcc2
32335 builtin and then its argument prototype would still apply. */
32336 char $ac_func ();
32337 /* The GNU C library defines this for functions which it implements
32338 to always fail with ENOSYS. Some functions are actually named
32339 something starting with __ and the normal name is an alias. */
32340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32341 choke me
32342 #else
32343 char (*f) () = $ac_func;
32344 #endif
32345 #ifdef __cplusplus
32347 #endif
32350 main ()
32352 return f != $ac_func;
32354 return 0;
32356 _ACEOF
32357 rm -f conftest.$ac_objext conftest$ac_exeext
32358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32359 (eval $ac_link) 2>conftest.er1
32360 ac_status=$?
32361 grep -v '^ *+' conftest.er1 >conftest.err
32362 rm -f conftest.er1
32363 cat conftest.err >&5
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); } &&
32366 { ac_try='test -z "$ac_c_werror_flag"
32367 || test ! -s conftest.err'
32368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32369 (eval $ac_try) 2>&5
32370 ac_status=$?
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); }; } &&
32373 { ac_try='test -s conftest$ac_exeext'
32374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32375 (eval $ac_try) 2>&5
32376 ac_status=$?
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); }; }; then
32379 eval "$as_ac_var=yes"
32380 else
32381 echo "$as_me: failed program was:" >&5
32382 sed 's/^/| /' conftest.$ac_ext >&5
32384 eval "$as_ac_var=no"
32386 rm -f conftest.err conftest.$ac_objext \
32387 conftest$ac_exeext conftest.$ac_ext
32389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32391 if test `eval echo '${'$as_ac_var'}'` = yes; then
32392 cat >>confdefs.h <<_ACEOF
32393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32394 _ACEOF
32397 done
32399 else
32401 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32402 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32403 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32404 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32405 echo $ECHO_N "(cached) $ECHO_C" >&6
32406 else
32410 ac_ext=cc
32411 ac_cpp='$CXXCPP $CPPFLAGS'
32412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32416 cat >conftest.$ac_ext <<_ACEOF
32417 /* confdefs.h. */
32418 _ACEOF
32419 cat confdefs.h >>conftest.$ac_ext
32420 cat >>conftest.$ac_ext <<_ACEOF
32421 /* end confdefs.h. */
32422 #include <math.h>
32423 #ifdef HAVE_IEEEFP_H
32424 #include <ieeefp.h>
32425 #endif
32428 main ()
32430 _finite(0);
32432 return 0;
32434 _ACEOF
32435 rm -f conftest.$ac_objext
32436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32437 (eval $ac_compile) 2>conftest.er1
32438 ac_status=$?
32439 grep -v '^ *+' conftest.er1 >conftest.err
32440 rm -f conftest.er1
32441 cat conftest.err >&5
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); } &&
32444 { ac_try='test -z "$ac_cxx_werror_flag"
32445 || test ! -s conftest.err'
32446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32447 (eval $ac_try) 2>&5
32448 ac_status=$?
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); }; } &&
32451 { ac_try='test -s conftest.$ac_objext'
32452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32453 (eval $ac_try) 2>&5
32454 ac_status=$?
32455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456 (exit $ac_status); }; }; then
32457 glibcxx_cv_func__finite_use=yes
32458 else
32459 echo "$as_me: failed program was:" >&5
32460 sed 's/^/| /' conftest.$ac_ext >&5
32462 glibcxx_cv_func__finite_use=no
32464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32465 ac_ext=c
32466 ac_cpp='$CPP $CPPFLAGS'
32467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32476 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32478 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32480 for ac_func in _finite
32482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32483 echo "$as_me:$LINENO: checking for $ac_func" >&5
32484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32485 if eval "test \"\${$as_ac_var+set}\" = set"; then
32486 echo $ECHO_N "(cached) $ECHO_C" >&6
32487 else
32488 if test x$gcc_no_link = xyes; then
32489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32491 { (exit 1); exit 1; }; }
32493 cat >conftest.$ac_ext <<_ACEOF
32494 /* confdefs.h. */
32495 _ACEOF
32496 cat confdefs.h >>conftest.$ac_ext
32497 cat >>conftest.$ac_ext <<_ACEOF
32498 /* end confdefs.h. */
32499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32501 #define $ac_func innocuous_$ac_func
32503 /* System header to define __stub macros and hopefully few prototypes,
32504 which can conflict with char $ac_func (); below.
32505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32506 <limits.h> exists even on freestanding compilers. */
32508 #ifdef __STDC__
32509 # include <limits.h>
32510 #else
32511 # include <assert.h>
32512 #endif
32514 #undef $ac_func
32516 /* Override any gcc2 internal prototype to avoid an error. */
32517 #ifdef __cplusplus
32518 extern "C"
32520 #endif
32521 /* We use char because int might match the return type of a gcc2
32522 builtin and then its argument prototype would still apply. */
32523 char $ac_func ();
32524 /* The GNU C library defines this for functions which it implements
32525 to always fail with ENOSYS. Some functions are actually named
32526 something starting with __ and the normal name is an alias. */
32527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32528 choke me
32529 #else
32530 char (*f) () = $ac_func;
32531 #endif
32532 #ifdef __cplusplus
32534 #endif
32537 main ()
32539 return f != $ac_func;
32541 return 0;
32543 _ACEOF
32544 rm -f conftest.$ac_objext conftest$ac_exeext
32545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32546 (eval $ac_link) 2>conftest.er1
32547 ac_status=$?
32548 grep -v '^ *+' conftest.er1 >conftest.err
32549 rm -f conftest.er1
32550 cat conftest.err >&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); } &&
32553 { ac_try='test -z "$ac_c_werror_flag"
32554 || test ! -s conftest.err'
32555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32556 (eval $ac_try) 2>&5
32557 ac_status=$?
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); }; } &&
32560 { ac_try='test -s conftest$ac_exeext'
32561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32562 (eval $ac_try) 2>&5
32563 ac_status=$?
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); }; }; then
32566 eval "$as_ac_var=yes"
32567 else
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.$ac_ext >&5
32571 eval "$as_ac_var=no"
32573 rm -f conftest.err conftest.$ac_objext \
32574 conftest$ac_exeext conftest.$ac_ext
32576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32578 if test `eval echo '${'$as_ac_var'}'` = yes; then
32579 cat >>confdefs.h <<_ACEOF
32580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32581 _ACEOF
32584 done
32591 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32592 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32593 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32594 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32595 echo $ECHO_N "(cached) $ECHO_C" >&6
32596 else
32600 ac_ext=cc
32601 ac_cpp='$CXXCPP $CPPFLAGS'
32602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32606 cat >conftest.$ac_ext <<_ACEOF
32607 /* confdefs.h. */
32608 _ACEOF
32609 cat confdefs.h >>conftest.$ac_ext
32610 cat >>conftest.$ac_ext <<_ACEOF
32611 /* end confdefs.h. */
32612 #include <math.h>
32614 main ()
32616 copysign(0, 0);
32618 return 0;
32620 _ACEOF
32621 rm -f conftest.$ac_objext
32622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32623 (eval $ac_compile) 2>conftest.er1
32624 ac_status=$?
32625 grep -v '^ *+' conftest.er1 >conftest.err
32626 rm -f conftest.er1
32627 cat conftest.err >&5
32628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629 (exit $ac_status); } &&
32630 { ac_try='test -z "$ac_cxx_werror_flag"
32631 || test ! -s conftest.err'
32632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32633 (eval $ac_try) 2>&5
32634 ac_status=$?
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); }; } &&
32637 { ac_try='test -s conftest.$ac_objext'
32638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32639 (eval $ac_try) 2>&5
32640 ac_status=$?
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); }; }; then
32643 glibcxx_cv_func_copysign_use=yes
32644 else
32645 echo "$as_me: failed program was:" >&5
32646 sed 's/^/| /' conftest.$ac_ext >&5
32648 glibcxx_cv_func_copysign_use=no
32650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32651 ac_ext=c
32652 ac_cpp='$CPP $CPPFLAGS'
32653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32661 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32662 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32664 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32666 for ac_func in copysign
32668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32669 echo "$as_me:$LINENO: checking for $ac_func" >&5
32670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32671 if eval "test \"\${$as_ac_var+set}\" = set"; then
32672 echo $ECHO_N "(cached) $ECHO_C" >&6
32673 else
32674 if test x$gcc_no_link = xyes; then
32675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32677 { (exit 1); exit 1; }; }
32679 cat >conftest.$ac_ext <<_ACEOF
32680 /* confdefs.h. */
32681 _ACEOF
32682 cat confdefs.h >>conftest.$ac_ext
32683 cat >>conftest.$ac_ext <<_ACEOF
32684 /* end confdefs.h. */
32685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32687 #define $ac_func innocuous_$ac_func
32689 /* System header to define __stub macros and hopefully few prototypes,
32690 which can conflict with char $ac_func (); below.
32691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32692 <limits.h> exists even on freestanding compilers. */
32694 #ifdef __STDC__
32695 # include <limits.h>
32696 #else
32697 # include <assert.h>
32698 #endif
32700 #undef $ac_func
32702 /* Override any gcc2 internal prototype to avoid an error. */
32703 #ifdef __cplusplus
32704 extern "C"
32706 #endif
32707 /* We use char because int might match the return type of a gcc2
32708 builtin and then its argument prototype would still apply. */
32709 char $ac_func ();
32710 /* The GNU C library defines this for functions which it implements
32711 to always fail with ENOSYS. Some functions are actually named
32712 something starting with __ and the normal name is an alias. */
32713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32714 choke me
32715 #else
32716 char (*f) () = $ac_func;
32717 #endif
32718 #ifdef __cplusplus
32720 #endif
32723 main ()
32725 return f != $ac_func;
32727 return 0;
32729 _ACEOF
32730 rm -f conftest.$ac_objext conftest$ac_exeext
32731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32732 (eval $ac_link) 2>conftest.er1
32733 ac_status=$?
32734 grep -v '^ *+' conftest.er1 >conftest.err
32735 rm -f conftest.er1
32736 cat conftest.err >&5
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); } &&
32739 { ac_try='test -z "$ac_c_werror_flag"
32740 || test ! -s conftest.err'
32741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32742 (eval $ac_try) 2>&5
32743 ac_status=$?
32744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32745 (exit $ac_status); }; } &&
32746 { ac_try='test -s conftest$ac_exeext'
32747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32748 (eval $ac_try) 2>&5
32749 ac_status=$?
32750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32751 (exit $ac_status); }; }; then
32752 eval "$as_ac_var=yes"
32753 else
32754 echo "$as_me: failed program was:" >&5
32755 sed 's/^/| /' conftest.$ac_ext >&5
32757 eval "$as_ac_var=no"
32759 rm -f conftest.err conftest.$ac_objext \
32760 conftest$ac_exeext conftest.$ac_ext
32762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32764 if test `eval echo '${'$as_ac_var'}'` = yes; then
32765 cat >>confdefs.h <<_ACEOF
32766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32767 _ACEOF
32770 done
32772 else
32774 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32775 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32776 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32777 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32778 echo $ECHO_N "(cached) $ECHO_C" >&6
32779 else
32783 ac_ext=cc
32784 ac_cpp='$CXXCPP $CPPFLAGS'
32785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32789 cat >conftest.$ac_ext <<_ACEOF
32790 /* confdefs.h. */
32791 _ACEOF
32792 cat confdefs.h >>conftest.$ac_ext
32793 cat >>conftest.$ac_ext <<_ACEOF
32794 /* end confdefs.h. */
32795 #include <math.h>
32797 main ()
32799 _copysign(0, 0);
32801 return 0;
32803 _ACEOF
32804 rm -f conftest.$ac_objext
32805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32806 (eval $ac_compile) 2>conftest.er1
32807 ac_status=$?
32808 grep -v '^ *+' conftest.er1 >conftest.err
32809 rm -f conftest.er1
32810 cat conftest.err >&5
32811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32812 (exit $ac_status); } &&
32813 { ac_try='test -z "$ac_cxx_werror_flag"
32814 || test ! -s conftest.err'
32815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816 (eval $ac_try) 2>&5
32817 ac_status=$?
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; } &&
32820 { ac_try='test -s conftest.$ac_objext'
32821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32822 (eval $ac_try) 2>&5
32823 ac_status=$?
32824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32825 (exit $ac_status); }; }; then
32826 glibcxx_cv_func__copysign_use=yes
32827 else
32828 echo "$as_me: failed program was:" >&5
32829 sed 's/^/| /' conftest.$ac_ext >&5
32831 glibcxx_cv_func__copysign_use=no
32833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32834 ac_ext=c
32835 ac_cpp='$CPP $CPPFLAGS'
32836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32845 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32847 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32849 for ac_func in _copysign
32851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32852 echo "$as_me:$LINENO: checking for $ac_func" >&5
32853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32854 if eval "test \"\${$as_ac_var+set}\" = set"; then
32855 echo $ECHO_N "(cached) $ECHO_C" >&6
32856 else
32857 if test x$gcc_no_link = xyes; then
32858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32860 { (exit 1); exit 1; }; }
32862 cat >conftest.$ac_ext <<_ACEOF
32863 /* confdefs.h. */
32864 _ACEOF
32865 cat confdefs.h >>conftest.$ac_ext
32866 cat >>conftest.$ac_ext <<_ACEOF
32867 /* end confdefs.h. */
32868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32870 #define $ac_func innocuous_$ac_func
32872 /* System header to define __stub macros and hopefully few prototypes,
32873 which can conflict with char $ac_func (); below.
32874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32875 <limits.h> exists even on freestanding compilers. */
32877 #ifdef __STDC__
32878 # include <limits.h>
32879 #else
32880 # include <assert.h>
32881 #endif
32883 #undef $ac_func
32885 /* Override any gcc2 internal prototype to avoid an error. */
32886 #ifdef __cplusplus
32887 extern "C"
32889 #endif
32890 /* We use char because int might match the return type of a gcc2
32891 builtin and then its argument prototype would still apply. */
32892 char $ac_func ();
32893 /* The GNU C library defines this for functions which it implements
32894 to always fail with ENOSYS. Some functions are actually named
32895 something starting with __ and the normal name is an alias. */
32896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32897 choke me
32898 #else
32899 char (*f) () = $ac_func;
32900 #endif
32901 #ifdef __cplusplus
32903 #endif
32906 main ()
32908 return f != $ac_func;
32910 return 0;
32912 _ACEOF
32913 rm -f conftest.$ac_objext conftest$ac_exeext
32914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32915 (eval $ac_link) 2>conftest.er1
32916 ac_status=$?
32917 grep -v '^ *+' conftest.er1 >conftest.err
32918 rm -f conftest.er1
32919 cat conftest.err >&5
32920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32921 (exit $ac_status); } &&
32922 { ac_try='test -z "$ac_c_werror_flag"
32923 || test ! -s conftest.err'
32924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32925 (eval $ac_try) 2>&5
32926 ac_status=$?
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); }; } &&
32929 { ac_try='test -s conftest$ac_exeext'
32930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32931 (eval $ac_try) 2>&5
32932 ac_status=$?
32933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32934 (exit $ac_status); }; }; then
32935 eval "$as_ac_var=yes"
32936 else
32937 echo "$as_me: failed program was:" >&5
32938 sed 's/^/| /' conftest.$ac_ext >&5
32940 eval "$as_ac_var=no"
32942 rm -f conftest.err conftest.$ac_objext \
32943 conftest$ac_exeext conftest.$ac_ext
32945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32947 if test `eval echo '${'$as_ac_var'}'` = yes; then
32948 cat >>confdefs.h <<_ACEOF
32949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32950 _ACEOF
32953 done
32960 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32961 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32962 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32963 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32964 echo $ECHO_N "(cached) $ECHO_C" >&6
32965 else
32969 ac_ext=cc
32970 ac_cpp='$CXXCPP $CPPFLAGS'
32971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32975 cat >conftest.$ac_ext <<_ACEOF
32976 /* confdefs.h. */
32977 _ACEOF
32978 cat confdefs.h >>conftest.$ac_ext
32979 cat >>conftest.$ac_ext <<_ACEOF
32980 /* end confdefs.h. */
32981 #include <math.h>
32983 main ()
32985 sincos(0, 0, 0);
32987 return 0;
32989 _ACEOF
32990 rm -f conftest.$ac_objext
32991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32992 (eval $ac_compile) 2>conftest.er1
32993 ac_status=$?
32994 grep -v '^ *+' conftest.er1 >conftest.err
32995 rm -f conftest.er1
32996 cat conftest.err >&5
32997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32998 (exit $ac_status); } &&
32999 { ac_try='test -z "$ac_cxx_werror_flag"
33000 || test ! -s conftest.err'
33001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33002 (eval $ac_try) 2>&5
33003 ac_status=$?
33004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005 (exit $ac_status); }; } &&
33006 { ac_try='test -s conftest.$ac_objext'
33007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33008 (eval $ac_try) 2>&5
33009 ac_status=$?
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); }; }; then
33012 glibcxx_cv_func_sincos_use=yes
33013 else
33014 echo "$as_me: failed program was:" >&5
33015 sed 's/^/| /' conftest.$ac_ext >&5
33017 glibcxx_cv_func_sincos_use=no
33019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33020 ac_ext=c
33021 ac_cpp='$CPP $CPPFLAGS'
33022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33030 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33031 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33033 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33035 for ac_func in sincos
33037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33038 echo "$as_me:$LINENO: checking for $ac_func" >&5
33039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33040 if eval "test \"\${$as_ac_var+set}\" = set"; then
33041 echo $ECHO_N "(cached) $ECHO_C" >&6
33042 else
33043 if test x$gcc_no_link = xyes; then
33044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33046 { (exit 1); exit 1; }; }
33048 cat >conftest.$ac_ext <<_ACEOF
33049 /* confdefs.h. */
33050 _ACEOF
33051 cat confdefs.h >>conftest.$ac_ext
33052 cat >>conftest.$ac_ext <<_ACEOF
33053 /* end confdefs.h. */
33054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33056 #define $ac_func innocuous_$ac_func
33058 /* System header to define __stub macros and hopefully few prototypes,
33059 which can conflict with char $ac_func (); below.
33060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33061 <limits.h> exists even on freestanding compilers. */
33063 #ifdef __STDC__
33064 # include <limits.h>
33065 #else
33066 # include <assert.h>
33067 #endif
33069 #undef $ac_func
33071 /* Override any gcc2 internal prototype to avoid an error. */
33072 #ifdef __cplusplus
33073 extern "C"
33075 #endif
33076 /* We use char because int might match the return type of a gcc2
33077 builtin and then its argument prototype would still apply. */
33078 char $ac_func ();
33079 /* The GNU C library defines this for functions which it implements
33080 to always fail with ENOSYS. Some functions are actually named
33081 something starting with __ and the normal name is an alias. */
33082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33083 choke me
33084 #else
33085 char (*f) () = $ac_func;
33086 #endif
33087 #ifdef __cplusplus
33089 #endif
33092 main ()
33094 return f != $ac_func;
33096 return 0;
33098 _ACEOF
33099 rm -f conftest.$ac_objext conftest$ac_exeext
33100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33101 (eval $ac_link) 2>conftest.er1
33102 ac_status=$?
33103 grep -v '^ *+' conftest.er1 >conftest.err
33104 rm -f conftest.er1
33105 cat conftest.err >&5
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); } &&
33108 { ac_try='test -z "$ac_c_werror_flag"
33109 || test ! -s conftest.err'
33110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33111 (eval $ac_try) 2>&5
33112 ac_status=$?
33113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33114 (exit $ac_status); }; } &&
33115 { ac_try='test -s conftest$ac_exeext'
33116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33117 (eval $ac_try) 2>&5
33118 ac_status=$?
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); }; }; then
33121 eval "$as_ac_var=yes"
33122 else
33123 echo "$as_me: failed program was:" >&5
33124 sed 's/^/| /' conftest.$ac_ext >&5
33126 eval "$as_ac_var=no"
33128 rm -f conftest.err conftest.$ac_objext \
33129 conftest$ac_exeext conftest.$ac_ext
33131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33133 if test `eval echo '${'$as_ac_var'}'` = yes; then
33134 cat >>confdefs.h <<_ACEOF
33135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33136 _ACEOF
33139 done
33141 else
33143 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33144 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33145 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33146 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33147 echo $ECHO_N "(cached) $ECHO_C" >&6
33148 else
33152 ac_ext=cc
33153 ac_cpp='$CXXCPP $CPPFLAGS'
33154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33158 cat >conftest.$ac_ext <<_ACEOF
33159 /* confdefs.h. */
33160 _ACEOF
33161 cat confdefs.h >>conftest.$ac_ext
33162 cat >>conftest.$ac_ext <<_ACEOF
33163 /* end confdefs.h. */
33164 #include <math.h>
33166 main ()
33168 _sincos(0, 0, 0);
33170 return 0;
33172 _ACEOF
33173 rm -f conftest.$ac_objext
33174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33175 (eval $ac_compile) 2>conftest.er1
33176 ac_status=$?
33177 grep -v '^ *+' conftest.er1 >conftest.err
33178 rm -f conftest.er1
33179 cat conftest.err >&5
33180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33181 (exit $ac_status); } &&
33182 { ac_try='test -z "$ac_cxx_werror_flag"
33183 || test ! -s conftest.err'
33184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33185 (eval $ac_try) 2>&5
33186 ac_status=$?
33187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188 (exit $ac_status); }; } &&
33189 { ac_try='test -s conftest.$ac_objext'
33190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33191 (eval $ac_try) 2>&5
33192 ac_status=$?
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); }; }; then
33195 glibcxx_cv_func__sincos_use=yes
33196 else
33197 echo "$as_me: failed program was:" >&5
33198 sed 's/^/| /' conftest.$ac_ext >&5
33200 glibcxx_cv_func__sincos_use=no
33202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33203 ac_ext=c
33204 ac_cpp='$CPP $CPPFLAGS'
33205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33213 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33214 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33216 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33218 for ac_func in _sincos
33220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33221 echo "$as_me:$LINENO: checking for $ac_func" >&5
33222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33223 if eval "test \"\${$as_ac_var+set}\" = set"; then
33224 echo $ECHO_N "(cached) $ECHO_C" >&6
33225 else
33226 if test x$gcc_no_link = xyes; then
33227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33229 { (exit 1); exit 1; }; }
33231 cat >conftest.$ac_ext <<_ACEOF
33232 /* confdefs.h. */
33233 _ACEOF
33234 cat confdefs.h >>conftest.$ac_ext
33235 cat >>conftest.$ac_ext <<_ACEOF
33236 /* end confdefs.h. */
33237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33239 #define $ac_func innocuous_$ac_func
33241 /* System header to define __stub macros and hopefully few prototypes,
33242 which can conflict with char $ac_func (); below.
33243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33244 <limits.h> exists even on freestanding compilers. */
33246 #ifdef __STDC__
33247 # include <limits.h>
33248 #else
33249 # include <assert.h>
33250 #endif
33252 #undef $ac_func
33254 /* Override any gcc2 internal prototype to avoid an error. */
33255 #ifdef __cplusplus
33256 extern "C"
33258 #endif
33259 /* We use char because int might match the return type of a gcc2
33260 builtin and then its argument prototype would still apply. */
33261 char $ac_func ();
33262 /* The GNU C library defines this for functions which it implements
33263 to always fail with ENOSYS. Some functions are actually named
33264 something starting with __ and the normal name is an alias. */
33265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33266 choke me
33267 #else
33268 char (*f) () = $ac_func;
33269 #endif
33270 #ifdef __cplusplus
33272 #endif
33275 main ()
33277 return f != $ac_func;
33279 return 0;
33281 _ACEOF
33282 rm -f conftest.$ac_objext conftest$ac_exeext
33283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33284 (eval $ac_link) 2>conftest.er1
33285 ac_status=$?
33286 grep -v '^ *+' conftest.er1 >conftest.err
33287 rm -f conftest.er1
33288 cat conftest.err >&5
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); } &&
33291 { ac_try='test -z "$ac_c_werror_flag"
33292 || test ! -s conftest.err'
33293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33294 (eval $ac_try) 2>&5
33295 ac_status=$?
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); }; } &&
33298 { ac_try='test -s conftest$ac_exeext'
33299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33300 (eval $ac_try) 2>&5
33301 ac_status=$?
33302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 (exit $ac_status); }; }; then
33304 eval "$as_ac_var=yes"
33305 else
33306 echo "$as_me: failed program was:" >&5
33307 sed 's/^/| /' conftest.$ac_ext >&5
33309 eval "$as_ac_var=no"
33311 rm -f conftest.err conftest.$ac_objext \
33312 conftest$ac_exeext conftest.$ac_ext
33314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33316 if test `eval echo '${'$as_ac_var'}'` = yes; then
33317 cat >>confdefs.h <<_ACEOF
33318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33319 _ACEOF
33322 done
33329 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33330 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33331 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33332 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33333 echo $ECHO_N "(cached) $ECHO_C" >&6
33334 else
33338 ac_ext=cc
33339 ac_cpp='$CXXCPP $CPPFLAGS'
33340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33344 cat >conftest.$ac_ext <<_ACEOF
33345 /* confdefs.h. */
33346 _ACEOF
33347 cat confdefs.h >>conftest.$ac_ext
33348 cat >>conftest.$ac_ext <<_ACEOF
33349 /* end confdefs.h. */
33350 #include <math.h>
33351 #ifdef HAVE_IEEEFP_H
33352 #include <ieeefp.h>
33353 #endif
33356 main ()
33358 fpclass(0);
33360 return 0;
33362 _ACEOF
33363 rm -f conftest.$ac_objext
33364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33365 (eval $ac_compile) 2>conftest.er1
33366 ac_status=$?
33367 grep -v '^ *+' conftest.er1 >conftest.err
33368 rm -f conftest.er1
33369 cat conftest.err >&5
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); } &&
33372 { ac_try='test -z "$ac_cxx_werror_flag"
33373 || test ! -s conftest.err'
33374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33375 (eval $ac_try) 2>&5
33376 ac_status=$?
33377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33378 (exit $ac_status); }; } &&
33379 { ac_try='test -s conftest.$ac_objext'
33380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33381 (eval $ac_try) 2>&5
33382 ac_status=$?
33383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33384 (exit $ac_status); }; }; then
33385 glibcxx_cv_func_fpclass_use=yes
33386 else
33387 echo "$as_me: failed program was:" >&5
33388 sed 's/^/| /' conftest.$ac_ext >&5
33390 glibcxx_cv_func_fpclass_use=no
33392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33393 ac_ext=c
33394 ac_cpp='$CPP $CPPFLAGS'
33395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33403 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33404 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33406 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33408 for ac_func in fpclass
33410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33411 echo "$as_me:$LINENO: checking for $ac_func" >&5
33412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33413 if eval "test \"\${$as_ac_var+set}\" = set"; then
33414 echo $ECHO_N "(cached) $ECHO_C" >&6
33415 else
33416 if test x$gcc_no_link = xyes; then
33417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33419 { (exit 1); exit 1; }; }
33421 cat >conftest.$ac_ext <<_ACEOF
33422 /* confdefs.h. */
33423 _ACEOF
33424 cat confdefs.h >>conftest.$ac_ext
33425 cat >>conftest.$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33429 #define $ac_func innocuous_$ac_func
33431 /* System header to define __stub macros and hopefully few prototypes,
33432 which can conflict with char $ac_func (); below.
33433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33434 <limits.h> exists even on freestanding compilers. */
33436 #ifdef __STDC__
33437 # include <limits.h>
33438 #else
33439 # include <assert.h>
33440 #endif
33442 #undef $ac_func
33444 /* Override any gcc2 internal prototype to avoid an error. */
33445 #ifdef __cplusplus
33446 extern "C"
33448 #endif
33449 /* We use char because int might match the return type of a gcc2
33450 builtin and then its argument prototype would still apply. */
33451 char $ac_func ();
33452 /* The GNU C library defines this for functions which it implements
33453 to always fail with ENOSYS. Some functions are actually named
33454 something starting with __ and the normal name is an alias. */
33455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33456 choke me
33457 #else
33458 char (*f) () = $ac_func;
33459 #endif
33460 #ifdef __cplusplus
33462 #endif
33465 main ()
33467 return f != $ac_func;
33469 return 0;
33471 _ACEOF
33472 rm -f conftest.$ac_objext conftest$ac_exeext
33473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33474 (eval $ac_link) 2>conftest.er1
33475 ac_status=$?
33476 grep -v '^ *+' conftest.er1 >conftest.err
33477 rm -f conftest.er1
33478 cat conftest.err >&5
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); } &&
33481 { ac_try='test -z "$ac_c_werror_flag"
33482 || test ! -s conftest.err'
33483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33484 (eval $ac_try) 2>&5
33485 ac_status=$?
33486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33487 (exit $ac_status); }; } &&
33488 { ac_try='test -s conftest$ac_exeext'
33489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33490 (eval $ac_try) 2>&5
33491 ac_status=$?
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); }; }; then
33494 eval "$as_ac_var=yes"
33495 else
33496 echo "$as_me: failed program was:" >&5
33497 sed 's/^/| /' conftest.$ac_ext >&5
33499 eval "$as_ac_var=no"
33501 rm -f conftest.err conftest.$ac_objext \
33502 conftest$ac_exeext conftest.$ac_ext
33504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33506 if test `eval echo '${'$as_ac_var'}'` = yes; then
33507 cat >>confdefs.h <<_ACEOF
33508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33509 _ACEOF
33512 done
33514 else
33516 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33517 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33518 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33519 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33520 echo $ECHO_N "(cached) $ECHO_C" >&6
33521 else
33525 ac_ext=cc
33526 ac_cpp='$CXXCPP $CPPFLAGS'
33527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33531 cat >conftest.$ac_ext <<_ACEOF
33532 /* confdefs.h. */
33533 _ACEOF
33534 cat confdefs.h >>conftest.$ac_ext
33535 cat >>conftest.$ac_ext <<_ACEOF
33536 /* end confdefs.h. */
33537 #include <math.h>
33538 #ifdef HAVE_IEEEFP_H
33539 #include <ieeefp.h>
33540 #endif
33543 main ()
33545 _fpclass(0);
33547 return 0;
33549 _ACEOF
33550 rm -f conftest.$ac_objext
33551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33552 (eval $ac_compile) 2>conftest.er1
33553 ac_status=$?
33554 grep -v '^ *+' conftest.er1 >conftest.err
33555 rm -f conftest.er1
33556 cat conftest.err >&5
33557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33558 (exit $ac_status); } &&
33559 { ac_try='test -z "$ac_cxx_werror_flag"
33560 || test ! -s conftest.err'
33561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33562 (eval $ac_try) 2>&5
33563 ac_status=$?
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); }; } &&
33566 { ac_try='test -s conftest.$ac_objext'
33567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33568 (eval $ac_try) 2>&5
33569 ac_status=$?
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); }; }; then
33572 glibcxx_cv_func__fpclass_use=yes
33573 else
33574 echo "$as_me: failed program was:" >&5
33575 sed 's/^/| /' conftest.$ac_ext >&5
33577 glibcxx_cv_func__fpclass_use=no
33579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33580 ac_ext=c
33581 ac_cpp='$CPP $CPPFLAGS'
33582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33590 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33591 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33593 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33595 for ac_func in _fpclass
33597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33598 echo "$as_me:$LINENO: checking for $ac_func" >&5
33599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33600 if eval "test \"\${$as_ac_var+set}\" = set"; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33602 else
33603 if test x$gcc_no_link = xyes; then
33604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33606 { (exit 1); exit 1; }; }
33608 cat >conftest.$ac_ext <<_ACEOF
33609 /* confdefs.h. */
33610 _ACEOF
33611 cat confdefs.h >>conftest.$ac_ext
33612 cat >>conftest.$ac_ext <<_ACEOF
33613 /* end confdefs.h. */
33614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33616 #define $ac_func innocuous_$ac_func
33618 /* System header to define __stub macros and hopefully few prototypes,
33619 which can conflict with char $ac_func (); below.
33620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33621 <limits.h> exists even on freestanding compilers. */
33623 #ifdef __STDC__
33624 # include <limits.h>
33625 #else
33626 # include <assert.h>
33627 #endif
33629 #undef $ac_func
33631 /* Override any gcc2 internal prototype to avoid an error. */
33632 #ifdef __cplusplus
33633 extern "C"
33635 #endif
33636 /* We use char because int might match the return type of a gcc2
33637 builtin and then its argument prototype would still apply. */
33638 char $ac_func ();
33639 /* The GNU C library defines this for functions which it implements
33640 to always fail with ENOSYS. Some functions are actually named
33641 something starting with __ and the normal name is an alias. */
33642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33643 choke me
33644 #else
33645 char (*f) () = $ac_func;
33646 #endif
33647 #ifdef __cplusplus
33649 #endif
33652 main ()
33654 return f != $ac_func;
33656 return 0;
33658 _ACEOF
33659 rm -f conftest.$ac_objext conftest$ac_exeext
33660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33661 (eval $ac_link) 2>conftest.er1
33662 ac_status=$?
33663 grep -v '^ *+' conftest.er1 >conftest.err
33664 rm -f conftest.er1
33665 cat conftest.err >&5
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); } &&
33668 { ac_try='test -z "$ac_c_werror_flag"
33669 || test ! -s conftest.err'
33670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33671 (eval $ac_try) 2>&5
33672 ac_status=$?
33673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); }; } &&
33675 { ac_try='test -s conftest$ac_exeext'
33676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33677 (eval $ac_try) 2>&5
33678 ac_status=$?
33679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680 (exit $ac_status); }; }; then
33681 eval "$as_ac_var=yes"
33682 else
33683 echo "$as_me: failed program was:" >&5
33684 sed 's/^/| /' conftest.$ac_ext >&5
33686 eval "$as_ac_var=no"
33688 rm -f conftest.err conftest.$ac_objext \
33689 conftest$ac_exeext conftest.$ac_ext
33691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33693 if test `eval echo '${'$as_ac_var'}'` = yes; then
33694 cat >>confdefs.h <<_ACEOF
33695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33696 _ACEOF
33699 done
33706 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33707 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33708 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33709 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33710 echo $ECHO_N "(cached) $ECHO_C" >&6
33711 else
33715 ac_ext=cc
33716 ac_cpp='$CXXCPP $CPPFLAGS'
33717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33721 cat >conftest.$ac_ext <<_ACEOF
33722 /* confdefs.h. */
33723 _ACEOF
33724 cat confdefs.h >>conftest.$ac_ext
33725 cat >>conftest.$ac_ext <<_ACEOF
33726 /* end confdefs.h. */
33727 #include <math.h>
33728 #ifdef HAVE_IEEEFP_H
33729 #include <ieeefp.h>
33730 #endif
33733 main ()
33735 qfpclass(0);
33737 return 0;
33739 _ACEOF
33740 rm -f conftest.$ac_objext
33741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33742 (eval $ac_compile) 2>conftest.er1
33743 ac_status=$?
33744 grep -v '^ *+' conftest.er1 >conftest.err
33745 rm -f conftest.er1
33746 cat conftest.err >&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); } &&
33749 { ac_try='test -z "$ac_cxx_werror_flag"
33750 || test ! -s conftest.err'
33751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33752 (eval $ac_try) 2>&5
33753 ac_status=$?
33754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755 (exit $ac_status); }; } &&
33756 { ac_try='test -s conftest.$ac_objext'
33757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33758 (eval $ac_try) 2>&5
33759 ac_status=$?
33760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761 (exit $ac_status); }; }; then
33762 glibcxx_cv_func_qfpclass_use=yes
33763 else
33764 echo "$as_me: failed program was:" >&5
33765 sed 's/^/| /' conftest.$ac_ext >&5
33767 glibcxx_cv_func_qfpclass_use=no
33769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33770 ac_ext=c
33771 ac_cpp='$CPP $CPPFLAGS'
33772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33781 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33783 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33785 for ac_func in qfpclass
33787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33788 echo "$as_me:$LINENO: checking for $ac_func" >&5
33789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33790 if eval "test \"\${$as_ac_var+set}\" = set"; then
33791 echo $ECHO_N "(cached) $ECHO_C" >&6
33792 else
33793 if test x$gcc_no_link = xyes; then
33794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33796 { (exit 1); exit 1; }; }
33798 cat >conftest.$ac_ext <<_ACEOF
33799 /* confdefs.h. */
33800 _ACEOF
33801 cat confdefs.h >>conftest.$ac_ext
33802 cat >>conftest.$ac_ext <<_ACEOF
33803 /* end confdefs.h. */
33804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33806 #define $ac_func innocuous_$ac_func
33808 /* System header to define __stub macros and hopefully few prototypes,
33809 which can conflict with char $ac_func (); below.
33810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33811 <limits.h> exists even on freestanding compilers. */
33813 #ifdef __STDC__
33814 # include <limits.h>
33815 #else
33816 # include <assert.h>
33817 #endif
33819 #undef $ac_func
33821 /* Override any gcc2 internal prototype to avoid an error. */
33822 #ifdef __cplusplus
33823 extern "C"
33825 #endif
33826 /* We use char because int might match the return type of a gcc2
33827 builtin and then its argument prototype would still apply. */
33828 char $ac_func ();
33829 /* The GNU C library defines this for functions which it implements
33830 to always fail with ENOSYS. Some functions are actually named
33831 something starting with __ and the normal name is an alias. */
33832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33833 choke me
33834 #else
33835 char (*f) () = $ac_func;
33836 #endif
33837 #ifdef __cplusplus
33839 #endif
33842 main ()
33844 return f != $ac_func;
33846 return 0;
33848 _ACEOF
33849 rm -f conftest.$ac_objext conftest$ac_exeext
33850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33851 (eval $ac_link) 2>conftest.er1
33852 ac_status=$?
33853 grep -v '^ *+' conftest.er1 >conftest.err
33854 rm -f conftest.er1
33855 cat conftest.err >&5
33856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857 (exit $ac_status); } &&
33858 { ac_try='test -z "$ac_c_werror_flag"
33859 || test ! -s conftest.err'
33860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33861 (eval $ac_try) 2>&5
33862 ac_status=$?
33863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33864 (exit $ac_status); }; } &&
33865 { ac_try='test -s conftest$ac_exeext'
33866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33867 (eval $ac_try) 2>&5
33868 ac_status=$?
33869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870 (exit $ac_status); }; }; then
33871 eval "$as_ac_var=yes"
33872 else
33873 echo "$as_me: failed program was:" >&5
33874 sed 's/^/| /' conftest.$ac_ext >&5
33876 eval "$as_ac_var=no"
33878 rm -f conftest.err conftest.$ac_objext \
33879 conftest$ac_exeext conftest.$ac_ext
33881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33883 if test `eval echo '${'$as_ac_var'}'` = yes; then
33884 cat >>confdefs.h <<_ACEOF
33885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33886 _ACEOF
33889 done
33891 else
33893 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33894 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33895 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33896 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33897 echo $ECHO_N "(cached) $ECHO_C" >&6
33898 else
33902 ac_ext=cc
33903 ac_cpp='$CXXCPP $CPPFLAGS'
33904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33908 cat >conftest.$ac_ext <<_ACEOF
33909 /* confdefs.h. */
33910 _ACEOF
33911 cat confdefs.h >>conftest.$ac_ext
33912 cat >>conftest.$ac_ext <<_ACEOF
33913 /* end confdefs.h. */
33914 #include <math.h>
33915 #ifdef HAVE_IEEEFP_H
33916 #include <ieeefp.h>
33917 #endif
33920 main ()
33922 _qfpclass(0);
33924 return 0;
33926 _ACEOF
33927 rm -f conftest.$ac_objext
33928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33929 (eval $ac_compile) 2>conftest.er1
33930 ac_status=$?
33931 grep -v '^ *+' conftest.er1 >conftest.err
33932 rm -f conftest.er1
33933 cat conftest.err >&5
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); } &&
33936 { ac_try='test -z "$ac_cxx_werror_flag"
33937 || test ! -s conftest.err'
33938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939 (eval $ac_try) 2>&5
33940 ac_status=$?
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); }; } &&
33943 { ac_try='test -s conftest.$ac_objext'
33944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945 (eval $ac_try) 2>&5
33946 ac_status=$?
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); }; }; then
33949 glibcxx_cv_func__qfpclass_use=yes
33950 else
33951 echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.$ac_ext >&5
33954 glibcxx_cv_func__qfpclass_use=no
33956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33957 ac_ext=c
33958 ac_cpp='$CPP $CPPFLAGS'
33959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33967 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33968 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33970 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33972 for ac_func in _qfpclass
33974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33975 echo "$as_me:$LINENO: checking for $ac_func" >&5
33976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33977 if eval "test \"\${$as_ac_var+set}\" = set"; then
33978 echo $ECHO_N "(cached) $ECHO_C" >&6
33979 else
33980 if test x$gcc_no_link = xyes; then
33981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33983 { (exit 1); exit 1; }; }
33985 cat >conftest.$ac_ext <<_ACEOF
33986 /* confdefs.h. */
33987 _ACEOF
33988 cat confdefs.h >>conftest.$ac_ext
33989 cat >>conftest.$ac_ext <<_ACEOF
33990 /* end confdefs.h. */
33991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33993 #define $ac_func innocuous_$ac_func
33995 /* System header to define __stub macros and hopefully few prototypes,
33996 which can conflict with char $ac_func (); below.
33997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33998 <limits.h> exists even on freestanding compilers. */
34000 #ifdef __STDC__
34001 # include <limits.h>
34002 #else
34003 # include <assert.h>
34004 #endif
34006 #undef $ac_func
34008 /* Override any gcc2 internal prototype to avoid an error. */
34009 #ifdef __cplusplus
34010 extern "C"
34012 #endif
34013 /* We use char because int might match the return type of a gcc2
34014 builtin and then its argument prototype would still apply. */
34015 char $ac_func ();
34016 /* The GNU C library defines this for functions which it implements
34017 to always fail with ENOSYS. Some functions are actually named
34018 something starting with __ and the normal name is an alias. */
34019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34020 choke me
34021 #else
34022 char (*f) () = $ac_func;
34023 #endif
34024 #ifdef __cplusplus
34026 #endif
34029 main ()
34031 return f != $ac_func;
34033 return 0;
34035 _ACEOF
34036 rm -f conftest.$ac_objext conftest$ac_exeext
34037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34038 (eval $ac_link) 2>conftest.er1
34039 ac_status=$?
34040 grep -v '^ *+' conftest.er1 >conftest.err
34041 rm -f conftest.er1
34042 cat conftest.err >&5
34043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34044 (exit $ac_status); } &&
34045 { ac_try='test -z "$ac_c_werror_flag"
34046 || test ! -s conftest.err'
34047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34048 (eval $ac_try) 2>&5
34049 ac_status=$?
34050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051 (exit $ac_status); }; } &&
34052 { ac_try='test -s conftest$ac_exeext'
34053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34054 (eval $ac_try) 2>&5
34055 ac_status=$?
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); }; }; then
34058 eval "$as_ac_var=yes"
34059 else
34060 echo "$as_me: failed program was:" >&5
34061 sed 's/^/| /' conftest.$ac_ext >&5
34063 eval "$as_ac_var=no"
34065 rm -f conftest.err conftest.$ac_objext \
34066 conftest$ac_exeext conftest.$ac_ext
34068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34070 if test `eval echo '${'$as_ac_var'}'` = yes; then
34071 cat >>confdefs.h <<_ACEOF
34072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34073 _ACEOF
34076 done
34083 echo "$as_me:$LINENO: checking for hypot declaration" >&5
34084 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34085 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34086 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34087 echo $ECHO_N "(cached) $ECHO_C" >&6
34088 else
34092 ac_ext=cc
34093 ac_cpp='$CXXCPP $CPPFLAGS'
34094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34098 cat >conftest.$ac_ext <<_ACEOF
34099 /* confdefs.h. */
34100 _ACEOF
34101 cat confdefs.h >>conftest.$ac_ext
34102 cat >>conftest.$ac_ext <<_ACEOF
34103 /* end confdefs.h. */
34104 #include <math.h>
34106 main ()
34108 hypot(0, 0);
34110 return 0;
34112 _ACEOF
34113 rm -f conftest.$ac_objext
34114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34115 (eval $ac_compile) 2>conftest.er1
34116 ac_status=$?
34117 grep -v '^ *+' conftest.er1 >conftest.err
34118 rm -f conftest.er1
34119 cat conftest.err >&5
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); } &&
34122 { ac_try='test -z "$ac_cxx_werror_flag"
34123 || test ! -s conftest.err'
34124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34125 (eval $ac_try) 2>&5
34126 ac_status=$?
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); }; } &&
34129 { ac_try='test -s conftest.$ac_objext'
34130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34131 (eval $ac_try) 2>&5
34132 ac_status=$?
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); }; }; then
34135 glibcxx_cv_func_hypot_use=yes
34136 else
34137 echo "$as_me: failed program was:" >&5
34138 sed 's/^/| /' conftest.$ac_ext >&5
34140 glibcxx_cv_func_hypot_use=no
34142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34143 ac_ext=c
34144 ac_cpp='$CPP $CPPFLAGS'
34145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34154 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34156 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34158 for ac_func in hypot
34160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34161 echo "$as_me:$LINENO: checking for $ac_func" >&5
34162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34163 if eval "test \"\${$as_ac_var+set}\" = set"; then
34164 echo $ECHO_N "(cached) $ECHO_C" >&6
34165 else
34166 if test x$gcc_no_link = xyes; then
34167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34169 { (exit 1); exit 1; }; }
34171 cat >conftest.$ac_ext <<_ACEOF
34172 /* confdefs.h. */
34173 _ACEOF
34174 cat confdefs.h >>conftest.$ac_ext
34175 cat >>conftest.$ac_ext <<_ACEOF
34176 /* end confdefs.h. */
34177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34179 #define $ac_func innocuous_$ac_func
34181 /* System header to define __stub macros and hopefully few prototypes,
34182 which can conflict with char $ac_func (); below.
34183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34184 <limits.h> exists even on freestanding compilers. */
34186 #ifdef __STDC__
34187 # include <limits.h>
34188 #else
34189 # include <assert.h>
34190 #endif
34192 #undef $ac_func
34194 /* Override any gcc2 internal prototype to avoid an error. */
34195 #ifdef __cplusplus
34196 extern "C"
34198 #endif
34199 /* We use char because int might match the return type of a gcc2
34200 builtin and then its argument prototype would still apply. */
34201 char $ac_func ();
34202 /* The GNU C library defines this for functions which it implements
34203 to always fail with ENOSYS. Some functions are actually named
34204 something starting with __ and the normal name is an alias. */
34205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34206 choke me
34207 #else
34208 char (*f) () = $ac_func;
34209 #endif
34210 #ifdef __cplusplus
34212 #endif
34215 main ()
34217 return f != $ac_func;
34219 return 0;
34221 _ACEOF
34222 rm -f conftest.$ac_objext conftest$ac_exeext
34223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34224 (eval $ac_link) 2>conftest.er1
34225 ac_status=$?
34226 grep -v '^ *+' conftest.er1 >conftest.err
34227 rm -f conftest.er1
34228 cat conftest.err >&5
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); } &&
34231 { ac_try='test -z "$ac_c_werror_flag"
34232 || test ! -s conftest.err'
34233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34234 (eval $ac_try) 2>&5
34235 ac_status=$?
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); }; } &&
34238 { ac_try='test -s conftest$ac_exeext'
34239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34240 (eval $ac_try) 2>&5
34241 ac_status=$?
34242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34243 (exit $ac_status); }; }; then
34244 eval "$as_ac_var=yes"
34245 else
34246 echo "$as_me: failed program was:" >&5
34247 sed 's/^/| /' conftest.$ac_ext >&5
34249 eval "$as_ac_var=no"
34251 rm -f conftest.err conftest.$ac_objext \
34252 conftest$ac_exeext conftest.$ac_ext
34254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34256 if test `eval echo '${'$as_ac_var'}'` = yes; then
34257 cat >>confdefs.h <<_ACEOF
34258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34259 _ACEOF
34262 done
34264 else
34266 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34267 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34268 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34269 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34270 echo $ECHO_N "(cached) $ECHO_C" >&6
34271 else
34275 ac_ext=cc
34276 ac_cpp='$CXXCPP $CPPFLAGS'
34277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34281 cat >conftest.$ac_ext <<_ACEOF
34282 /* confdefs.h. */
34283 _ACEOF
34284 cat confdefs.h >>conftest.$ac_ext
34285 cat >>conftest.$ac_ext <<_ACEOF
34286 /* end confdefs.h. */
34287 #include <math.h>
34289 main ()
34291 _hypot(0, 0);
34293 return 0;
34295 _ACEOF
34296 rm -f conftest.$ac_objext
34297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34298 (eval $ac_compile) 2>conftest.er1
34299 ac_status=$?
34300 grep -v '^ *+' conftest.er1 >conftest.err
34301 rm -f conftest.er1
34302 cat conftest.err >&5
34303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304 (exit $ac_status); } &&
34305 { ac_try='test -z "$ac_cxx_werror_flag"
34306 || test ! -s conftest.err'
34307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34308 (eval $ac_try) 2>&5
34309 ac_status=$?
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); }; } &&
34312 { ac_try='test -s conftest.$ac_objext'
34313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34314 (eval $ac_try) 2>&5
34315 ac_status=$?
34316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34317 (exit $ac_status); }; }; then
34318 glibcxx_cv_func__hypot_use=yes
34319 else
34320 echo "$as_me: failed program was:" >&5
34321 sed 's/^/| /' conftest.$ac_ext >&5
34323 glibcxx_cv_func__hypot_use=no
34325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34326 ac_ext=c
34327 ac_cpp='$CPP $CPPFLAGS'
34328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34336 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34337 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34339 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34341 for ac_func in _hypot
34343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34344 echo "$as_me:$LINENO: checking for $ac_func" >&5
34345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34346 if eval "test \"\${$as_ac_var+set}\" = set"; then
34347 echo $ECHO_N "(cached) $ECHO_C" >&6
34348 else
34349 if test x$gcc_no_link = xyes; then
34350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34352 { (exit 1); exit 1; }; }
34354 cat >conftest.$ac_ext <<_ACEOF
34355 /* confdefs.h. */
34356 _ACEOF
34357 cat confdefs.h >>conftest.$ac_ext
34358 cat >>conftest.$ac_ext <<_ACEOF
34359 /* end confdefs.h. */
34360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34362 #define $ac_func innocuous_$ac_func
34364 /* System header to define __stub macros and hopefully few prototypes,
34365 which can conflict with char $ac_func (); below.
34366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34367 <limits.h> exists even on freestanding compilers. */
34369 #ifdef __STDC__
34370 # include <limits.h>
34371 #else
34372 # include <assert.h>
34373 #endif
34375 #undef $ac_func
34377 /* Override any gcc2 internal prototype to avoid an error. */
34378 #ifdef __cplusplus
34379 extern "C"
34381 #endif
34382 /* We use char because int might match the return type of a gcc2
34383 builtin and then its argument prototype would still apply. */
34384 char $ac_func ();
34385 /* The GNU C library defines this for functions which it implements
34386 to always fail with ENOSYS. Some functions are actually named
34387 something starting with __ and the normal name is an alias. */
34388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34389 choke me
34390 #else
34391 char (*f) () = $ac_func;
34392 #endif
34393 #ifdef __cplusplus
34395 #endif
34398 main ()
34400 return f != $ac_func;
34402 return 0;
34404 _ACEOF
34405 rm -f conftest.$ac_objext conftest$ac_exeext
34406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34407 (eval $ac_link) 2>conftest.er1
34408 ac_status=$?
34409 grep -v '^ *+' conftest.er1 >conftest.err
34410 rm -f conftest.er1
34411 cat conftest.err >&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); } &&
34414 { ac_try='test -z "$ac_c_werror_flag"
34415 || test ! -s conftest.err'
34416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34417 (eval $ac_try) 2>&5
34418 ac_status=$?
34419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34420 (exit $ac_status); }; } &&
34421 { ac_try='test -s conftest$ac_exeext'
34422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34423 (eval $ac_try) 2>&5
34424 ac_status=$?
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); }; }; then
34427 eval "$as_ac_var=yes"
34428 else
34429 echo "$as_me: failed program was:" >&5
34430 sed 's/^/| /' conftest.$ac_ext >&5
34432 eval "$as_ac_var=no"
34434 rm -f conftest.err conftest.$ac_objext \
34435 conftest$ac_exeext conftest.$ac_ext
34437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34439 if test `eval echo '${'$as_ac_var'}'` = yes; then
34440 cat >>confdefs.h <<_ACEOF
34441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34442 _ACEOF
34445 done
34452 echo "$as_me:$LINENO: checking for float trig functions" >&5
34453 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34454 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34455 echo $ECHO_N "(cached) $ECHO_C" >&6
34456 else
34460 ac_ext=cc
34461 ac_cpp='$CXXCPP $CPPFLAGS'
34462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34466 cat >conftest.$ac_ext <<_ACEOF
34467 /* confdefs.h. */
34468 _ACEOF
34469 cat confdefs.h >>conftest.$ac_ext
34470 cat >>conftest.$ac_ext <<_ACEOF
34471 /* end confdefs.h. */
34472 #include <math.h>
34474 main ()
34476 `for x in acosf asinf atanf \
34477 cosf sinf tanf \
34478 coshf sinhf tanhf; do echo "$x (0);"; done`
34480 return 0;
34482 _ACEOF
34483 rm -f conftest.$ac_objext
34484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34485 (eval $ac_compile) 2>conftest.er1
34486 ac_status=$?
34487 grep -v '^ *+' conftest.er1 >conftest.err
34488 rm -f conftest.er1
34489 cat conftest.err >&5
34490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34491 (exit $ac_status); } &&
34492 { ac_try='test -z "$ac_cxx_werror_flag"
34493 || test ! -s conftest.err'
34494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34495 (eval $ac_try) 2>&5
34496 ac_status=$?
34497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34498 (exit $ac_status); }; } &&
34499 { ac_try='test -s conftest.$ac_objext'
34500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34501 (eval $ac_try) 2>&5
34502 ac_status=$?
34503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34504 (exit $ac_status); }; }; then
34505 glibcxx_cv_func_float_trig_use=yes
34506 else
34507 echo "$as_me: failed program was:" >&5
34508 sed 's/^/| /' conftest.$ac_ext >&5
34510 glibcxx_cv_func_float_trig_use=no
34512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34513 ac_ext=c
34514 ac_cpp='$CPP $CPPFLAGS'
34515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34521 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34522 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34523 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34533 for ac_func in acosf asinf atanf \
34534 cosf sinf tanf \
34535 coshf sinhf tanhf
34537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34538 echo "$as_me:$LINENO: checking for $ac_func" >&5
34539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34540 if eval "test \"\${$as_ac_var+set}\" = set"; then
34541 echo $ECHO_N "(cached) $ECHO_C" >&6
34542 else
34543 if test x$gcc_no_link = xyes; then
34544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34546 { (exit 1); exit 1; }; }
34548 cat >conftest.$ac_ext <<_ACEOF
34549 /* confdefs.h. */
34550 _ACEOF
34551 cat confdefs.h >>conftest.$ac_ext
34552 cat >>conftest.$ac_ext <<_ACEOF
34553 /* end confdefs.h. */
34554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34556 #define $ac_func innocuous_$ac_func
34558 /* System header to define __stub macros and hopefully few prototypes,
34559 which can conflict with char $ac_func (); below.
34560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34561 <limits.h> exists even on freestanding compilers. */
34563 #ifdef __STDC__
34564 # include <limits.h>
34565 #else
34566 # include <assert.h>
34567 #endif
34569 #undef $ac_func
34571 /* Override any gcc2 internal prototype to avoid an error. */
34572 #ifdef __cplusplus
34573 extern "C"
34575 #endif
34576 /* We use char because int might match the return type of a gcc2
34577 builtin and then its argument prototype would still apply. */
34578 char $ac_func ();
34579 /* The GNU C library defines this for functions which it implements
34580 to always fail with ENOSYS. Some functions are actually named
34581 something starting with __ and the normal name is an alias. */
34582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34583 choke me
34584 #else
34585 char (*f) () = $ac_func;
34586 #endif
34587 #ifdef __cplusplus
34589 #endif
34592 main ()
34594 return f != $ac_func;
34596 return 0;
34598 _ACEOF
34599 rm -f conftest.$ac_objext conftest$ac_exeext
34600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34601 (eval $ac_link) 2>conftest.er1
34602 ac_status=$?
34603 grep -v '^ *+' conftest.er1 >conftest.err
34604 rm -f conftest.er1
34605 cat conftest.err >&5
34606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34607 (exit $ac_status); } &&
34608 { ac_try='test -z "$ac_c_werror_flag"
34609 || test ! -s conftest.err'
34610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34611 (eval $ac_try) 2>&5
34612 ac_status=$?
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); }; } &&
34615 { ac_try='test -s conftest$ac_exeext'
34616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34617 (eval $ac_try) 2>&5
34618 ac_status=$?
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); }; }; then
34621 eval "$as_ac_var=yes"
34622 else
34623 echo "$as_me: failed program was:" >&5
34624 sed 's/^/| /' conftest.$ac_ext >&5
34626 eval "$as_ac_var=no"
34628 rm -f conftest.err conftest.$ac_objext \
34629 conftest$ac_exeext conftest.$ac_ext
34631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34633 if test `eval echo '${'$as_ac_var'}'` = yes; then
34634 cat >>confdefs.h <<_ACEOF
34635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34636 _ACEOF
34639 done
34644 echo "$as_me:$LINENO: checking for float round functions" >&5
34645 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34646 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34647 echo $ECHO_N "(cached) $ECHO_C" >&6
34648 else
34652 ac_ext=cc
34653 ac_cpp='$CXXCPP $CPPFLAGS'
34654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34658 cat >conftest.$ac_ext <<_ACEOF
34659 /* confdefs.h. */
34660 _ACEOF
34661 cat confdefs.h >>conftest.$ac_ext
34662 cat >>conftest.$ac_ext <<_ACEOF
34663 /* end confdefs.h. */
34664 #include <math.h>
34666 main ()
34668 `for x in ceilf floorf; do echo "$x (0);"; done`
34670 return 0;
34672 _ACEOF
34673 rm -f conftest.$ac_objext
34674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34675 (eval $ac_compile) 2>conftest.er1
34676 ac_status=$?
34677 grep -v '^ *+' conftest.er1 >conftest.err
34678 rm -f conftest.er1
34679 cat conftest.err >&5
34680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34681 (exit $ac_status); } &&
34682 { ac_try='test -z "$ac_cxx_werror_flag"
34683 || test ! -s conftest.err'
34684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34685 (eval $ac_try) 2>&5
34686 ac_status=$?
34687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34688 (exit $ac_status); }; } &&
34689 { ac_try='test -s conftest.$ac_objext'
34690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34691 (eval $ac_try) 2>&5
34692 ac_status=$?
34693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34694 (exit $ac_status); }; }; then
34695 glibcxx_cv_func_float_round_use=yes
34696 else
34697 echo "$as_me: failed program was:" >&5
34698 sed 's/^/| /' conftest.$ac_ext >&5
34700 glibcxx_cv_func_float_round_use=no
34702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34703 ac_ext=c
34704 ac_cpp='$CPP $CPPFLAGS'
34705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34712 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34713 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34716 for ac_func in ceilf floorf
34718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34719 echo "$as_me:$LINENO: checking for $ac_func" >&5
34720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34721 if eval "test \"\${$as_ac_var+set}\" = set"; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34723 else
34724 if test x$gcc_no_link = xyes; then
34725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34727 { (exit 1); exit 1; }; }
34729 cat >conftest.$ac_ext <<_ACEOF
34730 /* confdefs.h. */
34731 _ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34737 #define $ac_func innocuous_$ac_func
34739 /* System header to define __stub macros and hopefully few prototypes,
34740 which can conflict with char $ac_func (); below.
34741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34742 <limits.h> exists even on freestanding compilers. */
34744 #ifdef __STDC__
34745 # include <limits.h>
34746 #else
34747 # include <assert.h>
34748 #endif
34750 #undef $ac_func
34752 /* Override any gcc2 internal prototype to avoid an error. */
34753 #ifdef __cplusplus
34754 extern "C"
34756 #endif
34757 /* We use char because int might match the return type of a gcc2
34758 builtin and then its argument prototype would still apply. */
34759 char $ac_func ();
34760 /* The GNU C library defines this for functions which it implements
34761 to always fail with ENOSYS. Some functions are actually named
34762 something starting with __ and the normal name is an alias. */
34763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34764 choke me
34765 #else
34766 char (*f) () = $ac_func;
34767 #endif
34768 #ifdef __cplusplus
34770 #endif
34773 main ()
34775 return f != $ac_func;
34777 return 0;
34779 _ACEOF
34780 rm -f conftest.$ac_objext conftest$ac_exeext
34781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34782 (eval $ac_link) 2>conftest.er1
34783 ac_status=$?
34784 grep -v '^ *+' conftest.er1 >conftest.err
34785 rm -f conftest.er1
34786 cat conftest.err >&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); } &&
34789 { ac_try='test -z "$ac_c_werror_flag"
34790 || test ! -s conftest.err'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34793 ac_status=$?
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; } &&
34796 { ac_try='test -s conftest$ac_exeext'
34797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34798 (eval $ac_try) 2>&5
34799 ac_status=$?
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); }; }; then
34802 eval "$as_ac_var=yes"
34803 else
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.$ac_ext >&5
34807 eval "$as_ac_var=no"
34809 rm -f conftest.err conftest.$ac_objext \
34810 conftest$ac_exeext conftest.$ac_ext
34812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34814 if test `eval echo '${'$as_ac_var'}'` = yes; then
34815 cat >>confdefs.h <<_ACEOF
34816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34817 _ACEOF
34820 done
34826 echo "$as_me:$LINENO: checking for expf declaration" >&5
34827 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34828 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34829 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34830 echo $ECHO_N "(cached) $ECHO_C" >&6
34831 else
34835 ac_ext=cc
34836 ac_cpp='$CXXCPP $CPPFLAGS'
34837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34841 cat >conftest.$ac_ext <<_ACEOF
34842 /* confdefs.h. */
34843 _ACEOF
34844 cat confdefs.h >>conftest.$ac_ext
34845 cat >>conftest.$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34847 #include <math.h>
34848 #ifdef HAVE_IEEEFP_H
34849 #include <ieeefp.h>
34850 #endif
34853 main ()
34855 expf(0);
34857 return 0;
34859 _ACEOF
34860 rm -f conftest.$ac_objext
34861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34862 (eval $ac_compile) 2>conftest.er1
34863 ac_status=$?
34864 grep -v '^ *+' conftest.er1 >conftest.err
34865 rm -f conftest.er1
34866 cat conftest.err >&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); } &&
34869 { ac_try='test -z "$ac_cxx_werror_flag"
34870 || test ! -s conftest.err'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34873 ac_status=$?
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; } &&
34876 { ac_try='test -s conftest.$ac_objext'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34879 ac_status=$?
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; }; then
34882 glibcxx_cv_func_expf_use=yes
34883 else
34884 echo "$as_me: failed program was:" >&5
34885 sed 's/^/| /' conftest.$ac_ext >&5
34887 glibcxx_cv_func_expf_use=no
34889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34890 ac_ext=c
34891 ac_cpp='$CPP $CPPFLAGS'
34892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34901 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34903 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34905 for ac_func in expf
34907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34908 echo "$as_me:$LINENO: checking for $ac_func" >&5
34909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34910 if eval "test \"\${$as_ac_var+set}\" = set"; then
34911 echo $ECHO_N "(cached) $ECHO_C" >&6
34912 else
34913 if test x$gcc_no_link = xyes; then
34914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34916 { (exit 1); exit 1; }; }
34918 cat >conftest.$ac_ext <<_ACEOF
34919 /* confdefs.h. */
34920 _ACEOF
34921 cat confdefs.h >>conftest.$ac_ext
34922 cat >>conftest.$ac_ext <<_ACEOF
34923 /* end confdefs.h. */
34924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34926 #define $ac_func innocuous_$ac_func
34928 /* System header to define __stub macros and hopefully few prototypes,
34929 which can conflict with char $ac_func (); below.
34930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34931 <limits.h> exists even on freestanding compilers. */
34933 #ifdef __STDC__
34934 # include <limits.h>
34935 #else
34936 # include <assert.h>
34937 #endif
34939 #undef $ac_func
34941 /* Override any gcc2 internal prototype to avoid an error. */
34942 #ifdef __cplusplus
34943 extern "C"
34945 #endif
34946 /* We use char because int might match the return type of a gcc2
34947 builtin and then its argument prototype would still apply. */
34948 char $ac_func ();
34949 /* The GNU C library defines this for functions which it implements
34950 to always fail with ENOSYS. Some functions are actually named
34951 something starting with __ and the normal name is an alias. */
34952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34953 choke me
34954 #else
34955 char (*f) () = $ac_func;
34956 #endif
34957 #ifdef __cplusplus
34959 #endif
34962 main ()
34964 return f != $ac_func;
34966 return 0;
34968 _ACEOF
34969 rm -f conftest.$ac_objext conftest$ac_exeext
34970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34971 (eval $ac_link) 2>conftest.er1
34972 ac_status=$?
34973 grep -v '^ *+' conftest.er1 >conftest.err
34974 rm -f conftest.er1
34975 cat conftest.err >&5
34976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34977 (exit $ac_status); } &&
34978 { ac_try='test -z "$ac_c_werror_flag"
34979 || test ! -s conftest.err'
34980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34981 (eval $ac_try) 2>&5
34982 ac_status=$?
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); }; } &&
34985 { ac_try='test -s conftest$ac_exeext'
34986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34987 (eval $ac_try) 2>&5
34988 ac_status=$?
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); }; }; then
34991 eval "$as_ac_var=yes"
34992 else
34993 echo "$as_me: failed program was:" >&5
34994 sed 's/^/| /' conftest.$ac_ext >&5
34996 eval "$as_ac_var=no"
34998 rm -f conftest.err conftest.$ac_objext \
34999 conftest$ac_exeext conftest.$ac_ext
35001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35003 if test `eval echo '${'$as_ac_var'}'` = yes; then
35004 cat >>confdefs.h <<_ACEOF
35005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35006 _ACEOF
35009 done
35011 else
35013 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35014 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35015 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35016 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35017 echo $ECHO_N "(cached) $ECHO_C" >&6
35018 else
35022 ac_ext=cc
35023 ac_cpp='$CXXCPP $CPPFLAGS'
35024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35028 cat >conftest.$ac_ext <<_ACEOF
35029 /* confdefs.h. */
35030 _ACEOF
35031 cat confdefs.h >>conftest.$ac_ext
35032 cat >>conftest.$ac_ext <<_ACEOF
35033 /* end confdefs.h. */
35034 #include <math.h>
35035 #ifdef HAVE_IEEEFP_H
35036 #include <ieeefp.h>
35037 #endif
35040 main ()
35042 _expf(0);
35044 return 0;
35046 _ACEOF
35047 rm -f conftest.$ac_objext
35048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35049 (eval $ac_compile) 2>conftest.er1
35050 ac_status=$?
35051 grep -v '^ *+' conftest.er1 >conftest.err
35052 rm -f conftest.er1
35053 cat conftest.err >&5
35054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35055 (exit $ac_status); } &&
35056 { ac_try='test -z "$ac_cxx_werror_flag"
35057 || test ! -s conftest.err'
35058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35059 (eval $ac_try) 2>&5
35060 ac_status=$?
35061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35062 (exit $ac_status); }; } &&
35063 { ac_try='test -s conftest.$ac_objext'
35064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35065 (eval $ac_try) 2>&5
35066 ac_status=$?
35067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35068 (exit $ac_status); }; }; then
35069 glibcxx_cv_func__expf_use=yes
35070 else
35071 echo "$as_me: failed program was:" >&5
35072 sed 's/^/| /' conftest.$ac_ext >&5
35074 glibcxx_cv_func__expf_use=no
35076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35077 ac_ext=c
35078 ac_cpp='$CPP $CPPFLAGS'
35079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35087 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35088 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35090 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35092 for ac_func in _expf
35094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35095 echo "$as_me:$LINENO: checking for $ac_func" >&5
35096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35097 if eval "test \"\${$as_ac_var+set}\" = set"; then
35098 echo $ECHO_N "(cached) $ECHO_C" >&6
35099 else
35100 if test x$gcc_no_link = xyes; then
35101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35103 { (exit 1); exit 1; }; }
35105 cat >conftest.$ac_ext <<_ACEOF
35106 /* confdefs.h. */
35107 _ACEOF
35108 cat confdefs.h >>conftest.$ac_ext
35109 cat >>conftest.$ac_ext <<_ACEOF
35110 /* end confdefs.h. */
35111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35113 #define $ac_func innocuous_$ac_func
35115 /* System header to define __stub macros and hopefully few prototypes,
35116 which can conflict with char $ac_func (); below.
35117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35118 <limits.h> exists even on freestanding compilers. */
35120 #ifdef __STDC__
35121 # include <limits.h>
35122 #else
35123 # include <assert.h>
35124 #endif
35126 #undef $ac_func
35128 /* Override any gcc2 internal prototype to avoid an error. */
35129 #ifdef __cplusplus
35130 extern "C"
35132 #endif
35133 /* We use char because int might match the return type of a gcc2
35134 builtin and then its argument prototype would still apply. */
35135 char $ac_func ();
35136 /* The GNU C library defines this for functions which it implements
35137 to always fail with ENOSYS. Some functions are actually named
35138 something starting with __ and the normal name is an alias. */
35139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35140 choke me
35141 #else
35142 char (*f) () = $ac_func;
35143 #endif
35144 #ifdef __cplusplus
35146 #endif
35149 main ()
35151 return f != $ac_func;
35153 return 0;
35155 _ACEOF
35156 rm -f conftest.$ac_objext conftest$ac_exeext
35157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35158 (eval $ac_link) 2>conftest.er1
35159 ac_status=$?
35160 grep -v '^ *+' conftest.er1 >conftest.err
35161 rm -f conftest.er1
35162 cat conftest.err >&5
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); } &&
35165 { ac_try='test -z "$ac_c_werror_flag"
35166 || test ! -s conftest.err'
35167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35168 (eval $ac_try) 2>&5
35169 ac_status=$?
35170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35171 (exit $ac_status); }; } &&
35172 { ac_try='test -s conftest$ac_exeext'
35173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35174 (eval $ac_try) 2>&5
35175 ac_status=$?
35176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35177 (exit $ac_status); }; }; then
35178 eval "$as_ac_var=yes"
35179 else
35180 echo "$as_me: failed program was:" >&5
35181 sed 's/^/| /' conftest.$ac_ext >&5
35183 eval "$as_ac_var=no"
35185 rm -f conftest.err conftest.$ac_objext \
35186 conftest$ac_exeext conftest.$ac_ext
35188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35190 if test `eval echo '${'$as_ac_var'}'` = yes; then
35191 cat >>confdefs.h <<_ACEOF
35192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35193 _ACEOF
35196 done
35203 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35204 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35205 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35206 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35207 echo $ECHO_N "(cached) $ECHO_C" >&6
35208 else
35212 ac_ext=cc
35213 ac_cpp='$CXXCPP $CPPFLAGS'
35214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35218 cat >conftest.$ac_ext <<_ACEOF
35219 /* confdefs.h. */
35220 _ACEOF
35221 cat confdefs.h >>conftest.$ac_ext
35222 cat >>conftest.$ac_ext <<_ACEOF
35223 /* end confdefs.h. */
35224 #include <math.h>
35225 #ifdef HAVE_IEEEFP_H
35226 #include <ieeefp.h>
35227 #endif
35230 main ()
35232 isnanf(0);
35234 return 0;
35236 _ACEOF
35237 rm -f conftest.$ac_objext
35238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35239 (eval $ac_compile) 2>conftest.er1
35240 ac_status=$?
35241 grep -v '^ *+' conftest.er1 >conftest.err
35242 rm -f conftest.er1
35243 cat conftest.err >&5
35244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35245 (exit $ac_status); } &&
35246 { ac_try='test -z "$ac_cxx_werror_flag"
35247 || test ! -s conftest.err'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35250 ac_status=$?
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; } &&
35253 { ac_try='test -s conftest.$ac_objext'
35254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35255 (eval $ac_try) 2>&5
35256 ac_status=$?
35257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258 (exit $ac_status); }; }; then
35259 glibcxx_cv_func_isnanf_use=yes
35260 else
35261 echo "$as_me: failed program was:" >&5
35262 sed 's/^/| /' conftest.$ac_ext >&5
35264 glibcxx_cv_func_isnanf_use=no
35266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35267 ac_ext=c
35268 ac_cpp='$CPP $CPPFLAGS'
35269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35277 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35278 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35280 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35282 for ac_func in isnanf
35284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35285 echo "$as_me:$LINENO: checking for $ac_func" >&5
35286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35287 if eval "test \"\${$as_ac_var+set}\" = set"; then
35288 echo $ECHO_N "(cached) $ECHO_C" >&6
35289 else
35290 if test x$gcc_no_link = xyes; then
35291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35293 { (exit 1); exit 1; }; }
35295 cat >conftest.$ac_ext <<_ACEOF
35296 /* confdefs.h. */
35297 _ACEOF
35298 cat confdefs.h >>conftest.$ac_ext
35299 cat >>conftest.$ac_ext <<_ACEOF
35300 /* end confdefs.h. */
35301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35303 #define $ac_func innocuous_$ac_func
35305 /* System header to define __stub macros and hopefully few prototypes,
35306 which can conflict with char $ac_func (); below.
35307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35308 <limits.h> exists even on freestanding compilers. */
35310 #ifdef __STDC__
35311 # include <limits.h>
35312 #else
35313 # include <assert.h>
35314 #endif
35316 #undef $ac_func
35318 /* Override any gcc2 internal prototype to avoid an error. */
35319 #ifdef __cplusplus
35320 extern "C"
35322 #endif
35323 /* We use char because int might match the return type of a gcc2
35324 builtin and then its argument prototype would still apply. */
35325 char $ac_func ();
35326 /* The GNU C library defines this for functions which it implements
35327 to always fail with ENOSYS. Some functions are actually named
35328 something starting with __ and the normal name is an alias. */
35329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35330 choke me
35331 #else
35332 char (*f) () = $ac_func;
35333 #endif
35334 #ifdef __cplusplus
35336 #endif
35339 main ()
35341 return f != $ac_func;
35343 return 0;
35345 _ACEOF
35346 rm -f conftest.$ac_objext conftest$ac_exeext
35347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35348 (eval $ac_link) 2>conftest.er1
35349 ac_status=$?
35350 grep -v '^ *+' conftest.er1 >conftest.err
35351 rm -f conftest.er1
35352 cat conftest.err >&5
35353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35354 (exit $ac_status); } &&
35355 { ac_try='test -z "$ac_c_werror_flag"
35356 || test ! -s conftest.err'
35357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35358 (eval $ac_try) 2>&5
35359 ac_status=$?
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); }; } &&
35362 { ac_try='test -s conftest$ac_exeext'
35363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35364 (eval $ac_try) 2>&5
35365 ac_status=$?
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); }; }; then
35368 eval "$as_ac_var=yes"
35369 else
35370 echo "$as_me: failed program was:" >&5
35371 sed 's/^/| /' conftest.$ac_ext >&5
35373 eval "$as_ac_var=no"
35375 rm -f conftest.err conftest.$ac_objext \
35376 conftest$ac_exeext conftest.$ac_ext
35378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35380 if test `eval echo '${'$as_ac_var'}'` = yes; then
35381 cat >>confdefs.h <<_ACEOF
35382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35383 _ACEOF
35386 done
35388 else
35390 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35391 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35392 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35393 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35394 echo $ECHO_N "(cached) $ECHO_C" >&6
35395 else
35399 ac_ext=cc
35400 ac_cpp='$CXXCPP $CPPFLAGS'
35401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35405 cat >conftest.$ac_ext <<_ACEOF
35406 /* confdefs.h. */
35407 _ACEOF
35408 cat confdefs.h >>conftest.$ac_ext
35409 cat >>conftest.$ac_ext <<_ACEOF
35410 /* end confdefs.h. */
35411 #include <math.h>
35412 #ifdef HAVE_IEEEFP_H
35413 #include <ieeefp.h>
35414 #endif
35417 main ()
35419 _isnanf(0);
35421 return 0;
35423 _ACEOF
35424 rm -f conftest.$ac_objext
35425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35426 (eval $ac_compile) 2>conftest.er1
35427 ac_status=$?
35428 grep -v '^ *+' conftest.er1 >conftest.err
35429 rm -f conftest.er1
35430 cat conftest.err >&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); } &&
35433 { ac_try='test -z "$ac_cxx_werror_flag"
35434 || test ! -s conftest.err'
35435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35436 (eval $ac_try) 2>&5
35437 ac_status=$?
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); }; } &&
35440 { ac_try='test -s conftest.$ac_objext'
35441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35442 (eval $ac_try) 2>&5
35443 ac_status=$?
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; }; then
35446 glibcxx_cv_func__isnanf_use=yes
35447 else
35448 echo "$as_me: failed program was:" >&5
35449 sed 's/^/| /' conftest.$ac_ext >&5
35451 glibcxx_cv_func__isnanf_use=no
35453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35454 ac_ext=c
35455 ac_cpp='$CPP $CPPFLAGS'
35456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35465 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35467 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35469 for ac_func in _isnanf
35471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35472 echo "$as_me:$LINENO: checking for $ac_func" >&5
35473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35474 if eval "test \"\${$as_ac_var+set}\" = set"; then
35475 echo $ECHO_N "(cached) $ECHO_C" >&6
35476 else
35477 if test x$gcc_no_link = xyes; then
35478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35480 { (exit 1); exit 1; }; }
35482 cat >conftest.$ac_ext <<_ACEOF
35483 /* confdefs.h. */
35484 _ACEOF
35485 cat confdefs.h >>conftest.$ac_ext
35486 cat >>conftest.$ac_ext <<_ACEOF
35487 /* end confdefs.h. */
35488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35490 #define $ac_func innocuous_$ac_func
35492 /* System header to define __stub macros and hopefully few prototypes,
35493 which can conflict with char $ac_func (); below.
35494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35495 <limits.h> exists even on freestanding compilers. */
35497 #ifdef __STDC__
35498 # include <limits.h>
35499 #else
35500 # include <assert.h>
35501 #endif
35503 #undef $ac_func
35505 /* Override any gcc2 internal prototype to avoid an error. */
35506 #ifdef __cplusplus
35507 extern "C"
35509 #endif
35510 /* We use char because int might match the return type of a gcc2
35511 builtin and then its argument prototype would still apply. */
35512 char $ac_func ();
35513 /* The GNU C library defines this for functions which it implements
35514 to always fail with ENOSYS. Some functions are actually named
35515 something starting with __ and the normal name is an alias. */
35516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35517 choke me
35518 #else
35519 char (*f) () = $ac_func;
35520 #endif
35521 #ifdef __cplusplus
35523 #endif
35526 main ()
35528 return f != $ac_func;
35530 return 0;
35532 _ACEOF
35533 rm -f conftest.$ac_objext conftest$ac_exeext
35534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35535 (eval $ac_link) 2>conftest.er1
35536 ac_status=$?
35537 grep -v '^ *+' conftest.er1 >conftest.err
35538 rm -f conftest.er1
35539 cat conftest.err >&5
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); } &&
35542 { ac_try='test -z "$ac_c_werror_flag"
35543 || test ! -s conftest.err'
35544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545 (eval $ac_try) 2>&5
35546 ac_status=$?
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); }; } &&
35549 { ac_try='test -s conftest$ac_exeext'
35550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35551 (eval $ac_try) 2>&5
35552 ac_status=$?
35553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35554 (exit $ac_status); }; }; then
35555 eval "$as_ac_var=yes"
35556 else
35557 echo "$as_me: failed program was:" >&5
35558 sed 's/^/| /' conftest.$ac_ext >&5
35560 eval "$as_ac_var=no"
35562 rm -f conftest.err conftest.$ac_objext \
35563 conftest$ac_exeext conftest.$ac_ext
35565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35567 if test `eval echo '${'$as_ac_var'}'` = yes; then
35568 cat >>confdefs.h <<_ACEOF
35569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35570 _ACEOF
35573 done
35580 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35581 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35582 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35583 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35584 echo $ECHO_N "(cached) $ECHO_C" >&6
35585 else
35589 ac_ext=cc
35590 ac_cpp='$CXXCPP $CPPFLAGS'
35591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35595 cat >conftest.$ac_ext <<_ACEOF
35596 /* confdefs.h. */
35597 _ACEOF
35598 cat confdefs.h >>conftest.$ac_ext
35599 cat >>conftest.$ac_ext <<_ACEOF
35600 /* end confdefs.h. */
35601 #include <math.h>
35602 #ifdef HAVE_IEEEFP_H
35603 #include <ieeefp.h>
35604 #endif
35607 main ()
35609 isinff(0);
35611 return 0;
35613 _ACEOF
35614 rm -f conftest.$ac_objext
35615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35616 (eval $ac_compile) 2>conftest.er1
35617 ac_status=$?
35618 grep -v '^ *+' conftest.er1 >conftest.err
35619 rm -f conftest.er1
35620 cat conftest.err >&5
35621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35622 (exit $ac_status); } &&
35623 { ac_try='test -z "$ac_cxx_werror_flag"
35624 || test ! -s conftest.err'
35625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35626 (eval $ac_try) 2>&5
35627 ac_status=$?
35628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35629 (exit $ac_status); }; } &&
35630 { ac_try='test -s conftest.$ac_objext'
35631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35632 (eval $ac_try) 2>&5
35633 ac_status=$?
35634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 (exit $ac_status); }; }; then
35636 glibcxx_cv_func_isinff_use=yes
35637 else
35638 echo "$as_me: failed program was:" >&5
35639 sed 's/^/| /' conftest.$ac_ext >&5
35641 glibcxx_cv_func_isinff_use=no
35643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35644 ac_ext=c
35645 ac_cpp='$CPP $CPPFLAGS'
35646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35654 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35655 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35657 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35659 for ac_func in isinff
35661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35662 echo "$as_me:$LINENO: checking for $ac_func" >&5
35663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35664 if eval "test \"\${$as_ac_var+set}\" = set"; then
35665 echo $ECHO_N "(cached) $ECHO_C" >&6
35666 else
35667 if test x$gcc_no_link = xyes; then
35668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35670 { (exit 1); exit 1; }; }
35672 cat >conftest.$ac_ext <<_ACEOF
35673 /* confdefs.h. */
35674 _ACEOF
35675 cat confdefs.h >>conftest.$ac_ext
35676 cat >>conftest.$ac_ext <<_ACEOF
35677 /* end confdefs.h. */
35678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35680 #define $ac_func innocuous_$ac_func
35682 /* System header to define __stub macros and hopefully few prototypes,
35683 which can conflict with char $ac_func (); below.
35684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35685 <limits.h> exists even on freestanding compilers. */
35687 #ifdef __STDC__
35688 # include <limits.h>
35689 #else
35690 # include <assert.h>
35691 #endif
35693 #undef $ac_func
35695 /* Override any gcc2 internal prototype to avoid an error. */
35696 #ifdef __cplusplus
35697 extern "C"
35699 #endif
35700 /* We use char because int might match the return type of a gcc2
35701 builtin and then its argument prototype would still apply. */
35702 char $ac_func ();
35703 /* The GNU C library defines this for functions which it implements
35704 to always fail with ENOSYS. Some functions are actually named
35705 something starting with __ and the normal name is an alias. */
35706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35707 choke me
35708 #else
35709 char (*f) () = $ac_func;
35710 #endif
35711 #ifdef __cplusplus
35713 #endif
35716 main ()
35718 return f != $ac_func;
35720 return 0;
35722 _ACEOF
35723 rm -f conftest.$ac_objext conftest$ac_exeext
35724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35725 (eval $ac_link) 2>conftest.er1
35726 ac_status=$?
35727 grep -v '^ *+' conftest.er1 >conftest.err
35728 rm -f conftest.er1
35729 cat conftest.err >&5
35730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35731 (exit $ac_status); } &&
35732 { ac_try='test -z "$ac_c_werror_flag"
35733 || test ! -s conftest.err'
35734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35735 (eval $ac_try) 2>&5
35736 ac_status=$?
35737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738 (exit $ac_status); }; } &&
35739 { ac_try='test -s conftest$ac_exeext'
35740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35741 (eval $ac_try) 2>&5
35742 ac_status=$?
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); }; }; then
35745 eval "$as_ac_var=yes"
35746 else
35747 echo "$as_me: failed program was:" >&5
35748 sed 's/^/| /' conftest.$ac_ext >&5
35750 eval "$as_ac_var=no"
35752 rm -f conftest.err conftest.$ac_objext \
35753 conftest$ac_exeext conftest.$ac_ext
35755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35757 if test `eval echo '${'$as_ac_var'}'` = yes; then
35758 cat >>confdefs.h <<_ACEOF
35759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35760 _ACEOF
35763 done
35765 else
35767 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35768 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35769 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35770 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35771 echo $ECHO_N "(cached) $ECHO_C" >&6
35772 else
35776 ac_ext=cc
35777 ac_cpp='$CXXCPP $CPPFLAGS'
35778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35782 cat >conftest.$ac_ext <<_ACEOF
35783 /* confdefs.h. */
35784 _ACEOF
35785 cat confdefs.h >>conftest.$ac_ext
35786 cat >>conftest.$ac_ext <<_ACEOF
35787 /* end confdefs.h. */
35788 #include <math.h>
35789 #ifdef HAVE_IEEEFP_H
35790 #include <ieeefp.h>
35791 #endif
35794 main ()
35796 _isinff(0);
35798 return 0;
35800 _ACEOF
35801 rm -f conftest.$ac_objext
35802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35803 (eval $ac_compile) 2>conftest.er1
35804 ac_status=$?
35805 grep -v '^ *+' conftest.er1 >conftest.err
35806 rm -f conftest.er1
35807 cat conftest.err >&5
35808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35809 (exit $ac_status); } &&
35810 { ac_try='test -z "$ac_cxx_werror_flag"
35811 || test ! -s conftest.err'
35812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35813 (eval $ac_try) 2>&5
35814 ac_status=$?
35815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35816 (exit $ac_status); }; } &&
35817 { ac_try='test -s conftest.$ac_objext'
35818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35819 (eval $ac_try) 2>&5
35820 ac_status=$?
35821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822 (exit $ac_status); }; }; then
35823 glibcxx_cv_func__isinff_use=yes
35824 else
35825 echo "$as_me: failed program was:" >&5
35826 sed 's/^/| /' conftest.$ac_ext >&5
35828 glibcxx_cv_func__isinff_use=no
35830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35831 ac_ext=c
35832 ac_cpp='$CPP $CPPFLAGS'
35833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35841 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35842 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35844 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35846 for ac_func in _isinff
35848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35849 echo "$as_me:$LINENO: checking for $ac_func" >&5
35850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35851 if eval "test \"\${$as_ac_var+set}\" = set"; then
35852 echo $ECHO_N "(cached) $ECHO_C" >&6
35853 else
35854 if test x$gcc_no_link = xyes; then
35855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35857 { (exit 1); exit 1; }; }
35859 cat >conftest.$ac_ext <<_ACEOF
35860 /* confdefs.h. */
35861 _ACEOF
35862 cat confdefs.h >>conftest.$ac_ext
35863 cat >>conftest.$ac_ext <<_ACEOF
35864 /* end confdefs.h. */
35865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35867 #define $ac_func innocuous_$ac_func
35869 /* System header to define __stub macros and hopefully few prototypes,
35870 which can conflict with char $ac_func (); below.
35871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35872 <limits.h> exists even on freestanding compilers. */
35874 #ifdef __STDC__
35875 # include <limits.h>
35876 #else
35877 # include <assert.h>
35878 #endif
35880 #undef $ac_func
35882 /* Override any gcc2 internal prototype to avoid an error. */
35883 #ifdef __cplusplus
35884 extern "C"
35886 #endif
35887 /* We use char because int might match the return type of a gcc2
35888 builtin and then its argument prototype would still apply. */
35889 char $ac_func ();
35890 /* The GNU C library defines this for functions which it implements
35891 to always fail with ENOSYS. Some functions are actually named
35892 something starting with __ and the normal name is an alias. */
35893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35894 choke me
35895 #else
35896 char (*f) () = $ac_func;
35897 #endif
35898 #ifdef __cplusplus
35900 #endif
35903 main ()
35905 return f != $ac_func;
35907 return 0;
35909 _ACEOF
35910 rm -f conftest.$ac_objext conftest$ac_exeext
35911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35912 (eval $ac_link) 2>conftest.er1
35913 ac_status=$?
35914 grep -v '^ *+' conftest.er1 >conftest.err
35915 rm -f conftest.er1
35916 cat conftest.err >&5
35917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35918 (exit $ac_status); } &&
35919 { ac_try='test -z "$ac_c_werror_flag"
35920 || test ! -s conftest.err'
35921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35922 (eval $ac_try) 2>&5
35923 ac_status=$?
35924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35925 (exit $ac_status); }; } &&
35926 { ac_try='test -s conftest$ac_exeext'
35927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35928 (eval $ac_try) 2>&5
35929 ac_status=$?
35930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35931 (exit $ac_status); }; }; then
35932 eval "$as_ac_var=yes"
35933 else
35934 echo "$as_me: failed program was:" >&5
35935 sed 's/^/| /' conftest.$ac_ext >&5
35937 eval "$as_ac_var=no"
35939 rm -f conftest.err conftest.$ac_objext \
35940 conftest$ac_exeext conftest.$ac_ext
35942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35944 if test `eval echo '${'$as_ac_var'}'` = yes; then
35945 cat >>confdefs.h <<_ACEOF
35946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35947 _ACEOF
35950 done
35957 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35958 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35959 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35960 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35961 echo $ECHO_N "(cached) $ECHO_C" >&6
35962 else
35966 ac_ext=cc
35967 ac_cpp='$CXXCPP $CPPFLAGS'
35968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35972 cat >conftest.$ac_ext <<_ACEOF
35973 /* confdefs.h. */
35974 _ACEOF
35975 cat confdefs.h >>conftest.$ac_ext
35976 cat >>conftest.$ac_ext <<_ACEOF
35977 /* end confdefs.h. */
35978 #include <math.h>
35980 main ()
35982 atan2f(0, 0);
35984 return 0;
35986 _ACEOF
35987 rm -f conftest.$ac_objext
35988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35989 (eval $ac_compile) 2>conftest.er1
35990 ac_status=$?
35991 grep -v '^ *+' conftest.er1 >conftest.err
35992 rm -f conftest.er1
35993 cat conftest.err >&5
35994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35995 (exit $ac_status); } &&
35996 { ac_try='test -z "$ac_cxx_werror_flag"
35997 || test ! -s conftest.err'
35998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35999 (eval $ac_try) 2>&5
36000 ac_status=$?
36001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36002 (exit $ac_status); }; } &&
36003 { ac_try='test -s conftest.$ac_objext'
36004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36005 (eval $ac_try) 2>&5
36006 ac_status=$?
36007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36008 (exit $ac_status); }; }; then
36009 glibcxx_cv_func_atan2f_use=yes
36010 else
36011 echo "$as_me: failed program was:" >&5
36012 sed 's/^/| /' conftest.$ac_ext >&5
36014 glibcxx_cv_func_atan2f_use=no
36016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36017 ac_ext=c
36018 ac_cpp='$CPP $CPPFLAGS'
36019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36028 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36030 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36032 for ac_func in atan2f
36034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36035 echo "$as_me:$LINENO: checking for $ac_func" >&5
36036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36037 if eval "test \"\${$as_ac_var+set}\" = set"; then
36038 echo $ECHO_N "(cached) $ECHO_C" >&6
36039 else
36040 if test x$gcc_no_link = xyes; then
36041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36043 { (exit 1); exit 1; }; }
36045 cat >conftest.$ac_ext <<_ACEOF
36046 /* confdefs.h. */
36047 _ACEOF
36048 cat confdefs.h >>conftest.$ac_ext
36049 cat >>conftest.$ac_ext <<_ACEOF
36050 /* end confdefs.h. */
36051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36053 #define $ac_func innocuous_$ac_func
36055 /* System header to define __stub macros and hopefully few prototypes,
36056 which can conflict with char $ac_func (); below.
36057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36058 <limits.h> exists even on freestanding compilers. */
36060 #ifdef __STDC__
36061 # include <limits.h>
36062 #else
36063 # include <assert.h>
36064 #endif
36066 #undef $ac_func
36068 /* Override any gcc2 internal prototype to avoid an error. */
36069 #ifdef __cplusplus
36070 extern "C"
36072 #endif
36073 /* We use char because int might match the return type of a gcc2
36074 builtin and then its argument prototype would still apply. */
36075 char $ac_func ();
36076 /* The GNU C library defines this for functions which it implements
36077 to always fail with ENOSYS. Some functions are actually named
36078 something starting with __ and the normal name is an alias. */
36079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36080 choke me
36081 #else
36082 char (*f) () = $ac_func;
36083 #endif
36084 #ifdef __cplusplus
36086 #endif
36089 main ()
36091 return f != $ac_func;
36093 return 0;
36095 _ACEOF
36096 rm -f conftest.$ac_objext conftest$ac_exeext
36097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36098 (eval $ac_link) 2>conftest.er1
36099 ac_status=$?
36100 grep -v '^ *+' conftest.er1 >conftest.err
36101 rm -f conftest.er1
36102 cat conftest.err >&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); } &&
36105 { ac_try='test -z "$ac_c_werror_flag"
36106 || test ! -s conftest.err'
36107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36108 (eval $ac_try) 2>&5
36109 ac_status=$?
36110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36111 (exit $ac_status); }; } &&
36112 { ac_try='test -s conftest$ac_exeext'
36113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36114 (eval $ac_try) 2>&5
36115 ac_status=$?
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); }; }; then
36118 eval "$as_ac_var=yes"
36119 else
36120 echo "$as_me: failed program was:" >&5
36121 sed 's/^/| /' conftest.$ac_ext >&5
36123 eval "$as_ac_var=no"
36125 rm -f conftest.err conftest.$ac_objext \
36126 conftest$ac_exeext conftest.$ac_ext
36128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36130 if test `eval echo '${'$as_ac_var'}'` = yes; then
36131 cat >>confdefs.h <<_ACEOF
36132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36133 _ACEOF
36136 done
36138 else
36140 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36141 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36142 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36143 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36144 echo $ECHO_N "(cached) $ECHO_C" >&6
36145 else
36149 ac_ext=cc
36150 ac_cpp='$CXXCPP $CPPFLAGS'
36151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36155 cat >conftest.$ac_ext <<_ACEOF
36156 /* confdefs.h. */
36157 _ACEOF
36158 cat confdefs.h >>conftest.$ac_ext
36159 cat >>conftest.$ac_ext <<_ACEOF
36160 /* end confdefs.h. */
36161 #include <math.h>
36163 main ()
36165 _atan2f(0, 0);
36167 return 0;
36169 _ACEOF
36170 rm -f conftest.$ac_objext
36171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36172 (eval $ac_compile) 2>conftest.er1
36173 ac_status=$?
36174 grep -v '^ *+' conftest.er1 >conftest.err
36175 rm -f conftest.er1
36176 cat conftest.err >&5
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); } &&
36179 { ac_try='test -z "$ac_cxx_werror_flag"
36180 || test ! -s conftest.err'
36181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36182 (eval $ac_try) 2>&5
36183 ac_status=$?
36184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185 (exit $ac_status); }; } &&
36186 { ac_try='test -s conftest.$ac_objext'
36187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36188 (eval $ac_try) 2>&5
36189 ac_status=$?
36190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 (exit $ac_status); }; }; then
36192 glibcxx_cv_func__atan2f_use=yes
36193 else
36194 echo "$as_me: failed program was:" >&5
36195 sed 's/^/| /' conftest.$ac_ext >&5
36197 glibcxx_cv_func__atan2f_use=no
36199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36200 ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36210 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36211 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36213 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36215 for ac_func in _atan2f
36217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36218 echo "$as_me:$LINENO: checking for $ac_func" >&5
36219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36220 if eval "test \"\${$as_ac_var+set}\" = set"; then
36221 echo $ECHO_N "(cached) $ECHO_C" >&6
36222 else
36223 if test x$gcc_no_link = xyes; then
36224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36226 { (exit 1); exit 1; }; }
36228 cat >conftest.$ac_ext <<_ACEOF
36229 /* confdefs.h. */
36230 _ACEOF
36231 cat confdefs.h >>conftest.$ac_ext
36232 cat >>conftest.$ac_ext <<_ACEOF
36233 /* end confdefs.h. */
36234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36236 #define $ac_func innocuous_$ac_func
36238 /* System header to define __stub macros and hopefully few prototypes,
36239 which can conflict with char $ac_func (); below.
36240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36241 <limits.h> exists even on freestanding compilers. */
36243 #ifdef __STDC__
36244 # include <limits.h>
36245 #else
36246 # include <assert.h>
36247 #endif
36249 #undef $ac_func
36251 /* Override any gcc2 internal prototype to avoid an error. */
36252 #ifdef __cplusplus
36253 extern "C"
36255 #endif
36256 /* We use char because int might match the return type of a gcc2
36257 builtin and then its argument prototype would still apply. */
36258 char $ac_func ();
36259 /* The GNU C library defines this for functions which it implements
36260 to always fail with ENOSYS. Some functions are actually named
36261 something starting with __ and the normal name is an alias. */
36262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36263 choke me
36264 #else
36265 char (*f) () = $ac_func;
36266 #endif
36267 #ifdef __cplusplus
36269 #endif
36272 main ()
36274 return f != $ac_func;
36276 return 0;
36278 _ACEOF
36279 rm -f conftest.$ac_objext conftest$ac_exeext
36280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36281 (eval $ac_link) 2>conftest.er1
36282 ac_status=$?
36283 grep -v '^ *+' conftest.er1 >conftest.err
36284 rm -f conftest.er1
36285 cat conftest.err >&5
36286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36287 (exit $ac_status); } &&
36288 { ac_try='test -z "$ac_c_werror_flag"
36289 || test ! -s conftest.err'
36290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36291 (eval $ac_try) 2>&5
36292 ac_status=$?
36293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); }; } &&
36295 { ac_try='test -s conftest$ac_exeext'
36296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36297 (eval $ac_try) 2>&5
36298 ac_status=$?
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); }; }; then
36301 eval "$as_ac_var=yes"
36302 else
36303 echo "$as_me: failed program was:" >&5
36304 sed 's/^/| /' conftest.$ac_ext >&5
36306 eval "$as_ac_var=no"
36308 rm -f conftest.err conftest.$ac_objext \
36309 conftest$ac_exeext conftest.$ac_ext
36311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36313 if test `eval echo '${'$as_ac_var'}'` = yes; then
36314 cat >>confdefs.h <<_ACEOF
36315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36316 _ACEOF
36319 done
36326 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36327 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36328 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36329 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36330 echo $ECHO_N "(cached) $ECHO_C" >&6
36331 else
36335 ac_ext=cc
36336 ac_cpp='$CXXCPP $CPPFLAGS'
36337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36341 cat >conftest.$ac_ext <<_ACEOF
36342 /* confdefs.h. */
36343 _ACEOF
36344 cat confdefs.h >>conftest.$ac_ext
36345 cat >>conftest.$ac_ext <<_ACEOF
36346 /* end confdefs.h. */
36347 #include <math.h>
36348 #ifdef HAVE_IEEEFP_H
36349 #include <ieeefp.h>
36350 #endif
36353 main ()
36355 fabsf(0);
36357 return 0;
36359 _ACEOF
36360 rm -f conftest.$ac_objext
36361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36362 (eval $ac_compile) 2>conftest.er1
36363 ac_status=$?
36364 grep -v '^ *+' conftest.er1 >conftest.err
36365 rm -f conftest.er1
36366 cat conftest.err >&5
36367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36368 (exit $ac_status); } &&
36369 { ac_try='test -z "$ac_cxx_werror_flag"
36370 || test ! -s conftest.err'
36371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36372 (eval $ac_try) 2>&5
36373 ac_status=$?
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); }; } &&
36376 { ac_try='test -s conftest.$ac_objext'
36377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36378 (eval $ac_try) 2>&5
36379 ac_status=$?
36380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381 (exit $ac_status); }; }; then
36382 glibcxx_cv_func_fabsf_use=yes
36383 else
36384 echo "$as_me: failed program was:" >&5
36385 sed 's/^/| /' conftest.$ac_ext >&5
36387 glibcxx_cv_func_fabsf_use=no
36389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36390 ac_ext=c
36391 ac_cpp='$CPP $CPPFLAGS'
36392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36401 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36403 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36405 for ac_func in fabsf
36407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36408 echo "$as_me:$LINENO: checking for $ac_func" >&5
36409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36410 if eval "test \"\${$as_ac_var+set}\" = set"; then
36411 echo $ECHO_N "(cached) $ECHO_C" >&6
36412 else
36413 if test x$gcc_no_link = xyes; then
36414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36416 { (exit 1); exit 1; }; }
36418 cat >conftest.$ac_ext <<_ACEOF
36419 /* confdefs.h. */
36420 _ACEOF
36421 cat confdefs.h >>conftest.$ac_ext
36422 cat >>conftest.$ac_ext <<_ACEOF
36423 /* end confdefs.h. */
36424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36426 #define $ac_func innocuous_$ac_func
36428 /* System header to define __stub macros and hopefully few prototypes,
36429 which can conflict with char $ac_func (); below.
36430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36431 <limits.h> exists even on freestanding compilers. */
36433 #ifdef __STDC__
36434 # include <limits.h>
36435 #else
36436 # include <assert.h>
36437 #endif
36439 #undef $ac_func
36441 /* Override any gcc2 internal prototype to avoid an error. */
36442 #ifdef __cplusplus
36443 extern "C"
36445 #endif
36446 /* We use char because int might match the return type of a gcc2
36447 builtin and then its argument prototype would still apply. */
36448 char $ac_func ();
36449 /* The GNU C library defines this for functions which it implements
36450 to always fail with ENOSYS. Some functions are actually named
36451 something starting with __ and the normal name is an alias. */
36452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36453 choke me
36454 #else
36455 char (*f) () = $ac_func;
36456 #endif
36457 #ifdef __cplusplus
36459 #endif
36462 main ()
36464 return f != $ac_func;
36466 return 0;
36468 _ACEOF
36469 rm -f conftest.$ac_objext conftest$ac_exeext
36470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36471 (eval $ac_link) 2>conftest.er1
36472 ac_status=$?
36473 grep -v '^ *+' conftest.er1 >conftest.err
36474 rm -f conftest.er1
36475 cat conftest.err >&5
36476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36477 (exit $ac_status); } &&
36478 { ac_try='test -z "$ac_c_werror_flag"
36479 || test ! -s conftest.err'
36480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36481 (eval $ac_try) 2>&5
36482 ac_status=$?
36483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36484 (exit $ac_status); }; } &&
36485 { ac_try='test -s conftest$ac_exeext'
36486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36487 (eval $ac_try) 2>&5
36488 ac_status=$?
36489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36490 (exit $ac_status); }; }; then
36491 eval "$as_ac_var=yes"
36492 else
36493 echo "$as_me: failed program was:" >&5
36494 sed 's/^/| /' conftest.$ac_ext >&5
36496 eval "$as_ac_var=no"
36498 rm -f conftest.err conftest.$ac_objext \
36499 conftest$ac_exeext conftest.$ac_ext
36501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36503 if test `eval echo '${'$as_ac_var'}'` = yes; then
36504 cat >>confdefs.h <<_ACEOF
36505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36506 _ACEOF
36509 done
36511 else
36513 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36514 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36515 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36516 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36517 echo $ECHO_N "(cached) $ECHO_C" >&6
36518 else
36522 ac_ext=cc
36523 ac_cpp='$CXXCPP $CPPFLAGS'
36524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36528 cat >conftest.$ac_ext <<_ACEOF
36529 /* confdefs.h. */
36530 _ACEOF
36531 cat confdefs.h >>conftest.$ac_ext
36532 cat >>conftest.$ac_ext <<_ACEOF
36533 /* end confdefs.h. */
36534 #include <math.h>
36535 #ifdef HAVE_IEEEFP_H
36536 #include <ieeefp.h>
36537 #endif
36540 main ()
36542 _fabsf(0);
36544 return 0;
36546 _ACEOF
36547 rm -f conftest.$ac_objext
36548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36549 (eval $ac_compile) 2>conftest.er1
36550 ac_status=$?
36551 grep -v '^ *+' conftest.er1 >conftest.err
36552 rm -f conftest.er1
36553 cat conftest.err >&5
36554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36555 (exit $ac_status); } &&
36556 { ac_try='test -z "$ac_cxx_werror_flag"
36557 || test ! -s conftest.err'
36558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36559 (eval $ac_try) 2>&5
36560 ac_status=$?
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); }; } &&
36563 { ac_try='test -s conftest.$ac_objext'
36564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36565 (eval $ac_try) 2>&5
36566 ac_status=$?
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); }; }; then
36569 glibcxx_cv_func__fabsf_use=yes
36570 else
36571 echo "$as_me: failed program was:" >&5
36572 sed 's/^/| /' conftest.$ac_ext >&5
36574 glibcxx_cv_func__fabsf_use=no
36576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36577 ac_ext=c
36578 ac_cpp='$CPP $CPPFLAGS'
36579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36588 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36590 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36592 for ac_func in _fabsf
36594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36595 echo "$as_me:$LINENO: checking for $ac_func" >&5
36596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36597 if eval "test \"\${$as_ac_var+set}\" = set"; then
36598 echo $ECHO_N "(cached) $ECHO_C" >&6
36599 else
36600 if test x$gcc_no_link = xyes; then
36601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36603 { (exit 1); exit 1; }; }
36605 cat >conftest.$ac_ext <<_ACEOF
36606 /* confdefs.h. */
36607 _ACEOF
36608 cat confdefs.h >>conftest.$ac_ext
36609 cat >>conftest.$ac_ext <<_ACEOF
36610 /* end confdefs.h. */
36611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36613 #define $ac_func innocuous_$ac_func
36615 /* System header to define __stub macros and hopefully few prototypes,
36616 which can conflict with char $ac_func (); below.
36617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36618 <limits.h> exists even on freestanding compilers. */
36620 #ifdef __STDC__
36621 # include <limits.h>
36622 #else
36623 # include <assert.h>
36624 #endif
36626 #undef $ac_func
36628 /* Override any gcc2 internal prototype to avoid an error. */
36629 #ifdef __cplusplus
36630 extern "C"
36632 #endif
36633 /* We use char because int might match the return type of a gcc2
36634 builtin and then its argument prototype would still apply. */
36635 char $ac_func ();
36636 /* The GNU C library defines this for functions which it implements
36637 to always fail with ENOSYS. Some functions are actually named
36638 something starting with __ and the normal name is an alias. */
36639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36640 choke me
36641 #else
36642 char (*f) () = $ac_func;
36643 #endif
36644 #ifdef __cplusplus
36646 #endif
36649 main ()
36651 return f != $ac_func;
36653 return 0;
36655 _ACEOF
36656 rm -f conftest.$ac_objext conftest$ac_exeext
36657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36658 (eval $ac_link) 2>conftest.er1
36659 ac_status=$?
36660 grep -v '^ *+' conftest.er1 >conftest.err
36661 rm -f conftest.er1
36662 cat conftest.err >&5
36663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36664 (exit $ac_status); } &&
36665 { ac_try='test -z "$ac_c_werror_flag"
36666 || test ! -s conftest.err'
36667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36668 (eval $ac_try) 2>&5
36669 ac_status=$?
36670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36671 (exit $ac_status); }; } &&
36672 { ac_try='test -s conftest$ac_exeext'
36673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36674 (eval $ac_try) 2>&5
36675 ac_status=$?
36676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677 (exit $ac_status); }; }; then
36678 eval "$as_ac_var=yes"
36679 else
36680 echo "$as_me: failed program was:" >&5
36681 sed 's/^/| /' conftest.$ac_ext >&5
36683 eval "$as_ac_var=no"
36685 rm -f conftest.err conftest.$ac_objext \
36686 conftest$ac_exeext conftest.$ac_ext
36688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36690 if test `eval echo '${'$as_ac_var'}'` = yes; then
36691 cat >>confdefs.h <<_ACEOF
36692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36693 _ACEOF
36696 done
36703 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36704 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36705 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36706 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36707 echo $ECHO_N "(cached) $ECHO_C" >&6
36708 else
36712 ac_ext=cc
36713 ac_cpp='$CXXCPP $CPPFLAGS'
36714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36718 cat >conftest.$ac_ext <<_ACEOF
36719 /* confdefs.h. */
36720 _ACEOF
36721 cat confdefs.h >>conftest.$ac_ext
36722 cat >>conftest.$ac_ext <<_ACEOF
36723 /* end confdefs.h. */
36724 #include <math.h>
36726 main ()
36728 fmodf(0, 0);
36730 return 0;
36732 _ACEOF
36733 rm -f conftest.$ac_objext
36734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36735 (eval $ac_compile) 2>conftest.er1
36736 ac_status=$?
36737 grep -v '^ *+' conftest.er1 >conftest.err
36738 rm -f conftest.er1
36739 cat conftest.err >&5
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); } &&
36742 { ac_try='test -z "$ac_cxx_werror_flag"
36743 || test ! -s conftest.err'
36744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36745 (eval $ac_try) 2>&5
36746 ac_status=$?
36747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748 (exit $ac_status); }; } &&
36749 { ac_try='test -s conftest.$ac_objext'
36750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36751 (eval $ac_try) 2>&5
36752 ac_status=$?
36753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36754 (exit $ac_status); }; }; then
36755 glibcxx_cv_func_fmodf_use=yes
36756 else
36757 echo "$as_me: failed program was:" >&5
36758 sed 's/^/| /' conftest.$ac_ext >&5
36760 glibcxx_cv_func_fmodf_use=no
36762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36763 ac_ext=c
36764 ac_cpp='$CPP $CPPFLAGS'
36765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36774 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36776 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36778 for ac_func in fmodf
36780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36781 echo "$as_me:$LINENO: checking for $ac_func" >&5
36782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36783 if eval "test \"\${$as_ac_var+set}\" = set"; then
36784 echo $ECHO_N "(cached) $ECHO_C" >&6
36785 else
36786 if test x$gcc_no_link = xyes; then
36787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36789 { (exit 1); exit 1; }; }
36791 cat >conftest.$ac_ext <<_ACEOF
36792 /* confdefs.h. */
36793 _ACEOF
36794 cat confdefs.h >>conftest.$ac_ext
36795 cat >>conftest.$ac_ext <<_ACEOF
36796 /* end confdefs.h. */
36797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36799 #define $ac_func innocuous_$ac_func
36801 /* System header to define __stub macros and hopefully few prototypes,
36802 which can conflict with char $ac_func (); below.
36803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36804 <limits.h> exists even on freestanding compilers. */
36806 #ifdef __STDC__
36807 # include <limits.h>
36808 #else
36809 # include <assert.h>
36810 #endif
36812 #undef $ac_func
36814 /* Override any gcc2 internal prototype to avoid an error. */
36815 #ifdef __cplusplus
36816 extern "C"
36818 #endif
36819 /* We use char because int might match the return type of a gcc2
36820 builtin and then its argument prototype would still apply. */
36821 char $ac_func ();
36822 /* The GNU C library defines this for functions which it implements
36823 to always fail with ENOSYS. Some functions are actually named
36824 something starting with __ and the normal name is an alias. */
36825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36826 choke me
36827 #else
36828 char (*f) () = $ac_func;
36829 #endif
36830 #ifdef __cplusplus
36832 #endif
36835 main ()
36837 return f != $ac_func;
36839 return 0;
36841 _ACEOF
36842 rm -f conftest.$ac_objext conftest$ac_exeext
36843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36844 (eval $ac_link) 2>conftest.er1
36845 ac_status=$?
36846 grep -v '^ *+' conftest.er1 >conftest.err
36847 rm -f conftest.er1
36848 cat conftest.err >&5
36849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850 (exit $ac_status); } &&
36851 { ac_try='test -z "$ac_c_werror_flag"
36852 || test ! -s conftest.err'
36853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36854 (eval $ac_try) 2>&5
36855 ac_status=$?
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); }; } &&
36858 { ac_try='test -s conftest$ac_exeext'
36859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36860 (eval $ac_try) 2>&5
36861 ac_status=$?
36862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36863 (exit $ac_status); }; }; then
36864 eval "$as_ac_var=yes"
36865 else
36866 echo "$as_me: failed program was:" >&5
36867 sed 's/^/| /' conftest.$ac_ext >&5
36869 eval "$as_ac_var=no"
36871 rm -f conftest.err conftest.$ac_objext \
36872 conftest$ac_exeext conftest.$ac_ext
36874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36876 if test `eval echo '${'$as_ac_var'}'` = yes; then
36877 cat >>confdefs.h <<_ACEOF
36878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36879 _ACEOF
36882 done
36884 else
36886 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36887 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36888 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36889 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36890 echo $ECHO_N "(cached) $ECHO_C" >&6
36891 else
36895 ac_ext=cc
36896 ac_cpp='$CXXCPP $CPPFLAGS'
36897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36901 cat >conftest.$ac_ext <<_ACEOF
36902 /* confdefs.h. */
36903 _ACEOF
36904 cat confdefs.h >>conftest.$ac_ext
36905 cat >>conftest.$ac_ext <<_ACEOF
36906 /* end confdefs.h. */
36907 #include <math.h>
36909 main ()
36911 _fmodf(0, 0);
36913 return 0;
36915 _ACEOF
36916 rm -f conftest.$ac_objext
36917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36918 (eval $ac_compile) 2>conftest.er1
36919 ac_status=$?
36920 grep -v '^ *+' conftest.er1 >conftest.err
36921 rm -f conftest.er1
36922 cat conftest.err >&5
36923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36924 (exit $ac_status); } &&
36925 { ac_try='test -z "$ac_cxx_werror_flag"
36926 || test ! -s conftest.err'
36927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36928 (eval $ac_try) 2>&5
36929 ac_status=$?
36930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36931 (exit $ac_status); }; } &&
36932 { ac_try='test -s conftest.$ac_objext'
36933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36934 (eval $ac_try) 2>&5
36935 ac_status=$?
36936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36937 (exit $ac_status); }; }; then
36938 glibcxx_cv_func__fmodf_use=yes
36939 else
36940 echo "$as_me: failed program was:" >&5
36941 sed 's/^/| /' conftest.$ac_ext >&5
36943 glibcxx_cv_func__fmodf_use=no
36945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36946 ac_ext=c
36947 ac_cpp='$CPP $CPPFLAGS'
36948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36956 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36957 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36959 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36961 for ac_func in _fmodf
36963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36964 echo "$as_me:$LINENO: checking for $ac_func" >&5
36965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36966 if eval "test \"\${$as_ac_var+set}\" = set"; then
36967 echo $ECHO_N "(cached) $ECHO_C" >&6
36968 else
36969 if test x$gcc_no_link = xyes; then
36970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36972 { (exit 1); exit 1; }; }
36974 cat >conftest.$ac_ext <<_ACEOF
36975 /* confdefs.h. */
36976 _ACEOF
36977 cat confdefs.h >>conftest.$ac_ext
36978 cat >>conftest.$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36982 #define $ac_func innocuous_$ac_func
36984 /* System header to define __stub macros and hopefully few prototypes,
36985 which can conflict with char $ac_func (); below.
36986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36987 <limits.h> exists even on freestanding compilers. */
36989 #ifdef __STDC__
36990 # include <limits.h>
36991 #else
36992 # include <assert.h>
36993 #endif
36995 #undef $ac_func
36997 /* Override any gcc2 internal prototype to avoid an error. */
36998 #ifdef __cplusplus
36999 extern "C"
37001 #endif
37002 /* We use char because int might match the return type of a gcc2
37003 builtin and then its argument prototype would still apply. */
37004 char $ac_func ();
37005 /* The GNU C library defines this for functions which it implements
37006 to always fail with ENOSYS. Some functions are actually named
37007 something starting with __ and the normal name is an alias. */
37008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37009 choke me
37010 #else
37011 char (*f) () = $ac_func;
37012 #endif
37013 #ifdef __cplusplus
37015 #endif
37018 main ()
37020 return f != $ac_func;
37022 return 0;
37024 _ACEOF
37025 rm -f conftest.$ac_objext conftest$ac_exeext
37026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37027 (eval $ac_link) 2>conftest.er1
37028 ac_status=$?
37029 grep -v '^ *+' conftest.er1 >conftest.err
37030 rm -f conftest.er1
37031 cat conftest.err >&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); } &&
37034 { ac_try='test -z "$ac_c_werror_flag"
37035 || test ! -s conftest.err'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37038 ac_status=$?
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; } &&
37041 { ac_try='test -s conftest$ac_exeext'
37042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37043 (eval $ac_try) 2>&5
37044 ac_status=$?
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); }; }; then
37047 eval "$as_ac_var=yes"
37048 else
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.$ac_ext >&5
37052 eval "$as_ac_var=no"
37054 rm -f conftest.err conftest.$ac_objext \
37055 conftest$ac_exeext conftest.$ac_ext
37057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37059 if test `eval echo '${'$as_ac_var'}'` = yes; then
37060 cat >>confdefs.h <<_ACEOF
37061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37062 _ACEOF
37065 done
37072 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37073 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37074 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37075 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37076 echo $ECHO_N "(cached) $ECHO_C" >&6
37077 else
37081 ac_ext=cc
37082 ac_cpp='$CXXCPP $CPPFLAGS'
37083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37087 cat >conftest.$ac_ext <<_ACEOF
37088 /* confdefs.h. */
37089 _ACEOF
37090 cat confdefs.h >>conftest.$ac_ext
37091 cat >>conftest.$ac_ext <<_ACEOF
37092 /* end confdefs.h. */
37093 #include <math.h>
37095 main ()
37097 frexpf(0, 0);
37099 return 0;
37101 _ACEOF
37102 rm -f conftest.$ac_objext
37103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37104 (eval $ac_compile) 2>conftest.er1
37105 ac_status=$?
37106 grep -v '^ *+' conftest.er1 >conftest.err
37107 rm -f conftest.er1
37108 cat conftest.err >&5
37109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110 (exit $ac_status); } &&
37111 { ac_try='test -z "$ac_cxx_werror_flag"
37112 || test ! -s conftest.err'
37113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37114 (eval $ac_try) 2>&5
37115 ac_status=$?
37116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37117 (exit $ac_status); }; } &&
37118 { ac_try='test -s conftest.$ac_objext'
37119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37120 (eval $ac_try) 2>&5
37121 ac_status=$?
37122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37123 (exit $ac_status); }; }; then
37124 glibcxx_cv_func_frexpf_use=yes
37125 else
37126 echo "$as_me: failed program was:" >&5
37127 sed 's/^/| /' conftest.$ac_ext >&5
37129 glibcxx_cv_func_frexpf_use=no
37131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37132 ac_ext=c
37133 ac_cpp='$CPP $CPPFLAGS'
37134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37142 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37143 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37145 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37147 for ac_func in frexpf
37149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37150 echo "$as_me:$LINENO: checking for $ac_func" >&5
37151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37152 if eval "test \"\${$as_ac_var+set}\" = set"; then
37153 echo $ECHO_N "(cached) $ECHO_C" >&6
37154 else
37155 if test x$gcc_no_link = xyes; then
37156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37158 { (exit 1); exit 1; }; }
37160 cat >conftest.$ac_ext <<_ACEOF
37161 /* confdefs.h. */
37162 _ACEOF
37163 cat confdefs.h >>conftest.$ac_ext
37164 cat >>conftest.$ac_ext <<_ACEOF
37165 /* end confdefs.h. */
37166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37168 #define $ac_func innocuous_$ac_func
37170 /* System header to define __stub macros and hopefully few prototypes,
37171 which can conflict with char $ac_func (); below.
37172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37173 <limits.h> exists even on freestanding compilers. */
37175 #ifdef __STDC__
37176 # include <limits.h>
37177 #else
37178 # include <assert.h>
37179 #endif
37181 #undef $ac_func
37183 /* Override any gcc2 internal prototype to avoid an error. */
37184 #ifdef __cplusplus
37185 extern "C"
37187 #endif
37188 /* We use char because int might match the return type of a gcc2
37189 builtin and then its argument prototype would still apply. */
37190 char $ac_func ();
37191 /* The GNU C library defines this for functions which it implements
37192 to always fail with ENOSYS. Some functions are actually named
37193 something starting with __ and the normal name is an alias. */
37194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37195 choke me
37196 #else
37197 char (*f) () = $ac_func;
37198 #endif
37199 #ifdef __cplusplus
37201 #endif
37204 main ()
37206 return f != $ac_func;
37208 return 0;
37210 _ACEOF
37211 rm -f conftest.$ac_objext conftest$ac_exeext
37212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37213 (eval $ac_link) 2>conftest.er1
37214 ac_status=$?
37215 grep -v '^ *+' conftest.er1 >conftest.err
37216 rm -f conftest.er1
37217 cat conftest.err >&5
37218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37219 (exit $ac_status); } &&
37220 { ac_try='test -z "$ac_c_werror_flag"
37221 || test ! -s conftest.err'
37222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37223 (eval $ac_try) 2>&5
37224 ac_status=$?
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); }; } &&
37227 { ac_try='test -s conftest$ac_exeext'
37228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37229 (eval $ac_try) 2>&5
37230 ac_status=$?
37231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37232 (exit $ac_status); }; }; then
37233 eval "$as_ac_var=yes"
37234 else
37235 echo "$as_me: failed program was:" >&5
37236 sed 's/^/| /' conftest.$ac_ext >&5
37238 eval "$as_ac_var=no"
37240 rm -f conftest.err conftest.$ac_objext \
37241 conftest$ac_exeext conftest.$ac_ext
37243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37245 if test `eval echo '${'$as_ac_var'}'` = yes; then
37246 cat >>confdefs.h <<_ACEOF
37247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37248 _ACEOF
37251 done
37253 else
37255 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37256 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37257 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37258 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37259 echo $ECHO_N "(cached) $ECHO_C" >&6
37260 else
37264 ac_ext=cc
37265 ac_cpp='$CXXCPP $CPPFLAGS'
37266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37270 cat >conftest.$ac_ext <<_ACEOF
37271 /* confdefs.h. */
37272 _ACEOF
37273 cat confdefs.h >>conftest.$ac_ext
37274 cat >>conftest.$ac_ext <<_ACEOF
37275 /* end confdefs.h. */
37276 #include <math.h>
37278 main ()
37280 _frexpf(0, 0);
37282 return 0;
37284 _ACEOF
37285 rm -f conftest.$ac_objext
37286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37287 (eval $ac_compile) 2>conftest.er1
37288 ac_status=$?
37289 grep -v '^ *+' conftest.er1 >conftest.err
37290 rm -f conftest.er1
37291 cat conftest.err >&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); } &&
37294 { ac_try='test -z "$ac_cxx_werror_flag"
37295 || test ! -s conftest.err'
37296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37297 (eval $ac_try) 2>&5
37298 ac_status=$?
37299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37300 (exit $ac_status); }; } &&
37301 { ac_try='test -s conftest.$ac_objext'
37302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37303 (eval $ac_try) 2>&5
37304 ac_status=$?
37305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37306 (exit $ac_status); }; }; then
37307 glibcxx_cv_func__frexpf_use=yes
37308 else
37309 echo "$as_me: failed program was:" >&5
37310 sed 's/^/| /' conftest.$ac_ext >&5
37312 glibcxx_cv_func__frexpf_use=no
37314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37315 ac_ext=c
37316 ac_cpp='$CPP $CPPFLAGS'
37317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37326 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37328 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37330 for ac_func in _frexpf
37332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37333 echo "$as_me:$LINENO: checking for $ac_func" >&5
37334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37335 if eval "test \"\${$as_ac_var+set}\" = set"; then
37336 echo $ECHO_N "(cached) $ECHO_C" >&6
37337 else
37338 if test x$gcc_no_link = xyes; then
37339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37341 { (exit 1); exit 1; }; }
37343 cat >conftest.$ac_ext <<_ACEOF
37344 /* confdefs.h. */
37345 _ACEOF
37346 cat confdefs.h >>conftest.$ac_ext
37347 cat >>conftest.$ac_ext <<_ACEOF
37348 /* end confdefs.h. */
37349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37351 #define $ac_func innocuous_$ac_func
37353 /* System header to define __stub macros and hopefully few prototypes,
37354 which can conflict with char $ac_func (); below.
37355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37356 <limits.h> exists even on freestanding compilers. */
37358 #ifdef __STDC__
37359 # include <limits.h>
37360 #else
37361 # include <assert.h>
37362 #endif
37364 #undef $ac_func
37366 /* Override any gcc2 internal prototype to avoid an error. */
37367 #ifdef __cplusplus
37368 extern "C"
37370 #endif
37371 /* We use char because int might match the return type of a gcc2
37372 builtin and then its argument prototype would still apply. */
37373 char $ac_func ();
37374 /* The GNU C library defines this for functions which it implements
37375 to always fail with ENOSYS. Some functions are actually named
37376 something starting with __ and the normal name is an alias. */
37377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37378 choke me
37379 #else
37380 char (*f) () = $ac_func;
37381 #endif
37382 #ifdef __cplusplus
37384 #endif
37387 main ()
37389 return f != $ac_func;
37391 return 0;
37393 _ACEOF
37394 rm -f conftest.$ac_objext conftest$ac_exeext
37395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37396 (eval $ac_link) 2>conftest.er1
37397 ac_status=$?
37398 grep -v '^ *+' conftest.er1 >conftest.err
37399 rm -f conftest.er1
37400 cat conftest.err >&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); } &&
37403 { ac_try='test -z "$ac_c_werror_flag"
37404 || test ! -s conftest.err'
37405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37406 (eval $ac_try) 2>&5
37407 ac_status=$?
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); }; } &&
37410 { ac_try='test -s conftest$ac_exeext'
37411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37412 (eval $ac_try) 2>&5
37413 ac_status=$?
37414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37415 (exit $ac_status); }; }; then
37416 eval "$as_ac_var=yes"
37417 else
37418 echo "$as_me: failed program was:" >&5
37419 sed 's/^/| /' conftest.$ac_ext >&5
37421 eval "$as_ac_var=no"
37423 rm -f conftest.err conftest.$ac_objext \
37424 conftest$ac_exeext conftest.$ac_ext
37426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37428 if test `eval echo '${'$as_ac_var'}'` = yes; then
37429 cat >>confdefs.h <<_ACEOF
37430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37431 _ACEOF
37434 done
37441 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37442 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37443 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37444 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37445 echo $ECHO_N "(cached) $ECHO_C" >&6
37446 else
37450 ac_ext=cc
37451 ac_cpp='$CXXCPP $CPPFLAGS'
37452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37456 cat >conftest.$ac_ext <<_ACEOF
37457 /* confdefs.h. */
37458 _ACEOF
37459 cat confdefs.h >>conftest.$ac_ext
37460 cat >>conftest.$ac_ext <<_ACEOF
37461 /* end confdefs.h. */
37462 #include <math.h>
37464 main ()
37466 hypotf(0, 0);
37468 return 0;
37470 _ACEOF
37471 rm -f conftest.$ac_objext
37472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37473 (eval $ac_compile) 2>conftest.er1
37474 ac_status=$?
37475 grep -v '^ *+' conftest.er1 >conftest.err
37476 rm -f conftest.er1
37477 cat conftest.err >&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); } &&
37480 { ac_try='test -z "$ac_cxx_werror_flag"
37481 || test ! -s conftest.err'
37482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37483 (eval $ac_try) 2>&5
37484 ac_status=$?
37485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37486 (exit $ac_status); }; } &&
37487 { ac_try='test -s conftest.$ac_objext'
37488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37489 (eval $ac_try) 2>&5
37490 ac_status=$?
37491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37492 (exit $ac_status); }; }; then
37493 glibcxx_cv_func_hypotf_use=yes
37494 else
37495 echo "$as_me: failed program was:" >&5
37496 sed 's/^/| /' conftest.$ac_ext >&5
37498 glibcxx_cv_func_hypotf_use=no
37500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37501 ac_ext=c
37502 ac_cpp='$CPP $CPPFLAGS'
37503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37511 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37512 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37514 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37516 for ac_func in hypotf
37518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37519 echo "$as_me:$LINENO: checking for $ac_func" >&5
37520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37521 if eval "test \"\${$as_ac_var+set}\" = set"; then
37522 echo $ECHO_N "(cached) $ECHO_C" >&6
37523 else
37524 if test x$gcc_no_link = xyes; then
37525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37527 { (exit 1); exit 1; }; }
37529 cat >conftest.$ac_ext <<_ACEOF
37530 /* confdefs.h. */
37531 _ACEOF
37532 cat confdefs.h >>conftest.$ac_ext
37533 cat >>conftest.$ac_ext <<_ACEOF
37534 /* end confdefs.h. */
37535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37537 #define $ac_func innocuous_$ac_func
37539 /* System header to define __stub macros and hopefully few prototypes,
37540 which can conflict with char $ac_func (); below.
37541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37542 <limits.h> exists even on freestanding compilers. */
37544 #ifdef __STDC__
37545 # include <limits.h>
37546 #else
37547 # include <assert.h>
37548 #endif
37550 #undef $ac_func
37552 /* Override any gcc2 internal prototype to avoid an error. */
37553 #ifdef __cplusplus
37554 extern "C"
37556 #endif
37557 /* We use char because int might match the return type of a gcc2
37558 builtin and then its argument prototype would still apply. */
37559 char $ac_func ();
37560 /* The GNU C library defines this for functions which it implements
37561 to always fail with ENOSYS. Some functions are actually named
37562 something starting with __ and the normal name is an alias. */
37563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37564 choke me
37565 #else
37566 char (*f) () = $ac_func;
37567 #endif
37568 #ifdef __cplusplus
37570 #endif
37573 main ()
37575 return f != $ac_func;
37577 return 0;
37579 _ACEOF
37580 rm -f conftest.$ac_objext conftest$ac_exeext
37581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37582 (eval $ac_link) 2>conftest.er1
37583 ac_status=$?
37584 grep -v '^ *+' conftest.er1 >conftest.err
37585 rm -f conftest.er1
37586 cat conftest.err >&5
37587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37588 (exit $ac_status); } &&
37589 { ac_try='test -z "$ac_c_werror_flag"
37590 || test ! -s conftest.err'
37591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37592 (eval $ac_try) 2>&5
37593 ac_status=$?
37594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37595 (exit $ac_status); }; } &&
37596 { ac_try='test -s conftest$ac_exeext'
37597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37598 (eval $ac_try) 2>&5
37599 ac_status=$?
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); }; }; then
37602 eval "$as_ac_var=yes"
37603 else
37604 echo "$as_me: failed program was:" >&5
37605 sed 's/^/| /' conftest.$ac_ext >&5
37607 eval "$as_ac_var=no"
37609 rm -f conftest.err conftest.$ac_objext \
37610 conftest$ac_exeext conftest.$ac_ext
37612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37614 if test `eval echo '${'$as_ac_var'}'` = yes; then
37615 cat >>confdefs.h <<_ACEOF
37616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37617 _ACEOF
37620 done
37622 else
37624 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37625 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37626 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37627 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37628 echo $ECHO_N "(cached) $ECHO_C" >&6
37629 else
37633 ac_ext=cc
37634 ac_cpp='$CXXCPP $CPPFLAGS'
37635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37639 cat >conftest.$ac_ext <<_ACEOF
37640 /* confdefs.h. */
37641 _ACEOF
37642 cat confdefs.h >>conftest.$ac_ext
37643 cat >>conftest.$ac_ext <<_ACEOF
37644 /* end confdefs.h. */
37645 #include <math.h>
37647 main ()
37649 _hypotf(0, 0);
37651 return 0;
37653 _ACEOF
37654 rm -f conftest.$ac_objext
37655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37656 (eval $ac_compile) 2>conftest.er1
37657 ac_status=$?
37658 grep -v '^ *+' conftest.er1 >conftest.err
37659 rm -f conftest.er1
37660 cat conftest.err >&5
37661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37662 (exit $ac_status); } &&
37663 { ac_try='test -z "$ac_cxx_werror_flag"
37664 || test ! -s conftest.err'
37665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37666 (eval $ac_try) 2>&5
37667 ac_status=$?
37668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37669 (exit $ac_status); }; } &&
37670 { ac_try='test -s conftest.$ac_objext'
37671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37672 (eval $ac_try) 2>&5
37673 ac_status=$?
37674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37675 (exit $ac_status); }; }; then
37676 glibcxx_cv_func__hypotf_use=yes
37677 else
37678 echo "$as_me: failed program was:" >&5
37679 sed 's/^/| /' conftest.$ac_ext >&5
37681 glibcxx_cv_func__hypotf_use=no
37683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37684 ac_ext=c
37685 ac_cpp='$CPP $CPPFLAGS'
37686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37695 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37697 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37699 for ac_func in _hypotf
37701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37702 echo "$as_me:$LINENO: checking for $ac_func" >&5
37703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37704 if eval "test \"\${$as_ac_var+set}\" = set"; then
37705 echo $ECHO_N "(cached) $ECHO_C" >&6
37706 else
37707 if test x$gcc_no_link = xyes; then
37708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37710 { (exit 1); exit 1; }; }
37712 cat >conftest.$ac_ext <<_ACEOF
37713 /* confdefs.h. */
37714 _ACEOF
37715 cat confdefs.h >>conftest.$ac_ext
37716 cat >>conftest.$ac_ext <<_ACEOF
37717 /* end confdefs.h. */
37718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37720 #define $ac_func innocuous_$ac_func
37722 /* System header to define __stub macros and hopefully few prototypes,
37723 which can conflict with char $ac_func (); below.
37724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37725 <limits.h> exists even on freestanding compilers. */
37727 #ifdef __STDC__
37728 # include <limits.h>
37729 #else
37730 # include <assert.h>
37731 #endif
37733 #undef $ac_func
37735 /* Override any gcc2 internal prototype to avoid an error. */
37736 #ifdef __cplusplus
37737 extern "C"
37739 #endif
37740 /* We use char because int might match the return type of a gcc2
37741 builtin and then its argument prototype would still apply. */
37742 char $ac_func ();
37743 /* The GNU C library defines this for functions which it implements
37744 to always fail with ENOSYS. Some functions are actually named
37745 something starting with __ and the normal name is an alias. */
37746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37747 choke me
37748 #else
37749 char (*f) () = $ac_func;
37750 #endif
37751 #ifdef __cplusplus
37753 #endif
37756 main ()
37758 return f != $ac_func;
37760 return 0;
37762 _ACEOF
37763 rm -f conftest.$ac_objext conftest$ac_exeext
37764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37765 (eval $ac_link) 2>conftest.er1
37766 ac_status=$?
37767 grep -v '^ *+' conftest.er1 >conftest.err
37768 rm -f conftest.er1
37769 cat conftest.err >&5
37770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37771 (exit $ac_status); } &&
37772 { ac_try='test -z "$ac_c_werror_flag"
37773 || test ! -s conftest.err'
37774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37775 (eval $ac_try) 2>&5
37776 ac_status=$?
37777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37778 (exit $ac_status); }; } &&
37779 { ac_try='test -s conftest$ac_exeext'
37780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37781 (eval $ac_try) 2>&5
37782 ac_status=$?
37783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37784 (exit $ac_status); }; }; then
37785 eval "$as_ac_var=yes"
37786 else
37787 echo "$as_me: failed program was:" >&5
37788 sed 's/^/| /' conftest.$ac_ext >&5
37790 eval "$as_ac_var=no"
37792 rm -f conftest.err conftest.$ac_objext \
37793 conftest$ac_exeext conftest.$ac_ext
37795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37797 if test `eval echo '${'$as_ac_var'}'` = yes; then
37798 cat >>confdefs.h <<_ACEOF
37799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37800 _ACEOF
37803 done
37810 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37811 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37812 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37813 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37814 echo $ECHO_N "(cached) $ECHO_C" >&6
37815 else
37819 ac_ext=cc
37820 ac_cpp='$CXXCPP $CPPFLAGS'
37821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37825 cat >conftest.$ac_ext <<_ACEOF
37826 /* confdefs.h. */
37827 _ACEOF
37828 cat confdefs.h >>conftest.$ac_ext
37829 cat >>conftest.$ac_ext <<_ACEOF
37830 /* end confdefs.h. */
37831 #include <math.h>
37833 main ()
37835 ldexpf(0, 0);
37837 return 0;
37839 _ACEOF
37840 rm -f conftest.$ac_objext
37841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37842 (eval $ac_compile) 2>conftest.er1
37843 ac_status=$?
37844 grep -v '^ *+' conftest.er1 >conftest.err
37845 rm -f conftest.er1
37846 cat conftest.err >&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } &&
37849 { ac_try='test -z "$ac_cxx_werror_flag"
37850 || test ! -s conftest.err'
37851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37852 (eval $ac_try) 2>&5
37853 ac_status=$?
37854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37855 (exit $ac_status); }; } &&
37856 { ac_try='test -s conftest.$ac_objext'
37857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37858 (eval $ac_try) 2>&5
37859 ac_status=$?
37860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37861 (exit $ac_status); }; }; then
37862 glibcxx_cv_func_ldexpf_use=yes
37863 else
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.$ac_ext >&5
37867 glibcxx_cv_func_ldexpf_use=no
37869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37870 ac_ext=c
37871 ac_cpp='$CPP $CPPFLAGS'
37872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37880 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37881 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37883 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37885 for ac_func in ldexpf
37887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37888 echo "$as_me:$LINENO: checking for $ac_func" >&5
37889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37890 if eval "test \"\${$as_ac_var+set}\" = set"; then
37891 echo $ECHO_N "(cached) $ECHO_C" >&6
37892 else
37893 if test x$gcc_no_link = xyes; then
37894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37896 { (exit 1); exit 1; }; }
37898 cat >conftest.$ac_ext <<_ACEOF
37899 /* confdefs.h. */
37900 _ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37906 #define $ac_func innocuous_$ac_func
37908 /* System header to define __stub macros and hopefully few prototypes,
37909 which can conflict with char $ac_func (); below.
37910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37911 <limits.h> exists even on freestanding compilers. */
37913 #ifdef __STDC__
37914 # include <limits.h>
37915 #else
37916 # include <assert.h>
37917 #endif
37919 #undef $ac_func
37921 /* Override any gcc2 internal prototype to avoid an error. */
37922 #ifdef __cplusplus
37923 extern "C"
37925 #endif
37926 /* We use char because int might match the return type of a gcc2
37927 builtin and then its argument prototype would still apply. */
37928 char $ac_func ();
37929 /* The GNU C library defines this for functions which it implements
37930 to always fail with ENOSYS. Some functions are actually named
37931 something starting with __ and the normal name is an alias. */
37932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37933 choke me
37934 #else
37935 char (*f) () = $ac_func;
37936 #endif
37937 #ifdef __cplusplus
37939 #endif
37942 main ()
37944 return f != $ac_func;
37946 return 0;
37948 _ACEOF
37949 rm -f conftest.$ac_objext conftest$ac_exeext
37950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37951 (eval $ac_link) 2>conftest.er1
37952 ac_status=$?
37953 grep -v '^ *+' conftest.er1 >conftest.err
37954 rm -f conftest.er1
37955 cat conftest.err >&5
37956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37957 (exit $ac_status); } &&
37958 { ac_try='test -z "$ac_c_werror_flag"
37959 || test ! -s conftest.err'
37960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37961 (eval $ac_try) 2>&5
37962 ac_status=$?
37963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37964 (exit $ac_status); }; } &&
37965 { ac_try='test -s conftest$ac_exeext'
37966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37967 (eval $ac_try) 2>&5
37968 ac_status=$?
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); }; }; then
37971 eval "$as_ac_var=yes"
37972 else
37973 echo "$as_me: failed program was:" >&5
37974 sed 's/^/| /' conftest.$ac_ext >&5
37976 eval "$as_ac_var=no"
37978 rm -f conftest.err conftest.$ac_objext \
37979 conftest$ac_exeext conftest.$ac_ext
37981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37983 if test `eval echo '${'$as_ac_var'}'` = yes; then
37984 cat >>confdefs.h <<_ACEOF
37985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37986 _ACEOF
37989 done
37991 else
37993 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
37994 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37995 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37996 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
37997 echo $ECHO_N "(cached) $ECHO_C" >&6
37998 else
38002 ac_ext=cc
38003 ac_cpp='$CXXCPP $CPPFLAGS'
38004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38008 cat >conftest.$ac_ext <<_ACEOF
38009 /* confdefs.h. */
38010 _ACEOF
38011 cat confdefs.h >>conftest.$ac_ext
38012 cat >>conftest.$ac_ext <<_ACEOF
38013 /* end confdefs.h. */
38014 #include <math.h>
38016 main ()
38018 _ldexpf(0, 0);
38020 return 0;
38022 _ACEOF
38023 rm -f conftest.$ac_objext
38024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38025 (eval $ac_compile) 2>conftest.er1
38026 ac_status=$?
38027 grep -v '^ *+' conftest.er1 >conftest.err
38028 rm -f conftest.er1
38029 cat conftest.err >&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } &&
38032 { ac_try='test -z "$ac_cxx_werror_flag"
38033 || test ! -s conftest.err'
38034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38035 (eval $ac_try) 2>&5
38036 ac_status=$?
38037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38038 (exit $ac_status); }; } &&
38039 { ac_try='test -s conftest.$ac_objext'
38040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38041 (eval $ac_try) 2>&5
38042 ac_status=$?
38043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38044 (exit $ac_status); }; }; then
38045 glibcxx_cv_func__ldexpf_use=yes
38046 else
38047 echo "$as_me: failed program was:" >&5
38048 sed 's/^/| /' conftest.$ac_ext >&5
38050 glibcxx_cv_func__ldexpf_use=no
38052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38053 ac_ext=c
38054 ac_cpp='$CPP $CPPFLAGS'
38055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38063 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38064 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38066 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38068 for ac_func in _ldexpf
38070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38071 echo "$as_me:$LINENO: checking for $ac_func" >&5
38072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38073 if eval "test \"\${$as_ac_var+set}\" = set"; then
38074 echo $ECHO_N "(cached) $ECHO_C" >&6
38075 else
38076 if test x$gcc_no_link = xyes; then
38077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38079 { (exit 1); exit 1; }; }
38081 cat >conftest.$ac_ext <<_ACEOF
38082 /* confdefs.h. */
38083 _ACEOF
38084 cat confdefs.h >>conftest.$ac_ext
38085 cat >>conftest.$ac_ext <<_ACEOF
38086 /* end confdefs.h. */
38087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38089 #define $ac_func innocuous_$ac_func
38091 /* System header to define __stub macros and hopefully few prototypes,
38092 which can conflict with char $ac_func (); below.
38093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38094 <limits.h> exists even on freestanding compilers. */
38096 #ifdef __STDC__
38097 # include <limits.h>
38098 #else
38099 # include <assert.h>
38100 #endif
38102 #undef $ac_func
38104 /* Override any gcc2 internal prototype to avoid an error. */
38105 #ifdef __cplusplus
38106 extern "C"
38108 #endif
38109 /* We use char because int might match the return type of a gcc2
38110 builtin and then its argument prototype would still apply. */
38111 char $ac_func ();
38112 /* The GNU C library defines this for functions which it implements
38113 to always fail with ENOSYS. Some functions are actually named
38114 something starting with __ and the normal name is an alias. */
38115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38116 choke me
38117 #else
38118 char (*f) () = $ac_func;
38119 #endif
38120 #ifdef __cplusplus
38122 #endif
38125 main ()
38127 return f != $ac_func;
38129 return 0;
38131 _ACEOF
38132 rm -f conftest.$ac_objext conftest$ac_exeext
38133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38134 (eval $ac_link) 2>conftest.er1
38135 ac_status=$?
38136 grep -v '^ *+' conftest.er1 >conftest.err
38137 rm -f conftest.er1
38138 cat conftest.err >&5
38139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140 (exit $ac_status); } &&
38141 { ac_try='test -z "$ac_c_werror_flag"
38142 || test ! -s conftest.err'
38143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38144 (eval $ac_try) 2>&5
38145 ac_status=$?
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); }; } &&
38148 { ac_try='test -s conftest$ac_exeext'
38149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38150 (eval $ac_try) 2>&5
38151 ac_status=$?
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); }; }; then
38154 eval "$as_ac_var=yes"
38155 else
38156 echo "$as_me: failed program was:" >&5
38157 sed 's/^/| /' conftest.$ac_ext >&5
38159 eval "$as_ac_var=no"
38161 rm -f conftest.err conftest.$ac_objext \
38162 conftest$ac_exeext conftest.$ac_ext
38164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38166 if test `eval echo '${'$as_ac_var'}'` = yes; then
38167 cat >>confdefs.h <<_ACEOF
38168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38169 _ACEOF
38172 done
38179 echo "$as_me:$LINENO: checking for logf declaration" >&5
38180 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38181 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38182 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38183 echo $ECHO_N "(cached) $ECHO_C" >&6
38184 else
38188 ac_ext=cc
38189 ac_cpp='$CXXCPP $CPPFLAGS'
38190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38194 cat >conftest.$ac_ext <<_ACEOF
38195 /* confdefs.h. */
38196 _ACEOF
38197 cat confdefs.h >>conftest.$ac_ext
38198 cat >>conftest.$ac_ext <<_ACEOF
38199 /* end confdefs.h. */
38200 #include <math.h>
38201 #ifdef HAVE_IEEEFP_H
38202 #include <ieeefp.h>
38203 #endif
38206 main ()
38208 logf(0);
38210 return 0;
38212 _ACEOF
38213 rm -f conftest.$ac_objext
38214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38215 (eval $ac_compile) 2>conftest.er1
38216 ac_status=$?
38217 grep -v '^ *+' conftest.er1 >conftest.err
38218 rm -f conftest.er1
38219 cat conftest.err >&5
38220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38221 (exit $ac_status); } &&
38222 { ac_try='test -z "$ac_cxx_werror_flag"
38223 || test ! -s conftest.err'
38224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38225 (eval $ac_try) 2>&5
38226 ac_status=$?
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); }; } &&
38229 { ac_try='test -s conftest.$ac_objext'
38230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38231 (eval $ac_try) 2>&5
38232 ac_status=$?
38233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38234 (exit $ac_status); }; }; then
38235 glibcxx_cv_func_logf_use=yes
38236 else
38237 echo "$as_me: failed program was:" >&5
38238 sed 's/^/| /' conftest.$ac_ext >&5
38240 glibcxx_cv_func_logf_use=no
38242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38243 ac_ext=c
38244 ac_cpp='$CPP $CPPFLAGS'
38245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38253 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38254 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38256 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38258 for ac_func in logf
38260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38261 echo "$as_me:$LINENO: checking for $ac_func" >&5
38262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38263 if eval "test \"\${$as_ac_var+set}\" = set"; then
38264 echo $ECHO_N "(cached) $ECHO_C" >&6
38265 else
38266 if test x$gcc_no_link = xyes; then
38267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38269 { (exit 1); exit 1; }; }
38271 cat >conftest.$ac_ext <<_ACEOF
38272 /* confdefs.h. */
38273 _ACEOF
38274 cat confdefs.h >>conftest.$ac_ext
38275 cat >>conftest.$ac_ext <<_ACEOF
38276 /* end confdefs.h. */
38277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38279 #define $ac_func innocuous_$ac_func
38281 /* System header to define __stub macros and hopefully few prototypes,
38282 which can conflict with char $ac_func (); below.
38283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38284 <limits.h> exists even on freestanding compilers. */
38286 #ifdef __STDC__
38287 # include <limits.h>
38288 #else
38289 # include <assert.h>
38290 #endif
38292 #undef $ac_func
38294 /* Override any gcc2 internal prototype to avoid an error. */
38295 #ifdef __cplusplus
38296 extern "C"
38298 #endif
38299 /* We use char because int might match the return type of a gcc2
38300 builtin and then its argument prototype would still apply. */
38301 char $ac_func ();
38302 /* The GNU C library defines this for functions which it implements
38303 to always fail with ENOSYS. Some functions are actually named
38304 something starting with __ and the normal name is an alias. */
38305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38306 choke me
38307 #else
38308 char (*f) () = $ac_func;
38309 #endif
38310 #ifdef __cplusplus
38312 #endif
38315 main ()
38317 return f != $ac_func;
38319 return 0;
38321 _ACEOF
38322 rm -f conftest.$ac_objext conftest$ac_exeext
38323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38324 (eval $ac_link) 2>conftest.er1
38325 ac_status=$?
38326 grep -v '^ *+' conftest.er1 >conftest.err
38327 rm -f conftest.er1
38328 cat conftest.err >&5
38329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38330 (exit $ac_status); } &&
38331 { ac_try='test -z "$ac_c_werror_flag"
38332 || test ! -s conftest.err'
38333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38334 (eval $ac_try) 2>&5
38335 ac_status=$?
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); }; } &&
38338 { ac_try='test -s conftest$ac_exeext'
38339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38340 (eval $ac_try) 2>&5
38341 ac_status=$?
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); }; }; then
38344 eval "$as_ac_var=yes"
38345 else
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38349 eval "$as_ac_var=no"
38351 rm -f conftest.err conftest.$ac_objext \
38352 conftest$ac_exeext conftest.$ac_ext
38354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38356 if test `eval echo '${'$as_ac_var'}'` = yes; then
38357 cat >>confdefs.h <<_ACEOF
38358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38359 _ACEOF
38362 done
38364 else
38366 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38367 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38368 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38369 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38370 echo $ECHO_N "(cached) $ECHO_C" >&6
38371 else
38375 ac_ext=cc
38376 ac_cpp='$CXXCPP $CPPFLAGS'
38377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38381 cat >conftest.$ac_ext <<_ACEOF
38382 /* confdefs.h. */
38383 _ACEOF
38384 cat confdefs.h >>conftest.$ac_ext
38385 cat >>conftest.$ac_ext <<_ACEOF
38386 /* end confdefs.h. */
38387 #include <math.h>
38388 #ifdef HAVE_IEEEFP_H
38389 #include <ieeefp.h>
38390 #endif
38393 main ()
38395 _logf(0);
38397 return 0;
38399 _ACEOF
38400 rm -f conftest.$ac_objext
38401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38402 (eval $ac_compile) 2>conftest.er1
38403 ac_status=$?
38404 grep -v '^ *+' conftest.er1 >conftest.err
38405 rm -f conftest.er1
38406 cat conftest.err >&5
38407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38408 (exit $ac_status); } &&
38409 { ac_try='test -z "$ac_cxx_werror_flag"
38410 || test ! -s conftest.err'
38411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38412 (eval $ac_try) 2>&5
38413 ac_status=$?
38414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38415 (exit $ac_status); }; } &&
38416 { ac_try='test -s conftest.$ac_objext'
38417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38418 (eval $ac_try) 2>&5
38419 ac_status=$?
38420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421 (exit $ac_status); }; }; then
38422 glibcxx_cv_func__logf_use=yes
38423 else
38424 echo "$as_me: failed program was:" >&5
38425 sed 's/^/| /' conftest.$ac_ext >&5
38427 glibcxx_cv_func__logf_use=no
38429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38430 ac_ext=c
38431 ac_cpp='$CPP $CPPFLAGS'
38432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38440 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38441 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38443 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38445 for ac_func in _logf
38447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38448 echo "$as_me:$LINENO: checking for $ac_func" >&5
38449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38450 if eval "test \"\${$as_ac_var+set}\" = set"; then
38451 echo $ECHO_N "(cached) $ECHO_C" >&6
38452 else
38453 if test x$gcc_no_link = xyes; then
38454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38456 { (exit 1); exit 1; }; }
38458 cat >conftest.$ac_ext <<_ACEOF
38459 /* confdefs.h. */
38460 _ACEOF
38461 cat confdefs.h >>conftest.$ac_ext
38462 cat >>conftest.$ac_ext <<_ACEOF
38463 /* end confdefs.h. */
38464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38466 #define $ac_func innocuous_$ac_func
38468 /* System header to define __stub macros and hopefully few prototypes,
38469 which can conflict with char $ac_func (); below.
38470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38471 <limits.h> exists even on freestanding compilers. */
38473 #ifdef __STDC__
38474 # include <limits.h>
38475 #else
38476 # include <assert.h>
38477 #endif
38479 #undef $ac_func
38481 /* Override any gcc2 internal prototype to avoid an error. */
38482 #ifdef __cplusplus
38483 extern "C"
38485 #endif
38486 /* We use char because int might match the return type of a gcc2
38487 builtin and then its argument prototype would still apply. */
38488 char $ac_func ();
38489 /* The GNU C library defines this for functions which it implements
38490 to always fail with ENOSYS. Some functions are actually named
38491 something starting with __ and the normal name is an alias. */
38492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38493 choke me
38494 #else
38495 char (*f) () = $ac_func;
38496 #endif
38497 #ifdef __cplusplus
38499 #endif
38502 main ()
38504 return f != $ac_func;
38506 return 0;
38508 _ACEOF
38509 rm -f conftest.$ac_objext conftest$ac_exeext
38510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38511 (eval $ac_link) 2>conftest.er1
38512 ac_status=$?
38513 grep -v '^ *+' conftest.er1 >conftest.err
38514 rm -f conftest.er1
38515 cat conftest.err >&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); } &&
38518 { ac_try='test -z "$ac_c_werror_flag"
38519 || test ! -s conftest.err'
38520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38521 (eval $ac_try) 2>&5
38522 ac_status=$?
38523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524 (exit $ac_status); }; } &&
38525 { ac_try='test -s conftest$ac_exeext'
38526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38527 (eval $ac_try) 2>&5
38528 ac_status=$?
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); }; }; then
38531 eval "$as_ac_var=yes"
38532 else
38533 echo "$as_me: failed program was:" >&5
38534 sed 's/^/| /' conftest.$ac_ext >&5
38536 eval "$as_ac_var=no"
38538 rm -f conftest.err conftest.$ac_objext \
38539 conftest$ac_exeext conftest.$ac_ext
38541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38543 if test `eval echo '${'$as_ac_var'}'` = yes; then
38544 cat >>confdefs.h <<_ACEOF
38545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38546 _ACEOF
38549 done
38556 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38557 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38558 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38559 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38560 echo $ECHO_N "(cached) $ECHO_C" >&6
38561 else
38565 ac_ext=cc
38566 ac_cpp='$CXXCPP $CPPFLAGS'
38567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38571 cat >conftest.$ac_ext <<_ACEOF
38572 /* confdefs.h. */
38573 _ACEOF
38574 cat confdefs.h >>conftest.$ac_ext
38575 cat >>conftest.$ac_ext <<_ACEOF
38576 /* end confdefs.h. */
38577 #include <math.h>
38578 #ifdef HAVE_IEEEFP_H
38579 #include <ieeefp.h>
38580 #endif
38583 main ()
38585 log10f(0);
38587 return 0;
38589 _ACEOF
38590 rm -f conftest.$ac_objext
38591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38592 (eval $ac_compile) 2>conftest.er1
38593 ac_status=$?
38594 grep -v '^ *+' conftest.er1 >conftest.err
38595 rm -f conftest.er1
38596 cat conftest.err >&5
38597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38598 (exit $ac_status); } &&
38599 { ac_try='test -z "$ac_cxx_werror_flag"
38600 || test ! -s conftest.err'
38601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38602 (eval $ac_try) 2>&5
38603 ac_status=$?
38604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38605 (exit $ac_status); }; } &&
38606 { ac_try='test -s conftest.$ac_objext'
38607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38608 (eval $ac_try) 2>&5
38609 ac_status=$?
38610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38611 (exit $ac_status); }; }; then
38612 glibcxx_cv_func_log10f_use=yes
38613 else
38614 echo "$as_me: failed program was:" >&5
38615 sed 's/^/| /' conftest.$ac_ext >&5
38617 glibcxx_cv_func_log10f_use=no
38619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38620 ac_ext=c
38621 ac_cpp='$CPP $CPPFLAGS'
38622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38630 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38631 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38633 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38635 for ac_func in log10f
38637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38638 echo "$as_me:$LINENO: checking for $ac_func" >&5
38639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38640 if eval "test \"\${$as_ac_var+set}\" = set"; then
38641 echo $ECHO_N "(cached) $ECHO_C" >&6
38642 else
38643 if test x$gcc_no_link = xyes; then
38644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38646 { (exit 1); exit 1; }; }
38648 cat >conftest.$ac_ext <<_ACEOF
38649 /* confdefs.h. */
38650 _ACEOF
38651 cat confdefs.h >>conftest.$ac_ext
38652 cat >>conftest.$ac_ext <<_ACEOF
38653 /* end confdefs.h. */
38654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38656 #define $ac_func innocuous_$ac_func
38658 /* System header to define __stub macros and hopefully few prototypes,
38659 which can conflict with char $ac_func (); below.
38660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38661 <limits.h> exists even on freestanding compilers. */
38663 #ifdef __STDC__
38664 # include <limits.h>
38665 #else
38666 # include <assert.h>
38667 #endif
38669 #undef $ac_func
38671 /* Override any gcc2 internal prototype to avoid an error. */
38672 #ifdef __cplusplus
38673 extern "C"
38675 #endif
38676 /* We use char because int might match the return type of a gcc2
38677 builtin and then its argument prototype would still apply. */
38678 char $ac_func ();
38679 /* The GNU C library defines this for functions which it implements
38680 to always fail with ENOSYS. Some functions are actually named
38681 something starting with __ and the normal name is an alias. */
38682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38683 choke me
38684 #else
38685 char (*f) () = $ac_func;
38686 #endif
38687 #ifdef __cplusplus
38689 #endif
38692 main ()
38694 return f != $ac_func;
38696 return 0;
38698 _ACEOF
38699 rm -f conftest.$ac_objext conftest$ac_exeext
38700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38701 (eval $ac_link) 2>conftest.er1
38702 ac_status=$?
38703 grep -v '^ *+' conftest.er1 >conftest.err
38704 rm -f conftest.er1
38705 cat conftest.err >&5
38706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38707 (exit $ac_status); } &&
38708 { ac_try='test -z "$ac_c_werror_flag"
38709 || test ! -s conftest.err'
38710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38711 (eval $ac_try) 2>&5
38712 ac_status=$?
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); }; } &&
38715 { ac_try='test -s conftest$ac_exeext'
38716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38717 (eval $ac_try) 2>&5
38718 ac_status=$?
38719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38720 (exit $ac_status); }; }; then
38721 eval "$as_ac_var=yes"
38722 else
38723 echo "$as_me: failed program was:" >&5
38724 sed 's/^/| /' conftest.$ac_ext >&5
38726 eval "$as_ac_var=no"
38728 rm -f conftest.err conftest.$ac_objext \
38729 conftest$ac_exeext conftest.$ac_ext
38731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38733 if test `eval echo '${'$as_ac_var'}'` = yes; then
38734 cat >>confdefs.h <<_ACEOF
38735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38736 _ACEOF
38739 done
38741 else
38743 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38744 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38745 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38746 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38747 echo $ECHO_N "(cached) $ECHO_C" >&6
38748 else
38752 ac_ext=cc
38753 ac_cpp='$CXXCPP $CPPFLAGS'
38754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38758 cat >conftest.$ac_ext <<_ACEOF
38759 /* confdefs.h. */
38760 _ACEOF
38761 cat confdefs.h >>conftest.$ac_ext
38762 cat >>conftest.$ac_ext <<_ACEOF
38763 /* end confdefs.h. */
38764 #include <math.h>
38765 #ifdef HAVE_IEEEFP_H
38766 #include <ieeefp.h>
38767 #endif
38770 main ()
38772 _log10f(0);
38774 return 0;
38776 _ACEOF
38777 rm -f conftest.$ac_objext
38778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38779 (eval $ac_compile) 2>conftest.er1
38780 ac_status=$?
38781 grep -v '^ *+' conftest.er1 >conftest.err
38782 rm -f conftest.er1
38783 cat conftest.err >&5
38784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38785 (exit $ac_status); } &&
38786 { ac_try='test -z "$ac_cxx_werror_flag"
38787 || test ! -s conftest.err'
38788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38789 (eval $ac_try) 2>&5
38790 ac_status=$?
38791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38792 (exit $ac_status); }; } &&
38793 { ac_try='test -s conftest.$ac_objext'
38794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38795 (eval $ac_try) 2>&5
38796 ac_status=$?
38797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38798 (exit $ac_status); }; }; then
38799 glibcxx_cv_func__log10f_use=yes
38800 else
38801 echo "$as_me: failed program was:" >&5
38802 sed 's/^/| /' conftest.$ac_ext >&5
38804 glibcxx_cv_func__log10f_use=no
38806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38807 ac_ext=c
38808 ac_cpp='$CPP $CPPFLAGS'
38809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38817 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38818 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38820 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38822 for ac_func in _log10f
38824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38825 echo "$as_me:$LINENO: checking for $ac_func" >&5
38826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38827 if eval "test \"\${$as_ac_var+set}\" = set"; then
38828 echo $ECHO_N "(cached) $ECHO_C" >&6
38829 else
38830 if test x$gcc_no_link = xyes; then
38831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38833 { (exit 1); exit 1; }; }
38835 cat >conftest.$ac_ext <<_ACEOF
38836 /* confdefs.h. */
38837 _ACEOF
38838 cat confdefs.h >>conftest.$ac_ext
38839 cat >>conftest.$ac_ext <<_ACEOF
38840 /* end confdefs.h. */
38841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38843 #define $ac_func innocuous_$ac_func
38845 /* System header to define __stub macros and hopefully few prototypes,
38846 which can conflict with char $ac_func (); below.
38847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38848 <limits.h> exists even on freestanding compilers. */
38850 #ifdef __STDC__
38851 # include <limits.h>
38852 #else
38853 # include <assert.h>
38854 #endif
38856 #undef $ac_func
38858 /* Override any gcc2 internal prototype to avoid an error. */
38859 #ifdef __cplusplus
38860 extern "C"
38862 #endif
38863 /* We use char because int might match the return type of a gcc2
38864 builtin and then its argument prototype would still apply. */
38865 char $ac_func ();
38866 /* The GNU C library defines this for functions which it implements
38867 to always fail with ENOSYS. Some functions are actually named
38868 something starting with __ and the normal name is an alias. */
38869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38870 choke me
38871 #else
38872 char (*f) () = $ac_func;
38873 #endif
38874 #ifdef __cplusplus
38876 #endif
38879 main ()
38881 return f != $ac_func;
38883 return 0;
38885 _ACEOF
38886 rm -f conftest.$ac_objext conftest$ac_exeext
38887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38888 (eval $ac_link) 2>conftest.er1
38889 ac_status=$?
38890 grep -v '^ *+' conftest.er1 >conftest.err
38891 rm -f conftest.er1
38892 cat conftest.err >&5
38893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38894 (exit $ac_status); } &&
38895 { ac_try='test -z "$ac_c_werror_flag"
38896 || test ! -s conftest.err'
38897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38898 (eval $ac_try) 2>&5
38899 ac_status=$?
38900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901 (exit $ac_status); }; } &&
38902 { ac_try='test -s conftest$ac_exeext'
38903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38904 (eval $ac_try) 2>&5
38905 ac_status=$?
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); }; }; then
38908 eval "$as_ac_var=yes"
38909 else
38910 echo "$as_me: failed program was:" >&5
38911 sed 's/^/| /' conftest.$ac_ext >&5
38913 eval "$as_ac_var=no"
38915 rm -f conftest.err conftest.$ac_objext \
38916 conftest$ac_exeext conftest.$ac_ext
38918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38920 if test `eval echo '${'$as_ac_var'}'` = yes; then
38921 cat >>confdefs.h <<_ACEOF
38922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38923 _ACEOF
38926 done
38933 echo "$as_me:$LINENO: checking for modff declaration" >&5
38934 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38935 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38936 if test "${glibcxx_cv_func_modff_use+set}" = set; then
38937 echo $ECHO_N "(cached) $ECHO_C" >&6
38938 else
38942 ac_ext=cc
38943 ac_cpp='$CXXCPP $CPPFLAGS'
38944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38948 cat >conftest.$ac_ext <<_ACEOF
38949 /* confdefs.h. */
38950 _ACEOF
38951 cat confdefs.h >>conftest.$ac_ext
38952 cat >>conftest.$ac_ext <<_ACEOF
38953 /* end confdefs.h. */
38954 #include <math.h>
38956 main ()
38958 modff(0, 0);
38960 return 0;
38962 _ACEOF
38963 rm -f conftest.$ac_objext
38964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38965 (eval $ac_compile) 2>conftest.er1
38966 ac_status=$?
38967 grep -v '^ *+' conftest.er1 >conftest.err
38968 rm -f conftest.er1
38969 cat conftest.err >&5
38970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38971 (exit $ac_status); } &&
38972 { ac_try='test -z "$ac_cxx_werror_flag"
38973 || test ! -s conftest.err'
38974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38975 (eval $ac_try) 2>&5
38976 ac_status=$?
38977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38978 (exit $ac_status); }; } &&
38979 { ac_try='test -s conftest.$ac_objext'
38980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38981 (eval $ac_try) 2>&5
38982 ac_status=$?
38983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38984 (exit $ac_status); }; }; then
38985 glibcxx_cv_func_modff_use=yes
38986 else
38987 echo "$as_me: failed program was:" >&5
38988 sed 's/^/| /' conftest.$ac_ext >&5
38990 glibcxx_cv_func_modff_use=no
38992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38993 ac_ext=c
38994 ac_cpp='$CPP $CPPFLAGS'
38995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39004 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39006 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39008 for ac_func in modff
39010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39011 echo "$as_me:$LINENO: checking for $ac_func" >&5
39012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39013 if eval "test \"\${$as_ac_var+set}\" = set"; then
39014 echo $ECHO_N "(cached) $ECHO_C" >&6
39015 else
39016 if test x$gcc_no_link = xyes; then
39017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39019 { (exit 1); exit 1; }; }
39021 cat >conftest.$ac_ext <<_ACEOF
39022 /* confdefs.h. */
39023 _ACEOF
39024 cat confdefs.h >>conftest.$ac_ext
39025 cat >>conftest.$ac_ext <<_ACEOF
39026 /* end confdefs.h. */
39027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39029 #define $ac_func innocuous_$ac_func
39031 /* System header to define __stub macros and hopefully few prototypes,
39032 which can conflict with char $ac_func (); below.
39033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39034 <limits.h> exists even on freestanding compilers. */
39036 #ifdef __STDC__
39037 # include <limits.h>
39038 #else
39039 # include <assert.h>
39040 #endif
39042 #undef $ac_func
39044 /* Override any gcc2 internal prototype to avoid an error. */
39045 #ifdef __cplusplus
39046 extern "C"
39048 #endif
39049 /* We use char because int might match the return type of a gcc2
39050 builtin and then its argument prototype would still apply. */
39051 char $ac_func ();
39052 /* The GNU C library defines this for functions which it implements
39053 to always fail with ENOSYS. Some functions are actually named
39054 something starting with __ and the normal name is an alias. */
39055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39056 choke me
39057 #else
39058 char (*f) () = $ac_func;
39059 #endif
39060 #ifdef __cplusplus
39062 #endif
39065 main ()
39067 return f != $ac_func;
39069 return 0;
39071 _ACEOF
39072 rm -f conftest.$ac_objext conftest$ac_exeext
39073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39074 (eval $ac_link) 2>conftest.er1
39075 ac_status=$?
39076 grep -v '^ *+' conftest.er1 >conftest.err
39077 rm -f conftest.er1
39078 cat conftest.err >&5
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); } &&
39081 { ac_try='test -z "$ac_c_werror_flag"
39082 || test ! -s conftest.err'
39083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39084 (eval $ac_try) 2>&5
39085 ac_status=$?
39086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39087 (exit $ac_status); }; } &&
39088 { ac_try='test -s conftest$ac_exeext'
39089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39090 (eval $ac_try) 2>&5
39091 ac_status=$?
39092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39093 (exit $ac_status); }; }; then
39094 eval "$as_ac_var=yes"
39095 else
39096 echo "$as_me: failed program was:" >&5
39097 sed 's/^/| /' conftest.$ac_ext >&5
39099 eval "$as_ac_var=no"
39101 rm -f conftest.err conftest.$ac_objext \
39102 conftest$ac_exeext conftest.$ac_ext
39104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39106 if test `eval echo '${'$as_ac_var'}'` = yes; then
39107 cat >>confdefs.h <<_ACEOF
39108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39109 _ACEOF
39112 done
39114 else
39116 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39117 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39118 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39119 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39120 echo $ECHO_N "(cached) $ECHO_C" >&6
39121 else
39125 ac_ext=cc
39126 ac_cpp='$CXXCPP $CPPFLAGS'
39127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39131 cat >conftest.$ac_ext <<_ACEOF
39132 /* confdefs.h. */
39133 _ACEOF
39134 cat confdefs.h >>conftest.$ac_ext
39135 cat >>conftest.$ac_ext <<_ACEOF
39136 /* end confdefs.h. */
39137 #include <math.h>
39139 main ()
39141 _modff(0, 0);
39143 return 0;
39145 _ACEOF
39146 rm -f conftest.$ac_objext
39147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39148 (eval $ac_compile) 2>conftest.er1
39149 ac_status=$?
39150 grep -v '^ *+' conftest.er1 >conftest.err
39151 rm -f conftest.er1
39152 cat conftest.err >&5
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); } &&
39155 { ac_try='test -z "$ac_cxx_werror_flag"
39156 || test ! -s conftest.err'
39157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39158 (eval $ac_try) 2>&5
39159 ac_status=$?
39160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39161 (exit $ac_status); }; } &&
39162 { ac_try='test -s conftest.$ac_objext'
39163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39164 (eval $ac_try) 2>&5
39165 ac_status=$?
39166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39167 (exit $ac_status); }; }; then
39168 glibcxx_cv_func__modff_use=yes
39169 else
39170 echo "$as_me: failed program was:" >&5
39171 sed 's/^/| /' conftest.$ac_ext >&5
39173 glibcxx_cv_func__modff_use=no
39175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39176 ac_ext=c
39177 ac_cpp='$CPP $CPPFLAGS'
39178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39187 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39189 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39191 for ac_func in _modff
39193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39194 echo "$as_me:$LINENO: checking for $ac_func" >&5
39195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39196 if eval "test \"\${$as_ac_var+set}\" = set"; then
39197 echo $ECHO_N "(cached) $ECHO_C" >&6
39198 else
39199 if test x$gcc_no_link = xyes; then
39200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39202 { (exit 1); exit 1; }; }
39204 cat >conftest.$ac_ext <<_ACEOF
39205 /* confdefs.h. */
39206 _ACEOF
39207 cat confdefs.h >>conftest.$ac_ext
39208 cat >>conftest.$ac_ext <<_ACEOF
39209 /* end confdefs.h. */
39210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39212 #define $ac_func innocuous_$ac_func
39214 /* System header to define __stub macros and hopefully few prototypes,
39215 which can conflict with char $ac_func (); below.
39216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39217 <limits.h> exists even on freestanding compilers. */
39219 #ifdef __STDC__
39220 # include <limits.h>
39221 #else
39222 # include <assert.h>
39223 #endif
39225 #undef $ac_func
39227 /* Override any gcc2 internal prototype to avoid an error. */
39228 #ifdef __cplusplus
39229 extern "C"
39231 #endif
39232 /* We use char because int might match the return type of a gcc2
39233 builtin and then its argument prototype would still apply. */
39234 char $ac_func ();
39235 /* The GNU C library defines this for functions which it implements
39236 to always fail with ENOSYS. Some functions are actually named
39237 something starting with __ and the normal name is an alias. */
39238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39239 choke me
39240 #else
39241 char (*f) () = $ac_func;
39242 #endif
39243 #ifdef __cplusplus
39245 #endif
39248 main ()
39250 return f != $ac_func;
39252 return 0;
39254 _ACEOF
39255 rm -f conftest.$ac_objext conftest$ac_exeext
39256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39257 (eval $ac_link) 2>conftest.er1
39258 ac_status=$?
39259 grep -v '^ *+' conftest.er1 >conftest.err
39260 rm -f conftest.er1
39261 cat conftest.err >&5
39262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39263 (exit $ac_status); } &&
39264 { ac_try='test -z "$ac_c_werror_flag"
39265 || test ! -s conftest.err'
39266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39267 (eval $ac_try) 2>&5
39268 ac_status=$?
39269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39270 (exit $ac_status); }; } &&
39271 { ac_try='test -s conftest$ac_exeext'
39272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39273 (eval $ac_try) 2>&5
39274 ac_status=$?
39275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39276 (exit $ac_status); }; }; then
39277 eval "$as_ac_var=yes"
39278 else
39279 echo "$as_me: failed program was:" >&5
39280 sed 's/^/| /' conftest.$ac_ext >&5
39282 eval "$as_ac_var=no"
39284 rm -f conftest.err conftest.$ac_objext \
39285 conftest$ac_exeext conftest.$ac_ext
39287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39289 if test `eval echo '${'$as_ac_var'}'` = yes; then
39290 cat >>confdefs.h <<_ACEOF
39291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39292 _ACEOF
39295 done
39302 echo "$as_me:$LINENO: checking for powf declaration" >&5
39303 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39304 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39305 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39306 echo $ECHO_N "(cached) $ECHO_C" >&6
39307 else
39311 ac_ext=cc
39312 ac_cpp='$CXXCPP $CPPFLAGS'
39313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39317 cat >conftest.$ac_ext <<_ACEOF
39318 /* confdefs.h. */
39319 _ACEOF
39320 cat confdefs.h >>conftest.$ac_ext
39321 cat >>conftest.$ac_ext <<_ACEOF
39322 /* end confdefs.h. */
39323 #include <math.h>
39325 main ()
39327 powf(0, 0);
39329 return 0;
39331 _ACEOF
39332 rm -f conftest.$ac_objext
39333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39334 (eval $ac_compile) 2>conftest.er1
39335 ac_status=$?
39336 grep -v '^ *+' conftest.er1 >conftest.err
39337 rm -f conftest.er1
39338 cat conftest.err >&5
39339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39340 (exit $ac_status); } &&
39341 { ac_try='test -z "$ac_cxx_werror_flag"
39342 || test ! -s conftest.err'
39343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39344 (eval $ac_try) 2>&5
39345 ac_status=$?
39346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39347 (exit $ac_status); }; } &&
39348 { ac_try='test -s conftest.$ac_objext'
39349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39350 (eval $ac_try) 2>&5
39351 ac_status=$?
39352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39353 (exit $ac_status); }; }; then
39354 glibcxx_cv_func_powf_use=yes
39355 else
39356 echo "$as_me: failed program was:" >&5
39357 sed 's/^/| /' conftest.$ac_ext >&5
39359 glibcxx_cv_func_powf_use=no
39361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39362 ac_ext=c
39363 ac_cpp='$CPP $CPPFLAGS'
39364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39373 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39375 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39377 for ac_func in powf
39379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39380 echo "$as_me:$LINENO: checking for $ac_func" >&5
39381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39382 if eval "test \"\${$as_ac_var+set}\" = set"; then
39383 echo $ECHO_N "(cached) $ECHO_C" >&6
39384 else
39385 if test x$gcc_no_link = xyes; then
39386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39388 { (exit 1); exit 1; }; }
39390 cat >conftest.$ac_ext <<_ACEOF
39391 /* confdefs.h. */
39392 _ACEOF
39393 cat confdefs.h >>conftest.$ac_ext
39394 cat >>conftest.$ac_ext <<_ACEOF
39395 /* end confdefs.h. */
39396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39398 #define $ac_func innocuous_$ac_func
39400 /* System header to define __stub macros and hopefully few prototypes,
39401 which can conflict with char $ac_func (); below.
39402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39403 <limits.h> exists even on freestanding compilers. */
39405 #ifdef __STDC__
39406 # include <limits.h>
39407 #else
39408 # include <assert.h>
39409 #endif
39411 #undef $ac_func
39413 /* Override any gcc2 internal prototype to avoid an error. */
39414 #ifdef __cplusplus
39415 extern "C"
39417 #endif
39418 /* We use char because int might match the return type of a gcc2
39419 builtin and then its argument prototype would still apply. */
39420 char $ac_func ();
39421 /* The GNU C library defines this for functions which it implements
39422 to always fail with ENOSYS. Some functions are actually named
39423 something starting with __ and the normal name is an alias. */
39424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39425 choke me
39426 #else
39427 char (*f) () = $ac_func;
39428 #endif
39429 #ifdef __cplusplus
39431 #endif
39434 main ()
39436 return f != $ac_func;
39438 return 0;
39440 _ACEOF
39441 rm -f conftest.$ac_objext conftest$ac_exeext
39442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39443 (eval $ac_link) 2>conftest.er1
39444 ac_status=$?
39445 grep -v '^ *+' conftest.er1 >conftest.err
39446 rm -f conftest.er1
39447 cat conftest.err >&5
39448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39449 (exit $ac_status); } &&
39450 { ac_try='test -z "$ac_c_werror_flag"
39451 || test ! -s conftest.err'
39452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39453 (eval $ac_try) 2>&5
39454 ac_status=$?
39455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39456 (exit $ac_status); }; } &&
39457 { ac_try='test -s conftest$ac_exeext'
39458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39459 (eval $ac_try) 2>&5
39460 ac_status=$?
39461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39462 (exit $ac_status); }; }; then
39463 eval "$as_ac_var=yes"
39464 else
39465 echo "$as_me: failed program was:" >&5
39466 sed 's/^/| /' conftest.$ac_ext >&5
39468 eval "$as_ac_var=no"
39470 rm -f conftest.err conftest.$ac_objext \
39471 conftest$ac_exeext conftest.$ac_ext
39473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39475 if test `eval echo '${'$as_ac_var'}'` = yes; then
39476 cat >>confdefs.h <<_ACEOF
39477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39478 _ACEOF
39481 done
39483 else
39485 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39486 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39487 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39488 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39489 echo $ECHO_N "(cached) $ECHO_C" >&6
39490 else
39494 ac_ext=cc
39495 ac_cpp='$CXXCPP $CPPFLAGS'
39496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39500 cat >conftest.$ac_ext <<_ACEOF
39501 /* confdefs.h. */
39502 _ACEOF
39503 cat confdefs.h >>conftest.$ac_ext
39504 cat >>conftest.$ac_ext <<_ACEOF
39505 /* end confdefs.h. */
39506 #include <math.h>
39508 main ()
39510 _powf(0, 0);
39512 return 0;
39514 _ACEOF
39515 rm -f conftest.$ac_objext
39516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39517 (eval $ac_compile) 2>conftest.er1
39518 ac_status=$?
39519 grep -v '^ *+' conftest.er1 >conftest.err
39520 rm -f conftest.er1
39521 cat conftest.err >&5
39522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39523 (exit $ac_status); } &&
39524 { ac_try='test -z "$ac_cxx_werror_flag"
39525 || test ! -s conftest.err'
39526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39527 (eval $ac_try) 2>&5
39528 ac_status=$?
39529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39530 (exit $ac_status); }; } &&
39531 { ac_try='test -s conftest.$ac_objext'
39532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39533 (eval $ac_try) 2>&5
39534 ac_status=$?
39535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536 (exit $ac_status); }; }; then
39537 glibcxx_cv_func__powf_use=yes
39538 else
39539 echo "$as_me: failed program was:" >&5
39540 sed 's/^/| /' conftest.$ac_ext >&5
39542 glibcxx_cv_func__powf_use=no
39544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39545 ac_ext=c
39546 ac_cpp='$CPP $CPPFLAGS'
39547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39555 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39556 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39558 if test x$glibcxx_cv_func__powf_use = x"yes"; then
39560 for ac_func in _powf
39562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39563 echo "$as_me:$LINENO: checking for $ac_func" >&5
39564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39565 if eval "test \"\${$as_ac_var+set}\" = set"; then
39566 echo $ECHO_N "(cached) $ECHO_C" >&6
39567 else
39568 if test x$gcc_no_link = xyes; then
39569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39571 { (exit 1); exit 1; }; }
39573 cat >conftest.$ac_ext <<_ACEOF
39574 /* confdefs.h. */
39575 _ACEOF
39576 cat confdefs.h >>conftest.$ac_ext
39577 cat >>conftest.$ac_ext <<_ACEOF
39578 /* end confdefs.h. */
39579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39581 #define $ac_func innocuous_$ac_func
39583 /* System header to define __stub macros and hopefully few prototypes,
39584 which can conflict with char $ac_func (); below.
39585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39586 <limits.h> exists even on freestanding compilers. */
39588 #ifdef __STDC__
39589 # include <limits.h>
39590 #else
39591 # include <assert.h>
39592 #endif
39594 #undef $ac_func
39596 /* Override any gcc2 internal prototype to avoid an error. */
39597 #ifdef __cplusplus
39598 extern "C"
39600 #endif
39601 /* We use char because int might match the return type of a gcc2
39602 builtin and then its argument prototype would still apply. */
39603 char $ac_func ();
39604 /* The GNU C library defines this for functions which it implements
39605 to always fail with ENOSYS. Some functions are actually named
39606 something starting with __ and the normal name is an alias. */
39607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39608 choke me
39609 #else
39610 char (*f) () = $ac_func;
39611 #endif
39612 #ifdef __cplusplus
39614 #endif
39617 main ()
39619 return f != $ac_func;
39621 return 0;
39623 _ACEOF
39624 rm -f conftest.$ac_objext conftest$ac_exeext
39625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39626 (eval $ac_link) 2>conftest.er1
39627 ac_status=$?
39628 grep -v '^ *+' conftest.er1 >conftest.err
39629 rm -f conftest.er1
39630 cat conftest.err >&5
39631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39632 (exit $ac_status); } &&
39633 { ac_try='test -z "$ac_c_werror_flag"
39634 || test ! -s conftest.err'
39635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39636 (eval $ac_try) 2>&5
39637 ac_status=$?
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); }; } &&
39640 { ac_try='test -s conftest$ac_exeext'
39641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39642 (eval $ac_try) 2>&5
39643 ac_status=$?
39644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39645 (exit $ac_status); }; }; then
39646 eval "$as_ac_var=yes"
39647 else
39648 echo "$as_me: failed program was:" >&5
39649 sed 's/^/| /' conftest.$ac_ext >&5
39651 eval "$as_ac_var=no"
39653 rm -f conftest.err conftest.$ac_objext \
39654 conftest$ac_exeext conftest.$ac_ext
39656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39658 if test `eval echo '${'$as_ac_var'}'` = yes; then
39659 cat >>confdefs.h <<_ACEOF
39660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39661 _ACEOF
39664 done
39671 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39672 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39673 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39674 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39675 echo $ECHO_N "(cached) $ECHO_C" >&6
39676 else
39680 ac_ext=cc
39681 ac_cpp='$CXXCPP $CPPFLAGS'
39682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39686 cat >conftest.$ac_ext <<_ACEOF
39687 /* confdefs.h. */
39688 _ACEOF
39689 cat confdefs.h >>conftest.$ac_ext
39690 cat >>conftest.$ac_ext <<_ACEOF
39691 /* end confdefs.h. */
39692 #include <math.h>
39693 #ifdef HAVE_IEEEFP_H
39694 #include <ieeefp.h>
39695 #endif
39698 main ()
39700 sqrtf(0);
39702 return 0;
39704 _ACEOF
39705 rm -f conftest.$ac_objext
39706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39707 (eval $ac_compile) 2>conftest.er1
39708 ac_status=$?
39709 grep -v '^ *+' conftest.er1 >conftest.err
39710 rm -f conftest.er1
39711 cat conftest.err >&5
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); } &&
39714 { ac_try='test -z "$ac_cxx_werror_flag"
39715 || test ! -s conftest.err'
39716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39717 (eval $ac_try) 2>&5
39718 ac_status=$?
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); }; } &&
39721 { ac_try='test -s conftest.$ac_objext'
39722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39723 (eval $ac_try) 2>&5
39724 ac_status=$?
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); }; }; then
39727 glibcxx_cv_func_sqrtf_use=yes
39728 else
39729 echo "$as_me: failed program was:" >&5
39730 sed 's/^/| /' conftest.$ac_ext >&5
39732 glibcxx_cv_func_sqrtf_use=no
39734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39735 ac_ext=c
39736 ac_cpp='$CPP $CPPFLAGS'
39737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39745 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39746 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39748 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39750 for ac_func in sqrtf
39752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39753 echo "$as_me:$LINENO: checking for $ac_func" >&5
39754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39755 if eval "test \"\${$as_ac_var+set}\" = set"; then
39756 echo $ECHO_N "(cached) $ECHO_C" >&6
39757 else
39758 if test x$gcc_no_link = xyes; then
39759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39761 { (exit 1); exit 1; }; }
39763 cat >conftest.$ac_ext <<_ACEOF
39764 /* confdefs.h. */
39765 _ACEOF
39766 cat confdefs.h >>conftest.$ac_ext
39767 cat >>conftest.$ac_ext <<_ACEOF
39768 /* end confdefs.h. */
39769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39771 #define $ac_func innocuous_$ac_func
39773 /* System header to define __stub macros and hopefully few prototypes,
39774 which can conflict with char $ac_func (); below.
39775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39776 <limits.h> exists even on freestanding compilers. */
39778 #ifdef __STDC__
39779 # include <limits.h>
39780 #else
39781 # include <assert.h>
39782 #endif
39784 #undef $ac_func
39786 /* Override any gcc2 internal prototype to avoid an error. */
39787 #ifdef __cplusplus
39788 extern "C"
39790 #endif
39791 /* We use char because int might match the return type of a gcc2
39792 builtin and then its argument prototype would still apply. */
39793 char $ac_func ();
39794 /* The GNU C library defines this for functions which it implements
39795 to always fail with ENOSYS. Some functions are actually named
39796 something starting with __ and the normal name is an alias. */
39797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39798 choke me
39799 #else
39800 char (*f) () = $ac_func;
39801 #endif
39802 #ifdef __cplusplus
39804 #endif
39807 main ()
39809 return f != $ac_func;
39811 return 0;
39813 _ACEOF
39814 rm -f conftest.$ac_objext conftest$ac_exeext
39815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39816 (eval $ac_link) 2>conftest.er1
39817 ac_status=$?
39818 grep -v '^ *+' conftest.er1 >conftest.err
39819 rm -f conftest.er1
39820 cat conftest.err >&5
39821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39822 (exit $ac_status); } &&
39823 { ac_try='test -z "$ac_c_werror_flag"
39824 || test ! -s conftest.err'
39825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39826 (eval $ac_try) 2>&5
39827 ac_status=$?
39828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39829 (exit $ac_status); }; } &&
39830 { ac_try='test -s conftest$ac_exeext'
39831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39832 (eval $ac_try) 2>&5
39833 ac_status=$?
39834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39835 (exit $ac_status); }; }; then
39836 eval "$as_ac_var=yes"
39837 else
39838 echo "$as_me: failed program was:" >&5
39839 sed 's/^/| /' conftest.$ac_ext >&5
39841 eval "$as_ac_var=no"
39843 rm -f conftest.err conftest.$ac_objext \
39844 conftest$ac_exeext conftest.$ac_ext
39846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39848 if test `eval echo '${'$as_ac_var'}'` = yes; then
39849 cat >>confdefs.h <<_ACEOF
39850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39851 _ACEOF
39854 done
39856 else
39858 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39859 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39860 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39861 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39862 echo $ECHO_N "(cached) $ECHO_C" >&6
39863 else
39867 ac_ext=cc
39868 ac_cpp='$CXXCPP $CPPFLAGS'
39869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39873 cat >conftest.$ac_ext <<_ACEOF
39874 /* confdefs.h. */
39875 _ACEOF
39876 cat confdefs.h >>conftest.$ac_ext
39877 cat >>conftest.$ac_ext <<_ACEOF
39878 /* end confdefs.h. */
39879 #include <math.h>
39880 #ifdef HAVE_IEEEFP_H
39881 #include <ieeefp.h>
39882 #endif
39885 main ()
39887 _sqrtf(0);
39889 return 0;
39891 _ACEOF
39892 rm -f conftest.$ac_objext
39893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39894 (eval $ac_compile) 2>conftest.er1
39895 ac_status=$?
39896 grep -v '^ *+' conftest.er1 >conftest.err
39897 rm -f conftest.er1
39898 cat conftest.err >&5
39899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39900 (exit $ac_status); } &&
39901 { ac_try='test -z "$ac_cxx_werror_flag"
39902 || test ! -s conftest.err'
39903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39904 (eval $ac_try) 2>&5
39905 ac_status=$?
39906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39907 (exit $ac_status); }; } &&
39908 { ac_try='test -s conftest.$ac_objext'
39909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39910 (eval $ac_try) 2>&5
39911 ac_status=$?
39912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39913 (exit $ac_status); }; }; then
39914 glibcxx_cv_func__sqrtf_use=yes
39915 else
39916 echo "$as_me: failed program was:" >&5
39917 sed 's/^/| /' conftest.$ac_ext >&5
39919 glibcxx_cv_func__sqrtf_use=no
39921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39922 ac_ext=c
39923 ac_cpp='$CPP $CPPFLAGS'
39924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39933 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39935 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39937 for ac_func in _sqrtf
39939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39940 echo "$as_me:$LINENO: checking for $ac_func" >&5
39941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39942 if eval "test \"\${$as_ac_var+set}\" = set"; then
39943 echo $ECHO_N "(cached) $ECHO_C" >&6
39944 else
39945 if test x$gcc_no_link = xyes; then
39946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39948 { (exit 1); exit 1; }; }
39950 cat >conftest.$ac_ext <<_ACEOF
39951 /* confdefs.h. */
39952 _ACEOF
39953 cat confdefs.h >>conftest.$ac_ext
39954 cat >>conftest.$ac_ext <<_ACEOF
39955 /* end confdefs.h. */
39956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39958 #define $ac_func innocuous_$ac_func
39960 /* System header to define __stub macros and hopefully few prototypes,
39961 which can conflict with char $ac_func (); below.
39962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39963 <limits.h> exists even on freestanding compilers. */
39965 #ifdef __STDC__
39966 # include <limits.h>
39967 #else
39968 # include <assert.h>
39969 #endif
39971 #undef $ac_func
39973 /* Override any gcc2 internal prototype to avoid an error. */
39974 #ifdef __cplusplus
39975 extern "C"
39977 #endif
39978 /* We use char because int might match the return type of a gcc2
39979 builtin and then its argument prototype would still apply. */
39980 char $ac_func ();
39981 /* The GNU C library defines this for functions which it implements
39982 to always fail with ENOSYS. Some functions are actually named
39983 something starting with __ and the normal name is an alias. */
39984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39985 choke me
39986 #else
39987 char (*f) () = $ac_func;
39988 #endif
39989 #ifdef __cplusplus
39991 #endif
39994 main ()
39996 return f != $ac_func;
39998 return 0;
40000 _ACEOF
40001 rm -f conftest.$ac_objext conftest$ac_exeext
40002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40003 (eval $ac_link) 2>conftest.er1
40004 ac_status=$?
40005 grep -v '^ *+' conftest.er1 >conftest.err
40006 rm -f conftest.er1
40007 cat conftest.err >&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); } &&
40010 { ac_try='test -z "$ac_c_werror_flag"
40011 || test ! -s conftest.err'
40012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40013 (eval $ac_try) 2>&5
40014 ac_status=$?
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); }; } &&
40017 { ac_try='test -s conftest$ac_exeext'
40018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40019 (eval $ac_try) 2>&5
40020 ac_status=$?
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); }; }; then
40023 eval "$as_ac_var=yes"
40024 else
40025 echo "$as_me: failed program was:" >&5
40026 sed 's/^/| /' conftest.$ac_ext >&5
40028 eval "$as_ac_var=no"
40030 rm -f conftest.err conftest.$ac_objext \
40031 conftest$ac_exeext conftest.$ac_ext
40033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40035 if test `eval echo '${'$as_ac_var'}'` = yes; then
40036 cat >>confdefs.h <<_ACEOF
40037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40038 _ACEOF
40041 done
40048 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40049 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40050 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40051 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40052 echo $ECHO_N "(cached) $ECHO_C" >&6
40053 else
40057 ac_ext=cc
40058 ac_cpp='$CXXCPP $CPPFLAGS'
40059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40063 cat >conftest.$ac_ext <<_ACEOF
40064 /* confdefs.h. */
40065 _ACEOF
40066 cat confdefs.h >>conftest.$ac_ext
40067 cat >>conftest.$ac_ext <<_ACEOF
40068 /* end confdefs.h. */
40069 #include <math.h>
40071 main ()
40073 sincosf(0, 0, 0);
40075 return 0;
40077 _ACEOF
40078 rm -f conftest.$ac_objext
40079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40080 (eval $ac_compile) 2>conftest.er1
40081 ac_status=$?
40082 grep -v '^ *+' conftest.er1 >conftest.err
40083 rm -f conftest.er1
40084 cat conftest.err >&5
40085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086 (exit $ac_status); } &&
40087 { ac_try='test -z "$ac_cxx_werror_flag"
40088 || test ! -s conftest.err'
40089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40090 (eval $ac_try) 2>&5
40091 ac_status=$?
40092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40093 (exit $ac_status); }; } &&
40094 { ac_try='test -s conftest.$ac_objext'
40095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40096 (eval $ac_try) 2>&5
40097 ac_status=$?
40098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40099 (exit $ac_status); }; }; then
40100 glibcxx_cv_func_sincosf_use=yes
40101 else
40102 echo "$as_me: failed program was:" >&5
40103 sed 's/^/| /' conftest.$ac_ext >&5
40105 glibcxx_cv_func_sincosf_use=no
40107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40108 ac_ext=c
40109 ac_cpp='$CPP $CPPFLAGS'
40110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40118 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40119 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40121 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40123 for ac_func in sincosf
40125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40126 echo "$as_me:$LINENO: checking for $ac_func" >&5
40127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40128 if eval "test \"\${$as_ac_var+set}\" = set"; then
40129 echo $ECHO_N "(cached) $ECHO_C" >&6
40130 else
40131 if test x$gcc_no_link = xyes; then
40132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40134 { (exit 1); exit 1; }; }
40136 cat >conftest.$ac_ext <<_ACEOF
40137 /* confdefs.h. */
40138 _ACEOF
40139 cat confdefs.h >>conftest.$ac_ext
40140 cat >>conftest.$ac_ext <<_ACEOF
40141 /* end confdefs.h. */
40142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40144 #define $ac_func innocuous_$ac_func
40146 /* System header to define __stub macros and hopefully few prototypes,
40147 which can conflict with char $ac_func (); below.
40148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40149 <limits.h> exists even on freestanding compilers. */
40151 #ifdef __STDC__
40152 # include <limits.h>
40153 #else
40154 # include <assert.h>
40155 #endif
40157 #undef $ac_func
40159 /* Override any gcc2 internal prototype to avoid an error. */
40160 #ifdef __cplusplus
40161 extern "C"
40163 #endif
40164 /* We use char because int might match the return type of a gcc2
40165 builtin and then its argument prototype would still apply. */
40166 char $ac_func ();
40167 /* The GNU C library defines this for functions which it implements
40168 to always fail with ENOSYS. Some functions are actually named
40169 something starting with __ and the normal name is an alias. */
40170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40171 choke me
40172 #else
40173 char (*f) () = $ac_func;
40174 #endif
40175 #ifdef __cplusplus
40177 #endif
40180 main ()
40182 return f != $ac_func;
40184 return 0;
40186 _ACEOF
40187 rm -f conftest.$ac_objext conftest$ac_exeext
40188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40189 (eval $ac_link) 2>conftest.er1
40190 ac_status=$?
40191 grep -v '^ *+' conftest.er1 >conftest.err
40192 rm -f conftest.er1
40193 cat conftest.err >&5
40194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40195 (exit $ac_status); } &&
40196 { ac_try='test -z "$ac_c_werror_flag"
40197 || test ! -s conftest.err'
40198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40199 (eval $ac_try) 2>&5
40200 ac_status=$?
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); }; } &&
40203 { ac_try='test -s conftest$ac_exeext'
40204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40205 (eval $ac_try) 2>&5
40206 ac_status=$?
40207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40208 (exit $ac_status); }; }; then
40209 eval "$as_ac_var=yes"
40210 else
40211 echo "$as_me: failed program was:" >&5
40212 sed 's/^/| /' conftest.$ac_ext >&5
40214 eval "$as_ac_var=no"
40216 rm -f conftest.err conftest.$ac_objext \
40217 conftest$ac_exeext conftest.$ac_ext
40219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40221 if test `eval echo '${'$as_ac_var'}'` = yes; then
40222 cat >>confdefs.h <<_ACEOF
40223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40224 _ACEOF
40227 done
40229 else
40231 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40232 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40233 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40234 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40235 echo $ECHO_N "(cached) $ECHO_C" >&6
40236 else
40240 ac_ext=cc
40241 ac_cpp='$CXXCPP $CPPFLAGS'
40242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40246 cat >conftest.$ac_ext <<_ACEOF
40247 /* confdefs.h. */
40248 _ACEOF
40249 cat confdefs.h >>conftest.$ac_ext
40250 cat >>conftest.$ac_ext <<_ACEOF
40251 /* end confdefs.h. */
40252 #include <math.h>
40254 main ()
40256 _sincosf(0, 0, 0);
40258 return 0;
40260 _ACEOF
40261 rm -f conftest.$ac_objext
40262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40263 (eval $ac_compile) 2>conftest.er1
40264 ac_status=$?
40265 grep -v '^ *+' conftest.er1 >conftest.err
40266 rm -f conftest.er1
40267 cat conftest.err >&5
40268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40269 (exit $ac_status); } &&
40270 { ac_try='test -z "$ac_cxx_werror_flag"
40271 || test ! -s conftest.err'
40272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40273 (eval $ac_try) 2>&5
40274 ac_status=$?
40275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276 (exit $ac_status); }; } &&
40277 { ac_try='test -s conftest.$ac_objext'
40278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40279 (eval $ac_try) 2>&5
40280 ac_status=$?
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); }; }; then
40283 glibcxx_cv_func__sincosf_use=yes
40284 else
40285 echo "$as_me: failed program was:" >&5
40286 sed 's/^/| /' conftest.$ac_ext >&5
40288 glibcxx_cv_func__sincosf_use=no
40290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40291 ac_ext=c
40292 ac_cpp='$CPP $CPPFLAGS'
40293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40302 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40304 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40306 for ac_func in _sincosf
40308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40309 echo "$as_me:$LINENO: checking for $ac_func" >&5
40310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40311 if eval "test \"\${$as_ac_var+set}\" = set"; then
40312 echo $ECHO_N "(cached) $ECHO_C" >&6
40313 else
40314 if test x$gcc_no_link = xyes; then
40315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40317 { (exit 1); exit 1; }; }
40319 cat >conftest.$ac_ext <<_ACEOF
40320 /* confdefs.h. */
40321 _ACEOF
40322 cat confdefs.h >>conftest.$ac_ext
40323 cat >>conftest.$ac_ext <<_ACEOF
40324 /* end confdefs.h. */
40325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40327 #define $ac_func innocuous_$ac_func
40329 /* System header to define __stub macros and hopefully few prototypes,
40330 which can conflict with char $ac_func (); below.
40331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40332 <limits.h> exists even on freestanding compilers. */
40334 #ifdef __STDC__
40335 # include <limits.h>
40336 #else
40337 # include <assert.h>
40338 #endif
40340 #undef $ac_func
40342 /* Override any gcc2 internal prototype to avoid an error. */
40343 #ifdef __cplusplus
40344 extern "C"
40346 #endif
40347 /* We use char because int might match the return type of a gcc2
40348 builtin and then its argument prototype would still apply. */
40349 char $ac_func ();
40350 /* The GNU C library defines this for functions which it implements
40351 to always fail with ENOSYS. Some functions are actually named
40352 something starting with __ and the normal name is an alias. */
40353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40354 choke me
40355 #else
40356 char (*f) () = $ac_func;
40357 #endif
40358 #ifdef __cplusplus
40360 #endif
40363 main ()
40365 return f != $ac_func;
40367 return 0;
40369 _ACEOF
40370 rm -f conftest.$ac_objext conftest$ac_exeext
40371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40372 (eval $ac_link) 2>conftest.er1
40373 ac_status=$?
40374 grep -v '^ *+' conftest.er1 >conftest.err
40375 rm -f conftest.er1
40376 cat conftest.err >&5
40377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378 (exit $ac_status); } &&
40379 { ac_try='test -z "$ac_c_werror_flag"
40380 || test ! -s conftest.err'
40381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40382 (eval $ac_try) 2>&5
40383 ac_status=$?
40384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40385 (exit $ac_status); }; } &&
40386 { ac_try='test -s conftest$ac_exeext'
40387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40388 (eval $ac_try) 2>&5
40389 ac_status=$?
40390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40391 (exit $ac_status); }; }; then
40392 eval "$as_ac_var=yes"
40393 else
40394 echo "$as_me: failed program was:" >&5
40395 sed 's/^/| /' conftest.$ac_ext >&5
40397 eval "$as_ac_var=no"
40399 rm -f conftest.err conftest.$ac_objext \
40400 conftest$ac_exeext conftest.$ac_ext
40402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40404 if test `eval echo '${'$as_ac_var'}'` = yes; then
40405 cat >>confdefs.h <<_ACEOF
40406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40407 _ACEOF
40410 done
40417 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40418 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40419 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40420 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40421 echo $ECHO_N "(cached) $ECHO_C" >&6
40422 else
40426 ac_ext=cc
40427 ac_cpp='$CXXCPP $CPPFLAGS'
40428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40432 cat >conftest.$ac_ext <<_ACEOF
40433 /* confdefs.h. */
40434 _ACEOF
40435 cat confdefs.h >>conftest.$ac_ext
40436 cat >>conftest.$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40438 #include <math.h>
40439 #ifdef HAVE_IEEEFP_H
40440 #include <ieeefp.h>
40441 #endif
40444 main ()
40446 finitef(0);
40448 return 0;
40450 _ACEOF
40451 rm -f conftest.$ac_objext
40452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40453 (eval $ac_compile) 2>conftest.er1
40454 ac_status=$?
40455 grep -v '^ *+' conftest.er1 >conftest.err
40456 rm -f conftest.er1
40457 cat conftest.err >&5
40458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40459 (exit $ac_status); } &&
40460 { ac_try='test -z "$ac_cxx_werror_flag"
40461 || test ! -s conftest.err'
40462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40463 (eval $ac_try) 2>&5
40464 ac_status=$?
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); }; } &&
40467 { ac_try='test -s conftest.$ac_objext'
40468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40469 (eval $ac_try) 2>&5
40470 ac_status=$?
40471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40472 (exit $ac_status); }; }; then
40473 glibcxx_cv_func_finitef_use=yes
40474 else
40475 echo "$as_me: failed program was:" >&5
40476 sed 's/^/| /' conftest.$ac_ext >&5
40478 glibcxx_cv_func_finitef_use=no
40480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40481 ac_ext=c
40482 ac_cpp='$CPP $CPPFLAGS'
40483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40491 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40492 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40494 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40496 for ac_func in finitef
40498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40499 echo "$as_me:$LINENO: checking for $ac_func" >&5
40500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40501 if eval "test \"\${$as_ac_var+set}\" = set"; then
40502 echo $ECHO_N "(cached) $ECHO_C" >&6
40503 else
40504 if test x$gcc_no_link = xyes; then
40505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40507 { (exit 1); exit 1; }; }
40509 cat >conftest.$ac_ext <<_ACEOF
40510 /* confdefs.h. */
40511 _ACEOF
40512 cat confdefs.h >>conftest.$ac_ext
40513 cat >>conftest.$ac_ext <<_ACEOF
40514 /* end confdefs.h. */
40515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40517 #define $ac_func innocuous_$ac_func
40519 /* System header to define __stub macros and hopefully few prototypes,
40520 which can conflict with char $ac_func (); below.
40521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40522 <limits.h> exists even on freestanding compilers. */
40524 #ifdef __STDC__
40525 # include <limits.h>
40526 #else
40527 # include <assert.h>
40528 #endif
40530 #undef $ac_func
40532 /* Override any gcc2 internal prototype to avoid an error. */
40533 #ifdef __cplusplus
40534 extern "C"
40536 #endif
40537 /* We use char because int might match the return type of a gcc2
40538 builtin and then its argument prototype would still apply. */
40539 char $ac_func ();
40540 /* The GNU C library defines this for functions which it implements
40541 to always fail with ENOSYS. Some functions are actually named
40542 something starting with __ and the normal name is an alias. */
40543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40544 choke me
40545 #else
40546 char (*f) () = $ac_func;
40547 #endif
40548 #ifdef __cplusplus
40550 #endif
40553 main ()
40555 return f != $ac_func;
40557 return 0;
40559 _ACEOF
40560 rm -f conftest.$ac_objext conftest$ac_exeext
40561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40562 (eval $ac_link) 2>conftest.er1
40563 ac_status=$?
40564 grep -v '^ *+' conftest.er1 >conftest.err
40565 rm -f conftest.er1
40566 cat conftest.err >&5
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); } &&
40569 { ac_try='test -z "$ac_c_werror_flag"
40570 || test ! -s conftest.err'
40571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40572 (eval $ac_try) 2>&5
40573 ac_status=$?
40574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40575 (exit $ac_status); }; } &&
40576 { ac_try='test -s conftest$ac_exeext'
40577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40578 (eval $ac_try) 2>&5
40579 ac_status=$?
40580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40581 (exit $ac_status); }; }; then
40582 eval "$as_ac_var=yes"
40583 else
40584 echo "$as_me: failed program was:" >&5
40585 sed 's/^/| /' conftest.$ac_ext >&5
40587 eval "$as_ac_var=no"
40589 rm -f conftest.err conftest.$ac_objext \
40590 conftest$ac_exeext conftest.$ac_ext
40592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40594 if test `eval echo '${'$as_ac_var'}'` = yes; then
40595 cat >>confdefs.h <<_ACEOF
40596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40597 _ACEOF
40600 done
40602 else
40604 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40605 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40606 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40607 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40608 echo $ECHO_N "(cached) $ECHO_C" >&6
40609 else
40613 ac_ext=cc
40614 ac_cpp='$CXXCPP $CPPFLAGS'
40615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40619 cat >conftest.$ac_ext <<_ACEOF
40620 /* confdefs.h. */
40621 _ACEOF
40622 cat confdefs.h >>conftest.$ac_ext
40623 cat >>conftest.$ac_ext <<_ACEOF
40624 /* end confdefs.h. */
40625 #include <math.h>
40626 #ifdef HAVE_IEEEFP_H
40627 #include <ieeefp.h>
40628 #endif
40631 main ()
40633 _finitef(0);
40635 return 0;
40637 _ACEOF
40638 rm -f conftest.$ac_objext
40639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40640 (eval $ac_compile) 2>conftest.er1
40641 ac_status=$?
40642 grep -v '^ *+' conftest.er1 >conftest.err
40643 rm -f conftest.er1
40644 cat conftest.err >&5
40645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40646 (exit $ac_status); } &&
40647 { ac_try='test -z "$ac_cxx_werror_flag"
40648 || test ! -s conftest.err'
40649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40650 (eval $ac_try) 2>&5
40651 ac_status=$?
40652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653 (exit $ac_status); }; } &&
40654 { ac_try='test -s conftest.$ac_objext'
40655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40656 (eval $ac_try) 2>&5
40657 ac_status=$?
40658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40659 (exit $ac_status); }; }; then
40660 glibcxx_cv_func__finitef_use=yes
40661 else
40662 echo "$as_me: failed program was:" >&5
40663 sed 's/^/| /' conftest.$ac_ext >&5
40665 glibcxx_cv_func__finitef_use=no
40667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40668 ac_ext=c
40669 ac_cpp='$CPP $CPPFLAGS'
40670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40678 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40679 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40681 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40683 for ac_func in _finitef
40685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40686 echo "$as_me:$LINENO: checking for $ac_func" >&5
40687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40688 if eval "test \"\${$as_ac_var+set}\" = set"; then
40689 echo $ECHO_N "(cached) $ECHO_C" >&6
40690 else
40691 if test x$gcc_no_link = xyes; then
40692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40694 { (exit 1); exit 1; }; }
40696 cat >conftest.$ac_ext <<_ACEOF
40697 /* confdefs.h. */
40698 _ACEOF
40699 cat confdefs.h >>conftest.$ac_ext
40700 cat >>conftest.$ac_ext <<_ACEOF
40701 /* end confdefs.h. */
40702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40704 #define $ac_func innocuous_$ac_func
40706 /* System header to define __stub macros and hopefully few prototypes,
40707 which can conflict with char $ac_func (); below.
40708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40709 <limits.h> exists even on freestanding compilers. */
40711 #ifdef __STDC__
40712 # include <limits.h>
40713 #else
40714 # include <assert.h>
40715 #endif
40717 #undef $ac_func
40719 /* Override any gcc2 internal prototype to avoid an error. */
40720 #ifdef __cplusplus
40721 extern "C"
40723 #endif
40724 /* We use char because int might match the return type of a gcc2
40725 builtin and then its argument prototype would still apply. */
40726 char $ac_func ();
40727 /* The GNU C library defines this for functions which it implements
40728 to always fail with ENOSYS. Some functions are actually named
40729 something starting with __ and the normal name is an alias. */
40730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40731 choke me
40732 #else
40733 char (*f) () = $ac_func;
40734 #endif
40735 #ifdef __cplusplus
40737 #endif
40740 main ()
40742 return f != $ac_func;
40744 return 0;
40746 _ACEOF
40747 rm -f conftest.$ac_objext conftest$ac_exeext
40748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40749 (eval $ac_link) 2>conftest.er1
40750 ac_status=$?
40751 grep -v '^ *+' conftest.er1 >conftest.err
40752 rm -f conftest.er1
40753 cat conftest.err >&5
40754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40755 (exit $ac_status); } &&
40756 { ac_try='test -z "$ac_c_werror_flag"
40757 || test ! -s conftest.err'
40758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40759 (eval $ac_try) 2>&5
40760 ac_status=$?
40761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40762 (exit $ac_status); }; } &&
40763 { ac_try='test -s conftest$ac_exeext'
40764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40765 (eval $ac_try) 2>&5
40766 ac_status=$?
40767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40768 (exit $ac_status); }; }; then
40769 eval "$as_ac_var=yes"
40770 else
40771 echo "$as_me: failed program was:" >&5
40772 sed 's/^/| /' conftest.$ac_ext >&5
40774 eval "$as_ac_var=no"
40776 rm -f conftest.err conftest.$ac_objext \
40777 conftest$ac_exeext conftest.$ac_ext
40779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40781 if test `eval echo '${'$as_ac_var'}'` = yes; then
40782 cat >>confdefs.h <<_ACEOF
40783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40784 _ACEOF
40787 done
40794 echo "$as_me:$LINENO: checking for long double trig functions" >&5
40795 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40796 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40797 echo $ECHO_N "(cached) $ECHO_C" >&6
40798 else
40802 ac_ext=cc
40803 ac_cpp='$CXXCPP $CPPFLAGS'
40804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40808 cat >conftest.$ac_ext <<_ACEOF
40809 /* confdefs.h. */
40810 _ACEOF
40811 cat confdefs.h >>conftest.$ac_ext
40812 cat >>conftest.$ac_ext <<_ACEOF
40813 /* end confdefs.h. */
40814 #include <math.h>
40816 main ()
40818 `for x in acosl asinl atanl \
40819 cosl sinl tanl \
40820 coshl sinhl tanhl; do echo "$x (0);"; done`
40822 return 0;
40824 _ACEOF
40825 rm -f conftest.$ac_objext
40826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40827 (eval $ac_compile) 2>conftest.er1
40828 ac_status=$?
40829 grep -v '^ *+' conftest.er1 >conftest.err
40830 rm -f conftest.er1
40831 cat conftest.err >&5
40832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40833 (exit $ac_status); } &&
40834 { ac_try='test -z "$ac_cxx_werror_flag"
40835 || test ! -s conftest.err'
40836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40837 (eval $ac_try) 2>&5
40838 ac_status=$?
40839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40840 (exit $ac_status); }; } &&
40841 { ac_try='test -s conftest.$ac_objext'
40842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40843 (eval $ac_try) 2>&5
40844 ac_status=$?
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); }; }; then
40847 glibcxx_cv_func_long_double_trig_use=yes
40848 else
40849 echo "$as_me: failed program was:" >&5
40850 sed 's/^/| /' conftest.$ac_ext >&5
40852 glibcxx_cv_func_long_double_trig_use=no
40854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40855 ac_ext=c
40856 ac_cpp='$CPP $CPPFLAGS'
40857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40863 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40864 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40865 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40875 for ac_func in acosl asinl atanl \
40876 cosl sinl tanl \
40877 coshl sinhl tanhl
40879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40880 echo "$as_me:$LINENO: checking for $ac_func" >&5
40881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40882 if eval "test \"\${$as_ac_var+set}\" = set"; then
40883 echo $ECHO_N "(cached) $ECHO_C" >&6
40884 else
40885 if test x$gcc_no_link = xyes; then
40886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40888 { (exit 1); exit 1; }; }
40890 cat >conftest.$ac_ext <<_ACEOF
40891 /* confdefs.h. */
40892 _ACEOF
40893 cat confdefs.h >>conftest.$ac_ext
40894 cat >>conftest.$ac_ext <<_ACEOF
40895 /* end confdefs.h. */
40896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40898 #define $ac_func innocuous_$ac_func
40900 /* System header to define __stub macros and hopefully few prototypes,
40901 which can conflict with char $ac_func (); below.
40902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40903 <limits.h> exists even on freestanding compilers. */
40905 #ifdef __STDC__
40906 # include <limits.h>
40907 #else
40908 # include <assert.h>
40909 #endif
40911 #undef $ac_func
40913 /* Override any gcc2 internal prototype to avoid an error. */
40914 #ifdef __cplusplus
40915 extern "C"
40917 #endif
40918 /* We use char because int might match the return type of a gcc2
40919 builtin and then its argument prototype would still apply. */
40920 char $ac_func ();
40921 /* The GNU C library defines this for functions which it implements
40922 to always fail with ENOSYS. Some functions are actually named
40923 something starting with __ and the normal name is an alias. */
40924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40925 choke me
40926 #else
40927 char (*f) () = $ac_func;
40928 #endif
40929 #ifdef __cplusplus
40931 #endif
40934 main ()
40936 return f != $ac_func;
40938 return 0;
40940 _ACEOF
40941 rm -f conftest.$ac_objext conftest$ac_exeext
40942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40943 (eval $ac_link) 2>conftest.er1
40944 ac_status=$?
40945 grep -v '^ *+' conftest.er1 >conftest.err
40946 rm -f conftest.er1
40947 cat conftest.err >&5
40948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40949 (exit $ac_status); } &&
40950 { ac_try='test -z "$ac_c_werror_flag"
40951 || test ! -s conftest.err'
40952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40953 (eval $ac_try) 2>&5
40954 ac_status=$?
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); }; } &&
40957 { ac_try='test -s conftest$ac_exeext'
40958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40959 (eval $ac_try) 2>&5
40960 ac_status=$?
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); }; }; then
40963 eval "$as_ac_var=yes"
40964 else
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.$ac_ext >&5
40968 eval "$as_ac_var=no"
40970 rm -f conftest.err conftest.$ac_objext \
40971 conftest$ac_exeext conftest.$ac_ext
40973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40975 if test `eval echo '${'$as_ac_var'}'` = yes; then
40976 cat >>confdefs.h <<_ACEOF
40977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40978 _ACEOF
40981 done
40986 echo "$as_me:$LINENO: checking for long double round functions" >&5
40987 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40988 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40989 echo $ECHO_N "(cached) $ECHO_C" >&6
40990 else
40994 ac_ext=cc
40995 ac_cpp='$CXXCPP $CPPFLAGS'
40996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41000 cat >conftest.$ac_ext <<_ACEOF
41001 /* confdefs.h. */
41002 _ACEOF
41003 cat confdefs.h >>conftest.$ac_ext
41004 cat >>conftest.$ac_ext <<_ACEOF
41005 /* end confdefs.h. */
41006 #include <math.h>
41008 main ()
41010 `for x in ceill floorl; do echo "$x (0);"; done`
41012 return 0;
41014 _ACEOF
41015 rm -f conftest.$ac_objext
41016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41017 (eval $ac_compile) 2>conftest.er1
41018 ac_status=$?
41019 grep -v '^ *+' conftest.er1 >conftest.err
41020 rm -f conftest.er1
41021 cat conftest.err >&5
41022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41023 (exit $ac_status); } &&
41024 { ac_try='test -z "$ac_cxx_werror_flag"
41025 || test ! -s conftest.err'
41026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41027 (eval $ac_try) 2>&5
41028 ac_status=$?
41029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41030 (exit $ac_status); }; } &&
41031 { ac_try='test -s conftest.$ac_objext'
41032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41033 (eval $ac_try) 2>&5
41034 ac_status=$?
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); }; }; then
41037 glibcxx_cv_func_long_double_round_use=yes
41038 else
41039 echo "$as_me: failed program was:" >&5
41040 sed 's/^/| /' conftest.$ac_ext >&5
41042 glibcxx_cv_func_long_double_round_use=no
41044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41045 ac_ext=c
41046 ac_cpp='$CPP $CPPFLAGS'
41047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41053 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41054 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41055 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41058 for ac_func in ceill floorl
41060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41061 echo "$as_me:$LINENO: checking for $ac_func" >&5
41062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41063 if eval "test \"\${$as_ac_var+set}\" = set"; then
41064 echo $ECHO_N "(cached) $ECHO_C" >&6
41065 else
41066 if test x$gcc_no_link = xyes; then
41067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41069 { (exit 1); exit 1; }; }
41071 cat >conftest.$ac_ext <<_ACEOF
41072 /* confdefs.h. */
41073 _ACEOF
41074 cat confdefs.h >>conftest.$ac_ext
41075 cat >>conftest.$ac_ext <<_ACEOF
41076 /* end confdefs.h. */
41077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41079 #define $ac_func innocuous_$ac_func
41081 /* System header to define __stub macros and hopefully few prototypes,
41082 which can conflict with char $ac_func (); below.
41083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41084 <limits.h> exists even on freestanding compilers. */
41086 #ifdef __STDC__
41087 # include <limits.h>
41088 #else
41089 # include <assert.h>
41090 #endif
41092 #undef $ac_func
41094 /* Override any gcc2 internal prototype to avoid an error. */
41095 #ifdef __cplusplus
41096 extern "C"
41098 #endif
41099 /* We use char because int might match the return type of a gcc2
41100 builtin and then its argument prototype would still apply. */
41101 char $ac_func ();
41102 /* The GNU C library defines this for functions which it implements
41103 to always fail with ENOSYS. Some functions are actually named
41104 something starting with __ and the normal name is an alias. */
41105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41106 choke me
41107 #else
41108 char (*f) () = $ac_func;
41109 #endif
41110 #ifdef __cplusplus
41112 #endif
41115 main ()
41117 return f != $ac_func;
41119 return 0;
41121 _ACEOF
41122 rm -f conftest.$ac_objext conftest$ac_exeext
41123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41124 (eval $ac_link) 2>conftest.er1
41125 ac_status=$?
41126 grep -v '^ *+' conftest.er1 >conftest.err
41127 rm -f conftest.er1
41128 cat conftest.err >&5
41129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41130 (exit $ac_status); } &&
41131 { ac_try='test -z "$ac_c_werror_flag"
41132 || test ! -s conftest.err'
41133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41134 (eval $ac_try) 2>&5
41135 ac_status=$?
41136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41137 (exit $ac_status); }; } &&
41138 { ac_try='test -s conftest$ac_exeext'
41139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41140 (eval $ac_try) 2>&5
41141 ac_status=$?
41142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143 (exit $ac_status); }; }; then
41144 eval "$as_ac_var=yes"
41145 else
41146 echo "$as_me: failed program was:" >&5
41147 sed 's/^/| /' conftest.$ac_ext >&5
41149 eval "$as_ac_var=no"
41151 rm -f conftest.err conftest.$ac_objext \
41152 conftest$ac_exeext conftest.$ac_ext
41154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41156 if test `eval echo '${'$as_ac_var'}'` = yes; then
41157 cat >>confdefs.h <<_ACEOF
41158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41159 _ACEOF
41162 done
41168 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41169 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41170 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41171 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41172 echo $ECHO_N "(cached) $ECHO_C" >&6
41173 else
41177 ac_ext=cc
41178 ac_cpp='$CXXCPP $CPPFLAGS'
41179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41183 cat >conftest.$ac_ext <<_ACEOF
41184 /* confdefs.h. */
41185 _ACEOF
41186 cat confdefs.h >>conftest.$ac_ext
41187 cat >>conftest.$ac_ext <<_ACEOF
41188 /* end confdefs.h. */
41189 #include <math.h>
41190 #ifdef HAVE_IEEEFP_H
41191 #include <ieeefp.h>
41192 #endif
41195 main ()
41197 isnanl(0);
41199 return 0;
41201 _ACEOF
41202 rm -f conftest.$ac_objext
41203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41204 (eval $ac_compile) 2>conftest.er1
41205 ac_status=$?
41206 grep -v '^ *+' conftest.er1 >conftest.err
41207 rm -f conftest.er1
41208 cat conftest.err >&5
41209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210 (exit $ac_status); } &&
41211 { ac_try='test -z "$ac_cxx_werror_flag"
41212 || test ! -s conftest.err'
41213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41214 (eval $ac_try) 2>&5
41215 ac_status=$?
41216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41217 (exit $ac_status); }; } &&
41218 { ac_try='test -s conftest.$ac_objext'
41219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41220 (eval $ac_try) 2>&5
41221 ac_status=$?
41222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41223 (exit $ac_status); }; }; then
41224 glibcxx_cv_func_isnanl_use=yes
41225 else
41226 echo "$as_me: failed program was:" >&5
41227 sed 's/^/| /' conftest.$ac_ext >&5
41229 glibcxx_cv_func_isnanl_use=no
41231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41232 ac_ext=c
41233 ac_cpp='$CPP $CPPFLAGS'
41234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41243 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41245 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41247 for ac_func in isnanl
41249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41250 echo "$as_me:$LINENO: checking for $ac_func" >&5
41251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41252 if eval "test \"\${$as_ac_var+set}\" = set"; then
41253 echo $ECHO_N "(cached) $ECHO_C" >&6
41254 else
41255 if test x$gcc_no_link = xyes; then
41256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41258 { (exit 1); exit 1; }; }
41260 cat >conftest.$ac_ext <<_ACEOF
41261 /* confdefs.h. */
41262 _ACEOF
41263 cat confdefs.h >>conftest.$ac_ext
41264 cat >>conftest.$ac_ext <<_ACEOF
41265 /* end confdefs.h. */
41266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41268 #define $ac_func innocuous_$ac_func
41270 /* System header to define __stub macros and hopefully few prototypes,
41271 which can conflict with char $ac_func (); below.
41272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41273 <limits.h> exists even on freestanding compilers. */
41275 #ifdef __STDC__
41276 # include <limits.h>
41277 #else
41278 # include <assert.h>
41279 #endif
41281 #undef $ac_func
41283 /* Override any gcc2 internal prototype to avoid an error. */
41284 #ifdef __cplusplus
41285 extern "C"
41287 #endif
41288 /* We use char because int might match the return type of a gcc2
41289 builtin and then its argument prototype would still apply. */
41290 char $ac_func ();
41291 /* The GNU C library defines this for functions which it implements
41292 to always fail with ENOSYS. Some functions are actually named
41293 something starting with __ and the normal name is an alias. */
41294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41295 choke me
41296 #else
41297 char (*f) () = $ac_func;
41298 #endif
41299 #ifdef __cplusplus
41301 #endif
41304 main ()
41306 return f != $ac_func;
41308 return 0;
41310 _ACEOF
41311 rm -f conftest.$ac_objext conftest$ac_exeext
41312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41313 (eval $ac_link) 2>conftest.er1
41314 ac_status=$?
41315 grep -v '^ *+' conftest.er1 >conftest.err
41316 rm -f conftest.er1
41317 cat conftest.err >&5
41318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41319 (exit $ac_status); } &&
41320 { ac_try='test -z "$ac_c_werror_flag"
41321 || test ! -s conftest.err'
41322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41323 (eval $ac_try) 2>&5
41324 ac_status=$?
41325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41326 (exit $ac_status); }; } &&
41327 { ac_try='test -s conftest$ac_exeext'
41328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41329 (eval $ac_try) 2>&5
41330 ac_status=$?
41331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41332 (exit $ac_status); }; }; then
41333 eval "$as_ac_var=yes"
41334 else
41335 echo "$as_me: failed program was:" >&5
41336 sed 's/^/| /' conftest.$ac_ext >&5
41338 eval "$as_ac_var=no"
41340 rm -f conftest.err conftest.$ac_objext \
41341 conftest$ac_exeext conftest.$ac_ext
41343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41345 if test `eval echo '${'$as_ac_var'}'` = yes; then
41346 cat >>confdefs.h <<_ACEOF
41347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41348 _ACEOF
41351 done
41353 else
41355 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41356 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41357 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41358 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41359 echo $ECHO_N "(cached) $ECHO_C" >&6
41360 else
41364 ac_ext=cc
41365 ac_cpp='$CXXCPP $CPPFLAGS'
41366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41370 cat >conftest.$ac_ext <<_ACEOF
41371 /* confdefs.h. */
41372 _ACEOF
41373 cat confdefs.h >>conftest.$ac_ext
41374 cat >>conftest.$ac_ext <<_ACEOF
41375 /* end confdefs.h. */
41376 #include <math.h>
41377 #ifdef HAVE_IEEEFP_H
41378 #include <ieeefp.h>
41379 #endif
41382 main ()
41384 _isnanl(0);
41386 return 0;
41388 _ACEOF
41389 rm -f conftest.$ac_objext
41390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41391 (eval $ac_compile) 2>conftest.er1
41392 ac_status=$?
41393 grep -v '^ *+' conftest.er1 >conftest.err
41394 rm -f conftest.er1
41395 cat conftest.err >&5
41396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41397 (exit $ac_status); } &&
41398 { ac_try='test -z "$ac_cxx_werror_flag"
41399 || test ! -s conftest.err'
41400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41401 (eval $ac_try) 2>&5
41402 ac_status=$?
41403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41404 (exit $ac_status); }; } &&
41405 { ac_try='test -s conftest.$ac_objext'
41406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41407 (eval $ac_try) 2>&5
41408 ac_status=$?
41409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41410 (exit $ac_status); }; }; then
41411 glibcxx_cv_func__isnanl_use=yes
41412 else
41413 echo "$as_me: failed program was:" >&5
41414 sed 's/^/| /' conftest.$ac_ext >&5
41416 glibcxx_cv_func__isnanl_use=no
41418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41419 ac_ext=c
41420 ac_cpp='$CPP $CPPFLAGS'
41421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41430 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41432 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41434 for ac_func in _isnanl
41436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41437 echo "$as_me:$LINENO: checking for $ac_func" >&5
41438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41439 if eval "test \"\${$as_ac_var+set}\" = set"; then
41440 echo $ECHO_N "(cached) $ECHO_C" >&6
41441 else
41442 if test x$gcc_no_link = xyes; then
41443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41445 { (exit 1); exit 1; }; }
41447 cat >conftest.$ac_ext <<_ACEOF
41448 /* confdefs.h. */
41449 _ACEOF
41450 cat confdefs.h >>conftest.$ac_ext
41451 cat >>conftest.$ac_ext <<_ACEOF
41452 /* end confdefs.h. */
41453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41455 #define $ac_func innocuous_$ac_func
41457 /* System header to define __stub macros and hopefully few prototypes,
41458 which can conflict with char $ac_func (); below.
41459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41460 <limits.h> exists even on freestanding compilers. */
41462 #ifdef __STDC__
41463 # include <limits.h>
41464 #else
41465 # include <assert.h>
41466 #endif
41468 #undef $ac_func
41470 /* Override any gcc2 internal prototype to avoid an error. */
41471 #ifdef __cplusplus
41472 extern "C"
41474 #endif
41475 /* We use char because int might match the return type of a gcc2
41476 builtin and then its argument prototype would still apply. */
41477 char $ac_func ();
41478 /* The GNU C library defines this for functions which it implements
41479 to always fail with ENOSYS. Some functions are actually named
41480 something starting with __ and the normal name is an alias. */
41481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41482 choke me
41483 #else
41484 char (*f) () = $ac_func;
41485 #endif
41486 #ifdef __cplusplus
41488 #endif
41491 main ()
41493 return f != $ac_func;
41495 return 0;
41497 _ACEOF
41498 rm -f conftest.$ac_objext conftest$ac_exeext
41499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41500 (eval $ac_link) 2>conftest.er1
41501 ac_status=$?
41502 grep -v '^ *+' conftest.er1 >conftest.err
41503 rm -f conftest.er1
41504 cat conftest.err >&5
41505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41506 (exit $ac_status); } &&
41507 { ac_try='test -z "$ac_c_werror_flag"
41508 || test ! -s conftest.err'
41509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41510 (eval $ac_try) 2>&5
41511 ac_status=$?
41512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41513 (exit $ac_status); }; } &&
41514 { ac_try='test -s conftest$ac_exeext'
41515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41516 (eval $ac_try) 2>&5
41517 ac_status=$?
41518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41519 (exit $ac_status); }; }; then
41520 eval "$as_ac_var=yes"
41521 else
41522 echo "$as_me: failed program was:" >&5
41523 sed 's/^/| /' conftest.$ac_ext >&5
41525 eval "$as_ac_var=no"
41527 rm -f conftest.err conftest.$ac_objext \
41528 conftest$ac_exeext conftest.$ac_ext
41530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41532 if test `eval echo '${'$as_ac_var'}'` = yes; then
41533 cat >>confdefs.h <<_ACEOF
41534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41535 _ACEOF
41538 done
41545 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41546 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41547 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41548 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41549 echo $ECHO_N "(cached) $ECHO_C" >&6
41550 else
41554 ac_ext=cc
41555 ac_cpp='$CXXCPP $CPPFLAGS'
41556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41560 cat >conftest.$ac_ext <<_ACEOF
41561 /* confdefs.h. */
41562 _ACEOF
41563 cat confdefs.h >>conftest.$ac_ext
41564 cat >>conftest.$ac_ext <<_ACEOF
41565 /* end confdefs.h. */
41566 #include <math.h>
41567 #ifdef HAVE_IEEEFP_H
41568 #include <ieeefp.h>
41569 #endif
41572 main ()
41574 isinfl(0);
41576 return 0;
41578 _ACEOF
41579 rm -f conftest.$ac_objext
41580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41581 (eval $ac_compile) 2>conftest.er1
41582 ac_status=$?
41583 grep -v '^ *+' conftest.er1 >conftest.err
41584 rm -f conftest.er1
41585 cat conftest.err >&5
41586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41587 (exit $ac_status); } &&
41588 { ac_try='test -z "$ac_cxx_werror_flag"
41589 || test ! -s conftest.err'
41590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41591 (eval $ac_try) 2>&5
41592 ac_status=$?
41593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41594 (exit $ac_status); }; } &&
41595 { ac_try='test -s conftest.$ac_objext'
41596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41597 (eval $ac_try) 2>&5
41598 ac_status=$?
41599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600 (exit $ac_status); }; }; then
41601 glibcxx_cv_func_isinfl_use=yes
41602 else
41603 echo "$as_me: failed program was:" >&5
41604 sed 's/^/| /' conftest.$ac_ext >&5
41606 glibcxx_cv_func_isinfl_use=no
41608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41609 ac_ext=c
41610 ac_cpp='$CPP $CPPFLAGS'
41611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41620 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41622 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41624 for ac_func in isinfl
41626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41627 echo "$as_me:$LINENO: checking for $ac_func" >&5
41628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41629 if eval "test \"\${$as_ac_var+set}\" = set"; then
41630 echo $ECHO_N "(cached) $ECHO_C" >&6
41631 else
41632 if test x$gcc_no_link = xyes; then
41633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41635 { (exit 1); exit 1; }; }
41637 cat >conftest.$ac_ext <<_ACEOF
41638 /* confdefs.h. */
41639 _ACEOF
41640 cat confdefs.h >>conftest.$ac_ext
41641 cat >>conftest.$ac_ext <<_ACEOF
41642 /* end confdefs.h. */
41643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41645 #define $ac_func innocuous_$ac_func
41647 /* System header to define __stub macros and hopefully few prototypes,
41648 which can conflict with char $ac_func (); below.
41649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41650 <limits.h> exists even on freestanding compilers. */
41652 #ifdef __STDC__
41653 # include <limits.h>
41654 #else
41655 # include <assert.h>
41656 #endif
41658 #undef $ac_func
41660 /* Override any gcc2 internal prototype to avoid an error. */
41661 #ifdef __cplusplus
41662 extern "C"
41664 #endif
41665 /* We use char because int might match the return type of a gcc2
41666 builtin and then its argument prototype would still apply. */
41667 char $ac_func ();
41668 /* The GNU C library defines this for functions which it implements
41669 to always fail with ENOSYS. Some functions are actually named
41670 something starting with __ and the normal name is an alias. */
41671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41672 choke me
41673 #else
41674 char (*f) () = $ac_func;
41675 #endif
41676 #ifdef __cplusplus
41678 #endif
41681 main ()
41683 return f != $ac_func;
41685 return 0;
41687 _ACEOF
41688 rm -f conftest.$ac_objext conftest$ac_exeext
41689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41690 (eval $ac_link) 2>conftest.er1
41691 ac_status=$?
41692 grep -v '^ *+' conftest.er1 >conftest.err
41693 rm -f conftest.er1
41694 cat conftest.err >&5
41695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41696 (exit $ac_status); } &&
41697 { ac_try='test -z "$ac_c_werror_flag"
41698 || test ! -s conftest.err'
41699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41700 (eval $ac_try) 2>&5
41701 ac_status=$?
41702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41703 (exit $ac_status); }; } &&
41704 { ac_try='test -s conftest$ac_exeext'
41705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41706 (eval $ac_try) 2>&5
41707 ac_status=$?
41708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41709 (exit $ac_status); }; }; then
41710 eval "$as_ac_var=yes"
41711 else
41712 echo "$as_me: failed program was:" >&5
41713 sed 's/^/| /' conftest.$ac_ext >&5
41715 eval "$as_ac_var=no"
41717 rm -f conftest.err conftest.$ac_objext \
41718 conftest$ac_exeext conftest.$ac_ext
41720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41722 if test `eval echo '${'$as_ac_var'}'` = yes; then
41723 cat >>confdefs.h <<_ACEOF
41724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41725 _ACEOF
41728 done
41730 else
41732 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41733 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41734 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41735 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41736 echo $ECHO_N "(cached) $ECHO_C" >&6
41737 else
41741 ac_ext=cc
41742 ac_cpp='$CXXCPP $CPPFLAGS'
41743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41747 cat >conftest.$ac_ext <<_ACEOF
41748 /* confdefs.h. */
41749 _ACEOF
41750 cat confdefs.h >>conftest.$ac_ext
41751 cat >>conftest.$ac_ext <<_ACEOF
41752 /* end confdefs.h. */
41753 #include <math.h>
41754 #ifdef HAVE_IEEEFP_H
41755 #include <ieeefp.h>
41756 #endif
41759 main ()
41761 _isinfl(0);
41763 return 0;
41765 _ACEOF
41766 rm -f conftest.$ac_objext
41767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41768 (eval $ac_compile) 2>conftest.er1
41769 ac_status=$?
41770 grep -v '^ *+' conftest.er1 >conftest.err
41771 rm -f conftest.er1
41772 cat conftest.err >&5
41773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41774 (exit $ac_status); } &&
41775 { ac_try='test -z "$ac_cxx_werror_flag"
41776 || test ! -s conftest.err'
41777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41778 (eval $ac_try) 2>&5
41779 ac_status=$?
41780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41781 (exit $ac_status); }; } &&
41782 { ac_try='test -s conftest.$ac_objext'
41783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41784 (eval $ac_try) 2>&5
41785 ac_status=$?
41786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41787 (exit $ac_status); }; }; then
41788 glibcxx_cv_func__isinfl_use=yes
41789 else
41790 echo "$as_me: failed program was:" >&5
41791 sed 's/^/| /' conftest.$ac_ext >&5
41793 glibcxx_cv_func__isinfl_use=no
41795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41796 ac_ext=c
41797 ac_cpp='$CPP $CPPFLAGS'
41798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41807 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41809 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41811 for ac_func in _isinfl
41813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41814 echo "$as_me:$LINENO: checking for $ac_func" >&5
41815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41816 if eval "test \"\${$as_ac_var+set}\" = set"; then
41817 echo $ECHO_N "(cached) $ECHO_C" >&6
41818 else
41819 if test x$gcc_no_link = xyes; then
41820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41822 { (exit 1); exit 1; }; }
41824 cat >conftest.$ac_ext <<_ACEOF
41825 /* confdefs.h. */
41826 _ACEOF
41827 cat confdefs.h >>conftest.$ac_ext
41828 cat >>conftest.$ac_ext <<_ACEOF
41829 /* end confdefs.h. */
41830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41832 #define $ac_func innocuous_$ac_func
41834 /* System header to define __stub macros and hopefully few prototypes,
41835 which can conflict with char $ac_func (); below.
41836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41837 <limits.h> exists even on freestanding compilers. */
41839 #ifdef __STDC__
41840 # include <limits.h>
41841 #else
41842 # include <assert.h>
41843 #endif
41845 #undef $ac_func
41847 /* Override any gcc2 internal prototype to avoid an error. */
41848 #ifdef __cplusplus
41849 extern "C"
41851 #endif
41852 /* We use char because int might match the return type of a gcc2
41853 builtin and then its argument prototype would still apply. */
41854 char $ac_func ();
41855 /* The GNU C library defines this for functions which it implements
41856 to always fail with ENOSYS. Some functions are actually named
41857 something starting with __ and the normal name is an alias. */
41858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41859 choke me
41860 #else
41861 char (*f) () = $ac_func;
41862 #endif
41863 #ifdef __cplusplus
41865 #endif
41868 main ()
41870 return f != $ac_func;
41872 return 0;
41874 _ACEOF
41875 rm -f conftest.$ac_objext conftest$ac_exeext
41876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41877 (eval $ac_link) 2>conftest.er1
41878 ac_status=$?
41879 grep -v '^ *+' conftest.er1 >conftest.err
41880 rm -f conftest.er1
41881 cat conftest.err >&5
41882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41883 (exit $ac_status); } &&
41884 { ac_try='test -z "$ac_c_werror_flag"
41885 || test ! -s conftest.err'
41886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41887 (eval $ac_try) 2>&5
41888 ac_status=$?
41889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41890 (exit $ac_status); }; } &&
41891 { ac_try='test -s conftest$ac_exeext'
41892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41893 (eval $ac_try) 2>&5
41894 ac_status=$?
41895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41896 (exit $ac_status); }; }; then
41897 eval "$as_ac_var=yes"
41898 else
41899 echo "$as_me: failed program was:" >&5
41900 sed 's/^/| /' conftest.$ac_ext >&5
41902 eval "$as_ac_var=no"
41904 rm -f conftest.err conftest.$ac_objext \
41905 conftest$ac_exeext conftest.$ac_ext
41907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41909 if test `eval echo '${'$as_ac_var'}'` = yes; then
41910 cat >>confdefs.h <<_ACEOF
41911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41912 _ACEOF
41915 done
41922 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41923 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41924 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41925 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41926 echo $ECHO_N "(cached) $ECHO_C" >&6
41927 else
41931 ac_ext=cc
41932 ac_cpp='$CXXCPP $CPPFLAGS'
41933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41937 cat >conftest.$ac_ext <<_ACEOF
41938 /* confdefs.h. */
41939 _ACEOF
41940 cat confdefs.h >>conftest.$ac_ext
41941 cat >>conftest.$ac_ext <<_ACEOF
41942 /* end confdefs.h. */
41943 #include <math.h>
41945 main ()
41947 copysignl(0, 0);
41949 return 0;
41951 _ACEOF
41952 rm -f conftest.$ac_objext
41953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41954 (eval $ac_compile) 2>conftest.er1
41955 ac_status=$?
41956 grep -v '^ *+' conftest.er1 >conftest.err
41957 rm -f conftest.er1
41958 cat conftest.err >&5
41959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41960 (exit $ac_status); } &&
41961 { ac_try='test -z "$ac_cxx_werror_flag"
41962 || test ! -s conftest.err'
41963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41964 (eval $ac_try) 2>&5
41965 ac_status=$?
41966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41967 (exit $ac_status); }; } &&
41968 { ac_try='test -s conftest.$ac_objext'
41969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41970 (eval $ac_try) 2>&5
41971 ac_status=$?
41972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41973 (exit $ac_status); }; }; then
41974 glibcxx_cv_func_copysignl_use=yes
41975 else
41976 echo "$as_me: failed program was:" >&5
41977 sed 's/^/| /' conftest.$ac_ext >&5
41979 glibcxx_cv_func_copysignl_use=no
41981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41982 ac_ext=c
41983 ac_cpp='$CPP $CPPFLAGS'
41984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41992 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41993 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41995 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
41997 for ac_func in copysignl
41999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42000 echo "$as_me:$LINENO: checking for $ac_func" >&5
42001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42002 if eval "test \"\${$as_ac_var+set}\" = set"; then
42003 echo $ECHO_N "(cached) $ECHO_C" >&6
42004 else
42005 if test x$gcc_no_link = xyes; then
42006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42008 { (exit 1); exit 1; }; }
42010 cat >conftest.$ac_ext <<_ACEOF
42011 /* confdefs.h. */
42012 _ACEOF
42013 cat confdefs.h >>conftest.$ac_ext
42014 cat >>conftest.$ac_ext <<_ACEOF
42015 /* end confdefs.h. */
42016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42018 #define $ac_func innocuous_$ac_func
42020 /* System header to define __stub macros and hopefully few prototypes,
42021 which can conflict with char $ac_func (); below.
42022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42023 <limits.h> exists even on freestanding compilers. */
42025 #ifdef __STDC__
42026 # include <limits.h>
42027 #else
42028 # include <assert.h>
42029 #endif
42031 #undef $ac_func
42033 /* Override any gcc2 internal prototype to avoid an error. */
42034 #ifdef __cplusplus
42035 extern "C"
42037 #endif
42038 /* We use char because int might match the return type of a gcc2
42039 builtin and then its argument prototype would still apply. */
42040 char $ac_func ();
42041 /* The GNU C library defines this for functions which it implements
42042 to always fail with ENOSYS. Some functions are actually named
42043 something starting with __ and the normal name is an alias. */
42044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42045 choke me
42046 #else
42047 char (*f) () = $ac_func;
42048 #endif
42049 #ifdef __cplusplus
42051 #endif
42054 main ()
42056 return f != $ac_func;
42058 return 0;
42060 _ACEOF
42061 rm -f conftest.$ac_objext conftest$ac_exeext
42062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42063 (eval $ac_link) 2>conftest.er1
42064 ac_status=$?
42065 grep -v '^ *+' conftest.er1 >conftest.err
42066 rm -f conftest.er1
42067 cat conftest.err >&5
42068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42069 (exit $ac_status); } &&
42070 { ac_try='test -z "$ac_c_werror_flag"
42071 || test ! -s conftest.err'
42072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42073 (eval $ac_try) 2>&5
42074 ac_status=$?
42075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42076 (exit $ac_status); }; } &&
42077 { ac_try='test -s conftest$ac_exeext'
42078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42079 (eval $ac_try) 2>&5
42080 ac_status=$?
42081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42082 (exit $ac_status); }; }; then
42083 eval "$as_ac_var=yes"
42084 else
42085 echo "$as_me: failed program was:" >&5
42086 sed 's/^/| /' conftest.$ac_ext >&5
42088 eval "$as_ac_var=no"
42090 rm -f conftest.err conftest.$ac_objext \
42091 conftest$ac_exeext conftest.$ac_ext
42093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42095 if test `eval echo '${'$as_ac_var'}'` = yes; then
42096 cat >>confdefs.h <<_ACEOF
42097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42098 _ACEOF
42101 done
42103 else
42105 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42106 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42107 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42108 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42109 echo $ECHO_N "(cached) $ECHO_C" >&6
42110 else
42114 ac_ext=cc
42115 ac_cpp='$CXXCPP $CPPFLAGS'
42116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42120 cat >conftest.$ac_ext <<_ACEOF
42121 /* confdefs.h. */
42122 _ACEOF
42123 cat confdefs.h >>conftest.$ac_ext
42124 cat >>conftest.$ac_ext <<_ACEOF
42125 /* end confdefs.h. */
42126 #include <math.h>
42128 main ()
42130 _copysignl(0, 0);
42132 return 0;
42134 _ACEOF
42135 rm -f conftest.$ac_objext
42136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42137 (eval $ac_compile) 2>conftest.er1
42138 ac_status=$?
42139 grep -v '^ *+' conftest.er1 >conftest.err
42140 rm -f conftest.er1
42141 cat conftest.err >&5
42142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42143 (exit $ac_status); } &&
42144 { ac_try='test -z "$ac_cxx_werror_flag"
42145 || test ! -s conftest.err'
42146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42147 (eval $ac_try) 2>&5
42148 ac_status=$?
42149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150 (exit $ac_status); }; } &&
42151 { ac_try='test -s conftest.$ac_objext'
42152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42153 (eval $ac_try) 2>&5
42154 ac_status=$?
42155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42156 (exit $ac_status); }; }; then
42157 glibcxx_cv_func__copysignl_use=yes
42158 else
42159 echo "$as_me: failed program was:" >&5
42160 sed 's/^/| /' conftest.$ac_ext >&5
42162 glibcxx_cv_func__copysignl_use=no
42164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42165 ac_ext=c
42166 ac_cpp='$CPP $CPPFLAGS'
42167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42175 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42176 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42178 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42180 for ac_func in _copysignl
42182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42183 echo "$as_me:$LINENO: checking for $ac_func" >&5
42184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42185 if eval "test \"\${$as_ac_var+set}\" = set"; then
42186 echo $ECHO_N "(cached) $ECHO_C" >&6
42187 else
42188 if test x$gcc_no_link = xyes; then
42189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42191 { (exit 1); exit 1; }; }
42193 cat >conftest.$ac_ext <<_ACEOF
42194 /* confdefs.h. */
42195 _ACEOF
42196 cat confdefs.h >>conftest.$ac_ext
42197 cat >>conftest.$ac_ext <<_ACEOF
42198 /* end confdefs.h. */
42199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42201 #define $ac_func innocuous_$ac_func
42203 /* System header to define __stub macros and hopefully few prototypes,
42204 which can conflict with char $ac_func (); below.
42205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42206 <limits.h> exists even on freestanding compilers. */
42208 #ifdef __STDC__
42209 # include <limits.h>
42210 #else
42211 # include <assert.h>
42212 #endif
42214 #undef $ac_func
42216 /* Override any gcc2 internal prototype to avoid an error. */
42217 #ifdef __cplusplus
42218 extern "C"
42220 #endif
42221 /* We use char because int might match the return type of a gcc2
42222 builtin and then its argument prototype would still apply. */
42223 char $ac_func ();
42224 /* The GNU C library defines this for functions which it implements
42225 to always fail with ENOSYS. Some functions are actually named
42226 something starting with __ and the normal name is an alias. */
42227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42228 choke me
42229 #else
42230 char (*f) () = $ac_func;
42231 #endif
42232 #ifdef __cplusplus
42234 #endif
42237 main ()
42239 return f != $ac_func;
42241 return 0;
42243 _ACEOF
42244 rm -f conftest.$ac_objext conftest$ac_exeext
42245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42246 (eval $ac_link) 2>conftest.er1
42247 ac_status=$?
42248 grep -v '^ *+' conftest.er1 >conftest.err
42249 rm -f conftest.er1
42250 cat conftest.err >&5
42251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42252 (exit $ac_status); } &&
42253 { ac_try='test -z "$ac_c_werror_flag"
42254 || test ! -s conftest.err'
42255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42256 (eval $ac_try) 2>&5
42257 ac_status=$?
42258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42259 (exit $ac_status); }; } &&
42260 { ac_try='test -s conftest$ac_exeext'
42261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42262 (eval $ac_try) 2>&5
42263 ac_status=$?
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); }; }; then
42266 eval "$as_ac_var=yes"
42267 else
42268 echo "$as_me: failed program was:" >&5
42269 sed 's/^/| /' conftest.$ac_ext >&5
42271 eval "$as_ac_var=no"
42273 rm -f conftest.err conftest.$ac_objext \
42274 conftest$ac_exeext conftest.$ac_ext
42276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42278 if test `eval echo '${'$as_ac_var'}'` = yes; then
42279 cat >>confdefs.h <<_ACEOF
42280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42281 _ACEOF
42284 done
42291 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42292 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42293 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42294 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42295 echo $ECHO_N "(cached) $ECHO_C" >&6
42296 else
42300 ac_ext=cc
42301 ac_cpp='$CXXCPP $CPPFLAGS'
42302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42306 cat >conftest.$ac_ext <<_ACEOF
42307 /* confdefs.h. */
42308 _ACEOF
42309 cat confdefs.h >>conftest.$ac_ext
42310 cat >>conftest.$ac_ext <<_ACEOF
42311 /* end confdefs.h. */
42312 #include <math.h>
42314 main ()
42316 atan2l(0, 0);
42318 return 0;
42320 _ACEOF
42321 rm -f conftest.$ac_objext
42322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42323 (eval $ac_compile) 2>conftest.er1
42324 ac_status=$?
42325 grep -v '^ *+' conftest.er1 >conftest.err
42326 rm -f conftest.er1
42327 cat conftest.err >&5
42328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42329 (exit $ac_status); } &&
42330 { ac_try='test -z "$ac_cxx_werror_flag"
42331 || test ! -s conftest.err'
42332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42333 (eval $ac_try) 2>&5
42334 ac_status=$?
42335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42336 (exit $ac_status); }; } &&
42337 { ac_try='test -s conftest.$ac_objext'
42338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42339 (eval $ac_try) 2>&5
42340 ac_status=$?
42341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42342 (exit $ac_status); }; }; then
42343 glibcxx_cv_func_atan2l_use=yes
42344 else
42345 echo "$as_me: failed program was:" >&5
42346 sed 's/^/| /' conftest.$ac_ext >&5
42348 glibcxx_cv_func_atan2l_use=no
42350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42351 ac_ext=c
42352 ac_cpp='$CPP $CPPFLAGS'
42353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42362 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42364 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42366 for ac_func in atan2l
42368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42369 echo "$as_me:$LINENO: checking for $ac_func" >&5
42370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42371 if eval "test \"\${$as_ac_var+set}\" = set"; then
42372 echo $ECHO_N "(cached) $ECHO_C" >&6
42373 else
42374 if test x$gcc_no_link = xyes; then
42375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42377 { (exit 1); exit 1; }; }
42379 cat >conftest.$ac_ext <<_ACEOF
42380 /* confdefs.h. */
42381 _ACEOF
42382 cat confdefs.h >>conftest.$ac_ext
42383 cat >>conftest.$ac_ext <<_ACEOF
42384 /* end confdefs.h. */
42385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42387 #define $ac_func innocuous_$ac_func
42389 /* System header to define __stub macros and hopefully few prototypes,
42390 which can conflict with char $ac_func (); below.
42391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42392 <limits.h> exists even on freestanding compilers. */
42394 #ifdef __STDC__
42395 # include <limits.h>
42396 #else
42397 # include <assert.h>
42398 #endif
42400 #undef $ac_func
42402 /* Override any gcc2 internal prototype to avoid an error. */
42403 #ifdef __cplusplus
42404 extern "C"
42406 #endif
42407 /* We use char because int might match the return type of a gcc2
42408 builtin and then its argument prototype would still apply. */
42409 char $ac_func ();
42410 /* The GNU C library defines this for functions which it implements
42411 to always fail with ENOSYS. Some functions are actually named
42412 something starting with __ and the normal name is an alias. */
42413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42414 choke me
42415 #else
42416 char (*f) () = $ac_func;
42417 #endif
42418 #ifdef __cplusplus
42420 #endif
42423 main ()
42425 return f != $ac_func;
42427 return 0;
42429 _ACEOF
42430 rm -f conftest.$ac_objext conftest$ac_exeext
42431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42432 (eval $ac_link) 2>conftest.er1
42433 ac_status=$?
42434 grep -v '^ *+' conftest.er1 >conftest.err
42435 rm -f conftest.er1
42436 cat conftest.err >&5
42437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42438 (exit $ac_status); } &&
42439 { ac_try='test -z "$ac_c_werror_flag"
42440 || test ! -s conftest.err'
42441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42442 (eval $ac_try) 2>&5
42443 ac_status=$?
42444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42445 (exit $ac_status); }; } &&
42446 { ac_try='test -s conftest$ac_exeext'
42447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42448 (eval $ac_try) 2>&5
42449 ac_status=$?
42450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42451 (exit $ac_status); }; }; then
42452 eval "$as_ac_var=yes"
42453 else
42454 echo "$as_me: failed program was:" >&5
42455 sed 's/^/| /' conftest.$ac_ext >&5
42457 eval "$as_ac_var=no"
42459 rm -f conftest.err conftest.$ac_objext \
42460 conftest$ac_exeext conftest.$ac_ext
42462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42464 if test `eval echo '${'$as_ac_var'}'` = yes; then
42465 cat >>confdefs.h <<_ACEOF
42466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42467 _ACEOF
42470 done
42472 else
42474 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42475 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42476 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42477 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42478 echo $ECHO_N "(cached) $ECHO_C" >&6
42479 else
42483 ac_ext=cc
42484 ac_cpp='$CXXCPP $CPPFLAGS'
42485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42489 cat >conftest.$ac_ext <<_ACEOF
42490 /* confdefs.h. */
42491 _ACEOF
42492 cat confdefs.h >>conftest.$ac_ext
42493 cat >>conftest.$ac_ext <<_ACEOF
42494 /* end confdefs.h. */
42495 #include <math.h>
42497 main ()
42499 _atan2l(0, 0);
42501 return 0;
42503 _ACEOF
42504 rm -f conftest.$ac_objext
42505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42506 (eval $ac_compile) 2>conftest.er1
42507 ac_status=$?
42508 grep -v '^ *+' conftest.er1 >conftest.err
42509 rm -f conftest.er1
42510 cat conftest.err >&5
42511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42512 (exit $ac_status); } &&
42513 { ac_try='test -z "$ac_cxx_werror_flag"
42514 || test ! -s conftest.err'
42515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42516 (eval $ac_try) 2>&5
42517 ac_status=$?
42518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42519 (exit $ac_status); }; } &&
42520 { ac_try='test -s conftest.$ac_objext'
42521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42522 (eval $ac_try) 2>&5
42523 ac_status=$?
42524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42525 (exit $ac_status); }; }; then
42526 glibcxx_cv_func__atan2l_use=yes
42527 else
42528 echo "$as_me: failed program was:" >&5
42529 sed 's/^/| /' conftest.$ac_ext >&5
42531 glibcxx_cv_func__atan2l_use=no
42533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42534 ac_ext=c
42535 ac_cpp='$CPP $CPPFLAGS'
42536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42545 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42547 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42549 for ac_func in _atan2l
42551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42552 echo "$as_me:$LINENO: checking for $ac_func" >&5
42553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42554 if eval "test \"\${$as_ac_var+set}\" = set"; then
42555 echo $ECHO_N "(cached) $ECHO_C" >&6
42556 else
42557 if test x$gcc_no_link = xyes; then
42558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42560 { (exit 1); exit 1; }; }
42562 cat >conftest.$ac_ext <<_ACEOF
42563 /* confdefs.h. */
42564 _ACEOF
42565 cat confdefs.h >>conftest.$ac_ext
42566 cat >>conftest.$ac_ext <<_ACEOF
42567 /* end confdefs.h. */
42568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42570 #define $ac_func innocuous_$ac_func
42572 /* System header to define __stub macros and hopefully few prototypes,
42573 which can conflict with char $ac_func (); below.
42574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42575 <limits.h> exists even on freestanding compilers. */
42577 #ifdef __STDC__
42578 # include <limits.h>
42579 #else
42580 # include <assert.h>
42581 #endif
42583 #undef $ac_func
42585 /* Override any gcc2 internal prototype to avoid an error. */
42586 #ifdef __cplusplus
42587 extern "C"
42589 #endif
42590 /* We use char because int might match the return type of a gcc2
42591 builtin and then its argument prototype would still apply. */
42592 char $ac_func ();
42593 /* The GNU C library defines this for functions which it implements
42594 to always fail with ENOSYS. Some functions are actually named
42595 something starting with __ and the normal name is an alias. */
42596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42597 choke me
42598 #else
42599 char (*f) () = $ac_func;
42600 #endif
42601 #ifdef __cplusplus
42603 #endif
42606 main ()
42608 return f != $ac_func;
42610 return 0;
42612 _ACEOF
42613 rm -f conftest.$ac_objext conftest$ac_exeext
42614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42615 (eval $ac_link) 2>conftest.er1
42616 ac_status=$?
42617 grep -v '^ *+' conftest.er1 >conftest.err
42618 rm -f conftest.er1
42619 cat conftest.err >&5
42620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42621 (exit $ac_status); } &&
42622 { ac_try='test -z "$ac_c_werror_flag"
42623 || test ! -s conftest.err'
42624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42625 (eval $ac_try) 2>&5
42626 ac_status=$?
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); }; } &&
42629 { ac_try='test -s conftest$ac_exeext'
42630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42631 (eval $ac_try) 2>&5
42632 ac_status=$?
42633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42634 (exit $ac_status); }; }; then
42635 eval "$as_ac_var=yes"
42636 else
42637 echo "$as_me: failed program was:" >&5
42638 sed 's/^/| /' conftest.$ac_ext >&5
42640 eval "$as_ac_var=no"
42642 rm -f conftest.err conftest.$ac_objext \
42643 conftest$ac_exeext conftest.$ac_ext
42645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42647 if test `eval echo '${'$as_ac_var'}'` = yes; then
42648 cat >>confdefs.h <<_ACEOF
42649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42650 _ACEOF
42653 done
42660 echo "$as_me:$LINENO: checking for expl declaration" >&5
42661 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42662 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42663 if test "${glibcxx_cv_func_expl_use+set}" = set; then
42664 echo $ECHO_N "(cached) $ECHO_C" >&6
42665 else
42669 ac_ext=cc
42670 ac_cpp='$CXXCPP $CPPFLAGS'
42671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42675 cat >conftest.$ac_ext <<_ACEOF
42676 /* confdefs.h. */
42677 _ACEOF
42678 cat confdefs.h >>conftest.$ac_ext
42679 cat >>conftest.$ac_ext <<_ACEOF
42680 /* end confdefs.h. */
42681 #include <math.h>
42682 #ifdef HAVE_IEEEFP_H
42683 #include <ieeefp.h>
42684 #endif
42687 main ()
42689 expl(0);
42691 return 0;
42693 _ACEOF
42694 rm -f conftest.$ac_objext
42695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42696 (eval $ac_compile) 2>conftest.er1
42697 ac_status=$?
42698 grep -v '^ *+' conftest.er1 >conftest.err
42699 rm -f conftest.er1
42700 cat conftest.err >&5
42701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42702 (exit $ac_status); } &&
42703 { ac_try='test -z "$ac_cxx_werror_flag"
42704 || test ! -s conftest.err'
42705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42706 (eval $ac_try) 2>&5
42707 ac_status=$?
42708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42709 (exit $ac_status); }; } &&
42710 { ac_try='test -s conftest.$ac_objext'
42711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42712 (eval $ac_try) 2>&5
42713 ac_status=$?
42714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42715 (exit $ac_status); }; }; then
42716 glibcxx_cv_func_expl_use=yes
42717 else
42718 echo "$as_me: failed program was:" >&5
42719 sed 's/^/| /' conftest.$ac_ext >&5
42721 glibcxx_cv_func_expl_use=no
42723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42724 ac_ext=c
42725 ac_cpp='$CPP $CPPFLAGS'
42726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42734 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42735 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42737 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42739 for ac_func in expl
42741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42742 echo "$as_me:$LINENO: checking for $ac_func" >&5
42743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42744 if eval "test \"\${$as_ac_var+set}\" = set"; then
42745 echo $ECHO_N "(cached) $ECHO_C" >&6
42746 else
42747 if test x$gcc_no_link = xyes; then
42748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42750 { (exit 1); exit 1; }; }
42752 cat >conftest.$ac_ext <<_ACEOF
42753 /* confdefs.h. */
42754 _ACEOF
42755 cat confdefs.h >>conftest.$ac_ext
42756 cat >>conftest.$ac_ext <<_ACEOF
42757 /* end confdefs.h. */
42758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42760 #define $ac_func innocuous_$ac_func
42762 /* System header to define __stub macros and hopefully few prototypes,
42763 which can conflict with char $ac_func (); below.
42764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42765 <limits.h> exists even on freestanding compilers. */
42767 #ifdef __STDC__
42768 # include <limits.h>
42769 #else
42770 # include <assert.h>
42771 #endif
42773 #undef $ac_func
42775 /* Override any gcc2 internal prototype to avoid an error. */
42776 #ifdef __cplusplus
42777 extern "C"
42779 #endif
42780 /* We use char because int might match the return type of a gcc2
42781 builtin and then its argument prototype would still apply. */
42782 char $ac_func ();
42783 /* The GNU C library defines this for functions which it implements
42784 to always fail with ENOSYS. Some functions are actually named
42785 something starting with __ and the normal name is an alias. */
42786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42787 choke me
42788 #else
42789 char (*f) () = $ac_func;
42790 #endif
42791 #ifdef __cplusplus
42793 #endif
42796 main ()
42798 return f != $ac_func;
42800 return 0;
42802 _ACEOF
42803 rm -f conftest.$ac_objext conftest$ac_exeext
42804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42805 (eval $ac_link) 2>conftest.er1
42806 ac_status=$?
42807 grep -v '^ *+' conftest.er1 >conftest.err
42808 rm -f conftest.er1
42809 cat conftest.err >&5
42810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42811 (exit $ac_status); } &&
42812 { ac_try='test -z "$ac_c_werror_flag"
42813 || test ! -s conftest.err'
42814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42815 (eval $ac_try) 2>&5
42816 ac_status=$?
42817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42818 (exit $ac_status); }; } &&
42819 { ac_try='test -s conftest$ac_exeext'
42820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42821 (eval $ac_try) 2>&5
42822 ac_status=$?
42823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42824 (exit $ac_status); }; }; then
42825 eval "$as_ac_var=yes"
42826 else
42827 echo "$as_me: failed program was:" >&5
42828 sed 's/^/| /' conftest.$ac_ext >&5
42830 eval "$as_ac_var=no"
42832 rm -f conftest.err conftest.$ac_objext \
42833 conftest$ac_exeext conftest.$ac_ext
42835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42837 if test `eval echo '${'$as_ac_var'}'` = yes; then
42838 cat >>confdefs.h <<_ACEOF
42839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42840 _ACEOF
42843 done
42845 else
42847 echo "$as_me:$LINENO: checking for _expl declaration" >&5
42848 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42849 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42850 if test "${glibcxx_cv_func__expl_use+set}" = set; then
42851 echo $ECHO_N "(cached) $ECHO_C" >&6
42852 else
42856 ac_ext=cc
42857 ac_cpp='$CXXCPP $CPPFLAGS'
42858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42862 cat >conftest.$ac_ext <<_ACEOF
42863 /* confdefs.h. */
42864 _ACEOF
42865 cat confdefs.h >>conftest.$ac_ext
42866 cat >>conftest.$ac_ext <<_ACEOF
42867 /* end confdefs.h. */
42868 #include <math.h>
42869 #ifdef HAVE_IEEEFP_H
42870 #include <ieeefp.h>
42871 #endif
42874 main ()
42876 _expl(0);
42878 return 0;
42880 _ACEOF
42881 rm -f conftest.$ac_objext
42882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42883 (eval $ac_compile) 2>conftest.er1
42884 ac_status=$?
42885 grep -v '^ *+' conftest.er1 >conftest.err
42886 rm -f conftest.er1
42887 cat conftest.err >&5
42888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42889 (exit $ac_status); } &&
42890 { ac_try='test -z "$ac_cxx_werror_flag"
42891 || test ! -s conftest.err'
42892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42893 (eval $ac_try) 2>&5
42894 ac_status=$?
42895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42896 (exit $ac_status); }; } &&
42897 { ac_try='test -s conftest.$ac_objext'
42898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42899 (eval $ac_try) 2>&5
42900 ac_status=$?
42901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42902 (exit $ac_status); }; }; then
42903 glibcxx_cv_func__expl_use=yes
42904 else
42905 echo "$as_me: failed program was:" >&5
42906 sed 's/^/| /' conftest.$ac_ext >&5
42908 glibcxx_cv_func__expl_use=no
42910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42911 ac_ext=c
42912 ac_cpp='$CPP $CPPFLAGS'
42913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42921 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42922 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42924 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42926 for ac_func in _expl
42928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42929 echo "$as_me:$LINENO: checking for $ac_func" >&5
42930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42931 if eval "test \"\${$as_ac_var+set}\" = set"; then
42932 echo $ECHO_N "(cached) $ECHO_C" >&6
42933 else
42934 if test x$gcc_no_link = xyes; then
42935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42937 { (exit 1); exit 1; }; }
42939 cat >conftest.$ac_ext <<_ACEOF
42940 /* confdefs.h. */
42941 _ACEOF
42942 cat confdefs.h >>conftest.$ac_ext
42943 cat >>conftest.$ac_ext <<_ACEOF
42944 /* end confdefs.h. */
42945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42947 #define $ac_func innocuous_$ac_func
42949 /* System header to define __stub macros and hopefully few prototypes,
42950 which can conflict with char $ac_func (); below.
42951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42952 <limits.h> exists even on freestanding compilers. */
42954 #ifdef __STDC__
42955 # include <limits.h>
42956 #else
42957 # include <assert.h>
42958 #endif
42960 #undef $ac_func
42962 /* Override any gcc2 internal prototype to avoid an error. */
42963 #ifdef __cplusplus
42964 extern "C"
42966 #endif
42967 /* We use char because int might match the return type of a gcc2
42968 builtin and then its argument prototype would still apply. */
42969 char $ac_func ();
42970 /* The GNU C library defines this for functions which it implements
42971 to always fail with ENOSYS. Some functions are actually named
42972 something starting with __ and the normal name is an alias. */
42973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42974 choke me
42975 #else
42976 char (*f) () = $ac_func;
42977 #endif
42978 #ifdef __cplusplus
42980 #endif
42983 main ()
42985 return f != $ac_func;
42987 return 0;
42989 _ACEOF
42990 rm -f conftest.$ac_objext conftest$ac_exeext
42991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42992 (eval $ac_link) 2>conftest.er1
42993 ac_status=$?
42994 grep -v '^ *+' conftest.er1 >conftest.err
42995 rm -f conftest.er1
42996 cat conftest.err >&5
42997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42998 (exit $ac_status); } &&
42999 { ac_try='test -z "$ac_c_werror_flag"
43000 || test ! -s conftest.err'
43001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43002 (eval $ac_try) 2>&5
43003 ac_status=$?
43004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43005 (exit $ac_status); }; } &&
43006 { ac_try='test -s conftest$ac_exeext'
43007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43008 (eval $ac_try) 2>&5
43009 ac_status=$?
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); }; }; then
43012 eval "$as_ac_var=yes"
43013 else
43014 echo "$as_me: failed program was:" >&5
43015 sed 's/^/| /' conftest.$ac_ext >&5
43017 eval "$as_ac_var=no"
43019 rm -f conftest.err conftest.$ac_objext \
43020 conftest$ac_exeext conftest.$ac_ext
43022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43024 if test `eval echo '${'$as_ac_var'}'` = yes; then
43025 cat >>confdefs.h <<_ACEOF
43026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43027 _ACEOF
43030 done
43037 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43038 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43039 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43040 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43041 echo $ECHO_N "(cached) $ECHO_C" >&6
43042 else
43046 ac_ext=cc
43047 ac_cpp='$CXXCPP $CPPFLAGS'
43048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43052 cat >conftest.$ac_ext <<_ACEOF
43053 /* confdefs.h. */
43054 _ACEOF
43055 cat confdefs.h >>conftest.$ac_ext
43056 cat >>conftest.$ac_ext <<_ACEOF
43057 /* end confdefs.h. */
43058 #include <math.h>
43059 #ifdef HAVE_IEEEFP_H
43060 #include <ieeefp.h>
43061 #endif
43064 main ()
43066 fabsl(0);
43068 return 0;
43070 _ACEOF
43071 rm -f conftest.$ac_objext
43072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43073 (eval $ac_compile) 2>conftest.er1
43074 ac_status=$?
43075 grep -v '^ *+' conftest.er1 >conftest.err
43076 rm -f conftest.er1
43077 cat conftest.err >&5
43078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43079 (exit $ac_status); } &&
43080 { ac_try='test -z "$ac_cxx_werror_flag"
43081 || test ! -s conftest.err'
43082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43083 (eval $ac_try) 2>&5
43084 ac_status=$?
43085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43086 (exit $ac_status); }; } &&
43087 { ac_try='test -s conftest.$ac_objext'
43088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43089 (eval $ac_try) 2>&5
43090 ac_status=$?
43091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43092 (exit $ac_status); }; }; then
43093 glibcxx_cv_func_fabsl_use=yes
43094 else
43095 echo "$as_me: failed program was:" >&5
43096 sed 's/^/| /' conftest.$ac_ext >&5
43098 glibcxx_cv_func_fabsl_use=no
43100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43101 ac_ext=c
43102 ac_cpp='$CPP $CPPFLAGS'
43103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43112 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43114 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43116 for ac_func in fabsl
43118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43119 echo "$as_me:$LINENO: checking for $ac_func" >&5
43120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43121 if eval "test \"\${$as_ac_var+set}\" = set"; then
43122 echo $ECHO_N "(cached) $ECHO_C" >&6
43123 else
43124 if test x$gcc_no_link = xyes; then
43125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43127 { (exit 1); exit 1; }; }
43129 cat >conftest.$ac_ext <<_ACEOF
43130 /* confdefs.h. */
43131 _ACEOF
43132 cat confdefs.h >>conftest.$ac_ext
43133 cat >>conftest.$ac_ext <<_ACEOF
43134 /* end confdefs.h. */
43135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43137 #define $ac_func innocuous_$ac_func
43139 /* System header to define __stub macros and hopefully few prototypes,
43140 which can conflict with char $ac_func (); below.
43141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43142 <limits.h> exists even on freestanding compilers. */
43144 #ifdef __STDC__
43145 # include <limits.h>
43146 #else
43147 # include <assert.h>
43148 #endif
43150 #undef $ac_func
43152 /* Override any gcc2 internal prototype to avoid an error. */
43153 #ifdef __cplusplus
43154 extern "C"
43156 #endif
43157 /* We use char because int might match the return type of a gcc2
43158 builtin and then its argument prototype would still apply. */
43159 char $ac_func ();
43160 /* The GNU C library defines this for functions which it implements
43161 to always fail with ENOSYS. Some functions are actually named
43162 something starting with __ and the normal name is an alias. */
43163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43164 choke me
43165 #else
43166 char (*f) () = $ac_func;
43167 #endif
43168 #ifdef __cplusplus
43170 #endif
43173 main ()
43175 return f != $ac_func;
43177 return 0;
43179 _ACEOF
43180 rm -f conftest.$ac_objext conftest$ac_exeext
43181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43182 (eval $ac_link) 2>conftest.er1
43183 ac_status=$?
43184 grep -v '^ *+' conftest.er1 >conftest.err
43185 rm -f conftest.er1
43186 cat conftest.err >&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } &&
43189 { ac_try='test -z "$ac_c_werror_flag"
43190 || test ! -s conftest.err'
43191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43192 (eval $ac_try) 2>&5
43193 ac_status=$?
43194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43195 (exit $ac_status); }; } &&
43196 { ac_try='test -s conftest$ac_exeext'
43197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43198 (eval $ac_try) 2>&5
43199 ac_status=$?
43200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43201 (exit $ac_status); }; }; then
43202 eval "$as_ac_var=yes"
43203 else
43204 echo "$as_me: failed program was:" >&5
43205 sed 's/^/| /' conftest.$ac_ext >&5
43207 eval "$as_ac_var=no"
43209 rm -f conftest.err conftest.$ac_objext \
43210 conftest$ac_exeext conftest.$ac_ext
43212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43214 if test `eval echo '${'$as_ac_var'}'` = yes; then
43215 cat >>confdefs.h <<_ACEOF
43216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43217 _ACEOF
43220 done
43222 else
43224 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43225 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43226 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43227 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43228 echo $ECHO_N "(cached) $ECHO_C" >&6
43229 else
43233 ac_ext=cc
43234 ac_cpp='$CXXCPP $CPPFLAGS'
43235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43239 cat >conftest.$ac_ext <<_ACEOF
43240 /* confdefs.h. */
43241 _ACEOF
43242 cat confdefs.h >>conftest.$ac_ext
43243 cat >>conftest.$ac_ext <<_ACEOF
43244 /* end confdefs.h. */
43245 #include <math.h>
43246 #ifdef HAVE_IEEEFP_H
43247 #include <ieeefp.h>
43248 #endif
43251 main ()
43253 _fabsl(0);
43255 return 0;
43257 _ACEOF
43258 rm -f conftest.$ac_objext
43259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43260 (eval $ac_compile) 2>conftest.er1
43261 ac_status=$?
43262 grep -v '^ *+' conftest.er1 >conftest.err
43263 rm -f conftest.er1
43264 cat conftest.err >&5
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); } &&
43267 { ac_try='test -z "$ac_cxx_werror_flag"
43268 || test ! -s conftest.err'
43269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43270 (eval $ac_try) 2>&5
43271 ac_status=$?
43272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43273 (exit $ac_status); }; } &&
43274 { ac_try='test -s conftest.$ac_objext'
43275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43276 (eval $ac_try) 2>&5
43277 ac_status=$?
43278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43279 (exit $ac_status); }; }; then
43280 glibcxx_cv_func__fabsl_use=yes
43281 else
43282 echo "$as_me: failed program was:" >&5
43283 sed 's/^/| /' conftest.$ac_ext >&5
43285 glibcxx_cv_func__fabsl_use=no
43287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43288 ac_ext=c
43289 ac_cpp='$CPP $CPPFLAGS'
43290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43298 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43299 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43301 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43303 for ac_func in _fabsl
43305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43306 echo "$as_me:$LINENO: checking for $ac_func" >&5
43307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43308 if eval "test \"\${$as_ac_var+set}\" = set"; then
43309 echo $ECHO_N "(cached) $ECHO_C" >&6
43310 else
43311 if test x$gcc_no_link = xyes; then
43312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43314 { (exit 1); exit 1; }; }
43316 cat >conftest.$ac_ext <<_ACEOF
43317 /* confdefs.h. */
43318 _ACEOF
43319 cat confdefs.h >>conftest.$ac_ext
43320 cat >>conftest.$ac_ext <<_ACEOF
43321 /* end confdefs.h. */
43322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43324 #define $ac_func innocuous_$ac_func
43326 /* System header to define __stub macros and hopefully few prototypes,
43327 which can conflict with char $ac_func (); below.
43328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43329 <limits.h> exists even on freestanding compilers. */
43331 #ifdef __STDC__
43332 # include <limits.h>
43333 #else
43334 # include <assert.h>
43335 #endif
43337 #undef $ac_func
43339 /* Override any gcc2 internal prototype to avoid an error. */
43340 #ifdef __cplusplus
43341 extern "C"
43343 #endif
43344 /* We use char because int might match the return type of a gcc2
43345 builtin and then its argument prototype would still apply. */
43346 char $ac_func ();
43347 /* The GNU C library defines this for functions which it implements
43348 to always fail with ENOSYS. Some functions are actually named
43349 something starting with __ and the normal name is an alias. */
43350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43351 choke me
43352 #else
43353 char (*f) () = $ac_func;
43354 #endif
43355 #ifdef __cplusplus
43357 #endif
43360 main ()
43362 return f != $ac_func;
43364 return 0;
43366 _ACEOF
43367 rm -f conftest.$ac_objext conftest$ac_exeext
43368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43369 (eval $ac_link) 2>conftest.er1
43370 ac_status=$?
43371 grep -v '^ *+' conftest.er1 >conftest.err
43372 rm -f conftest.er1
43373 cat conftest.err >&5
43374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375 (exit $ac_status); } &&
43376 { ac_try='test -z "$ac_c_werror_flag"
43377 || test ! -s conftest.err'
43378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43379 (eval $ac_try) 2>&5
43380 ac_status=$?
43381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382 (exit $ac_status); }; } &&
43383 { ac_try='test -s conftest$ac_exeext'
43384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43385 (eval $ac_try) 2>&5
43386 ac_status=$?
43387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388 (exit $ac_status); }; }; then
43389 eval "$as_ac_var=yes"
43390 else
43391 echo "$as_me: failed program was:" >&5
43392 sed 's/^/| /' conftest.$ac_ext >&5
43394 eval "$as_ac_var=no"
43396 rm -f conftest.err conftest.$ac_objext \
43397 conftest$ac_exeext conftest.$ac_ext
43399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43401 if test `eval echo '${'$as_ac_var'}'` = yes; then
43402 cat >>confdefs.h <<_ACEOF
43403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43404 _ACEOF
43407 done
43414 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43415 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43416 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43417 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43418 echo $ECHO_N "(cached) $ECHO_C" >&6
43419 else
43423 ac_ext=cc
43424 ac_cpp='$CXXCPP $CPPFLAGS'
43425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43429 cat >conftest.$ac_ext <<_ACEOF
43430 /* confdefs.h. */
43431 _ACEOF
43432 cat confdefs.h >>conftest.$ac_ext
43433 cat >>conftest.$ac_ext <<_ACEOF
43434 /* end confdefs.h. */
43435 #include <math.h>
43437 main ()
43439 fmodl(0, 0);
43441 return 0;
43443 _ACEOF
43444 rm -f conftest.$ac_objext
43445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43446 (eval $ac_compile) 2>conftest.er1
43447 ac_status=$?
43448 grep -v '^ *+' conftest.er1 >conftest.err
43449 rm -f conftest.er1
43450 cat conftest.err >&5
43451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43452 (exit $ac_status); } &&
43453 { ac_try='test -z "$ac_cxx_werror_flag"
43454 || test ! -s conftest.err'
43455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43456 (eval $ac_try) 2>&5
43457 ac_status=$?
43458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43459 (exit $ac_status); }; } &&
43460 { ac_try='test -s conftest.$ac_objext'
43461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43462 (eval $ac_try) 2>&5
43463 ac_status=$?
43464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43465 (exit $ac_status); }; }; then
43466 glibcxx_cv_func_fmodl_use=yes
43467 else
43468 echo "$as_me: failed program was:" >&5
43469 sed 's/^/| /' conftest.$ac_ext >&5
43471 glibcxx_cv_func_fmodl_use=no
43473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43474 ac_ext=c
43475 ac_cpp='$CPP $CPPFLAGS'
43476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43484 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43485 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43487 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43489 for ac_func in fmodl
43491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43492 echo "$as_me:$LINENO: checking for $ac_func" >&5
43493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43494 if eval "test \"\${$as_ac_var+set}\" = set"; then
43495 echo $ECHO_N "(cached) $ECHO_C" >&6
43496 else
43497 if test x$gcc_no_link = xyes; then
43498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43500 { (exit 1); exit 1; }; }
43502 cat >conftest.$ac_ext <<_ACEOF
43503 /* confdefs.h. */
43504 _ACEOF
43505 cat confdefs.h >>conftest.$ac_ext
43506 cat >>conftest.$ac_ext <<_ACEOF
43507 /* end confdefs.h. */
43508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43510 #define $ac_func innocuous_$ac_func
43512 /* System header to define __stub macros and hopefully few prototypes,
43513 which can conflict with char $ac_func (); below.
43514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43515 <limits.h> exists even on freestanding compilers. */
43517 #ifdef __STDC__
43518 # include <limits.h>
43519 #else
43520 # include <assert.h>
43521 #endif
43523 #undef $ac_func
43525 /* Override any gcc2 internal prototype to avoid an error. */
43526 #ifdef __cplusplus
43527 extern "C"
43529 #endif
43530 /* We use char because int might match the return type of a gcc2
43531 builtin and then its argument prototype would still apply. */
43532 char $ac_func ();
43533 /* The GNU C library defines this for functions which it implements
43534 to always fail with ENOSYS. Some functions are actually named
43535 something starting with __ and the normal name is an alias. */
43536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43537 choke me
43538 #else
43539 char (*f) () = $ac_func;
43540 #endif
43541 #ifdef __cplusplus
43543 #endif
43546 main ()
43548 return f != $ac_func;
43550 return 0;
43552 _ACEOF
43553 rm -f conftest.$ac_objext conftest$ac_exeext
43554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43555 (eval $ac_link) 2>conftest.er1
43556 ac_status=$?
43557 grep -v '^ *+' conftest.er1 >conftest.err
43558 rm -f conftest.er1
43559 cat conftest.err >&5
43560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43561 (exit $ac_status); } &&
43562 { ac_try='test -z "$ac_c_werror_flag"
43563 || test ! -s conftest.err'
43564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43565 (eval $ac_try) 2>&5
43566 ac_status=$?
43567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43568 (exit $ac_status); }; } &&
43569 { ac_try='test -s conftest$ac_exeext'
43570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43571 (eval $ac_try) 2>&5
43572 ac_status=$?
43573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43574 (exit $ac_status); }; }; then
43575 eval "$as_ac_var=yes"
43576 else
43577 echo "$as_me: failed program was:" >&5
43578 sed 's/^/| /' conftest.$ac_ext >&5
43580 eval "$as_ac_var=no"
43582 rm -f conftest.err conftest.$ac_objext \
43583 conftest$ac_exeext conftest.$ac_ext
43585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43587 if test `eval echo '${'$as_ac_var'}'` = yes; then
43588 cat >>confdefs.h <<_ACEOF
43589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43590 _ACEOF
43593 done
43595 else
43597 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43598 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43599 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43600 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43601 echo $ECHO_N "(cached) $ECHO_C" >&6
43602 else
43606 ac_ext=cc
43607 ac_cpp='$CXXCPP $CPPFLAGS'
43608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43612 cat >conftest.$ac_ext <<_ACEOF
43613 /* confdefs.h. */
43614 _ACEOF
43615 cat confdefs.h >>conftest.$ac_ext
43616 cat >>conftest.$ac_ext <<_ACEOF
43617 /* end confdefs.h. */
43618 #include <math.h>
43620 main ()
43622 _fmodl(0, 0);
43624 return 0;
43626 _ACEOF
43627 rm -f conftest.$ac_objext
43628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43629 (eval $ac_compile) 2>conftest.er1
43630 ac_status=$?
43631 grep -v '^ *+' conftest.er1 >conftest.err
43632 rm -f conftest.er1
43633 cat conftest.err >&5
43634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43635 (exit $ac_status); } &&
43636 { ac_try='test -z "$ac_cxx_werror_flag"
43637 || test ! -s conftest.err'
43638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43639 (eval $ac_try) 2>&5
43640 ac_status=$?
43641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43642 (exit $ac_status); }; } &&
43643 { ac_try='test -s conftest.$ac_objext'
43644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43645 (eval $ac_try) 2>&5
43646 ac_status=$?
43647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43648 (exit $ac_status); }; }; then
43649 glibcxx_cv_func__fmodl_use=yes
43650 else
43651 echo "$as_me: failed program was:" >&5
43652 sed 's/^/| /' conftest.$ac_ext >&5
43654 glibcxx_cv_func__fmodl_use=no
43656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43657 ac_ext=c
43658 ac_cpp='$CPP $CPPFLAGS'
43659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43667 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43668 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43670 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43672 for ac_func in _fmodl
43674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43675 echo "$as_me:$LINENO: checking for $ac_func" >&5
43676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43677 if eval "test \"\${$as_ac_var+set}\" = set"; then
43678 echo $ECHO_N "(cached) $ECHO_C" >&6
43679 else
43680 if test x$gcc_no_link = xyes; then
43681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43683 { (exit 1); exit 1; }; }
43685 cat >conftest.$ac_ext <<_ACEOF
43686 /* confdefs.h. */
43687 _ACEOF
43688 cat confdefs.h >>conftest.$ac_ext
43689 cat >>conftest.$ac_ext <<_ACEOF
43690 /* end confdefs.h. */
43691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43693 #define $ac_func innocuous_$ac_func
43695 /* System header to define __stub macros and hopefully few prototypes,
43696 which can conflict with char $ac_func (); below.
43697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43698 <limits.h> exists even on freestanding compilers. */
43700 #ifdef __STDC__
43701 # include <limits.h>
43702 #else
43703 # include <assert.h>
43704 #endif
43706 #undef $ac_func
43708 /* Override any gcc2 internal prototype to avoid an error. */
43709 #ifdef __cplusplus
43710 extern "C"
43712 #endif
43713 /* We use char because int might match the return type of a gcc2
43714 builtin and then its argument prototype would still apply. */
43715 char $ac_func ();
43716 /* The GNU C library defines this for functions which it implements
43717 to always fail with ENOSYS. Some functions are actually named
43718 something starting with __ and the normal name is an alias. */
43719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43720 choke me
43721 #else
43722 char (*f) () = $ac_func;
43723 #endif
43724 #ifdef __cplusplus
43726 #endif
43729 main ()
43731 return f != $ac_func;
43733 return 0;
43735 _ACEOF
43736 rm -f conftest.$ac_objext conftest$ac_exeext
43737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43738 (eval $ac_link) 2>conftest.er1
43739 ac_status=$?
43740 grep -v '^ *+' conftest.er1 >conftest.err
43741 rm -f conftest.er1
43742 cat conftest.err >&5
43743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43744 (exit $ac_status); } &&
43745 { ac_try='test -z "$ac_c_werror_flag"
43746 || test ! -s conftest.err'
43747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43748 (eval $ac_try) 2>&5
43749 ac_status=$?
43750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43751 (exit $ac_status); }; } &&
43752 { ac_try='test -s conftest$ac_exeext'
43753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43754 (eval $ac_try) 2>&5
43755 ac_status=$?
43756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43757 (exit $ac_status); }; }; then
43758 eval "$as_ac_var=yes"
43759 else
43760 echo "$as_me: failed program was:" >&5
43761 sed 's/^/| /' conftest.$ac_ext >&5
43763 eval "$as_ac_var=no"
43765 rm -f conftest.err conftest.$ac_objext \
43766 conftest$ac_exeext conftest.$ac_ext
43768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43770 if test `eval echo '${'$as_ac_var'}'` = yes; then
43771 cat >>confdefs.h <<_ACEOF
43772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43773 _ACEOF
43776 done
43783 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43784 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43785 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43786 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43787 echo $ECHO_N "(cached) $ECHO_C" >&6
43788 else
43792 ac_ext=cc
43793 ac_cpp='$CXXCPP $CPPFLAGS'
43794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43798 cat >conftest.$ac_ext <<_ACEOF
43799 /* confdefs.h. */
43800 _ACEOF
43801 cat confdefs.h >>conftest.$ac_ext
43802 cat >>conftest.$ac_ext <<_ACEOF
43803 /* end confdefs.h. */
43804 #include <math.h>
43806 main ()
43808 frexpl(0, 0);
43810 return 0;
43812 _ACEOF
43813 rm -f conftest.$ac_objext
43814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43815 (eval $ac_compile) 2>conftest.er1
43816 ac_status=$?
43817 grep -v '^ *+' conftest.er1 >conftest.err
43818 rm -f conftest.er1
43819 cat conftest.err >&5
43820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43821 (exit $ac_status); } &&
43822 { ac_try='test -z "$ac_cxx_werror_flag"
43823 || test ! -s conftest.err'
43824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43825 (eval $ac_try) 2>&5
43826 ac_status=$?
43827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43828 (exit $ac_status); }; } &&
43829 { ac_try='test -s conftest.$ac_objext'
43830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43831 (eval $ac_try) 2>&5
43832 ac_status=$?
43833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43834 (exit $ac_status); }; }; then
43835 glibcxx_cv_func_frexpl_use=yes
43836 else
43837 echo "$as_me: failed program was:" >&5
43838 sed 's/^/| /' conftest.$ac_ext >&5
43840 glibcxx_cv_func_frexpl_use=no
43842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43843 ac_ext=c
43844 ac_cpp='$CPP $CPPFLAGS'
43845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43854 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43856 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43858 for ac_func in frexpl
43860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43861 echo "$as_me:$LINENO: checking for $ac_func" >&5
43862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43863 if eval "test \"\${$as_ac_var+set}\" = set"; then
43864 echo $ECHO_N "(cached) $ECHO_C" >&6
43865 else
43866 if test x$gcc_no_link = xyes; then
43867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43869 { (exit 1); exit 1; }; }
43871 cat >conftest.$ac_ext <<_ACEOF
43872 /* confdefs.h. */
43873 _ACEOF
43874 cat confdefs.h >>conftest.$ac_ext
43875 cat >>conftest.$ac_ext <<_ACEOF
43876 /* end confdefs.h. */
43877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43879 #define $ac_func innocuous_$ac_func
43881 /* System header to define __stub macros and hopefully few prototypes,
43882 which can conflict with char $ac_func (); below.
43883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43884 <limits.h> exists even on freestanding compilers. */
43886 #ifdef __STDC__
43887 # include <limits.h>
43888 #else
43889 # include <assert.h>
43890 #endif
43892 #undef $ac_func
43894 /* Override any gcc2 internal prototype to avoid an error. */
43895 #ifdef __cplusplus
43896 extern "C"
43898 #endif
43899 /* We use char because int might match the return type of a gcc2
43900 builtin and then its argument prototype would still apply. */
43901 char $ac_func ();
43902 /* The GNU C library defines this for functions which it implements
43903 to always fail with ENOSYS. Some functions are actually named
43904 something starting with __ and the normal name is an alias. */
43905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43906 choke me
43907 #else
43908 char (*f) () = $ac_func;
43909 #endif
43910 #ifdef __cplusplus
43912 #endif
43915 main ()
43917 return f != $ac_func;
43919 return 0;
43921 _ACEOF
43922 rm -f conftest.$ac_objext conftest$ac_exeext
43923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43924 (eval $ac_link) 2>conftest.er1
43925 ac_status=$?
43926 grep -v '^ *+' conftest.er1 >conftest.err
43927 rm -f conftest.er1
43928 cat conftest.err >&5
43929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43930 (exit $ac_status); } &&
43931 { ac_try='test -z "$ac_c_werror_flag"
43932 || test ! -s conftest.err'
43933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43934 (eval $ac_try) 2>&5
43935 ac_status=$?
43936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43937 (exit $ac_status); }; } &&
43938 { ac_try='test -s conftest$ac_exeext'
43939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43940 (eval $ac_try) 2>&5
43941 ac_status=$?
43942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43943 (exit $ac_status); }; }; then
43944 eval "$as_ac_var=yes"
43945 else
43946 echo "$as_me: failed program was:" >&5
43947 sed 's/^/| /' conftest.$ac_ext >&5
43949 eval "$as_ac_var=no"
43951 rm -f conftest.err conftest.$ac_objext \
43952 conftest$ac_exeext conftest.$ac_ext
43954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43956 if test `eval echo '${'$as_ac_var'}'` = yes; then
43957 cat >>confdefs.h <<_ACEOF
43958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43959 _ACEOF
43962 done
43964 else
43966 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43967 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43968 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43969 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43970 echo $ECHO_N "(cached) $ECHO_C" >&6
43971 else
43975 ac_ext=cc
43976 ac_cpp='$CXXCPP $CPPFLAGS'
43977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43981 cat >conftest.$ac_ext <<_ACEOF
43982 /* confdefs.h. */
43983 _ACEOF
43984 cat confdefs.h >>conftest.$ac_ext
43985 cat >>conftest.$ac_ext <<_ACEOF
43986 /* end confdefs.h. */
43987 #include <math.h>
43989 main ()
43991 _frexpl(0, 0);
43993 return 0;
43995 _ACEOF
43996 rm -f conftest.$ac_objext
43997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43998 (eval $ac_compile) 2>conftest.er1
43999 ac_status=$?
44000 grep -v '^ *+' conftest.er1 >conftest.err
44001 rm -f conftest.er1
44002 cat conftest.err >&5
44003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44004 (exit $ac_status); } &&
44005 { ac_try='test -z "$ac_cxx_werror_flag"
44006 || test ! -s conftest.err'
44007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44008 (eval $ac_try) 2>&5
44009 ac_status=$?
44010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011 (exit $ac_status); }; } &&
44012 { ac_try='test -s conftest.$ac_objext'
44013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44014 (eval $ac_try) 2>&5
44015 ac_status=$?
44016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44017 (exit $ac_status); }; }; then
44018 glibcxx_cv_func__frexpl_use=yes
44019 else
44020 echo "$as_me: failed program was:" >&5
44021 sed 's/^/| /' conftest.$ac_ext >&5
44023 glibcxx_cv_func__frexpl_use=no
44025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44026 ac_ext=c
44027 ac_cpp='$CPP $CPPFLAGS'
44028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44036 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44037 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44039 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44041 for ac_func in _frexpl
44043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44044 echo "$as_me:$LINENO: checking for $ac_func" >&5
44045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44046 if eval "test \"\${$as_ac_var+set}\" = set"; then
44047 echo $ECHO_N "(cached) $ECHO_C" >&6
44048 else
44049 if test x$gcc_no_link = xyes; then
44050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44052 { (exit 1); exit 1; }; }
44054 cat >conftest.$ac_ext <<_ACEOF
44055 /* confdefs.h. */
44056 _ACEOF
44057 cat confdefs.h >>conftest.$ac_ext
44058 cat >>conftest.$ac_ext <<_ACEOF
44059 /* end confdefs.h. */
44060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44062 #define $ac_func innocuous_$ac_func
44064 /* System header to define __stub macros and hopefully few prototypes,
44065 which can conflict with char $ac_func (); below.
44066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44067 <limits.h> exists even on freestanding compilers. */
44069 #ifdef __STDC__
44070 # include <limits.h>
44071 #else
44072 # include <assert.h>
44073 #endif
44075 #undef $ac_func
44077 /* Override any gcc2 internal prototype to avoid an error. */
44078 #ifdef __cplusplus
44079 extern "C"
44081 #endif
44082 /* We use char because int might match the return type of a gcc2
44083 builtin and then its argument prototype would still apply. */
44084 char $ac_func ();
44085 /* The GNU C library defines this for functions which it implements
44086 to always fail with ENOSYS. Some functions are actually named
44087 something starting with __ and the normal name is an alias. */
44088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44089 choke me
44090 #else
44091 char (*f) () = $ac_func;
44092 #endif
44093 #ifdef __cplusplus
44095 #endif
44098 main ()
44100 return f != $ac_func;
44102 return 0;
44104 _ACEOF
44105 rm -f conftest.$ac_objext conftest$ac_exeext
44106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44107 (eval $ac_link) 2>conftest.er1
44108 ac_status=$?
44109 grep -v '^ *+' conftest.er1 >conftest.err
44110 rm -f conftest.er1
44111 cat conftest.err >&5
44112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44113 (exit $ac_status); } &&
44114 { ac_try='test -z "$ac_c_werror_flag"
44115 || test ! -s conftest.err'
44116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44117 (eval $ac_try) 2>&5
44118 ac_status=$?
44119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44120 (exit $ac_status); }; } &&
44121 { ac_try='test -s conftest$ac_exeext'
44122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44123 (eval $ac_try) 2>&5
44124 ac_status=$?
44125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44126 (exit $ac_status); }; }; then
44127 eval "$as_ac_var=yes"
44128 else
44129 echo "$as_me: failed program was:" >&5
44130 sed 's/^/| /' conftest.$ac_ext >&5
44132 eval "$as_ac_var=no"
44134 rm -f conftest.err conftest.$ac_objext \
44135 conftest$ac_exeext conftest.$ac_ext
44137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44139 if test `eval echo '${'$as_ac_var'}'` = yes; then
44140 cat >>confdefs.h <<_ACEOF
44141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44142 _ACEOF
44145 done
44152 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44153 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44154 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44155 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44156 echo $ECHO_N "(cached) $ECHO_C" >&6
44157 else
44161 ac_ext=cc
44162 ac_cpp='$CXXCPP $CPPFLAGS'
44163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44167 cat >conftest.$ac_ext <<_ACEOF
44168 /* confdefs.h. */
44169 _ACEOF
44170 cat confdefs.h >>conftest.$ac_ext
44171 cat >>conftest.$ac_ext <<_ACEOF
44172 /* end confdefs.h. */
44173 #include <math.h>
44175 main ()
44177 hypotl(0, 0);
44179 return 0;
44181 _ACEOF
44182 rm -f conftest.$ac_objext
44183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44184 (eval $ac_compile) 2>conftest.er1
44185 ac_status=$?
44186 grep -v '^ *+' conftest.er1 >conftest.err
44187 rm -f conftest.er1
44188 cat conftest.err >&5
44189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44190 (exit $ac_status); } &&
44191 { ac_try='test -z "$ac_cxx_werror_flag"
44192 || test ! -s conftest.err'
44193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44194 (eval $ac_try) 2>&5
44195 ac_status=$?
44196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44197 (exit $ac_status); }; } &&
44198 { ac_try='test -s conftest.$ac_objext'
44199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44200 (eval $ac_try) 2>&5
44201 ac_status=$?
44202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44203 (exit $ac_status); }; }; then
44204 glibcxx_cv_func_hypotl_use=yes
44205 else
44206 echo "$as_me: failed program was:" >&5
44207 sed 's/^/| /' conftest.$ac_ext >&5
44209 glibcxx_cv_func_hypotl_use=no
44211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44212 ac_ext=c
44213 ac_cpp='$CPP $CPPFLAGS'
44214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44223 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44225 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44227 for ac_func in hypotl
44229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44230 echo "$as_me:$LINENO: checking for $ac_func" >&5
44231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44232 if eval "test \"\${$as_ac_var+set}\" = set"; then
44233 echo $ECHO_N "(cached) $ECHO_C" >&6
44234 else
44235 if test x$gcc_no_link = xyes; then
44236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44238 { (exit 1); exit 1; }; }
44240 cat >conftest.$ac_ext <<_ACEOF
44241 /* confdefs.h. */
44242 _ACEOF
44243 cat confdefs.h >>conftest.$ac_ext
44244 cat >>conftest.$ac_ext <<_ACEOF
44245 /* end confdefs.h. */
44246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44248 #define $ac_func innocuous_$ac_func
44250 /* System header to define __stub macros and hopefully few prototypes,
44251 which can conflict with char $ac_func (); below.
44252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44253 <limits.h> exists even on freestanding compilers. */
44255 #ifdef __STDC__
44256 # include <limits.h>
44257 #else
44258 # include <assert.h>
44259 #endif
44261 #undef $ac_func
44263 /* Override any gcc2 internal prototype to avoid an error. */
44264 #ifdef __cplusplus
44265 extern "C"
44267 #endif
44268 /* We use char because int might match the return type of a gcc2
44269 builtin and then its argument prototype would still apply. */
44270 char $ac_func ();
44271 /* The GNU C library defines this for functions which it implements
44272 to always fail with ENOSYS. Some functions are actually named
44273 something starting with __ and the normal name is an alias. */
44274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44275 choke me
44276 #else
44277 char (*f) () = $ac_func;
44278 #endif
44279 #ifdef __cplusplus
44281 #endif
44284 main ()
44286 return f != $ac_func;
44288 return 0;
44290 _ACEOF
44291 rm -f conftest.$ac_objext conftest$ac_exeext
44292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44293 (eval $ac_link) 2>conftest.er1
44294 ac_status=$?
44295 grep -v '^ *+' conftest.er1 >conftest.err
44296 rm -f conftest.er1
44297 cat conftest.err >&5
44298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44299 (exit $ac_status); } &&
44300 { ac_try='test -z "$ac_c_werror_flag"
44301 || test ! -s conftest.err'
44302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44303 (eval $ac_try) 2>&5
44304 ac_status=$?
44305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44306 (exit $ac_status); }; } &&
44307 { ac_try='test -s conftest$ac_exeext'
44308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44309 (eval $ac_try) 2>&5
44310 ac_status=$?
44311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44312 (exit $ac_status); }; }; then
44313 eval "$as_ac_var=yes"
44314 else
44315 echo "$as_me: failed program was:" >&5
44316 sed 's/^/| /' conftest.$ac_ext >&5
44318 eval "$as_ac_var=no"
44320 rm -f conftest.err conftest.$ac_objext \
44321 conftest$ac_exeext conftest.$ac_ext
44323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44325 if test `eval echo '${'$as_ac_var'}'` = yes; then
44326 cat >>confdefs.h <<_ACEOF
44327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44328 _ACEOF
44331 done
44333 else
44335 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44336 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44337 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44338 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44339 echo $ECHO_N "(cached) $ECHO_C" >&6
44340 else
44344 ac_ext=cc
44345 ac_cpp='$CXXCPP $CPPFLAGS'
44346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44350 cat >conftest.$ac_ext <<_ACEOF
44351 /* confdefs.h. */
44352 _ACEOF
44353 cat confdefs.h >>conftest.$ac_ext
44354 cat >>conftest.$ac_ext <<_ACEOF
44355 /* end confdefs.h. */
44356 #include <math.h>
44358 main ()
44360 _hypotl(0, 0);
44362 return 0;
44364 _ACEOF
44365 rm -f conftest.$ac_objext
44366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44367 (eval $ac_compile) 2>conftest.er1
44368 ac_status=$?
44369 grep -v '^ *+' conftest.er1 >conftest.err
44370 rm -f conftest.er1
44371 cat conftest.err >&5
44372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44373 (exit $ac_status); } &&
44374 { ac_try='test -z "$ac_cxx_werror_flag"
44375 || test ! -s conftest.err'
44376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44377 (eval $ac_try) 2>&5
44378 ac_status=$?
44379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44380 (exit $ac_status); }; } &&
44381 { ac_try='test -s conftest.$ac_objext'
44382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44383 (eval $ac_try) 2>&5
44384 ac_status=$?
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); }; }; then
44387 glibcxx_cv_func__hypotl_use=yes
44388 else
44389 echo "$as_me: failed program was:" >&5
44390 sed 's/^/| /' conftest.$ac_ext >&5
44392 glibcxx_cv_func__hypotl_use=no
44394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44395 ac_ext=c
44396 ac_cpp='$CPP $CPPFLAGS'
44397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44405 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44406 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44408 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44410 for ac_func in _hypotl
44412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44413 echo "$as_me:$LINENO: checking for $ac_func" >&5
44414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44415 if eval "test \"\${$as_ac_var+set}\" = set"; then
44416 echo $ECHO_N "(cached) $ECHO_C" >&6
44417 else
44418 if test x$gcc_no_link = xyes; then
44419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44421 { (exit 1); exit 1; }; }
44423 cat >conftest.$ac_ext <<_ACEOF
44424 /* confdefs.h. */
44425 _ACEOF
44426 cat confdefs.h >>conftest.$ac_ext
44427 cat >>conftest.$ac_ext <<_ACEOF
44428 /* end confdefs.h. */
44429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44431 #define $ac_func innocuous_$ac_func
44433 /* System header to define __stub macros and hopefully few prototypes,
44434 which can conflict with char $ac_func (); below.
44435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44436 <limits.h> exists even on freestanding compilers. */
44438 #ifdef __STDC__
44439 # include <limits.h>
44440 #else
44441 # include <assert.h>
44442 #endif
44444 #undef $ac_func
44446 /* Override any gcc2 internal prototype to avoid an error. */
44447 #ifdef __cplusplus
44448 extern "C"
44450 #endif
44451 /* We use char because int might match the return type of a gcc2
44452 builtin and then its argument prototype would still apply. */
44453 char $ac_func ();
44454 /* The GNU C library defines this for functions which it implements
44455 to always fail with ENOSYS. Some functions are actually named
44456 something starting with __ and the normal name is an alias. */
44457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44458 choke me
44459 #else
44460 char (*f) () = $ac_func;
44461 #endif
44462 #ifdef __cplusplus
44464 #endif
44467 main ()
44469 return f != $ac_func;
44471 return 0;
44473 _ACEOF
44474 rm -f conftest.$ac_objext conftest$ac_exeext
44475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44476 (eval $ac_link) 2>conftest.er1
44477 ac_status=$?
44478 grep -v '^ *+' conftest.er1 >conftest.err
44479 rm -f conftest.er1
44480 cat conftest.err >&5
44481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44482 (exit $ac_status); } &&
44483 { ac_try='test -z "$ac_c_werror_flag"
44484 || test ! -s conftest.err'
44485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44486 (eval $ac_try) 2>&5
44487 ac_status=$?
44488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44489 (exit $ac_status); }; } &&
44490 { ac_try='test -s conftest$ac_exeext'
44491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44492 (eval $ac_try) 2>&5
44493 ac_status=$?
44494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44495 (exit $ac_status); }; }; then
44496 eval "$as_ac_var=yes"
44497 else
44498 echo "$as_me: failed program was:" >&5
44499 sed 's/^/| /' conftest.$ac_ext >&5
44501 eval "$as_ac_var=no"
44503 rm -f conftest.err conftest.$ac_objext \
44504 conftest$ac_exeext conftest.$ac_ext
44506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44508 if test `eval echo '${'$as_ac_var'}'` = yes; then
44509 cat >>confdefs.h <<_ACEOF
44510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44511 _ACEOF
44514 done
44521 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44522 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44523 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44524 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44525 echo $ECHO_N "(cached) $ECHO_C" >&6
44526 else
44530 ac_ext=cc
44531 ac_cpp='$CXXCPP $CPPFLAGS'
44532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44536 cat >conftest.$ac_ext <<_ACEOF
44537 /* confdefs.h. */
44538 _ACEOF
44539 cat confdefs.h >>conftest.$ac_ext
44540 cat >>conftest.$ac_ext <<_ACEOF
44541 /* end confdefs.h. */
44542 #include <math.h>
44544 main ()
44546 ldexpl(0, 0);
44548 return 0;
44550 _ACEOF
44551 rm -f conftest.$ac_objext
44552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44553 (eval $ac_compile) 2>conftest.er1
44554 ac_status=$?
44555 grep -v '^ *+' conftest.er1 >conftest.err
44556 rm -f conftest.er1
44557 cat conftest.err >&5
44558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44559 (exit $ac_status); } &&
44560 { ac_try='test -z "$ac_cxx_werror_flag"
44561 || test ! -s conftest.err'
44562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44563 (eval $ac_try) 2>&5
44564 ac_status=$?
44565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44566 (exit $ac_status); }; } &&
44567 { ac_try='test -s conftest.$ac_objext'
44568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44569 (eval $ac_try) 2>&5
44570 ac_status=$?
44571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44572 (exit $ac_status); }; }; then
44573 glibcxx_cv_func_ldexpl_use=yes
44574 else
44575 echo "$as_me: failed program was:" >&5
44576 sed 's/^/| /' conftest.$ac_ext >&5
44578 glibcxx_cv_func_ldexpl_use=no
44580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44581 ac_ext=c
44582 ac_cpp='$CPP $CPPFLAGS'
44583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44592 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44594 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44596 for ac_func in ldexpl
44598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44599 echo "$as_me:$LINENO: checking for $ac_func" >&5
44600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44601 if eval "test \"\${$as_ac_var+set}\" = set"; then
44602 echo $ECHO_N "(cached) $ECHO_C" >&6
44603 else
44604 if test x$gcc_no_link = xyes; then
44605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44607 { (exit 1); exit 1; }; }
44609 cat >conftest.$ac_ext <<_ACEOF
44610 /* confdefs.h. */
44611 _ACEOF
44612 cat confdefs.h >>conftest.$ac_ext
44613 cat >>conftest.$ac_ext <<_ACEOF
44614 /* end confdefs.h. */
44615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44617 #define $ac_func innocuous_$ac_func
44619 /* System header to define __stub macros and hopefully few prototypes,
44620 which can conflict with char $ac_func (); below.
44621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44622 <limits.h> exists even on freestanding compilers. */
44624 #ifdef __STDC__
44625 # include <limits.h>
44626 #else
44627 # include <assert.h>
44628 #endif
44630 #undef $ac_func
44632 /* Override any gcc2 internal prototype to avoid an error. */
44633 #ifdef __cplusplus
44634 extern "C"
44636 #endif
44637 /* We use char because int might match the return type of a gcc2
44638 builtin and then its argument prototype would still apply. */
44639 char $ac_func ();
44640 /* The GNU C library defines this for functions which it implements
44641 to always fail with ENOSYS. Some functions are actually named
44642 something starting with __ and the normal name is an alias. */
44643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44644 choke me
44645 #else
44646 char (*f) () = $ac_func;
44647 #endif
44648 #ifdef __cplusplus
44650 #endif
44653 main ()
44655 return f != $ac_func;
44657 return 0;
44659 _ACEOF
44660 rm -f conftest.$ac_objext conftest$ac_exeext
44661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44662 (eval $ac_link) 2>conftest.er1
44663 ac_status=$?
44664 grep -v '^ *+' conftest.er1 >conftest.err
44665 rm -f conftest.er1
44666 cat conftest.err >&5
44667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44668 (exit $ac_status); } &&
44669 { ac_try='test -z "$ac_c_werror_flag"
44670 || test ! -s conftest.err'
44671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44672 (eval $ac_try) 2>&5
44673 ac_status=$?
44674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44675 (exit $ac_status); }; } &&
44676 { ac_try='test -s conftest$ac_exeext'
44677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44678 (eval $ac_try) 2>&5
44679 ac_status=$?
44680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44681 (exit $ac_status); }; }; then
44682 eval "$as_ac_var=yes"
44683 else
44684 echo "$as_me: failed program was:" >&5
44685 sed 's/^/| /' conftest.$ac_ext >&5
44687 eval "$as_ac_var=no"
44689 rm -f conftest.err conftest.$ac_objext \
44690 conftest$ac_exeext conftest.$ac_ext
44692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44694 if test `eval echo '${'$as_ac_var'}'` = yes; then
44695 cat >>confdefs.h <<_ACEOF
44696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44697 _ACEOF
44700 done
44702 else
44704 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44705 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44706 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44707 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44708 echo $ECHO_N "(cached) $ECHO_C" >&6
44709 else
44713 ac_ext=cc
44714 ac_cpp='$CXXCPP $CPPFLAGS'
44715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44719 cat >conftest.$ac_ext <<_ACEOF
44720 /* confdefs.h. */
44721 _ACEOF
44722 cat confdefs.h >>conftest.$ac_ext
44723 cat >>conftest.$ac_ext <<_ACEOF
44724 /* end confdefs.h. */
44725 #include <math.h>
44727 main ()
44729 _ldexpl(0, 0);
44731 return 0;
44733 _ACEOF
44734 rm -f conftest.$ac_objext
44735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44736 (eval $ac_compile) 2>conftest.er1
44737 ac_status=$?
44738 grep -v '^ *+' conftest.er1 >conftest.err
44739 rm -f conftest.er1
44740 cat conftest.err >&5
44741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44742 (exit $ac_status); } &&
44743 { ac_try='test -z "$ac_cxx_werror_flag"
44744 || test ! -s conftest.err'
44745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44746 (eval $ac_try) 2>&5
44747 ac_status=$?
44748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44749 (exit $ac_status); }; } &&
44750 { ac_try='test -s conftest.$ac_objext'
44751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44752 (eval $ac_try) 2>&5
44753 ac_status=$?
44754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44755 (exit $ac_status); }; }; then
44756 glibcxx_cv_func__ldexpl_use=yes
44757 else
44758 echo "$as_me: failed program was:" >&5
44759 sed 's/^/| /' conftest.$ac_ext >&5
44761 glibcxx_cv_func__ldexpl_use=no
44763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44764 ac_ext=c
44765 ac_cpp='$CPP $CPPFLAGS'
44766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44775 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44777 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44779 for ac_func in _ldexpl
44781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44782 echo "$as_me:$LINENO: checking for $ac_func" >&5
44783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44784 if eval "test \"\${$as_ac_var+set}\" = set"; then
44785 echo $ECHO_N "(cached) $ECHO_C" >&6
44786 else
44787 if test x$gcc_no_link = xyes; then
44788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44790 { (exit 1); exit 1; }; }
44792 cat >conftest.$ac_ext <<_ACEOF
44793 /* confdefs.h. */
44794 _ACEOF
44795 cat confdefs.h >>conftest.$ac_ext
44796 cat >>conftest.$ac_ext <<_ACEOF
44797 /* end confdefs.h. */
44798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44800 #define $ac_func innocuous_$ac_func
44802 /* System header to define __stub macros and hopefully few prototypes,
44803 which can conflict with char $ac_func (); below.
44804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44805 <limits.h> exists even on freestanding compilers. */
44807 #ifdef __STDC__
44808 # include <limits.h>
44809 #else
44810 # include <assert.h>
44811 #endif
44813 #undef $ac_func
44815 /* Override any gcc2 internal prototype to avoid an error. */
44816 #ifdef __cplusplus
44817 extern "C"
44819 #endif
44820 /* We use char because int might match the return type of a gcc2
44821 builtin and then its argument prototype would still apply. */
44822 char $ac_func ();
44823 /* The GNU C library defines this for functions which it implements
44824 to always fail with ENOSYS. Some functions are actually named
44825 something starting with __ and the normal name is an alias. */
44826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44827 choke me
44828 #else
44829 char (*f) () = $ac_func;
44830 #endif
44831 #ifdef __cplusplus
44833 #endif
44836 main ()
44838 return f != $ac_func;
44840 return 0;
44842 _ACEOF
44843 rm -f conftest.$ac_objext conftest$ac_exeext
44844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44845 (eval $ac_link) 2>conftest.er1
44846 ac_status=$?
44847 grep -v '^ *+' conftest.er1 >conftest.err
44848 rm -f conftest.er1
44849 cat conftest.err >&5
44850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44851 (exit $ac_status); } &&
44852 { ac_try='test -z "$ac_c_werror_flag"
44853 || test ! -s conftest.err'
44854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44855 (eval $ac_try) 2>&5
44856 ac_status=$?
44857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44858 (exit $ac_status); }; } &&
44859 { ac_try='test -s conftest$ac_exeext'
44860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44861 (eval $ac_try) 2>&5
44862 ac_status=$?
44863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44864 (exit $ac_status); }; }; then
44865 eval "$as_ac_var=yes"
44866 else
44867 echo "$as_me: failed program was:" >&5
44868 sed 's/^/| /' conftest.$ac_ext >&5
44870 eval "$as_ac_var=no"
44872 rm -f conftest.err conftest.$ac_objext \
44873 conftest$ac_exeext conftest.$ac_ext
44875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44877 if test `eval echo '${'$as_ac_var'}'` = yes; then
44878 cat >>confdefs.h <<_ACEOF
44879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44880 _ACEOF
44883 done
44890 echo "$as_me:$LINENO: checking for logl declaration" >&5
44891 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44892 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44893 if test "${glibcxx_cv_func_logl_use+set}" = set; then
44894 echo $ECHO_N "(cached) $ECHO_C" >&6
44895 else
44899 ac_ext=cc
44900 ac_cpp='$CXXCPP $CPPFLAGS'
44901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44905 cat >conftest.$ac_ext <<_ACEOF
44906 /* confdefs.h. */
44907 _ACEOF
44908 cat confdefs.h >>conftest.$ac_ext
44909 cat >>conftest.$ac_ext <<_ACEOF
44910 /* end confdefs.h. */
44911 #include <math.h>
44912 #ifdef HAVE_IEEEFP_H
44913 #include <ieeefp.h>
44914 #endif
44917 main ()
44919 logl(0);
44921 return 0;
44923 _ACEOF
44924 rm -f conftest.$ac_objext
44925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44926 (eval $ac_compile) 2>conftest.er1
44927 ac_status=$?
44928 grep -v '^ *+' conftest.er1 >conftest.err
44929 rm -f conftest.er1
44930 cat conftest.err >&5
44931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44932 (exit $ac_status); } &&
44933 { ac_try='test -z "$ac_cxx_werror_flag"
44934 || test ! -s conftest.err'
44935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44936 (eval $ac_try) 2>&5
44937 ac_status=$?
44938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44939 (exit $ac_status); }; } &&
44940 { ac_try='test -s conftest.$ac_objext'
44941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44942 (eval $ac_try) 2>&5
44943 ac_status=$?
44944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44945 (exit $ac_status); }; }; then
44946 glibcxx_cv_func_logl_use=yes
44947 else
44948 echo "$as_me: failed program was:" >&5
44949 sed 's/^/| /' conftest.$ac_ext >&5
44951 glibcxx_cv_func_logl_use=no
44953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44954 ac_ext=c
44955 ac_cpp='$CPP $CPPFLAGS'
44956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44964 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44965 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44967 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44969 for ac_func in logl
44971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44972 echo "$as_me:$LINENO: checking for $ac_func" >&5
44973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44974 if eval "test \"\${$as_ac_var+set}\" = set"; then
44975 echo $ECHO_N "(cached) $ECHO_C" >&6
44976 else
44977 if test x$gcc_no_link = xyes; then
44978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44980 { (exit 1); exit 1; }; }
44982 cat >conftest.$ac_ext <<_ACEOF
44983 /* confdefs.h. */
44984 _ACEOF
44985 cat confdefs.h >>conftest.$ac_ext
44986 cat >>conftest.$ac_ext <<_ACEOF
44987 /* end confdefs.h. */
44988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44990 #define $ac_func innocuous_$ac_func
44992 /* System header to define __stub macros and hopefully few prototypes,
44993 which can conflict with char $ac_func (); below.
44994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44995 <limits.h> exists even on freestanding compilers. */
44997 #ifdef __STDC__
44998 # include <limits.h>
44999 #else
45000 # include <assert.h>
45001 #endif
45003 #undef $ac_func
45005 /* Override any gcc2 internal prototype to avoid an error. */
45006 #ifdef __cplusplus
45007 extern "C"
45009 #endif
45010 /* We use char because int might match the return type of a gcc2
45011 builtin and then its argument prototype would still apply. */
45012 char $ac_func ();
45013 /* The GNU C library defines this for functions which it implements
45014 to always fail with ENOSYS. Some functions are actually named
45015 something starting with __ and the normal name is an alias. */
45016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45017 choke me
45018 #else
45019 char (*f) () = $ac_func;
45020 #endif
45021 #ifdef __cplusplus
45023 #endif
45026 main ()
45028 return f != $ac_func;
45030 return 0;
45032 _ACEOF
45033 rm -f conftest.$ac_objext conftest$ac_exeext
45034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45035 (eval $ac_link) 2>conftest.er1
45036 ac_status=$?
45037 grep -v '^ *+' conftest.er1 >conftest.err
45038 rm -f conftest.er1
45039 cat conftest.err >&5
45040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45041 (exit $ac_status); } &&
45042 { ac_try='test -z "$ac_c_werror_flag"
45043 || test ! -s conftest.err'
45044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45045 (eval $ac_try) 2>&5
45046 ac_status=$?
45047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45048 (exit $ac_status); }; } &&
45049 { ac_try='test -s conftest$ac_exeext'
45050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45051 (eval $ac_try) 2>&5
45052 ac_status=$?
45053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45054 (exit $ac_status); }; }; then
45055 eval "$as_ac_var=yes"
45056 else
45057 echo "$as_me: failed program was:" >&5
45058 sed 's/^/| /' conftest.$ac_ext >&5
45060 eval "$as_ac_var=no"
45062 rm -f conftest.err conftest.$ac_objext \
45063 conftest$ac_exeext conftest.$ac_ext
45065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45067 if test `eval echo '${'$as_ac_var'}'` = yes; then
45068 cat >>confdefs.h <<_ACEOF
45069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45070 _ACEOF
45073 done
45075 else
45077 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45078 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45079 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45080 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45081 echo $ECHO_N "(cached) $ECHO_C" >&6
45082 else
45086 ac_ext=cc
45087 ac_cpp='$CXXCPP $CPPFLAGS'
45088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45092 cat >conftest.$ac_ext <<_ACEOF
45093 /* confdefs.h. */
45094 _ACEOF
45095 cat confdefs.h >>conftest.$ac_ext
45096 cat >>conftest.$ac_ext <<_ACEOF
45097 /* end confdefs.h. */
45098 #include <math.h>
45099 #ifdef HAVE_IEEEFP_H
45100 #include <ieeefp.h>
45101 #endif
45104 main ()
45106 _logl(0);
45108 return 0;
45110 _ACEOF
45111 rm -f conftest.$ac_objext
45112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45113 (eval $ac_compile) 2>conftest.er1
45114 ac_status=$?
45115 grep -v '^ *+' conftest.er1 >conftest.err
45116 rm -f conftest.er1
45117 cat conftest.err >&5
45118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45119 (exit $ac_status); } &&
45120 { ac_try='test -z "$ac_cxx_werror_flag"
45121 || test ! -s conftest.err'
45122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45123 (eval $ac_try) 2>&5
45124 ac_status=$?
45125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45126 (exit $ac_status); }; } &&
45127 { ac_try='test -s conftest.$ac_objext'
45128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45129 (eval $ac_try) 2>&5
45130 ac_status=$?
45131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45132 (exit $ac_status); }; }; then
45133 glibcxx_cv_func__logl_use=yes
45134 else
45135 echo "$as_me: failed program was:" >&5
45136 sed 's/^/| /' conftest.$ac_ext >&5
45138 glibcxx_cv_func__logl_use=no
45140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45141 ac_ext=c
45142 ac_cpp='$CPP $CPPFLAGS'
45143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45151 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45152 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45154 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45156 for ac_func in _logl
45158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45159 echo "$as_me:$LINENO: checking for $ac_func" >&5
45160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45161 if eval "test \"\${$as_ac_var+set}\" = set"; then
45162 echo $ECHO_N "(cached) $ECHO_C" >&6
45163 else
45164 if test x$gcc_no_link = xyes; then
45165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45167 { (exit 1); exit 1; }; }
45169 cat >conftest.$ac_ext <<_ACEOF
45170 /* confdefs.h. */
45171 _ACEOF
45172 cat confdefs.h >>conftest.$ac_ext
45173 cat >>conftest.$ac_ext <<_ACEOF
45174 /* end confdefs.h. */
45175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45177 #define $ac_func innocuous_$ac_func
45179 /* System header to define __stub macros and hopefully few prototypes,
45180 which can conflict with char $ac_func (); below.
45181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45182 <limits.h> exists even on freestanding compilers. */
45184 #ifdef __STDC__
45185 # include <limits.h>
45186 #else
45187 # include <assert.h>
45188 #endif
45190 #undef $ac_func
45192 /* Override any gcc2 internal prototype to avoid an error. */
45193 #ifdef __cplusplus
45194 extern "C"
45196 #endif
45197 /* We use char because int might match the return type of a gcc2
45198 builtin and then its argument prototype would still apply. */
45199 char $ac_func ();
45200 /* The GNU C library defines this for functions which it implements
45201 to always fail with ENOSYS. Some functions are actually named
45202 something starting with __ and the normal name is an alias. */
45203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45204 choke me
45205 #else
45206 char (*f) () = $ac_func;
45207 #endif
45208 #ifdef __cplusplus
45210 #endif
45213 main ()
45215 return f != $ac_func;
45217 return 0;
45219 _ACEOF
45220 rm -f conftest.$ac_objext conftest$ac_exeext
45221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45222 (eval $ac_link) 2>conftest.er1
45223 ac_status=$?
45224 grep -v '^ *+' conftest.er1 >conftest.err
45225 rm -f conftest.er1
45226 cat conftest.err >&5
45227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45228 (exit $ac_status); } &&
45229 { ac_try='test -z "$ac_c_werror_flag"
45230 || test ! -s conftest.err'
45231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45232 (eval $ac_try) 2>&5
45233 ac_status=$?
45234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45235 (exit $ac_status); }; } &&
45236 { ac_try='test -s conftest$ac_exeext'
45237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45238 (eval $ac_try) 2>&5
45239 ac_status=$?
45240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45241 (exit $ac_status); }; }; then
45242 eval "$as_ac_var=yes"
45243 else
45244 echo "$as_me: failed program was:" >&5
45245 sed 's/^/| /' conftest.$ac_ext >&5
45247 eval "$as_ac_var=no"
45249 rm -f conftest.err conftest.$ac_objext \
45250 conftest$ac_exeext conftest.$ac_ext
45252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45254 if test `eval echo '${'$as_ac_var'}'` = yes; then
45255 cat >>confdefs.h <<_ACEOF
45256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45257 _ACEOF
45260 done
45267 echo "$as_me:$LINENO: checking for log10l declaration" >&5
45268 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45269 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45270 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45271 echo $ECHO_N "(cached) $ECHO_C" >&6
45272 else
45276 ac_ext=cc
45277 ac_cpp='$CXXCPP $CPPFLAGS'
45278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45282 cat >conftest.$ac_ext <<_ACEOF
45283 /* confdefs.h. */
45284 _ACEOF
45285 cat confdefs.h >>conftest.$ac_ext
45286 cat >>conftest.$ac_ext <<_ACEOF
45287 /* end confdefs.h. */
45288 #include <math.h>
45289 #ifdef HAVE_IEEEFP_H
45290 #include <ieeefp.h>
45291 #endif
45294 main ()
45296 log10l(0);
45298 return 0;
45300 _ACEOF
45301 rm -f conftest.$ac_objext
45302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45303 (eval $ac_compile) 2>conftest.er1
45304 ac_status=$?
45305 grep -v '^ *+' conftest.er1 >conftest.err
45306 rm -f conftest.er1
45307 cat conftest.err >&5
45308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45309 (exit $ac_status); } &&
45310 { ac_try='test -z "$ac_cxx_werror_flag"
45311 || test ! -s conftest.err'
45312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45313 (eval $ac_try) 2>&5
45314 ac_status=$?
45315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45316 (exit $ac_status); }; } &&
45317 { ac_try='test -s conftest.$ac_objext'
45318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45319 (eval $ac_try) 2>&5
45320 ac_status=$?
45321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45322 (exit $ac_status); }; }; then
45323 glibcxx_cv_func_log10l_use=yes
45324 else
45325 echo "$as_me: failed program was:" >&5
45326 sed 's/^/| /' conftest.$ac_ext >&5
45328 glibcxx_cv_func_log10l_use=no
45330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45331 ac_ext=c
45332 ac_cpp='$CPP $CPPFLAGS'
45333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45341 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45342 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45344 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45346 for ac_func in log10l
45348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45349 echo "$as_me:$LINENO: checking for $ac_func" >&5
45350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45351 if eval "test \"\${$as_ac_var+set}\" = set"; then
45352 echo $ECHO_N "(cached) $ECHO_C" >&6
45353 else
45354 if test x$gcc_no_link = xyes; then
45355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45357 { (exit 1); exit 1; }; }
45359 cat >conftest.$ac_ext <<_ACEOF
45360 /* confdefs.h. */
45361 _ACEOF
45362 cat confdefs.h >>conftest.$ac_ext
45363 cat >>conftest.$ac_ext <<_ACEOF
45364 /* end confdefs.h. */
45365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45367 #define $ac_func innocuous_$ac_func
45369 /* System header to define __stub macros and hopefully few prototypes,
45370 which can conflict with char $ac_func (); below.
45371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45372 <limits.h> exists even on freestanding compilers. */
45374 #ifdef __STDC__
45375 # include <limits.h>
45376 #else
45377 # include <assert.h>
45378 #endif
45380 #undef $ac_func
45382 /* Override any gcc2 internal prototype to avoid an error. */
45383 #ifdef __cplusplus
45384 extern "C"
45386 #endif
45387 /* We use char because int might match the return type of a gcc2
45388 builtin and then its argument prototype would still apply. */
45389 char $ac_func ();
45390 /* The GNU C library defines this for functions which it implements
45391 to always fail with ENOSYS. Some functions are actually named
45392 something starting with __ and the normal name is an alias. */
45393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45394 choke me
45395 #else
45396 char (*f) () = $ac_func;
45397 #endif
45398 #ifdef __cplusplus
45400 #endif
45403 main ()
45405 return f != $ac_func;
45407 return 0;
45409 _ACEOF
45410 rm -f conftest.$ac_objext conftest$ac_exeext
45411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45412 (eval $ac_link) 2>conftest.er1
45413 ac_status=$?
45414 grep -v '^ *+' conftest.er1 >conftest.err
45415 rm -f conftest.er1
45416 cat conftest.err >&5
45417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45418 (exit $ac_status); } &&
45419 { ac_try='test -z "$ac_c_werror_flag"
45420 || test ! -s conftest.err'
45421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45422 (eval $ac_try) 2>&5
45423 ac_status=$?
45424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45425 (exit $ac_status); }; } &&
45426 { ac_try='test -s conftest$ac_exeext'
45427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45428 (eval $ac_try) 2>&5
45429 ac_status=$?
45430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45431 (exit $ac_status); }; }; then
45432 eval "$as_ac_var=yes"
45433 else
45434 echo "$as_me: failed program was:" >&5
45435 sed 's/^/| /' conftest.$ac_ext >&5
45437 eval "$as_ac_var=no"
45439 rm -f conftest.err conftest.$ac_objext \
45440 conftest$ac_exeext conftest.$ac_ext
45442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45444 if test `eval echo '${'$as_ac_var'}'` = yes; then
45445 cat >>confdefs.h <<_ACEOF
45446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45447 _ACEOF
45450 done
45452 else
45454 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45455 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45456 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45457 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45458 echo $ECHO_N "(cached) $ECHO_C" >&6
45459 else
45463 ac_ext=cc
45464 ac_cpp='$CXXCPP $CPPFLAGS'
45465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45469 cat >conftest.$ac_ext <<_ACEOF
45470 /* confdefs.h. */
45471 _ACEOF
45472 cat confdefs.h >>conftest.$ac_ext
45473 cat >>conftest.$ac_ext <<_ACEOF
45474 /* end confdefs.h. */
45475 #include <math.h>
45476 #ifdef HAVE_IEEEFP_H
45477 #include <ieeefp.h>
45478 #endif
45481 main ()
45483 _log10l(0);
45485 return 0;
45487 _ACEOF
45488 rm -f conftest.$ac_objext
45489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45490 (eval $ac_compile) 2>conftest.er1
45491 ac_status=$?
45492 grep -v '^ *+' conftest.er1 >conftest.err
45493 rm -f conftest.er1
45494 cat conftest.err >&5
45495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45496 (exit $ac_status); } &&
45497 { ac_try='test -z "$ac_cxx_werror_flag"
45498 || test ! -s conftest.err'
45499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45500 (eval $ac_try) 2>&5
45501 ac_status=$?
45502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45503 (exit $ac_status); }; } &&
45504 { ac_try='test -s conftest.$ac_objext'
45505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45506 (eval $ac_try) 2>&5
45507 ac_status=$?
45508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45509 (exit $ac_status); }; }; then
45510 glibcxx_cv_func__log10l_use=yes
45511 else
45512 echo "$as_me: failed program was:" >&5
45513 sed 's/^/| /' conftest.$ac_ext >&5
45515 glibcxx_cv_func__log10l_use=no
45517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45518 ac_ext=c
45519 ac_cpp='$CPP $CPPFLAGS'
45520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45528 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45529 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45531 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45533 for ac_func in _log10l
45535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45536 echo "$as_me:$LINENO: checking for $ac_func" >&5
45537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45538 if eval "test \"\${$as_ac_var+set}\" = set"; then
45539 echo $ECHO_N "(cached) $ECHO_C" >&6
45540 else
45541 if test x$gcc_no_link = xyes; then
45542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45544 { (exit 1); exit 1; }; }
45546 cat >conftest.$ac_ext <<_ACEOF
45547 /* confdefs.h. */
45548 _ACEOF
45549 cat confdefs.h >>conftest.$ac_ext
45550 cat >>conftest.$ac_ext <<_ACEOF
45551 /* end confdefs.h. */
45552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45554 #define $ac_func innocuous_$ac_func
45556 /* System header to define __stub macros and hopefully few prototypes,
45557 which can conflict with char $ac_func (); below.
45558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45559 <limits.h> exists even on freestanding compilers. */
45561 #ifdef __STDC__
45562 # include <limits.h>
45563 #else
45564 # include <assert.h>
45565 #endif
45567 #undef $ac_func
45569 /* Override any gcc2 internal prototype to avoid an error. */
45570 #ifdef __cplusplus
45571 extern "C"
45573 #endif
45574 /* We use char because int might match the return type of a gcc2
45575 builtin and then its argument prototype would still apply. */
45576 char $ac_func ();
45577 /* The GNU C library defines this for functions which it implements
45578 to always fail with ENOSYS. Some functions are actually named
45579 something starting with __ and the normal name is an alias. */
45580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45581 choke me
45582 #else
45583 char (*f) () = $ac_func;
45584 #endif
45585 #ifdef __cplusplus
45587 #endif
45590 main ()
45592 return f != $ac_func;
45594 return 0;
45596 _ACEOF
45597 rm -f conftest.$ac_objext conftest$ac_exeext
45598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45599 (eval $ac_link) 2>conftest.er1
45600 ac_status=$?
45601 grep -v '^ *+' conftest.er1 >conftest.err
45602 rm -f conftest.er1
45603 cat conftest.err >&5
45604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45605 (exit $ac_status); } &&
45606 { ac_try='test -z "$ac_c_werror_flag"
45607 || test ! -s conftest.err'
45608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45609 (eval $ac_try) 2>&5
45610 ac_status=$?
45611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45612 (exit $ac_status); }; } &&
45613 { ac_try='test -s conftest$ac_exeext'
45614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45615 (eval $ac_try) 2>&5
45616 ac_status=$?
45617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45618 (exit $ac_status); }; }; then
45619 eval "$as_ac_var=yes"
45620 else
45621 echo "$as_me: failed program was:" >&5
45622 sed 's/^/| /' conftest.$ac_ext >&5
45624 eval "$as_ac_var=no"
45626 rm -f conftest.err conftest.$ac_objext \
45627 conftest$ac_exeext conftest.$ac_ext
45629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45631 if test `eval echo '${'$as_ac_var'}'` = yes; then
45632 cat >>confdefs.h <<_ACEOF
45633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45634 _ACEOF
45637 done
45644 echo "$as_me:$LINENO: checking for modfl declaration" >&5
45645 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45646 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45647 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45648 echo $ECHO_N "(cached) $ECHO_C" >&6
45649 else
45653 ac_ext=cc
45654 ac_cpp='$CXXCPP $CPPFLAGS'
45655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45659 cat >conftest.$ac_ext <<_ACEOF
45660 /* confdefs.h. */
45661 _ACEOF
45662 cat confdefs.h >>conftest.$ac_ext
45663 cat >>conftest.$ac_ext <<_ACEOF
45664 /* end confdefs.h. */
45665 #include <math.h>
45667 main ()
45669 modfl(0, 0);
45671 return 0;
45673 _ACEOF
45674 rm -f conftest.$ac_objext
45675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45676 (eval $ac_compile) 2>conftest.er1
45677 ac_status=$?
45678 grep -v '^ *+' conftest.er1 >conftest.err
45679 rm -f conftest.er1
45680 cat conftest.err >&5
45681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45682 (exit $ac_status); } &&
45683 { ac_try='test -z "$ac_cxx_werror_flag"
45684 || test ! -s conftest.err'
45685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45686 (eval $ac_try) 2>&5
45687 ac_status=$?
45688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45689 (exit $ac_status); }; } &&
45690 { ac_try='test -s conftest.$ac_objext'
45691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45692 (eval $ac_try) 2>&5
45693 ac_status=$?
45694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45695 (exit $ac_status); }; }; then
45696 glibcxx_cv_func_modfl_use=yes
45697 else
45698 echo "$as_me: failed program was:" >&5
45699 sed 's/^/| /' conftest.$ac_ext >&5
45701 glibcxx_cv_func_modfl_use=no
45703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45704 ac_ext=c
45705 ac_cpp='$CPP $CPPFLAGS'
45706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45714 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45715 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45717 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45719 for ac_func in modfl
45721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45722 echo "$as_me:$LINENO: checking for $ac_func" >&5
45723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45724 if eval "test \"\${$as_ac_var+set}\" = set"; then
45725 echo $ECHO_N "(cached) $ECHO_C" >&6
45726 else
45727 if test x$gcc_no_link = xyes; then
45728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45730 { (exit 1); exit 1; }; }
45732 cat >conftest.$ac_ext <<_ACEOF
45733 /* confdefs.h. */
45734 _ACEOF
45735 cat confdefs.h >>conftest.$ac_ext
45736 cat >>conftest.$ac_ext <<_ACEOF
45737 /* end confdefs.h. */
45738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45740 #define $ac_func innocuous_$ac_func
45742 /* System header to define __stub macros and hopefully few prototypes,
45743 which can conflict with char $ac_func (); below.
45744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45745 <limits.h> exists even on freestanding compilers. */
45747 #ifdef __STDC__
45748 # include <limits.h>
45749 #else
45750 # include <assert.h>
45751 #endif
45753 #undef $ac_func
45755 /* Override any gcc2 internal prototype to avoid an error. */
45756 #ifdef __cplusplus
45757 extern "C"
45759 #endif
45760 /* We use char because int might match the return type of a gcc2
45761 builtin and then its argument prototype would still apply. */
45762 char $ac_func ();
45763 /* The GNU C library defines this for functions which it implements
45764 to always fail with ENOSYS. Some functions are actually named
45765 something starting with __ and the normal name is an alias. */
45766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45767 choke me
45768 #else
45769 char (*f) () = $ac_func;
45770 #endif
45771 #ifdef __cplusplus
45773 #endif
45776 main ()
45778 return f != $ac_func;
45780 return 0;
45782 _ACEOF
45783 rm -f conftest.$ac_objext conftest$ac_exeext
45784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45785 (eval $ac_link) 2>conftest.er1
45786 ac_status=$?
45787 grep -v '^ *+' conftest.er1 >conftest.err
45788 rm -f conftest.er1
45789 cat conftest.err >&5
45790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45791 (exit $ac_status); } &&
45792 { ac_try='test -z "$ac_c_werror_flag"
45793 || test ! -s conftest.err'
45794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45795 (eval $ac_try) 2>&5
45796 ac_status=$?
45797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45798 (exit $ac_status); }; } &&
45799 { ac_try='test -s conftest$ac_exeext'
45800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45801 (eval $ac_try) 2>&5
45802 ac_status=$?
45803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45804 (exit $ac_status); }; }; then
45805 eval "$as_ac_var=yes"
45806 else
45807 echo "$as_me: failed program was:" >&5
45808 sed 's/^/| /' conftest.$ac_ext >&5
45810 eval "$as_ac_var=no"
45812 rm -f conftest.err conftest.$ac_objext \
45813 conftest$ac_exeext conftest.$ac_ext
45815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45817 if test `eval echo '${'$as_ac_var'}'` = yes; then
45818 cat >>confdefs.h <<_ACEOF
45819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45820 _ACEOF
45823 done
45825 else
45827 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45828 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45829 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45830 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45831 echo $ECHO_N "(cached) $ECHO_C" >&6
45832 else
45836 ac_ext=cc
45837 ac_cpp='$CXXCPP $CPPFLAGS'
45838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45842 cat >conftest.$ac_ext <<_ACEOF
45843 /* confdefs.h. */
45844 _ACEOF
45845 cat confdefs.h >>conftest.$ac_ext
45846 cat >>conftest.$ac_ext <<_ACEOF
45847 /* end confdefs.h. */
45848 #include <math.h>
45850 main ()
45852 _modfl(0, 0);
45854 return 0;
45856 _ACEOF
45857 rm -f conftest.$ac_objext
45858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45859 (eval $ac_compile) 2>conftest.er1
45860 ac_status=$?
45861 grep -v '^ *+' conftest.er1 >conftest.err
45862 rm -f conftest.er1
45863 cat conftest.err >&5
45864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45865 (exit $ac_status); } &&
45866 { ac_try='test -z "$ac_cxx_werror_flag"
45867 || test ! -s conftest.err'
45868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45869 (eval $ac_try) 2>&5
45870 ac_status=$?
45871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45872 (exit $ac_status); }; } &&
45873 { ac_try='test -s conftest.$ac_objext'
45874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45875 (eval $ac_try) 2>&5
45876 ac_status=$?
45877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45878 (exit $ac_status); }; }; then
45879 glibcxx_cv_func__modfl_use=yes
45880 else
45881 echo "$as_me: failed program was:" >&5
45882 sed 's/^/| /' conftest.$ac_ext >&5
45884 glibcxx_cv_func__modfl_use=no
45886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45887 ac_ext=c
45888 ac_cpp='$CPP $CPPFLAGS'
45889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45897 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45898 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45900 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45902 for ac_func in _modfl
45904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45905 echo "$as_me:$LINENO: checking for $ac_func" >&5
45906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45907 if eval "test \"\${$as_ac_var+set}\" = set"; then
45908 echo $ECHO_N "(cached) $ECHO_C" >&6
45909 else
45910 if test x$gcc_no_link = xyes; then
45911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45913 { (exit 1); exit 1; }; }
45915 cat >conftest.$ac_ext <<_ACEOF
45916 /* confdefs.h. */
45917 _ACEOF
45918 cat confdefs.h >>conftest.$ac_ext
45919 cat >>conftest.$ac_ext <<_ACEOF
45920 /* end confdefs.h. */
45921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45923 #define $ac_func innocuous_$ac_func
45925 /* System header to define __stub macros and hopefully few prototypes,
45926 which can conflict with char $ac_func (); below.
45927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45928 <limits.h> exists even on freestanding compilers. */
45930 #ifdef __STDC__
45931 # include <limits.h>
45932 #else
45933 # include <assert.h>
45934 #endif
45936 #undef $ac_func
45938 /* Override any gcc2 internal prototype to avoid an error. */
45939 #ifdef __cplusplus
45940 extern "C"
45942 #endif
45943 /* We use char because int might match the return type of a gcc2
45944 builtin and then its argument prototype would still apply. */
45945 char $ac_func ();
45946 /* The GNU C library defines this for functions which it implements
45947 to always fail with ENOSYS. Some functions are actually named
45948 something starting with __ and the normal name is an alias. */
45949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45950 choke me
45951 #else
45952 char (*f) () = $ac_func;
45953 #endif
45954 #ifdef __cplusplus
45956 #endif
45959 main ()
45961 return f != $ac_func;
45963 return 0;
45965 _ACEOF
45966 rm -f conftest.$ac_objext conftest$ac_exeext
45967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45968 (eval $ac_link) 2>conftest.er1
45969 ac_status=$?
45970 grep -v '^ *+' conftest.er1 >conftest.err
45971 rm -f conftest.er1
45972 cat conftest.err >&5
45973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45974 (exit $ac_status); } &&
45975 { ac_try='test -z "$ac_c_werror_flag"
45976 || test ! -s conftest.err'
45977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45978 (eval $ac_try) 2>&5
45979 ac_status=$?
45980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45981 (exit $ac_status); }; } &&
45982 { ac_try='test -s conftest$ac_exeext'
45983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45984 (eval $ac_try) 2>&5
45985 ac_status=$?
45986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45987 (exit $ac_status); }; }; then
45988 eval "$as_ac_var=yes"
45989 else
45990 echo "$as_me: failed program was:" >&5
45991 sed 's/^/| /' conftest.$ac_ext >&5
45993 eval "$as_ac_var=no"
45995 rm -f conftest.err conftest.$ac_objext \
45996 conftest$ac_exeext conftest.$ac_ext
45998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46000 if test `eval echo '${'$as_ac_var'}'` = yes; then
46001 cat >>confdefs.h <<_ACEOF
46002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46003 _ACEOF
46006 done
46013 echo "$as_me:$LINENO: checking for powl declaration" >&5
46014 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46015 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46016 if test "${glibcxx_cv_func_powl_use+set}" = set; then
46017 echo $ECHO_N "(cached) $ECHO_C" >&6
46018 else
46022 ac_ext=cc
46023 ac_cpp='$CXXCPP $CPPFLAGS'
46024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46028 cat >conftest.$ac_ext <<_ACEOF
46029 /* confdefs.h. */
46030 _ACEOF
46031 cat confdefs.h >>conftest.$ac_ext
46032 cat >>conftest.$ac_ext <<_ACEOF
46033 /* end confdefs.h. */
46034 #include <math.h>
46036 main ()
46038 powl(0, 0);
46040 return 0;
46042 _ACEOF
46043 rm -f conftest.$ac_objext
46044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46045 (eval $ac_compile) 2>conftest.er1
46046 ac_status=$?
46047 grep -v '^ *+' conftest.er1 >conftest.err
46048 rm -f conftest.er1
46049 cat conftest.err >&5
46050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46051 (exit $ac_status); } &&
46052 { ac_try='test -z "$ac_cxx_werror_flag"
46053 || test ! -s conftest.err'
46054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46055 (eval $ac_try) 2>&5
46056 ac_status=$?
46057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46058 (exit $ac_status); }; } &&
46059 { ac_try='test -s conftest.$ac_objext'
46060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46061 (eval $ac_try) 2>&5
46062 ac_status=$?
46063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46064 (exit $ac_status); }; }; then
46065 glibcxx_cv_func_powl_use=yes
46066 else
46067 echo "$as_me: failed program was:" >&5
46068 sed 's/^/| /' conftest.$ac_ext >&5
46070 glibcxx_cv_func_powl_use=no
46072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46073 ac_ext=c
46074 ac_cpp='$CPP $CPPFLAGS'
46075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46084 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46086 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46088 for ac_func in powl
46090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46091 echo "$as_me:$LINENO: checking for $ac_func" >&5
46092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46093 if eval "test \"\${$as_ac_var+set}\" = set"; then
46094 echo $ECHO_N "(cached) $ECHO_C" >&6
46095 else
46096 if test x$gcc_no_link = xyes; then
46097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46099 { (exit 1); exit 1; }; }
46101 cat >conftest.$ac_ext <<_ACEOF
46102 /* confdefs.h. */
46103 _ACEOF
46104 cat confdefs.h >>conftest.$ac_ext
46105 cat >>conftest.$ac_ext <<_ACEOF
46106 /* end confdefs.h. */
46107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46109 #define $ac_func innocuous_$ac_func
46111 /* System header to define __stub macros and hopefully few prototypes,
46112 which can conflict with char $ac_func (); below.
46113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46114 <limits.h> exists even on freestanding compilers. */
46116 #ifdef __STDC__
46117 # include <limits.h>
46118 #else
46119 # include <assert.h>
46120 #endif
46122 #undef $ac_func
46124 /* Override any gcc2 internal prototype to avoid an error. */
46125 #ifdef __cplusplus
46126 extern "C"
46128 #endif
46129 /* We use char because int might match the return type of a gcc2
46130 builtin and then its argument prototype would still apply. */
46131 char $ac_func ();
46132 /* The GNU C library defines this for functions which it implements
46133 to always fail with ENOSYS. Some functions are actually named
46134 something starting with __ and the normal name is an alias. */
46135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46136 choke me
46137 #else
46138 char (*f) () = $ac_func;
46139 #endif
46140 #ifdef __cplusplus
46142 #endif
46145 main ()
46147 return f != $ac_func;
46149 return 0;
46151 _ACEOF
46152 rm -f conftest.$ac_objext conftest$ac_exeext
46153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46154 (eval $ac_link) 2>conftest.er1
46155 ac_status=$?
46156 grep -v '^ *+' conftest.er1 >conftest.err
46157 rm -f conftest.er1
46158 cat conftest.err >&5
46159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160 (exit $ac_status); } &&
46161 { ac_try='test -z "$ac_c_werror_flag"
46162 || test ! -s conftest.err'
46163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46164 (eval $ac_try) 2>&5
46165 ac_status=$?
46166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46167 (exit $ac_status); }; } &&
46168 { ac_try='test -s conftest$ac_exeext'
46169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46170 (eval $ac_try) 2>&5
46171 ac_status=$?
46172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46173 (exit $ac_status); }; }; then
46174 eval "$as_ac_var=yes"
46175 else
46176 echo "$as_me: failed program was:" >&5
46177 sed 's/^/| /' conftest.$ac_ext >&5
46179 eval "$as_ac_var=no"
46181 rm -f conftest.err conftest.$ac_objext \
46182 conftest$ac_exeext conftest.$ac_ext
46184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46186 if test `eval echo '${'$as_ac_var'}'` = yes; then
46187 cat >>confdefs.h <<_ACEOF
46188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46189 _ACEOF
46192 done
46194 else
46196 echo "$as_me:$LINENO: checking for _powl declaration" >&5
46197 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46198 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46199 if test "${glibcxx_cv_func__powl_use+set}" = set; then
46200 echo $ECHO_N "(cached) $ECHO_C" >&6
46201 else
46205 ac_ext=cc
46206 ac_cpp='$CXXCPP $CPPFLAGS'
46207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46211 cat >conftest.$ac_ext <<_ACEOF
46212 /* confdefs.h. */
46213 _ACEOF
46214 cat confdefs.h >>conftest.$ac_ext
46215 cat >>conftest.$ac_ext <<_ACEOF
46216 /* end confdefs.h. */
46217 #include <math.h>
46219 main ()
46221 _powl(0, 0);
46223 return 0;
46225 _ACEOF
46226 rm -f conftest.$ac_objext
46227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46228 (eval $ac_compile) 2>conftest.er1
46229 ac_status=$?
46230 grep -v '^ *+' conftest.er1 >conftest.err
46231 rm -f conftest.er1
46232 cat conftest.err >&5
46233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46234 (exit $ac_status); } &&
46235 { ac_try='test -z "$ac_cxx_werror_flag"
46236 || test ! -s conftest.err'
46237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46238 (eval $ac_try) 2>&5
46239 ac_status=$?
46240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46241 (exit $ac_status); }; } &&
46242 { ac_try='test -s conftest.$ac_objext'
46243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46244 (eval $ac_try) 2>&5
46245 ac_status=$?
46246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46247 (exit $ac_status); }; }; then
46248 glibcxx_cv_func__powl_use=yes
46249 else
46250 echo "$as_me: failed program was:" >&5
46251 sed 's/^/| /' conftest.$ac_ext >&5
46253 glibcxx_cv_func__powl_use=no
46255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46256 ac_ext=c
46257 ac_cpp='$CPP $CPPFLAGS'
46258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46266 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46267 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46269 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46271 for ac_func in _powl
46273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46274 echo "$as_me:$LINENO: checking for $ac_func" >&5
46275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46276 if eval "test \"\${$as_ac_var+set}\" = set"; then
46277 echo $ECHO_N "(cached) $ECHO_C" >&6
46278 else
46279 if test x$gcc_no_link = xyes; then
46280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46282 { (exit 1); exit 1; }; }
46284 cat >conftest.$ac_ext <<_ACEOF
46285 /* confdefs.h. */
46286 _ACEOF
46287 cat confdefs.h >>conftest.$ac_ext
46288 cat >>conftest.$ac_ext <<_ACEOF
46289 /* end confdefs.h. */
46290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46292 #define $ac_func innocuous_$ac_func
46294 /* System header to define __stub macros and hopefully few prototypes,
46295 which can conflict with char $ac_func (); below.
46296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46297 <limits.h> exists even on freestanding compilers. */
46299 #ifdef __STDC__
46300 # include <limits.h>
46301 #else
46302 # include <assert.h>
46303 #endif
46305 #undef $ac_func
46307 /* Override any gcc2 internal prototype to avoid an error. */
46308 #ifdef __cplusplus
46309 extern "C"
46311 #endif
46312 /* We use char because int might match the return type of a gcc2
46313 builtin and then its argument prototype would still apply. */
46314 char $ac_func ();
46315 /* The GNU C library defines this for functions which it implements
46316 to always fail with ENOSYS. Some functions are actually named
46317 something starting with __ and the normal name is an alias. */
46318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46319 choke me
46320 #else
46321 char (*f) () = $ac_func;
46322 #endif
46323 #ifdef __cplusplus
46325 #endif
46328 main ()
46330 return f != $ac_func;
46332 return 0;
46334 _ACEOF
46335 rm -f conftest.$ac_objext conftest$ac_exeext
46336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46337 (eval $ac_link) 2>conftest.er1
46338 ac_status=$?
46339 grep -v '^ *+' conftest.er1 >conftest.err
46340 rm -f conftest.er1
46341 cat conftest.err >&5
46342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46343 (exit $ac_status); } &&
46344 { ac_try='test -z "$ac_c_werror_flag"
46345 || test ! -s conftest.err'
46346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46347 (eval $ac_try) 2>&5
46348 ac_status=$?
46349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46350 (exit $ac_status); }; } &&
46351 { ac_try='test -s conftest$ac_exeext'
46352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46353 (eval $ac_try) 2>&5
46354 ac_status=$?
46355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46356 (exit $ac_status); }; }; then
46357 eval "$as_ac_var=yes"
46358 else
46359 echo "$as_me: failed program was:" >&5
46360 sed 's/^/| /' conftest.$ac_ext >&5
46362 eval "$as_ac_var=no"
46364 rm -f conftest.err conftest.$ac_objext \
46365 conftest$ac_exeext conftest.$ac_ext
46367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46369 if test `eval echo '${'$as_ac_var'}'` = yes; then
46370 cat >>confdefs.h <<_ACEOF
46371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46372 _ACEOF
46375 done
46382 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46383 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46384 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46385 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46386 echo $ECHO_N "(cached) $ECHO_C" >&6
46387 else
46391 ac_ext=cc
46392 ac_cpp='$CXXCPP $CPPFLAGS'
46393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46397 cat >conftest.$ac_ext <<_ACEOF
46398 /* confdefs.h. */
46399 _ACEOF
46400 cat confdefs.h >>conftest.$ac_ext
46401 cat >>conftest.$ac_ext <<_ACEOF
46402 /* end confdefs.h. */
46403 #include <math.h>
46404 #ifdef HAVE_IEEEFP_H
46405 #include <ieeefp.h>
46406 #endif
46409 main ()
46411 sqrtl(0);
46413 return 0;
46415 _ACEOF
46416 rm -f conftest.$ac_objext
46417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46418 (eval $ac_compile) 2>conftest.er1
46419 ac_status=$?
46420 grep -v '^ *+' conftest.er1 >conftest.err
46421 rm -f conftest.er1
46422 cat conftest.err >&5
46423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46424 (exit $ac_status); } &&
46425 { ac_try='test -z "$ac_cxx_werror_flag"
46426 || test ! -s conftest.err'
46427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46428 (eval $ac_try) 2>&5
46429 ac_status=$?
46430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46431 (exit $ac_status); }; } &&
46432 { ac_try='test -s conftest.$ac_objext'
46433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46434 (eval $ac_try) 2>&5
46435 ac_status=$?
46436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46437 (exit $ac_status); }; }; then
46438 glibcxx_cv_func_sqrtl_use=yes
46439 else
46440 echo "$as_me: failed program was:" >&5
46441 sed 's/^/| /' conftest.$ac_ext >&5
46443 glibcxx_cv_func_sqrtl_use=no
46445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46446 ac_ext=c
46447 ac_cpp='$CPP $CPPFLAGS'
46448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46457 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46459 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46461 for ac_func in sqrtl
46463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46464 echo "$as_me:$LINENO: checking for $ac_func" >&5
46465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46466 if eval "test \"\${$as_ac_var+set}\" = set"; then
46467 echo $ECHO_N "(cached) $ECHO_C" >&6
46468 else
46469 if test x$gcc_no_link = xyes; then
46470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46472 { (exit 1); exit 1; }; }
46474 cat >conftest.$ac_ext <<_ACEOF
46475 /* confdefs.h. */
46476 _ACEOF
46477 cat confdefs.h >>conftest.$ac_ext
46478 cat >>conftest.$ac_ext <<_ACEOF
46479 /* end confdefs.h. */
46480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46482 #define $ac_func innocuous_$ac_func
46484 /* System header to define __stub macros and hopefully few prototypes,
46485 which can conflict with char $ac_func (); below.
46486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46487 <limits.h> exists even on freestanding compilers. */
46489 #ifdef __STDC__
46490 # include <limits.h>
46491 #else
46492 # include <assert.h>
46493 #endif
46495 #undef $ac_func
46497 /* Override any gcc2 internal prototype to avoid an error. */
46498 #ifdef __cplusplus
46499 extern "C"
46501 #endif
46502 /* We use char because int might match the return type of a gcc2
46503 builtin and then its argument prototype would still apply. */
46504 char $ac_func ();
46505 /* The GNU C library defines this for functions which it implements
46506 to always fail with ENOSYS. Some functions are actually named
46507 something starting with __ and the normal name is an alias. */
46508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46509 choke me
46510 #else
46511 char (*f) () = $ac_func;
46512 #endif
46513 #ifdef __cplusplus
46515 #endif
46518 main ()
46520 return f != $ac_func;
46522 return 0;
46524 _ACEOF
46525 rm -f conftest.$ac_objext conftest$ac_exeext
46526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46527 (eval $ac_link) 2>conftest.er1
46528 ac_status=$?
46529 grep -v '^ *+' conftest.er1 >conftest.err
46530 rm -f conftest.er1
46531 cat conftest.err >&5
46532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46533 (exit $ac_status); } &&
46534 { ac_try='test -z "$ac_c_werror_flag"
46535 || test ! -s conftest.err'
46536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46537 (eval $ac_try) 2>&5
46538 ac_status=$?
46539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46540 (exit $ac_status); }; } &&
46541 { ac_try='test -s conftest$ac_exeext'
46542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46543 (eval $ac_try) 2>&5
46544 ac_status=$?
46545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46546 (exit $ac_status); }; }; then
46547 eval "$as_ac_var=yes"
46548 else
46549 echo "$as_me: failed program was:" >&5
46550 sed 's/^/| /' conftest.$ac_ext >&5
46552 eval "$as_ac_var=no"
46554 rm -f conftest.err conftest.$ac_objext \
46555 conftest$ac_exeext conftest.$ac_ext
46557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46559 if test `eval echo '${'$as_ac_var'}'` = yes; then
46560 cat >>confdefs.h <<_ACEOF
46561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46562 _ACEOF
46565 done
46567 else
46569 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46570 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46571 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46572 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46573 echo $ECHO_N "(cached) $ECHO_C" >&6
46574 else
46578 ac_ext=cc
46579 ac_cpp='$CXXCPP $CPPFLAGS'
46580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46584 cat >conftest.$ac_ext <<_ACEOF
46585 /* confdefs.h. */
46586 _ACEOF
46587 cat confdefs.h >>conftest.$ac_ext
46588 cat >>conftest.$ac_ext <<_ACEOF
46589 /* end confdefs.h. */
46590 #include <math.h>
46591 #ifdef HAVE_IEEEFP_H
46592 #include <ieeefp.h>
46593 #endif
46596 main ()
46598 _sqrtl(0);
46600 return 0;
46602 _ACEOF
46603 rm -f conftest.$ac_objext
46604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46605 (eval $ac_compile) 2>conftest.er1
46606 ac_status=$?
46607 grep -v '^ *+' conftest.er1 >conftest.err
46608 rm -f conftest.er1
46609 cat conftest.err >&5
46610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46611 (exit $ac_status); } &&
46612 { ac_try='test -z "$ac_cxx_werror_flag"
46613 || test ! -s conftest.err'
46614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46615 (eval $ac_try) 2>&5
46616 ac_status=$?
46617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46618 (exit $ac_status); }; } &&
46619 { ac_try='test -s conftest.$ac_objext'
46620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46621 (eval $ac_try) 2>&5
46622 ac_status=$?
46623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46624 (exit $ac_status); }; }; then
46625 glibcxx_cv_func__sqrtl_use=yes
46626 else
46627 echo "$as_me: failed program was:" >&5
46628 sed 's/^/| /' conftest.$ac_ext >&5
46630 glibcxx_cv_func__sqrtl_use=no
46632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46633 ac_ext=c
46634 ac_cpp='$CPP $CPPFLAGS'
46635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46644 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46646 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46648 for ac_func in _sqrtl
46650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46651 echo "$as_me:$LINENO: checking for $ac_func" >&5
46652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46653 if eval "test \"\${$as_ac_var+set}\" = set"; then
46654 echo $ECHO_N "(cached) $ECHO_C" >&6
46655 else
46656 if test x$gcc_no_link = xyes; then
46657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46659 { (exit 1); exit 1; }; }
46661 cat >conftest.$ac_ext <<_ACEOF
46662 /* confdefs.h. */
46663 _ACEOF
46664 cat confdefs.h >>conftest.$ac_ext
46665 cat >>conftest.$ac_ext <<_ACEOF
46666 /* end confdefs.h. */
46667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46669 #define $ac_func innocuous_$ac_func
46671 /* System header to define __stub macros and hopefully few prototypes,
46672 which can conflict with char $ac_func (); below.
46673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46674 <limits.h> exists even on freestanding compilers. */
46676 #ifdef __STDC__
46677 # include <limits.h>
46678 #else
46679 # include <assert.h>
46680 #endif
46682 #undef $ac_func
46684 /* Override any gcc2 internal prototype to avoid an error. */
46685 #ifdef __cplusplus
46686 extern "C"
46688 #endif
46689 /* We use char because int might match the return type of a gcc2
46690 builtin and then its argument prototype would still apply. */
46691 char $ac_func ();
46692 /* The GNU C library defines this for functions which it implements
46693 to always fail with ENOSYS. Some functions are actually named
46694 something starting with __ and the normal name is an alias. */
46695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46696 choke me
46697 #else
46698 char (*f) () = $ac_func;
46699 #endif
46700 #ifdef __cplusplus
46702 #endif
46705 main ()
46707 return f != $ac_func;
46709 return 0;
46711 _ACEOF
46712 rm -f conftest.$ac_objext conftest$ac_exeext
46713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46714 (eval $ac_link) 2>conftest.er1
46715 ac_status=$?
46716 grep -v '^ *+' conftest.er1 >conftest.err
46717 rm -f conftest.er1
46718 cat conftest.err >&5
46719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46720 (exit $ac_status); } &&
46721 { ac_try='test -z "$ac_c_werror_flag"
46722 || test ! -s conftest.err'
46723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46724 (eval $ac_try) 2>&5
46725 ac_status=$?
46726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46727 (exit $ac_status); }; } &&
46728 { ac_try='test -s conftest$ac_exeext'
46729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46730 (eval $ac_try) 2>&5
46731 ac_status=$?
46732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46733 (exit $ac_status); }; }; then
46734 eval "$as_ac_var=yes"
46735 else
46736 echo "$as_me: failed program was:" >&5
46737 sed 's/^/| /' conftest.$ac_ext >&5
46739 eval "$as_ac_var=no"
46741 rm -f conftest.err conftest.$ac_objext \
46742 conftest$ac_exeext conftest.$ac_ext
46744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46746 if test `eval echo '${'$as_ac_var'}'` = yes; then
46747 cat >>confdefs.h <<_ACEOF
46748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46749 _ACEOF
46752 done
46759 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46760 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46761 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46762 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46763 echo $ECHO_N "(cached) $ECHO_C" >&6
46764 else
46768 ac_ext=cc
46769 ac_cpp='$CXXCPP $CPPFLAGS'
46770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46774 cat >conftest.$ac_ext <<_ACEOF
46775 /* confdefs.h. */
46776 _ACEOF
46777 cat confdefs.h >>conftest.$ac_ext
46778 cat >>conftest.$ac_ext <<_ACEOF
46779 /* end confdefs.h. */
46780 #include <math.h>
46782 main ()
46784 sincosl(0, 0, 0);
46786 return 0;
46788 _ACEOF
46789 rm -f conftest.$ac_objext
46790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46791 (eval $ac_compile) 2>conftest.er1
46792 ac_status=$?
46793 grep -v '^ *+' conftest.er1 >conftest.err
46794 rm -f conftest.er1
46795 cat conftest.err >&5
46796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46797 (exit $ac_status); } &&
46798 { ac_try='test -z "$ac_cxx_werror_flag"
46799 || test ! -s conftest.err'
46800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46801 (eval $ac_try) 2>&5
46802 ac_status=$?
46803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46804 (exit $ac_status); }; } &&
46805 { ac_try='test -s conftest.$ac_objext'
46806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46807 (eval $ac_try) 2>&5
46808 ac_status=$?
46809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46810 (exit $ac_status); }; }; then
46811 glibcxx_cv_func_sincosl_use=yes
46812 else
46813 echo "$as_me: failed program was:" >&5
46814 sed 's/^/| /' conftest.$ac_ext >&5
46816 glibcxx_cv_func_sincosl_use=no
46818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46819 ac_ext=c
46820 ac_cpp='$CPP $CPPFLAGS'
46821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46830 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46832 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46834 for ac_func in sincosl
46836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46837 echo "$as_me:$LINENO: checking for $ac_func" >&5
46838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46839 if eval "test \"\${$as_ac_var+set}\" = set"; then
46840 echo $ECHO_N "(cached) $ECHO_C" >&6
46841 else
46842 if test x$gcc_no_link = xyes; then
46843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46845 { (exit 1); exit 1; }; }
46847 cat >conftest.$ac_ext <<_ACEOF
46848 /* confdefs.h. */
46849 _ACEOF
46850 cat confdefs.h >>conftest.$ac_ext
46851 cat >>conftest.$ac_ext <<_ACEOF
46852 /* end confdefs.h. */
46853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46855 #define $ac_func innocuous_$ac_func
46857 /* System header to define __stub macros and hopefully few prototypes,
46858 which can conflict with char $ac_func (); below.
46859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46860 <limits.h> exists even on freestanding compilers. */
46862 #ifdef __STDC__
46863 # include <limits.h>
46864 #else
46865 # include <assert.h>
46866 #endif
46868 #undef $ac_func
46870 /* Override any gcc2 internal prototype to avoid an error. */
46871 #ifdef __cplusplus
46872 extern "C"
46874 #endif
46875 /* We use char because int might match the return type of a gcc2
46876 builtin and then its argument prototype would still apply. */
46877 char $ac_func ();
46878 /* The GNU C library defines this for functions which it implements
46879 to always fail with ENOSYS. Some functions are actually named
46880 something starting with __ and the normal name is an alias. */
46881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46882 choke me
46883 #else
46884 char (*f) () = $ac_func;
46885 #endif
46886 #ifdef __cplusplus
46888 #endif
46891 main ()
46893 return f != $ac_func;
46895 return 0;
46897 _ACEOF
46898 rm -f conftest.$ac_objext conftest$ac_exeext
46899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46900 (eval $ac_link) 2>conftest.er1
46901 ac_status=$?
46902 grep -v '^ *+' conftest.er1 >conftest.err
46903 rm -f conftest.er1
46904 cat conftest.err >&5
46905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46906 (exit $ac_status); } &&
46907 { ac_try='test -z "$ac_c_werror_flag"
46908 || test ! -s conftest.err'
46909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46910 (eval $ac_try) 2>&5
46911 ac_status=$?
46912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46913 (exit $ac_status); }; } &&
46914 { ac_try='test -s conftest$ac_exeext'
46915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46916 (eval $ac_try) 2>&5
46917 ac_status=$?
46918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46919 (exit $ac_status); }; }; then
46920 eval "$as_ac_var=yes"
46921 else
46922 echo "$as_me: failed program was:" >&5
46923 sed 's/^/| /' conftest.$ac_ext >&5
46925 eval "$as_ac_var=no"
46927 rm -f conftest.err conftest.$ac_objext \
46928 conftest$ac_exeext conftest.$ac_ext
46930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46932 if test `eval echo '${'$as_ac_var'}'` = yes; then
46933 cat >>confdefs.h <<_ACEOF
46934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46935 _ACEOF
46938 done
46940 else
46942 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46943 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46944 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46945 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46946 echo $ECHO_N "(cached) $ECHO_C" >&6
46947 else
46951 ac_ext=cc
46952 ac_cpp='$CXXCPP $CPPFLAGS'
46953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46957 cat >conftest.$ac_ext <<_ACEOF
46958 /* confdefs.h. */
46959 _ACEOF
46960 cat confdefs.h >>conftest.$ac_ext
46961 cat >>conftest.$ac_ext <<_ACEOF
46962 /* end confdefs.h. */
46963 #include <math.h>
46965 main ()
46967 _sincosl(0, 0, 0);
46969 return 0;
46971 _ACEOF
46972 rm -f conftest.$ac_objext
46973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46974 (eval $ac_compile) 2>conftest.er1
46975 ac_status=$?
46976 grep -v '^ *+' conftest.er1 >conftest.err
46977 rm -f conftest.er1
46978 cat conftest.err >&5
46979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46980 (exit $ac_status); } &&
46981 { ac_try='test -z "$ac_cxx_werror_flag"
46982 || test ! -s conftest.err'
46983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46984 (eval $ac_try) 2>&5
46985 ac_status=$?
46986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46987 (exit $ac_status); }; } &&
46988 { ac_try='test -s conftest.$ac_objext'
46989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46990 (eval $ac_try) 2>&5
46991 ac_status=$?
46992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46993 (exit $ac_status); }; }; then
46994 glibcxx_cv_func__sincosl_use=yes
46995 else
46996 echo "$as_me: failed program was:" >&5
46997 sed 's/^/| /' conftest.$ac_ext >&5
46999 glibcxx_cv_func__sincosl_use=no
47001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47002 ac_ext=c
47003 ac_cpp='$CPP $CPPFLAGS'
47004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47013 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47015 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47017 for ac_func in _sincosl
47019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47020 echo "$as_me:$LINENO: checking for $ac_func" >&5
47021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47022 if eval "test \"\${$as_ac_var+set}\" = set"; then
47023 echo $ECHO_N "(cached) $ECHO_C" >&6
47024 else
47025 if test x$gcc_no_link = xyes; then
47026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47028 { (exit 1); exit 1; }; }
47030 cat >conftest.$ac_ext <<_ACEOF
47031 /* confdefs.h. */
47032 _ACEOF
47033 cat confdefs.h >>conftest.$ac_ext
47034 cat >>conftest.$ac_ext <<_ACEOF
47035 /* end confdefs.h. */
47036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47038 #define $ac_func innocuous_$ac_func
47040 /* System header to define __stub macros and hopefully few prototypes,
47041 which can conflict with char $ac_func (); below.
47042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47043 <limits.h> exists even on freestanding compilers. */
47045 #ifdef __STDC__
47046 # include <limits.h>
47047 #else
47048 # include <assert.h>
47049 #endif
47051 #undef $ac_func
47053 /* Override any gcc2 internal prototype to avoid an error. */
47054 #ifdef __cplusplus
47055 extern "C"
47057 #endif
47058 /* We use char because int might match the return type of a gcc2
47059 builtin and then its argument prototype would still apply. */
47060 char $ac_func ();
47061 /* The GNU C library defines this for functions which it implements
47062 to always fail with ENOSYS. Some functions are actually named
47063 something starting with __ and the normal name is an alias. */
47064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47065 choke me
47066 #else
47067 char (*f) () = $ac_func;
47068 #endif
47069 #ifdef __cplusplus
47071 #endif
47074 main ()
47076 return f != $ac_func;
47078 return 0;
47080 _ACEOF
47081 rm -f conftest.$ac_objext conftest$ac_exeext
47082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47083 (eval $ac_link) 2>conftest.er1
47084 ac_status=$?
47085 grep -v '^ *+' conftest.er1 >conftest.err
47086 rm -f conftest.er1
47087 cat conftest.err >&5
47088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47089 (exit $ac_status); } &&
47090 { ac_try='test -z "$ac_c_werror_flag"
47091 || test ! -s conftest.err'
47092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47093 (eval $ac_try) 2>&5
47094 ac_status=$?
47095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47096 (exit $ac_status); }; } &&
47097 { ac_try='test -s conftest$ac_exeext'
47098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47099 (eval $ac_try) 2>&5
47100 ac_status=$?
47101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47102 (exit $ac_status); }; }; then
47103 eval "$as_ac_var=yes"
47104 else
47105 echo "$as_me: failed program was:" >&5
47106 sed 's/^/| /' conftest.$ac_ext >&5
47108 eval "$as_ac_var=no"
47110 rm -f conftest.err conftest.$ac_objext \
47111 conftest$ac_exeext conftest.$ac_ext
47113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47115 if test `eval echo '${'$as_ac_var'}'` = yes; then
47116 cat >>confdefs.h <<_ACEOF
47117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47118 _ACEOF
47121 done
47128 echo "$as_me:$LINENO: checking for finitel declaration" >&5
47129 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47130 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47131 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47132 echo $ECHO_N "(cached) $ECHO_C" >&6
47133 else
47137 ac_ext=cc
47138 ac_cpp='$CXXCPP $CPPFLAGS'
47139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47143 cat >conftest.$ac_ext <<_ACEOF
47144 /* confdefs.h. */
47145 _ACEOF
47146 cat confdefs.h >>conftest.$ac_ext
47147 cat >>conftest.$ac_ext <<_ACEOF
47148 /* end confdefs.h. */
47149 #include <math.h>
47150 #ifdef HAVE_IEEEFP_H
47151 #include <ieeefp.h>
47152 #endif
47155 main ()
47157 finitel(0);
47159 return 0;
47161 _ACEOF
47162 rm -f conftest.$ac_objext
47163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47164 (eval $ac_compile) 2>conftest.er1
47165 ac_status=$?
47166 grep -v '^ *+' conftest.er1 >conftest.err
47167 rm -f conftest.er1
47168 cat conftest.err >&5
47169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47170 (exit $ac_status); } &&
47171 { ac_try='test -z "$ac_cxx_werror_flag"
47172 || test ! -s conftest.err'
47173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47174 (eval $ac_try) 2>&5
47175 ac_status=$?
47176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47177 (exit $ac_status); }; } &&
47178 { ac_try='test -s conftest.$ac_objext'
47179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47180 (eval $ac_try) 2>&5
47181 ac_status=$?
47182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47183 (exit $ac_status); }; }; then
47184 glibcxx_cv_func_finitel_use=yes
47185 else
47186 echo "$as_me: failed program was:" >&5
47187 sed 's/^/| /' conftest.$ac_ext >&5
47189 glibcxx_cv_func_finitel_use=no
47191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47192 ac_ext=c
47193 ac_cpp='$CPP $CPPFLAGS'
47194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47203 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47205 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47207 for ac_func in finitel
47209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47210 echo "$as_me:$LINENO: checking for $ac_func" >&5
47211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47212 if eval "test \"\${$as_ac_var+set}\" = set"; then
47213 echo $ECHO_N "(cached) $ECHO_C" >&6
47214 else
47215 if test x$gcc_no_link = xyes; then
47216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47218 { (exit 1); exit 1; }; }
47220 cat >conftest.$ac_ext <<_ACEOF
47221 /* confdefs.h. */
47222 _ACEOF
47223 cat confdefs.h >>conftest.$ac_ext
47224 cat >>conftest.$ac_ext <<_ACEOF
47225 /* end confdefs.h. */
47226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47228 #define $ac_func innocuous_$ac_func
47230 /* System header to define __stub macros and hopefully few prototypes,
47231 which can conflict with char $ac_func (); below.
47232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47233 <limits.h> exists even on freestanding compilers. */
47235 #ifdef __STDC__
47236 # include <limits.h>
47237 #else
47238 # include <assert.h>
47239 #endif
47241 #undef $ac_func
47243 /* Override any gcc2 internal prototype to avoid an error. */
47244 #ifdef __cplusplus
47245 extern "C"
47247 #endif
47248 /* We use char because int might match the return type of a gcc2
47249 builtin and then its argument prototype would still apply. */
47250 char $ac_func ();
47251 /* The GNU C library defines this for functions which it implements
47252 to always fail with ENOSYS. Some functions are actually named
47253 something starting with __ and the normal name is an alias. */
47254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47255 choke me
47256 #else
47257 char (*f) () = $ac_func;
47258 #endif
47259 #ifdef __cplusplus
47261 #endif
47264 main ()
47266 return f != $ac_func;
47268 return 0;
47270 _ACEOF
47271 rm -f conftest.$ac_objext conftest$ac_exeext
47272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47273 (eval $ac_link) 2>conftest.er1
47274 ac_status=$?
47275 grep -v '^ *+' conftest.er1 >conftest.err
47276 rm -f conftest.er1
47277 cat conftest.err >&5
47278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47279 (exit $ac_status); } &&
47280 { ac_try='test -z "$ac_c_werror_flag"
47281 || test ! -s conftest.err'
47282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47283 (eval $ac_try) 2>&5
47284 ac_status=$?
47285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47286 (exit $ac_status); }; } &&
47287 { ac_try='test -s conftest$ac_exeext'
47288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47289 (eval $ac_try) 2>&5
47290 ac_status=$?
47291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47292 (exit $ac_status); }; }; then
47293 eval "$as_ac_var=yes"
47294 else
47295 echo "$as_me: failed program was:" >&5
47296 sed 's/^/| /' conftest.$ac_ext >&5
47298 eval "$as_ac_var=no"
47300 rm -f conftest.err conftest.$ac_objext \
47301 conftest$ac_exeext conftest.$ac_ext
47303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47305 if test `eval echo '${'$as_ac_var'}'` = yes; then
47306 cat >>confdefs.h <<_ACEOF
47307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47308 _ACEOF
47311 done
47313 else
47315 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47316 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47317 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47318 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47319 echo $ECHO_N "(cached) $ECHO_C" >&6
47320 else
47324 ac_ext=cc
47325 ac_cpp='$CXXCPP $CPPFLAGS'
47326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47330 cat >conftest.$ac_ext <<_ACEOF
47331 /* confdefs.h. */
47332 _ACEOF
47333 cat confdefs.h >>conftest.$ac_ext
47334 cat >>conftest.$ac_ext <<_ACEOF
47335 /* end confdefs.h. */
47336 #include <math.h>
47337 #ifdef HAVE_IEEEFP_H
47338 #include <ieeefp.h>
47339 #endif
47342 main ()
47344 _finitel(0);
47346 return 0;
47348 _ACEOF
47349 rm -f conftest.$ac_objext
47350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47351 (eval $ac_compile) 2>conftest.er1
47352 ac_status=$?
47353 grep -v '^ *+' conftest.er1 >conftest.err
47354 rm -f conftest.er1
47355 cat conftest.err >&5
47356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47357 (exit $ac_status); } &&
47358 { ac_try='test -z "$ac_cxx_werror_flag"
47359 || test ! -s conftest.err'
47360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47361 (eval $ac_try) 2>&5
47362 ac_status=$?
47363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47364 (exit $ac_status); }; } &&
47365 { ac_try='test -s conftest.$ac_objext'
47366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47367 (eval $ac_try) 2>&5
47368 ac_status=$?
47369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47370 (exit $ac_status); }; }; then
47371 glibcxx_cv_func__finitel_use=yes
47372 else
47373 echo "$as_me: failed program was:" >&5
47374 sed 's/^/| /' conftest.$ac_ext >&5
47376 glibcxx_cv_func__finitel_use=no
47378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47379 ac_ext=c
47380 ac_cpp='$CPP $CPPFLAGS'
47381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47389 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47390 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47392 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47394 for ac_func in _finitel
47396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47397 echo "$as_me:$LINENO: checking for $ac_func" >&5
47398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47399 if eval "test \"\${$as_ac_var+set}\" = set"; then
47400 echo $ECHO_N "(cached) $ECHO_C" >&6
47401 else
47402 if test x$gcc_no_link = xyes; then
47403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47405 { (exit 1); exit 1; }; }
47407 cat >conftest.$ac_ext <<_ACEOF
47408 /* confdefs.h. */
47409 _ACEOF
47410 cat confdefs.h >>conftest.$ac_ext
47411 cat >>conftest.$ac_ext <<_ACEOF
47412 /* end confdefs.h. */
47413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47415 #define $ac_func innocuous_$ac_func
47417 /* System header to define __stub macros and hopefully few prototypes,
47418 which can conflict with char $ac_func (); below.
47419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47420 <limits.h> exists even on freestanding compilers. */
47422 #ifdef __STDC__
47423 # include <limits.h>
47424 #else
47425 # include <assert.h>
47426 #endif
47428 #undef $ac_func
47430 /* Override any gcc2 internal prototype to avoid an error. */
47431 #ifdef __cplusplus
47432 extern "C"
47434 #endif
47435 /* We use char because int might match the return type of a gcc2
47436 builtin and then its argument prototype would still apply. */
47437 char $ac_func ();
47438 /* The GNU C library defines this for functions which it implements
47439 to always fail with ENOSYS. Some functions are actually named
47440 something starting with __ and the normal name is an alias. */
47441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47442 choke me
47443 #else
47444 char (*f) () = $ac_func;
47445 #endif
47446 #ifdef __cplusplus
47448 #endif
47451 main ()
47453 return f != $ac_func;
47455 return 0;
47457 _ACEOF
47458 rm -f conftest.$ac_objext conftest$ac_exeext
47459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47460 (eval $ac_link) 2>conftest.er1
47461 ac_status=$?
47462 grep -v '^ *+' conftest.er1 >conftest.err
47463 rm -f conftest.er1
47464 cat conftest.err >&5
47465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47466 (exit $ac_status); } &&
47467 { ac_try='test -z "$ac_c_werror_flag"
47468 || test ! -s conftest.err'
47469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47470 (eval $ac_try) 2>&5
47471 ac_status=$?
47472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47473 (exit $ac_status); }; } &&
47474 { ac_try='test -s conftest$ac_exeext'
47475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47476 (eval $ac_try) 2>&5
47477 ac_status=$?
47478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47479 (exit $ac_status); }; }; then
47480 eval "$as_ac_var=yes"
47481 else
47482 echo "$as_me: failed program was:" >&5
47483 sed 's/^/| /' conftest.$ac_ext >&5
47485 eval "$as_ac_var=no"
47487 rm -f conftest.err conftest.$ac_objext \
47488 conftest$ac_exeext conftest.$ac_ext
47490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47492 if test `eval echo '${'$as_ac_var'}'` = yes; then
47493 cat >>confdefs.h <<_ACEOF
47494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47495 _ACEOF
47498 done
47506 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47507 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47508 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47509 echo $ECHO_N "(cached) $ECHO_C" >&6
47510 else
47514 ac_ext=cc
47515 ac_cpp='$CXXCPP $CPPFLAGS'
47516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47520 cat >conftest.$ac_ext <<_ACEOF
47521 /* confdefs.h. */
47522 _ACEOF
47523 cat confdefs.h >>conftest.$ac_ext
47524 cat >>conftest.$ac_ext <<_ACEOF
47525 /* end confdefs.h. */
47526 #include <math.h>
47528 main ()
47530 `for x in _acosf _asinf _atanf \
47531 _cosf _sinf _tanf \
47532 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47534 return 0;
47536 _ACEOF
47537 rm -f conftest.$ac_objext
47538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47539 (eval $ac_compile) 2>conftest.er1
47540 ac_status=$?
47541 grep -v '^ *+' conftest.er1 >conftest.err
47542 rm -f conftest.er1
47543 cat conftest.err >&5
47544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47545 (exit $ac_status); } &&
47546 { ac_try='test -z "$ac_cxx_werror_flag"
47547 || test ! -s conftest.err'
47548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47549 (eval $ac_try) 2>&5
47550 ac_status=$?
47551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47552 (exit $ac_status); }; } &&
47553 { ac_try='test -s conftest.$ac_objext'
47554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47555 (eval $ac_try) 2>&5
47556 ac_status=$?
47557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47558 (exit $ac_status); }; }; then
47559 glibcxx_cv_func__float_trig_use=yes
47560 else
47561 echo "$as_me: failed program was:" >&5
47562 sed 's/^/| /' conftest.$ac_ext >&5
47564 glibcxx_cv_func__float_trig_use=no
47566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47567 ac_ext=c
47568 ac_cpp='$CPP $CPPFLAGS'
47569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47575 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47576 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47577 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47587 for ac_func in _acosf _asinf _atanf \
47588 _cosf _sinf _tanf \
47589 _coshf _sinhf _tanhf
47591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47592 echo "$as_me:$LINENO: checking for $ac_func" >&5
47593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47594 if eval "test \"\${$as_ac_var+set}\" = set"; then
47595 echo $ECHO_N "(cached) $ECHO_C" >&6
47596 else
47597 if test x$gcc_no_link = xyes; then
47598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47600 { (exit 1); exit 1; }; }
47602 cat >conftest.$ac_ext <<_ACEOF
47603 /* confdefs.h. */
47604 _ACEOF
47605 cat confdefs.h >>conftest.$ac_ext
47606 cat >>conftest.$ac_ext <<_ACEOF
47607 /* end confdefs.h. */
47608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47610 #define $ac_func innocuous_$ac_func
47612 /* System header to define __stub macros and hopefully few prototypes,
47613 which can conflict with char $ac_func (); below.
47614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47615 <limits.h> exists even on freestanding compilers. */
47617 #ifdef __STDC__
47618 # include <limits.h>
47619 #else
47620 # include <assert.h>
47621 #endif
47623 #undef $ac_func
47625 /* Override any gcc2 internal prototype to avoid an error. */
47626 #ifdef __cplusplus
47627 extern "C"
47629 #endif
47630 /* We use char because int might match the return type of a gcc2
47631 builtin and then its argument prototype would still apply. */
47632 char $ac_func ();
47633 /* The GNU C library defines this for functions which it implements
47634 to always fail with ENOSYS. Some functions are actually named
47635 something starting with __ and the normal name is an alias. */
47636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47637 choke me
47638 #else
47639 char (*f) () = $ac_func;
47640 #endif
47641 #ifdef __cplusplus
47643 #endif
47646 main ()
47648 return f != $ac_func;
47650 return 0;
47652 _ACEOF
47653 rm -f conftest.$ac_objext conftest$ac_exeext
47654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47655 (eval $ac_link) 2>conftest.er1
47656 ac_status=$?
47657 grep -v '^ *+' conftest.er1 >conftest.err
47658 rm -f conftest.er1
47659 cat conftest.err >&5
47660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47661 (exit $ac_status); } &&
47662 { ac_try='test -z "$ac_c_werror_flag"
47663 || test ! -s conftest.err'
47664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47665 (eval $ac_try) 2>&5
47666 ac_status=$?
47667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47668 (exit $ac_status); }; } &&
47669 { ac_try='test -s conftest$ac_exeext'
47670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47671 (eval $ac_try) 2>&5
47672 ac_status=$?
47673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47674 (exit $ac_status); }; }; then
47675 eval "$as_ac_var=yes"
47676 else
47677 echo "$as_me: failed program was:" >&5
47678 sed 's/^/| /' conftest.$ac_ext >&5
47680 eval "$as_ac_var=no"
47682 rm -f conftest.err conftest.$ac_objext \
47683 conftest$ac_exeext conftest.$ac_ext
47685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47687 if test `eval echo '${'$as_ac_var'}'` = yes; then
47688 cat >>confdefs.h <<_ACEOF
47689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47690 _ACEOF
47693 done
47698 echo "$as_me:$LINENO: checking for _float round functions" >&5
47699 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47700 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47701 echo $ECHO_N "(cached) $ECHO_C" >&6
47702 else
47706 ac_ext=cc
47707 ac_cpp='$CXXCPP $CPPFLAGS'
47708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47712 cat >conftest.$ac_ext <<_ACEOF
47713 /* confdefs.h. */
47714 _ACEOF
47715 cat confdefs.h >>conftest.$ac_ext
47716 cat >>conftest.$ac_ext <<_ACEOF
47717 /* end confdefs.h. */
47718 #include <math.h>
47720 main ()
47722 `for x in _ceilf _floorf; do echo "$x (0);"; done`
47724 return 0;
47726 _ACEOF
47727 rm -f conftest.$ac_objext
47728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47729 (eval $ac_compile) 2>conftest.er1
47730 ac_status=$?
47731 grep -v '^ *+' conftest.er1 >conftest.err
47732 rm -f conftest.er1
47733 cat conftest.err >&5
47734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47735 (exit $ac_status); } &&
47736 { ac_try='test -z "$ac_cxx_werror_flag"
47737 || test ! -s conftest.err'
47738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47739 (eval $ac_try) 2>&5
47740 ac_status=$?
47741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47742 (exit $ac_status); }; } &&
47743 { ac_try='test -s conftest.$ac_objext'
47744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47745 (eval $ac_try) 2>&5
47746 ac_status=$?
47747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47748 (exit $ac_status); }; }; then
47749 glibcxx_cv_func__float_round_use=yes
47750 else
47751 echo "$as_me: failed program was:" >&5
47752 sed 's/^/| /' conftest.$ac_ext >&5
47754 glibcxx_cv_func__float_round_use=no
47756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47757 ac_ext=c
47758 ac_cpp='$CPP $CPPFLAGS'
47759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47766 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47767 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47770 for ac_func in _ceilf _floorf
47772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47773 echo "$as_me:$LINENO: checking for $ac_func" >&5
47774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47775 if eval "test \"\${$as_ac_var+set}\" = set"; then
47776 echo $ECHO_N "(cached) $ECHO_C" >&6
47777 else
47778 if test x$gcc_no_link = xyes; then
47779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47781 { (exit 1); exit 1; }; }
47783 cat >conftest.$ac_ext <<_ACEOF
47784 /* confdefs.h. */
47785 _ACEOF
47786 cat confdefs.h >>conftest.$ac_ext
47787 cat >>conftest.$ac_ext <<_ACEOF
47788 /* end confdefs.h. */
47789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47791 #define $ac_func innocuous_$ac_func
47793 /* System header to define __stub macros and hopefully few prototypes,
47794 which can conflict with char $ac_func (); below.
47795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47796 <limits.h> exists even on freestanding compilers. */
47798 #ifdef __STDC__
47799 # include <limits.h>
47800 #else
47801 # include <assert.h>
47802 #endif
47804 #undef $ac_func
47806 /* Override any gcc2 internal prototype to avoid an error. */
47807 #ifdef __cplusplus
47808 extern "C"
47810 #endif
47811 /* We use char because int might match the return type of a gcc2
47812 builtin and then its argument prototype would still apply. */
47813 char $ac_func ();
47814 /* The GNU C library defines this for functions which it implements
47815 to always fail with ENOSYS. Some functions are actually named
47816 something starting with __ and the normal name is an alias. */
47817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47818 choke me
47819 #else
47820 char (*f) () = $ac_func;
47821 #endif
47822 #ifdef __cplusplus
47824 #endif
47827 main ()
47829 return f != $ac_func;
47831 return 0;
47833 _ACEOF
47834 rm -f conftest.$ac_objext conftest$ac_exeext
47835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47836 (eval $ac_link) 2>conftest.er1
47837 ac_status=$?
47838 grep -v '^ *+' conftest.er1 >conftest.err
47839 rm -f conftest.er1
47840 cat conftest.err >&5
47841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47842 (exit $ac_status); } &&
47843 { ac_try='test -z "$ac_c_werror_flag"
47844 || test ! -s conftest.err'
47845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47846 (eval $ac_try) 2>&5
47847 ac_status=$?
47848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47849 (exit $ac_status); }; } &&
47850 { ac_try='test -s conftest$ac_exeext'
47851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47852 (eval $ac_try) 2>&5
47853 ac_status=$?
47854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47855 (exit $ac_status); }; }; then
47856 eval "$as_ac_var=yes"
47857 else
47858 echo "$as_me: failed program was:" >&5
47859 sed 's/^/| /' conftest.$ac_ext >&5
47861 eval "$as_ac_var=no"
47863 rm -f conftest.err conftest.$ac_objext \
47864 conftest$ac_exeext conftest.$ac_ext
47866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47868 if test `eval echo '${'$as_ac_var'}'` = yes; then
47869 cat >>confdefs.h <<_ACEOF
47870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47871 _ACEOF
47874 done
47880 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47881 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47882 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47883 echo $ECHO_N "(cached) $ECHO_C" >&6
47884 else
47888 ac_ext=cc
47889 ac_cpp='$CXXCPP $CPPFLAGS'
47890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47894 cat >conftest.$ac_ext <<_ACEOF
47895 /* confdefs.h. */
47896 _ACEOF
47897 cat confdefs.h >>conftest.$ac_ext
47898 cat >>conftest.$ac_ext <<_ACEOF
47899 /* end confdefs.h. */
47900 #include <math.h>
47902 main ()
47904 `for x in _acosl _asinl _atanl \
47905 _cosl _sinl _tanl \
47906 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47908 return 0;
47910 _ACEOF
47911 rm -f conftest.$ac_objext
47912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47913 (eval $ac_compile) 2>conftest.er1
47914 ac_status=$?
47915 grep -v '^ *+' conftest.er1 >conftest.err
47916 rm -f conftest.er1
47917 cat conftest.err >&5
47918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47919 (exit $ac_status); } &&
47920 { ac_try='test -z "$ac_cxx_werror_flag"
47921 || test ! -s conftest.err'
47922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47923 (eval $ac_try) 2>&5
47924 ac_status=$?
47925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47926 (exit $ac_status); }; } &&
47927 { ac_try='test -s conftest.$ac_objext'
47928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47929 (eval $ac_try) 2>&5
47930 ac_status=$?
47931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47932 (exit $ac_status); }; }; then
47933 glibcxx_cv_func__long_double_trig_use=yes
47934 else
47935 echo "$as_me: failed program was:" >&5
47936 sed 's/^/| /' conftest.$ac_ext >&5
47938 glibcxx_cv_func__long_double_trig_use=no
47940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47941 ac_ext=c
47942 ac_cpp='$CPP $CPPFLAGS'
47943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47949 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47950 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47951 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47961 for ac_func in _acosl _asinl _atanl \
47962 _cosl _sinl _tanl \
47963 _coshl _sinhl _tanhl
47965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47966 echo "$as_me:$LINENO: checking for $ac_func" >&5
47967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47968 if eval "test \"\${$as_ac_var+set}\" = set"; then
47969 echo $ECHO_N "(cached) $ECHO_C" >&6
47970 else
47971 if test x$gcc_no_link = xyes; then
47972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47974 { (exit 1); exit 1; }; }
47976 cat >conftest.$ac_ext <<_ACEOF
47977 /* confdefs.h. */
47978 _ACEOF
47979 cat confdefs.h >>conftest.$ac_ext
47980 cat >>conftest.$ac_ext <<_ACEOF
47981 /* end confdefs.h. */
47982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47984 #define $ac_func innocuous_$ac_func
47986 /* System header to define __stub macros and hopefully few prototypes,
47987 which can conflict with char $ac_func (); below.
47988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47989 <limits.h> exists even on freestanding compilers. */
47991 #ifdef __STDC__
47992 # include <limits.h>
47993 #else
47994 # include <assert.h>
47995 #endif
47997 #undef $ac_func
47999 /* Override any gcc2 internal prototype to avoid an error. */
48000 #ifdef __cplusplus
48001 extern "C"
48003 #endif
48004 /* We use char because int might match the return type of a gcc2
48005 builtin and then its argument prototype would still apply. */
48006 char $ac_func ();
48007 /* The GNU C library defines this for functions which it implements
48008 to always fail with ENOSYS. Some functions are actually named
48009 something starting with __ and the normal name is an alias. */
48010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48011 choke me
48012 #else
48013 char (*f) () = $ac_func;
48014 #endif
48015 #ifdef __cplusplus
48017 #endif
48020 main ()
48022 return f != $ac_func;
48024 return 0;
48026 _ACEOF
48027 rm -f conftest.$ac_objext conftest$ac_exeext
48028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48029 (eval $ac_link) 2>conftest.er1
48030 ac_status=$?
48031 grep -v '^ *+' conftest.er1 >conftest.err
48032 rm -f conftest.er1
48033 cat conftest.err >&5
48034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48035 (exit $ac_status); } &&
48036 { ac_try='test -z "$ac_c_werror_flag"
48037 || test ! -s conftest.err'
48038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48039 (eval $ac_try) 2>&5
48040 ac_status=$?
48041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48042 (exit $ac_status); }; } &&
48043 { ac_try='test -s conftest$ac_exeext'
48044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48045 (eval $ac_try) 2>&5
48046 ac_status=$?
48047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48048 (exit $ac_status); }; }; then
48049 eval "$as_ac_var=yes"
48050 else
48051 echo "$as_me: failed program was:" >&5
48052 sed 's/^/| /' conftest.$ac_ext >&5
48054 eval "$as_ac_var=no"
48056 rm -f conftest.err conftest.$ac_objext \
48057 conftest$ac_exeext conftest.$ac_ext
48059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48061 if test `eval echo '${'$as_ac_var'}'` = yes; then
48062 cat >>confdefs.h <<_ACEOF
48063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48064 _ACEOF
48067 done
48072 echo "$as_me:$LINENO: checking for _long double round functions" >&5
48073 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48074 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48075 echo $ECHO_N "(cached) $ECHO_C" >&6
48076 else
48080 ac_ext=cc
48081 ac_cpp='$CXXCPP $CPPFLAGS'
48082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48086 cat >conftest.$ac_ext <<_ACEOF
48087 /* confdefs.h. */
48088 _ACEOF
48089 cat confdefs.h >>conftest.$ac_ext
48090 cat >>conftest.$ac_ext <<_ACEOF
48091 /* end confdefs.h. */
48092 #include <math.h>
48094 main ()
48096 `for x in _ceill _floorl; do echo "$x (0);"; done`
48098 return 0;
48100 _ACEOF
48101 rm -f conftest.$ac_objext
48102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48103 (eval $ac_compile) 2>conftest.er1
48104 ac_status=$?
48105 grep -v '^ *+' conftest.er1 >conftest.err
48106 rm -f conftest.er1
48107 cat conftest.err >&5
48108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48109 (exit $ac_status); } &&
48110 { ac_try='test -z "$ac_cxx_werror_flag"
48111 || test ! -s conftest.err'
48112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48113 (eval $ac_try) 2>&5
48114 ac_status=$?
48115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48116 (exit $ac_status); }; } &&
48117 { ac_try='test -s conftest.$ac_objext'
48118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48119 (eval $ac_try) 2>&5
48120 ac_status=$?
48121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48122 (exit $ac_status); }; }; then
48123 glibcxx_cv_func__long_double_round_use=yes
48124 else
48125 echo "$as_me: failed program was:" >&5
48126 sed 's/^/| /' conftest.$ac_ext >&5
48128 glibcxx_cv_func__long_double_round_use=no
48130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48131 ac_ext=c
48132 ac_cpp='$CPP $CPPFLAGS'
48133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48140 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48141 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48144 for ac_func in _ceill _floorl
48146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48147 echo "$as_me:$LINENO: checking for $ac_func" >&5
48148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48149 if eval "test \"\${$as_ac_var+set}\" = set"; then
48150 echo $ECHO_N "(cached) $ECHO_C" >&6
48151 else
48152 if test x$gcc_no_link = xyes; then
48153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48155 { (exit 1); exit 1; }; }
48157 cat >conftest.$ac_ext <<_ACEOF
48158 /* confdefs.h. */
48159 _ACEOF
48160 cat confdefs.h >>conftest.$ac_ext
48161 cat >>conftest.$ac_ext <<_ACEOF
48162 /* end confdefs.h. */
48163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48165 #define $ac_func innocuous_$ac_func
48167 /* System header to define __stub macros and hopefully few prototypes,
48168 which can conflict with char $ac_func (); below.
48169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48170 <limits.h> exists even on freestanding compilers. */
48172 #ifdef __STDC__
48173 # include <limits.h>
48174 #else
48175 # include <assert.h>
48176 #endif
48178 #undef $ac_func
48180 /* Override any gcc2 internal prototype to avoid an error. */
48181 #ifdef __cplusplus
48182 extern "C"
48184 #endif
48185 /* We use char because int might match the return type of a gcc2
48186 builtin and then its argument prototype would still apply. */
48187 char $ac_func ();
48188 /* The GNU C library defines this for functions which it implements
48189 to always fail with ENOSYS. Some functions are actually named
48190 something starting with __ and the normal name is an alias. */
48191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48192 choke me
48193 #else
48194 char (*f) () = $ac_func;
48195 #endif
48196 #ifdef __cplusplus
48198 #endif
48201 main ()
48203 return f != $ac_func;
48205 return 0;
48207 _ACEOF
48208 rm -f conftest.$ac_objext conftest$ac_exeext
48209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48210 (eval $ac_link) 2>conftest.er1
48211 ac_status=$?
48212 grep -v '^ *+' conftest.er1 >conftest.err
48213 rm -f conftest.er1
48214 cat conftest.err >&5
48215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48216 (exit $ac_status); } &&
48217 { ac_try='test -z "$ac_c_werror_flag"
48218 || test ! -s conftest.err'
48219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48220 (eval $ac_try) 2>&5
48221 ac_status=$?
48222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48223 (exit $ac_status); }; } &&
48224 { ac_try='test -s conftest$ac_exeext'
48225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48226 (eval $ac_try) 2>&5
48227 ac_status=$?
48228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48229 (exit $ac_status); }; }; then
48230 eval "$as_ac_var=yes"
48231 else
48232 echo "$as_me: failed program was:" >&5
48233 sed 's/^/| /' conftest.$ac_ext >&5
48235 eval "$as_ac_var=no"
48237 rm -f conftest.err conftest.$ac_objext \
48238 conftest$ac_exeext conftest.$ac_ext
48240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48242 if test `eval echo '${'$as_ac_var'}'` = yes; then
48243 cat >>confdefs.h <<_ACEOF
48244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48245 _ACEOF
48248 done
48253 LIBS="$ac_save_LIBS"
48254 CXXFLAGS="$ac_save_CXXFLAGS"
48258 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48259 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48260 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48261 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48262 echo $ECHO_N "(cached) $ECHO_C" >&6
48263 else
48267 ac_ext=cc
48268 ac_cpp='$CXXCPP $CPPFLAGS'
48269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48273 cat >conftest.$ac_ext <<_ACEOF
48274 /* confdefs.h. */
48275 _ACEOF
48276 cat confdefs.h >>conftest.$ac_ext
48277 cat >>conftest.$ac_ext <<_ACEOF
48278 /* end confdefs.h. */
48279 #include <math.h>
48281 main ()
48283 __builtin_abs(0);
48285 return 0;
48287 _ACEOF
48288 rm -f conftest.$ac_objext
48289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48290 (eval $ac_compile) 2>conftest.er1
48291 ac_status=$?
48292 grep -v '^ *+' conftest.er1 >conftest.err
48293 rm -f conftest.er1
48294 cat conftest.err >&5
48295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48296 (exit $ac_status); } &&
48297 { ac_try='test -z "$ac_cxx_werror_flag"
48298 || test ! -s conftest.err'
48299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48300 (eval $ac_try) 2>&5
48301 ac_status=$?
48302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48303 (exit $ac_status); }; } &&
48304 { ac_try='test -s conftest.$ac_objext'
48305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48306 (eval $ac_try) 2>&5
48307 ac_status=$?
48308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48309 (exit $ac_status); }; }; then
48310 glibcxx_cv_func___builtin_abs_use=yes
48311 else
48312 echo "$as_me: failed program was:" >&5
48313 sed 's/^/| /' conftest.$ac_ext >&5
48315 glibcxx_cv_func___builtin_abs_use=no
48317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48318 ac_ext=c
48319 ac_cpp='$CPP $CPPFLAGS'
48320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48328 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48329 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48330 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48331 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48332 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48333 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48334 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48335 echo $ECHO_N "(cached) $ECHO_C" >&6
48336 else
48338 if test x$gcc_no_link = xyes; then
48339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48341 { (exit 1); exit 1; }; }
48343 cat >conftest.$ac_ext <<_ACEOF
48344 /* confdefs.h. */
48345 _ACEOF
48346 cat confdefs.h >>conftest.$ac_ext
48347 cat >>conftest.$ac_ext <<_ACEOF
48348 /* end confdefs.h. */
48349 #include <math.h>
48351 main ()
48353 __builtin_abs(0);
48355 return 0;
48357 _ACEOF
48358 rm -f conftest.$ac_objext conftest$ac_exeext
48359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48360 (eval $ac_link) 2>conftest.er1
48361 ac_status=$?
48362 grep -v '^ *+' conftest.er1 >conftest.err
48363 rm -f conftest.er1
48364 cat conftest.err >&5
48365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48366 (exit $ac_status); } &&
48367 { ac_try='test -z "$ac_c_werror_flag"
48368 || test ! -s conftest.err'
48369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48370 (eval $ac_try) 2>&5
48371 ac_status=$?
48372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48373 (exit $ac_status); }; } &&
48374 { ac_try='test -s conftest$ac_exeext'
48375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48376 (eval $ac_try) 2>&5
48377 ac_status=$?
48378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48379 (exit $ac_status); }; }; then
48380 glibcxx_cv_func___builtin_abs_link=yes
48381 else
48382 echo "$as_me: failed program was:" >&5
48383 sed 's/^/| /' conftest.$ac_ext >&5
48385 glibcxx_cv_func___builtin_abs_link=no
48387 rm -f conftest.err conftest.$ac_objext \
48388 conftest$ac_exeext conftest.$ac_ext
48393 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48394 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48395 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48396 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48398 cat >>confdefs.h <<_ACEOF
48399 #define ${ac_tr_func} 1
48400 _ACEOF
48406 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48407 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48408 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48409 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48410 echo $ECHO_N "(cached) $ECHO_C" >&6
48411 else
48415 ac_ext=cc
48416 ac_cpp='$CXXCPP $CPPFLAGS'
48417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48421 cat >conftest.$ac_ext <<_ACEOF
48422 /* confdefs.h. */
48423 _ACEOF
48424 cat confdefs.h >>conftest.$ac_ext
48425 cat >>conftest.$ac_ext <<_ACEOF
48426 /* end confdefs.h. */
48427 #include <math.h>
48429 main ()
48431 __builtin_fabsf(0);
48433 return 0;
48435 _ACEOF
48436 rm -f conftest.$ac_objext
48437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48438 (eval $ac_compile) 2>conftest.er1
48439 ac_status=$?
48440 grep -v '^ *+' conftest.er1 >conftest.err
48441 rm -f conftest.er1
48442 cat conftest.err >&5
48443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48444 (exit $ac_status); } &&
48445 { ac_try='test -z "$ac_cxx_werror_flag"
48446 || test ! -s conftest.err'
48447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48448 (eval $ac_try) 2>&5
48449 ac_status=$?
48450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48451 (exit $ac_status); }; } &&
48452 { ac_try='test -s conftest.$ac_objext'
48453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48454 (eval $ac_try) 2>&5
48455 ac_status=$?
48456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48457 (exit $ac_status); }; }; then
48458 glibcxx_cv_func___builtin_fabsf_use=yes
48459 else
48460 echo "$as_me: failed program was:" >&5
48461 sed 's/^/| /' conftest.$ac_ext >&5
48463 glibcxx_cv_func___builtin_fabsf_use=no
48465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48466 ac_ext=c
48467 ac_cpp='$CPP $CPPFLAGS'
48468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48476 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48477 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48478 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48479 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48480 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48481 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48482 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48483 echo $ECHO_N "(cached) $ECHO_C" >&6
48484 else
48486 if test x$gcc_no_link = xyes; then
48487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48489 { (exit 1); exit 1; }; }
48491 cat >conftest.$ac_ext <<_ACEOF
48492 /* confdefs.h. */
48493 _ACEOF
48494 cat confdefs.h >>conftest.$ac_ext
48495 cat >>conftest.$ac_ext <<_ACEOF
48496 /* end confdefs.h. */
48497 #include <math.h>
48499 main ()
48501 __builtin_fabsf(0);
48503 return 0;
48505 _ACEOF
48506 rm -f conftest.$ac_objext conftest$ac_exeext
48507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48508 (eval $ac_link) 2>conftest.er1
48509 ac_status=$?
48510 grep -v '^ *+' conftest.er1 >conftest.err
48511 rm -f conftest.er1
48512 cat conftest.err >&5
48513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48514 (exit $ac_status); } &&
48515 { ac_try='test -z "$ac_c_werror_flag"
48516 || test ! -s conftest.err'
48517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48518 (eval $ac_try) 2>&5
48519 ac_status=$?
48520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48521 (exit $ac_status); }; } &&
48522 { ac_try='test -s conftest$ac_exeext'
48523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48524 (eval $ac_try) 2>&5
48525 ac_status=$?
48526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48527 (exit $ac_status); }; }; then
48528 glibcxx_cv_func___builtin_fabsf_link=yes
48529 else
48530 echo "$as_me: failed program was:" >&5
48531 sed 's/^/| /' conftest.$ac_ext >&5
48533 glibcxx_cv_func___builtin_fabsf_link=no
48535 rm -f conftest.err conftest.$ac_objext \
48536 conftest$ac_exeext conftest.$ac_ext
48541 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48542 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48543 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48544 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48546 cat >>confdefs.h <<_ACEOF
48547 #define ${ac_tr_func} 1
48548 _ACEOF
48554 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48555 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48556 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48557 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48558 echo $ECHO_N "(cached) $ECHO_C" >&6
48559 else
48563 ac_ext=cc
48564 ac_cpp='$CXXCPP $CPPFLAGS'
48565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48569 cat >conftest.$ac_ext <<_ACEOF
48570 /* confdefs.h. */
48571 _ACEOF
48572 cat confdefs.h >>conftest.$ac_ext
48573 cat >>conftest.$ac_ext <<_ACEOF
48574 /* end confdefs.h. */
48575 #include <math.h>
48577 main ()
48579 __builtin_fabs(0);
48581 return 0;
48583 _ACEOF
48584 rm -f conftest.$ac_objext
48585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48586 (eval $ac_compile) 2>conftest.er1
48587 ac_status=$?
48588 grep -v '^ *+' conftest.er1 >conftest.err
48589 rm -f conftest.er1
48590 cat conftest.err >&5
48591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48592 (exit $ac_status); } &&
48593 { ac_try='test -z "$ac_cxx_werror_flag"
48594 || test ! -s conftest.err'
48595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48596 (eval $ac_try) 2>&5
48597 ac_status=$?
48598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48599 (exit $ac_status); }; } &&
48600 { ac_try='test -s conftest.$ac_objext'
48601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48602 (eval $ac_try) 2>&5
48603 ac_status=$?
48604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48605 (exit $ac_status); }; }; then
48606 glibcxx_cv_func___builtin_fabs_use=yes
48607 else
48608 echo "$as_me: failed program was:" >&5
48609 sed 's/^/| /' conftest.$ac_ext >&5
48611 glibcxx_cv_func___builtin_fabs_use=no
48613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48614 ac_ext=c
48615 ac_cpp='$CPP $CPPFLAGS'
48616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48624 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48625 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48626 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48627 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48628 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48629 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48630 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48631 echo $ECHO_N "(cached) $ECHO_C" >&6
48632 else
48634 if test x$gcc_no_link = xyes; then
48635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48637 { (exit 1); exit 1; }; }
48639 cat >conftest.$ac_ext <<_ACEOF
48640 /* confdefs.h. */
48641 _ACEOF
48642 cat confdefs.h >>conftest.$ac_ext
48643 cat >>conftest.$ac_ext <<_ACEOF
48644 /* end confdefs.h. */
48645 #include <math.h>
48647 main ()
48649 __builtin_fabs(0);
48651 return 0;
48653 _ACEOF
48654 rm -f conftest.$ac_objext conftest$ac_exeext
48655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48656 (eval $ac_link) 2>conftest.er1
48657 ac_status=$?
48658 grep -v '^ *+' conftest.er1 >conftest.err
48659 rm -f conftest.er1
48660 cat conftest.err >&5
48661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48662 (exit $ac_status); } &&
48663 { ac_try='test -z "$ac_c_werror_flag"
48664 || test ! -s conftest.err'
48665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48666 (eval $ac_try) 2>&5
48667 ac_status=$?
48668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48669 (exit $ac_status); }; } &&
48670 { ac_try='test -s conftest$ac_exeext'
48671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48672 (eval $ac_try) 2>&5
48673 ac_status=$?
48674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48675 (exit $ac_status); }; }; then
48676 glibcxx_cv_func___builtin_fabs_link=yes
48677 else
48678 echo "$as_me: failed program was:" >&5
48679 sed 's/^/| /' conftest.$ac_ext >&5
48681 glibcxx_cv_func___builtin_fabs_link=no
48683 rm -f conftest.err conftest.$ac_objext \
48684 conftest$ac_exeext conftest.$ac_ext
48689 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48690 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48691 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48692 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48694 cat >>confdefs.h <<_ACEOF
48695 #define ${ac_tr_func} 1
48696 _ACEOF
48702 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48703 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48704 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48705 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48706 echo $ECHO_N "(cached) $ECHO_C" >&6
48707 else
48711 ac_ext=cc
48712 ac_cpp='$CXXCPP $CPPFLAGS'
48713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48717 cat >conftest.$ac_ext <<_ACEOF
48718 /* confdefs.h. */
48719 _ACEOF
48720 cat confdefs.h >>conftest.$ac_ext
48721 cat >>conftest.$ac_ext <<_ACEOF
48722 /* end confdefs.h. */
48723 #include <math.h>
48725 main ()
48727 __builtin_fabsl(0);
48729 return 0;
48731 _ACEOF
48732 rm -f conftest.$ac_objext
48733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48734 (eval $ac_compile) 2>conftest.er1
48735 ac_status=$?
48736 grep -v '^ *+' conftest.er1 >conftest.err
48737 rm -f conftest.er1
48738 cat conftest.err >&5
48739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48740 (exit $ac_status); } &&
48741 { ac_try='test -z "$ac_cxx_werror_flag"
48742 || test ! -s conftest.err'
48743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48744 (eval $ac_try) 2>&5
48745 ac_status=$?
48746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48747 (exit $ac_status); }; } &&
48748 { ac_try='test -s conftest.$ac_objext'
48749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48750 (eval $ac_try) 2>&5
48751 ac_status=$?
48752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48753 (exit $ac_status); }; }; then
48754 glibcxx_cv_func___builtin_fabsl_use=yes
48755 else
48756 echo "$as_me: failed program was:" >&5
48757 sed 's/^/| /' conftest.$ac_ext >&5
48759 glibcxx_cv_func___builtin_fabsl_use=no
48761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48762 ac_ext=c
48763 ac_cpp='$CPP $CPPFLAGS'
48764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48772 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48773 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48774 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48775 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48776 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48777 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48778 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48779 echo $ECHO_N "(cached) $ECHO_C" >&6
48780 else
48782 if test x$gcc_no_link = xyes; then
48783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48785 { (exit 1); exit 1; }; }
48787 cat >conftest.$ac_ext <<_ACEOF
48788 /* confdefs.h. */
48789 _ACEOF
48790 cat confdefs.h >>conftest.$ac_ext
48791 cat >>conftest.$ac_ext <<_ACEOF
48792 /* end confdefs.h. */
48793 #include <math.h>
48795 main ()
48797 __builtin_fabsl(0);
48799 return 0;
48801 _ACEOF
48802 rm -f conftest.$ac_objext conftest$ac_exeext
48803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48804 (eval $ac_link) 2>conftest.er1
48805 ac_status=$?
48806 grep -v '^ *+' conftest.er1 >conftest.err
48807 rm -f conftest.er1
48808 cat conftest.err >&5
48809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48810 (exit $ac_status); } &&
48811 { ac_try='test -z "$ac_c_werror_flag"
48812 || test ! -s conftest.err'
48813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48814 (eval $ac_try) 2>&5
48815 ac_status=$?
48816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48817 (exit $ac_status); }; } &&
48818 { ac_try='test -s conftest$ac_exeext'
48819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48820 (eval $ac_try) 2>&5
48821 ac_status=$?
48822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48823 (exit $ac_status); }; }; then
48824 glibcxx_cv_func___builtin_fabsl_link=yes
48825 else
48826 echo "$as_me: failed program was:" >&5
48827 sed 's/^/| /' conftest.$ac_ext >&5
48829 glibcxx_cv_func___builtin_fabsl_link=no
48831 rm -f conftest.err conftest.$ac_objext \
48832 conftest$ac_exeext conftest.$ac_ext
48837 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48838 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48839 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48840 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48842 cat >>confdefs.h <<_ACEOF
48843 #define ${ac_tr_func} 1
48844 _ACEOF
48850 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48851 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48852 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48853 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48854 echo $ECHO_N "(cached) $ECHO_C" >&6
48855 else
48859 ac_ext=cc
48860 ac_cpp='$CXXCPP $CPPFLAGS'
48861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48865 cat >conftest.$ac_ext <<_ACEOF
48866 /* confdefs.h. */
48867 _ACEOF
48868 cat confdefs.h >>conftest.$ac_ext
48869 cat >>conftest.$ac_ext <<_ACEOF
48870 /* end confdefs.h. */
48871 #include <math.h>
48873 main ()
48875 __builtin_labs(0);
48877 return 0;
48879 _ACEOF
48880 rm -f conftest.$ac_objext
48881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48882 (eval $ac_compile) 2>conftest.er1
48883 ac_status=$?
48884 grep -v '^ *+' conftest.er1 >conftest.err
48885 rm -f conftest.er1
48886 cat conftest.err >&5
48887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48888 (exit $ac_status); } &&
48889 { ac_try='test -z "$ac_cxx_werror_flag"
48890 || test ! -s conftest.err'
48891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48892 (eval $ac_try) 2>&5
48893 ac_status=$?
48894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48895 (exit $ac_status); }; } &&
48896 { ac_try='test -s conftest.$ac_objext'
48897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48898 (eval $ac_try) 2>&5
48899 ac_status=$?
48900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48901 (exit $ac_status); }; }; then
48902 glibcxx_cv_func___builtin_labs_use=yes
48903 else
48904 echo "$as_me: failed program was:" >&5
48905 sed 's/^/| /' conftest.$ac_ext >&5
48907 glibcxx_cv_func___builtin_labs_use=no
48909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48910 ac_ext=c
48911 ac_cpp='$CPP $CPPFLAGS'
48912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48920 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48921 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48922 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48923 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48924 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48925 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48926 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48927 echo $ECHO_N "(cached) $ECHO_C" >&6
48928 else
48930 if test x$gcc_no_link = xyes; then
48931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48933 { (exit 1); exit 1; }; }
48935 cat >conftest.$ac_ext <<_ACEOF
48936 /* confdefs.h. */
48937 _ACEOF
48938 cat confdefs.h >>conftest.$ac_ext
48939 cat >>conftest.$ac_ext <<_ACEOF
48940 /* end confdefs.h. */
48941 #include <math.h>
48943 main ()
48945 __builtin_labs(0);
48947 return 0;
48949 _ACEOF
48950 rm -f conftest.$ac_objext conftest$ac_exeext
48951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48952 (eval $ac_link) 2>conftest.er1
48953 ac_status=$?
48954 grep -v '^ *+' conftest.er1 >conftest.err
48955 rm -f conftest.er1
48956 cat conftest.err >&5
48957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48958 (exit $ac_status); } &&
48959 { ac_try='test -z "$ac_c_werror_flag"
48960 || test ! -s conftest.err'
48961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48962 (eval $ac_try) 2>&5
48963 ac_status=$?
48964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48965 (exit $ac_status); }; } &&
48966 { ac_try='test -s conftest$ac_exeext'
48967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48968 (eval $ac_try) 2>&5
48969 ac_status=$?
48970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48971 (exit $ac_status); }; }; then
48972 glibcxx_cv_func___builtin_labs_link=yes
48973 else
48974 echo "$as_me: failed program was:" >&5
48975 sed 's/^/| /' conftest.$ac_ext >&5
48977 glibcxx_cv_func___builtin_labs_link=no
48979 rm -f conftest.err conftest.$ac_objext \
48980 conftest$ac_exeext conftest.$ac_ext
48985 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48986 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48987 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48988 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48990 cat >>confdefs.h <<_ACEOF
48991 #define ${ac_tr_func} 1
48992 _ACEOF
48999 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49000 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49001 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49002 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49003 echo $ECHO_N "(cached) $ECHO_C" >&6
49004 else
49008 ac_ext=cc
49009 ac_cpp='$CXXCPP $CPPFLAGS'
49010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49014 cat >conftest.$ac_ext <<_ACEOF
49015 /* confdefs.h. */
49016 _ACEOF
49017 cat confdefs.h >>conftest.$ac_ext
49018 cat >>conftest.$ac_ext <<_ACEOF
49019 /* end confdefs.h. */
49020 #include <math.h>
49022 main ()
49024 __builtin_sqrtf(0);
49026 return 0;
49028 _ACEOF
49029 rm -f conftest.$ac_objext
49030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49031 (eval $ac_compile) 2>conftest.er1
49032 ac_status=$?
49033 grep -v '^ *+' conftest.er1 >conftest.err
49034 rm -f conftest.er1
49035 cat conftest.err >&5
49036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49037 (exit $ac_status); } &&
49038 { ac_try='test -z "$ac_cxx_werror_flag"
49039 || test ! -s conftest.err'
49040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49041 (eval $ac_try) 2>&5
49042 ac_status=$?
49043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49044 (exit $ac_status); }; } &&
49045 { ac_try='test -s conftest.$ac_objext'
49046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49047 (eval $ac_try) 2>&5
49048 ac_status=$?
49049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49050 (exit $ac_status); }; }; then
49051 glibcxx_cv_func___builtin_sqrtf_use=yes
49052 else
49053 echo "$as_me: failed program was:" >&5
49054 sed 's/^/| /' conftest.$ac_ext >&5
49056 glibcxx_cv_func___builtin_sqrtf_use=no
49058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49059 ac_ext=c
49060 ac_cpp='$CPP $CPPFLAGS'
49061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49069 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49070 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49071 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49072 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49073 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49074 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49075 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49076 echo $ECHO_N "(cached) $ECHO_C" >&6
49077 else
49079 if test x$gcc_no_link = xyes; then
49080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49082 { (exit 1); exit 1; }; }
49084 cat >conftest.$ac_ext <<_ACEOF
49085 /* confdefs.h. */
49086 _ACEOF
49087 cat confdefs.h >>conftest.$ac_ext
49088 cat >>conftest.$ac_ext <<_ACEOF
49089 /* end confdefs.h. */
49090 #include <math.h>
49092 main ()
49094 __builtin_sqrtf(0);
49096 return 0;
49098 _ACEOF
49099 rm -f conftest.$ac_objext conftest$ac_exeext
49100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49101 (eval $ac_link) 2>conftest.er1
49102 ac_status=$?
49103 grep -v '^ *+' conftest.er1 >conftest.err
49104 rm -f conftest.er1
49105 cat conftest.err >&5
49106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49107 (exit $ac_status); } &&
49108 { ac_try='test -z "$ac_c_werror_flag"
49109 || test ! -s conftest.err'
49110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49111 (eval $ac_try) 2>&5
49112 ac_status=$?
49113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49114 (exit $ac_status); }; } &&
49115 { ac_try='test -s conftest$ac_exeext'
49116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49117 (eval $ac_try) 2>&5
49118 ac_status=$?
49119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49120 (exit $ac_status); }; }; then
49121 glibcxx_cv_func___builtin_sqrtf_link=yes
49122 else
49123 echo "$as_me: failed program was:" >&5
49124 sed 's/^/| /' conftest.$ac_ext >&5
49126 glibcxx_cv_func___builtin_sqrtf_link=no
49128 rm -f conftest.err conftest.$ac_objext \
49129 conftest$ac_exeext conftest.$ac_ext
49134 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49135 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49136 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49137 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49139 cat >>confdefs.h <<_ACEOF
49140 #define ${ac_tr_func} 1
49141 _ACEOF
49147 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49148 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49149 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49150 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49151 echo $ECHO_N "(cached) $ECHO_C" >&6
49152 else
49156 ac_ext=cc
49157 ac_cpp='$CXXCPP $CPPFLAGS'
49158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49162 cat >conftest.$ac_ext <<_ACEOF
49163 /* confdefs.h. */
49164 _ACEOF
49165 cat confdefs.h >>conftest.$ac_ext
49166 cat >>conftest.$ac_ext <<_ACEOF
49167 /* end confdefs.h. */
49168 #include <math.h>
49170 main ()
49172 __builtin_sqrt(0);
49174 return 0;
49176 _ACEOF
49177 rm -f conftest.$ac_objext
49178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49179 (eval $ac_compile) 2>conftest.er1
49180 ac_status=$?
49181 grep -v '^ *+' conftest.er1 >conftest.err
49182 rm -f conftest.er1
49183 cat conftest.err >&5
49184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49185 (exit $ac_status); } &&
49186 { ac_try='test -z "$ac_cxx_werror_flag"
49187 || test ! -s conftest.err'
49188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49189 (eval $ac_try) 2>&5
49190 ac_status=$?
49191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49192 (exit $ac_status); }; } &&
49193 { ac_try='test -s conftest.$ac_objext'
49194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49195 (eval $ac_try) 2>&5
49196 ac_status=$?
49197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49198 (exit $ac_status); }; }; then
49199 glibcxx_cv_func___builtin_sqrt_use=yes
49200 else
49201 echo "$as_me: failed program was:" >&5
49202 sed 's/^/| /' conftest.$ac_ext >&5
49204 glibcxx_cv_func___builtin_sqrt_use=no
49206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49207 ac_ext=c
49208 ac_cpp='$CPP $CPPFLAGS'
49209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49217 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49218 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49219 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49220 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49221 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49222 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49223 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49224 echo $ECHO_N "(cached) $ECHO_C" >&6
49225 else
49227 if test x$gcc_no_link = xyes; then
49228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49230 { (exit 1); exit 1; }; }
49232 cat >conftest.$ac_ext <<_ACEOF
49233 /* confdefs.h. */
49234 _ACEOF
49235 cat confdefs.h >>conftest.$ac_ext
49236 cat >>conftest.$ac_ext <<_ACEOF
49237 /* end confdefs.h. */
49238 #include <math.h>
49240 main ()
49242 __builtin_sqrt(0);
49244 return 0;
49246 _ACEOF
49247 rm -f conftest.$ac_objext conftest$ac_exeext
49248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49249 (eval $ac_link) 2>conftest.er1
49250 ac_status=$?
49251 grep -v '^ *+' conftest.er1 >conftest.err
49252 rm -f conftest.er1
49253 cat conftest.err >&5
49254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49255 (exit $ac_status); } &&
49256 { ac_try='test -z "$ac_c_werror_flag"
49257 || test ! -s conftest.err'
49258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49259 (eval $ac_try) 2>&5
49260 ac_status=$?
49261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49262 (exit $ac_status); }; } &&
49263 { ac_try='test -s conftest$ac_exeext'
49264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49265 (eval $ac_try) 2>&5
49266 ac_status=$?
49267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49268 (exit $ac_status); }; }; then
49269 glibcxx_cv_func___builtin_sqrt_link=yes
49270 else
49271 echo "$as_me: failed program was:" >&5
49272 sed 's/^/| /' conftest.$ac_ext >&5
49274 glibcxx_cv_func___builtin_sqrt_link=no
49276 rm -f conftest.err conftest.$ac_objext \
49277 conftest$ac_exeext conftest.$ac_ext
49282 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49283 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49284 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49285 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49287 cat >>confdefs.h <<_ACEOF
49288 #define ${ac_tr_func} 1
49289 _ACEOF
49295 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49296 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49297 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49298 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49299 echo $ECHO_N "(cached) $ECHO_C" >&6
49300 else
49304 ac_ext=cc
49305 ac_cpp='$CXXCPP $CPPFLAGS'
49306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49310 cat >conftest.$ac_ext <<_ACEOF
49311 /* confdefs.h. */
49312 _ACEOF
49313 cat confdefs.h >>conftest.$ac_ext
49314 cat >>conftest.$ac_ext <<_ACEOF
49315 /* end confdefs.h. */
49316 #include <math.h>
49318 main ()
49320 __builtin_sqrtl(0);
49322 return 0;
49324 _ACEOF
49325 rm -f conftest.$ac_objext
49326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49327 (eval $ac_compile) 2>conftest.er1
49328 ac_status=$?
49329 grep -v '^ *+' conftest.er1 >conftest.err
49330 rm -f conftest.er1
49331 cat conftest.err >&5
49332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49333 (exit $ac_status); } &&
49334 { ac_try='test -z "$ac_cxx_werror_flag"
49335 || test ! -s conftest.err'
49336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49337 (eval $ac_try) 2>&5
49338 ac_status=$?
49339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49340 (exit $ac_status); }; } &&
49341 { ac_try='test -s conftest.$ac_objext'
49342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49343 (eval $ac_try) 2>&5
49344 ac_status=$?
49345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49346 (exit $ac_status); }; }; then
49347 glibcxx_cv_func___builtin_sqrtl_use=yes
49348 else
49349 echo "$as_me: failed program was:" >&5
49350 sed 's/^/| /' conftest.$ac_ext >&5
49352 glibcxx_cv_func___builtin_sqrtl_use=no
49354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49355 ac_ext=c
49356 ac_cpp='$CPP $CPPFLAGS'
49357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49365 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49366 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49367 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49368 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49369 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49370 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49371 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49372 echo $ECHO_N "(cached) $ECHO_C" >&6
49373 else
49375 if test x$gcc_no_link = xyes; then
49376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49378 { (exit 1); exit 1; }; }
49380 cat >conftest.$ac_ext <<_ACEOF
49381 /* confdefs.h. */
49382 _ACEOF
49383 cat confdefs.h >>conftest.$ac_ext
49384 cat >>conftest.$ac_ext <<_ACEOF
49385 /* end confdefs.h. */
49386 #include <math.h>
49388 main ()
49390 __builtin_sqrtl(0);
49392 return 0;
49394 _ACEOF
49395 rm -f conftest.$ac_objext conftest$ac_exeext
49396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49397 (eval $ac_link) 2>conftest.er1
49398 ac_status=$?
49399 grep -v '^ *+' conftest.er1 >conftest.err
49400 rm -f conftest.er1
49401 cat conftest.err >&5
49402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49403 (exit $ac_status); } &&
49404 { ac_try='test -z "$ac_c_werror_flag"
49405 || test ! -s conftest.err'
49406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49407 (eval $ac_try) 2>&5
49408 ac_status=$?
49409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49410 (exit $ac_status); }; } &&
49411 { ac_try='test -s conftest$ac_exeext'
49412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49413 (eval $ac_try) 2>&5
49414 ac_status=$?
49415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49416 (exit $ac_status); }; }; then
49417 glibcxx_cv_func___builtin_sqrtl_link=yes
49418 else
49419 echo "$as_me: failed program was:" >&5
49420 sed 's/^/| /' conftest.$ac_ext >&5
49422 glibcxx_cv_func___builtin_sqrtl_link=no
49424 rm -f conftest.err conftest.$ac_objext \
49425 conftest$ac_exeext conftest.$ac_ext
49430 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49431 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49432 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49433 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49435 cat >>confdefs.h <<_ACEOF
49436 #define ${ac_tr_func} 1
49437 _ACEOF
49444 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49445 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49446 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49447 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49448 echo $ECHO_N "(cached) $ECHO_C" >&6
49449 else
49453 ac_ext=cc
49454 ac_cpp='$CXXCPP $CPPFLAGS'
49455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49459 cat >conftest.$ac_ext <<_ACEOF
49460 /* confdefs.h. */
49461 _ACEOF
49462 cat confdefs.h >>conftest.$ac_ext
49463 cat >>conftest.$ac_ext <<_ACEOF
49464 /* end confdefs.h. */
49465 #include <math.h>
49467 main ()
49469 __builtin_sinf(0);
49471 return 0;
49473 _ACEOF
49474 rm -f conftest.$ac_objext
49475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49476 (eval $ac_compile) 2>conftest.er1
49477 ac_status=$?
49478 grep -v '^ *+' conftest.er1 >conftest.err
49479 rm -f conftest.er1
49480 cat conftest.err >&5
49481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49482 (exit $ac_status); } &&
49483 { ac_try='test -z "$ac_cxx_werror_flag"
49484 || test ! -s conftest.err'
49485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49486 (eval $ac_try) 2>&5
49487 ac_status=$?
49488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49489 (exit $ac_status); }; } &&
49490 { ac_try='test -s conftest.$ac_objext'
49491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49492 (eval $ac_try) 2>&5
49493 ac_status=$?
49494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49495 (exit $ac_status); }; }; then
49496 glibcxx_cv_func___builtin_sinf_use=yes
49497 else
49498 echo "$as_me: failed program was:" >&5
49499 sed 's/^/| /' conftest.$ac_ext >&5
49501 glibcxx_cv_func___builtin_sinf_use=no
49503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49504 ac_ext=c
49505 ac_cpp='$CPP $CPPFLAGS'
49506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49514 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49515 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49516 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49517 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49518 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49519 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49520 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49521 echo $ECHO_N "(cached) $ECHO_C" >&6
49522 else
49524 if test x$gcc_no_link = xyes; then
49525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49527 { (exit 1); exit 1; }; }
49529 cat >conftest.$ac_ext <<_ACEOF
49530 /* confdefs.h. */
49531 _ACEOF
49532 cat confdefs.h >>conftest.$ac_ext
49533 cat >>conftest.$ac_ext <<_ACEOF
49534 /* end confdefs.h. */
49535 #include <math.h>
49537 main ()
49539 __builtin_sinf(0);
49541 return 0;
49543 _ACEOF
49544 rm -f conftest.$ac_objext conftest$ac_exeext
49545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49546 (eval $ac_link) 2>conftest.er1
49547 ac_status=$?
49548 grep -v '^ *+' conftest.er1 >conftest.err
49549 rm -f conftest.er1
49550 cat conftest.err >&5
49551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49552 (exit $ac_status); } &&
49553 { ac_try='test -z "$ac_c_werror_flag"
49554 || test ! -s conftest.err'
49555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49556 (eval $ac_try) 2>&5
49557 ac_status=$?
49558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49559 (exit $ac_status); }; } &&
49560 { ac_try='test -s conftest$ac_exeext'
49561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49562 (eval $ac_try) 2>&5
49563 ac_status=$?
49564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49565 (exit $ac_status); }; }; then
49566 glibcxx_cv_func___builtin_sinf_link=yes
49567 else
49568 echo "$as_me: failed program was:" >&5
49569 sed 's/^/| /' conftest.$ac_ext >&5
49571 glibcxx_cv_func___builtin_sinf_link=no
49573 rm -f conftest.err conftest.$ac_objext \
49574 conftest$ac_exeext conftest.$ac_ext
49579 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49580 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49581 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49582 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49584 cat >>confdefs.h <<_ACEOF
49585 #define ${ac_tr_func} 1
49586 _ACEOF
49592 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49593 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49594 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49595 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49596 echo $ECHO_N "(cached) $ECHO_C" >&6
49597 else
49601 ac_ext=cc
49602 ac_cpp='$CXXCPP $CPPFLAGS'
49603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49607 cat >conftest.$ac_ext <<_ACEOF
49608 /* confdefs.h. */
49609 _ACEOF
49610 cat confdefs.h >>conftest.$ac_ext
49611 cat >>conftest.$ac_ext <<_ACEOF
49612 /* end confdefs.h. */
49613 #include <math.h>
49615 main ()
49617 __builtin_sin(0);
49619 return 0;
49621 _ACEOF
49622 rm -f conftest.$ac_objext
49623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49624 (eval $ac_compile) 2>conftest.er1
49625 ac_status=$?
49626 grep -v '^ *+' conftest.er1 >conftest.err
49627 rm -f conftest.er1
49628 cat conftest.err >&5
49629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49630 (exit $ac_status); } &&
49631 { ac_try='test -z "$ac_cxx_werror_flag"
49632 || test ! -s conftest.err'
49633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49634 (eval $ac_try) 2>&5
49635 ac_status=$?
49636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49637 (exit $ac_status); }; } &&
49638 { ac_try='test -s conftest.$ac_objext'
49639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49640 (eval $ac_try) 2>&5
49641 ac_status=$?
49642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49643 (exit $ac_status); }; }; then
49644 glibcxx_cv_func___builtin_sin_use=yes
49645 else
49646 echo "$as_me: failed program was:" >&5
49647 sed 's/^/| /' conftest.$ac_ext >&5
49649 glibcxx_cv_func___builtin_sin_use=no
49651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49652 ac_ext=c
49653 ac_cpp='$CPP $CPPFLAGS'
49654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49662 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49663 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49664 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49665 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49666 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49667 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49668 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49669 echo $ECHO_N "(cached) $ECHO_C" >&6
49670 else
49672 if test x$gcc_no_link = xyes; then
49673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49675 { (exit 1); exit 1; }; }
49677 cat >conftest.$ac_ext <<_ACEOF
49678 /* confdefs.h. */
49679 _ACEOF
49680 cat confdefs.h >>conftest.$ac_ext
49681 cat >>conftest.$ac_ext <<_ACEOF
49682 /* end confdefs.h. */
49683 #include <math.h>
49685 main ()
49687 __builtin_sin(0);
49689 return 0;
49691 _ACEOF
49692 rm -f conftest.$ac_objext conftest$ac_exeext
49693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49694 (eval $ac_link) 2>conftest.er1
49695 ac_status=$?
49696 grep -v '^ *+' conftest.er1 >conftest.err
49697 rm -f conftest.er1
49698 cat conftest.err >&5
49699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49700 (exit $ac_status); } &&
49701 { ac_try='test -z "$ac_c_werror_flag"
49702 || test ! -s conftest.err'
49703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49704 (eval $ac_try) 2>&5
49705 ac_status=$?
49706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49707 (exit $ac_status); }; } &&
49708 { ac_try='test -s conftest$ac_exeext'
49709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49710 (eval $ac_try) 2>&5
49711 ac_status=$?
49712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49713 (exit $ac_status); }; }; then
49714 glibcxx_cv_func___builtin_sin_link=yes
49715 else
49716 echo "$as_me: failed program was:" >&5
49717 sed 's/^/| /' conftest.$ac_ext >&5
49719 glibcxx_cv_func___builtin_sin_link=no
49721 rm -f conftest.err conftest.$ac_objext \
49722 conftest$ac_exeext conftest.$ac_ext
49727 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49728 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49729 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49730 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49732 cat >>confdefs.h <<_ACEOF
49733 #define ${ac_tr_func} 1
49734 _ACEOF
49740 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49741 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49742 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49743 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49744 echo $ECHO_N "(cached) $ECHO_C" >&6
49745 else
49749 ac_ext=cc
49750 ac_cpp='$CXXCPP $CPPFLAGS'
49751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49755 cat >conftest.$ac_ext <<_ACEOF
49756 /* confdefs.h. */
49757 _ACEOF
49758 cat confdefs.h >>conftest.$ac_ext
49759 cat >>conftest.$ac_ext <<_ACEOF
49760 /* end confdefs.h. */
49761 #include <math.h>
49763 main ()
49765 __builtin_sinl(0);
49767 return 0;
49769 _ACEOF
49770 rm -f conftest.$ac_objext
49771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49772 (eval $ac_compile) 2>conftest.er1
49773 ac_status=$?
49774 grep -v '^ *+' conftest.er1 >conftest.err
49775 rm -f conftest.er1
49776 cat conftest.err >&5
49777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49778 (exit $ac_status); } &&
49779 { ac_try='test -z "$ac_cxx_werror_flag"
49780 || test ! -s conftest.err'
49781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49782 (eval $ac_try) 2>&5
49783 ac_status=$?
49784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49785 (exit $ac_status); }; } &&
49786 { ac_try='test -s conftest.$ac_objext'
49787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49788 (eval $ac_try) 2>&5
49789 ac_status=$?
49790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49791 (exit $ac_status); }; }; then
49792 glibcxx_cv_func___builtin_sinl_use=yes
49793 else
49794 echo "$as_me: failed program was:" >&5
49795 sed 's/^/| /' conftest.$ac_ext >&5
49797 glibcxx_cv_func___builtin_sinl_use=no
49799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49800 ac_ext=c
49801 ac_cpp='$CPP $CPPFLAGS'
49802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49810 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49811 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49812 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49813 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49814 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49815 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49816 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49817 echo $ECHO_N "(cached) $ECHO_C" >&6
49818 else
49820 if test x$gcc_no_link = xyes; then
49821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49823 { (exit 1); exit 1; }; }
49825 cat >conftest.$ac_ext <<_ACEOF
49826 /* confdefs.h. */
49827 _ACEOF
49828 cat confdefs.h >>conftest.$ac_ext
49829 cat >>conftest.$ac_ext <<_ACEOF
49830 /* end confdefs.h. */
49831 #include <math.h>
49833 main ()
49835 __builtin_sinl(0);
49837 return 0;
49839 _ACEOF
49840 rm -f conftest.$ac_objext conftest$ac_exeext
49841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49842 (eval $ac_link) 2>conftest.er1
49843 ac_status=$?
49844 grep -v '^ *+' conftest.er1 >conftest.err
49845 rm -f conftest.er1
49846 cat conftest.err >&5
49847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49848 (exit $ac_status); } &&
49849 { ac_try='test -z "$ac_c_werror_flag"
49850 || test ! -s conftest.err'
49851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49852 (eval $ac_try) 2>&5
49853 ac_status=$?
49854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49855 (exit $ac_status); }; } &&
49856 { ac_try='test -s conftest$ac_exeext'
49857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49858 (eval $ac_try) 2>&5
49859 ac_status=$?
49860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49861 (exit $ac_status); }; }; then
49862 glibcxx_cv_func___builtin_sinl_link=yes
49863 else
49864 echo "$as_me: failed program was:" >&5
49865 sed 's/^/| /' conftest.$ac_ext >&5
49867 glibcxx_cv_func___builtin_sinl_link=no
49869 rm -f conftest.err conftest.$ac_objext \
49870 conftest$ac_exeext conftest.$ac_ext
49875 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49876 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49877 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49878 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49880 cat >>confdefs.h <<_ACEOF
49881 #define ${ac_tr_func} 1
49882 _ACEOF
49889 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49890 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49891 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49892 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49893 echo $ECHO_N "(cached) $ECHO_C" >&6
49894 else
49898 ac_ext=cc
49899 ac_cpp='$CXXCPP $CPPFLAGS'
49900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49904 cat >conftest.$ac_ext <<_ACEOF
49905 /* confdefs.h. */
49906 _ACEOF
49907 cat confdefs.h >>conftest.$ac_ext
49908 cat >>conftest.$ac_ext <<_ACEOF
49909 /* end confdefs.h. */
49910 #include <math.h>
49912 main ()
49914 __builtin_cosf(0);
49916 return 0;
49918 _ACEOF
49919 rm -f conftest.$ac_objext
49920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49921 (eval $ac_compile) 2>conftest.er1
49922 ac_status=$?
49923 grep -v '^ *+' conftest.er1 >conftest.err
49924 rm -f conftest.er1
49925 cat conftest.err >&5
49926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49927 (exit $ac_status); } &&
49928 { ac_try='test -z "$ac_cxx_werror_flag"
49929 || test ! -s conftest.err'
49930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49931 (eval $ac_try) 2>&5
49932 ac_status=$?
49933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49934 (exit $ac_status); }; } &&
49935 { ac_try='test -s conftest.$ac_objext'
49936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49937 (eval $ac_try) 2>&5
49938 ac_status=$?
49939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49940 (exit $ac_status); }; }; then
49941 glibcxx_cv_func___builtin_cosf_use=yes
49942 else
49943 echo "$as_me: failed program was:" >&5
49944 sed 's/^/| /' conftest.$ac_ext >&5
49946 glibcxx_cv_func___builtin_cosf_use=no
49948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49949 ac_ext=c
49950 ac_cpp='$CPP $CPPFLAGS'
49951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49959 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49960 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49961 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49962 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49963 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49964 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49965 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49966 echo $ECHO_N "(cached) $ECHO_C" >&6
49967 else
49969 if test x$gcc_no_link = xyes; then
49970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49972 { (exit 1); exit 1; }; }
49974 cat >conftest.$ac_ext <<_ACEOF
49975 /* confdefs.h. */
49976 _ACEOF
49977 cat confdefs.h >>conftest.$ac_ext
49978 cat >>conftest.$ac_ext <<_ACEOF
49979 /* end confdefs.h. */
49980 #include <math.h>
49982 main ()
49984 __builtin_cosf(0);
49986 return 0;
49988 _ACEOF
49989 rm -f conftest.$ac_objext conftest$ac_exeext
49990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49991 (eval $ac_link) 2>conftest.er1
49992 ac_status=$?
49993 grep -v '^ *+' conftest.er1 >conftest.err
49994 rm -f conftest.er1
49995 cat conftest.err >&5
49996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49997 (exit $ac_status); } &&
49998 { ac_try='test -z "$ac_c_werror_flag"
49999 || test ! -s conftest.err'
50000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50001 (eval $ac_try) 2>&5
50002 ac_status=$?
50003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50004 (exit $ac_status); }; } &&
50005 { ac_try='test -s conftest$ac_exeext'
50006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50007 (eval $ac_try) 2>&5
50008 ac_status=$?
50009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50010 (exit $ac_status); }; }; then
50011 glibcxx_cv_func___builtin_cosf_link=yes
50012 else
50013 echo "$as_me: failed program was:" >&5
50014 sed 's/^/| /' conftest.$ac_ext >&5
50016 glibcxx_cv_func___builtin_cosf_link=no
50018 rm -f conftest.err conftest.$ac_objext \
50019 conftest$ac_exeext conftest.$ac_ext
50024 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50025 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50026 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50027 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50029 cat >>confdefs.h <<_ACEOF
50030 #define ${ac_tr_func} 1
50031 _ACEOF
50037 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50038 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50039 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50040 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50041 echo $ECHO_N "(cached) $ECHO_C" >&6
50042 else
50046 ac_ext=cc
50047 ac_cpp='$CXXCPP $CPPFLAGS'
50048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50052 cat >conftest.$ac_ext <<_ACEOF
50053 /* confdefs.h. */
50054 _ACEOF
50055 cat confdefs.h >>conftest.$ac_ext
50056 cat >>conftest.$ac_ext <<_ACEOF
50057 /* end confdefs.h. */
50058 #include <math.h>
50060 main ()
50062 __builtin_cos(0);
50064 return 0;
50066 _ACEOF
50067 rm -f conftest.$ac_objext
50068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50069 (eval $ac_compile) 2>conftest.er1
50070 ac_status=$?
50071 grep -v '^ *+' conftest.er1 >conftest.err
50072 rm -f conftest.er1
50073 cat conftest.err >&5
50074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50075 (exit $ac_status); } &&
50076 { ac_try='test -z "$ac_cxx_werror_flag"
50077 || test ! -s conftest.err'
50078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50079 (eval $ac_try) 2>&5
50080 ac_status=$?
50081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50082 (exit $ac_status); }; } &&
50083 { ac_try='test -s conftest.$ac_objext'
50084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50085 (eval $ac_try) 2>&5
50086 ac_status=$?
50087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50088 (exit $ac_status); }; }; then
50089 glibcxx_cv_func___builtin_cos_use=yes
50090 else
50091 echo "$as_me: failed program was:" >&5
50092 sed 's/^/| /' conftest.$ac_ext >&5
50094 glibcxx_cv_func___builtin_cos_use=no
50096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50097 ac_ext=c
50098 ac_cpp='$CPP $CPPFLAGS'
50099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50107 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50108 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50109 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50110 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50111 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50112 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50113 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50114 echo $ECHO_N "(cached) $ECHO_C" >&6
50115 else
50117 if test x$gcc_no_link = xyes; then
50118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50120 { (exit 1); exit 1; }; }
50122 cat >conftest.$ac_ext <<_ACEOF
50123 /* confdefs.h. */
50124 _ACEOF
50125 cat confdefs.h >>conftest.$ac_ext
50126 cat >>conftest.$ac_ext <<_ACEOF
50127 /* end confdefs.h. */
50128 #include <math.h>
50130 main ()
50132 __builtin_cos(0);
50134 return 0;
50136 _ACEOF
50137 rm -f conftest.$ac_objext conftest$ac_exeext
50138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50139 (eval $ac_link) 2>conftest.er1
50140 ac_status=$?
50141 grep -v '^ *+' conftest.er1 >conftest.err
50142 rm -f conftest.er1
50143 cat conftest.err >&5
50144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50145 (exit $ac_status); } &&
50146 { ac_try='test -z "$ac_c_werror_flag"
50147 || test ! -s conftest.err'
50148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50149 (eval $ac_try) 2>&5
50150 ac_status=$?
50151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50152 (exit $ac_status); }; } &&
50153 { ac_try='test -s conftest$ac_exeext'
50154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50155 (eval $ac_try) 2>&5
50156 ac_status=$?
50157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50158 (exit $ac_status); }; }; then
50159 glibcxx_cv_func___builtin_cos_link=yes
50160 else
50161 echo "$as_me: failed program was:" >&5
50162 sed 's/^/| /' conftest.$ac_ext >&5
50164 glibcxx_cv_func___builtin_cos_link=no
50166 rm -f conftest.err conftest.$ac_objext \
50167 conftest$ac_exeext conftest.$ac_ext
50172 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50173 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50174 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50175 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50177 cat >>confdefs.h <<_ACEOF
50178 #define ${ac_tr_func} 1
50179 _ACEOF
50185 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50186 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50187 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50188 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50189 echo $ECHO_N "(cached) $ECHO_C" >&6
50190 else
50194 ac_ext=cc
50195 ac_cpp='$CXXCPP $CPPFLAGS'
50196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50200 cat >conftest.$ac_ext <<_ACEOF
50201 /* confdefs.h. */
50202 _ACEOF
50203 cat confdefs.h >>conftest.$ac_ext
50204 cat >>conftest.$ac_ext <<_ACEOF
50205 /* end confdefs.h. */
50206 #include <math.h>
50208 main ()
50210 __builtin_cosl(0);
50212 return 0;
50214 _ACEOF
50215 rm -f conftest.$ac_objext
50216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50217 (eval $ac_compile) 2>conftest.er1
50218 ac_status=$?
50219 grep -v '^ *+' conftest.er1 >conftest.err
50220 rm -f conftest.er1
50221 cat conftest.err >&5
50222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50223 (exit $ac_status); } &&
50224 { ac_try='test -z "$ac_cxx_werror_flag"
50225 || test ! -s conftest.err'
50226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50227 (eval $ac_try) 2>&5
50228 ac_status=$?
50229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50230 (exit $ac_status); }; } &&
50231 { ac_try='test -s conftest.$ac_objext'
50232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50233 (eval $ac_try) 2>&5
50234 ac_status=$?
50235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50236 (exit $ac_status); }; }; then
50237 glibcxx_cv_func___builtin_cosl_use=yes
50238 else
50239 echo "$as_me: failed program was:" >&5
50240 sed 's/^/| /' conftest.$ac_ext >&5
50242 glibcxx_cv_func___builtin_cosl_use=no
50244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50245 ac_ext=c
50246 ac_cpp='$CPP $CPPFLAGS'
50247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50255 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50256 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50257 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50258 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50259 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50260 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50261 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50262 echo $ECHO_N "(cached) $ECHO_C" >&6
50263 else
50265 if test x$gcc_no_link = xyes; then
50266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50268 { (exit 1); exit 1; }; }
50270 cat >conftest.$ac_ext <<_ACEOF
50271 /* confdefs.h. */
50272 _ACEOF
50273 cat confdefs.h >>conftest.$ac_ext
50274 cat >>conftest.$ac_ext <<_ACEOF
50275 /* end confdefs.h. */
50276 #include <math.h>
50278 main ()
50280 __builtin_cosl(0);
50282 return 0;
50284 _ACEOF
50285 rm -f conftest.$ac_objext conftest$ac_exeext
50286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50287 (eval $ac_link) 2>conftest.er1
50288 ac_status=$?
50289 grep -v '^ *+' conftest.er1 >conftest.err
50290 rm -f conftest.er1
50291 cat conftest.err >&5
50292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50293 (exit $ac_status); } &&
50294 { ac_try='test -z "$ac_c_werror_flag"
50295 || test ! -s conftest.err'
50296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50297 (eval $ac_try) 2>&5
50298 ac_status=$?
50299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50300 (exit $ac_status); }; } &&
50301 { ac_try='test -s conftest$ac_exeext'
50302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50303 (eval $ac_try) 2>&5
50304 ac_status=$?
50305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50306 (exit $ac_status); }; }; then
50307 glibcxx_cv_func___builtin_cosl_link=yes
50308 else
50309 echo "$as_me: failed program was:" >&5
50310 sed 's/^/| /' conftest.$ac_ext >&5
50312 glibcxx_cv_func___builtin_cosl_link=no
50314 rm -f conftest.err conftest.$ac_objext \
50315 conftest$ac_exeext conftest.$ac_ext
50320 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50321 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50322 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50323 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50325 cat >>confdefs.h <<_ACEOF
50326 #define ${ac_tr_func} 1
50327 _ACEOF
50335 echo "$as_me:$LINENO: checking for main in -lm" >&5
50336 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50337 if test "${ac_cv_lib_m_main+set}" = set; then
50338 echo $ECHO_N "(cached) $ECHO_C" >&6
50339 else
50340 ac_check_lib_save_LIBS=$LIBS
50341 LIBS="-lm $LIBS"
50342 if test x$gcc_no_link = xyes; then
50343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50345 { (exit 1); exit 1; }; }
50347 cat >conftest.$ac_ext <<_ACEOF
50348 /* confdefs.h. */
50349 _ACEOF
50350 cat confdefs.h >>conftest.$ac_ext
50351 cat >>conftest.$ac_ext <<_ACEOF
50352 /* end confdefs.h. */
50356 main ()
50358 main ();
50360 return 0;
50362 _ACEOF
50363 rm -f conftest.$ac_objext conftest$ac_exeext
50364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50365 (eval $ac_link) 2>conftest.er1
50366 ac_status=$?
50367 grep -v '^ *+' conftest.er1 >conftest.err
50368 rm -f conftest.er1
50369 cat conftest.err >&5
50370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50371 (exit $ac_status); } &&
50372 { ac_try='test -z "$ac_c_werror_flag"
50373 || test ! -s conftest.err'
50374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50375 (eval $ac_try) 2>&5
50376 ac_status=$?
50377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50378 (exit $ac_status); }; } &&
50379 { ac_try='test -s conftest$ac_exeext'
50380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50381 (eval $ac_try) 2>&5
50382 ac_status=$?
50383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50384 (exit $ac_status); }; }; then
50385 ac_cv_lib_m_main=yes
50386 else
50387 echo "$as_me: failed program was:" >&5
50388 sed 's/^/| /' conftest.$ac_ext >&5
50390 ac_cv_lib_m_main=no
50392 rm -f conftest.err conftest.$ac_objext \
50393 conftest$ac_exeext conftest.$ac_ext
50394 LIBS=$ac_check_lib_save_LIBS
50396 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50397 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50398 if test $ac_cv_lib_m_main = yes; then
50399 cat >>confdefs.h <<_ACEOF
50400 #define HAVE_LIBM 1
50401 _ACEOF
50403 LIBS="-lm $LIBS"
50408 for ac_func in copysignf
50410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50411 echo "$as_me:$LINENO: checking for $ac_func" >&5
50412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50413 if eval "test \"\${$as_ac_var+set}\" = set"; then
50414 echo $ECHO_N "(cached) $ECHO_C" >&6
50415 else
50416 if test x$gcc_no_link = xyes; then
50417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50419 { (exit 1); exit 1; }; }
50421 cat >conftest.$ac_ext <<_ACEOF
50422 /* confdefs.h. */
50423 _ACEOF
50424 cat confdefs.h >>conftest.$ac_ext
50425 cat >>conftest.$ac_ext <<_ACEOF
50426 /* end confdefs.h. */
50427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50429 #define $ac_func innocuous_$ac_func
50431 /* System header to define __stub macros and hopefully few prototypes,
50432 which can conflict with char $ac_func (); below.
50433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50434 <limits.h> exists even on freestanding compilers. */
50436 #ifdef __STDC__
50437 # include <limits.h>
50438 #else
50439 # include <assert.h>
50440 #endif
50442 #undef $ac_func
50444 /* Override any gcc2 internal prototype to avoid an error. */
50445 #ifdef __cplusplus
50446 extern "C"
50448 #endif
50449 /* We use char because int might match the return type of a gcc2
50450 builtin and then its argument prototype would still apply. */
50451 char $ac_func ();
50452 /* The GNU C library defines this for functions which it implements
50453 to always fail with ENOSYS. Some functions are actually named
50454 something starting with __ and the normal name is an alias. */
50455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50456 choke me
50457 #else
50458 char (*f) () = $ac_func;
50459 #endif
50460 #ifdef __cplusplus
50462 #endif
50465 main ()
50467 return f != $ac_func;
50469 return 0;
50471 _ACEOF
50472 rm -f conftest.$ac_objext conftest$ac_exeext
50473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50474 (eval $ac_link) 2>conftest.er1
50475 ac_status=$?
50476 grep -v '^ *+' conftest.er1 >conftest.err
50477 rm -f conftest.er1
50478 cat conftest.err >&5
50479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50480 (exit $ac_status); } &&
50481 { ac_try='test -z "$ac_c_werror_flag"
50482 || test ! -s conftest.err'
50483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50484 (eval $ac_try) 2>&5
50485 ac_status=$?
50486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50487 (exit $ac_status); }; } &&
50488 { ac_try='test -s conftest$ac_exeext'
50489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50490 (eval $ac_try) 2>&5
50491 ac_status=$?
50492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50493 (exit $ac_status); }; }; then
50494 eval "$as_ac_var=yes"
50495 else
50496 echo "$as_me: failed program was:" >&5
50497 sed 's/^/| /' conftest.$ac_ext >&5
50499 eval "$as_ac_var=no"
50501 rm -f conftest.err conftest.$ac_objext \
50502 conftest$ac_exeext conftest.$ac_ext
50504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50506 if test `eval echo '${'$as_ac_var'}'` = yes; then
50507 cat >>confdefs.h <<_ACEOF
50508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50509 _ACEOF
50511 else
50512 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50514 done
50518 for ac_func in __signbit
50520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50521 echo "$as_me:$LINENO: checking for $ac_func" >&5
50522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50523 if eval "test \"\${$as_ac_var+set}\" = set"; then
50524 echo $ECHO_N "(cached) $ECHO_C" >&6
50525 else
50526 if test x$gcc_no_link = xyes; then
50527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50529 { (exit 1); exit 1; }; }
50531 cat >conftest.$ac_ext <<_ACEOF
50532 /* confdefs.h. */
50533 _ACEOF
50534 cat confdefs.h >>conftest.$ac_ext
50535 cat >>conftest.$ac_ext <<_ACEOF
50536 /* end confdefs.h. */
50537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50539 #define $ac_func innocuous_$ac_func
50541 /* System header to define __stub macros and hopefully few prototypes,
50542 which can conflict with char $ac_func (); below.
50543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50544 <limits.h> exists even on freestanding compilers. */
50546 #ifdef __STDC__
50547 # include <limits.h>
50548 #else
50549 # include <assert.h>
50550 #endif
50552 #undef $ac_func
50554 /* Override any gcc2 internal prototype to avoid an error. */
50555 #ifdef __cplusplus
50556 extern "C"
50558 #endif
50559 /* We use char because int might match the return type of a gcc2
50560 builtin and then its argument prototype would still apply. */
50561 char $ac_func ();
50562 /* The GNU C library defines this for functions which it implements
50563 to always fail with ENOSYS. Some functions are actually named
50564 something starting with __ and the normal name is an alias. */
50565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50566 choke me
50567 #else
50568 char (*f) () = $ac_func;
50569 #endif
50570 #ifdef __cplusplus
50572 #endif
50575 main ()
50577 return f != $ac_func;
50579 return 0;
50581 _ACEOF
50582 rm -f conftest.$ac_objext conftest$ac_exeext
50583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50584 (eval $ac_link) 2>conftest.er1
50585 ac_status=$?
50586 grep -v '^ *+' conftest.er1 >conftest.err
50587 rm -f conftest.er1
50588 cat conftest.err >&5
50589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50590 (exit $ac_status); } &&
50591 { ac_try='test -z "$ac_c_werror_flag"
50592 || test ! -s conftest.err'
50593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50594 (eval $ac_try) 2>&5
50595 ac_status=$?
50596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50597 (exit $ac_status); }; } &&
50598 { ac_try='test -s conftest$ac_exeext'
50599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50600 (eval $ac_try) 2>&5
50601 ac_status=$?
50602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50603 (exit $ac_status); }; }; then
50604 eval "$as_ac_var=yes"
50605 else
50606 echo "$as_me: failed program was:" >&5
50607 sed 's/^/| /' conftest.$ac_ext >&5
50609 eval "$as_ac_var=no"
50611 rm -f conftest.err conftest.$ac_objext \
50612 conftest$ac_exeext conftest.$ac_ext
50614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50616 if test `eval echo '${'$as_ac_var'}'` = yes; then
50617 cat >>confdefs.h <<_ACEOF
50618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50619 _ACEOF
50621 else
50622 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50624 done
50628 for ac_func in __signbitf
50630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50631 echo "$as_me:$LINENO: checking for $ac_func" >&5
50632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50633 if eval "test \"\${$as_ac_var+set}\" = set"; then
50634 echo $ECHO_N "(cached) $ECHO_C" >&6
50635 else
50636 if test x$gcc_no_link = xyes; then
50637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50639 { (exit 1); exit 1; }; }
50641 cat >conftest.$ac_ext <<_ACEOF
50642 /* confdefs.h. */
50643 _ACEOF
50644 cat confdefs.h >>conftest.$ac_ext
50645 cat >>conftest.$ac_ext <<_ACEOF
50646 /* end confdefs.h. */
50647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50649 #define $ac_func innocuous_$ac_func
50651 /* System header to define __stub macros and hopefully few prototypes,
50652 which can conflict with char $ac_func (); below.
50653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50654 <limits.h> exists even on freestanding compilers. */
50656 #ifdef __STDC__
50657 # include <limits.h>
50658 #else
50659 # include <assert.h>
50660 #endif
50662 #undef $ac_func
50664 /* Override any gcc2 internal prototype to avoid an error. */
50665 #ifdef __cplusplus
50666 extern "C"
50668 #endif
50669 /* We use char because int might match the return type of a gcc2
50670 builtin and then its argument prototype would still apply. */
50671 char $ac_func ();
50672 /* The GNU C library defines this for functions which it implements
50673 to always fail with ENOSYS. Some functions are actually named
50674 something starting with __ and the normal name is an alias. */
50675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50676 choke me
50677 #else
50678 char (*f) () = $ac_func;
50679 #endif
50680 #ifdef __cplusplus
50682 #endif
50685 main ()
50687 return f != $ac_func;
50689 return 0;
50691 _ACEOF
50692 rm -f conftest.$ac_objext conftest$ac_exeext
50693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50694 (eval $ac_link) 2>conftest.er1
50695 ac_status=$?
50696 grep -v '^ *+' conftest.er1 >conftest.err
50697 rm -f conftest.er1
50698 cat conftest.err >&5
50699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50700 (exit $ac_status); } &&
50701 { ac_try='test -z "$ac_c_werror_flag"
50702 || test ! -s conftest.err'
50703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50704 (eval $ac_try) 2>&5
50705 ac_status=$?
50706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50707 (exit $ac_status); }; } &&
50708 { ac_try='test -s conftest$ac_exeext'
50709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50710 (eval $ac_try) 2>&5
50711 ac_status=$?
50712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50713 (exit $ac_status); }; }; then
50714 eval "$as_ac_var=yes"
50715 else
50716 echo "$as_me: failed program was:" >&5
50717 sed 's/^/| /' conftest.$ac_ext >&5
50719 eval "$as_ac_var=no"
50721 rm -f conftest.err conftest.$ac_objext \
50722 conftest$ac_exeext conftest.$ac_ext
50724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50726 if test `eval echo '${'$as_ac_var'}'` = yes; then
50727 cat >>confdefs.h <<_ACEOF
50728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50729 _ACEOF
50731 else
50732 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50734 done
50737 if test x$ac_cv_func_copysignl = x"yes"; then
50739 for ac_func in __signbitl
50741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50742 echo "$as_me:$LINENO: checking for $ac_func" >&5
50743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50744 if eval "test \"\${$as_ac_var+set}\" = set"; then
50745 echo $ECHO_N "(cached) $ECHO_C" >&6
50746 else
50747 if test x$gcc_no_link = xyes; then
50748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50750 { (exit 1); exit 1; }; }
50752 cat >conftest.$ac_ext <<_ACEOF
50753 /* confdefs.h. */
50754 _ACEOF
50755 cat confdefs.h >>conftest.$ac_ext
50756 cat >>conftest.$ac_ext <<_ACEOF
50757 /* end confdefs.h. */
50758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50760 #define $ac_func innocuous_$ac_func
50762 /* System header to define __stub macros and hopefully few prototypes,
50763 which can conflict with char $ac_func (); below.
50764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50765 <limits.h> exists even on freestanding compilers. */
50767 #ifdef __STDC__
50768 # include <limits.h>
50769 #else
50770 # include <assert.h>
50771 #endif
50773 #undef $ac_func
50775 /* Override any gcc2 internal prototype to avoid an error. */
50776 #ifdef __cplusplus
50777 extern "C"
50779 #endif
50780 /* We use char because int might match the return type of a gcc2
50781 builtin and then its argument prototype would still apply. */
50782 char $ac_func ();
50783 /* The GNU C library defines this for functions which it implements
50784 to always fail with ENOSYS. Some functions are actually named
50785 something starting with __ and the normal name is an alias. */
50786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50787 choke me
50788 #else
50789 char (*f) () = $ac_func;
50790 #endif
50791 #ifdef __cplusplus
50793 #endif
50796 main ()
50798 return f != $ac_func;
50800 return 0;
50802 _ACEOF
50803 rm -f conftest.$ac_objext conftest$ac_exeext
50804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50805 (eval $ac_link) 2>conftest.er1
50806 ac_status=$?
50807 grep -v '^ *+' conftest.er1 >conftest.err
50808 rm -f conftest.er1
50809 cat conftest.err >&5
50810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50811 (exit $ac_status); } &&
50812 { ac_try='test -z "$ac_c_werror_flag"
50813 || test ! -s conftest.err'
50814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50815 (eval $ac_try) 2>&5
50816 ac_status=$?
50817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50818 (exit $ac_status); }; } &&
50819 { ac_try='test -s conftest$ac_exeext'
50820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50821 (eval $ac_try) 2>&5
50822 ac_status=$?
50823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50824 (exit $ac_status); }; }; then
50825 eval "$as_ac_var=yes"
50826 else
50827 echo "$as_me: failed program was:" >&5
50828 sed 's/^/| /' conftest.$ac_ext >&5
50830 eval "$as_ac_var=no"
50832 rm -f conftest.err conftest.$ac_objext \
50833 conftest$ac_exeext conftest.$ac_ext
50835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50837 if test `eval echo '${'$as_ac_var'}'` = yes; then
50838 cat >>confdefs.h <<_ACEOF
50839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50840 _ACEOF
50842 else
50843 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50845 done
50849 # Used in libmath/Makefile.am.
50850 if test -n "$LIBMATHOBJS"; then
50851 need_libmath=yes
50856 # Test wchar.h for mbstate_t, which is needed for char_traits and
50857 # others even if wchar_t support is not on.
50858 echo "$as_me:$LINENO: checking for mbstate_t" >&5
50859 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50860 cat >conftest.$ac_ext <<_ACEOF
50861 /* confdefs.h. */
50862 _ACEOF
50863 cat confdefs.h >>conftest.$ac_ext
50864 cat >>conftest.$ac_ext <<_ACEOF
50865 /* end confdefs.h. */
50866 #include <wchar.h>
50868 main ()
50870 mbstate_t teststate;
50872 return 0;
50874 _ACEOF
50875 rm -f conftest.$ac_objext
50876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50877 (eval $ac_compile) 2>conftest.er1
50878 ac_status=$?
50879 grep -v '^ *+' conftest.er1 >conftest.err
50880 rm -f conftest.er1
50881 cat conftest.err >&5
50882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50883 (exit $ac_status); } &&
50884 { ac_try='test -z "$ac_c_werror_flag"
50885 || test ! -s conftest.err'
50886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50887 (eval $ac_try) 2>&5
50888 ac_status=$?
50889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50890 (exit $ac_status); }; } &&
50891 { ac_try='test -s conftest.$ac_objext'
50892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50893 (eval $ac_try) 2>&5
50894 ac_status=$?
50895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50896 (exit $ac_status); }; }; then
50897 have_mbstate_t=yes
50898 else
50899 echo "$as_me: failed program was:" >&5
50900 sed 's/^/| /' conftest.$ac_ext >&5
50902 have_mbstate_t=no
50904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50905 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50906 echo "${ECHO_T}$have_mbstate_t" >&6
50907 if test x"$have_mbstate_t" = xyes; then
50908 cat >>confdefs.h <<\_ACEOF
50909 #define HAVE_MBSTATE_T 1
50910 _ACEOF
50914 # Sanity check for existence of ISO C99 headers for extended encoding.
50916 for ac_header in wchar.h
50918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50920 echo "$as_me:$LINENO: checking for $ac_header" >&5
50921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50923 echo $ECHO_N "(cached) $ECHO_C" >&6
50925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50927 else
50928 # Is the header compilable?
50929 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50930 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50931 cat >conftest.$ac_ext <<_ACEOF
50932 /* confdefs.h. */
50933 _ACEOF
50934 cat confdefs.h >>conftest.$ac_ext
50935 cat >>conftest.$ac_ext <<_ACEOF
50936 /* end confdefs.h. */
50937 $ac_includes_default
50938 #include <$ac_header>
50939 _ACEOF
50940 rm -f conftest.$ac_objext
50941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50942 (eval $ac_compile) 2>conftest.er1
50943 ac_status=$?
50944 grep -v '^ *+' conftest.er1 >conftest.err
50945 rm -f conftest.er1
50946 cat conftest.err >&5
50947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50948 (exit $ac_status); } &&
50949 { ac_try='test -z "$ac_c_werror_flag"
50950 || test ! -s conftest.err'
50951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50952 (eval $ac_try) 2>&5
50953 ac_status=$?
50954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50955 (exit $ac_status); }; } &&
50956 { ac_try='test -s conftest.$ac_objext'
50957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50958 (eval $ac_try) 2>&5
50959 ac_status=$?
50960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50961 (exit $ac_status); }; }; then
50962 ac_header_compiler=yes
50963 else
50964 echo "$as_me: failed program was:" >&5
50965 sed 's/^/| /' conftest.$ac_ext >&5
50967 ac_header_compiler=no
50969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50971 echo "${ECHO_T}$ac_header_compiler" >&6
50973 # Is the header present?
50974 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50975 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50976 cat >conftest.$ac_ext <<_ACEOF
50977 /* confdefs.h. */
50978 _ACEOF
50979 cat confdefs.h >>conftest.$ac_ext
50980 cat >>conftest.$ac_ext <<_ACEOF
50981 /* end confdefs.h. */
50982 #include <$ac_header>
50983 _ACEOF
50984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50986 ac_status=$?
50987 grep -v '^ *+' conftest.er1 >conftest.err
50988 rm -f conftest.er1
50989 cat conftest.err >&5
50990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50991 (exit $ac_status); } >/dev/null; then
50992 if test -s conftest.err; then
50993 ac_cpp_err=$ac_c_preproc_warn_flag
50994 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50995 else
50996 ac_cpp_err=
50998 else
50999 ac_cpp_err=yes
51001 if test -z "$ac_cpp_err"; then
51002 ac_header_preproc=yes
51003 else
51004 echo "$as_me: failed program was:" >&5
51005 sed 's/^/| /' conftest.$ac_ext >&5
51007 ac_header_preproc=no
51009 rm -f conftest.err conftest.$ac_ext
51010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51011 echo "${ECHO_T}$ac_header_preproc" >&6
51013 # So? What about this header?
51014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51015 yes:no: )
51016 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51017 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51019 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51020 ac_header_preproc=yes
51022 no:yes:* )
51023 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51024 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51025 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51026 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51027 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51028 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51029 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51030 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51033 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51034 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51036 cat <<\_ASBOX
51037 ## ----------------------------------------- ##
51038 ## Report this to the package-unused lists. ##
51039 ## ----------------------------------------- ##
51040 _ASBOX
51042 sed "s/^/$as_me: WARNING: /" >&2
51044 esac
51045 echo "$as_me:$LINENO: checking for $ac_header" >&5
51046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51048 echo $ECHO_N "(cached) $ECHO_C" >&6
51049 else
51050 eval "$as_ac_Header=\$ac_header_preproc"
51052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51057 cat >>confdefs.h <<_ACEOF
51058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51059 _ACEOF
51060 ac_has_wchar_h=yes
51061 else
51062 ac_has_wchar_h=no
51065 done
51068 for ac_header in wctype.h
51070 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51072 echo "$as_me:$LINENO: checking for $ac_header" >&5
51073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51075 echo $ECHO_N "(cached) $ECHO_C" >&6
51077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51079 else
51080 # Is the header compilable?
51081 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51082 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51083 cat >conftest.$ac_ext <<_ACEOF
51084 /* confdefs.h. */
51085 _ACEOF
51086 cat confdefs.h >>conftest.$ac_ext
51087 cat >>conftest.$ac_ext <<_ACEOF
51088 /* end confdefs.h. */
51089 $ac_includes_default
51090 #include <$ac_header>
51091 _ACEOF
51092 rm -f conftest.$ac_objext
51093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51094 (eval $ac_compile) 2>conftest.er1
51095 ac_status=$?
51096 grep -v '^ *+' conftest.er1 >conftest.err
51097 rm -f conftest.er1
51098 cat conftest.err >&5
51099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51100 (exit $ac_status); } &&
51101 { ac_try='test -z "$ac_c_werror_flag"
51102 || test ! -s conftest.err'
51103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51104 (eval $ac_try) 2>&5
51105 ac_status=$?
51106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51107 (exit $ac_status); }; } &&
51108 { ac_try='test -s conftest.$ac_objext'
51109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51110 (eval $ac_try) 2>&5
51111 ac_status=$?
51112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51113 (exit $ac_status); }; }; then
51114 ac_header_compiler=yes
51115 else
51116 echo "$as_me: failed program was:" >&5
51117 sed 's/^/| /' conftest.$ac_ext >&5
51119 ac_header_compiler=no
51121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51123 echo "${ECHO_T}$ac_header_compiler" >&6
51125 # Is the header present?
51126 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51127 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51128 cat >conftest.$ac_ext <<_ACEOF
51129 /* confdefs.h. */
51130 _ACEOF
51131 cat confdefs.h >>conftest.$ac_ext
51132 cat >>conftest.$ac_ext <<_ACEOF
51133 /* end confdefs.h. */
51134 #include <$ac_header>
51135 _ACEOF
51136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51137 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51138 ac_status=$?
51139 grep -v '^ *+' conftest.er1 >conftest.err
51140 rm -f conftest.er1
51141 cat conftest.err >&5
51142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51143 (exit $ac_status); } >/dev/null; then
51144 if test -s conftest.err; then
51145 ac_cpp_err=$ac_c_preproc_warn_flag
51146 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51147 else
51148 ac_cpp_err=
51150 else
51151 ac_cpp_err=yes
51153 if test -z "$ac_cpp_err"; then
51154 ac_header_preproc=yes
51155 else
51156 echo "$as_me: failed program was:" >&5
51157 sed 's/^/| /' conftest.$ac_ext >&5
51159 ac_header_preproc=no
51161 rm -f conftest.err conftest.$ac_ext
51162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51163 echo "${ECHO_T}$ac_header_preproc" >&6
51165 # So? What about this header?
51166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51167 yes:no: )
51168 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51169 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51171 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51172 ac_header_preproc=yes
51174 no:yes:* )
51175 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51176 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51177 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51178 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51179 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51180 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51181 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51182 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51185 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51186 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51188 cat <<\_ASBOX
51189 ## ----------------------------------------- ##
51190 ## Report this to the package-unused lists. ##
51191 ## ----------------------------------------- ##
51192 _ASBOX
51194 sed "s/^/$as_me: WARNING: /" >&2
51196 esac
51197 echo "$as_me:$LINENO: checking for $ac_header" >&5
51198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51200 echo $ECHO_N "(cached) $ECHO_C" >&6
51201 else
51202 eval "$as_ac_Header=\$ac_header_preproc"
51204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51209 cat >>confdefs.h <<_ACEOF
51210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51211 _ACEOF
51212 ac_has_wctype_h=yes
51213 else
51214 ac_has_wctype_h=no
51217 done
51220 # Only continue checking if the ISO C99 headers exist and support is on.
51221 if test x"$ac_has_wchar_h" = xyes &&
51222 test x"$ac_has_wctype_h" = xyes &&
51223 test x"$enable_c_mbchar" != xno; then
51225 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51226 # numeric_limits can instantiate type_traits<wchar_t>
51227 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51228 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51229 cat >conftest.$ac_ext <<_ACEOF
51230 /* confdefs.h. */
51231 _ACEOF
51232 cat confdefs.h >>conftest.$ac_ext
51233 cat >>conftest.$ac_ext <<_ACEOF
51234 /* end confdefs.h. */
51235 #include <wchar.h>
51237 main ()
51239 int i = WCHAR_MIN; int j = WCHAR_MAX;
51241 return 0;
51243 _ACEOF
51244 rm -f conftest.$ac_objext
51245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51246 (eval $ac_compile) 2>conftest.er1
51247 ac_status=$?
51248 grep -v '^ *+' conftest.er1 >conftest.err
51249 rm -f conftest.er1
51250 cat conftest.err >&5
51251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51252 (exit $ac_status); } &&
51253 { ac_try='test -z "$ac_c_werror_flag"
51254 || test ! -s conftest.err'
51255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51256 (eval $ac_try) 2>&5
51257 ac_status=$?
51258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51259 (exit $ac_status); }; } &&
51260 { ac_try='test -s conftest.$ac_objext'
51261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51262 (eval $ac_try) 2>&5
51263 ac_status=$?
51264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51265 (exit $ac_status); }; }; then
51266 has_wchar_minmax=yes
51267 else
51268 echo "$as_me: failed program was:" >&5
51269 sed 's/^/| /' conftest.$ac_ext >&5
51271 has_wchar_minmax=no
51273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51274 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51275 echo "${ECHO_T}$has_wchar_minmax" >&6
51277 # Test wchar.h for WEOF, which is what we use to determine whether
51278 # to specialize for char_traits<wchar_t> or not.
51279 echo "$as_me:$LINENO: checking for WEOF" >&5
51280 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51281 cat >conftest.$ac_ext <<_ACEOF
51282 /* confdefs.h. */
51283 _ACEOF
51284 cat confdefs.h >>conftest.$ac_ext
51285 cat >>conftest.$ac_ext <<_ACEOF
51286 /* end confdefs.h. */
51288 #include <wchar.h>
51289 #include <stddef.h>
51291 main ()
51293 wint_t i = WEOF;
51295 return 0;
51297 _ACEOF
51298 rm -f conftest.$ac_objext
51299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51300 (eval $ac_compile) 2>conftest.er1
51301 ac_status=$?
51302 grep -v '^ *+' conftest.er1 >conftest.err
51303 rm -f conftest.er1
51304 cat conftest.err >&5
51305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51306 (exit $ac_status); } &&
51307 { ac_try='test -z "$ac_c_werror_flag"
51308 || test ! -s conftest.err'
51309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51310 (eval $ac_try) 2>&5
51311 ac_status=$?
51312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51313 (exit $ac_status); }; } &&
51314 { ac_try='test -s conftest.$ac_objext'
51315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51316 (eval $ac_try) 2>&5
51317 ac_status=$?
51318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51319 (exit $ac_status); }; }; then
51320 has_weof=yes
51321 else
51322 echo "$as_me: failed program was:" >&5
51323 sed 's/^/| /' conftest.$ac_ext >&5
51325 has_weof=no
51327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51328 echo "$as_me:$LINENO: result: $has_weof" >&5
51329 echo "${ECHO_T}$has_weof" >&6
51331 # Tests for wide character functions used in char_traits<wchar_t>.
51332 ac_wfuncs=yes
51339 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51342 echo "$as_me:$LINENO: checking for $ac_func" >&5
51343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51344 if eval "test \"\${$as_ac_var+set}\" = set"; then
51345 echo $ECHO_N "(cached) $ECHO_C" >&6
51346 else
51347 if test x$gcc_no_link = xyes; then
51348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51350 { (exit 1); exit 1; }; }
51352 cat >conftest.$ac_ext <<_ACEOF
51353 /* confdefs.h. */
51354 _ACEOF
51355 cat confdefs.h >>conftest.$ac_ext
51356 cat >>conftest.$ac_ext <<_ACEOF
51357 /* end confdefs.h. */
51358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51360 #define $ac_func innocuous_$ac_func
51362 /* System header to define __stub macros and hopefully few prototypes,
51363 which can conflict with char $ac_func (); below.
51364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51365 <limits.h> exists even on freestanding compilers. */
51367 #ifdef __STDC__
51368 # include <limits.h>
51369 #else
51370 # include <assert.h>
51371 #endif
51373 #undef $ac_func
51375 /* Override any gcc2 internal prototype to avoid an error. */
51376 #ifdef __cplusplus
51377 extern "C"
51379 #endif
51380 /* We use char because int might match the return type of a gcc2
51381 builtin and then its argument prototype would still apply. */
51382 char $ac_func ();
51383 /* The GNU C library defines this for functions which it implements
51384 to always fail with ENOSYS. Some functions are actually named
51385 something starting with __ and the normal name is an alias. */
51386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51387 choke me
51388 #else
51389 char (*f) () = $ac_func;
51390 #endif
51391 #ifdef __cplusplus
51393 #endif
51396 main ()
51398 return f != $ac_func;
51400 return 0;
51402 _ACEOF
51403 rm -f conftest.$ac_objext conftest$ac_exeext
51404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51405 (eval $ac_link) 2>conftest.er1
51406 ac_status=$?
51407 grep -v '^ *+' conftest.er1 >conftest.err
51408 rm -f conftest.er1
51409 cat conftest.err >&5
51410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51411 (exit $ac_status); } &&
51412 { ac_try='test -z "$ac_c_werror_flag"
51413 || test ! -s conftest.err'
51414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51415 (eval $ac_try) 2>&5
51416 ac_status=$?
51417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51418 (exit $ac_status); }; } &&
51419 { ac_try='test -s conftest$ac_exeext'
51420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51421 (eval $ac_try) 2>&5
51422 ac_status=$?
51423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51424 (exit $ac_status); }; }; then
51425 eval "$as_ac_var=yes"
51426 else
51427 echo "$as_me: failed program was:" >&5
51428 sed 's/^/| /' conftest.$ac_ext >&5
51430 eval "$as_ac_var=no"
51432 rm -f conftest.err conftest.$ac_objext \
51433 conftest$ac_exeext conftest.$ac_ext
51435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51437 if test `eval echo '${'$as_ac_var'}'` = yes; then
51438 cat >>confdefs.h <<_ACEOF
51439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51440 _ACEOF
51442 else
51443 ac_wfuncs=no
51445 done
51448 # Checks for names injected into std:: by the c_std headers.
51495 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51496 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51497 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51498 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51499 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51500 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51503 echo "$as_me:$LINENO: checking for $ac_func" >&5
51504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51505 if eval "test \"\${$as_ac_var+set}\" = set"; then
51506 echo $ECHO_N "(cached) $ECHO_C" >&6
51507 else
51508 if test x$gcc_no_link = xyes; then
51509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51511 { (exit 1); exit 1; }; }
51513 cat >conftest.$ac_ext <<_ACEOF
51514 /* confdefs.h. */
51515 _ACEOF
51516 cat confdefs.h >>conftest.$ac_ext
51517 cat >>conftest.$ac_ext <<_ACEOF
51518 /* end confdefs.h. */
51519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51521 #define $ac_func innocuous_$ac_func
51523 /* System header to define __stub macros and hopefully few prototypes,
51524 which can conflict with char $ac_func (); below.
51525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51526 <limits.h> exists even on freestanding compilers. */
51528 #ifdef __STDC__
51529 # include <limits.h>
51530 #else
51531 # include <assert.h>
51532 #endif
51534 #undef $ac_func
51536 /* Override any gcc2 internal prototype to avoid an error. */
51537 #ifdef __cplusplus
51538 extern "C"
51540 #endif
51541 /* We use char because int might match the return type of a gcc2
51542 builtin and then its argument prototype would still apply. */
51543 char $ac_func ();
51544 /* The GNU C library defines this for functions which it implements
51545 to always fail with ENOSYS. Some functions are actually named
51546 something starting with __ and the normal name is an alias. */
51547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51548 choke me
51549 #else
51550 char (*f) () = $ac_func;
51551 #endif
51552 #ifdef __cplusplus
51554 #endif
51557 main ()
51559 return f != $ac_func;
51561 return 0;
51563 _ACEOF
51564 rm -f conftest.$ac_objext conftest$ac_exeext
51565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51566 (eval $ac_link) 2>conftest.er1
51567 ac_status=$?
51568 grep -v '^ *+' conftest.er1 >conftest.err
51569 rm -f conftest.er1
51570 cat conftest.err >&5
51571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51572 (exit $ac_status); } &&
51573 { ac_try='test -z "$ac_c_werror_flag"
51574 || test ! -s conftest.err'
51575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51576 (eval $ac_try) 2>&5
51577 ac_status=$?
51578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51579 (exit $ac_status); }; } &&
51580 { ac_try='test -s conftest$ac_exeext'
51581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51582 (eval $ac_try) 2>&5
51583 ac_status=$?
51584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51585 (exit $ac_status); }; }; then
51586 eval "$as_ac_var=yes"
51587 else
51588 echo "$as_me: failed program was:" >&5
51589 sed 's/^/| /' conftest.$ac_ext >&5
51591 eval "$as_ac_var=no"
51593 rm -f conftest.err conftest.$ac_objext \
51594 conftest$ac_exeext conftest.$ac_ext
51596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51598 if test `eval echo '${'$as_ac_var'}'` = yes; then
51599 cat >>confdefs.h <<_ACEOF
51600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51601 _ACEOF
51603 else
51604 ac_wfuncs=no
51606 done
51609 # Checks for wide character functions that are not required
51610 # for basic wchar_t support. Don't disable support if they are missing.
51611 # Injection of these is wrapped with guard macros.
51617 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51620 echo "$as_me:$LINENO: checking for $ac_func" >&5
51621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51622 if eval "test \"\${$as_ac_var+set}\" = set"; then
51623 echo $ECHO_N "(cached) $ECHO_C" >&6
51624 else
51625 if test x$gcc_no_link = xyes; then
51626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51628 { (exit 1); exit 1; }; }
51630 cat >conftest.$ac_ext <<_ACEOF
51631 /* confdefs.h. */
51632 _ACEOF
51633 cat confdefs.h >>conftest.$ac_ext
51634 cat >>conftest.$ac_ext <<_ACEOF
51635 /* end confdefs.h. */
51636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51638 #define $ac_func innocuous_$ac_func
51640 /* System header to define __stub macros and hopefully few prototypes,
51641 which can conflict with char $ac_func (); below.
51642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51643 <limits.h> exists even on freestanding compilers. */
51645 #ifdef __STDC__
51646 # include <limits.h>
51647 #else
51648 # include <assert.h>
51649 #endif
51651 #undef $ac_func
51653 /* Override any gcc2 internal prototype to avoid an error. */
51654 #ifdef __cplusplus
51655 extern "C"
51657 #endif
51658 /* We use char because int might match the return type of a gcc2
51659 builtin and then its argument prototype would still apply. */
51660 char $ac_func ();
51661 /* The GNU C library defines this for functions which it implements
51662 to always fail with ENOSYS. Some functions are actually named
51663 something starting with __ and the normal name is an alias. */
51664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51665 choke me
51666 #else
51667 char (*f) () = $ac_func;
51668 #endif
51669 #ifdef __cplusplus
51671 #endif
51674 main ()
51676 return f != $ac_func;
51678 return 0;
51680 _ACEOF
51681 rm -f conftest.$ac_objext conftest$ac_exeext
51682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51683 (eval $ac_link) 2>conftest.er1
51684 ac_status=$?
51685 grep -v '^ *+' conftest.er1 >conftest.err
51686 rm -f conftest.er1
51687 cat conftest.err >&5
51688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51689 (exit $ac_status); } &&
51690 { ac_try='test -z "$ac_c_werror_flag"
51691 || test ! -s conftest.err'
51692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51693 (eval $ac_try) 2>&5
51694 ac_status=$?
51695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51696 (exit $ac_status); }; } &&
51697 { ac_try='test -s conftest$ac_exeext'
51698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51699 (eval $ac_try) 2>&5
51700 ac_status=$?
51701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51702 (exit $ac_status); }; }; then
51703 eval "$as_ac_var=yes"
51704 else
51705 echo "$as_me: failed program was:" >&5
51706 sed 's/^/| /' conftest.$ac_ext >&5
51708 eval "$as_ac_var=no"
51710 rm -f conftest.err conftest.$ac_objext \
51711 conftest$ac_exeext conftest.$ac_ext
51713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51715 if test `eval echo '${'$as_ac_var'}'` = yes; then
51716 cat >>confdefs.h <<_ACEOF
51717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51718 _ACEOF
51721 done
51724 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51725 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51726 if test x"$has_weof" = xyes &&
51727 test x"$has_wchar_minmax" = xyes &&
51728 test x"$ac_wfuncs" = xyes;
51729 then
51730 ac_isoC99_wchar_t=yes
51731 else
51732 ac_isoC99_wchar_t=no
51734 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51735 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51737 # Use iconv for wchar_t to char conversions. As such, check for
51738 # X/Open Portability Guide, version 2 features (XPG2).
51739 if test "${ac_cv_header_iconv_h+set}" = set; then
51740 echo "$as_me:$LINENO: checking for iconv.h" >&5
51741 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51742 if test "${ac_cv_header_iconv_h+set}" = set; then
51743 echo $ECHO_N "(cached) $ECHO_C" >&6
51745 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51746 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51747 else
51748 # Is the header compilable?
51749 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51750 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51751 cat >conftest.$ac_ext <<_ACEOF
51752 /* confdefs.h. */
51753 _ACEOF
51754 cat confdefs.h >>conftest.$ac_ext
51755 cat >>conftest.$ac_ext <<_ACEOF
51756 /* end confdefs.h. */
51757 $ac_includes_default
51758 #include <iconv.h>
51759 _ACEOF
51760 rm -f conftest.$ac_objext
51761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51762 (eval $ac_compile) 2>conftest.er1
51763 ac_status=$?
51764 grep -v '^ *+' conftest.er1 >conftest.err
51765 rm -f conftest.er1
51766 cat conftest.err >&5
51767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51768 (exit $ac_status); } &&
51769 { ac_try='test -z "$ac_c_werror_flag"
51770 || test ! -s conftest.err'
51771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51772 (eval $ac_try) 2>&5
51773 ac_status=$?
51774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51775 (exit $ac_status); }; } &&
51776 { ac_try='test -s conftest.$ac_objext'
51777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51778 (eval $ac_try) 2>&5
51779 ac_status=$?
51780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51781 (exit $ac_status); }; }; then
51782 ac_header_compiler=yes
51783 else
51784 echo "$as_me: failed program was:" >&5
51785 sed 's/^/| /' conftest.$ac_ext >&5
51787 ac_header_compiler=no
51789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51791 echo "${ECHO_T}$ac_header_compiler" >&6
51793 # Is the header present?
51794 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51795 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51796 cat >conftest.$ac_ext <<_ACEOF
51797 /* confdefs.h. */
51798 _ACEOF
51799 cat confdefs.h >>conftest.$ac_ext
51800 cat >>conftest.$ac_ext <<_ACEOF
51801 /* end confdefs.h. */
51802 #include <iconv.h>
51803 _ACEOF
51804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51806 ac_status=$?
51807 grep -v '^ *+' conftest.er1 >conftest.err
51808 rm -f conftest.er1
51809 cat conftest.err >&5
51810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51811 (exit $ac_status); } >/dev/null; then
51812 if test -s conftest.err; then
51813 ac_cpp_err=$ac_c_preproc_warn_flag
51814 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51815 else
51816 ac_cpp_err=
51818 else
51819 ac_cpp_err=yes
51821 if test -z "$ac_cpp_err"; then
51822 ac_header_preproc=yes
51823 else
51824 echo "$as_me: failed program was:" >&5
51825 sed 's/^/| /' conftest.$ac_ext >&5
51827 ac_header_preproc=no
51829 rm -f conftest.err conftest.$ac_ext
51830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51831 echo "${ECHO_T}$ac_header_preproc" >&6
51833 # So? What about this header?
51834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51835 yes:no: )
51836 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51837 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51838 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51839 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51840 ac_header_preproc=yes
51842 no:yes:* )
51843 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51844 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51845 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51846 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51847 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51848 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51849 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51850 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51851 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51852 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51853 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51854 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51856 cat <<\_ASBOX
51857 ## ----------------------------------------- ##
51858 ## Report this to the package-unused lists. ##
51859 ## ----------------------------------------- ##
51860 _ASBOX
51862 sed "s/^/$as_me: WARNING: /" >&2
51864 esac
51865 echo "$as_me:$LINENO: checking for iconv.h" >&5
51866 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51867 if test "${ac_cv_header_iconv_h+set}" = set; then
51868 echo $ECHO_N "(cached) $ECHO_C" >&6
51869 else
51870 ac_cv_header_iconv_h=$ac_header_preproc
51872 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51873 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51876 if test $ac_cv_header_iconv_h = yes; then
51877 ac_has_iconv_h=yes
51878 else
51879 ac_has_iconv_h=no
51883 if test "${ac_cv_header_langinfo_h+set}" = set; then
51884 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51885 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51886 if test "${ac_cv_header_langinfo_h+set}" = set; then
51887 echo $ECHO_N "(cached) $ECHO_C" >&6
51889 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51890 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51891 else
51892 # Is the header compilable?
51893 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51894 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51895 cat >conftest.$ac_ext <<_ACEOF
51896 /* confdefs.h. */
51897 _ACEOF
51898 cat confdefs.h >>conftest.$ac_ext
51899 cat >>conftest.$ac_ext <<_ACEOF
51900 /* end confdefs.h. */
51901 $ac_includes_default
51902 #include <langinfo.h>
51903 _ACEOF
51904 rm -f conftest.$ac_objext
51905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51906 (eval $ac_compile) 2>conftest.er1
51907 ac_status=$?
51908 grep -v '^ *+' conftest.er1 >conftest.err
51909 rm -f conftest.er1
51910 cat conftest.err >&5
51911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51912 (exit $ac_status); } &&
51913 { ac_try='test -z "$ac_c_werror_flag"
51914 || test ! -s conftest.err'
51915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51916 (eval $ac_try) 2>&5
51917 ac_status=$?
51918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51919 (exit $ac_status); }; } &&
51920 { ac_try='test -s conftest.$ac_objext'
51921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51922 (eval $ac_try) 2>&5
51923 ac_status=$?
51924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51925 (exit $ac_status); }; }; then
51926 ac_header_compiler=yes
51927 else
51928 echo "$as_me: failed program was:" >&5
51929 sed 's/^/| /' conftest.$ac_ext >&5
51931 ac_header_compiler=no
51933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51935 echo "${ECHO_T}$ac_header_compiler" >&6
51937 # Is the header present?
51938 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51939 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51940 cat >conftest.$ac_ext <<_ACEOF
51941 /* confdefs.h. */
51942 _ACEOF
51943 cat confdefs.h >>conftest.$ac_ext
51944 cat >>conftest.$ac_ext <<_ACEOF
51945 /* end confdefs.h. */
51946 #include <langinfo.h>
51947 _ACEOF
51948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51950 ac_status=$?
51951 grep -v '^ *+' conftest.er1 >conftest.err
51952 rm -f conftest.er1
51953 cat conftest.err >&5
51954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51955 (exit $ac_status); } >/dev/null; then
51956 if test -s conftest.err; then
51957 ac_cpp_err=$ac_c_preproc_warn_flag
51958 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51959 else
51960 ac_cpp_err=
51962 else
51963 ac_cpp_err=yes
51965 if test -z "$ac_cpp_err"; then
51966 ac_header_preproc=yes
51967 else
51968 echo "$as_me: failed program was:" >&5
51969 sed 's/^/| /' conftest.$ac_ext >&5
51971 ac_header_preproc=no
51973 rm -f conftest.err conftest.$ac_ext
51974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51975 echo "${ECHO_T}$ac_header_preproc" >&6
51977 # So? What about this header?
51978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51979 yes:no: )
51980 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51981 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51982 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51983 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51984 ac_header_preproc=yes
51986 no:yes:* )
51987 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51988 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51989 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51990 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51991 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51992 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51993 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51994 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51995 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51996 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51997 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51998 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52000 cat <<\_ASBOX
52001 ## ----------------------------------------- ##
52002 ## Report this to the package-unused lists. ##
52003 ## ----------------------------------------- ##
52004 _ASBOX
52006 sed "s/^/$as_me: WARNING: /" >&2
52008 esac
52009 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52010 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52011 if test "${ac_cv_header_langinfo_h+set}" = set; then
52012 echo $ECHO_N "(cached) $ECHO_C" >&6
52013 else
52014 ac_cv_header_langinfo_h=$ac_header_preproc
52016 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52017 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52020 if test $ac_cv_header_langinfo_h = yes; then
52021 ac_has_langinfo_h=yes
52022 else
52023 ac_has_langinfo_h=no
52028 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52029 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52030 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52031 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52032 echo $ECHO_N "(cached) $ECHO_C" >&6
52033 else
52034 ac_check_lib_save_LIBS=$LIBS
52035 LIBS="-liconv $LIBS"
52036 if test x$gcc_no_link = xyes; then
52037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52039 { (exit 1); exit 1; }; }
52041 cat >conftest.$ac_ext <<_ACEOF
52042 /* confdefs.h. */
52043 _ACEOF
52044 cat confdefs.h >>conftest.$ac_ext
52045 cat >>conftest.$ac_ext <<_ACEOF
52046 /* end confdefs.h. */
52048 /* Override any gcc2 internal prototype to avoid an error. */
52049 #ifdef __cplusplus
52050 extern "C"
52051 #endif
52052 /* We use char because int might match the return type of a gcc2
52053 builtin and then its argument prototype would still apply. */
52054 char iconv ();
52056 main ()
52058 iconv ();
52060 return 0;
52062 _ACEOF
52063 rm -f conftest.$ac_objext conftest$ac_exeext
52064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52065 (eval $ac_link) 2>conftest.er1
52066 ac_status=$?
52067 grep -v '^ *+' conftest.er1 >conftest.err
52068 rm -f conftest.er1
52069 cat conftest.err >&5
52070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52071 (exit $ac_status); } &&
52072 { ac_try='test -z "$ac_c_werror_flag"
52073 || test ! -s conftest.err'
52074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52075 (eval $ac_try) 2>&5
52076 ac_status=$?
52077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52078 (exit $ac_status); }; } &&
52079 { ac_try='test -s conftest$ac_exeext'
52080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52081 (eval $ac_try) 2>&5
52082 ac_status=$?
52083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52084 (exit $ac_status); }; }; then
52085 ac_cv_lib_iconv_iconv=yes
52086 else
52087 echo "$as_me: failed program was:" >&5
52088 sed 's/^/| /' conftest.$ac_ext >&5
52090 ac_cv_lib_iconv_iconv=no
52092 rm -f conftest.err conftest.$ac_objext \
52093 conftest$ac_exeext conftest.$ac_ext
52094 LIBS=$ac_check_lib_save_LIBS
52096 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52097 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52098 if test $ac_cv_lib_iconv_iconv = yes; then
52099 LIBICONV="-liconv"
52102 ac_save_LIBS="$LIBS"
52103 LIBS="$LIBS $LIBICONV"
52110 for ac_func in iconv_open iconv_close iconv nl_langinfo
52112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52113 echo "$as_me:$LINENO: checking for $ac_func" >&5
52114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52115 if eval "test \"\${$as_ac_var+set}\" = set"; then
52116 echo $ECHO_N "(cached) $ECHO_C" >&6
52117 else
52118 if test x$gcc_no_link = xyes; then
52119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52121 { (exit 1); exit 1; }; }
52123 cat >conftest.$ac_ext <<_ACEOF
52124 /* confdefs.h. */
52125 _ACEOF
52126 cat confdefs.h >>conftest.$ac_ext
52127 cat >>conftest.$ac_ext <<_ACEOF
52128 /* end confdefs.h. */
52129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52131 #define $ac_func innocuous_$ac_func
52133 /* System header to define __stub macros and hopefully few prototypes,
52134 which can conflict with char $ac_func (); below.
52135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52136 <limits.h> exists even on freestanding compilers. */
52138 #ifdef __STDC__
52139 # include <limits.h>
52140 #else
52141 # include <assert.h>
52142 #endif
52144 #undef $ac_func
52146 /* Override any gcc2 internal prototype to avoid an error. */
52147 #ifdef __cplusplus
52148 extern "C"
52150 #endif
52151 /* We use char because int might match the return type of a gcc2
52152 builtin and then its argument prototype would still apply. */
52153 char $ac_func ();
52154 /* The GNU C library defines this for functions which it implements
52155 to always fail with ENOSYS. Some functions are actually named
52156 something starting with __ and the normal name is an alias. */
52157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52158 choke me
52159 #else
52160 char (*f) () = $ac_func;
52161 #endif
52162 #ifdef __cplusplus
52164 #endif
52167 main ()
52169 return f != $ac_func;
52171 return 0;
52173 _ACEOF
52174 rm -f conftest.$ac_objext conftest$ac_exeext
52175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52176 (eval $ac_link) 2>conftest.er1
52177 ac_status=$?
52178 grep -v '^ *+' conftest.er1 >conftest.err
52179 rm -f conftest.er1
52180 cat conftest.err >&5
52181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52182 (exit $ac_status); } &&
52183 { ac_try='test -z "$ac_c_werror_flag"
52184 || test ! -s conftest.err'
52185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52186 (eval $ac_try) 2>&5
52187 ac_status=$?
52188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52189 (exit $ac_status); }; } &&
52190 { ac_try='test -s conftest$ac_exeext'
52191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52192 (eval $ac_try) 2>&5
52193 ac_status=$?
52194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52195 (exit $ac_status); }; }; then
52196 eval "$as_ac_var=yes"
52197 else
52198 echo "$as_me: failed program was:" >&5
52199 sed 's/^/| /' conftest.$ac_ext >&5
52201 eval "$as_ac_var=no"
52203 rm -f conftest.err conftest.$ac_objext \
52204 conftest$ac_exeext conftest.$ac_ext
52206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52208 if test `eval echo '${'$as_ac_var'}'` = yes; then
52209 cat >>confdefs.h <<_ACEOF
52210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52211 _ACEOF
52212 ac_XPG2funcs=yes
52213 else
52214 ac_XPG2funcs=no
52216 done
52219 LIBS="$ac_save_LIBS"
52221 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52222 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52223 if test x"$ac_has_iconv_h" = xyes &&
52224 test x"$ac_has_langinfo_h" = xyes &&
52225 test x"$ac_XPG2funcs" = xyes;
52226 then
52227 ac_XPG2_wchar_t=yes
52228 else
52229 ac_XPG2_wchar_t=no
52231 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52232 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52234 # At the moment, only enable wchar_t specializations if all the
52235 # above support is present.
52236 if test x"$ac_isoC99_wchar_t" = xyes &&
52237 test x"$ac_XPG2_wchar_t" = xyes;
52238 then
52239 cat >>confdefs.h <<\_ACEOF
52240 #define _GLIBCXX_USE_WCHAR_T 1
52241 _ACEOF
52243 enable_wchar_t=yes
52246 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52247 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52248 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52249 echo "${ECHO_T}$enable_wchar_t" >&6
52252 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52253 ac_save_CXXFLAGS="$CXXFLAGS"
52254 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52257 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52258 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52259 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52260 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52261 echo $ECHO_N "(cached) $ECHO_C" >&6
52262 else
52266 ac_ext=cc
52267 ac_cpp='$CXXCPP $CPPFLAGS'
52268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52272 cat >conftest.$ac_ext <<_ACEOF
52273 /* confdefs.h. */
52274 _ACEOF
52275 cat confdefs.h >>conftest.$ac_ext
52276 cat >>conftest.$ac_ext <<_ACEOF
52277 /* end confdefs.h. */
52278 #include <stdlib.h>
52280 main ()
52282 strtold(0, 0);
52284 return 0;
52286 _ACEOF
52287 rm -f conftest.$ac_objext
52288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52289 (eval $ac_compile) 2>conftest.er1
52290 ac_status=$?
52291 grep -v '^ *+' conftest.er1 >conftest.err
52292 rm -f conftest.er1
52293 cat conftest.err >&5
52294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52295 (exit $ac_status); } &&
52296 { ac_try='test -z "$ac_cxx_werror_flag"
52297 || test ! -s conftest.err'
52298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52299 (eval $ac_try) 2>&5
52300 ac_status=$?
52301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52302 (exit $ac_status); }; } &&
52303 { ac_try='test -s conftest.$ac_objext'
52304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52305 (eval $ac_try) 2>&5
52306 ac_status=$?
52307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52308 (exit $ac_status); }; }; then
52309 glibcxx_cv_func_strtold_use=yes
52310 else
52311 echo "$as_me: failed program was:" >&5
52312 sed 's/^/| /' conftest.$ac_ext >&5
52314 glibcxx_cv_func_strtold_use=no
52316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52317 ac_ext=c
52318 ac_cpp='$CPP $CPPFLAGS'
52319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52327 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52328 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52329 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52331 for ac_func in strtold
52333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52334 echo "$as_me:$LINENO: checking for $ac_func" >&5
52335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52336 if eval "test \"\${$as_ac_var+set}\" = set"; then
52337 echo $ECHO_N "(cached) $ECHO_C" >&6
52338 else
52339 if test x$gcc_no_link = xyes; then
52340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52342 { (exit 1); exit 1; }; }
52344 cat >conftest.$ac_ext <<_ACEOF
52345 /* confdefs.h. */
52346 _ACEOF
52347 cat confdefs.h >>conftest.$ac_ext
52348 cat >>conftest.$ac_ext <<_ACEOF
52349 /* end confdefs.h. */
52350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52352 #define $ac_func innocuous_$ac_func
52354 /* System header to define __stub macros and hopefully few prototypes,
52355 which can conflict with char $ac_func (); below.
52356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52357 <limits.h> exists even on freestanding compilers. */
52359 #ifdef __STDC__
52360 # include <limits.h>
52361 #else
52362 # include <assert.h>
52363 #endif
52365 #undef $ac_func
52367 /* Override any gcc2 internal prototype to avoid an error. */
52368 #ifdef __cplusplus
52369 extern "C"
52371 #endif
52372 /* We use char because int might match the return type of a gcc2
52373 builtin and then its argument prototype would still apply. */
52374 char $ac_func ();
52375 /* The GNU C library defines this for functions which it implements
52376 to always fail with ENOSYS. Some functions are actually named
52377 something starting with __ and the normal name is an alias. */
52378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52379 choke me
52380 #else
52381 char (*f) () = $ac_func;
52382 #endif
52383 #ifdef __cplusplus
52385 #endif
52388 main ()
52390 return f != $ac_func;
52392 return 0;
52394 _ACEOF
52395 rm -f conftest.$ac_objext conftest$ac_exeext
52396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52397 (eval $ac_link) 2>conftest.er1
52398 ac_status=$?
52399 grep -v '^ *+' conftest.er1 >conftest.err
52400 rm -f conftest.er1
52401 cat conftest.err >&5
52402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52403 (exit $ac_status); } &&
52404 { ac_try='test -z "$ac_c_werror_flag"
52405 || test ! -s conftest.err'
52406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52407 (eval $ac_try) 2>&5
52408 ac_status=$?
52409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52410 (exit $ac_status); }; } &&
52411 { ac_try='test -s conftest$ac_exeext'
52412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52413 (eval $ac_try) 2>&5
52414 ac_status=$?
52415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52416 (exit $ac_status); }; }; then
52417 eval "$as_ac_var=yes"
52418 else
52419 echo "$as_me: failed program was:" >&5
52420 sed 's/^/| /' conftest.$ac_ext >&5
52422 eval "$as_ac_var=no"
52424 rm -f conftest.err conftest.$ac_objext \
52425 conftest$ac_exeext conftest.$ac_ext
52427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52429 if test `eval echo '${'$as_ac_var'}'` = yes; then
52430 cat >>confdefs.h <<_ACEOF
52431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52432 _ACEOF
52435 done
52440 echo "$as_me:$LINENO: checking for strtof declaration" >&5
52441 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52442 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52443 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52444 echo $ECHO_N "(cached) $ECHO_C" >&6
52445 else
52449 ac_ext=cc
52450 ac_cpp='$CXXCPP $CPPFLAGS'
52451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52455 cat >conftest.$ac_ext <<_ACEOF
52456 /* confdefs.h. */
52457 _ACEOF
52458 cat confdefs.h >>conftest.$ac_ext
52459 cat >>conftest.$ac_ext <<_ACEOF
52460 /* end confdefs.h. */
52461 #include <stdlib.h>
52463 main ()
52465 strtof(0, 0);
52467 return 0;
52469 _ACEOF
52470 rm -f conftest.$ac_objext
52471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52472 (eval $ac_compile) 2>conftest.er1
52473 ac_status=$?
52474 grep -v '^ *+' conftest.er1 >conftest.err
52475 rm -f conftest.er1
52476 cat conftest.err >&5
52477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52478 (exit $ac_status); } &&
52479 { ac_try='test -z "$ac_cxx_werror_flag"
52480 || test ! -s conftest.err'
52481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52482 (eval $ac_try) 2>&5
52483 ac_status=$?
52484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52485 (exit $ac_status); }; } &&
52486 { ac_try='test -s conftest.$ac_objext'
52487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52488 (eval $ac_try) 2>&5
52489 ac_status=$?
52490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52491 (exit $ac_status); }; }; then
52492 glibcxx_cv_func_strtof_use=yes
52493 else
52494 echo "$as_me: failed program was:" >&5
52495 sed 's/^/| /' conftest.$ac_ext >&5
52497 glibcxx_cv_func_strtof_use=no
52499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52500 ac_ext=c
52501 ac_cpp='$CPP $CPPFLAGS'
52502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52511 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52512 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52514 for ac_func in strtof
52516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52517 echo "$as_me:$LINENO: checking for $ac_func" >&5
52518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52519 if eval "test \"\${$as_ac_var+set}\" = set"; then
52520 echo $ECHO_N "(cached) $ECHO_C" >&6
52521 else
52522 if test x$gcc_no_link = xyes; then
52523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52525 { (exit 1); exit 1; }; }
52527 cat >conftest.$ac_ext <<_ACEOF
52528 /* confdefs.h. */
52529 _ACEOF
52530 cat confdefs.h >>conftest.$ac_ext
52531 cat >>conftest.$ac_ext <<_ACEOF
52532 /* end confdefs.h. */
52533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52535 #define $ac_func innocuous_$ac_func
52537 /* System header to define __stub macros and hopefully few prototypes,
52538 which can conflict with char $ac_func (); below.
52539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52540 <limits.h> exists even on freestanding compilers. */
52542 #ifdef __STDC__
52543 # include <limits.h>
52544 #else
52545 # include <assert.h>
52546 #endif
52548 #undef $ac_func
52550 /* Override any gcc2 internal prototype to avoid an error. */
52551 #ifdef __cplusplus
52552 extern "C"
52554 #endif
52555 /* We use char because int might match the return type of a gcc2
52556 builtin and then its argument prototype would still apply. */
52557 char $ac_func ();
52558 /* The GNU C library defines this for functions which it implements
52559 to always fail with ENOSYS. Some functions are actually named
52560 something starting with __ and the normal name is an alias. */
52561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52562 choke me
52563 #else
52564 char (*f) () = $ac_func;
52565 #endif
52566 #ifdef __cplusplus
52568 #endif
52571 main ()
52573 return f != $ac_func;
52575 return 0;
52577 _ACEOF
52578 rm -f conftest.$ac_objext conftest$ac_exeext
52579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52580 (eval $ac_link) 2>conftest.er1
52581 ac_status=$?
52582 grep -v '^ *+' conftest.er1 >conftest.err
52583 rm -f conftest.er1
52584 cat conftest.err >&5
52585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52586 (exit $ac_status); } &&
52587 { ac_try='test -z "$ac_c_werror_flag"
52588 || test ! -s conftest.err'
52589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52590 (eval $ac_try) 2>&5
52591 ac_status=$?
52592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52593 (exit $ac_status); }; } &&
52594 { ac_try='test -s conftest$ac_exeext'
52595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52596 (eval $ac_try) 2>&5
52597 ac_status=$?
52598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52599 (exit $ac_status); }; }; then
52600 eval "$as_ac_var=yes"
52601 else
52602 echo "$as_me: failed program was:" >&5
52603 sed 's/^/| /' conftest.$ac_ext >&5
52605 eval "$as_ac_var=no"
52607 rm -f conftest.err conftest.$ac_objext \
52608 conftest$ac_exeext conftest.$ac_ext
52610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52612 if test `eval echo '${'$as_ac_var'}'` = yes; then
52613 cat >>confdefs.h <<_ACEOF
52614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52615 _ACEOF
52618 done
52623 CXXFLAGS="$ac_save_CXXFLAGS"
52626 # For showmanyc_helper().
52629 for ac_header in sys/ioctl.h sys/filio.h
52631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52633 echo "$as_me:$LINENO: checking for $ac_header" >&5
52634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52636 echo $ECHO_N "(cached) $ECHO_C" >&6
52638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52640 else
52641 # Is the header compilable?
52642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52644 cat >conftest.$ac_ext <<_ACEOF
52645 /* confdefs.h. */
52646 _ACEOF
52647 cat confdefs.h >>conftest.$ac_ext
52648 cat >>conftest.$ac_ext <<_ACEOF
52649 /* end confdefs.h. */
52650 $ac_includes_default
52651 #include <$ac_header>
52652 _ACEOF
52653 rm -f conftest.$ac_objext
52654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52655 (eval $ac_compile) 2>conftest.er1
52656 ac_status=$?
52657 grep -v '^ *+' conftest.er1 >conftest.err
52658 rm -f conftest.er1
52659 cat conftest.err >&5
52660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52661 (exit $ac_status); } &&
52662 { ac_try='test -z "$ac_c_werror_flag"
52663 || test ! -s conftest.err'
52664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52665 (eval $ac_try) 2>&5
52666 ac_status=$?
52667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52668 (exit $ac_status); }; } &&
52669 { ac_try='test -s conftest.$ac_objext'
52670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52671 (eval $ac_try) 2>&5
52672 ac_status=$?
52673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52674 (exit $ac_status); }; }; then
52675 ac_header_compiler=yes
52676 else
52677 echo "$as_me: failed program was:" >&5
52678 sed 's/^/| /' conftest.$ac_ext >&5
52680 ac_header_compiler=no
52682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52684 echo "${ECHO_T}$ac_header_compiler" >&6
52686 # Is the header present?
52687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52689 cat >conftest.$ac_ext <<_ACEOF
52690 /* confdefs.h. */
52691 _ACEOF
52692 cat confdefs.h >>conftest.$ac_ext
52693 cat >>conftest.$ac_ext <<_ACEOF
52694 /* end confdefs.h. */
52695 #include <$ac_header>
52696 _ACEOF
52697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52699 ac_status=$?
52700 grep -v '^ *+' conftest.er1 >conftest.err
52701 rm -f conftest.er1
52702 cat conftest.err >&5
52703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52704 (exit $ac_status); } >/dev/null; then
52705 if test -s conftest.err; then
52706 ac_cpp_err=$ac_c_preproc_warn_flag
52707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52708 else
52709 ac_cpp_err=
52711 else
52712 ac_cpp_err=yes
52714 if test -z "$ac_cpp_err"; then
52715 ac_header_preproc=yes
52716 else
52717 echo "$as_me: failed program was:" >&5
52718 sed 's/^/| /' conftest.$ac_ext >&5
52720 ac_header_preproc=no
52722 rm -f conftest.err conftest.$ac_ext
52723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52724 echo "${ECHO_T}$ac_header_preproc" >&6
52726 # So? What about this header?
52727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52728 yes:no: )
52729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52733 ac_header_preproc=yes
52735 no:yes:* )
52736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52749 cat <<\_ASBOX
52750 ## ----------------------------------------- ##
52751 ## Report this to the package-unused lists. ##
52752 ## ----------------------------------------- ##
52753 _ASBOX
52755 sed "s/^/$as_me: WARNING: /" >&2
52757 esac
52758 echo "$as_me:$LINENO: checking for $ac_header" >&5
52759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52761 echo $ECHO_N "(cached) $ECHO_C" >&6
52762 else
52763 eval "$as_ac_Header=\$ac_header_preproc"
52765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52770 cat >>confdefs.h <<_ACEOF
52771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52772 _ACEOF
52776 done
52779 if test "${glibcxx_cv_POLL+set}" = set; then
52780 echo $ECHO_N "(cached) $ECHO_C" >&6
52781 else
52783 if test x$gcc_no_link = xyes; then
52784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52786 { (exit 1); exit 1; }; }
52788 cat >conftest.$ac_ext <<_ACEOF
52789 /* confdefs.h. */
52790 _ACEOF
52791 cat confdefs.h >>conftest.$ac_ext
52792 cat >>conftest.$ac_ext <<_ACEOF
52793 /* end confdefs.h. */
52794 #include <poll.h>
52796 main ()
52798 struct pollfd pfd[1];
52799 pfd[0].events = POLLIN;
52800 poll(pfd, 1, 0);
52802 return 0;
52804 _ACEOF
52805 rm -f conftest.$ac_objext conftest$ac_exeext
52806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52807 (eval $ac_link) 2>conftest.er1
52808 ac_status=$?
52809 grep -v '^ *+' conftest.er1 >conftest.err
52810 rm -f conftest.er1
52811 cat conftest.err >&5
52812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52813 (exit $ac_status); } &&
52814 { ac_try='test -z "$ac_c_werror_flag"
52815 || test ! -s conftest.err'
52816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52817 (eval $ac_try) 2>&5
52818 ac_status=$?
52819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52820 (exit $ac_status); }; } &&
52821 { ac_try='test -s conftest$ac_exeext'
52822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52823 (eval $ac_try) 2>&5
52824 ac_status=$?
52825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52826 (exit $ac_status); }; }; then
52827 glibcxx_cv_POLL=yes
52828 else
52829 echo "$as_me: failed program was:" >&5
52830 sed 's/^/| /' conftest.$ac_ext >&5
52832 glibcxx_cv_POLL=no
52834 rm -f conftest.err conftest.$ac_objext \
52835 conftest$ac_exeext conftest.$ac_ext
52839 if test $glibcxx_cv_POLL = yes; then
52840 cat >>confdefs.h <<\_ACEOF
52841 #define HAVE_POLL 1
52842 _ACEOF
52847 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52848 echo $ECHO_N "(cached) $ECHO_C" >&6
52849 else
52851 if test x$gcc_no_link = xyes; then
52852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52854 { (exit 1); exit 1; }; }
52856 cat >conftest.$ac_ext <<_ACEOF
52857 /* confdefs.h. */
52858 _ACEOF
52859 cat confdefs.h >>conftest.$ac_ext
52860 cat >>conftest.$ac_ext <<_ACEOF
52861 /* end confdefs.h. */
52862 #include <sys/stat.h>
52864 main ()
52866 struct stat buffer;
52867 fstat(0, &buffer);
52868 S_ISREG(buffer.st_mode);
52870 return 0;
52872 _ACEOF
52873 rm -f conftest.$ac_objext conftest$ac_exeext
52874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52875 (eval $ac_link) 2>conftest.er1
52876 ac_status=$?
52877 grep -v '^ *+' conftest.er1 >conftest.err
52878 rm -f conftest.er1
52879 cat conftest.err >&5
52880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52881 (exit $ac_status); } &&
52882 { ac_try='test -z "$ac_c_werror_flag"
52883 || test ! -s conftest.err'
52884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52885 (eval $ac_try) 2>&5
52886 ac_status=$?
52887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52888 (exit $ac_status); }; } &&
52889 { ac_try='test -s conftest$ac_exeext'
52890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52891 (eval $ac_try) 2>&5
52892 ac_status=$?
52893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52894 (exit $ac_status); }; }; then
52895 glibcxx_cv_S_ISREG=yes
52896 else
52897 echo "$as_me: failed program was:" >&5
52898 sed 's/^/| /' conftest.$ac_ext >&5
52900 glibcxx_cv_S_ISREG=no
52902 rm -f conftest.err conftest.$ac_objext \
52903 conftest$ac_exeext conftest.$ac_ext
52907 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52908 echo $ECHO_N "(cached) $ECHO_C" >&6
52909 else
52911 if test x$gcc_no_link = xyes; then
52912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52914 { (exit 1); exit 1; }; }
52916 cat >conftest.$ac_ext <<_ACEOF
52917 /* confdefs.h. */
52918 _ACEOF
52919 cat confdefs.h >>conftest.$ac_ext
52920 cat >>conftest.$ac_ext <<_ACEOF
52921 /* end confdefs.h. */
52922 #include <sys/stat.h>
52924 main ()
52926 struct stat buffer;
52927 fstat(0, &buffer);
52928 S_IFREG & buffer.st_mode;
52930 return 0;
52932 _ACEOF
52933 rm -f conftest.$ac_objext conftest$ac_exeext
52934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52935 (eval $ac_link) 2>conftest.er1
52936 ac_status=$?
52937 grep -v '^ *+' conftest.er1 >conftest.err
52938 rm -f conftest.er1
52939 cat conftest.err >&5
52940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52941 (exit $ac_status); } &&
52942 { ac_try='test -z "$ac_c_werror_flag"
52943 || test ! -s conftest.err'
52944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52945 (eval $ac_try) 2>&5
52946 ac_status=$?
52947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52948 (exit $ac_status); }; } &&
52949 { ac_try='test -s conftest$ac_exeext'
52950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52951 (eval $ac_try) 2>&5
52952 ac_status=$?
52953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52954 (exit $ac_status); }; }; then
52955 glibcxx_cv_S_IFREG=yes
52956 else
52957 echo "$as_me: failed program was:" >&5
52958 sed 's/^/| /' conftest.$ac_ext >&5
52960 glibcxx_cv_S_IFREG=no
52962 rm -f conftest.err conftest.$ac_objext \
52963 conftest$ac_exeext conftest.$ac_ext
52967 if test $glibcxx_cv_S_ISREG = yes; then
52968 cat >>confdefs.h <<\_ACEOF
52969 #define HAVE_S_ISREG 1
52970 _ACEOF
52972 elif test $glibcxx_cv_S_IFREG = yes; then
52973 cat >>confdefs.h <<\_ACEOF
52974 #define HAVE_S_IFREG 1
52975 _ACEOF
52980 # For xsputn_2().
52982 for ac_header in sys/uio.h
52984 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52986 echo "$as_me:$LINENO: checking for $ac_header" >&5
52987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52989 echo $ECHO_N "(cached) $ECHO_C" >&6
52991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52993 else
52994 # Is the header compilable?
52995 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52996 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52997 cat >conftest.$ac_ext <<_ACEOF
52998 /* confdefs.h. */
52999 _ACEOF
53000 cat confdefs.h >>conftest.$ac_ext
53001 cat >>conftest.$ac_ext <<_ACEOF
53002 /* end confdefs.h. */
53003 $ac_includes_default
53004 #include <$ac_header>
53005 _ACEOF
53006 rm -f conftest.$ac_objext
53007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53008 (eval $ac_compile) 2>conftest.er1
53009 ac_status=$?
53010 grep -v '^ *+' conftest.er1 >conftest.err
53011 rm -f conftest.er1
53012 cat conftest.err >&5
53013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53014 (exit $ac_status); } &&
53015 { ac_try='test -z "$ac_c_werror_flag"
53016 || test ! -s conftest.err'
53017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53018 (eval $ac_try) 2>&5
53019 ac_status=$?
53020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53021 (exit $ac_status); }; } &&
53022 { ac_try='test -s conftest.$ac_objext'
53023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53024 (eval $ac_try) 2>&5
53025 ac_status=$?
53026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53027 (exit $ac_status); }; }; then
53028 ac_header_compiler=yes
53029 else
53030 echo "$as_me: failed program was:" >&5
53031 sed 's/^/| /' conftest.$ac_ext >&5
53033 ac_header_compiler=no
53035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53037 echo "${ECHO_T}$ac_header_compiler" >&6
53039 # Is the header present?
53040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53042 cat >conftest.$ac_ext <<_ACEOF
53043 /* confdefs.h. */
53044 _ACEOF
53045 cat confdefs.h >>conftest.$ac_ext
53046 cat >>conftest.$ac_ext <<_ACEOF
53047 /* end confdefs.h. */
53048 #include <$ac_header>
53049 _ACEOF
53050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53052 ac_status=$?
53053 grep -v '^ *+' conftest.er1 >conftest.err
53054 rm -f conftest.er1
53055 cat conftest.err >&5
53056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53057 (exit $ac_status); } >/dev/null; then
53058 if test -s conftest.err; then
53059 ac_cpp_err=$ac_c_preproc_warn_flag
53060 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53061 else
53062 ac_cpp_err=
53064 else
53065 ac_cpp_err=yes
53067 if test -z "$ac_cpp_err"; then
53068 ac_header_preproc=yes
53069 else
53070 echo "$as_me: failed program was:" >&5
53071 sed 's/^/| /' conftest.$ac_ext >&5
53073 ac_header_preproc=no
53075 rm -f conftest.err conftest.$ac_ext
53076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53077 echo "${ECHO_T}$ac_header_preproc" >&6
53079 # So? What about this header?
53080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53081 yes:no: )
53082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53086 ac_header_preproc=yes
53088 no:yes:* )
53089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53102 cat <<\_ASBOX
53103 ## ----------------------------------------- ##
53104 ## Report this to the package-unused lists. ##
53105 ## ----------------------------------------- ##
53106 _ASBOX
53108 sed "s/^/$as_me: WARNING: /" >&2
53110 esac
53111 echo "$as_me:$LINENO: checking for $ac_header" >&5
53112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53114 echo $ECHO_N "(cached) $ECHO_C" >&6
53115 else
53116 eval "$as_ac_Header=\$ac_header_preproc"
53118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53123 cat >>confdefs.h <<_ACEOF
53124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53125 _ACEOF
53129 done
53132 if test "${glibcxx_cv_WRITEV+set}" = set; then
53133 echo $ECHO_N "(cached) $ECHO_C" >&6
53134 else
53136 if test x$gcc_no_link = xyes; then
53137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53139 { (exit 1); exit 1; }; }
53141 cat >conftest.$ac_ext <<_ACEOF
53142 /* confdefs.h. */
53143 _ACEOF
53144 cat confdefs.h >>conftest.$ac_ext
53145 cat >>conftest.$ac_ext <<_ACEOF
53146 /* end confdefs.h. */
53147 #include <sys/uio.h>
53149 main ()
53151 struct iovec iov[2];
53152 writev(0, iov, 0);
53154 return 0;
53156 _ACEOF
53157 rm -f conftest.$ac_objext conftest$ac_exeext
53158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53159 (eval $ac_link) 2>conftest.er1
53160 ac_status=$?
53161 grep -v '^ *+' conftest.er1 >conftest.err
53162 rm -f conftest.er1
53163 cat conftest.err >&5
53164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53165 (exit $ac_status); } &&
53166 { ac_try='test -z "$ac_c_werror_flag"
53167 || test ! -s conftest.err'
53168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53169 (eval $ac_try) 2>&5
53170 ac_status=$?
53171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53172 (exit $ac_status); }; } &&
53173 { ac_try='test -s conftest$ac_exeext'
53174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53175 (eval $ac_try) 2>&5
53176 ac_status=$?
53177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53178 (exit $ac_status); }; }; then
53179 glibcxx_cv_WRITEV=yes
53180 else
53181 echo "$as_me: failed program was:" >&5
53182 sed 's/^/| /' conftest.$ac_ext >&5
53184 glibcxx_cv_WRITEV=no
53186 rm -f conftest.err conftest.$ac_objext \
53187 conftest$ac_exeext conftest.$ac_ext
53191 if test $glibcxx_cv_WRITEV = yes; then
53192 cat >>confdefs.h <<\_ACEOF
53193 #define HAVE_WRITEV 1
53194 _ACEOF
53199 cat >>confdefs.h <<\_ACEOF
53200 #define HAVE_LC_MESSAGES 1
53201 _ACEOF
53204 cat >conftest.$ac_ext <<_ACEOF
53205 /* confdefs.h. */
53206 _ACEOF
53207 cat confdefs.h >>conftest.$ac_ext
53208 cat >>conftest.$ac_ext <<_ACEOF
53209 /* end confdefs.h. */
53210 #include <setjmp.h>
53212 main ()
53214 sigjmp_buf env;
53215 while (! sigsetjmp (env, 1))
53216 siglongjmp (env, 1);
53219 return 0;
53221 _ACEOF
53222 rm -f conftest.$ac_objext
53223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53224 (eval $ac_compile) 2>conftest.er1
53225 ac_status=$?
53226 grep -v '^ *+' conftest.er1 >conftest.err
53227 rm -f conftest.er1
53228 cat conftest.err >&5
53229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53230 (exit $ac_status); } &&
53231 { ac_try='test -z "$ac_c_werror_flag"
53232 || test ! -s conftest.err'
53233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53234 (eval $ac_try) 2>&5
53235 ac_status=$?
53236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53237 (exit $ac_status); }; } &&
53238 { ac_try='test -s conftest.$ac_objext'
53239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53240 (eval $ac_try) 2>&5
53241 ac_status=$?
53242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53243 (exit $ac_status); }; }; then
53245 cat >>confdefs.h <<\_ACEOF
53246 #define HAVE_SIGSETJMP 1
53247 _ACEOF
53249 else
53250 echo "$as_me: failed program was:" >&5
53251 sed 's/^/| /' conftest.$ac_ext >&5
53254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53256 cat >>confdefs.h <<\_ACEOF
53257 #define HAVE_MMAP 1
53258 _ACEOF
53262 *djgpp)
53283 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53284 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53285 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53286 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53290 echo "$as_me:$LINENO: checking for $ac_header" >&5
53291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53293 echo $ECHO_N "(cached) $ECHO_C" >&6
53295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53297 else
53298 # Is the header compilable?
53299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53301 cat >conftest.$ac_ext <<_ACEOF
53302 /* confdefs.h. */
53303 _ACEOF
53304 cat confdefs.h >>conftest.$ac_ext
53305 cat >>conftest.$ac_ext <<_ACEOF
53306 /* end confdefs.h. */
53307 $ac_includes_default
53308 #include <$ac_header>
53309 _ACEOF
53310 rm -f conftest.$ac_objext
53311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53312 (eval $ac_compile) 2>conftest.er1
53313 ac_status=$?
53314 grep -v '^ *+' conftest.er1 >conftest.err
53315 rm -f conftest.er1
53316 cat conftest.err >&5
53317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53318 (exit $ac_status); } &&
53319 { ac_try='test -z "$ac_c_werror_flag"
53320 || test ! -s conftest.err'
53321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53322 (eval $ac_try) 2>&5
53323 ac_status=$?
53324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53325 (exit $ac_status); }; } &&
53326 { ac_try='test -s conftest.$ac_objext'
53327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53328 (eval $ac_try) 2>&5
53329 ac_status=$?
53330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53331 (exit $ac_status); }; }; then
53332 ac_header_compiler=yes
53333 else
53334 echo "$as_me: failed program was:" >&5
53335 sed 's/^/| /' conftest.$ac_ext >&5
53337 ac_header_compiler=no
53339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53341 echo "${ECHO_T}$ac_header_compiler" >&6
53343 # Is the header present?
53344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53346 cat >conftest.$ac_ext <<_ACEOF
53347 /* confdefs.h. */
53348 _ACEOF
53349 cat confdefs.h >>conftest.$ac_ext
53350 cat >>conftest.$ac_ext <<_ACEOF
53351 /* end confdefs.h. */
53352 #include <$ac_header>
53353 _ACEOF
53354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53356 ac_status=$?
53357 grep -v '^ *+' conftest.er1 >conftest.err
53358 rm -f conftest.er1
53359 cat conftest.err >&5
53360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53361 (exit $ac_status); } >/dev/null; then
53362 if test -s conftest.err; then
53363 ac_cpp_err=$ac_c_preproc_warn_flag
53364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53365 else
53366 ac_cpp_err=
53368 else
53369 ac_cpp_err=yes
53371 if test -z "$ac_cpp_err"; then
53372 ac_header_preproc=yes
53373 else
53374 echo "$as_me: failed program was:" >&5
53375 sed 's/^/| /' conftest.$ac_ext >&5
53377 ac_header_preproc=no
53379 rm -f conftest.err conftest.$ac_ext
53380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53381 echo "${ECHO_T}$ac_header_preproc" >&6
53383 # So? What about this header?
53384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53385 yes:no: )
53386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53389 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53390 ac_header_preproc=yes
53392 no:yes:* )
53393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53394 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53396 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53397 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53398 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53399 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53400 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53403 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53404 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53406 cat <<\_ASBOX
53407 ## ----------------------------------------- ##
53408 ## Report this to the package-unused lists. ##
53409 ## ----------------------------------------- ##
53410 _ASBOX
53412 sed "s/^/$as_me: WARNING: /" >&2
53414 esac
53415 echo "$as_me:$LINENO: checking for $ac_header" >&5
53416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53418 echo $ECHO_N "(cached) $ECHO_C" >&6
53419 else
53420 eval "$as_ac_Header=\$ac_header_preproc"
53422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53427 cat >>confdefs.h <<_ACEOF
53428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53429 _ACEOF
53433 done
53436 # All these tests are for C++; save the language and the compiler flags.
53437 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53438 # found in GLIBCXX_CONFIGURE.
53441 ac_ext=cc
53442 ac_cpp='$CXXCPP $CPPFLAGS'
53443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53447 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53448 ac_save_CXXFLAGS="$CXXFLAGS"
53450 # Check for maintainer-mode bits.
53451 if test x"$USE_MAINTAINER_MODE" = xno; then
53452 WERROR=''
53453 else
53454 WERROR='-Werror'
53457 # Check for -ffunction-sections -fdata-sections
53458 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53459 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53460 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53461 cat >conftest.$ac_ext <<_ACEOF
53462 /* confdefs.h. */
53463 _ACEOF
53464 cat confdefs.h >>conftest.$ac_ext
53465 cat >>conftest.$ac_ext <<_ACEOF
53466 /* end confdefs.h. */
53469 main ()
53471 int foo;
53473 return 0;
53475 _ACEOF
53476 rm -f conftest.$ac_objext
53477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53478 (eval $ac_compile) 2>conftest.er1
53479 ac_status=$?
53480 grep -v '^ *+' conftest.er1 >conftest.err
53481 rm -f conftest.er1
53482 cat conftest.err >&5
53483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53484 (exit $ac_status); } &&
53485 { ac_try='test -z "$ac_cxx_werror_flag"
53486 || test ! -s conftest.err'
53487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53488 (eval $ac_try) 2>&5
53489 ac_status=$?
53490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53491 (exit $ac_status); }; } &&
53492 { ac_try='test -s conftest.$ac_objext'
53493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53494 (eval $ac_try) 2>&5
53495 ac_status=$?
53496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53497 (exit $ac_status); }; }; then
53498 ac_fdsections=yes
53499 else
53500 echo "$as_me: failed program was:" >&5
53501 sed 's/^/| /' conftest.$ac_ext >&5
53503 ac_fdsections=no
53505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53506 if test "$ac_test_CXXFLAGS" = set; then
53507 CXXFLAGS="$ac_save_CXXFLAGS"
53508 else
53509 # this is the suspicious part
53510 CXXFLAGS=''
53512 if test x"$ac_fdsections" = x"yes"; then
53513 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53515 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53516 echo "${ECHO_T}$ac_fdsections" >&6
53518 ac_ext=c
53519 ac_cpp='$CPP $CPPFLAGS'
53520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53528 # If we're not using GNU ld, then there's no point in even trying these
53529 # tests. Check for that first. We should have already tested for gld
53530 # by now (in libtool), but require it now just to be safe...
53531 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53532 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53536 # The name set by libtool depends on the version of libtool. Shame on us
53537 # for depending on an impl detail, but c'est la vie. Older versions used
53538 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53539 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53540 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53541 # set (hence we're using an older libtool), then set it.
53542 if test x${with_gnu_ld+set} != xset; then
53543 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53544 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53545 with_gnu_ld=no
53546 else
53547 with_gnu_ld=$ac_cv_prog_gnu_ld
53551 # Start by getting the version number. I think the libtool test already
53552 # does some of this, but throws away the result.
53554 ldver=`$LD --version 2>/dev/null | head -1 | \
53555 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53557 glibcxx_gnu_ld_version=`echo $ldver | \
53558 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53560 # Set --gc-sections.
53561 if test "$with_gnu_ld" = "notbroken"; then
53562 # GNU ld it is! Joy and bunny rabbits!
53564 # All these tests are for C++; save the language and the compiler flags.
53565 # Need to do this so that g++ won't try to link in libstdc++
53566 ac_test_CFLAGS="${CFLAGS+set}"
53567 ac_save_CFLAGS="$CFLAGS"
53568 CFLAGS='-x c++ -Wl,--gc-sections'
53570 # Check for -Wl,--gc-sections
53571 # XXX This test is broken at the moment, as symbols required for linking
53572 # are now in libsupc++ (not built yet). In addition, this test has
53573 # cored on solaris in the past. In addition, --gc-sections doesn't
53574 # really work at the moment (keeps on discarding used sections, first
53575 # .eh_frame and now some of the glibc sections for iconv).
53576 # Bzzzzt. Thanks for playing, maybe next time.
53577 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53578 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53579 if test "$cross_compiling" = yes; then
53580 ac_sectionLDflags=yes
53581 else
53582 cat >conftest.$ac_ext <<_ACEOF
53583 /* confdefs.h. */
53584 _ACEOF
53585 cat confdefs.h >>conftest.$ac_ext
53586 cat >>conftest.$ac_ext <<_ACEOF
53587 /* end confdefs.h. */
53589 int main(void)
53591 try { throw 1; }
53592 catch (...) { };
53593 return 0;
53596 _ACEOF
53597 rm -f conftest$ac_exeext
53598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53599 (eval $ac_link) 2>&5
53600 ac_status=$?
53601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53602 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53604 (eval $ac_try) 2>&5
53605 ac_status=$?
53606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53607 (exit $ac_status); }; }; then
53608 ac_sectionLDflags=yes
53609 else
53610 echo "$as_me: program exited with status $ac_status" >&5
53611 echo "$as_me: failed program was:" >&5
53612 sed 's/^/| /' conftest.$ac_ext >&5
53614 ( exit $ac_status )
53615 ac_sectionLDflags=no
53617 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53619 if test "$ac_test_CFLAGS" = set; then
53620 CFLAGS="$ac_save_CFLAGS"
53621 else
53622 # this is the suspicious part
53623 CFLAGS=''
53625 if test "$ac_sectionLDflags" = "yes"; then
53626 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53628 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53629 echo "${ECHO_T}$ac_sectionLDflags" >&6
53632 # Set linker optimization flags.
53633 if test x"$with_gnu_ld" = x"yes"; then
53634 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53641 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53642 ac_save_CXXFLAGS="$CXXFLAGS"
53643 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53645 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53646 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53647 if test "${ac_cv_lib_m_sin+set}" = set; then
53648 echo $ECHO_N "(cached) $ECHO_C" >&6
53649 else
53650 ac_check_lib_save_LIBS=$LIBS
53651 LIBS="-lm $LIBS"
53652 if test x$gcc_no_link = xyes; then
53653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53655 { (exit 1); exit 1; }; }
53657 cat >conftest.$ac_ext <<_ACEOF
53658 /* confdefs.h. */
53659 _ACEOF
53660 cat confdefs.h >>conftest.$ac_ext
53661 cat >>conftest.$ac_ext <<_ACEOF
53662 /* end confdefs.h. */
53664 /* Override any gcc2 internal prototype to avoid an error. */
53665 #ifdef __cplusplus
53666 extern "C"
53667 #endif
53668 /* We use char because int might match the return type of a gcc2
53669 builtin and then its argument prototype would still apply. */
53670 char sin ();
53672 main ()
53674 sin ();
53676 return 0;
53678 _ACEOF
53679 rm -f conftest.$ac_objext conftest$ac_exeext
53680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53681 (eval $ac_link) 2>conftest.er1
53682 ac_status=$?
53683 grep -v '^ *+' conftest.er1 >conftest.err
53684 rm -f conftest.er1
53685 cat conftest.err >&5
53686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53687 (exit $ac_status); } &&
53688 { ac_try='test -z "$ac_c_werror_flag"
53689 || test ! -s conftest.err'
53690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53691 (eval $ac_try) 2>&5
53692 ac_status=$?
53693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53694 (exit $ac_status); }; } &&
53695 { ac_try='test -s conftest$ac_exeext'
53696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53697 (eval $ac_try) 2>&5
53698 ac_status=$?
53699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53700 (exit $ac_status); }; }; then
53701 ac_cv_lib_m_sin=yes
53702 else
53703 echo "$as_me: failed program was:" >&5
53704 sed 's/^/| /' conftest.$ac_ext >&5
53706 ac_cv_lib_m_sin=no
53708 rm -f conftest.err conftest.$ac_objext \
53709 conftest$ac_exeext conftest.$ac_ext
53710 LIBS=$ac_check_lib_save_LIBS
53712 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53713 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53714 if test $ac_cv_lib_m_sin = yes; then
53715 libm="-lm"
53718 ac_save_LIBS="$LIBS"
53719 LIBS="$LIBS $libm"
53723 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53724 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53725 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53726 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53727 echo $ECHO_N "(cached) $ECHO_C" >&6
53728 else
53732 ac_ext=cc
53733 ac_cpp='$CXXCPP $CPPFLAGS'
53734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53738 cat >conftest.$ac_ext <<_ACEOF
53739 /* confdefs.h. */
53740 _ACEOF
53741 cat confdefs.h >>conftest.$ac_ext
53742 cat >>conftest.$ac_ext <<_ACEOF
53743 /* end confdefs.h. */
53744 #include <math.h>
53745 #ifdef HAVE_IEEEFP_H
53746 #include <ieeefp.h>
53747 #endif
53750 main ()
53752 isinf(0);
53754 return 0;
53756 _ACEOF
53757 rm -f conftest.$ac_objext
53758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53759 (eval $ac_compile) 2>conftest.er1
53760 ac_status=$?
53761 grep -v '^ *+' conftest.er1 >conftest.err
53762 rm -f conftest.er1
53763 cat conftest.err >&5
53764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53765 (exit $ac_status); } &&
53766 { ac_try='test -z "$ac_cxx_werror_flag"
53767 || test ! -s conftest.err'
53768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53769 (eval $ac_try) 2>&5
53770 ac_status=$?
53771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53772 (exit $ac_status); }; } &&
53773 { ac_try='test -s conftest.$ac_objext'
53774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53775 (eval $ac_try) 2>&5
53776 ac_status=$?
53777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53778 (exit $ac_status); }; }; then
53779 glibcxx_cv_func_isinf_use=yes
53780 else
53781 echo "$as_me: failed program was:" >&5
53782 sed 's/^/| /' conftest.$ac_ext >&5
53784 glibcxx_cv_func_isinf_use=no
53786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53787 ac_ext=c
53788 ac_cpp='$CPP $CPPFLAGS'
53789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53797 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53798 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53800 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53802 for ac_func in isinf
53804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53805 echo "$as_me:$LINENO: checking for $ac_func" >&5
53806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53807 if eval "test \"\${$as_ac_var+set}\" = set"; then
53808 echo $ECHO_N "(cached) $ECHO_C" >&6
53809 else
53810 if test x$gcc_no_link = xyes; then
53811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53813 { (exit 1); exit 1; }; }
53815 cat >conftest.$ac_ext <<_ACEOF
53816 /* confdefs.h. */
53817 _ACEOF
53818 cat confdefs.h >>conftest.$ac_ext
53819 cat >>conftest.$ac_ext <<_ACEOF
53820 /* end confdefs.h. */
53821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53823 #define $ac_func innocuous_$ac_func
53825 /* System header to define __stub macros and hopefully few prototypes,
53826 which can conflict with char $ac_func (); below.
53827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53828 <limits.h> exists even on freestanding compilers. */
53830 #ifdef __STDC__
53831 # include <limits.h>
53832 #else
53833 # include <assert.h>
53834 #endif
53836 #undef $ac_func
53838 /* Override any gcc2 internal prototype to avoid an error. */
53839 #ifdef __cplusplus
53840 extern "C"
53842 #endif
53843 /* We use char because int might match the return type of a gcc2
53844 builtin and then its argument prototype would still apply. */
53845 char $ac_func ();
53846 /* The GNU C library defines this for functions which it implements
53847 to always fail with ENOSYS. Some functions are actually named
53848 something starting with __ and the normal name is an alias. */
53849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53850 choke me
53851 #else
53852 char (*f) () = $ac_func;
53853 #endif
53854 #ifdef __cplusplus
53856 #endif
53859 main ()
53861 return f != $ac_func;
53863 return 0;
53865 _ACEOF
53866 rm -f conftest.$ac_objext conftest$ac_exeext
53867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53868 (eval $ac_link) 2>conftest.er1
53869 ac_status=$?
53870 grep -v '^ *+' conftest.er1 >conftest.err
53871 rm -f conftest.er1
53872 cat conftest.err >&5
53873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53874 (exit $ac_status); } &&
53875 { ac_try='test -z "$ac_c_werror_flag"
53876 || test ! -s conftest.err'
53877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53878 (eval $ac_try) 2>&5
53879 ac_status=$?
53880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53881 (exit $ac_status); }; } &&
53882 { ac_try='test -s conftest$ac_exeext'
53883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53884 (eval $ac_try) 2>&5
53885 ac_status=$?
53886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53887 (exit $ac_status); }; }; then
53888 eval "$as_ac_var=yes"
53889 else
53890 echo "$as_me: failed program was:" >&5
53891 sed 's/^/| /' conftest.$ac_ext >&5
53893 eval "$as_ac_var=no"
53895 rm -f conftest.err conftest.$ac_objext \
53896 conftest$ac_exeext conftest.$ac_ext
53898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53900 if test `eval echo '${'$as_ac_var'}'` = yes; then
53901 cat >>confdefs.h <<_ACEOF
53902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53903 _ACEOF
53906 done
53908 else
53910 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53911 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53912 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53913 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53914 echo $ECHO_N "(cached) $ECHO_C" >&6
53915 else
53919 ac_ext=cc
53920 ac_cpp='$CXXCPP $CPPFLAGS'
53921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53925 cat >conftest.$ac_ext <<_ACEOF
53926 /* confdefs.h. */
53927 _ACEOF
53928 cat confdefs.h >>conftest.$ac_ext
53929 cat >>conftest.$ac_ext <<_ACEOF
53930 /* end confdefs.h. */
53931 #include <math.h>
53932 #ifdef HAVE_IEEEFP_H
53933 #include <ieeefp.h>
53934 #endif
53937 main ()
53939 _isinf(0);
53941 return 0;
53943 _ACEOF
53944 rm -f conftest.$ac_objext
53945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53946 (eval $ac_compile) 2>conftest.er1
53947 ac_status=$?
53948 grep -v '^ *+' conftest.er1 >conftest.err
53949 rm -f conftest.er1
53950 cat conftest.err >&5
53951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53952 (exit $ac_status); } &&
53953 { ac_try='test -z "$ac_cxx_werror_flag"
53954 || test ! -s conftest.err'
53955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53956 (eval $ac_try) 2>&5
53957 ac_status=$?
53958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53959 (exit $ac_status); }; } &&
53960 { ac_try='test -s conftest.$ac_objext'
53961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53962 (eval $ac_try) 2>&5
53963 ac_status=$?
53964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53965 (exit $ac_status); }; }; then
53966 glibcxx_cv_func__isinf_use=yes
53967 else
53968 echo "$as_me: failed program was:" >&5
53969 sed 's/^/| /' conftest.$ac_ext >&5
53971 glibcxx_cv_func__isinf_use=no
53973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53974 ac_ext=c
53975 ac_cpp='$CPP $CPPFLAGS'
53976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53984 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53985 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53987 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53989 for ac_func in _isinf
53991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53992 echo "$as_me:$LINENO: checking for $ac_func" >&5
53993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53994 if eval "test \"\${$as_ac_var+set}\" = set"; then
53995 echo $ECHO_N "(cached) $ECHO_C" >&6
53996 else
53997 if test x$gcc_no_link = xyes; then
53998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54000 { (exit 1); exit 1; }; }
54002 cat >conftest.$ac_ext <<_ACEOF
54003 /* confdefs.h. */
54004 _ACEOF
54005 cat confdefs.h >>conftest.$ac_ext
54006 cat >>conftest.$ac_ext <<_ACEOF
54007 /* end confdefs.h. */
54008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54010 #define $ac_func innocuous_$ac_func
54012 /* System header to define __stub macros and hopefully few prototypes,
54013 which can conflict with char $ac_func (); below.
54014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54015 <limits.h> exists even on freestanding compilers. */
54017 #ifdef __STDC__
54018 # include <limits.h>
54019 #else
54020 # include <assert.h>
54021 #endif
54023 #undef $ac_func
54025 /* Override any gcc2 internal prototype to avoid an error. */
54026 #ifdef __cplusplus
54027 extern "C"
54029 #endif
54030 /* We use char because int might match the return type of a gcc2
54031 builtin and then its argument prototype would still apply. */
54032 char $ac_func ();
54033 /* The GNU C library defines this for functions which it implements
54034 to always fail with ENOSYS. Some functions are actually named
54035 something starting with __ and the normal name is an alias. */
54036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54037 choke me
54038 #else
54039 char (*f) () = $ac_func;
54040 #endif
54041 #ifdef __cplusplus
54043 #endif
54046 main ()
54048 return f != $ac_func;
54050 return 0;
54052 _ACEOF
54053 rm -f conftest.$ac_objext conftest$ac_exeext
54054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54055 (eval $ac_link) 2>conftest.er1
54056 ac_status=$?
54057 grep -v '^ *+' conftest.er1 >conftest.err
54058 rm -f conftest.er1
54059 cat conftest.err >&5
54060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54061 (exit $ac_status); } &&
54062 { ac_try='test -z "$ac_c_werror_flag"
54063 || test ! -s conftest.err'
54064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54065 (eval $ac_try) 2>&5
54066 ac_status=$?
54067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54068 (exit $ac_status); }; } &&
54069 { ac_try='test -s conftest$ac_exeext'
54070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54071 (eval $ac_try) 2>&5
54072 ac_status=$?
54073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54074 (exit $ac_status); }; }; then
54075 eval "$as_ac_var=yes"
54076 else
54077 echo "$as_me: failed program was:" >&5
54078 sed 's/^/| /' conftest.$ac_ext >&5
54080 eval "$as_ac_var=no"
54082 rm -f conftest.err conftest.$ac_objext \
54083 conftest$ac_exeext conftest.$ac_ext
54085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54087 if test `eval echo '${'$as_ac_var'}'` = yes; then
54088 cat >>confdefs.h <<_ACEOF
54089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54090 _ACEOF
54093 done
54100 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54101 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54102 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54103 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54104 echo $ECHO_N "(cached) $ECHO_C" >&6
54105 else
54109 ac_ext=cc
54110 ac_cpp='$CXXCPP $CPPFLAGS'
54111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54115 cat >conftest.$ac_ext <<_ACEOF
54116 /* confdefs.h. */
54117 _ACEOF
54118 cat confdefs.h >>conftest.$ac_ext
54119 cat >>conftest.$ac_ext <<_ACEOF
54120 /* end confdefs.h. */
54121 #include <math.h>
54122 #ifdef HAVE_IEEEFP_H
54123 #include <ieeefp.h>
54124 #endif
54127 main ()
54129 isnan(0);
54131 return 0;
54133 _ACEOF
54134 rm -f conftest.$ac_objext
54135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54136 (eval $ac_compile) 2>conftest.er1
54137 ac_status=$?
54138 grep -v '^ *+' conftest.er1 >conftest.err
54139 rm -f conftest.er1
54140 cat conftest.err >&5
54141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54142 (exit $ac_status); } &&
54143 { ac_try='test -z "$ac_cxx_werror_flag"
54144 || test ! -s conftest.err'
54145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54146 (eval $ac_try) 2>&5
54147 ac_status=$?
54148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54149 (exit $ac_status); }; } &&
54150 { ac_try='test -s conftest.$ac_objext'
54151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54152 (eval $ac_try) 2>&5
54153 ac_status=$?
54154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54155 (exit $ac_status); }; }; then
54156 glibcxx_cv_func_isnan_use=yes
54157 else
54158 echo "$as_me: failed program was:" >&5
54159 sed 's/^/| /' conftest.$ac_ext >&5
54161 glibcxx_cv_func_isnan_use=no
54163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54164 ac_ext=c
54165 ac_cpp='$CPP $CPPFLAGS'
54166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54174 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54175 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54177 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54179 for ac_func in isnan
54181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54182 echo "$as_me:$LINENO: checking for $ac_func" >&5
54183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54184 if eval "test \"\${$as_ac_var+set}\" = set"; then
54185 echo $ECHO_N "(cached) $ECHO_C" >&6
54186 else
54187 if test x$gcc_no_link = xyes; then
54188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54190 { (exit 1); exit 1; }; }
54192 cat >conftest.$ac_ext <<_ACEOF
54193 /* confdefs.h. */
54194 _ACEOF
54195 cat confdefs.h >>conftest.$ac_ext
54196 cat >>conftest.$ac_ext <<_ACEOF
54197 /* end confdefs.h. */
54198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54200 #define $ac_func innocuous_$ac_func
54202 /* System header to define __stub macros and hopefully few prototypes,
54203 which can conflict with char $ac_func (); below.
54204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54205 <limits.h> exists even on freestanding compilers. */
54207 #ifdef __STDC__
54208 # include <limits.h>
54209 #else
54210 # include <assert.h>
54211 #endif
54213 #undef $ac_func
54215 /* Override any gcc2 internal prototype to avoid an error. */
54216 #ifdef __cplusplus
54217 extern "C"
54219 #endif
54220 /* We use char because int might match the return type of a gcc2
54221 builtin and then its argument prototype would still apply. */
54222 char $ac_func ();
54223 /* The GNU C library defines this for functions which it implements
54224 to always fail with ENOSYS. Some functions are actually named
54225 something starting with __ and the normal name is an alias. */
54226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54227 choke me
54228 #else
54229 char (*f) () = $ac_func;
54230 #endif
54231 #ifdef __cplusplus
54233 #endif
54236 main ()
54238 return f != $ac_func;
54240 return 0;
54242 _ACEOF
54243 rm -f conftest.$ac_objext conftest$ac_exeext
54244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54245 (eval $ac_link) 2>conftest.er1
54246 ac_status=$?
54247 grep -v '^ *+' conftest.er1 >conftest.err
54248 rm -f conftest.er1
54249 cat conftest.err >&5
54250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54251 (exit $ac_status); } &&
54252 { ac_try='test -z "$ac_c_werror_flag"
54253 || test ! -s conftest.err'
54254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54255 (eval $ac_try) 2>&5
54256 ac_status=$?
54257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54258 (exit $ac_status); }; } &&
54259 { ac_try='test -s conftest$ac_exeext'
54260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54261 (eval $ac_try) 2>&5
54262 ac_status=$?
54263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54264 (exit $ac_status); }; }; then
54265 eval "$as_ac_var=yes"
54266 else
54267 echo "$as_me: failed program was:" >&5
54268 sed 's/^/| /' conftest.$ac_ext >&5
54270 eval "$as_ac_var=no"
54272 rm -f conftest.err conftest.$ac_objext \
54273 conftest$ac_exeext conftest.$ac_ext
54275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54277 if test `eval echo '${'$as_ac_var'}'` = yes; then
54278 cat >>confdefs.h <<_ACEOF
54279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54280 _ACEOF
54283 done
54285 else
54287 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54288 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54289 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54290 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54291 echo $ECHO_N "(cached) $ECHO_C" >&6
54292 else
54296 ac_ext=cc
54297 ac_cpp='$CXXCPP $CPPFLAGS'
54298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54302 cat >conftest.$ac_ext <<_ACEOF
54303 /* confdefs.h. */
54304 _ACEOF
54305 cat confdefs.h >>conftest.$ac_ext
54306 cat >>conftest.$ac_ext <<_ACEOF
54307 /* end confdefs.h. */
54308 #include <math.h>
54309 #ifdef HAVE_IEEEFP_H
54310 #include <ieeefp.h>
54311 #endif
54314 main ()
54316 _isnan(0);
54318 return 0;
54320 _ACEOF
54321 rm -f conftest.$ac_objext
54322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54323 (eval $ac_compile) 2>conftest.er1
54324 ac_status=$?
54325 grep -v '^ *+' conftest.er1 >conftest.err
54326 rm -f conftest.er1
54327 cat conftest.err >&5
54328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54329 (exit $ac_status); } &&
54330 { ac_try='test -z "$ac_cxx_werror_flag"
54331 || test ! -s conftest.err'
54332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54333 (eval $ac_try) 2>&5
54334 ac_status=$?
54335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54336 (exit $ac_status); }; } &&
54337 { ac_try='test -s conftest.$ac_objext'
54338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54339 (eval $ac_try) 2>&5
54340 ac_status=$?
54341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54342 (exit $ac_status); }; }; then
54343 glibcxx_cv_func__isnan_use=yes
54344 else
54345 echo "$as_me: failed program was:" >&5
54346 sed 's/^/| /' conftest.$ac_ext >&5
54348 glibcxx_cv_func__isnan_use=no
54350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54351 ac_ext=c
54352 ac_cpp='$CPP $CPPFLAGS'
54353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54361 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54362 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54364 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54366 for ac_func in _isnan
54368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54369 echo "$as_me:$LINENO: checking for $ac_func" >&5
54370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54371 if eval "test \"\${$as_ac_var+set}\" = set"; then
54372 echo $ECHO_N "(cached) $ECHO_C" >&6
54373 else
54374 if test x$gcc_no_link = xyes; then
54375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54377 { (exit 1); exit 1; }; }
54379 cat >conftest.$ac_ext <<_ACEOF
54380 /* confdefs.h. */
54381 _ACEOF
54382 cat confdefs.h >>conftest.$ac_ext
54383 cat >>conftest.$ac_ext <<_ACEOF
54384 /* end confdefs.h. */
54385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54387 #define $ac_func innocuous_$ac_func
54389 /* System header to define __stub macros and hopefully few prototypes,
54390 which can conflict with char $ac_func (); below.
54391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54392 <limits.h> exists even on freestanding compilers. */
54394 #ifdef __STDC__
54395 # include <limits.h>
54396 #else
54397 # include <assert.h>
54398 #endif
54400 #undef $ac_func
54402 /* Override any gcc2 internal prototype to avoid an error. */
54403 #ifdef __cplusplus
54404 extern "C"
54406 #endif
54407 /* We use char because int might match the return type of a gcc2
54408 builtin and then its argument prototype would still apply. */
54409 char $ac_func ();
54410 /* The GNU C library defines this for functions which it implements
54411 to always fail with ENOSYS. Some functions are actually named
54412 something starting with __ and the normal name is an alias. */
54413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54414 choke me
54415 #else
54416 char (*f) () = $ac_func;
54417 #endif
54418 #ifdef __cplusplus
54420 #endif
54423 main ()
54425 return f != $ac_func;
54427 return 0;
54429 _ACEOF
54430 rm -f conftest.$ac_objext conftest$ac_exeext
54431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54432 (eval $ac_link) 2>conftest.er1
54433 ac_status=$?
54434 grep -v '^ *+' conftest.er1 >conftest.err
54435 rm -f conftest.er1
54436 cat conftest.err >&5
54437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54438 (exit $ac_status); } &&
54439 { ac_try='test -z "$ac_c_werror_flag"
54440 || test ! -s conftest.err'
54441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54442 (eval $ac_try) 2>&5
54443 ac_status=$?
54444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54445 (exit $ac_status); }; } &&
54446 { ac_try='test -s conftest$ac_exeext'
54447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54448 (eval $ac_try) 2>&5
54449 ac_status=$?
54450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54451 (exit $ac_status); }; }; then
54452 eval "$as_ac_var=yes"
54453 else
54454 echo "$as_me: failed program was:" >&5
54455 sed 's/^/| /' conftest.$ac_ext >&5
54457 eval "$as_ac_var=no"
54459 rm -f conftest.err conftest.$ac_objext \
54460 conftest$ac_exeext conftest.$ac_ext
54462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54464 if test `eval echo '${'$as_ac_var'}'` = yes; then
54465 cat >>confdefs.h <<_ACEOF
54466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54467 _ACEOF
54470 done
54477 echo "$as_me:$LINENO: checking for finite declaration" >&5
54478 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54479 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54480 if test "${glibcxx_cv_func_finite_use+set}" = set; then
54481 echo $ECHO_N "(cached) $ECHO_C" >&6
54482 else
54486 ac_ext=cc
54487 ac_cpp='$CXXCPP $CPPFLAGS'
54488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54492 cat >conftest.$ac_ext <<_ACEOF
54493 /* confdefs.h. */
54494 _ACEOF
54495 cat confdefs.h >>conftest.$ac_ext
54496 cat >>conftest.$ac_ext <<_ACEOF
54497 /* end confdefs.h. */
54498 #include <math.h>
54499 #ifdef HAVE_IEEEFP_H
54500 #include <ieeefp.h>
54501 #endif
54504 main ()
54506 finite(0);
54508 return 0;
54510 _ACEOF
54511 rm -f conftest.$ac_objext
54512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54513 (eval $ac_compile) 2>conftest.er1
54514 ac_status=$?
54515 grep -v '^ *+' conftest.er1 >conftest.err
54516 rm -f conftest.er1
54517 cat conftest.err >&5
54518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54519 (exit $ac_status); } &&
54520 { ac_try='test -z "$ac_cxx_werror_flag"
54521 || test ! -s conftest.err'
54522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54523 (eval $ac_try) 2>&5
54524 ac_status=$?
54525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54526 (exit $ac_status); }; } &&
54527 { ac_try='test -s conftest.$ac_objext'
54528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54529 (eval $ac_try) 2>&5
54530 ac_status=$?
54531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54532 (exit $ac_status); }; }; then
54533 glibcxx_cv_func_finite_use=yes
54534 else
54535 echo "$as_me: failed program was:" >&5
54536 sed 's/^/| /' conftest.$ac_ext >&5
54538 glibcxx_cv_func_finite_use=no
54540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54541 ac_ext=c
54542 ac_cpp='$CPP $CPPFLAGS'
54543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54552 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54554 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54556 for ac_func in finite
54558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54559 echo "$as_me:$LINENO: checking for $ac_func" >&5
54560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54561 if eval "test \"\${$as_ac_var+set}\" = set"; then
54562 echo $ECHO_N "(cached) $ECHO_C" >&6
54563 else
54564 if test x$gcc_no_link = xyes; then
54565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54567 { (exit 1); exit 1; }; }
54569 cat >conftest.$ac_ext <<_ACEOF
54570 /* confdefs.h. */
54571 _ACEOF
54572 cat confdefs.h >>conftest.$ac_ext
54573 cat >>conftest.$ac_ext <<_ACEOF
54574 /* end confdefs.h. */
54575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54577 #define $ac_func innocuous_$ac_func
54579 /* System header to define __stub macros and hopefully few prototypes,
54580 which can conflict with char $ac_func (); below.
54581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54582 <limits.h> exists even on freestanding compilers. */
54584 #ifdef __STDC__
54585 # include <limits.h>
54586 #else
54587 # include <assert.h>
54588 #endif
54590 #undef $ac_func
54592 /* Override any gcc2 internal prototype to avoid an error. */
54593 #ifdef __cplusplus
54594 extern "C"
54596 #endif
54597 /* We use char because int might match the return type of a gcc2
54598 builtin and then its argument prototype would still apply. */
54599 char $ac_func ();
54600 /* The GNU C library defines this for functions which it implements
54601 to always fail with ENOSYS. Some functions are actually named
54602 something starting with __ and the normal name is an alias. */
54603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54604 choke me
54605 #else
54606 char (*f) () = $ac_func;
54607 #endif
54608 #ifdef __cplusplus
54610 #endif
54613 main ()
54615 return f != $ac_func;
54617 return 0;
54619 _ACEOF
54620 rm -f conftest.$ac_objext conftest$ac_exeext
54621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54622 (eval $ac_link) 2>conftest.er1
54623 ac_status=$?
54624 grep -v '^ *+' conftest.er1 >conftest.err
54625 rm -f conftest.er1
54626 cat conftest.err >&5
54627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54628 (exit $ac_status); } &&
54629 { ac_try='test -z "$ac_c_werror_flag"
54630 || test ! -s conftest.err'
54631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54632 (eval $ac_try) 2>&5
54633 ac_status=$?
54634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54635 (exit $ac_status); }; } &&
54636 { ac_try='test -s conftest$ac_exeext'
54637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54638 (eval $ac_try) 2>&5
54639 ac_status=$?
54640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54641 (exit $ac_status); }; }; then
54642 eval "$as_ac_var=yes"
54643 else
54644 echo "$as_me: failed program was:" >&5
54645 sed 's/^/| /' conftest.$ac_ext >&5
54647 eval "$as_ac_var=no"
54649 rm -f conftest.err conftest.$ac_objext \
54650 conftest$ac_exeext conftest.$ac_ext
54652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54654 if test `eval echo '${'$as_ac_var'}'` = yes; then
54655 cat >>confdefs.h <<_ACEOF
54656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54657 _ACEOF
54660 done
54662 else
54664 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54665 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54666 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54667 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54668 echo $ECHO_N "(cached) $ECHO_C" >&6
54669 else
54673 ac_ext=cc
54674 ac_cpp='$CXXCPP $CPPFLAGS'
54675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54679 cat >conftest.$ac_ext <<_ACEOF
54680 /* confdefs.h. */
54681 _ACEOF
54682 cat confdefs.h >>conftest.$ac_ext
54683 cat >>conftest.$ac_ext <<_ACEOF
54684 /* end confdefs.h. */
54685 #include <math.h>
54686 #ifdef HAVE_IEEEFP_H
54687 #include <ieeefp.h>
54688 #endif
54691 main ()
54693 _finite(0);
54695 return 0;
54697 _ACEOF
54698 rm -f conftest.$ac_objext
54699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54700 (eval $ac_compile) 2>conftest.er1
54701 ac_status=$?
54702 grep -v '^ *+' conftest.er1 >conftest.err
54703 rm -f conftest.er1
54704 cat conftest.err >&5
54705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54706 (exit $ac_status); } &&
54707 { ac_try='test -z "$ac_cxx_werror_flag"
54708 || test ! -s conftest.err'
54709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54710 (eval $ac_try) 2>&5
54711 ac_status=$?
54712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54713 (exit $ac_status); }; } &&
54714 { ac_try='test -s conftest.$ac_objext'
54715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54716 (eval $ac_try) 2>&5
54717 ac_status=$?
54718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54719 (exit $ac_status); }; }; then
54720 glibcxx_cv_func__finite_use=yes
54721 else
54722 echo "$as_me: failed program was:" >&5
54723 sed 's/^/| /' conftest.$ac_ext >&5
54725 glibcxx_cv_func__finite_use=no
54727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54728 ac_ext=c
54729 ac_cpp='$CPP $CPPFLAGS'
54730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54738 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54739 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54741 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54743 for ac_func in _finite
54745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54746 echo "$as_me:$LINENO: checking for $ac_func" >&5
54747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54748 if eval "test \"\${$as_ac_var+set}\" = set"; then
54749 echo $ECHO_N "(cached) $ECHO_C" >&6
54750 else
54751 if test x$gcc_no_link = xyes; then
54752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54754 { (exit 1); exit 1; }; }
54756 cat >conftest.$ac_ext <<_ACEOF
54757 /* confdefs.h. */
54758 _ACEOF
54759 cat confdefs.h >>conftest.$ac_ext
54760 cat >>conftest.$ac_ext <<_ACEOF
54761 /* end confdefs.h. */
54762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54764 #define $ac_func innocuous_$ac_func
54766 /* System header to define __stub macros and hopefully few prototypes,
54767 which can conflict with char $ac_func (); below.
54768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54769 <limits.h> exists even on freestanding compilers. */
54771 #ifdef __STDC__
54772 # include <limits.h>
54773 #else
54774 # include <assert.h>
54775 #endif
54777 #undef $ac_func
54779 /* Override any gcc2 internal prototype to avoid an error. */
54780 #ifdef __cplusplus
54781 extern "C"
54783 #endif
54784 /* We use char because int might match the return type of a gcc2
54785 builtin and then its argument prototype would still apply. */
54786 char $ac_func ();
54787 /* The GNU C library defines this for functions which it implements
54788 to always fail with ENOSYS. Some functions are actually named
54789 something starting with __ and the normal name is an alias. */
54790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54791 choke me
54792 #else
54793 char (*f) () = $ac_func;
54794 #endif
54795 #ifdef __cplusplus
54797 #endif
54800 main ()
54802 return f != $ac_func;
54804 return 0;
54806 _ACEOF
54807 rm -f conftest.$ac_objext conftest$ac_exeext
54808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54809 (eval $ac_link) 2>conftest.er1
54810 ac_status=$?
54811 grep -v '^ *+' conftest.er1 >conftest.err
54812 rm -f conftest.er1
54813 cat conftest.err >&5
54814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54815 (exit $ac_status); } &&
54816 { ac_try='test -z "$ac_c_werror_flag"
54817 || test ! -s conftest.err'
54818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54819 (eval $ac_try) 2>&5
54820 ac_status=$?
54821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54822 (exit $ac_status); }; } &&
54823 { ac_try='test -s conftest$ac_exeext'
54824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54825 (eval $ac_try) 2>&5
54826 ac_status=$?
54827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54828 (exit $ac_status); }; }; then
54829 eval "$as_ac_var=yes"
54830 else
54831 echo "$as_me: failed program was:" >&5
54832 sed 's/^/| /' conftest.$ac_ext >&5
54834 eval "$as_ac_var=no"
54836 rm -f conftest.err conftest.$ac_objext \
54837 conftest$ac_exeext conftest.$ac_ext
54839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54841 if test `eval echo '${'$as_ac_var'}'` = yes; then
54842 cat >>confdefs.h <<_ACEOF
54843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54844 _ACEOF
54847 done
54854 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54855 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54856 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54857 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54858 echo $ECHO_N "(cached) $ECHO_C" >&6
54859 else
54863 ac_ext=cc
54864 ac_cpp='$CXXCPP $CPPFLAGS'
54865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54869 cat >conftest.$ac_ext <<_ACEOF
54870 /* confdefs.h. */
54871 _ACEOF
54872 cat confdefs.h >>conftest.$ac_ext
54873 cat >>conftest.$ac_ext <<_ACEOF
54874 /* end confdefs.h. */
54875 #include <math.h>
54877 main ()
54879 copysign(0, 0);
54881 return 0;
54883 _ACEOF
54884 rm -f conftest.$ac_objext
54885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54886 (eval $ac_compile) 2>conftest.er1
54887 ac_status=$?
54888 grep -v '^ *+' conftest.er1 >conftest.err
54889 rm -f conftest.er1
54890 cat conftest.err >&5
54891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54892 (exit $ac_status); } &&
54893 { ac_try='test -z "$ac_cxx_werror_flag"
54894 || test ! -s conftest.err'
54895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54896 (eval $ac_try) 2>&5
54897 ac_status=$?
54898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54899 (exit $ac_status); }; } &&
54900 { ac_try='test -s conftest.$ac_objext'
54901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54902 (eval $ac_try) 2>&5
54903 ac_status=$?
54904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54905 (exit $ac_status); }; }; then
54906 glibcxx_cv_func_copysign_use=yes
54907 else
54908 echo "$as_me: failed program was:" >&5
54909 sed 's/^/| /' conftest.$ac_ext >&5
54911 glibcxx_cv_func_copysign_use=no
54913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54914 ac_ext=c
54915 ac_cpp='$CPP $CPPFLAGS'
54916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54924 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54925 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54927 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54929 for ac_func in copysign
54931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54932 echo "$as_me:$LINENO: checking for $ac_func" >&5
54933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54934 if eval "test \"\${$as_ac_var+set}\" = set"; then
54935 echo $ECHO_N "(cached) $ECHO_C" >&6
54936 else
54937 if test x$gcc_no_link = xyes; then
54938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54940 { (exit 1); exit 1; }; }
54942 cat >conftest.$ac_ext <<_ACEOF
54943 /* confdefs.h. */
54944 _ACEOF
54945 cat confdefs.h >>conftest.$ac_ext
54946 cat >>conftest.$ac_ext <<_ACEOF
54947 /* end confdefs.h. */
54948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54950 #define $ac_func innocuous_$ac_func
54952 /* System header to define __stub macros and hopefully few prototypes,
54953 which can conflict with char $ac_func (); below.
54954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54955 <limits.h> exists even on freestanding compilers. */
54957 #ifdef __STDC__
54958 # include <limits.h>
54959 #else
54960 # include <assert.h>
54961 #endif
54963 #undef $ac_func
54965 /* Override any gcc2 internal prototype to avoid an error. */
54966 #ifdef __cplusplus
54967 extern "C"
54969 #endif
54970 /* We use char because int might match the return type of a gcc2
54971 builtin and then its argument prototype would still apply. */
54972 char $ac_func ();
54973 /* The GNU C library defines this for functions which it implements
54974 to always fail with ENOSYS. Some functions are actually named
54975 something starting with __ and the normal name is an alias. */
54976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54977 choke me
54978 #else
54979 char (*f) () = $ac_func;
54980 #endif
54981 #ifdef __cplusplus
54983 #endif
54986 main ()
54988 return f != $ac_func;
54990 return 0;
54992 _ACEOF
54993 rm -f conftest.$ac_objext conftest$ac_exeext
54994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54995 (eval $ac_link) 2>conftest.er1
54996 ac_status=$?
54997 grep -v '^ *+' conftest.er1 >conftest.err
54998 rm -f conftest.er1
54999 cat conftest.err >&5
55000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55001 (exit $ac_status); } &&
55002 { ac_try='test -z "$ac_c_werror_flag"
55003 || test ! -s conftest.err'
55004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55005 (eval $ac_try) 2>&5
55006 ac_status=$?
55007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55008 (exit $ac_status); }; } &&
55009 { ac_try='test -s conftest$ac_exeext'
55010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55011 (eval $ac_try) 2>&5
55012 ac_status=$?
55013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55014 (exit $ac_status); }; }; then
55015 eval "$as_ac_var=yes"
55016 else
55017 echo "$as_me: failed program was:" >&5
55018 sed 's/^/| /' conftest.$ac_ext >&5
55020 eval "$as_ac_var=no"
55022 rm -f conftest.err conftest.$ac_objext \
55023 conftest$ac_exeext conftest.$ac_ext
55025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55027 if test `eval echo '${'$as_ac_var'}'` = yes; then
55028 cat >>confdefs.h <<_ACEOF
55029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55030 _ACEOF
55033 done
55035 else
55037 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55038 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55039 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55040 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55041 echo $ECHO_N "(cached) $ECHO_C" >&6
55042 else
55046 ac_ext=cc
55047 ac_cpp='$CXXCPP $CPPFLAGS'
55048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55052 cat >conftest.$ac_ext <<_ACEOF
55053 /* confdefs.h. */
55054 _ACEOF
55055 cat confdefs.h >>conftest.$ac_ext
55056 cat >>conftest.$ac_ext <<_ACEOF
55057 /* end confdefs.h. */
55058 #include <math.h>
55060 main ()
55062 _copysign(0, 0);
55064 return 0;
55066 _ACEOF
55067 rm -f conftest.$ac_objext
55068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55069 (eval $ac_compile) 2>conftest.er1
55070 ac_status=$?
55071 grep -v '^ *+' conftest.er1 >conftest.err
55072 rm -f conftest.er1
55073 cat conftest.err >&5
55074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55075 (exit $ac_status); } &&
55076 { ac_try='test -z "$ac_cxx_werror_flag"
55077 || test ! -s conftest.err'
55078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55079 (eval $ac_try) 2>&5
55080 ac_status=$?
55081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55082 (exit $ac_status); }; } &&
55083 { ac_try='test -s conftest.$ac_objext'
55084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55085 (eval $ac_try) 2>&5
55086 ac_status=$?
55087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55088 (exit $ac_status); }; }; then
55089 glibcxx_cv_func__copysign_use=yes
55090 else
55091 echo "$as_me: failed program was:" >&5
55092 sed 's/^/| /' conftest.$ac_ext >&5
55094 glibcxx_cv_func__copysign_use=no
55096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55097 ac_ext=c
55098 ac_cpp='$CPP $CPPFLAGS'
55099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55107 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55108 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55110 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55112 for ac_func in _copysign
55114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55115 echo "$as_me:$LINENO: checking for $ac_func" >&5
55116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55117 if eval "test \"\${$as_ac_var+set}\" = set"; then
55118 echo $ECHO_N "(cached) $ECHO_C" >&6
55119 else
55120 if test x$gcc_no_link = xyes; then
55121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55123 { (exit 1); exit 1; }; }
55125 cat >conftest.$ac_ext <<_ACEOF
55126 /* confdefs.h. */
55127 _ACEOF
55128 cat confdefs.h >>conftest.$ac_ext
55129 cat >>conftest.$ac_ext <<_ACEOF
55130 /* end confdefs.h. */
55131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55133 #define $ac_func innocuous_$ac_func
55135 /* System header to define __stub macros and hopefully few prototypes,
55136 which can conflict with char $ac_func (); below.
55137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55138 <limits.h> exists even on freestanding compilers. */
55140 #ifdef __STDC__
55141 # include <limits.h>
55142 #else
55143 # include <assert.h>
55144 #endif
55146 #undef $ac_func
55148 /* Override any gcc2 internal prototype to avoid an error. */
55149 #ifdef __cplusplus
55150 extern "C"
55152 #endif
55153 /* We use char because int might match the return type of a gcc2
55154 builtin and then its argument prototype would still apply. */
55155 char $ac_func ();
55156 /* The GNU C library defines this for functions which it implements
55157 to always fail with ENOSYS. Some functions are actually named
55158 something starting with __ and the normal name is an alias. */
55159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55160 choke me
55161 #else
55162 char (*f) () = $ac_func;
55163 #endif
55164 #ifdef __cplusplus
55166 #endif
55169 main ()
55171 return f != $ac_func;
55173 return 0;
55175 _ACEOF
55176 rm -f conftest.$ac_objext conftest$ac_exeext
55177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55178 (eval $ac_link) 2>conftest.er1
55179 ac_status=$?
55180 grep -v '^ *+' conftest.er1 >conftest.err
55181 rm -f conftest.er1
55182 cat conftest.err >&5
55183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55184 (exit $ac_status); } &&
55185 { ac_try='test -z "$ac_c_werror_flag"
55186 || test ! -s conftest.err'
55187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55188 (eval $ac_try) 2>&5
55189 ac_status=$?
55190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55191 (exit $ac_status); }; } &&
55192 { ac_try='test -s conftest$ac_exeext'
55193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55194 (eval $ac_try) 2>&5
55195 ac_status=$?
55196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55197 (exit $ac_status); }; }; then
55198 eval "$as_ac_var=yes"
55199 else
55200 echo "$as_me: failed program was:" >&5
55201 sed 's/^/| /' conftest.$ac_ext >&5
55203 eval "$as_ac_var=no"
55205 rm -f conftest.err conftest.$ac_objext \
55206 conftest$ac_exeext conftest.$ac_ext
55208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55210 if test `eval echo '${'$as_ac_var'}'` = yes; then
55211 cat >>confdefs.h <<_ACEOF
55212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55213 _ACEOF
55216 done
55223 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55224 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55225 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55226 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55227 echo $ECHO_N "(cached) $ECHO_C" >&6
55228 else
55232 ac_ext=cc
55233 ac_cpp='$CXXCPP $CPPFLAGS'
55234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55238 cat >conftest.$ac_ext <<_ACEOF
55239 /* confdefs.h. */
55240 _ACEOF
55241 cat confdefs.h >>conftest.$ac_ext
55242 cat >>conftest.$ac_ext <<_ACEOF
55243 /* end confdefs.h. */
55244 #include <math.h>
55246 main ()
55248 sincos(0, 0, 0);
55250 return 0;
55252 _ACEOF
55253 rm -f conftest.$ac_objext
55254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55255 (eval $ac_compile) 2>conftest.er1
55256 ac_status=$?
55257 grep -v '^ *+' conftest.er1 >conftest.err
55258 rm -f conftest.er1
55259 cat conftest.err >&5
55260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55261 (exit $ac_status); } &&
55262 { ac_try='test -z "$ac_cxx_werror_flag"
55263 || test ! -s conftest.err'
55264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55265 (eval $ac_try) 2>&5
55266 ac_status=$?
55267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55268 (exit $ac_status); }; } &&
55269 { ac_try='test -s conftest.$ac_objext'
55270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55271 (eval $ac_try) 2>&5
55272 ac_status=$?
55273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55274 (exit $ac_status); }; }; then
55275 glibcxx_cv_func_sincos_use=yes
55276 else
55277 echo "$as_me: failed program was:" >&5
55278 sed 's/^/| /' conftest.$ac_ext >&5
55280 glibcxx_cv_func_sincos_use=no
55282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55283 ac_ext=c
55284 ac_cpp='$CPP $CPPFLAGS'
55285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55293 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55294 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55296 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55298 for ac_func in sincos
55300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55301 echo "$as_me:$LINENO: checking for $ac_func" >&5
55302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55303 if eval "test \"\${$as_ac_var+set}\" = set"; then
55304 echo $ECHO_N "(cached) $ECHO_C" >&6
55305 else
55306 if test x$gcc_no_link = xyes; then
55307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55309 { (exit 1); exit 1; }; }
55311 cat >conftest.$ac_ext <<_ACEOF
55312 /* confdefs.h. */
55313 _ACEOF
55314 cat confdefs.h >>conftest.$ac_ext
55315 cat >>conftest.$ac_ext <<_ACEOF
55316 /* end confdefs.h. */
55317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55319 #define $ac_func innocuous_$ac_func
55321 /* System header to define __stub macros and hopefully few prototypes,
55322 which can conflict with char $ac_func (); below.
55323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55324 <limits.h> exists even on freestanding compilers. */
55326 #ifdef __STDC__
55327 # include <limits.h>
55328 #else
55329 # include <assert.h>
55330 #endif
55332 #undef $ac_func
55334 /* Override any gcc2 internal prototype to avoid an error. */
55335 #ifdef __cplusplus
55336 extern "C"
55338 #endif
55339 /* We use char because int might match the return type of a gcc2
55340 builtin and then its argument prototype would still apply. */
55341 char $ac_func ();
55342 /* The GNU C library defines this for functions which it implements
55343 to always fail with ENOSYS. Some functions are actually named
55344 something starting with __ and the normal name is an alias. */
55345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55346 choke me
55347 #else
55348 char (*f) () = $ac_func;
55349 #endif
55350 #ifdef __cplusplus
55352 #endif
55355 main ()
55357 return f != $ac_func;
55359 return 0;
55361 _ACEOF
55362 rm -f conftest.$ac_objext conftest$ac_exeext
55363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55364 (eval $ac_link) 2>conftest.er1
55365 ac_status=$?
55366 grep -v '^ *+' conftest.er1 >conftest.err
55367 rm -f conftest.er1
55368 cat conftest.err >&5
55369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55370 (exit $ac_status); } &&
55371 { ac_try='test -z "$ac_c_werror_flag"
55372 || test ! -s conftest.err'
55373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55374 (eval $ac_try) 2>&5
55375 ac_status=$?
55376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55377 (exit $ac_status); }; } &&
55378 { ac_try='test -s conftest$ac_exeext'
55379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55380 (eval $ac_try) 2>&5
55381 ac_status=$?
55382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55383 (exit $ac_status); }; }; then
55384 eval "$as_ac_var=yes"
55385 else
55386 echo "$as_me: failed program was:" >&5
55387 sed 's/^/| /' conftest.$ac_ext >&5
55389 eval "$as_ac_var=no"
55391 rm -f conftest.err conftest.$ac_objext \
55392 conftest$ac_exeext conftest.$ac_ext
55394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55396 if test `eval echo '${'$as_ac_var'}'` = yes; then
55397 cat >>confdefs.h <<_ACEOF
55398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55399 _ACEOF
55402 done
55404 else
55406 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55407 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55408 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55409 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55410 echo $ECHO_N "(cached) $ECHO_C" >&6
55411 else
55415 ac_ext=cc
55416 ac_cpp='$CXXCPP $CPPFLAGS'
55417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55421 cat >conftest.$ac_ext <<_ACEOF
55422 /* confdefs.h. */
55423 _ACEOF
55424 cat confdefs.h >>conftest.$ac_ext
55425 cat >>conftest.$ac_ext <<_ACEOF
55426 /* end confdefs.h. */
55427 #include <math.h>
55429 main ()
55431 _sincos(0, 0, 0);
55433 return 0;
55435 _ACEOF
55436 rm -f conftest.$ac_objext
55437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55438 (eval $ac_compile) 2>conftest.er1
55439 ac_status=$?
55440 grep -v '^ *+' conftest.er1 >conftest.err
55441 rm -f conftest.er1
55442 cat conftest.err >&5
55443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55444 (exit $ac_status); } &&
55445 { ac_try='test -z "$ac_cxx_werror_flag"
55446 || test ! -s conftest.err'
55447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55448 (eval $ac_try) 2>&5
55449 ac_status=$?
55450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55451 (exit $ac_status); }; } &&
55452 { ac_try='test -s conftest.$ac_objext'
55453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55454 (eval $ac_try) 2>&5
55455 ac_status=$?
55456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55457 (exit $ac_status); }; }; then
55458 glibcxx_cv_func__sincos_use=yes
55459 else
55460 echo "$as_me: failed program was:" >&5
55461 sed 's/^/| /' conftest.$ac_ext >&5
55463 glibcxx_cv_func__sincos_use=no
55465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55466 ac_ext=c
55467 ac_cpp='$CPP $CPPFLAGS'
55468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55476 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55477 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55479 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55481 for ac_func in _sincos
55483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55484 echo "$as_me:$LINENO: checking for $ac_func" >&5
55485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55486 if eval "test \"\${$as_ac_var+set}\" = set"; then
55487 echo $ECHO_N "(cached) $ECHO_C" >&6
55488 else
55489 if test x$gcc_no_link = xyes; then
55490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55492 { (exit 1); exit 1; }; }
55494 cat >conftest.$ac_ext <<_ACEOF
55495 /* confdefs.h. */
55496 _ACEOF
55497 cat confdefs.h >>conftest.$ac_ext
55498 cat >>conftest.$ac_ext <<_ACEOF
55499 /* end confdefs.h. */
55500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55502 #define $ac_func innocuous_$ac_func
55504 /* System header to define __stub macros and hopefully few prototypes,
55505 which can conflict with char $ac_func (); below.
55506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55507 <limits.h> exists even on freestanding compilers. */
55509 #ifdef __STDC__
55510 # include <limits.h>
55511 #else
55512 # include <assert.h>
55513 #endif
55515 #undef $ac_func
55517 /* Override any gcc2 internal prototype to avoid an error. */
55518 #ifdef __cplusplus
55519 extern "C"
55521 #endif
55522 /* We use char because int might match the return type of a gcc2
55523 builtin and then its argument prototype would still apply. */
55524 char $ac_func ();
55525 /* The GNU C library defines this for functions which it implements
55526 to always fail with ENOSYS. Some functions are actually named
55527 something starting with __ and the normal name is an alias. */
55528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55529 choke me
55530 #else
55531 char (*f) () = $ac_func;
55532 #endif
55533 #ifdef __cplusplus
55535 #endif
55538 main ()
55540 return f != $ac_func;
55542 return 0;
55544 _ACEOF
55545 rm -f conftest.$ac_objext conftest$ac_exeext
55546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55547 (eval $ac_link) 2>conftest.er1
55548 ac_status=$?
55549 grep -v '^ *+' conftest.er1 >conftest.err
55550 rm -f conftest.er1
55551 cat conftest.err >&5
55552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55553 (exit $ac_status); } &&
55554 { ac_try='test -z "$ac_c_werror_flag"
55555 || test ! -s conftest.err'
55556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55557 (eval $ac_try) 2>&5
55558 ac_status=$?
55559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55560 (exit $ac_status); }; } &&
55561 { ac_try='test -s conftest$ac_exeext'
55562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55563 (eval $ac_try) 2>&5
55564 ac_status=$?
55565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55566 (exit $ac_status); }; }; then
55567 eval "$as_ac_var=yes"
55568 else
55569 echo "$as_me: failed program was:" >&5
55570 sed 's/^/| /' conftest.$ac_ext >&5
55572 eval "$as_ac_var=no"
55574 rm -f conftest.err conftest.$ac_objext \
55575 conftest$ac_exeext conftest.$ac_ext
55577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55579 if test `eval echo '${'$as_ac_var'}'` = yes; then
55580 cat >>confdefs.h <<_ACEOF
55581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55582 _ACEOF
55585 done
55592 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55593 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55594 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55595 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55596 echo $ECHO_N "(cached) $ECHO_C" >&6
55597 else
55601 ac_ext=cc
55602 ac_cpp='$CXXCPP $CPPFLAGS'
55603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55607 cat >conftest.$ac_ext <<_ACEOF
55608 /* confdefs.h. */
55609 _ACEOF
55610 cat confdefs.h >>conftest.$ac_ext
55611 cat >>conftest.$ac_ext <<_ACEOF
55612 /* end confdefs.h. */
55613 #include <math.h>
55614 #ifdef HAVE_IEEEFP_H
55615 #include <ieeefp.h>
55616 #endif
55619 main ()
55621 fpclass(0);
55623 return 0;
55625 _ACEOF
55626 rm -f conftest.$ac_objext
55627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55628 (eval $ac_compile) 2>conftest.er1
55629 ac_status=$?
55630 grep -v '^ *+' conftest.er1 >conftest.err
55631 rm -f conftest.er1
55632 cat conftest.err >&5
55633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55634 (exit $ac_status); } &&
55635 { ac_try='test -z "$ac_cxx_werror_flag"
55636 || test ! -s conftest.err'
55637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55638 (eval $ac_try) 2>&5
55639 ac_status=$?
55640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55641 (exit $ac_status); }; } &&
55642 { ac_try='test -s conftest.$ac_objext'
55643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55644 (eval $ac_try) 2>&5
55645 ac_status=$?
55646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55647 (exit $ac_status); }; }; then
55648 glibcxx_cv_func_fpclass_use=yes
55649 else
55650 echo "$as_me: failed program was:" >&5
55651 sed 's/^/| /' conftest.$ac_ext >&5
55653 glibcxx_cv_func_fpclass_use=no
55655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55656 ac_ext=c
55657 ac_cpp='$CPP $CPPFLAGS'
55658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55666 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55667 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55669 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55671 for ac_func in fpclass
55673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55674 echo "$as_me:$LINENO: checking for $ac_func" >&5
55675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55676 if eval "test \"\${$as_ac_var+set}\" = set"; then
55677 echo $ECHO_N "(cached) $ECHO_C" >&6
55678 else
55679 if test x$gcc_no_link = xyes; then
55680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55682 { (exit 1); exit 1; }; }
55684 cat >conftest.$ac_ext <<_ACEOF
55685 /* confdefs.h. */
55686 _ACEOF
55687 cat confdefs.h >>conftest.$ac_ext
55688 cat >>conftest.$ac_ext <<_ACEOF
55689 /* end confdefs.h. */
55690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55692 #define $ac_func innocuous_$ac_func
55694 /* System header to define __stub macros and hopefully few prototypes,
55695 which can conflict with char $ac_func (); below.
55696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55697 <limits.h> exists even on freestanding compilers. */
55699 #ifdef __STDC__
55700 # include <limits.h>
55701 #else
55702 # include <assert.h>
55703 #endif
55705 #undef $ac_func
55707 /* Override any gcc2 internal prototype to avoid an error. */
55708 #ifdef __cplusplus
55709 extern "C"
55711 #endif
55712 /* We use char because int might match the return type of a gcc2
55713 builtin and then its argument prototype would still apply. */
55714 char $ac_func ();
55715 /* The GNU C library defines this for functions which it implements
55716 to always fail with ENOSYS. Some functions are actually named
55717 something starting with __ and the normal name is an alias. */
55718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55719 choke me
55720 #else
55721 char (*f) () = $ac_func;
55722 #endif
55723 #ifdef __cplusplus
55725 #endif
55728 main ()
55730 return f != $ac_func;
55732 return 0;
55734 _ACEOF
55735 rm -f conftest.$ac_objext conftest$ac_exeext
55736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55737 (eval $ac_link) 2>conftest.er1
55738 ac_status=$?
55739 grep -v '^ *+' conftest.er1 >conftest.err
55740 rm -f conftest.er1
55741 cat conftest.err >&5
55742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55743 (exit $ac_status); } &&
55744 { ac_try='test -z "$ac_c_werror_flag"
55745 || test ! -s conftest.err'
55746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55747 (eval $ac_try) 2>&5
55748 ac_status=$?
55749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55750 (exit $ac_status); }; } &&
55751 { ac_try='test -s conftest$ac_exeext'
55752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55753 (eval $ac_try) 2>&5
55754 ac_status=$?
55755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55756 (exit $ac_status); }; }; then
55757 eval "$as_ac_var=yes"
55758 else
55759 echo "$as_me: failed program was:" >&5
55760 sed 's/^/| /' conftest.$ac_ext >&5
55762 eval "$as_ac_var=no"
55764 rm -f conftest.err conftest.$ac_objext \
55765 conftest$ac_exeext conftest.$ac_ext
55767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55769 if test `eval echo '${'$as_ac_var'}'` = yes; then
55770 cat >>confdefs.h <<_ACEOF
55771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55772 _ACEOF
55775 done
55777 else
55779 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55780 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55781 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55782 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55783 echo $ECHO_N "(cached) $ECHO_C" >&6
55784 else
55788 ac_ext=cc
55789 ac_cpp='$CXXCPP $CPPFLAGS'
55790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55794 cat >conftest.$ac_ext <<_ACEOF
55795 /* confdefs.h. */
55796 _ACEOF
55797 cat confdefs.h >>conftest.$ac_ext
55798 cat >>conftest.$ac_ext <<_ACEOF
55799 /* end confdefs.h. */
55800 #include <math.h>
55801 #ifdef HAVE_IEEEFP_H
55802 #include <ieeefp.h>
55803 #endif
55806 main ()
55808 _fpclass(0);
55810 return 0;
55812 _ACEOF
55813 rm -f conftest.$ac_objext
55814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55815 (eval $ac_compile) 2>conftest.er1
55816 ac_status=$?
55817 grep -v '^ *+' conftest.er1 >conftest.err
55818 rm -f conftest.er1
55819 cat conftest.err >&5
55820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55821 (exit $ac_status); } &&
55822 { ac_try='test -z "$ac_cxx_werror_flag"
55823 || test ! -s conftest.err'
55824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55825 (eval $ac_try) 2>&5
55826 ac_status=$?
55827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55828 (exit $ac_status); }; } &&
55829 { ac_try='test -s conftest.$ac_objext'
55830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55831 (eval $ac_try) 2>&5
55832 ac_status=$?
55833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55834 (exit $ac_status); }; }; then
55835 glibcxx_cv_func__fpclass_use=yes
55836 else
55837 echo "$as_me: failed program was:" >&5
55838 sed 's/^/| /' conftest.$ac_ext >&5
55840 glibcxx_cv_func__fpclass_use=no
55842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55843 ac_ext=c
55844 ac_cpp='$CPP $CPPFLAGS'
55845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55853 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55854 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55856 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55858 for ac_func in _fpclass
55860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55861 echo "$as_me:$LINENO: checking for $ac_func" >&5
55862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55863 if eval "test \"\${$as_ac_var+set}\" = set"; then
55864 echo $ECHO_N "(cached) $ECHO_C" >&6
55865 else
55866 if test x$gcc_no_link = xyes; then
55867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55869 { (exit 1); exit 1; }; }
55871 cat >conftest.$ac_ext <<_ACEOF
55872 /* confdefs.h. */
55873 _ACEOF
55874 cat confdefs.h >>conftest.$ac_ext
55875 cat >>conftest.$ac_ext <<_ACEOF
55876 /* end confdefs.h. */
55877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55879 #define $ac_func innocuous_$ac_func
55881 /* System header to define __stub macros and hopefully few prototypes,
55882 which can conflict with char $ac_func (); below.
55883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55884 <limits.h> exists even on freestanding compilers. */
55886 #ifdef __STDC__
55887 # include <limits.h>
55888 #else
55889 # include <assert.h>
55890 #endif
55892 #undef $ac_func
55894 /* Override any gcc2 internal prototype to avoid an error. */
55895 #ifdef __cplusplus
55896 extern "C"
55898 #endif
55899 /* We use char because int might match the return type of a gcc2
55900 builtin and then its argument prototype would still apply. */
55901 char $ac_func ();
55902 /* The GNU C library defines this for functions which it implements
55903 to always fail with ENOSYS. Some functions are actually named
55904 something starting with __ and the normal name is an alias. */
55905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55906 choke me
55907 #else
55908 char (*f) () = $ac_func;
55909 #endif
55910 #ifdef __cplusplus
55912 #endif
55915 main ()
55917 return f != $ac_func;
55919 return 0;
55921 _ACEOF
55922 rm -f conftest.$ac_objext conftest$ac_exeext
55923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55924 (eval $ac_link) 2>conftest.er1
55925 ac_status=$?
55926 grep -v '^ *+' conftest.er1 >conftest.err
55927 rm -f conftest.er1
55928 cat conftest.err >&5
55929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55930 (exit $ac_status); } &&
55931 { ac_try='test -z "$ac_c_werror_flag"
55932 || test ! -s conftest.err'
55933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55934 (eval $ac_try) 2>&5
55935 ac_status=$?
55936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55937 (exit $ac_status); }; } &&
55938 { ac_try='test -s conftest$ac_exeext'
55939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55940 (eval $ac_try) 2>&5
55941 ac_status=$?
55942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55943 (exit $ac_status); }; }; then
55944 eval "$as_ac_var=yes"
55945 else
55946 echo "$as_me: failed program was:" >&5
55947 sed 's/^/| /' conftest.$ac_ext >&5
55949 eval "$as_ac_var=no"
55951 rm -f conftest.err conftest.$ac_objext \
55952 conftest$ac_exeext conftest.$ac_ext
55954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55956 if test `eval echo '${'$as_ac_var'}'` = yes; then
55957 cat >>confdefs.h <<_ACEOF
55958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55959 _ACEOF
55962 done
55969 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55970 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55971 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55972 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55973 echo $ECHO_N "(cached) $ECHO_C" >&6
55974 else
55978 ac_ext=cc
55979 ac_cpp='$CXXCPP $CPPFLAGS'
55980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55984 cat >conftest.$ac_ext <<_ACEOF
55985 /* confdefs.h. */
55986 _ACEOF
55987 cat confdefs.h >>conftest.$ac_ext
55988 cat >>conftest.$ac_ext <<_ACEOF
55989 /* end confdefs.h. */
55990 #include <math.h>
55991 #ifdef HAVE_IEEEFP_H
55992 #include <ieeefp.h>
55993 #endif
55996 main ()
55998 qfpclass(0);
56000 return 0;
56002 _ACEOF
56003 rm -f conftest.$ac_objext
56004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56005 (eval $ac_compile) 2>conftest.er1
56006 ac_status=$?
56007 grep -v '^ *+' conftest.er1 >conftest.err
56008 rm -f conftest.er1
56009 cat conftest.err >&5
56010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56011 (exit $ac_status); } &&
56012 { ac_try='test -z "$ac_cxx_werror_flag"
56013 || test ! -s conftest.err'
56014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56015 (eval $ac_try) 2>&5
56016 ac_status=$?
56017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56018 (exit $ac_status); }; } &&
56019 { ac_try='test -s conftest.$ac_objext'
56020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56021 (eval $ac_try) 2>&5
56022 ac_status=$?
56023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56024 (exit $ac_status); }; }; then
56025 glibcxx_cv_func_qfpclass_use=yes
56026 else
56027 echo "$as_me: failed program was:" >&5
56028 sed 's/^/| /' conftest.$ac_ext >&5
56030 glibcxx_cv_func_qfpclass_use=no
56032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56033 ac_ext=c
56034 ac_cpp='$CPP $CPPFLAGS'
56035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56044 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56046 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56048 for ac_func in qfpclass
56050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56051 echo "$as_me:$LINENO: checking for $ac_func" >&5
56052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56053 if eval "test \"\${$as_ac_var+set}\" = set"; then
56054 echo $ECHO_N "(cached) $ECHO_C" >&6
56055 else
56056 if test x$gcc_no_link = xyes; then
56057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56059 { (exit 1); exit 1; }; }
56061 cat >conftest.$ac_ext <<_ACEOF
56062 /* confdefs.h. */
56063 _ACEOF
56064 cat confdefs.h >>conftest.$ac_ext
56065 cat >>conftest.$ac_ext <<_ACEOF
56066 /* end confdefs.h. */
56067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56069 #define $ac_func innocuous_$ac_func
56071 /* System header to define __stub macros and hopefully few prototypes,
56072 which can conflict with char $ac_func (); below.
56073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56074 <limits.h> exists even on freestanding compilers. */
56076 #ifdef __STDC__
56077 # include <limits.h>
56078 #else
56079 # include <assert.h>
56080 #endif
56082 #undef $ac_func
56084 /* Override any gcc2 internal prototype to avoid an error. */
56085 #ifdef __cplusplus
56086 extern "C"
56088 #endif
56089 /* We use char because int might match the return type of a gcc2
56090 builtin and then its argument prototype would still apply. */
56091 char $ac_func ();
56092 /* The GNU C library defines this for functions which it implements
56093 to always fail with ENOSYS. Some functions are actually named
56094 something starting with __ and the normal name is an alias. */
56095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56096 choke me
56097 #else
56098 char (*f) () = $ac_func;
56099 #endif
56100 #ifdef __cplusplus
56102 #endif
56105 main ()
56107 return f != $ac_func;
56109 return 0;
56111 _ACEOF
56112 rm -f conftest.$ac_objext conftest$ac_exeext
56113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56114 (eval $ac_link) 2>conftest.er1
56115 ac_status=$?
56116 grep -v '^ *+' conftest.er1 >conftest.err
56117 rm -f conftest.er1
56118 cat conftest.err >&5
56119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56120 (exit $ac_status); } &&
56121 { ac_try='test -z "$ac_c_werror_flag"
56122 || test ! -s conftest.err'
56123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56124 (eval $ac_try) 2>&5
56125 ac_status=$?
56126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56127 (exit $ac_status); }; } &&
56128 { ac_try='test -s conftest$ac_exeext'
56129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56130 (eval $ac_try) 2>&5
56131 ac_status=$?
56132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56133 (exit $ac_status); }; }; then
56134 eval "$as_ac_var=yes"
56135 else
56136 echo "$as_me: failed program was:" >&5
56137 sed 's/^/| /' conftest.$ac_ext >&5
56139 eval "$as_ac_var=no"
56141 rm -f conftest.err conftest.$ac_objext \
56142 conftest$ac_exeext conftest.$ac_ext
56144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56146 if test `eval echo '${'$as_ac_var'}'` = yes; then
56147 cat >>confdefs.h <<_ACEOF
56148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56149 _ACEOF
56152 done
56154 else
56156 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56157 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56158 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56159 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56160 echo $ECHO_N "(cached) $ECHO_C" >&6
56161 else
56165 ac_ext=cc
56166 ac_cpp='$CXXCPP $CPPFLAGS'
56167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56171 cat >conftest.$ac_ext <<_ACEOF
56172 /* confdefs.h. */
56173 _ACEOF
56174 cat confdefs.h >>conftest.$ac_ext
56175 cat >>conftest.$ac_ext <<_ACEOF
56176 /* end confdefs.h. */
56177 #include <math.h>
56178 #ifdef HAVE_IEEEFP_H
56179 #include <ieeefp.h>
56180 #endif
56183 main ()
56185 _qfpclass(0);
56187 return 0;
56189 _ACEOF
56190 rm -f conftest.$ac_objext
56191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56192 (eval $ac_compile) 2>conftest.er1
56193 ac_status=$?
56194 grep -v '^ *+' conftest.er1 >conftest.err
56195 rm -f conftest.er1
56196 cat conftest.err >&5
56197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56198 (exit $ac_status); } &&
56199 { ac_try='test -z "$ac_cxx_werror_flag"
56200 || test ! -s conftest.err'
56201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56202 (eval $ac_try) 2>&5
56203 ac_status=$?
56204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56205 (exit $ac_status); }; } &&
56206 { ac_try='test -s conftest.$ac_objext'
56207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56208 (eval $ac_try) 2>&5
56209 ac_status=$?
56210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56211 (exit $ac_status); }; }; then
56212 glibcxx_cv_func__qfpclass_use=yes
56213 else
56214 echo "$as_me: failed program was:" >&5
56215 sed 's/^/| /' conftest.$ac_ext >&5
56217 glibcxx_cv_func__qfpclass_use=no
56219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56220 ac_ext=c
56221 ac_cpp='$CPP $CPPFLAGS'
56222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56230 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56231 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56233 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56235 for ac_func in _qfpclass
56237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56238 echo "$as_me:$LINENO: checking for $ac_func" >&5
56239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56240 if eval "test \"\${$as_ac_var+set}\" = set"; then
56241 echo $ECHO_N "(cached) $ECHO_C" >&6
56242 else
56243 if test x$gcc_no_link = xyes; then
56244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56246 { (exit 1); exit 1; }; }
56248 cat >conftest.$ac_ext <<_ACEOF
56249 /* confdefs.h. */
56250 _ACEOF
56251 cat confdefs.h >>conftest.$ac_ext
56252 cat >>conftest.$ac_ext <<_ACEOF
56253 /* end confdefs.h. */
56254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56256 #define $ac_func innocuous_$ac_func
56258 /* System header to define __stub macros and hopefully few prototypes,
56259 which can conflict with char $ac_func (); below.
56260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56261 <limits.h> exists even on freestanding compilers. */
56263 #ifdef __STDC__
56264 # include <limits.h>
56265 #else
56266 # include <assert.h>
56267 #endif
56269 #undef $ac_func
56271 /* Override any gcc2 internal prototype to avoid an error. */
56272 #ifdef __cplusplus
56273 extern "C"
56275 #endif
56276 /* We use char because int might match the return type of a gcc2
56277 builtin and then its argument prototype would still apply. */
56278 char $ac_func ();
56279 /* The GNU C library defines this for functions which it implements
56280 to always fail with ENOSYS. Some functions are actually named
56281 something starting with __ and the normal name is an alias. */
56282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56283 choke me
56284 #else
56285 char (*f) () = $ac_func;
56286 #endif
56287 #ifdef __cplusplus
56289 #endif
56292 main ()
56294 return f != $ac_func;
56296 return 0;
56298 _ACEOF
56299 rm -f conftest.$ac_objext conftest$ac_exeext
56300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56301 (eval $ac_link) 2>conftest.er1
56302 ac_status=$?
56303 grep -v '^ *+' conftest.er1 >conftest.err
56304 rm -f conftest.er1
56305 cat conftest.err >&5
56306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56307 (exit $ac_status); } &&
56308 { ac_try='test -z "$ac_c_werror_flag"
56309 || test ! -s conftest.err'
56310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56311 (eval $ac_try) 2>&5
56312 ac_status=$?
56313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56314 (exit $ac_status); }; } &&
56315 { ac_try='test -s conftest$ac_exeext'
56316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56317 (eval $ac_try) 2>&5
56318 ac_status=$?
56319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56320 (exit $ac_status); }; }; then
56321 eval "$as_ac_var=yes"
56322 else
56323 echo "$as_me: failed program was:" >&5
56324 sed 's/^/| /' conftest.$ac_ext >&5
56326 eval "$as_ac_var=no"
56328 rm -f conftest.err conftest.$ac_objext \
56329 conftest$ac_exeext conftest.$ac_ext
56331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56333 if test `eval echo '${'$as_ac_var'}'` = yes; then
56334 cat >>confdefs.h <<_ACEOF
56335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56336 _ACEOF
56339 done
56346 echo "$as_me:$LINENO: checking for hypot declaration" >&5
56347 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56348 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56349 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56350 echo $ECHO_N "(cached) $ECHO_C" >&6
56351 else
56355 ac_ext=cc
56356 ac_cpp='$CXXCPP $CPPFLAGS'
56357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56361 cat >conftest.$ac_ext <<_ACEOF
56362 /* confdefs.h. */
56363 _ACEOF
56364 cat confdefs.h >>conftest.$ac_ext
56365 cat >>conftest.$ac_ext <<_ACEOF
56366 /* end confdefs.h. */
56367 #include <math.h>
56369 main ()
56371 hypot(0, 0);
56373 return 0;
56375 _ACEOF
56376 rm -f conftest.$ac_objext
56377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56378 (eval $ac_compile) 2>conftest.er1
56379 ac_status=$?
56380 grep -v '^ *+' conftest.er1 >conftest.err
56381 rm -f conftest.er1
56382 cat conftest.err >&5
56383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56384 (exit $ac_status); } &&
56385 { ac_try='test -z "$ac_cxx_werror_flag"
56386 || test ! -s conftest.err'
56387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56388 (eval $ac_try) 2>&5
56389 ac_status=$?
56390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56391 (exit $ac_status); }; } &&
56392 { ac_try='test -s conftest.$ac_objext'
56393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56394 (eval $ac_try) 2>&5
56395 ac_status=$?
56396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56397 (exit $ac_status); }; }; then
56398 glibcxx_cv_func_hypot_use=yes
56399 else
56400 echo "$as_me: failed program was:" >&5
56401 sed 's/^/| /' conftest.$ac_ext >&5
56403 glibcxx_cv_func_hypot_use=no
56405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56406 ac_ext=c
56407 ac_cpp='$CPP $CPPFLAGS'
56408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56417 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56419 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56421 for ac_func in hypot
56423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56424 echo "$as_me:$LINENO: checking for $ac_func" >&5
56425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56426 if eval "test \"\${$as_ac_var+set}\" = set"; then
56427 echo $ECHO_N "(cached) $ECHO_C" >&6
56428 else
56429 if test x$gcc_no_link = xyes; then
56430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56432 { (exit 1); exit 1; }; }
56434 cat >conftest.$ac_ext <<_ACEOF
56435 /* confdefs.h. */
56436 _ACEOF
56437 cat confdefs.h >>conftest.$ac_ext
56438 cat >>conftest.$ac_ext <<_ACEOF
56439 /* end confdefs.h. */
56440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56442 #define $ac_func innocuous_$ac_func
56444 /* System header to define __stub macros and hopefully few prototypes,
56445 which can conflict with char $ac_func (); below.
56446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56447 <limits.h> exists even on freestanding compilers. */
56449 #ifdef __STDC__
56450 # include <limits.h>
56451 #else
56452 # include <assert.h>
56453 #endif
56455 #undef $ac_func
56457 /* Override any gcc2 internal prototype to avoid an error. */
56458 #ifdef __cplusplus
56459 extern "C"
56461 #endif
56462 /* We use char because int might match the return type of a gcc2
56463 builtin and then its argument prototype would still apply. */
56464 char $ac_func ();
56465 /* The GNU C library defines this for functions which it implements
56466 to always fail with ENOSYS. Some functions are actually named
56467 something starting with __ and the normal name is an alias. */
56468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56469 choke me
56470 #else
56471 char (*f) () = $ac_func;
56472 #endif
56473 #ifdef __cplusplus
56475 #endif
56478 main ()
56480 return f != $ac_func;
56482 return 0;
56484 _ACEOF
56485 rm -f conftest.$ac_objext conftest$ac_exeext
56486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56487 (eval $ac_link) 2>conftest.er1
56488 ac_status=$?
56489 grep -v '^ *+' conftest.er1 >conftest.err
56490 rm -f conftest.er1
56491 cat conftest.err >&5
56492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56493 (exit $ac_status); } &&
56494 { ac_try='test -z "$ac_c_werror_flag"
56495 || test ! -s conftest.err'
56496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56497 (eval $ac_try) 2>&5
56498 ac_status=$?
56499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56500 (exit $ac_status); }; } &&
56501 { ac_try='test -s conftest$ac_exeext'
56502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56503 (eval $ac_try) 2>&5
56504 ac_status=$?
56505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56506 (exit $ac_status); }; }; then
56507 eval "$as_ac_var=yes"
56508 else
56509 echo "$as_me: failed program was:" >&5
56510 sed 's/^/| /' conftest.$ac_ext >&5
56512 eval "$as_ac_var=no"
56514 rm -f conftest.err conftest.$ac_objext \
56515 conftest$ac_exeext conftest.$ac_ext
56517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56519 if test `eval echo '${'$as_ac_var'}'` = yes; then
56520 cat >>confdefs.h <<_ACEOF
56521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56522 _ACEOF
56525 done
56527 else
56529 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56530 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56531 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56532 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56533 echo $ECHO_N "(cached) $ECHO_C" >&6
56534 else
56538 ac_ext=cc
56539 ac_cpp='$CXXCPP $CPPFLAGS'
56540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56544 cat >conftest.$ac_ext <<_ACEOF
56545 /* confdefs.h. */
56546 _ACEOF
56547 cat confdefs.h >>conftest.$ac_ext
56548 cat >>conftest.$ac_ext <<_ACEOF
56549 /* end confdefs.h. */
56550 #include <math.h>
56552 main ()
56554 _hypot(0, 0);
56556 return 0;
56558 _ACEOF
56559 rm -f conftest.$ac_objext
56560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56561 (eval $ac_compile) 2>conftest.er1
56562 ac_status=$?
56563 grep -v '^ *+' conftest.er1 >conftest.err
56564 rm -f conftest.er1
56565 cat conftest.err >&5
56566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56567 (exit $ac_status); } &&
56568 { ac_try='test -z "$ac_cxx_werror_flag"
56569 || test ! -s conftest.err'
56570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56571 (eval $ac_try) 2>&5
56572 ac_status=$?
56573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56574 (exit $ac_status); }; } &&
56575 { ac_try='test -s conftest.$ac_objext'
56576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56577 (eval $ac_try) 2>&5
56578 ac_status=$?
56579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56580 (exit $ac_status); }; }; then
56581 glibcxx_cv_func__hypot_use=yes
56582 else
56583 echo "$as_me: failed program was:" >&5
56584 sed 's/^/| /' conftest.$ac_ext >&5
56586 glibcxx_cv_func__hypot_use=no
56588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56589 ac_ext=c
56590 ac_cpp='$CPP $CPPFLAGS'
56591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56599 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56600 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56602 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56604 for ac_func in _hypot
56606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56607 echo "$as_me:$LINENO: checking for $ac_func" >&5
56608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56609 if eval "test \"\${$as_ac_var+set}\" = set"; then
56610 echo $ECHO_N "(cached) $ECHO_C" >&6
56611 else
56612 if test x$gcc_no_link = xyes; then
56613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56615 { (exit 1); exit 1; }; }
56617 cat >conftest.$ac_ext <<_ACEOF
56618 /* confdefs.h. */
56619 _ACEOF
56620 cat confdefs.h >>conftest.$ac_ext
56621 cat >>conftest.$ac_ext <<_ACEOF
56622 /* end confdefs.h. */
56623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56625 #define $ac_func innocuous_$ac_func
56627 /* System header to define __stub macros and hopefully few prototypes,
56628 which can conflict with char $ac_func (); below.
56629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56630 <limits.h> exists even on freestanding compilers. */
56632 #ifdef __STDC__
56633 # include <limits.h>
56634 #else
56635 # include <assert.h>
56636 #endif
56638 #undef $ac_func
56640 /* Override any gcc2 internal prototype to avoid an error. */
56641 #ifdef __cplusplus
56642 extern "C"
56644 #endif
56645 /* We use char because int might match the return type of a gcc2
56646 builtin and then its argument prototype would still apply. */
56647 char $ac_func ();
56648 /* The GNU C library defines this for functions which it implements
56649 to always fail with ENOSYS. Some functions are actually named
56650 something starting with __ and the normal name is an alias. */
56651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56652 choke me
56653 #else
56654 char (*f) () = $ac_func;
56655 #endif
56656 #ifdef __cplusplus
56658 #endif
56661 main ()
56663 return f != $ac_func;
56665 return 0;
56667 _ACEOF
56668 rm -f conftest.$ac_objext conftest$ac_exeext
56669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56670 (eval $ac_link) 2>conftest.er1
56671 ac_status=$?
56672 grep -v '^ *+' conftest.er1 >conftest.err
56673 rm -f conftest.er1
56674 cat conftest.err >&5
56675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56676 (exit $ac_status); } &&
56677 { ac_try='test -z "$ac_c_werror_flag"
56678 || test ! -s conftest.err'
56679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56680 (eval $ac_try) 2>&5
56681 ac_status=$?
56682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56683 (exit $ac_status); }; } &&
56684 { ac_try='test -s conftest$ac_exeext'
56685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56686 (eval $ac_try) 2>&5
56687 ac_status=$?
56688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56689 (exit $ac_status); }; }; then
56690 eval "$as_ac_var=yes"
56691 else
56692 echo "$as_me: failed program was:" >&5
56693 sed 's/^/| /' conftest.$ac_ext >&5
56695 eval "$as_ac_var=no"
56697 rm -f conftest.err conftest.$ac_objext \
56698 conftest$ac_exeext conftest.$ac_ext
56700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56702 if test `eval echo '${'$as_ac_var'}'` = yes; then
56703 cat >>confdefs.h <<_ACEOF
56704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56705 _ACEOF
56708 done
56715 echo "$as_me:$LINENO: checking for float trig functions" >&5
56716 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56717 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56718 echo $ECHO_N "(cached) $ECHO_C" >&6
56719 else
56723 ac_ext=cc
56724 ac_cpp='$CXXCPP $CPPFLAGS'
56725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56729 cat >conftest.$ac_ext <<_ACEOF
56730 /* confdefs.h. */
56731 _ACEOF
56732 cat confdefs.h >>conftest.$ac_ext
56733 cat >>conftest.$ac_ext <<_ACEOF
56734 /* end confdefs.h. */
56735 #include <math.h>
56737 main ()
56739 `for x in acosf asinf atanf \
56740 cosf sinf tanf \
56741 coshf sinhf tanhf; do echo "$x (0);"; done`
56743 return 0;
56745 _ACEOF
56746 rm -f conftest.$ac_objext
56747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56748 (eval $ac_compile) 2>conftest.er1
56749 ac_status=$?
56750 grep -v '^ *+' conftest.er1 >conftest.err
56751 rm -f conftest.er1
56752 cat conftest.err >&5
56753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56754 (exit $ac_status); } &&
56755 { ac_try='test -z "$ac_cxx_werror_flag"
56756 || test ! -s conftest.err'
56757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56758 (eval $ac_try) 2>&5
56759 ac_status=$?
56760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56761 (exit $ac_status); }; } &&
56762 { ac_try='test -s conftest.$ac_objext'
56763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56764 (eval $ac_try) 2>&5
56765 ac_status=$?
56766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56767 (exit $ac_status); }; }; then
56768 glibcxx_cv_func_float_trig_use=yes
56769 else
56770 echo "$as_me: failed program was:" >&5
56771 sed 's/^/| /' conftest.$ac_ext >&5
56773 glibcxx_cv_func_float_trig_use=no
56775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56776 ac_ext=c
56777 ac_cpp='$CPP $CPPFLAGS'
56778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56785 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56786 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56796 for ac_func in acosf asinf atanf \
56797 cosf sinf tanf \
56798 coshf sinhf tanhf
56800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56801 echo "$as_me:$LINENO: checking for $ac_func" >&5
56802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56803 if eval "test \"\${$as_ac_var+set}\" = set"; then
56804 echo $ECHO_N "(cached) $ECHO_C" >&6
56805 else
56806 if test x$gcc_no_link = xyes; then
56807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56809 { (exit 1); exit 1; }; }
56811 cat >conftest.$ac_ext <<_ACEOF
56812 /* confdefs.h. */
56813 _ACEOF
56814 cat confdefs.h >>conftest.$ac_ext
56815 cat >>conftest.$ac_ext <<_ACEOF
56816 /* end confdefs.h. */
56817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56819 #define $ac_func innocuous_$ac_func
56821 /* System header to define __stub macros and hopefully few prototypes,
56822 which can conflict with char $ac_func (); below.
56823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56824 <limits.h> exists even on freestanding compilers. */
56826 #ifdef __STDC__
56827 # include <limits.h>
56828 #else
56829 # include <assert.h>
56830 #endif
56832 #undef $ac_func
56834 /* Override any gcc2 internal prototype to avoid an error. */
56835 #ifdef __cplusplus
56836 extern "C"
56838 #endif
56839 /* We use char because int might match the return type of a gcc2
56840 builtin and then its argument prototype would still apply. */
56841 char $ac_func ();
56842 /* The GNU C library defines this for functions which it implements
56843 to always fail with ENOSYS. Some functions are actually named
56844 something starting with __ and the normal name is an alias. */
56845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56846 choke me
56847 #else
56848 char (*f) () = $ac_func;
56849 #endif
56850 #ifdef __cplusplus
56852 #endif
56855 main ()
56857 return f != $ac_func;
56859 return 0;
56861 _ACEOF
56862 rm -f conftest.$ac_objext conftest$ac_exeext
56863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56864 (eval $ac_link) 2>conftest.er1
56865 ac_status=$?
56866 grep -v '^ *+' conftest.er1 >conftest.err
56867 rm -f conftest.er1
56868 cat conftest.err >&5
56869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56870 (exit $ac_status); } &&
56871 { ac_try='test -z "$ac_c_werror_flag"
56872 || test ! -s conftest.err'
56873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56874 (eval $ac_try) 2>&5
56875 ac_status=$?
56876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56877 (exit $ac_status); }; } &&
56878 { ac_try='test -s conftest$ac_exeext'
56879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56880 (eval $ac_try) 2>&5
56881 ac_status=$?
56882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56883 (exit $ac_status); }; }; then
56884 eval "$as_ac_var=yes"
56885 else
56886 echo "$as_me: failed program was:" >&5
56887 sed 's/^/| /' conftest.$ac_ext >&5
56889 eval "$as_ac_var=no"
56891 rm -f conftest.err conftest.$ac_objext \
56892 conftest$ac_exeext conftest.$ac_ext
56894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56896 if test `eval echo '${'$as_ac_var'}'` = yes; then
56897 cat >>confdefs.h <<_ACEOF
56898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56899 _ACEOF
56902 done
56907 echo "$as_me:$LINENO: checking for float round functions" >&5
56908 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56909 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56910 echo $ECHO_N "(cached) $ECHO_C" >&6
56911 else
56915 ac_ext=cc
56916 ac_cpp='$CXXCPP $CPPFLAGS'
56917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56921 cat >conftest.$ac_ext <<_ACEOF
56922 /* confdefs.h. */
56923 _ACEOF
56924 cat confdefs.h >>conftest.$ac_ext
56925 cat >>conftest.$ac_ext <<_ACEOF
56926 /* end confdefs.h. */
56927 #include <math.h>
56929 main ()
56931 `for x in ceilf floorf; do echo "$x (0);"; done`
56933 return 0;
56935 _ACEOF
56936 rm -f conftest.$ac_objext
56937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56938 (eval $ac_compile) 2>conftest.er1
56939 ac_status=$?
56940 grep -v '^ *+' conftest.er1 >conftest.err
56941 rm -f conftest.er1
56942 cat conftest.err >&5
56943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56944 (exit $ac_status); } &&
56945 { ac_try='test -z "$ac_cxx_werror_flag"
56946 || test ! -s conftest.err'
56947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56948 (eval $ac_try) 2>&5
56949 ac_status=$?
56950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56951 (exit $ac_status); }; } &&
56952 { ac_try='test -s conftest.$ac_objext'
56953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56954 (eval $ac_try) 2>&5
56955 ac_status=$?
56956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56957 (exit $ac_status); }; }; then
56958 glibcxx_cv_func_float_round_use=yes
56959 else
56960 echo "$as_me: failed program was:" >&5
56961 sed 's/^/| /' conftest.$ac_ext >&5
56963 glibcxx_cv_func_float_round_use=no
56965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56966 ac_ext=c
56967 ac_cpp='$CPP $CPPFLAGS'
56968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56974 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56975 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56976 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56979 for ac_func in ceilf floorf
56981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56982 echo "$as_me:$LINENO: checking for $ac_func" >&5
56983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56984 if eval "test \"\${$as_ac_var+set}\" = set"; then
56985 echo $ECHO_N "(cached) $ECHO_C" >&6
56986 else
56987 if test x$gcc_no_link = xyes; then
56988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56990 { (exit 1); exit 1; }; }
56992 cat >conftest.$ac_ext <<_ACEOF
56993 /* confdefs.h. */
56994 _ACEOF
56995 cat confdefs.h >>conftest.$ac_ext
56996 cat >>conftest.$ac_ext <<_ACEOF
56997 /* end confdefs.h. */
56998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57000 #define $ac_func innocuous_$ac_func
57002 /* System header to define __stub macros and hopefully few prototypes,
57003 which can conflict with char $ac_func (); below.
57004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57005 <limits.h> exists even on freestanding compilers. */
57007 #ifdef __STDC__
57008 # include <limits.h>
57009 #else
57010 # include <assert.h>
57011 #endif
57013 #undef $ac_func
57015 /* Override any gcc2 internal prototype to avoid an error. */
57016 #ifdef __cplusplus
57017 extern "C"
57019 #endif
57020 /* We use char because int might match the return type of a gcc2
57021 builtin and then its argument prototype would still apply. */
57022 char $ac_func ();
57023 /* The GNU C library defines this for functions which it implements
57024 to always fail with ENOSYS. Some functions are actually named
57025 something starting with __ and the normal name is an alias. */
57026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57027 choke me
57028 #else
57029 char (*f) () = $ac_func;
57030 #endif
57031 #ifdef __cplusplus
57033 #endif
57036 main ()
57038 return f != $ac_func;
57040 return 0;
57042 _ACEOF
57043 rm -f conftest.$ac_objext conftest$ac_exeext
57044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57045 (eval $ac_link) 2>conftest.er1
57046 ac_status=$?
57047 grep -v '^ *+' conftest.er1 >conftest.err
57048 rm -f conftest.er1
57049 cat conftest.err >&5
57050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57051 (exit $ac_status); } &&
57052 { ac_try='test -z "$ac_c_werror_flag"
57053 || test ! -s conftest.err'
57054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57055 (eval $ac_try) 2>&5
57056 ac_status=$?
57057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57058 (exit $ac_status); }; } &&
57059 { ac_try='test -s conftest$ac_exeext'
57060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57061 (eval $ac_try) 2>&5
57062 ac_status=$?
57063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57064 (exit $ac_status); }; }; then
57065 eval "$as_ac_var=yes"
57066 else
57067 echo "$as_me: failed program was:" >&5
57068 sed 's/^/| /' conftest.$ac_ext >&5
57070 eval "$as_ac_var=no"
57072 rm -f conftest.err conftest.$ac_objext \
57073 conftest$ac_exeext conftest.$ac_ext
57075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57077 if test `eval echo '${'$as_ac_var'}'` = yes; then
57078 cat >>confdefs.h <<_ACEOF
57079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57080 _ACEOF
57083 done
57089 echo "$as_me:$LINENO: checking for expf declaration" >&5
57090 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57091 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57092 if test "${glibcxx_cv_func_expf_use+set}" = set; then
57093 echo $ECHO_N "(cached) $ECHO_C" >&6
57094 else
57098 ac_ext=cc
57099 ac_cpp='$CXXCPP $CPPFLAGS'
57100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57104 cat >conftest.$ac_ext <<_ACEOF
57105 /* confdefs.h. */
57106 _ACEOF
57107 cat confdefs.h >>conftest.$ac_ext
57108 cat >>conftest.$ac_ext <<_ACEOF
57109 /* end confdefs.h. */
57110 #include <math.h>
57111 #ifdef HAVE_IEEEFP_H
57112 #include <ieeefp.h>
57113 #endif
57116 main ()
57118 expf(0);
57120 return 0;
57122 _ACEOF
57123 rm -f conftest.$ac_objext
57124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57125 (eval $ac_compile) 2>conftest.er1
57126 ac_status=$?
57127 grep -v '^ *+' conftest.er1 >conftest.err
57128 rm -f conftest.er1
57129 cat conftest.err >&5
57130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57131 (exit $ac_status); } &&
57132 { ac_try='test -z "$ac_cxx_werror_flag"
57133 || test ! -s conftest.err'
57134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57135 (eval $ac_try) 2>&5
57136 ac_status=$?
57137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57138 (exit $ac_status); }; } &&
57139 { ac_try='test -s conftest.$ac_objext'
57140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57141 (eval $ac_try) 2>&5
57142 ac_status=$?
57143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57144 (exit $ac_status); }; }; then
57145 glibcxx_cv_func_expf_use=yes
57146 else
57147 echo "$as_me: failed program was:" >&5
57148 sed 's/^/| /' conftest.$ac_ext >&5
57150 glibcxx_cv_func_expf_use=no
57152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57153 ac_ext=c
57154 ac_cpp='$CPP $CPPFLAGS'
57155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57164 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57166 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57168 for ac_func in expf
57170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57171 echo "$as_me:$LINENO: checking for $ac_func" >&5
57172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57173 if eval "test \"\${$as_ac_var+set}\" = set"; then
57174 echo $ECHO_N "(cached) $ECHO_C" >&6
57175 else
57176 if test x$gcc_no_link = xyes; then
57177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57179 { (exit 1); exit 1; }; }
57181 cat >conftest.$ac_ext <<_ACEOF
57182 /* confdefs.h. */
57183 _ACEOF
57184 cat confdefs.h >>conftest.$ac_ext
57185 cat >>conftest.$ac_ext <<_ACEOF
57186 /* end confdefs.h. */
57187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57189 #define $ac_func innocuous_$ac_func
57191 /* System header to define __stub macros and hopefully few prototypes,
57192 which can conflict with char $ac_func (); below.
57193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57194 <limits.h> exists even on freestanding compilers. */
57196 #ifdef __STDC__
57197 # include <limits.h>
57198 #else
57199 # include <assert.h>
57200 #endif
57202 #undef $ac_func
57204 /* Override any gcc2 internal prototype to avoid an error. */
57205 #ifdef __cplusplus
57206 extern "C"
57208 #endif
57209 /* We use char because int might match the return type of a gcc2
57210 builtin and then its argument prototype would still apply. */
57211 char $ac_func ();
57212 /* The GNU C library defines this for functions which it implements
57213 to always fail with ENOSYS. Some functions are actually named
57214 something starting with __ and the normal name is an alias. */
57215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57216 choke me
57217 #else
57218 char (*f) () = $ac_func;
57219 #endif
57220 #ifdef __cplusplus
57222 #endif
57225 main ()
57227 return f != $ac_func;
57229 return 0;
57231 _ACEOF
57232 rm -f conftest.$ac_objext conftest$ac_exeext
57233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57234 (eval $ac_link) 2>conftest.er1
57235 ac_status=$?
57236 grep -v '^ *+' conftest.er1 >conftest.err
57237 rm -f conftest.er1
57238 cat conftest.err >&5
57239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57240 (exit $ac_status); } &&
57241 { ac_try='test -z "$ac_c_werror_flag"
57242 || test ! -s conftest.err'
57243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57244 (eval $ac_try) 2>&5
57245 ac_status=$?
57246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57247 (exit $ac_status); }; } &&
57248 { ac_try='test -s conftest$ac_exeext'
57249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57250 (eval $ac_try) 2>&5
57251 ac_status=$?
57252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57253 (exit $ac_status); }; }; then
57254 eval "$as_ac_var=yes"
57255 else
57256 echo "$as_me: failed program was:" >&5
57257 sed 's/^/| /' conftest.$ac_ext >&5
57259 eval "$as_ac_var=no"
57261 rm -f conftest.err conftest.$ac_objext \
57262 conftest$ac_exeext conftest.$ac_ext
57264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57266 if test `eval echo '${'$as_ac_var'}'` = yes; then
57267 cat >>confdefs.h <<_ACEOF
57268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57269 _ACEOF
57272 done
57274 else
57276 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57277 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57278 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57279 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57280 echo $ECHO_N "(cached) $ECHO_C" >&6
57281 else
57285 ac_ext=cc
57286 ac_cpp='$CXXCPP $CPPFLAGS'
57287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57291 cat >conftest.$ac_ext <<_ACEOF
57292 /* confdefs.h. */
57293 _ACEOF
57294 cat confdefs.h >>conftest.$ac_ext
57295 cat >>conftest.$ac_ext <<_ACEOF
57296 /* end confdefs.h. */
57297 #include <math.h>
57298 #ifdef HAVE_IEEEFP_H
57299 #include <ieeefp.h>
57300 #endif
57303 main ()
57305 _expf(0);
57307 return 0;
57309 _ACEOF
57310 rm -f conftest.$ac_objext
57311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57312 (eval $ac_compile) 2>conftest.er1
57313 ac_status=$?
57314 grep -v '^ *+' conftest.er1 >conftest.err
57315 rm -f conftest.er1
57316 cat conftest.err >&5
57317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57318 (exit $ac_status); } &&
57319 { ac_try='test -z "$ac_cxx_werror_flag"
57320 || test ! -s conftest.err'
57321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57322 (eval $ac_try) 2>&5
57323 ac_status=$?
57324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57325 (exit $ac_status); }; } &&
57326 { ac_try='test -s conftest.$ac_objext'
57327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57328 (eval $ac_try) 2>&5
57329 ac_status=$?
57330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57331 (exit $ac_status); }; }; then
57332 glibcxx_cv_func__expf_use=yes
57333 else
57334 echo "$as_me: failed program was:" >&5
57335 sed 's/^/| /' conftest.$ac_ext >&5
57337 glibcxx_cv_func__expf_use=no
57339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57340 ac_ext=c
57341 ac_cpp='$CPP $CPPFLAGS'
57342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57351 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57353 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57355 for ac_func in _expf
57357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57358 echo "$as_me:$LINENO: checking for $ac_func" >&5
57359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57360 if eval "test \"\${$as_ac_var+set}\" = set"; then
57361 echo $ECHO_N "(cached) $ECHO_C" >&6
57362 else
57363 if test x$gcc_no_link = xyes; then
57364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57366 { (exit 1); exit 1; }; }
57368 cat >conftest.$ac_ext <<_ACEOF
57369 /* confdefs.h. */
57370 _ACEOF
57371 cat confdefs.h >>conftest.$ac_ext
57372 cat >>conftest.$ac_ext <<_ACEOF
57373 /* end confdefs.h. */
57374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57376 #define $ac_func innocuous_$ac_func
57378 /* System header to define __stub macros and hopefully few prototypes,
57379 which can conflict with char $ac_func (); below.
57380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57381 <limits.h> exists even on freestanding compilers. */
57383 #ifdef __STDC__
57384 # include <limits.h>
57385 #else
57386 # include <assert.h>
57387 #endif
57389 #undef $ac_func
57391 /* Override any gcc2 internal prototype to avoid an error. */
57392 #ifdef __cplusplus
57393 extern "C"
57395 #endif
57396 /* We use char because int might match the return type of a gcc2
57397 builtin and then its argument prototype would still apply. */
57398 char $ac_func ();
57399 /* The GNU C library defines this for functions which it implements
57400 to always fail with ENOSYS. Some functions are actually named
57401 something starting with __ and the normal name is an alias. */
57402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57403 choke me
57404 #else
57405 char (*f) () = $ac_func;
57406 #endif
57407 #ifdef __cplusplus
57409 #endif
57412 main ()
57414 return f != $ac_func;
57416 return 0;
57418 _ACEOF
57419 rm -f conftest.$ac_objext conftest$ac_exeext
57420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57421 (eval $ac_link) 2>conftest.er1
57422 ac_status=$?
57423 grep -v '^ *+' conftest.er1 >conftest.err
57424 rm -f conftest.er1
57425 cat conftest.err >&5
57426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57427 (exit $ac_status); } &&
57428 { ac_try='test -z "$ac_c_werror_flag"
57429 || test ! -s conftest.err'
57430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57431 (eval $ac_try) 2>&5
57432 ac_status=$?
57433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57434 (exit $ac_status); }; } &&
57435 { ac_try='test -s conftest$ac_exeext'
57436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57437 (eval $ac_try) 2>&5
57438 ac_status=$?
57439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57440 (exit $ac_status); }; }; then
57441 eval "$as_ac_var=yes"
57442 else
57443 echo "$as_me: failed program was:" >&5
57444 sed 's/^/| /' conftest.$ac_ext >&5
57446 eval "$as_ac_var=no"
57448 rm -f conftest.err conftest.$ac_objext \
57449 conftest$ac_exeext conftest.$ac_ext
57451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57453 if test `eval echo '${'$as_ac_var'}'` = yes; then
57454 cat >>confdefs.h <<_ACEOF
57455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57456 _ACEOF
57459 done
57466 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57467 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57468 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57469 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57470 echo $ECHO_N "(cached) $ECHO_C" >&6
57471 else
57475 ac_ext=cc
57476 ac_cpp='$CXXCPP $CPPFLAGS'
57477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57481 cat >conftest.$ac_ext <<_ACEOF
57482 /* confdefs.h. */
57483 _ACEOF
57484 cat confdefs.h >>conftest.$ac_ext
57485 cat >>conftest.$ac_ext <<_ACEOF
57486 /* end confdefs.h. */
57487 #include <math.h>
57488 #ifdef HAVE_IEEEFP_H
57489 #include <ieeefp.h>
57490 #endif
57493 main ()
57495 isnanf(0);
57497 return 0;
57499 _ACEOF
57500 rm -f conftest.$ac_objext
57501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57502 (eval $ac_compile) 2>conftest.er1
57503 ac_status=$?
57504 grep -v '^ *+' conftest.er1 >conftest.err
57505 rm -f conftest.er1
57506 cat conftest.err >&5
57507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57508 (exit $ac_status); } &&
57509 { ac_try='test -z "$ac_cxx_werror_flag"
57510 || test ! -s conftest.err'
57511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57512 (eval $ac_try) 2>&5
57513 ac_status=$?
57514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57515 (exit $ac_status); }; } &&
57516 { ac_try='test -s conftest.$ac_objext'
57517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57518 (eval $ac_try) 2>&5
57519 ac_status=$?
57520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57521 (exit $ac_status); }; }; then
57522 glibcxx_cv_func_isnanf_use=yes
57523 else
57524 echo "$as_me: failed program was:" >&5
57525 sed 's/^/| /' conftest.$ac_ext >&5
57527 glibcxx_cv_func_isnanf_use=no
57529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57530 ac_ext=c
57531 ac_cpp='$CPP $CPPFLAGS'
57532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57540 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57541 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57543 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57545 for ac_func in isnanf
57547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57548 echo "$as_me:$LINENO: checking for $ac_func" >&5
57549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57550 if eval "test \"\${$as_ac_var+set}\" = set"; then
57551 echo $ECHO_N "(cached) $ECHO_C" >&6
57552 else
57553 if test x$gcc_no_link = xyes; then
57554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57556 { (exit 1); exit 1; }; }
57558 cat >conftest.$ac_ext <<_ACEOF
57559 /* confdefs.h. */
57560 _ACEOF
57561 cat confdefs.h >>conftest.$ac_ext
57562 cat >>conftest.$ac_ext <<_ACEOF
57563 /* end confdefs.h. */
57564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57566 #define $ac_func innocuous_$ac_func
57568 /* System header to define __stub macros and hopefully few prototypes,
57569 which can conflict with char $ac_func (); below.
57570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57571 <limits.h> exists even on freestanding compilers. */
57573 #ifdef __STDC__
57574 # include <limits.h>
57575 #else
57576 # include <assert.h>
57577 #endif
57579 #undef $ac_func
57581 /* Override any gcc2 internal prototype to avoid an error. */
57582 #ifdef __cplusplus
57583 extern "C"
57585 #endif
57586 /* We use char because int might match the return type of a gcc2
57587 builtin and then its argument prototype would still apply. */
57588 char $ac_func ();
57589 /* The GNU C library defines this for functions which it implements
57590 to always fail with ENOSYS. Some functions are actually named
57591 something starting with __ and the normal name is an alias. */
57592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57593 choke me
57594 #else
57595 char (*f) () = $ac_func;
57596 #endif
57597 #ifdef __cplusplus
57599 #endif
57602 main ()
57604 return f != $ac_func;
57606 return 0;
57608 _ACEOF
57609 rm -f conftest.$ac_objext conftest$ac_exeext
57610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57611 (eval $ac_link) 2>conftest.er1
57612 ac_status=$?
57613 grep -v '^ *+' conftest.er1 >conftest.err
57614 rm -f conftest.er1
57615 cat conftest.err >&5
57616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57617 (exit $ac_status); } &&
57618 { ac_try='test -z "$ac_c_werror_flag"
57619 || test ! -s conftest.err'
57620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57621 (eval $ac_try) 2>&5
57622 ac_status=$?
57623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57624 (exit $ac_status); }; } &&
57625 { ac_try='test -s conftest$ac_exeext'
57626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57627 (eval $ac_try) 2>&5
57628 ac_status=$?
57629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57630 (exit $ac_status); }; }; then
57631 eval "$as_ac_var=yes"
57632 else
57633 echo "$as_me: failed program was:" >&5
57634 sed 's/^/| /' conftest.$ac_ext >&5
57636 eval "$as_ac_var=no"
57638 rm -f conftest.err conftest.$ac_objext \
57639 conftest$ac_exeext conftest.$ac_ext
57641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57643 if test `eval echo '${'$as_ac_var'}'` = yes; then
57644 cat >>confdefs.h <<_ACEOF
57645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57646 _ACEOF
57649 done
57651 else
57653 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57654 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57655 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57656 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57657 echo $ECHO_N "(cached) $ECHO_C" >&6
57658 else
57662 ac_ext=cc
57663 ac_cpp='$CXXCPP $CPPFLAGS'
57664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57668 cat >conftest.$ac_ext <<_ACEOF
57669 /* confdefs.h. */
57670 _ACEOF
57671 cat confdefs.h >>conftest.$ac_ext
57672 cat >>conftest.$ac_ext <<_ACEOF
57673 /* end confdefs.h. */
57674 #include <math.h>
57675 #ifdef HAVE_IEEEFP_H
57676 #include <ieeefp.h>
57677 #endif
57680 main ()
57682 _isnanf(0);
57684 return 0;
57686 _ACEOF
57687 rm -f conftest.$ac_objext
57688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57689 (eval $ac_compile) 2>conftest.er1
57690 ac_status=$?
57691 grep -v '^ *+' conftest.er1 >conftest.err
57692 rm -f conftest.er1
57693 cat conftest.err >&5
57694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57695 (exit $ac_status); } &&
57696 { ac_try='test -z "$ac_cxx_werror_flag"
57697 || test ! -s conftest.err'
57698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57699 (eval $ac_try) 2>&5
57700 ac_status=$?
57701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57702 (exit $ac_status); }; } &&
57703 { ac_try='test -s conftest.$ac_objext'
57704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57705 (eval $ac_try) 2>&5
57706 ac_status=$?
57707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57708 (exit $ac_status); }; }; then
57709 glibcxx_cv_func__isnanf_use=yes
57710 else
57711 echo "$as_me: failed program was:" >&5
57712 sed 's/^/| /' conftest.$ac_ext >&5
57714 glibcxx_cv_func__isnanf_use=no
57716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57717 ac_ext=c
57718 ac_cpp='$CPP $CPPFLAGS'
57719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57727 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57728 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57730 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57732 for ac_func in _isnanf
57734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57735 echo "$as_me:$LINENO: checking for $ac_func" >&5
57736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57737 if eval "test \"\${$as_ac_var+set}\" = set"; then
57738 echo $ECHO_N "(cached) $ECHO_C" >&6
57739 else
57740 if test x$gcc_no_link = xyes; then
57741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57743 { (exit 1); exit 1; }; }
57745 cat >conftest.$ac_ext <<_ACEOF
57746 /* confdefs.h. */
57747 _ACEOF
57748 cat confdefs.h >>conftest.$ac_ext
57749 cat >>conftest.$ac_ext <<_ACEOF
57750 /* end confdefs.h. */
57751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57753 #define $ac_func innocuous_$ac_func
57755 /* System header to define __stub macros and hopefully few prototypes,
57756 which can conflict with char $ac_func (); below.
57757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57758 <limits.h> exists even on freestanding compilers. */
57760 #ifdef __STDC__
57761 # include <limits.h>
57762 #else
57763 # include <assert.h>
57764 #endif
57766 #undef $ac_func
57768 /* Override any gcc2 internal prototype to avoid an error. */
57769 #ifdef __cplusplus
57770 extern "C"
57772 #endif
57773 /* We use char because int might match the return type of a gcc2
57774 builtin and then its argument prototype would still apply. */
57775 char $ac_func ();
57776 /* The GNU C library defines this for functions which it implements
57777 to always fail with ENOSYS. Some functions are actually named
57778 something starting with __ and the normal name is an alias. */
57779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57780 choke me
57781 #else
57782 char (*f) () = $ac_func;
57783 #endif
57784 #ifdef __cplusplus
57786 #endif
57789 main ()
57791 return f != $ac_func;
57793 return 0;
57795 _ACEOF
57796 rm -f conftest.$ac_objext conftest$ac_exeext
57797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57798 (eval $ac_link) 2>conftest.er1
57799 ac_status=$?
57800 grep -v '^ *+' conftest.er1 >conftest.err
57801 rm -f conftest.er1
57802 cat conftest.err >&5
57803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57804 (exit $ac_status); } &&
57805 { ac_try='test -z "$ac_c_werror_flag"
57806 || test ! -s conftest.err'
57807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57808 (eval $ac_try) 2>&5
57809 ac_status=$?
57810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57811 (exit $ac_status); }; } &&
57812 { ac_try='test -s conftest$ac_exeext'
57813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57814 (eval $ac_try) 2>&5
57815 ac_status=$?
57816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57817 (exit $ac_status); }; }; then
57818 eval "$as_ac_var=yes"
57819 else
57820 echo "$as_me: failed program was:" >&5
57821 sed 's/^/| /' conftest.$ac_ext >&5
57823 eval "$as_ac_var=no"
57825 rm -f conftest.err conftest.$ac_objext \
57826 conftest$ac_exeext conftest.$ac_ext
57828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57830 if test `eval echo '${'$as_ac_var'}'` = yes; then
57831 cat >>confdefs.h <<_ACEOF
57832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57833 _ACEOF
57836 done
57843 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57844 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57845 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57846 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57847 echo $ECHO_N "(cached) $ECHO_C" >&6
57848 else
57852 ac_ext=cc
57853 ac_cpp='$CXXCPP $CPPFLAGS'
57854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57858 cat >conftest.$ac_ext <<_ACEOF
57859 /* confdefs.h. */
57860 _ACEOF
57861 cat confdefs.h >>conftest.$ac_ext
57862 cat >>conftest.$ac_ext <<_ACEOF
57863 /* end confdefs.h. */
57864 #include <math.h>
57865 #ifdef HAVE_IEEEFP_H
57866 #include <ieeefp.h>
57867 #endif
57870 main ()
57872 isinff(0);
57874 return 0;
57876 _ACEOF
57877 rm -f conftest.$ac_objext
57878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57879 (eval $ac_compile) 2>conftest.er1
57880 ac_status=$?
57881 grep -v '^ *+' conftest.er1 >conftest.err
57882 rm -f conftest.er1
57883 cat conftest.err >&5
57884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57885 (exit $ac_status); } &&
57886 { ac_try='test -z "$ac_cxx_werror_flag"
57887 || test ! -s conftest.err'
57888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57889 (eval $ac_try) 2>&5
57890 ac_status=$?
57891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57892 (exit $ac_status); }; } &&
57893 { ac_try='test -s conftest.$ac_objext'
57894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57895 (eval $ac_try) 2>&5
57896 ac_status=$?
57897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57898 (exit $ac_status); }; }; then
57899 glibcxx_cv_func_isinff_use=yes
57900 else
57901 echo "$as_me: failed program was:" >&5
57902 sed 's/^/| /' conftest.$ac_ext >&5
57904 glibcxx_cv_func_isinff_use=no
57906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57907 ac_ext=c
57908 ac_cpp='$CPP $CPPFLAGS'
57909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57917 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57918 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57920 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57922 for ac_func in isinff
57924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57925 echo "$as_me:$LINENO: checking for $ac_func" >&5
57926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57927 if eval "test \"\${$as_ac_var+set}\" = set"; then
57928 echo $ECHO_N "(cached) $ECHO_C" >&6
57929 else
57930 if test x$gcc_no_link = xyes; then
57931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57933 { (exit 1); exit 1; }; }
57935 cat >conftest.$ac_ext <<_ACEOF
57936 /* confdefs.h. */
57937 _ACEOF
57938 cat confdefs.h >>conftest.$ac_ext
57939 cat >>conftest.$ac_ext <<_ACEOF
57940 /* end confdefs.h. */
57941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57943 #define $ac_func innocuous_$ac_func
57945 /* System header to define __stub macros and hopefully few prototypes,
57946 which can conflict with char $ac_func (); below.
57947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57948 <limits.h> exists even on freestanding compilers. */
57950 #ifdef __STDC__
57951 # include <limits.h>
57952 #else
57953 # include <assert.h>
57954 #endif
57956 #undef $ac_func
57958 /* Override any gcc2 internal prototype to avoid an error. */
57959 #ifdef __cplusplus
57960 extern "C"
57962 #endif
57963 /* We use char because int might match the return type of a gcc2
57964 builtin and then its argument prototype would still apply. */
57965 char $ac_func ();
57966 /* The GNU C library defines this for functions which it implements
57967 to always fail with ENOSYS. Some functions are actually named
57968 something starting with __ and the normal name is an alias. */
57969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57970 choke me
57971 #else
57972 char (*f) () = $ac_func;
57973 #endif
57974 #ifdef __cplusplus
57976 #endif
57979 main ()
57981 return f != $ac_func;
57983 return 0;
57985 _ACEOF
57986 rm -f conftest.$ac_objext conftest$ac_exeext
57987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57988 (eval $ac_link) 2>conftest.er1
57989 ac_status=$?
57990 grep -v '^ *+' conftest.er1 >conftest.err
57991 rm -f conftest.er1
57992 cat conftest.err >&5
57993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57994 (exit $ac_status); } &&
57995 { ac_try='test -z "$ac_c_werror_flag"
57996 || test ! -s conftest.err'
57997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57998 (eval $ac_try) 2>&5
57999 ac_status=$?
58000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58001 (exit $ac_status); }; } &&
58002 { ac_try='test -s conftest$ac_exeext'
58003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58004 (eval $ac_try) 2>&5
58005 ac_status=$?
58006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58007 (exit $ac_status); }; }; then
58008 eval "$as_ac_var=yes"
58009 else
58010 echo "$as_me: failed program was:" >&5
58011 sed 's/^/| /' conftest.$ac_ext >&5
58013 eval "$as_ac_var=no"
58015 rm -f conftest.err conftest.$ac_objext \
58016 conftest$ac_exeext conftest.$ac_ext
58018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58020 if test `eval echo '${'$as_ac_var'}'` = yes; then
58021 cat >>confdefs.h <<_ACEOF
58022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58023 _ACEOF
58026 done
58028 else
58030 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
58031 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
58032 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58033 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
58034 echo $ECHO_N "(cached) $ECHO_C" >&6
58035 else
58039 ac_ext=cc
58040 ac_cpp='$CXXCPP $CPPFLAGS'
58041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58045 cat >conftest.$ac_ext <<_ACEOF
58046 /* confdefs.h. */
58047 _ACEOF
58048 cat confdefs.h >>conftest.$ac_ext
58049 cat >>conftest.$ac_ext <<_ACEOF
58050 /* end confdefs.h. */
58051 #include <math.h>
58052 #ifdef HAVE_IEEEFP_H
58053 #include <ieeefp.h>
58054 #endif
58057 main ()
58059 _isinff(0);
58061 return 0;
58063 _ACEOF
58064 rm -f conftest.$ac_objext
58065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58066 (eval $ac_compile) 2>conftest.er1
58067 ac_status=$?
58068 grep -v '^ *+' conftest.er1 >conftest.err
58069 rm -f conftest.er1
58070 cat conftest.err >&5
58071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58072 (exit $ac_status); } &&
58073 { ac_try='test -z "$ac_cxx_werror_flag"
58074 || test ! -s conftest.err'
58075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58076 (eval $ac_try) 2>&5
58077 ac_status=$?
58078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58079 (exit $ac_status); }; } &&
58080 { ac_try='test -s conftest.$ac_objext'
58081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58082 (eval $ac_try) 2>&5
58083 ac_status=$?
58084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58085 (exit $ac_status); }; }; then
58086 glibcxx_cv_func__isinff_use=yes
58087 else
58088 echo "$as_me: failed program was:" >&5
58089 sed 's/^/| /' conftest.$ac_ext >&5
58091 glibcxx_cv_func__isinff_use=no
58093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58094 ac_ext=c
58095 ac_cpp='$CPP $CPPFLAGS'
58096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58104 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58105 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58107 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58109 for ac_func in _isinff
58111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58112 echo "$as_me:$LINENO: checking for $ac_func" >&5
58113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58114 if eval "test \"\${$as_ac_var+set}\" = set"; then
58115 echo $ECHO_N "(cached) $ECHO_C" >&6
58116 else
58117 if test x$gcc_no_link = xyes; then
58118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58120 { (exit 1); exit 1; }; }
58122 cat >conftest.$ac_ext <<_ACEOF
58123 /* confdefs.h. */
58124 _ACEOF
58125 cat confdefs.h >>conftest.$ac_ext
58126 cat >>conftest.$ac_ext <<_ACEOF
58127 /* end confdefs.h. */
58128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58130 #define $ac_func innocuous_$ac_func
58132 /* System header to define __stub macros and hopefully few prototypes,
58133 which can conflict with char $ac_func (); below.
58134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58135 <limits.h> exists even on freestanding compilers. */
58137 #ifdef __STDC__
58138 # include <limits.h>
58139 #else
58140 # include <assert.h>
58141 #endif
58143 #undef $ac_func
58145 /* Override any gcc2 internal prototype to avoid an error. */
58146 #ifdef __cplusplus
58147 extern "C"
58149 #endif
58150 /* We use char because int might match the return type of a gcc2
58151 builtin and then its argument prototype would still apply. */
58152 char $ac_func ();
58153 /* The GNU C library defines this for functions which it implements
58154 to always fail with ENOSYS. Some functions are actually named
58155 something starting with __ and the normal name is an alias. */
58156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58157 choke me
58158 #else
58159 char (*f) () = $ac_func;
58160 #endif
58161 #ifdef __cplusplus
58163 #endif
58166 main ()
58168 return f != $ac_func;
58170 return 0;
58172 _ACEOF
58173 rm -f conftest.$ac_objext conftest$ac_exeext
58174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58175 (eval $ac_link) 2>conftest.er1
58176 ac_status=$?
58177 grep -v '^ *+' conftest.er1 >conftest.err
58178 rm -f conftest.er1
58179 cat conftest.err >&5
58180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58181 (exit $ac_status); } &&
58182 { ac_try='test -z "$ac_c_werror_flag"
58183 || test ! -s conftest.err'
58184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58185 (eval $ac_try) 2>&5
58186 ac_status=$?
58187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58188 (exit $ac_status); }; } &&
58189 { ac_try='test -s conftest$ac_exeext'
58190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58191 (eval $ac_try) 2>&5
58192 ac_status=$?
58193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58194 (exit $ac_status); }; }; then
58195 eval "$as_ac_var=yes"
58196 else
58197 echo "$as_me: failed program was:" >&5
58198 sed 's/^/| /' conftest.$ac_ext >&5
58200 eval "$as_ac_var=no"
58202 rm -f conftest.err conftest.$ac_objext \
58203 conftest$ac_exeext conftest.$ac_ext
58205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58207 if test `eval echo '${'$as_ac_var'}'` = yes; then
58208 cat >>confdefs.h <<_ACEOF
58209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58210 _ACEOF
58213 done
58220 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58221 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58222 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58223 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58224 echo $ECHO_N "(cached) $ECHO_C" >&6
58225 else
58229 ac_ext=cc
58230 ac_cpp='$CXXCPP $CPPFLAGS'
58231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58235 cat >conftest.$ac_ext <<_ACEOF
58236 /* confdefs.h. */
58237 _ACEOF
58238 cat confdefs.h >>conftest.$ac_ext
58239 cat >>conftest.$ac_ext <<_ACEOF
58240 /* end confdefs.h. */
58241 #include <math.h>
58243 main ()
58245 atan2f(0, 0);
58247 return 0;
58249 _ACEOF
58250 rm -f conftest.$ac_objext
58251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58252 (eval $ac_compile) 2>conftest.er1
58253 ac_status=$?
58254 grep -v '^ *+' conftest.er1 >conftest.err
58255 rm -f conftest.er1
58256 cat conftest.err >&5
58257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58258 (exit $ac_status); } &&
58259 { ac_try='test -z "$ac_cxx_werror_flag"
58260 || test ! -s conftest.err'
58261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58262 (eval $ac_try) 2>&5
58263 ac_status=$?
58264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58265 (exit $ac_status); }; } &&
58266 { ac_try='test -s conftest.$ac_objext'
58267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58268 (eval $ac_try) 2>&5
58269 ac_status=$?
58270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58271 (exit $ac_status); }; }; then
58272 glibcxx_cv_func_atan2f_use=yes
58273 else
58274 echo "$as_me: failed program was:" >&5
58275 sed 's/^/| /' conftest.$ac_ext >&5
58277 glibcxx_cv_func_atan2f_use=no
58279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58280 ac_ext=c
58281 ac_cpp='$CPP $CPPFLAGS'
58282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58291 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58293 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58295 for ac_func in atan2f
58297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58298 echo "$as_me:$LINENO: checking for $ac_func" >&5
58299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58300 if eval "test \"\${$as_ac_var+set}\" = set"; then
58301 echo $ECHO_N "(cached) $ECHO_C" >&6
58302 else
58303 if test x$gcc_no_link = xyes; then
58304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58306 { (exit 1); exit 1; }; }
58308 cat >conftest.$ac_ext <<_ACEOF
58309 /* confdefs.h. */
58310 _ACEOF
58311 cat confdefs.h >>conftest.$ac_ext
58312 cat >>conftest.$ac_ext <<_ACEOF
58313 /* end confdefs.h. */
58314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58316 #define $ac_func innocuous_$ac_func
58318 /* System header to define __stub macros and hopefully few prototypes,
58319 which can conflict with char $ac_func (); below.
58320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58321 <limits.h> exists even on freestanding compilers. */
58323 #ifdef __STDC__
58324 # include <limits.h>
58325 #else
58326 # include <assert.h>
58327 #endif
58329 #undef $ac_func
58331 /* Override any gcc2 internal prototype to avoid an error. */
58332 #ifdef __cplusplus
58333 extern "C"
58335 #endif
58336 /* We use char because int might match the return type of a gcc2
58337 builtin and then its argument prototype would still apply. */
58338 char $ac_func ();
58339 /* The GNU C library defines this for functions which it implements
58340 to always fail with ENOSYS. Some functions are actually named
58341 something starting with __ and the normal name is an alias. */
58342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58343 choke me
58344 #else
58345 char (*f) () = $ac_func;
58346 #endif
58347 #ifdef __cplusplus
58349 #endif
58352 main ()
58354 return f != $ac_func;
58356 return 0;
58358 _ACEOF
58359 rm -f conftest.$ac_objext conftest$ac_exeext
58360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58361 (eval $ac_link) 2>conftest.er1
58362 ac_status=$?
58363 grep -v '^ *+' conftest.er1 >conftest.err
58364 rm -f conftest.er1
58365 cat conftest.err >&5
58366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58367 (exit $ac_status); } &&
58368 { ac_try='test -z "$ac_c_werror_flag"
58369 || test ! -s conftest.err'
58370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58371 (eval $ac_try) 2>&5
58372 ac_status=$?
58373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58374 (exit $ac_status); }; } &&
58375 { ac_try='test -s conftest$ac_exeext'
58376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58377 (eval $ac_try) 2>&5
58378 ac_status=$?
58379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58380 (exit $ac_status); }; }; then
58381 eval "$as_ac_var=yes"
58382 else
58383 echo "$as_me: failed program was:" >&5
58384 sed 's/^/| /' conftest.$ac_ext >&5
58386 eval "$as_ac_var=no"
58388 rm -f conftest.err conftest.$ac_objext \
58389 conftest$ac_exeext conftest.$ac_ext
58391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58393 if test `eval echo '${'$as_ac_var'}'` = yes; then
58394 cat >>confdefs.h <<_ACEOF
58395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58396 _ACEOF
58399 done
58401 else
58403 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58404 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58405 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58406 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58407 echo $ECHO_N "(cached) $ECHO_C" >&6
58408 else
58412 ac_ext=cc
58413 ac_cpp='$CXXCPP $CPPFLAGS'
58414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58418 cat >conftest.$ac_ext <<_ACEOF
58419 /* confdefs.h. */
58420 _ACEOF
58421 cat confdefs.h >>conftest.$ac_ext
58422 cat >>conftest.$ac_ext <<_ACEOF
58423 /* end confdefs.h. */
58424 #include <math.h>
58426 main ()
58428 _atan2f(0, 0);
58430 return 0;
58432 _ACEOF
58433 rm -f conftest.$ac_objext
58434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58435 (eval $ac_compile) 2>conftest.er1
58436 ac_status=$?
58437 grep -v '^ *+' conftest.er1 >conftest.err
58438 rm -f conftest.er1
58439 cat conftest.err >&5
58440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58441 (exit $ac_status); } &&
58442 { ac_try='test -z "$ac_cxx_werror_flag"
58443 || test ! -s conftest.err'
58444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58445 (eval $ac_try) 2>&5
58446 ac_status=$?
58447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58448 (exit $ac_status); }; } &&
58449 { ac_try='test -s conftest.$ac_objext'
58450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58451 (eval $ac_try) 2>&5
58452 ac_status=$?
58453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58454 (exit $ac_status); }; }; then
58455 glibcxx_cv_func__atan2f_use=yes
58456 else
58457 echo "$as_me: failed program was:" >&5
58458 sed 's/^/| /' conftest.$ac_ext >&5
58460 glibcxx_cv_func__atan2f_use=no
58462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58463 ac_ext=c
58464 ac_cpp='$CPP $CPPFLAGS'
58465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58473 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58474 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58476 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58478 for ac_func in _atan2f
58480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58481 echo "$as_me:$LINENO: checking for $ac_func" >&5
58482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58483 if eval "test \"\${$as_ac_var+set}\" = set"; then
58484 echo $ECHO_N "(cached) $ECHO_C" >&6
58485 else
58486 if test x$gcc_no_link = xyes; then
58487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58489 { (exit 1); exit 1; }; }
58491 cat >conftest.$ac_ext <<_ACEOF
58492 /* confdefs.h. */
58493 _ACEOF
58494 cat confdefs.h >>conftest.$ac_ext
58495 cat >>conftest.$ac_ext <<_ACEOF
58496 /* end confdefs.h. */
58497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58499 #define $ac_func innocuous_$ac_func
58501 /* System header to define __stub macros and hopefully few prototypes,
58502 which can conflict with char $ac_func (); below.
58503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58504 <limits.h> exists even on freestanding compilers. */
58506 #ifdef __STDC__
58507 # include <limits.h>
58508 #else
58509 # include <assert.h>
58510 #endif
58512 #undef $ac_func
58514 /* Override any gcc2 internal prototype to avoid an error. */
58515 #ifdef __cplusplus
58516 extern "C"
58518 #endif
58519 /* We use char because int might match the return type of a gcc2
58520 builtin and then its argument prototype would still apply. */
58521 char $ac_func ();
58522 /* The GNU C library defines this for functions which it implements
58523 to always fail with ENOSYS. Some functions are actually named
58524 something starting with __ and the normal name is an alias. */
58525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58526 choke me
58527 #else
58528 char (*f) () = $ac_func;
58529 #endif
58530 #ifdef __cplusplus
58532 #endif
58535 main ()
58537 return f != $ac_func;
58539 return 0;
58541 _ACEOF
58542 rm -f conftest.$ac_objext conftest$ac_exeext
58543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58544 (eval $ac_link) 2>conftest.er1
58545 ac_status=$?
58546 grep -v '^ *+' conftest.er1 >conftest.err
58547 rm -f conftest.er1
58548 cat conftest.err >&5
58549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58550 (exit $ac_status); } &&
58551 { ac_try='test -z "$ac_c_werror_flag"
58552 || test ! -s conftest.err'
58553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58554 (eval $ac_try) 2>&5
58555 ac_status=$?
58556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58557 (exit $ac_status); }; } &&
58558 { ac_try='test -s conftest$ac_exeext'
58559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58560 (eval $ac_try) 2>&5
58561 ac_status=$?
58562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58563 (exit $ac_status); }; }; then
58564 eval "$as_ac_var=yes"
58565 else
58566 echo "$as_me: failed program was:" >&5
58567 sed 's/^/| /' conftest.$ac_ext >&5
58569 eval "$as_ac_var=no"
58571 rm -f conftest.err conftest.$ac_objext \
58572 conftest$ac_exeext conftest.$ac_ext
58574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58576 if test `eval echo '${'$as_ac_var'}'` = yes; then
58577 cat >>confdefs.h <<_ACEOF
58578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58579 _ACEOF
58582 done
58589 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58590 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58591 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58592 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58593 echo $ECHO_N "(cached) $ECHO_C" >&6
58594 else
58598 ac_ext=cc
58599 ac_cpp='$CXXCPP $CPPFLAGS'
58600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58604 cat >conftest.$ac_ext <<_ACEOF
58605 /* confdefs.h. */
58606 _ACEOF
58607 cat confdefs.h >>conftest.$ac_ext
58608 cat >>conftest.$ac_ext <<_ACEOF
58609 /* end confdefs.h. */
58610 #include <math.h>
58611 #ifdef HAVE_IEEEFP_H
58612 #include <ieeefp.h>
58613 #endif
58616 main ()
58618 fabsf(0);
58620 return 0;
58622 _ACEOF
58623 rm -f conftest.$ac_objext
58624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58625 (eval $ac_compile) 2>conftest.er1
58626 ac_status=$?
58627 grep -v '^ *+' conftest.er1 >conftest.err
58628 rm -f conftest.er1
58629 cat conftest.err >&5
58630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58631 (exit $ac_status); } &&
58632 { ac_try='test -z "$ac_cxx_werror_flag"
58633 || test ! -s conftest.err'
58634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58635 (eval $ac_try) 2>&5
58636 ac_status=$?
58637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58638 (exit $ac_status); }; } &&
58639 { ac_try='test -s conftest.$ac_objext'
58640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58641 (eval $ac_try) 2>&5
58642 ac_status=$?
58643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58644 (exit $ac_status); }; }; then
58645 glibcxx_cv_func_fabsf_use=yes
58646 else
58647 echo "$as_me: failed program was:" >&5
58648 sed 's/^/| /' conftest.$ac_ext >&5
58650 glibcxx_cv_func_fabsf_use=no
58652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58653 ac_ext=c
58654 ac_cpp='$CPP $CPPFLAGS'
58655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58663 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58664 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58666 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58668 for ac_func in fabsf
58670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58671 echo "$as_me:$LINENO: checking for $ac_func" >&5
58672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58673 if eval "test \"\${$as_ac_var+set}\" = set"; then
58674 echo $ECHO_N "(cached) $ECHO_C" >&6
58675 else
58676 if test x$gcc_no_link = xyes; then
58677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58679 { (exit 1); exit 1; }; }
58681 cat >conftest.$ac_ext <<_ACEOF
58682 /* confdefs.h. */
58683 _ACEOF
58684 cat confdefs.h >>conftest.$ac_ext
58685 cat >>conftest.$ac_ext <<_ACEOF
58686 /* end confdefs.h. */
58687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58689 #define $ac_func innocuous_$ac_func
58691 /* System header to define __stub macros and hopefully few prototypes,
58692 which can conflict with char $ac_func (); below.
58693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58694 <limits.h> exists even on freestanding compilers. */
58696 #ifdef __STDC__
58697 # include <limits.h>
58698 #else
58699 # include <assert.h>
58700 #endif
58702 #undef $ac_func
58704 /* Override any gcc2 internal prototype to avoid an error. */
58705 #ifdef __cplusplus
58706 extern "C"
58708 #endif
58709 /* We use char because int might match the return type of a gcc2
58710 builtin and then its argument prototype would still apply. */
58711 char $ac_func ();
58712 /* The GNU C library defines this for functions which it implements
58713 to always fail with ENOSYS. Some functions are actually named
58714 something starting with __ and the normal name is an alias. */
58715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58716 choke me
58717 #else
58718 char (*f) () = $ac_func;
58719 #endif
58720 #ifdef __cplusplus
58722 #endif
58725 main ()
58727 return f != $ac_func;
58729 return 0;
58731 _ACEOF
58732 rm -f conftest.$ac_objext conftest$ac_exeext
58733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58734 (eval $ac_link) 2>conftest.er1
58735 ac_status=$?
58736 grep -v '^ *+' conftest.er1 >conftest.err
58737 rm -f conftest.er1
58738 cat conftest.err >&5
58739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58740 (exit $ac_status); } &&
58741 { ac_try='test -z "$ac_c_werror_flag"
58742 || test ! -s conftest.err'
58743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58744 (eval $ac_try) 2>&5
58745 ac_status=$?
58746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58747 (exit $ac_status); }; } &&
58748 { ac_try='test -s conftest$ac_exeext'
58749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58750 (eval $ac_try) 2>&5
58751 ac_status=$?
58752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58753 (exit $ac_status); }; }; then
58754 eval "$as_ac_var=yes"
58755 else
58756 echo "$as_me: failed program was:" >&5
58757 sed 's/^/| /' conftest.$ac_ext >&5
58759 eval "$as_ac_var=no"
58761 rm -f conftest.err conftest.$ac_objext \
58762 conftest$ac_exeext conftest.$ac_ext
58764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58766 if test `eval echo '${'$as_ac_var'}'` = yes; then
58767 cat >>confdefs.h <<_ACEOF
58768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58769 _ACEOF
58772 done
58774 else
58776 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58777 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58778 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58779 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58780 echo $ECHO_N "(cached) $ECHO_C" >&6
58781 else
58785 ac_ext=cc
58786 ac_cpp='$CXXCPP $CPPFLAGS'
58787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58791 cat >conftest.$ac_ext <<_ACEOF
58792 /* confdefs.h. */
58793 _ACEOF
58794 cat confdefs.h >>conftest.$ac_ext
58795 cat >>conftest.$ac_ext <<_ACEOF
58796 /* end confdefs.h. */
58797 #include <math.h>
58798 #ifdef HAVE_IEEEFP_H
58799 #include <ieeefp.h>
58800 #endif
58803 main ()
58805 _fabsf(0);
58807 return 0;
58809 _ACEOF
58810 rm -f conftest.$ac_objext
58811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58812 (eval $ac_compile) 2>conftest.er1
58813 ac_status=$?
58814 grep -v '^ *+' conftest.er1 >conftest.err
58815 rm -f conftest.er1
58816 cat conftest.err >&5
58817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58818 (exit $ac_status); } &&
58819 { ac_try='test -z "$ac_cxx_werror_flag"
58820 || test ! -s conftest.err'
58821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58822 (eval $ac_try) 2>&5
58823 ac_status=$?
58824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58825 (exit $ac_status); }; } &&
58826 { ac_try='test -s conftest.$ac_objext'
58827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58828 (eval $ac_try) 2>&5
58829 ac_status=$?
58830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58831 (exit $ac_status); }; }; then
58832 glibcxx_cv_func__fabsf_use=yes
58833 else
58834 echo "$as_me: failed program was:" >&5
58835 sed 's/^/| /' conftest.$ac_ext >&5
58837 glibcxx_cv_func__fabsf_use=no
58839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58840 ac_ext=c
58841 ac_cpp='$CPP $CPPFLAGS'
58842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58850 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58851 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58853 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58855 for ac_func in _fabsf
58857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58858 echo "$as_me:$LINENO: checking for $ac_func" >&5
58859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58860 if eval "test \"\${$as_ac_var+set}\" = set"; then
58861 echo $ECHO_N "(cached) $ECHO_C" >&6
58862 else
58863 if test x$gcc_no_link = xyes; then
58864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58866 { (exit 1); exit 1; }; }
58868 cat >conftest.$ac_ext <<_ACEOF
58869 /* confdefs.h. */
58870 _ACEOF
58871 cat confdefs.h >>conftest.$ac_ext
58872 cat >>conftest.$ac_ext <<_ACEOF
58873 /* end confdefs.h. */
58874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58876 #define $ac_func innocuous_$ac_func
58878 /* System header to define __stub macros and hopefully few prototypes,
58879 which can conflict with char $ac_func (); below.
58880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58881 <limits.h> exists even on freestanding compilers. */
58883 #ifdef __STDC__
58884 # include <limits.h>
58885 #else
58886 # include <assert.h>
58887 #endif
58889 #undef $ac_func
58891 /* Override any gcc2 internal prototype to avoid an error. */
58892 #ifdef __cplusplus
58893 extern "C"
58895 #endif
58896 /* We use char because int might match the return type of a gcc2
58897 builtin and then its argument prototype would still apply. */
58898 char $ac_func ();
58899 /* The GNU C library defines this for functions which it implements
58900 to always fail with ENOSYS. Some functions are actually named
58901 something starting with __ and the normal name is an alias. */
58902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58903 choke me
58904 #else
58905 char (*f) () = $ac_func;
58906 #endif
58907 #ifdef __cplusplus
58909 #endif
58912 main ()
58914 return f != $ac_func;
58916 return 0;
58918 _ACEOF
58919 rm -f conftest.$ac_objext conftest$ac_exeext
58920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58921 (eval $ac_link) 2>conftest.er1
58922 ac_status=$?
58923 grep -v '^ *+' conftest.er1 >conftest.err
58924 rm -f conftest.er1
58925 cat conftest.err >&5
58926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58927 (exit $ac_status); } &&
58928 { ac_try='test -z "$ac_c_werror_flag"
58929 || test ! -s conftest.err'
58930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58931 (eval $ac_try) 2>&5
58932 ac_status=$?
58933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58934 (exit $ac_status); }; } &&
58935 { ac_try='test -s conftest$ac_exeext'
58936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58937 (eval $ac_try) 2>&5
58938 ac_status=$?
58939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58940 (exit $ac_status); }; }; then
58941 eval "$as_ac_var=yes"
58942 else
58943 echo "$as_me: failed program was:" >&5
58944 sed 's/^/| /' conftest.$ac_ext >&5
58946 eval "$as_ac_var=no"
58948 rm -f conftest.err conftest.$ac_objext \
58949 conftest$ac_exeext conftest.$ac_ext
58951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58953 if test `eval echo '${'$as_ac_var'}'` = yes; then
58954 cat >>confdefs.h <<_ACEOF
58955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58956 _ACEOF
58959 done
58966 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58967 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58968 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58969 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58970 echo $ECHO_N "(cached) $ECHO_C" >&6
58971 else
58975 ac_ext=cc
58976 ac_cpp='$CXXCPP $CPPFLAGS'
58977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58981 cat >conftest.$ac_ext <<_ACEOF
58982 /* confdefs.h. */
58983 _ACEOF
58984 cat confdefs.h >>conftest.$ac_ext
58985 cat >>conftest.$ac_ext <<_ACEOF
58986 /* end confdefs.h. */
58987 #include <math.h>
58989 main ()
58991 fmodf(0, 0);
58993 return 0;
58995 _ACEOF
58996 rm -f conftest.$ac_objext
58997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58998 (eval $ac_compile) 2>conftest.er1
58999 ac_status=$?
59000 grep -v '^ *+' conftest.er1 >conftest.err
59001 rm -f conftest.er1
59002 cat conftest.err >&5
59003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59004 (exit $ac_status); } &&
59005 { ac_try='test -z "$ac_cxx_werror_flag"
59006 || test ! -s conftest.err'
59007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59008 (eval $ac_try) 2>&5
59009 ac_status=$?
59010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59011 (exit $ac_status); }; } &&
59012 { ac_try='test -s conftest.$ac_objext'
59013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59014 (eval $ac_try) 2>&5
59015 ac_status=$?
59016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59017 (exit $ac_status); }; }; then
59018 glibcxx_cv_func_fmodf_use=yes
59019 else
59020 echo "$as_me: failed program was:" >&5
59021 sed 's/^/| /' conftest.$ac_ext >&5
59023 glibcxx_cv_func_fmodf_use=no
59025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59026 ac_ext=c
59027 ac_cpp='$CPP $CPPFLAGS'
59028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59036 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
59037 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
59039 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59041 for ac_func in fmodf
59043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59044 echo "$as_me:$LINENO: checking for $ac_func" >&5
59045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59046 if eval "test \"\${$as_ac_var+set}\" = set"; then
59047 echo $ECHO_N "(cached) $ECHO_C" >&6
59048 else
59049 if test x$gcc_no_link = xyes; then
59050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59052 { (exit 1); exit 1; }; }
59054 cat >conftest.$ac_ext <<_ACEOF
59055 /* confdefs.h. */
59056 _ACEOF
59057 cat confdefs.h >>conftest.$ac_ext
59058 cat >>conftest.$ac_ext <<_ACEOF
59059 /* end confdefs.h. */
59060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59062 #define $ac_func innocuous_$ac_func
59064 /* System header to define __stub macros and hopefully few prototypes,
59065 which can conflict with char $ac_func (); below.
59066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59067 <limits.h> exists even on freestanding compilers. */
59069 #ifdef __STDC__
59070 # include <limits.h>
59071 #else
59072 # include <assert.h>
59073 #endif
59075 #undef $ac_func
59077 /* Override any gcc2 internal prototype to avoid an error. */
59078 #ifdef __cplusplus
59079 extern "C"
59081 #endif
59082 /* We use char because int might match the return type of a gcc2
59083 builtin and then its argument prototype would still apply. */
59084 char $ac_func ();
59085 /* The GNU C library defines this for functions which it implements
59086 to always fail with ENOSYS. Some functions are actually named
59087 something starting with __ and the normal name is an alias. */
59088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59089 choke me
59090 #else
59091 char (*f) () = $ac_func;
59092 #endif
59093 #ifdef __cplusplus
59095 #endif
59098 main ()
59100 return f != $ac_func;
59102 return 0;
59104 _ACEOF
59105 rm -f conftest.$ac_objext conftest$ac_exeext
59106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59107 (eval $ac_link) 2>conftest.er1
59108 ac_status=$?
59109 grep -v '^ *+' conftest.er1 >conftest.err
59110 rm -f conftest.er1
59111 cat conftest.err >&5
59112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59113 (exit $ac_status); } &&
59114 { ac_try='test -z "$ac_c_werror_flag"
59115 || test ! -s conftest.err'
59116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59117 (eval $ac_try) 2>&5
59118 ac_status=$?
59119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59120 (exit $ac_status); }; } &&
59121 { ac_try='test -s conftest$ac_exeext'
59122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59123 (eval $ac_try) 2>&5
59124 ac_status=$?
59125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59126 (exit $ac_status); }; }; then
59127 eval "$as_ac_var=yes"
59128 else
59129 echo "$as_me: failed program was:" >&5
59130 sed 's/^/| /' conftest.$ac_ext >&5
59132 eval "$as_ac_var=no"
59134 rm -f conftest.err conftest.$ac_objext \
59135 conftest$ac_exeext conftest.$ac_ext
59137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59139 if test `eval echo '${'$as_ac_var'}'` = yes; then
59140 cat >>confdefs.h <<_ACEOF
59141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59142 _ACEOF
59145 done
59147 else
59149 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59150 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59151 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59152 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59153 echo $ECHO_N "(cached) $ECHO_C" >&6
59154 else
59158 ac_ext=cc
59159 ac_cpp='$CXXCPP $CPPFLAGS'
59160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59164 cat >conftest.$ac_ext <<_ACEOF
59165 /* confdefs.h. */
59166 _ACEOF
59167 cat confdefs.h >>conftest.$ac_ext
59168 cat >>conftest.$ac_ext <<_ACEOF
59169 /* end confdefs.h. */
59170 #include <math.h>
59172 main ()
59174 _fmodf(0, 0);
59176 return 0;
59178 _ACEOF
59179 rm -f conftest.$ac_objext
59180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59181 (eval $ac_compile) 2>conftest.er1
59182 ac_status=$?
59183 grep -v '^ *+' conftest.er1 >conftest.err
59184 rm -f conftest.er1
59185 cat conftest.err >&5
59186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59187 (exit $ac_status); } &&
59188 { ac_try='test -z "$ac_cxx_werror_flag"
59189 || test ! -s conftest.err'
59190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59191 (eval $ac_try) 2>&5
59192 ac_status=$?
59193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59194 (exit $ac_status); }; } &&
59195 { ac_try='test -s conftest.$ac_objext'
59196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59197 (eval $ac_try) 2>&5
59198 ac_status=$?
59199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59200 (exit $ac_status); }; }; then
59201 glibcxx_cv_func__fmodf_use=yes
59202 else
59203 echo "$as_me: failed program was:" >&5
59204 sed 's/^/| /' conftest.$ac_ext >&5
59206 glibcxx_cv_func__fmodf_use=no
59208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59209 ac_ext=c
59210 ac_cpp='$CPP $CPPFLAGS'
59211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59219 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59220 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59222 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59224 for ac_func in _fmodf
59226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59227 echo "$as_me:$LINENO: checking for $ac_func" >&5
59228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59229 if eval "test \"\${$as_ac_var+set}\" = set"; then
59230 echo $ECHO_N "(cached) $ECHO_C" >&6
59231 else
59232 if test x$gcc_no_link = xyes; then
59233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59235 { (exit 1); exit 1; }; }
59237 cat >conftest.$ac_ext <<_ACEOF
59238 /* confdefs.h. */
59239 _ACEOF
59240 cat confdefs.h >>conftest.$ac_ext
59241 cat >>conftest.$ac_ext <<_ACEOF
59242 /* end confdefs.h. */
59243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59245 #define $ac_func innocuous_$ac_func
59247 /* System header to define __stub macros and hopefully few prototypes,
59248 which can conflict with char $ac_func (); below.
59249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59250 <limits.h> exists even on freestanding compilers. */
59252 #ifdef __STDC__
59253 # include <limits.h>
59254 #else
59255 # include <assert.h>
59256 #endif
59258 #undef $ac_func
59260 /* Override any gcc2 internal prototype to avoid an error. */
59261 #ifdef __cplusplus
59262 extern "C"
59264 #endif
59265 /* We use char because int might match the return type of a gcc2
59266 builtin and then its argument prototype would still apply. */
59267 char $ac_func ();
59268 /* The GNU C library defines this for functions which it implements
59269 to always fail with ENOSYS. Some functions are actually named
59270 something starting with __ and the normal name is an alias. */
59271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59272 choke me
59273 #else
59274 char (*f) () = $ac_func;
59275 #endif
59276 #ifdef __cplusplus
59278 #endif
59281 main ()
59283 return f != $ac_func;
59285 return 0;
59287 _ACEOF
59288 rm -f conftest.$ac_objext conftest$ac_exeext
59289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59290 (eval $ac_link) 2>conftest.er1
59291 ac_status=$?
59292 grep -v '^ *+' conftest.er1 >conftest.err
59293 rm -f conftest.er1
59294 cat conftest.err >&5
59295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59296 (exit $ac_status); } &&
59297 { ac_try='test -z "$ac_c_werror_flag"
59298 || test ! -s conftest.err'
59299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59300 (eval $ac_try) 2>&5
59301 ac_status=$?
59302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59303 (exit $ac_status); }; } &&
59304 { ac_try='test -s conftest$ac_exeext'
59305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59306 (eval $ac_try) 2>&5
59307 ac_status=$?
59308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59309 (exit $ac_status); }; }; then
59310 eval "$as_ac_var=yes"
59311 else
59312 echo "$as_me: failed program was:" >&5
59313 sed 's/^/| /' conftest.$ac_ext >&5
59315 eval "$as_ac_var=no"
59317 rm -f conftest.err conftest.$ac_objext \
59318 conftest$ac_exeext conftest.$ac_ext
59320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59322 if test `eval echo '${'$as_ac_var'}'` = yes; then
59323 cat >>confdefs.h <<_ACEOF
59324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59325 _ACEOF
59328 done
59335 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59336 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59337 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59338 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59339 echo $ECHO_N "(cached) $ECHO_C" >&6
59340 else
59344 ac_ext=cc
59345 ac_cpp='$CXXCPP $CPPFLAGS'
59346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59350 cat >conftest.$ac_ext <<_ACEOF
59351 /* confdefs.h. */
59352 _ACEOF
59353 cat confdefs.h >>conftest.$ac_ext
59354 cat >>conftest.$ac_ext <<_ACEOF
59355 /* end confdefs.h. */
59356 #include <math.h>
59358 main ()
59360 frexpf(0, 0);
59362 return 0;
59364 _ACEOF
59365 rm -f conftest.$ac_objext
59366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59367 (eval $ac_compile) 2>conftest.er1
59368 ac_status=$?
59369 grep -v '^ *+' conftest.er1 >conftest.err
59370 rm -f conftest.er1
59371 cat conftest.err >&5
59372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59373 (exit $ac_status); } &&
59374 { ac_try='test -z "$ac_cxx_werror_flag"
59375 || test ! -s conftest.err'
59376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59377 (eval $ac_try) 2>&5
59378 ac_status=$?
59379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59380 (exit $ac_status); }; } &&
59381 { ac_try='test -s conftest.$ac_objext'
59382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59383 (eval $ac_try) 2>&5
59384 ac_status=$?
59385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59386 (exit $ac_status); }; }; then
59387 glibcxx_cv_func_frexpf_use=yes
59388 else
59389 echo "$as_me: failed program was:" >&5
59390 sed 's/^/| /' conftest.$ac_ext >&5
59392 glibcxx_cv_func_frexpf_use=no
59394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59395 ac_ext=c
59396 ac_cpp='$CPP $CPPFLAGS'
59397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59406 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59408 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59410 for ac_func in frexpf
59412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59413 echo "$as_me:$LINENO: checking for $ac_func" >&5
59414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59415 if eval "test \"\${$as_ac_var+set}\" = set"; then
59416 echo $ECHO_N "(cached) $ECHO_C" >&6
59417 else
59418 if test x$gcc_no_link = xyes; then
59419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59421 { (exit 1); exit 1; }; }
59423 cat >conftest.$ac_ext <<_ACEOF
59424 /* confdefs.h. */
59425 _ACEOF
59426 cat confdefs.h >>conftest.$ac_ext
59427 cat >>conftest.$ac_ext <<_ACEOF
59428 /* end confdefs.h. */
59429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59431 #define $ac_func innocuous_$ac_func
59433 /* System header to define __stub macros and hopefully few prototypes,
59434 which can conflict with char $ac_func (); below.
59435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59436 <limits.h> exists even on freestanding compilers. */
59438 #ifdef __STDC__
59439 # include <limits.h>
59440 #else
59441 # include <assert.h>
59442 #endif
59444 #undef $ac_func
59446 /* Override any gcc2 internal prototype to avoid an error. */
59447 #ifdef __cplusplus
59448 extern "C"
59450 #endif
59451 /* We use char because int might match the return type of a gcc2
59452 builtin and then its argument prototype would still apply. */
59453 char $ac_func ();
59454 /* The GNU C library defines this for functions which it implements
59455 to always fail with ENOSYS. Some functions are actually named
59456 something starting with __ and the normal name is an alias. */
59457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59458 choke me
59459 #else
59460 char (*f) () = $ac_func;
59461 #endif
59462 #ifdef __cplusplus
59464 #endif
59467 main ()
59469 return f != $ac_func;
59471 return 0;
59473 _ACEOF
59474 rm -f conftest.$ac_objext conftest$ac_exeext
59475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59476 (eval $ac_link) 2>conftest.er1
59477 ac_status=$?
59478 grep -v '^ *+' conftest.er1 >conftest.err
59479 rm -f conftest.er1
59480 cat conftest.err >&5
59481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59482 (exit $ac_status); } &&
59483 { ac_try='test -z "$ac_c_werror_flag"
59484 || test ! -s conftest.err'
59485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59486 (eval $ac_try) 2>&5
59487 ac_status=$?
59488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59489 (exit $ac_status); }; } &&
59490 { ac_try='test -s conftest$ac_exeext'
59491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59492 (eval $ac_try) 2>&5
59493 ac_status=$?
59494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59495 (exit $ac_status); }; }; then
59496 eval "$as_ac_var=yes"
59497 else
59498 echo "$as_me: failed program was:" >&5
59499 sed 's/^/| /' conftest.$ac_ext >&5
59501 eval "$as_ac_var=no"
59503 rm -f conftest.err conftest.$ac_objext \
59504 conftest$ac_exeext conftest.$ac_ext
59506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59508 if test `eval echo '${'$as_ac_var'}'` = yes; then
59509 cat >>confdefs.h <<_ACEOF
59510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59511 _ACEOF
59514 done
59516 else
59518 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59519 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59520 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59521 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59522 echo $ECHO_N "(cached) $ECHO_C" >&6
59523 else
59527 ac_ext=cc
59528 ac_cpp='$CXXCPP $CPPFLAGS'
59529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59533 cat >conftest.$ac_ext <<_ACEOF
59534 /* confdefs.h. */
59535 _ACEOF
59536 cat confdefs.h >>conftest.$ac_ext
59537 cat >>conftest.$ac_ext <<_ACEOF
59538 /* end confdefs.h. */
59539 #include <math.h>
59541 main ()
59543 _frexpf(0, 0);
59545 return 0;
59547 _ACEOF
59548 rm -f conftest.$ac_objext
59549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59550 (eval $ac_compile) 2>conftest.er1
59551 ac_status=$?
59552 grep -v '^ *+' conftest.er1 >conftest.err
59553 rm -f conftest.er1
59554 cat conftest.err >&5
59555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59556 (exit $ac_status); } &&
59557 { ac_try='test -z "$ac_cxx_werror_flag"
59558 || test ! -s conftest.err'
59559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59560 (eval $ac_try) 2>&5
59561 ac_status=$?
59562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59563 (exit $ac_status); }; } &&
59564 { ac_try='test -s conftest.$ac_objext'
59565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59566 (eval $ac_try) 2>&5
59567 ac_status=$?
59568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59569 (exit $ac_status); }; }; then
59570 glibcxx_cv_func__frexpf_use=yes
59571 else
59572 echo "$as_me: failed program was:" >&5
59573 sed 's/^/| /' conftest.$ac_ext >&5
59575 glibcxx_cv_func__frexpf_use=no
59577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59578 ac_ext=c
59579 ac_cpp='$CPP $CPPFLAGS'
59580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59589 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59591 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59593 for ac_func in _frexpf
59595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59596 echo "$as_me:$LINENO: checking for $ac_func" >&5
59597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59598 if eval "test \"\${$as_ac_var+set}\" = set"; then
59599 echo $ECHO_N "(cached) $ECHO_C" >&6
59600 else
59601 if test x$gcc_no_link = xyes; then
59602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59604 { (exit 1); exit 1; }; }
59606 cat >conftest.$ac_ext <<_ACEOF
59607 /* confdefs.h. */
59608 _ACEOF
59609 cat confdefs.h >>conftest.$ac_ext
59610 cat >>conftest.$ac_ext <<_ACEOF
59611 /* end confdefs.h. */
59612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59614 #define $ac_func innocuous_$ac_func
59616 /* System header to define __stub macros and hopefully few prototypes,
59617 which can conflict with char $ac_func (); below.
59618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59619 <limits.h> exists even on freestanding compilers. */
59621 #ifdef __STDC__
59622 # include <limits.h>
59623 #else
59624 # include <assert.h>
59625 #endif
59627 #undef $ac_func
59629 /* Override any gcc2 internal prototype to avoid an error. */
59630 #ifdef __cplusplus
59631 extern "C"
59633 #endif
59634 /* We use char because int might match the return type of a gcc2
59635 builtin and then its argument prototype would still apply. */
59636 char $ac_func ();
59637 /* The GNU C library defines this for functions which it implements
59638 to always fail with ENOSYS. Some functions are actually named
59639 something starting with __ and the normal name is an alias. */
59640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59641 choke me
59642 #else
59643 char (*f) () = $ac_func;
59644 #endif
59645 #ifdef __cplusplus
59647 #endif
59650 main ()
59652 return f != $ac_func;
59654 return 0;
59656 _ACEOF
59657 rm -f conftest.$ac_objext conftest$ac_exeext
59658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59659 (eval $ac_link) 2>conftest.er1
59660 ac_status=$?
59661 grep -v '^ *+' conftest.er1 >conftest.err
59662 rm -f conftest.er1
59663 cat conftest.err >&5
59664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59665 (exit $ac_status); } &&
59666 { ac_try='test -z "$ac_c_werror_flag"
59667 || test ! -s conftest.err'
59668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59669 (eval $ac_try) 2>&5
59670 ac_status=$?
59671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59672 (exit $ac_status); }; } &&
59673 { ac_try='test -s conftest$ac_exeext'
59674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59675 (eval $ac_try) 2>&5
59676 ac_status=$?
59677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59678 (exit $ac_status); }; }; then
59679 eval "$as_ac_var=yes"
59680 else
59681 echo "$as_me: failed program was:" >&5
59682 sed 's/^/| /' conftest.$ac_ext >&5
59684 eval "$as_ac_var=no"
59686 rm -f conftest.err conftest.$ac_objext \
59687 conftest$ac_exeext conftest.$ac_ext
59689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59691 if test `eval echo '${'$as_ac_var'}'` = yes; then
59692 cat >>confdefs.h <<_ACEOF
59693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59694 _ACEOF
59697 done
59704 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59705 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59706 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59707 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59708 echo $ECHO_N "(cached) $ECHO_C" >&6
59709 else
59713 ac_ext=cc
59714 ac_cpp='$CXXCPP $CPPFLAGS'
59715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59719 cat >conftest.$ac_ext <<_ACEOF
59720 /* confdefs.h. */
59721 _ACEOF
59722 cat confdefs.h >>conftest.$ac_ext
59723 cat >>conftest.$ac_ext <<_ACEOF
59724 /* end confdefs.h. */
59725 #include <math.h>
59727 main ()
59729 hypotf(0, 0);
59731 return 0;
59733 _ACEOF
59734 rm -f conftest.$ac_objext
59735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59736 (eval $ac_compile) 2>conftest.er1
59737 ac_status=$?
59738 grep -v '^ *+' conftest.er1 >conftest.err
59739 rm -f conftest.er1
59740 cat conftest.err >&5
59741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59742 (exit $ac_status); } &&
59743 { ac_try='test -z "$ac_cxx_werror_flag"
59744 || test ! -s conftest.err'
59745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59746 (eval $ac_try) 2>&5
59747 ac_status=$?
59748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59749 (exit $ac_status); }; } &&
59750 { ac_try='test -s conftest.$ac_objext'
59751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59752 (eval $ac_try) 2>&5
59753 ac_status=$?
59754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59755 (exit $ac_status); }; }; then
59756 glibcxx_cv_func_hypotf_use=yes
59757 else
59758 echo "$as_me: failed program was:" >&5
59759 sed 's/^/| /' conftest.$ac_ext >&5
59761 glibcxx_cv_func_hypotf_use=no
59763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59764 ac_ext=c
59765 ac_cpp='$CPP $CPPFLAGS'
59766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59774 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59775 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59777 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59779 for ac_func in hypotf
59781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59782 echo "$as_me:$LINENO: checking for $ac_func" >&5
59783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59784 if eval "test \"\${$as_ac_var+set}\" = set"; then
59785 echo $ECHO_N "(cached) $ECHO_C" >&6
59786 else
59787 if test x$gcc_no_link = xyes; then
59788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59790 { (exit 1); exit 1; }; }
59792 cat >conftest.$ac_ext <<_ACEOF
59793 /* confdefs.h. */
59794 _ACEOF
59795 cat confdefs.h >>conftest.$ac_ext
59796 cat >>conftest.$ac_ext <<_ACEOF
59797 /* end confdefs.h. */
59798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59800 #define $ac_func innocuous_$ac_func
59802 /* System header to define __stub macros and hopefully few prototypes,
59803 which can conflict with char $ac_func (); below.
59804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59805 <limits.h> exists even on freestanding compilers. */
59807 #ifdef __STDC__
59808 # include <limits.h>
59809 #else
59810 # include <assert.h>
59811 #endif
59813 #undef $ac_func
59815 /* Override any gcc2 internal prototype to avoid an error. */
59816 #ifdef __cplusplus
59817 extern "C"
59819 #endif
59820 /* We use char because int might match the return type of a gcc2
59821 builtin and then its argument prototype would still apply. */
59822 char $ac_func ();
59823 /* The GNU C library defines this for functions which it implements
59824 to always fail with ENOSYS. Some functions are actually named
59825 something starting with __ and the normal name is an alias. */
59826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59827 choke me
59828 #else
59829 char (*f) () = $ac_func;
59830 #endif
59831 #ifdef __cplusplus
59833 #endif
59836 main ()
59838 return f != $ac_func;
59840 return 0;
59842 _ACEOF
59843 rm -f conftest.$ac_objext conftest$ac_exeext
59844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59845 (eval $ac_link) 2>conftest.er1
59846 ac_status=$?
59847 grep -v '^ *+' conftest.er1 >conftest.err
59848 rm -f conftest.er1
59849 cat conftest.err >&5
59850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59851 (exit $ac_status); } &&
59852 { ac_try='test -z "$ac_c_werror_flag"
59853 || test ! -s conftest.err'
59854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59855 (eval $ac_try) 2>&5
59856 ac_status=$?
59857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59858 (exit $ac_status); }; } &&
59859 { ac_try='test -s conftest$ac_exeext'
59860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59861 (eval $ac_try) 2>&5
59862 ac_status=$?
59863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59864 (exit $ac_status); }; }; then
59865 eval "$as_ac_var=yes"
59866 else
59867 echo "$as_me: failed program was:" >&5
59868 sed 's/^/| /' conftest.$ac_ext >&5
59870 eval "$as_ac_var=no"
59872 rm -f conftest.err conftest.$ac_objext \
59873 conftest$ac_exeext conftest.$ac_ext
59875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59877 if test `eval echo '${'$as_ac_var'}'` = yes; then
59878 cat >>confdefs.h <<_ACEOF
59879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59880 _ACEOF
59883 done
59885 else
59887 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59888 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59889 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59890 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59891 echo $ECHO_N "(cached) $ECHO_C" >&6
59892 else
59896 ac_ext=cc
59897 ac_cpp='$CXXCPP $CPPFLAGS'
59898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59902 cat >conftest.$ac_ext <<_ACEOF
59903 /* confdefs.h. */
59904 _ACEOF
59905 cat confdefs.h >>conftest.$ac_ext
59906 cat >>conftest.$ac_ext <<_ACEOF
59907 /* end confdefs.h. */
59908 #include <math.h>
59910 main ()
59912 _hypotf(0, 0);
59914 return 0;
59916 _ACEOF
59917 rm -f conftest.$ac_objext
59918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59919 (eval $ac_compile) 2>conftest.er1
59920 ac_status=$?
59921 grep -v '^ *+' conftest.er1 >conftest.err
59922 rm -f conftest.er1
59923 cat conftest.err >&5
59924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59925 (exit $ac_status); } &&
59926 { ac_try='test -z "$ac_cxx_werror_flag"
59927 || test ! -s conftest.err'
59928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59929 (eval $ac_try) 2>&5
59930 ac_status=$?
59931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59932 (exit $ac_status); }; } &&
59933 { ac_try='test -s conftest.$ac_objext'
59934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59935 (eval $ac_try) 2>&5
59936 ac_status=$?
59937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59938 (exit $ac_status); }; }; then
59939 glibcxx_cv_func__hypotf_use=yes
59940 else
59941 echo "$as_me: failed program was:" >&5
59942 sed 's/^/| /' conftest.$ac_ext >&5
59944 glibcxx_cv_func__hypotf_use=no
59946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59947 ac_ext=c
59948 ac_cpp='$CPP $CPPFLAGS'
59949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59957 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59958 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59960 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59962 for ac_func in _hypotf
59964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59965 echo "$as_me:$LINENO: checking for $ac_func" >&5
59966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59967 if eval "test \"\${$as_ac_var+set}\" = set"; then
59968 echo $ECHO_N "(cached) $ECHO_C" >&6
59969 else
59970 if test x$gcc_no_link = xyes; then
59971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59973 { (exit 1); exit 1; }; }
59975 cat >conftest.$ac_ext <<_ACEOF
59976 /* confdefs.h. */
59977 _ACEOF
59978 cat confdefs.h >>conftest.$ac_ext
59979 cat >>conftest.$ac_ext <<_ACEOF
59980 /* end confdefs.h. */
59981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59983 #define $ac_func innocuous_$ac_func
59985 /* System header to define __stub macros and hopefully few prototypes,
59986 which can conflict with char $ac_func (); below.
59987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59988 <limits.h> exists even on freestanding compilers. */
59990 #ifdef __STDC__
59991 # include <limits.h>
59992 #else
59993 # include <assert.h>
59994 #endif
59996 #undef $ac_func
59998 /* Override any gcc2 internal prototype to avoid an error. */
59999 #ifdef __cplusplus
60000 extern "C"
60002 #endif
60003 /* We use char because int might match the return type of a gcc2
60004 builtin and then its argument prototype would still apply. */
60005 char $ac_func ();
60006 /* The GNU C library defines this for functions which it implements
60007 to always fail with ENOSYS. Some functions are actually named
60008 something starting with __ and the normal name is an alias. */
60009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60010 choke me
60011 #else
60012 char (*f) () = $ac_func;
60013 #endif
60014 #ifdef __cplusplus
60016 #endif
60019 main ()
60021 return f != $ac_func;
60023 return 0;
60025 _ACEOF
60026 rm -f conftest.$ac_objext conftest$ac_exeext
60027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60028 (eval $ac_link) 2>conftest.er1
60029 ac_status=$?
60030 grep -v '^ *+' conftest.er1 >conftest.err
60031 rm -f conftest.er1
60032 cat conftest.err >&5
60033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60034 (exit $ac_status); } &&
60035 { ac_try='test -z "$ac_c_werror_flag"
60036 || test ! -s conftest.err'
60037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60038 (eval $ac_try) 2>&5
60039 ac_status=$?
60040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60041 (exit $ac_status); }; } &&
60042 { ac_try='test -s conftest$ac_exeext'
60043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60044 (eval $ac_try) 2>&5
60045 ac_status=$?
60046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60047 (exit $ac_status); }; }; then
60048 eval "$as_ac_var=yes"
60049 else
60050 echo "$as_me: failed program was:" >&5
60051 sed 's/^/| /' conftest.$ac_ext >&5
60053 eval "$as_ac_var=no"
60055 rm -f conftest.err conftest.$ac_objext \
60056 conftest$ac_exeext conftest.$ac_ext
60058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60060 if test `eval echo '${'$as_ac_var'}'` = yes; then
60061 cat >>confdefs.h <<_ACEOF
60062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60063 _ACEOF
60066 done
60073 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60074 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60075 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60076 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60077 echo $ECHO_N "(cached) $ECHO_C" >&6
60078 else
60082 ac_ext=cc
60083 ac_cpp='$CXXCPP $CPPFLAGS'
60084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60088 cat >conftest.$ac_ext <<_ACEOF
60089 /* confdefs.h. */
60090 _ACEOF
60091 cat confdefs.h >>conftest.$ac_ext
60092 cat >>conftest.$ac_ext <<_ACEOF
60093 /* end confdefs.h. */
60094 #include <math.h>
60096 main ()
60098 ldexpf(0, 0);
60100 return 0;
60102 _ACEOF
60103 rm -f conftest.$ac_objext
60104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60105 (eval $ac_compile) 2>conftest.er1
60106 ac_status=$?
60107 grep -v '^ *+' conftest.er1 >conftest.err
60108 rm -f conftest.er1
60109 cat conftest.err >&5
60110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60111 (exit $ac_status); } &&
60112 { ac_try='test -z "$ac_cxx_werror_flag"
60113 || test ! -s conftest.err'
60114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60115 (eval $ac_try) 2>&5
60116 ac_status=$?
60117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60118 (exit $ac_status); }; } &&
60119 { ac_try='test -s conftest.$ac_objext'
60120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60121 (eval $ac_try) 2>&5
60122 ac_status=$?
60123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60124 (exit $ac_status); }; }; then
60125 glibcxx_cv_func_ldexpf_use=yes
60126 else
60127 echo "$as_me: failed program was:" >&5
60128 sed 's/^/| /' conftest.$ac_ext >&5
60130 glibcxx_cv_func_ldexpf_use=no
60132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60133 ac_ext=c
60134 ac_cpp='$CPP $CPPFLAGS'
60135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60143 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60144 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60146 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60148 for ac_func in ldexpf
60150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60151 echo "$as_me:$LINENO: checking for $ac_func" >&5
60152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60153 if eval "test \"\${$as_ac_var+set}\" = set"; then
60154 echo $ECHO_N "(cached) $ECHO_C" >&6
60155 else
60156 if test x$gcc_no_link = xyes; then
60157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60159 { (exit 1); exit 1; }; }
60161 cat >conftest.$ac_ext <<_ACEOF
60162 /* confdefs.h. */
60163 _ACEOF
60164 cat confdefs.h >>conftest.$ac_ext
60165 cat >>conftest.$ac_ext <<_ACEOF
60166 /* end confdefs.h. */
60167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60169 #define $ac_func innocuous_$ac_func
60171 /* System header to define __stub macros and hopefully few prototypes,
60172 which can conflict with char $ac_func (); below.
60173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60174 <limits.h> exists even on freestanding compilers. */
60176 #ifdef __STDC__
60177 # include <limits.h>
60178 #else
60179 # include <assert.h>
60180 #endif
60182 #undef $ac_func
60184 /* Override any gcc2 internal prototype to avoid an error. */
60185 #ifdef __cplusplus
60186 extern "C"
60188 #endif
60189 /* We use char because int might match the return type of a gcc2
60190 builtin and then its argument prototype would still apply. */
60191 char $ac_func ();
60192 /* The GNU C library defines this for functions which it implements
60193 to always fail with ENOSYS. Some functions are actually named
60194 something starting with __ and the normal name is an alias. */
60195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60196 choke me
60197 #else
60198 char (*f) () = $ac_func;
60199 #endif
60200 #ifdef __cplusplus
60202 #endif
60205 main ()
60207 return f != $ac_func;
60209 return 0;
60211 _ACEOF
60212 rm -f conftest.$ac_objext conftest$ac_exeext
60213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60214 (eval $ac_link) 2>conftest.er1
60215 ac_status=$?
60216 grep -v '^ *+' conftest.er1 >conftest.err
60217 rm -f conftest.er1
60218 cat conftest.err >&5
60219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60220 (exit $ac_status); } &&
60221 { ac_try='test -z "$ac_c_werror_flag"
60222 || test ! -s conftest.err'
60223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60224 (eval $ac_try) 2>&5
60225 ac_status=$?
60226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60227 (exit $ac_status); }; } &&
60228 { ac_try='test -s conftest$ac_exeext'
60229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60230 (eval $ac_try) 2>&5
60231 ac_status=$?
60232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60233 (exit $ac_status); }; }; then
60234 eval "$as_ac_var=yes"
60235 else
60236 echo "$as_me: failed program was:" >&5
60237 sed 's/^/| /' conftest.$ac_ext >&5
60239 eval "$as_ac_var=no"
60241 rm -f conftest.err conftest.$ac_objext \
60242 conftest$ac_exeext conftest.$ac_ext
60244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60246 if test `eval echo '${'$as_ac_var'}'` = yes; then
60247 cat >>confdefs.h <<_ACEOF
60248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60249 _ACEOF
60252 done
60254 else
60256 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60257 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60258 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60259 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60260 echo $ECHO_N "(cached) $ECHO_C" >&6
60261 else
60265 ac_ext=cc
60266 ac_cpp='$CXXCPP $CPPFLAGS'
60267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60271 cat >conftest.$ac_ext <<_ACEOF
60272 /* confdefs.h. */
60273 _ACEOF
60274 cat confdefs.h >>conftest.$ac_ext
60275 cat >>conftest.$ac_ext <<_ACEOF
60276 /* end confdefs.h. */
60277 #include <math.h>
60279 main ()
60281 _ldexpf(0, 0);
60283 return 0;
60285 _ACEOF
60286 rm -f conftest.$ac_objext
60287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60288 (eval $ac_compile) 2>conftest.er1
60289 ac_status=$?
60290 grep -v '^ *+' conftest.er1 >conftest.err
60291 rm -f conftest.er1
60292 cat conftest.err >&5
60293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60294 (exit $ac_status); } &&
60295 { ac_try='test -z "$ac_cxx_werror_flag"
60296 || test ! -s conftest.err'
60297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60298 (eval $ac_try) 2>&5
60299 ac_status=$?
60300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60301 (exit $ac_status); }; } &&
60302 { ac_try='test -s conftest.$ac_objext'
60303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60304 (eval $ac_try) 2>&5
60305 ac_status=$?
60306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60307 (exit $ac_status); }; }; then
60308 glibcxx_cv_func__ldexpf_use=yes
60309 else
60310 echo "$as_me: failed program was:" >&5
60311 sed 's/^/| /' conftest.$ac_ext >&5
60313 glibcxx_cv_func__ldexpf_use=no
60315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60316 ac_ext=c
60317 ac_cpp='$CPP $CPPFLAGS'
60318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60326 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60327 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60329 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60331 for ac_func in _ldexpf
60333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60334 echo "$as_me:$LINENO: checking for $ac_func" >&5
60335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60336 if eval "test \"\${$as_ac_var+set}\" = set"; then
60337 echo $ECHO_N "(cached) $ECHO_C" >&6
60338 else
60339 if test x$gcc_no_link = xyes; then
60340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60342 { (exit 1); exit 1; }; }
60344 cat >conftest.$ac_ext <<_ACEOF
60345 /* confdefs.h. */
60346 _ACEOF
60347 cat confdefs.h >>conftest.$ac_ext
60348 cat >>conftest.$ac_ext <<_ACEOF
60349 /* end confdefs.h. */
60350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60352 #define $ac_func innocuous_$ac_func
60354 /* System header to define __stub macros and hopefully few prototypes,
60355 which can conflict with char $ac_func (); below.
60356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60357 <limits.h> exists even on freestanding compilers. */
60359 #ifdef __STDC__
60360 # include <limits.h>
60361 #else
60362 # include <assert.h>
60363 #endif
60365 #undef $ac_func
60367 /* Override any gcc2 internal prototype to avoid an error. */
60368 #ifdef __cplusplus
60369 extern "C"
60371 #endif
60372 /* We use char because int might match the return type of a gcc2
60373 builtin and then its argument prototype would still apply. */
60374 char $ac_func ();
60375 /* The GNU C library defines this for functions which it implements
60376 to always fail with ENOSYS. Some functions are actually named
60377 something starting with __ and the normal name is an alias. */
60378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60379 choke me
60380 #else
60381 char (*f) () = $ac_func;
60382 #endif
60383 #ifdef __cplusplus
60385 #endif
60388 main ()
60390 return f != $ac_func;
60392 return 0;
60394 _ACEOF
60395 rm -f conftest.$ac_objext conftest$ac_exeext
60396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60397 (eval $ac_link) 2>conftest.er1
60398 ac_status=$?
60399 grep -v '^ *+' conftest.er1 >conftest.err
60400 rm -f conftest.er1
60401 cat conftest.err >&5
60402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60403 (exit $ac_status); } &&
60404 { ac_try='test -z "$ac_c_werror_flag"
60405 || test ! -s conftest.err'
60406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60407 (eval $ac_try) 2>&5
60408 ac_status=$?
60409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60410 (exit $ac_status); }; } &&
60411 { ac_try='test -s conftest$ac_exeext'
60412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60413 (eval $ac_try) 2>&5
60414 ac_status=$?
60415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60416 (exit $ac_status); }; }; then
60417 eval "$as_ac_var=yes"
60418 else
60419 echo "$as_me: failed program was:" >&5
60420 sed 's/^/| /' conftest.$ac_ext >&5
60422 eval "$as_ac_var=no"
60424 rm -f conftest.err conftest.$ac_objext \
60425 conftest$ac_exeext conftest.$ac_ext
60427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60429 if test `eval echo '${'$as_ac_var'}'` = yes; then
60430 cat >>confdefs.h <<_ACEOF
60431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60432 _ACEOF
60435 done
60442 echo "$as_me:$LINENO: checking for logf declaration" >&5
60443 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60444 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60445 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60446 echo $ECHO_N "(cached) $ECHO_C" >&6
60447 else
60451 ac_ext=cc
60452 ac_cpp='$CXXCPP $CPPFLAGS'
60453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60457 cat >conftest.$ac_ext <<_ACEOF
60458 /* confdefs.h. */
60459 _ACEOF
60460 cat confdefs.h >>conftest.$ac_ext
60461 cat >>conftest.$ac_ext <<_ACEOF
60462 /* end confdefs.h. */
60463 #include <math.h>
60464 #ifdef HAVE_IEEEFP_H
60465 #include <ieeefp.h>
60466 #endif
60469 main ()
60471 logf(0);
60473 return 0;
60475 _ACEOF
60476 rm -f conftest.$ac_objext
60477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60478 (eval $ac_compile) 2>conftest.er1
60479 ac_status=$?
60480 grep -v '^ *+' conftest.er1 >conftest.err
60481 rm -f conftest.er1
60482 cat conftest.err >&5
60483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60484 (exit $ac_status); } &&
60485 { ac_try='test -z "$ac_cxx_werror_flag"
60486 || test ! -s conftest.err'
60487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60488 (eval $ac_try) 2>&5
60489 ac_status=$?
60490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60491 (exit $ac_status); }; } &&
60492 { ac_try='test -s conftest.$ac_objext'
60493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60494 (eval $ac_try) 2>&5
60495 ac_status=$?
60496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60497 (exit $ac_status); }; }; then
60498 glibcxx_cv_func_logf_use=yes
60499 else
60500 echo "$as_me: failed program was:" >&5
60501 sed 's/^/| /' conftest.$ac_ext >&5
60503 glibcxx_cv_func_logf_use=no
60505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60506 ac_ext=c
60507 ac_cpp='$CPP $CPPFLAGS'
60508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60516 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60517 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60519 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60521 for ac_func in logf
60523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60524 echo "$as_me:$LINENO: checking for $ac_func" >&5
60525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60526 if eval "test \"\${$as_ac_var+set}\" = set"; then
60527 echo $ECHO_N "(cached) $ECHO_C" >&6
60528 else
60529 if test x$gcc_no_link = xyes; then
60530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60532 { (exit 1); exit 1; }; }
60534 cat >conftest.$ac_ext <<_ACEOF
60535 /* confdefs.h. */
60536 _ACEOF
60537 cat confdefs.h >>conftest.$ac_ext
60538 cat >>conftest.$ac_ext <<_ACEOF
60539 /* end confdefs.h. */
60540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60542 #define $ac_func innocuous_$ac_func
60544 /* System header to define __stub macros and hopefully few prototypes,
60545 which can conflict with char $ac_func (); below.
60546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60547 <limits.h> exists even on freestanding compilers. */
60549 #ifdef __STDC__
60550 # include <limits.h>
60551 #else
60552 # include <assert.h>
60553 #endif
60555 #undef $ac_func
60557 /* Override any gcc2 internal prototype to avoid an error. */
60558 #ifdef __cplusplus
60559 extern "C"
60561 #endif
60562 /* We use char because int might match the return type of a gcc2
60563 builtin and then its argument prototype would still apply. */
60564 char $ac_func ();
60565 /* The GNU C library defines this for functions which it implements
60566 to always fail with ENOSYS. Some functions are actually named
60567 something starting with __ and the normal name is an alias. */
60568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60569 choke me
60570 #else
60571 char (*f) () = $ac_func;
60572 #endif
60573 #ifdef __cplusplus
60575 #endif
60578 main ()
60580 return f != $ac_func;
60582 return 0;
60584 _ACEOF
60585 rm -f conftest.$ac_objext conftest$ac_exeext
60586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60587 (eval $ac_link) 2>conftest.er1
60588 ac_status=$?
60589 grep -v '^ *+' conftest.er1 >conftest.err
60590 rm -f conftest.er1
60591 cat conftest.err >&5
60592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60593 (exit $ac_status); } &&
60594 { ac_try='test -z "$ac_c_werror_flag"
60595 || test ! -s conftest.err'
60596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60597 (eval $ac_try) 2>&5
60598 ac_status=$?
60599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60600 (exit $ac_status); }; } &&
60601 { ac_try='test -s conftest$ac_exeext'
60602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60603 (eval $ac_try) 2>&5
60604 ac_status=$?
60605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60606 (exit $ac_status); }; }; then
60607 eval "$as_ac_var=yes"
60608 else
60609 echo "$as_me: failed program was:" >&5
60610 sed 's/^/| /' conftest.$ac_ext >&5
60612 eval "$as_ac_var=no"
60614 rm -f conftest.err conftest.$ac_objext \
60615 conftest$ac_exeext conftest.$ac_ext
60617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60619 if test `eval echo '${'$as_ac_var'}'` = yes; then
60620 cat >>confdefs.h <<_ACEOF
60621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60622 _ACEOF
60625 done
60627 else
60629 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60630 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60631 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60632 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60633 echo $ECHO_N "(cached) $ECHO_C" >&6
60634 else
60638 ac_ext=cc
60639 ac_cpp='$CXXCPP $CPPFLAGS'
60640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60644 cat >conftest.$ac_ext <<_ACEOF
60645 /* confdefs.h. */
60646 _ACEOF
60647 cat confdefs.h >>conftest.$ac_ext
60648 cat >>conftest.$ac_ext <<_ACEOF
60649 /* end confdefs.h. */
60650 #include <math.h>
60651 #ifdef HAVE_IEEEFP_H
60652 #include <ieeefp.h>
60653 #endif
60656 main ()
60658 _logf(0);
60660 return 0;
60662 _ACEOF
60663 rm -f conftest.$ac_objext
60664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60665 (eval $ac_compile) 2>conftest.er1
60666 ac_status=$?
60667 grep -v '^ *+' conftest.er1 >conftest.err
60668 rm -f conftest.er1
60669 cat conftest.err >&5
60670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60671 (exit $ac_status); } &&
60672 { ac_try='test -z "$ac_cxx_werror_flag"
60673 || test ! -s conftest.err'
60674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60675 (eval $ac_try) 2>&5
60676 ac_status=$?
60677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60678 (exit $ac_status); }; } &&
60679 { ac_try='test -s conftest.$ac_objext'
60680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60681 (eval $ac_try) 2>&5
60682 ac_status=$?
60683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60684 (exit $ac_status); }; }; then
60685 glibcxx_cv_func__logf_use=yes
60686 else
60687 echo "$as_me: failed program was:" >&5
60688 sed 's/^/| /' conftest.$ac_ext >&5
60690 glibcxx_cv_func__logf_use=no
60692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60693 ac_ext=c
60694 ac_cpp='$CPP $CPPFLAGS'
60695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60703 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60704 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60706 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60708 for ac_func in _logf
60710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60711 echo "$as_me:$LINENO: checking for $ac_func" >&5
60712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60713 if eval "test \"\${$as_ac_var+set}\" = set"; then
60714 echo $ECHO_N "(cached) $ECHO_C" >&6
60715 else
60716 if test x$gcc_no_link = xyes; then
60717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60719 { (exit 1); exit 1; }; }
60721 cat >conftest.$ac_ext <<_ACEOF
60722 /* confdefs.h. */
60723 _ACEOF
60724 cat confdefs.h >>conftest.$ac_ext
60725 cat >>conftest.$ac_ext <<_ACEOF
60726 /* end confdefs.h. */
60727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60729 #define $ac_func innocuous_$ac_func
60731 /* System header to define __stub macros and hopefully few prototypes,
60732 which can conflict with char $ac_func (); below.
60733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60734 <limits.h> exists even on freestanding compilers. */
60736 #ifdef __STDC__
60737 # include <limits.h>
60738 #else
60739 # include <assert.h>
60740 #endif
60742 #undef $ac_func
60744 /* Override any gcc2 internal prototype to avoid an error. */
60745 #ifdef __cplusplus
60746 extern "C"
60748 #endif
60749 /* We use char because int might match the return type of a gcc2
60750 builtin and then its argument prototype would still apply. */
60751 char $ac_func ();
60752 /* The GNU C library defines this for functions which it implements
60753 to always fail with ENOSYS. Some functions are actually named
60754 something starting with __ and the normal name is an alias. */
60755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60756 choke me
60757 #else
60758 char (*f) () = $ac_func;
60759 #endif
60760 #ifdef __cplusplus
60762 #endif
60765 main ()
60767 return f != $ac_func;
60769 return 0;
60771 _ACEOF
60772 rm -f conftest.$ac_objext conftest$ac_exeext
60773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60774 (eval $ac_link) 2>conftest.er1
60775 ac_status=$?
60776 grep -v '^ *+' conftest.er1 >conftest.err
60777 rm -f conftest.er1
60778 cat conftest.err >&5
60779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60780 (exit $ac_status); } &&
60781 { ac_try='test -z "$ac_c_werror_flag"
60782 || test ! -s conftest.err'
60783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60784 (eval $ac_try) 2>&5
60785 ac_status=$?
60786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60787 (exit $ac_status); }; } &&
60788 { ac_try='test -s conftest$ac_exeext'
60789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60790 (eval $ac_try) 2>&5
60791 ac_status=$?
60792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60793 (exit $ac_status); }; }; then
60794 eval "$as_ac_var=yes"
60795 else
60796 echo "$as_me: failed program was:" >&5
60797 sed 's/^/| /' conftest.$ac_ext >&5
60799 eval "$as_ac_var=no"
60801 rm -f conftest.err conftest.$ac_objext \
60802 conftest$ac_exeext conftest.$ac_ext
60804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60806 if test `eval echo '${'$as_ac_var'}'` = yes; then
60807 cat >>confdefs.h <<_ACEOF
60808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60809 _ACEOF
60812 done
60819 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60820 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60821 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60822 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60823 echo $ECHO_N "(cached) $ECHO_C" >&6
60824 else
60828 ac_ext=cc
60829 ac_cpp='$CXXCPP $CPPFLAGS'
60830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60834 cat >conftest.$ac_ext <<_ACEOF
60835 /* confdefs.h. */
60836 _ACEOF
60837 cat confdefs.h >>conftest.$ac_ext
60838 cat >>conftest.$ac_ext <<_ACEOF
60839 /* end confdefs.h. */
60840 #include <math.h>
60841 #ifdef HAVE_IEEEFP_H
60842 #include <ieeefp.h>
60843 #endif
60846 main ()
60848 log10f(0);
60850 return 0;
60852 _ACEOF
60853 rm -f conftest.$ac_objext
60854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60855 (eval $ac_compile) 2>conftest.er1
60856 ac_status=$?
60857 grep -v '^ *+' conftest.er1 >conftest.err
60858 rm -f conftest.er1
60859 cat conftest.err >&5
60860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60861 (exit $ac_status); } &&
60862 { ac_try='test -z "$ac_cxx_werror_flag"
60863 || test ! -s conftest.err'
60864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60865 (eval $ac_try) 2>&5
60866 ac_status=$?
60867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60868 (exit $ac_status); }; } &&
60869 { ac_try='test -s conftest.$ac_objext'
60870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60871 (eval $ac_try) 2>&5
60872 ac_status=$?
60873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60874 (exit $ac_status); }; }; then
60875 glibcxx_cv_func_log10f_use=yes
60876 else
60877 echo "$as_me: failed program was:" >&5
60878 sed 's/^/| /' conftest.$ac_ext >&5
60880 glibcxx_cv_func_log10f_use=no
60882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60883 ac_ext=c
60884 ac_cpp='$CPP $CPPFLAGS'
60885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60893 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60894 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60896 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60898 for ac_func in log10f
60900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60901 echo "$as_me:$LINENO: checking for $ac_func" >&5
60902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60903 if eval "test \"\${$as_ac_var+set}\" = set"; then
60904 echo $ECHO_N "(cached) $ECHO_C" >&6
60905 else
60906 if test x$gcc_no_link = xyes; then
60907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60909 { (exit 1); exit 1; }; }
60911 cat >conftest.$ac_ext <<_ACEOF
60912 /* confdefs.h. */
60913 _ACEOF
60914 cat confdefs.h >>conftest.$ac_ext
60915 cat >>conftest.$ac_ext <<_ACEOF
60916 /* end confdefs.h. */
60917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60919 #define $ac_func innocuous_$ac_func
60921 /* System header to define __stub macros and hopefully few prototypes,
60922 which can conflict with char $ac_func (); below.
60923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60924 <limits.h> exists even on freestanding compilers. */
60926 #ifdef __STDC__
60927 # include <limits.h>
60928 #else
60929 # include <assert.h>
60930 #endif
60932 #undef $ac_func
60934 /* Override any gcc2 internal prototype to avoid an error. */
60935 #ifdef __cplusplus
60936 extern "C"
60938 #endif
60939 /* We use char because int might match the return type of a gcc2
60940 builtin and then its argument prototype would still apply. */
60941 char $ac_func ();
60942 /* The GNU C library defines this for functions which it implements
60943 to always fail with ENOSYS. Some functions are actually named
60944 something starting with __ and the normal name is an alias. */
60945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60946 choke me
60947 #else
60948 char (*f) () = $ac_func;
60949 #endif
60950 #ifdef __cplusplus
60952 #endif
60955 main ()
60957 return f != $ac_func;
60959 return 0;
60961 _ACEOF
60962 rm -f conftest.$ac_objext conftest$ac_exeext
60963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60964 (eval $ac_link) 2>conftest.er1
60965 ac_status=$?
60966 grep -v '^ *+' conftest.er1 >conftest.err
60967 rm -f conftest.er1
60968 cat conftest.err >&5
60969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60970 (exit $ac_status); } &&
60971 { ac_try='test -z "$ac_c_werror_flag"
60972 || test ! -s conftest.err'
60973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60974 (eval $ac_try) 2>&5
60975 ac_status=$?
60976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60977 (exit $ac_status); }; } &&
60978 { ac_try='test -s conftest$ac_exeext'
60979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60980 (eval $ac_try) 2>&5
60981 ac_status=$?
60982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60983 (exit $ac_status); }; }; then
60984 eval "$as_ac_var=yes"
60985 else
60986 echo "$as_me: failed program was:" >&5
60987 sed 's/^/| /' conftest.$ac_ext >&5
60989 eval "$as_ac_var=no"
60991 rm -f conftest.err conftest.$ac_objext \
60992 conftest$ac_exeext conftest.$ac_ext
60994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60996 if test `eval echo '${'$as_ac_var'}'` = yes; then
60997 cat >>confdefs.h <<_ACEOF
60998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60999 _ACEOF
61002 done
61004 else
61006 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
61007 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
61008 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61009 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
61010 echo $ECHO_N "(cached) $ECHO_C" >&6
61011 else
61015 ac_ext=cc
61016 ac_cpp='$CXXCPP $CPPFLAGS'
61017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61021 cat >conftest.$ac_ext <<_ACEOF
61022 /* confdefs.h. */
61023 _ACEOF
61024 cat confdefs.h >>conftest.$ac_ext
61025 cat >>conftest.$ac_ext <<_ACEOF
61026 /* end confdefs.h. */
61027 #include <math.h>
61028 #ifdef HAVE_IEEEFP_H
61029 #include <ieeefp.h>
61030 #endif
61033 main ()
61035 _log10f(0);
61037 return 0;
61039 _ACEOF
61040 rm -f conftest.$ac_objext
61041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61042 (eval $ac_compile) 2>conftest.er1
61043 ac_status=$?
61044 grep -v '^ *+' conftest.er1 >conftest.err
61045 rm -f conftest.er1
61046 cat conftest.err >&5
61047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61048 (exit $ac_status); } &&
61049 { ac_try='test -z "$ac_cxx_werror_flag"
61050 || test ! -s conftest.err'
61051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61052 (eval $ac_try) 2>&5
61053 ac_status=$?
61054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61055 (exit $ac_status); }; } &&
61056 { ac_try='test -s conftest.$ac_objext'
61057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61058 (eval $ac_try) 2>&5
61059 ac_status=$?
61060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61061 (exit $ac_status); }; }; then
61062 glibcxx_cv_func__log10f_use=yes
61063 else
61064 echo "$as_me: failed program was:" >&5
61065 sed 's/^/| /' conftest.$ac_ext >&5
61067 glibcxx_cv_func__log10f_use=no
61069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61070 ac_ext=c
61071 ac_cpp='$CPP $CPPFLAGS'
61072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61080 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61081 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61083 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61085 for ac_func in _log10f
61087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61088 echo "$as_me:$LINENO: checking for $ac_func" >&5
61089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61090 if eval "test \"\${$as_ac_var+set}\" = set"; then
61091 echo $ECHO_N "(cached) $ECHO_C" >&6
61092 else
61093 if test x$gcc_no_link = xyes; then
61094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61096 { (exit 1); exit 1; }; }
61098 cat >conftest.$ac_ext <<_ACEOF
61099 /* confdefs.h. */
61100 _ACEOF
61101 cat confdefs.h >>conftest.$ac_ext
61102 cat >>conftest.$ac_ext <<_ACEOF
61103 /* end confdefs.h. */
61104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61106 #define $ac_func innocuous_$ac_func
61108 /* System header to define __stub macros and hopefully few prototypes,
61109 which can conflict with char $ac_func (); below.
61110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61111 <limits.h> exists even on freestanding compilers. */
61113 #ifdef __STDC__
61114 # include <limits.h>
61115 #else
61116 # include <assert.h>
61117 #endif
61119 #undef $ac_func
61121 /* Override any gcc2 internal prototype to avoid an error. */
61122 #ifdef __cplusplus
61123 extern "C"
61125 #endif
61126 /* We use char because int might match the return type of a gcc2
61127 builtin and then its argument prototype would still apply. */
61128 char $ac_func ();
61129 /* The GNU C library defines this for functions which it implements
61130 to always fail with ENOSYS. Some functions are actually named
61131 something starting with __ and the normal name is an alias. */
61132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61133 choke me
61134 #else
61135 char (*f) () = $ac_func;
61136 #endif
61137 #ifdef __cplusplus
61139 #endif
61142 main ()
61144 return f != $ac_func;
61146 return 0;
61148 _ACEOF
61149 rm -f conftest.$ac_objext conftest$ac_exeext
61150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61151 (eval $ac_link) 2>conftest.er1
61152 ac_status=$?
61153 grep -v '^ *+' conftest.er1 >conftest.err
61154 rm -f conftest.er1
61155 cat conftest.err >&5
61156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61157 (exit $ac_status); } &&
61158 { ac_try='test -z "$ac_c_werror_flag"
61159 || test ! -s conftest.err'
61160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61161 (eval $ac_try) 2>&5
61162 ac_status=$?
61163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61164 (exit $ac_status); }; } &&
61165 { ac_try='test -s conftest$ac_exeext'
61166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61167 (eval $ac_try) 2>&5
61168 ac_status=$?
61169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61170 (exit $ac_status); }; }; then
61171 eval "$as_ac_var=yes"
61172 else
61173 echo "$as_me: failed program was:" >&5
61174 sed 's/^/| /' conftest.$ac_ext >&5
61176 eval "$as_ac_var=no"
61178 rm -f conftest.err conftest.$ac_objext \
61179 conftest$ac_exeext conftest.$ac_ext
61181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61183 if test `eval echo '${'$as_ac_var'}'` = yes; then
61184 cat >>confdefs.h <<_ACEOF
61185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61186 _ACEOF
61189 done
61196 echo "$as_me:$LINENO: checking for modff declaration" >&5
61197 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61198 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61199 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61200 echo $ECHO_N "(cached) $ECHO_C" >&6
61201 else
61205 ac_ext=cc
61206 ac_cpp='$CXXCPP $CPPFLAGS'
61207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61211 cat >conftest.$ac_ext <<_ACEOF
61212 /* confdefs.h. */
61213 _ACEOF
61214 cat confdefs.h >>conftest.$ac_ext
61215 cat >>conftest.$ac_ext <<_ACEOF
61216 /* end confdefs.h. */
61217 #include <math.h>
61219 main ()
61221 modff(0, 0);
61223 return 0;
61225 _ACEOF
61226 rm -f conftest.$ac_objext
61227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61228 (eval $ac_compile) 2>conftest.er1
61229 ac_status=$?
61230 grep -v '^ *+' conftest.er1 >conftest.err
61231 rm -f conftest.er1
61232 cat conftest.err >&5
61233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61234 (exit $ac_status); } &&
61235 { ac_try='test -z "$ac_cxx_werror_flag"
61236 || test ! -s conftest.err'
61237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61238 (eval $ac_try) 2>&5
61239 ac_status=$?
61240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61241 (exit $ac_status); }; } &&
61242 { ac_try='test -s conftest.$ac_objext'
61243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61244 (eval $ac_try) 2>&5
61245 ac_status=$?
61246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61247 (exit $ac_status); }; }; then
61248 glibcxx_cv_func_modff_use=yes
61249 else
61250 echo "$as_me: failed program was:" >&5
61251 sed 's/^/| /' conftest.$ac_ext >&5
61253 glibcxx_cv_func_modff_use=no
61255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61256 ac_ext=c
61257 ac_cpp='$CPP $CPPFLAGS'
61258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61267 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61269 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61271 for ac_func in modff
61273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61274 echo "$as_me:$LINENO: checking for $ac_func" >&5
61275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61276 if eval "test \"\${$as_ac_var+set}\" = set"; then
61277 echo $ECHO_N "(cached) $ECHO_C" >&6
61278 else
61279 if test x$gcc_no_link = xyes; then
61280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61282 { (exit 1); exit 1; }; }
61284 cat >conftest.$ac_ext <<_ACEOF
61285 /* confdefs.h. */
61286 _ACEOF
61287 cat confdefs.h >>conftest.$ac_ext
61288 cat >>conftest.$ac_ext <<_ACEOF
61289 /* end confdefs.h. */
61290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61292 #define $ac_func innocuous_$ac_func
61294 /* System header to define __stub macros and hopefully few prototypes,
61295 which can conflict with char $ac_func (); below.
61296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61297 <limits.h> exists even on freestanding compilers. */
61299 #ifdef __STDC__
61300 # include <limits.h>
61301 #else
61302 # include <assert.h>
61303 #endif
61305 #undef $ac_func
61307 /* Override any gcc2 internal prototype to avoid an error. */
61308 #ifdef __cplusplus
61309 extern "C"
61311 #endif
61312 /* We use char because int might match the return type of a gcc2
61313 builtin and then its argument prototype would still apply. */
61314 char $ac_func ();
61315 /* The GNU C library defines this for functions which it implements
61316 to always fail with ENOSYS. Some functions are actually named
61317 something starting with __ and the normal name is an alias. */
61318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61319 choke me
61320 #else
61321 char (*f) () = $ac_func;
61322 #endif
61323 #ifdef __cplusplus
61325 #endif
61328 main ()
61330 return f != $ac_func;
61332 return 0;
61334 _ACEOF
61335 rm -f conftest.$ac_objext conftest$ac_exeext
61336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61337 (eval $ac_link) 2>conftest.er1
61338 ac_status=$?
61339 grep -v '^ *+' conftest.er1 >conftest.err
61340 rm -f conftest.er1
61341 cat conftest.err >&5
61342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61343 (exit $ac_status); } &&
61344 { ac_try='test -z "$ac_c_werror_flag"
61345 || test ! -s conftest.err'
61346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61347 (eval $ac_try) 2>&5
61348 ac_status=$?
61349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61350 (exit $ac_status); }; } &&
61351 { ac_try='test -s conftest$ac_exeext'
61352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61353 (eval $ac_try) 2>&5
61354 ac_status=$?
61355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61356 (exit $ac_status); }; }; then
61357 eval "$as_ac_var=yes"
61358 else
61359 echo "$as_me: failed program was:" >&5
61360 sed 's/^/| /' conftest.$ac_ext >&5
61362 eval "$as_ac_var=no"
61364 rm -f conftest.err conftest.$ac_objext \
61365 conftest$ac_exeext conftest.$ac_ext
61367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61369 if test `eval echo '${'$as_ac_var'}'` = yes; then
61370 cat >>confdefs.h <<_ACEOF
61371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61372 _ACEOF
61375 done
61377 else
61379 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61380 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61381 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61382 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61383 echo $ECHO_N "(cached) $ECHO_C" >&6
61384 else
61388 ac_ext=cc
61389 ac_cpp='$CXXCPP $CPPFLAGS'
61390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61394 cat >conftest.$ac_ext <<_ACEOF
61395 /* confdefs.h. */
61396 _ACEOF
61397 cat confdefs.h >>conftest.$ac_ext
61398 cat >>conftest.$ac_ext <<_ACEOF
61399 /* end confdefs.h. */
61400 #include <math.h>
61402 main ()
61404 _modff(0, 0);
61406 return 0;
61408 _ACEOF
61409 rm -f conftest.$ac_objext
61410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61411 (eval $ac_compile) 2>conftest.er1
61412 ac_status=$?
61413 grep -v '^ *+' conftest.er1 >conftest.err
61414 rm -f conftest.er1
61415 cat conftest.err >&5
61416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61417 (exit $ac_status); } &&
61418 { ac_try='test -z "$ac_cxx_werror_flag"
61419 || test ! -s conftest.err'
61420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61421 (eval $ac_try) 2>&5
61422 ac_status=$?
61423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61424 (exit $ac_status); }; } &&
61425 { ac_try='test -s conftest.$ac_objext'
61426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61427 (eval $ac_try) 2>&5
61428 ac_status=$?
61429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61430 (exit $ac_status); }; }; then
61431 glibcxx_cv_func__modff_use=yes
61432 else
61433 echo "$as_me: failed program was:" >&5
61434 sed 's/^/| /' conftest.$ac_ext >&5
61436 glibcxx_cv_func__modff_use=no
61438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61439 ac_ext=c
61440 ac_cpp='$CPP $CPPFLAGS'
61441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61449 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61450 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61452 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61454 for ac_func in _modff
61456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61457 echo "$as_me:$LINENO: checking for $ac_func" >&5
61458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61459 if eval "test \"\${$as_ac_var+set}\" = set"; then
61460 echo $ECHO_N "(cached) $ECHO_C" >&6
61461 else
61462 if test x$gcc_no_link = xyes; then
61463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61465 { (exit 1); exit 1; }; }
61467 cat >conftest.$ac_ext <<_ACEOF
61468 /* confdefs.h. */
61469 _ACEOF
61470 cat confdefs.h >>conftest.$ac_ext
61471 cat >>conftest.$ac_ext <<_ACEOF
61472 /* end confdefs.h. */
61473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61475 #define $ac_func innocuous_$ac_func
61477 /* System header to define __stub macros and hopefully few prototypes,
61478 which can conflict with char $ac_func (); below.
61479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61480 <limits.h> exists even on freestanding compilers. */
61482 #ifdef __STDC__
61483 # include <limits.h>
61484 #else
61485 # include <assert.h>
61486 #endif
61488 #undef $ac_func
61490 /* Override any gcc2 internal prototype to avoid an error. */
61491 #ifdef __cplusplus
61492 extern "C"
61494 #endif
61495 /* We use char because int might match the return type of a gcc2
61496 builtin and then its argument prototype would still apply. */
61497 char $ac_func ();
61498 /* The GNU C library defines this for functions which it implements
61499 to always fail with ENOSYS. Some functions are actually named
61500 something starting with __ and the normal name is an alias. */
61501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61502 choke me
61503 #else
61504 char (*f) () = $ac_func;
61505 #endif
61506 #ifdef __cplusplus
61508 #endif
61511 main ()
61513 return f != $ac_func;
61515 return 0;
61517 _ACEOF
61518 rm -f conftest.$ac_objext conftest$ac_exeext
61519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61520 (eval $ac_link) 2>conftest.er1
61521 ac_status=$?
61522 grep -v '^ *+' conftest.er1 >conftest.err
61523 rm -f conftest.er1
61524 cat conftest.err >&5
61525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61526 (exit $ac_status); } &&
61527 { ac_try='test -z "$ac_c_werror_flag"
61528 || test ! -s conftest.err'
61529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61530 (eval $ac_try) 2>&5
61531 ac_status=$?
61532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61533 (exit $ac_status); }; } &&
61534 { ac_try='test -s conftest$ac_exeext'
61535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61536 (eval $ac_try) 2>&5
61537 ac_status=$?
61538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61539 (exit $ac_status); }; }; then
61540 eval "$as_ac_var=yes"
61541 else
61542 echo "$as_me: failed program was:" >&5
61543 sed 's/^/| /' conftest.$ac_ext >&5
61545 eval "$as_ac_var=no"
61547 rm -f conftest.err conftest.$ac_objext \
61548 conftest$ac_exeext conftest.$ac_ext
61550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61552 if test `eval echo '${'$as_ac_var'}'` = yes; then
61553 cat >>confdefs.h <<_ACEOF
61554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61555 _ACEOF
61558 done
61565 echo "$as_me:$LINENO: checking for powf declaration" >&5
61566 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61567 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61568 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61569 echo $ECHO_N "(cached) $ECHO_C" >&6
61570 else
61574 ac_ext=cc
61575 ac_cpp='$CXXCPP $CPPFLAGS'
61576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61580 cat >conftest.$ac_ext <<_ACEOF
61581 /* confdefs.h. */
61582 _ACEOF
61583 cat confdefs.h >>conftest.$ac_ext
61584 cat >>conftest.$ac_ext <<_ACEOF
61585 /* end confdefs.h. */
61586 #include <math.h>
61588 main ()
61590 powf(0, 0);
61592 return 0;
61594 _ACEOF
61595 rm -f conftest.$ac_objext
61596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61597 (eval $ac_compile) 2>conftest.er1
61598 ac_status=$?
61599 grep -v '^ *+' conftest.er1 >conftest.err
61600 rm -f conftest.er1
61601 cat conftest.err >&5
61602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61603 (exit $ac_status); } &&
61604 { ac_try='test -z "$ac_cxx_werror_flag"
61605 || test ! -s conftest.err'
61606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61607 (eval $ac_try) 2>&5
61608 ac_status=$?
61609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61610 (exit $ac_status); }; } &&
61611 { ac_try='test -s conftest.$ac_objext'
61612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61613 (eval $ac_try) 2>&5
61614 ac_status=$?
61615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61616 (exit $ac_status); }; }; then
61617 glibcxx_cv_func_powf_use=yes
61618 else
61619 echo "$as_me: failed program was:" >&5
61620 sed 's/^/| /' conftest.$ac_ext >&5
61622 glibcxx_cv_func_powf_use=no
61624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61625 ac_ext=c
61626 ac_cpp='$CPP $CPPFLAGS'
61627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61635 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61636 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61638 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61640 for ac_func in powf
61642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61643 echo "$as_me:$LINENO: checking for $ac_func" >&5
61644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61645 if eval "test \"\${$as_ac_var+set}\" = set"; then
61646 echo $ECHO_N "(cached) $ECHO_C" >&6
61647 else
61648 if test x$gcc_no_link = xyes; then
61649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61651 { (exit 1); exit 1; }; }
61653 cat >conftest.$ac_ext <<_ACEOF
61654 /* confdefs.h. */
61655 _ACEOF
61656 cat confdefs.h >>conftest.$ac_ext
61657 cat >>conftest.$ac_ext <<_ACEOF
61658 /* end confdefs.h. */
61659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61661 #define $ac_func innocuous_$ac_func
61663 /* System header to define __stub macros and hopefully few prototypes,
61664 which can conflict with char $ac_func (); below.
61665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61666 <limits.h> exists even on freestanding compilers. */
61668 #ifdef __STDC__
61669 # include <limits.h>
61670 #else
61671 # include <assert.h>
61672 #endif
61674 #undef $ac_func
61676 /* Override any gcc2 internal prototype to avoid an error. */
61677 #ifdef __cplusplus
61678 extern "C"
61680 #endif
61681 /* We use char because int might match the return type of a gcc2
61682 builtin and then its argument prototype would still apply. */
61683 char $ac_func ();
61684 /* The GNU C library defines this for functions which it implements
61685 to always fail with ENOSYS. Some functions are actually named
61686 something starting with __ and the normal name is an alias. */
61687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61688 choke me
61689 #else
61690 char (*f) () = $ac_func;
61691 #endif
61692 #ifdef __cplusplus
61694 #endif
61697 main ()
61699 return f != $ac_func;
61701 return 0;
61703 _ACEOF
61704 rm -f conftest.$ac_objext conftest$ac_exeext
61705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61706 (eval $ac_link) 2>conftest.er1
61707 ac_status=$?
61708 grep -v '^ *+' conftest.er1 >conftest.err
61709 rm -f conftest.er1
61710 cat conftest.err >&5
61711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61712 (exit $ac_status); } &&
61713 { ac_try='test -z "$ac_c_werror_flag"
61714 || test ! -s conftest.err'
61715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61716 (eval $ac_try) 2>&5
61717 ac_status=$?
61718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61719 (exit $ac_status); }; } &&
61720 { ac_try='test -s conftest$ac_exeext'
61721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61722 (eval $ac_try) 2>&5
61723 ac_status=$?
61724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61725 (exit $ac_status); }; }; then
61726 eval "$as_ac_var=yes"
61727 else
61728 echo "$as_me: failed program was:" >&5
61729 sed 's/^/| /' conftest.$ac_ext >&5
61731 eval "$as_ac_var=no"
61733 rm -f conftest.err conftest.$ac_objext \
61734 conftest$ac_exeext conftest.$ac_ext
61736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61738 if test `eval echo '${'$as_ac_var'}'` = yes; then
61739 cat >>confdefs.h <<_ACEOF
61740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61741 _ACEOF
61744 done
61746 else
61748 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61749 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61750 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61751 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61752 echo $ECHO_N "(cached) $ECHO_C" >&6
61753 else
61757 ac_ext=cc
61758 ac_cpp='$CXXCPP $CPPFLAGS'
61759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61763 cat >conftest.$ac_ext <<_ACEOF
61764 /* confdefs.h. */
61765 _ACEOF
61766 cat confdefs.h >>conftest.$ac_ext
61767 cat >>conftest.$ac_ext <<_ACEOF
61768 /* end confdefs.h. */
61769 #include <math.h>
61771 main ()
61773 _powf(0, 0);
61775 return 0;
61777 _ACEOF
61778 rm -f conftest.$ac_objext
61779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61780 (eval $ac_compile) 2>conftest.er1
61781 ac_status=$?
61782 grep -v '^ *+' conftest.er1 >conftest.err
61783 rm -f conftest.er1
61784 cat conftest.err >&5
61785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61786 (exit $ac_status); } &&
61787 { ac_try='test -z "$ac_cxx_werror_flag"
61788 || test ! -s conftest.err'
61789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61790 (eval $ac_try) 2>&5
61791 ac_status=$?
61792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61793 (exit $ac_status); }; } &&
61794 { ac_try='test -s conftest.$ac_objext'
61795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61796 (eval $ac_try) 2>&5
61797 ac_status=$?
61798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61799 (exit $ac_status); }; }; then
61800 glibcxx_cv_func__powf_use=yes
61801 else
61802 echo "$as_me: failed program was:" >&5
61803 sed 's/^/| /' conftest.$ac_ext >&5
61805 glibcxx_cv_func__powf_use=no
61807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61808 ac_ext=c
61809 ac_cpp='$CPP $CPPFLAGS'
61810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61818 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61819 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61821 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61823 for ac_func in _powf
61825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61826 echo "$as_me:$LINENO: checking for $ac_func" >&5
61827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61828 if eval "test \"\${$as_ac_var+set}\" = set"; then
61829 echo $ECHO_N "(cached) $ECHO_C" >&6
61830 else
61831 if test x$gcc_no_link = xyes; then
61832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61834 { (exit 1); exit 1; }; }
61836 cat >conftest.$ac_ext <<_ACEOF
61837 /* confdefs.h. */
61838 _ACEOF
61839 cat confdefs.h >>conftest.$ac_ext
61840 cat >>conftest.$ac_ext <<_ACEOF
61841 /* end confdefs.h. */
61842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61844 #define $ac_func innocuous_$ac_func
61846 /* System header to define __stub macros and hopefully few prototypes,
61847 which can conflict with char $ac_func (); below.
61848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61849 <limits.h> exists even on freestanding compilers. */
61851 #ifdef __STDC__
61852 # include <limits.h>
61853 #else
61854 # include <assert.h>
61855 #endif
61857 #undef $ac_func
61859 /* Override any gcc2 internal prototype to avoid an error. */
61860 #ifdef __cplusplus
61861 extern "C"
61863 #endif
61864 /* We use char because int might match the return type of a gcc2
61865 builtin and then its argument prototype would still apply. */
61866 char $ac_func ();
61867 /* The GNU C library defines this for functions which it implements
61868 to always fail with ENOSYS. Some functions are actually named
61869 something starting with __ and the normal name is an alias. */
61870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61871 choke me
61872 #else
61873 char (*f) () = $ac_func;
61874 #endif
61875 #ifdef __cplusplus
61877 #endif
61880 main ()
61882 return f != $ac_func;
61884 return 0;
61886 _ACEOF
61887 rm -f conftest.$ac_objext conftest$ac_exeext
61888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61889 (eval $ac_link) 2>conftest.er1
61890 ac_status=$?
61891 grep -v '^ *+' conftest.er1 >conftest.err
61892 rm -f conftest.er1
61893 cat conftest.err >&5
61894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61895 (exit $ac_status); } &&
61896 { ac_try='test -z "$ac_c_werror_flag"
61897 || test ! -s conftest.err'
61898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61899 (eval $ac_try) 2>&5
61900 ac_status=$?
61901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61902 (exit $ac_status); }; } &&
61903 { ac_try='test -s conftest$ac_exeext'
61904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61905 (eval $ac_try) 2>&5
61906 ac_status=$?
61907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61908 (exit $ac_status); }; }; then
61909 eval "$as_ac_var=yes"
61910 else
61911 echo "$as_me: failed program was:" >&5
61912 sed 's/^/| /' conftest.$ac_ext >&5
61914 eval "$as_ac_var=no"
61916 rm -f conftest.err conftest.$ac_objext \
61917 conftest$ac_exeext conftest.$ac_ext
61919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61921 if test `eval echo '${'$as_ac_var'}'` = yes; then
61922 cat >>confdefs.h <<_ACEOF
61923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61924 _ACEOF
61927 done
61934 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61935 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61936 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61937 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61938 echo $ECHO_N "(cached) $ECHO_C" >&6
61939 else
61943 ac_ext=cc
61944 ac_cpp='$CXXCPP $CPPFLAGS'
61945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61949 cat >conftest.$ac_ext <<_ACEOF
61950 /* confdefs.h. */
61951 _ACEOF
61952 cat confdefs.h >>conftest.$ac_ext
61953 cat >>conftest.$ac_ext <<_ACEOF
61954 /* end confdefs.h. */
61955 #include <math.h>
61956 #ifdef HAVE_IEEEFP_H
61957 #include <ieeefp.h>
61958 #endif
61961 main ()
61963 sqrtf(0);
61965 return 0;
61967 _ACEOF
61968 rm -f conftest.$ac_objext
61969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61970 (eval $ac_compile) 2>conftest.er1
61971 ac_status=$?
61972 grep -v '^ *+' conftest.er1 >conftest.err
61973 rm -f conftest.er1
61974 cat conftest.err >&5
61975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61976 (exit $ac_status); } &&
61977 { ac_try='test -z "$ac_cxx_werror_flag"
61978 || test ! -s conftest.err'
61979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61980 (eval $ac_try) 2>&5
61981 ac_status=$?
61982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61983 (exit $ac_status); }; } &&
61984 { ac_try='test -s conftest.$ac_objext'
61985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61986 (eval $ac_try) 2>&5
61987 ac_status=$?
61988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61989 (exit $ac_status); }; }; then
61990 glibcxx_cv_func_sqrtf_use=yes
61991 else
61992 echo "$as_me: failed program was:" >&5
61993 sed 's/^/| /' conftest.$ac_ext >&5
61995 glibcxx_cv_func_sqrtf_use=no
61997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61998 ac_ext=c
61999 ac_cpp='$CPP $CPPFLAGS'
62000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62009 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62011 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62013 for ac_func in sqrtf
62015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62016 echo "$as_me:$LINENO: checking for $ac_func" >&5
62017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62018 if eval "test \"\${$as_ac_var+set}\" = set"; then
62019 echo $ECHO_N "(cached) $ECHO_C" >&6
62020 else
62021 if test x$gcc_no_link = xyes; then
62022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62024 { (exit 1); exit 1; }; }
62026 cat >conftest.$ac_ext <<_ACEOF
62027 /* confdefs.h. */
62028 _ACEOF
62029 cat confdefs.h >>conftest.$ac_ext
62030 cat >>conftest.$ac_ext <<_ACEOF
62031 /* end confdefs.h. */
62032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62034 #define $ac_func innocuous_$ac_func
62036 /* System header to define __stub macros and hopefully few prototypes,
62037 which can conflict with char $ac_func (); below.
62038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62039 <limits.h> exists even on freestanding compilers. */
62041 #ifdef __STDC__
62042 # include <limits.h>
62043 #else
62044 # include <assert.h>
62045 #endif
62047 #undef $ac_func
62049 /* Override any gcc2 internal prototype to avoid an error. */
62050 #ifdef __cplusplus
62051 extern "C"
62053 #endif
62054 /* We use char because int might match the return type of a gcc2
62055 builtin and then its argument prototype would still apply. */
62056 char $ac_func ();
62057 /* The GNU C library defines this for functions which it implements
62058 to always fail with ENOSYS. Some functions are actually named
62059 something starting with __ and the normal name is an alias. */
62060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62061 choke me
62062 #else
62063 char (*f) () = $ac_func;
62064 #endif
62065 #ifdef __cplusplus
62067 #endif
62070 main ()
62072 return f != $ac_func;
62074 return 0;
62076 _ACEOF
62077 rm -f conftest.$ac_objext conftest$ac_exeext
62078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62079 (eval $ac_link) 2>conftest.er1
62080 ac_status=$?
62081 grep -v '^ *+' conftest.er1 >conftest.err
62082 rm -f conftest.er1
62083 cat conftest.err >&5
62084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62085 (exit $ac_status); } &&
62086 { ac_try='test -z "$ac_c_werror_flag"
62087 || test ! -s conftest.err'
62088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62089 (eval $ac_try) 2>&5
62090 ac_status=$?
62091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62092 (exit $ac_status); }; } &&
62093 { ac_try='test -s conftest$ac_exeext'
62094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62095 (eval $ac_try) 2>&5
62096 ac_status=$?
62097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62098 (exit $ac_status); }; }; then
62099 eval "$as_ac_var=yes"
62100 else
62101 echo "$as_me: failed program was:" >&5
62102 sed 's/^/| /' conftest.$ac_ext >&5
62104 eval "$as_ac_var=no"
62106 rm -f conftest.err conftest.$ac_objext \
62107 conftest$ac_exeext conftest.$ac_ext
62109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62111 if test `eval echo '${'$as_ac_var'}'` = yes; then
62112 cat >>confdefs.h <<_ACEOF
62113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62114 _ACEOF
62117 done
62119 else
62121 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62122 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62123 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62124 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62125 echo $ECHO_N "(cached) $ECHO_C" >&6
62126 else
62130 ac_ext=cc
62131 ac_cpp='$CXXCPP $CPPFLAGS'
62132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62136 cat >conftest.$ac_ext <<_ACEOF
62137 /* confdefs.h. */
62138 _ACEOF
62139 cat confdefs.h >>conftest.$ac_ext
62140 cat >>conftest.$ac_ext <<_ACEOF
62141 /* end confdefs.h. */
62142 #include <math.h>
62143 #ifdef HAVE_IEEEFP_H
62144 #include <ieeefp.h>
62145 #endif
62148 main ()
62150 _sqrtf(0);
62152 return 0;
62154 _ACEOF
62155 rm -f conftest.$ac_objext
62156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62157 (eval $ac_compile) 2>conftest.er1
62158 ac_status=$?
62159 grep -v '^ *+' conftest.er1 >conftest.err
62160 rm -f conftest.er1
62161 cat conftest.err >&5
62162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62163 (exit $ac_status); } &&
62164 { ac_try='test -z "$ac_cxx_werror_flag"
62165 || test ! -s conftest.err'
62166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62167 (eval $ac_try) 2>&5
62168 ac_status=$?
62169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62170 (exit $ac_status); }; } &&
62171 { ac_try='test -s conftest.$ac_objext'
62172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62173 (eval $ac_try) 2>&5
62174 ac_status=$?
62175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62176 (exit $ac_status); }; }; then
62177 glibcxx_cv_func__sqrtf_use=yes
62178 else
62179 echo "$as_me: failed program was:" >&5
62180 sed 's/^/| /' conftest.$ac_ext >&5
62182 glibcxx_cv_func__sqrtf_use=no
62184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62185 ac_ext=c
62186 ac_cpp='$CPP $CPPFLAGS'
62187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62195 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62196 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62198 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62200 for ac_func in _sqrtf
62202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62203 echo "$as_me:$LINENO: checking for $ac_func" >&5
62204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62205 if eval "test \"\${$as_ac_var+set}\" = set"; then
62206 echo $ECHO_N "(cached) $ECHO_C" >&6
62207 else
62208 if test x$gcc_no_link = xyes; then
62209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62211 { (exit 1); exit 1; }; }
62213 cat >conftest.$ac_ext <<_ACEOF
62214 /* confdefs.h. */
62215 _ACEOF
62216 cat confdefs.h >>conftest.$ac_ext
62217 cat >>conftest.$ac_ext <<_ACEOF
62218 /* end confdefs.h. */
62219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62221 #define $ac_func innocuous_$ac_func
62223 /* System header to define __stub macros and hopefully few prototypes,
62224 which can conflict with char $ac_func (); below.
62225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62226 <limits.h> exists even on freestanding compilers. */
62228 #ifdef __STDC__
62229 # include <limits.h>
62230 #else
62231 # include <assert.h>
62232 #endif
62234 #undef $ac_func
62236 /* Override any gcc2 internal prototype to avoid an error. */
62237 #ifdef __cplusplus
62238 extern "C"
62240 #endif
62241 /* We use char because int might match the return type of a gcc2
62242 builtin and then its argument prototype would still apply. */
62243 char $ac_func ();
62244 /* The GNU C library defines this for functions which it implements
62245 to always fail with ENOSYS. Some functions are actually named
62246 something starting with __ and the normal name is an alias. */
62247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62248 choke me
62249 #else
62250 char (*f) () = $ac_func;
62251 #endif
62252 #ifdef __cplusplus
62254 #endif
62257 main ()
62259 return f != $ac_func;
62261 return 0;
62263 _ACEOF
62264 rm -f conftest.$ac_objext conftest$ac_exeext
62265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62266 (eval $ac_link) 2>conftest.er1
62267 ac_status=$?
62268 grep -v '^ *+' conftest.er1 >conftest.err
62269 rm -f conftest.er1
62270 cat conftest.err >&5
62271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62272 (exit $ac_status); } &&
62273 { ac_try='test -z "$ac_c_werror_flag"
62274 || test ! -s conftest.err'
62275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62276 (eval $ac_try) 2>&5
62277 ac_status=$?
62278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62279 (exit $ac_status); }; } &&
62280 { ac_try='test -s conftest$ac_exeext'
62281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62282 (eval $ac_try) 2>&5
62283 ac_status=$?
62284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62285 (exit $ac_status); }; }; then
62286 eval "$as_ac_var=yes"
62287 else
62288 echo "$as_me: failed program was:" >&5
62289 sed 's/^/| /' conftest.$ac_ext >&5
62291 eval "$as_ac_var=no"
62293 rm -f conftest.err conftest.$ac_objext \
62294 conftest$ac_exeext conftest.$ac_ext
62296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62298 if test `eval echo '${'$as_ac_var'}'` = yes; then
62299 cat >>confdefs.h <<_ACEOF
62300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62301 _ACEOF
62304 done
62311 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62312 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62313 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62314 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62315 echo $ECHO_N "(cached) $ECHO_C" >&6
62316 else
62320 ac_ext=cc
62321 ac_cpp='$CXXCPP $CPPFLAGS'
62322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62326 cat >conftest.$ac_ext <<_ACEOF
62327 /* confdefs.h. */
62328 _ACEOF
62329 cat confdefs.h >>conftest.$ac_ext
62330 cat >>conftest.$ac_ext <<_ACEOF
62331 /* end confdefs.h. */
62332 #include <math.h>
62334 main ()
62336 sincosf(0, 0, 0);
62338 return 0;
62340 _ACEOF
62341 rm -f conftest.$ac_objext
62342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62343 (eval $ac_compile) 2>conftest.er1
62344 ac_status=$?
62345 grep -v '^ *+' conftest.er1 >conftest.err
62346 rm -f conftest.er1
62347 cat conftest.err >&5
62348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62349 (exit $ac_status); } &&
62350 { ac_try='test -z "$ac_cxx_werror_flag"
62351 || test ! -s conftest.err'
62352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62353 (eval $ac_try) 2>&5
62354 ac_status=$?
62355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62356 (exit $ac_status); }; } &&
62357 { ac_try='test -s conftest.$ac_objext'
62358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62359 (eval $ac_try) 2>&5
62360 ac_status=$?
62361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62362 (exit $ac_status); }; }; then
62363 glibcxx_cv_func_sincosf_use=yes
62364 else
62365 echo "$as_me: failed program was:" >&5
62366 sed 's/^/| /' conftest.$ac_ext >&5
62368 glibcxx_cv_func_sincosf_use=no
62370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62371 ac_ext=c
62372 ac_cpp='$CPP $CPPFLAGS'
62373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62381 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62382 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62384 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62386 for ac_func in sincosf
62388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62389 echo "$as_me:$LINENO: checking for $ac_func" >&5
62390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62391 if eval "test \"\${$as_ac_var+set}\" = set"; then
62392 echo $ECHO_N "(cached) $ECHO_C" >&6
62393 else
62394 if test x$gcc_no_link = xyes; then
62395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62397 { (exit 1); exit 1; }; }
62399 cat >conftest.$ac_ext <<_ACEOF
62400 /* confdefs.h. */
62401 _ACEOF
62402 cat confdefs.h >>conftest.$ac_ext
62403 cat >>conftest.$ac_ext <<_ACEOF
62404 /* end confdefs.h. */
62405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62407 #define $ac_func innocuous_$ac_func
62409 /* System header to define __stub macros and hopefully few prototypes,
62410 which can conflict with char $ac_func (); below.
62411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62412 <limits.h> exists even on freestanding compilers. */
62414 #ifdef __STDC__
62415 # include <limits.h>
62416 #else
62417 # include <assert.h>
62418 #endif
62420 #undef $ac_func
62422 /* Override any gcc2 internal prototype to avoid an error. */
62423 #ifdef __cplusplus
62424 extern "C"
62426 #endif
62427 /* We use char because int might match the return type of a gcc2
62428 builtin and then its argument prototype would still apply. */
62429 char $ac_func ();
62430 /* The GNU C library defines this for functions which it implements
62431 to always fail with ENOSYS. Some functions are actually named
62432 something starting with __ and the normal name is an alias. */
62433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62434 choke me
62435 #else
62436 char (*f) () = $ac_func;
62437 #endif
62438 #ifdef __cplusplus
62440 #endif
62443 main ()
62445 return f != $ac_func;
62447 return 0;
62449 _ACEOF
62450 rm -f conftest.$ac_objext conftest$ac_exeext
62451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62452 (eval $ac_link) 2>conftest.er1
62453 ac_status=$?
62454 grep -v '^ *+' conftest.er1 >conftest.err
62455 rm -f conftest.er1
62456 cat conftest.err >&5
62457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62458 (exit $ac_status); } &&
62459 { ac_try='test -z "$ac_c_werror_flag"
62460 || test ! -s conftest.err'
62461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62462 (eval $ac_try) 2>&5
62463 ac_status=$?
62464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62465 (exit $ac_status); }; } &&
62466 { ac_try='test -s conftest$ac_exeext'
62467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62468 (eval $ac_try) 2>&5
62469 ac_status=$?
62470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62471 (exit $ac_status); }; }; then
62472 eval "$as_ac_var=yes"
62473 else
62474 echo "$as_me: failed program was:" >&5
62475 sed 's/^/| /' conftest.$ac_ext >&5
62477 eval "$as_ac_var=no"
62479 rm -f conftest.err conftest.$ac_objext \
62480 conftest$ac_exeext conftest.$ac_ext
62482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62484 if test `eval echo '${'$as_ac_var'}'` = yes; then
62485 cat >>confdefs.h <<_ACEOF
62486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62487 _ACEOF
62490 done
62492 else
62494 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62495 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62496 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62497 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62498 echo $ECHO_N "(cached) $ECHO_C" >&6
62499 else
62503 ac_ext=cc
62504 ac_cpp='$CXXCPP $CPPFLAGS'
62505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62509 cat >conftest.$ac_ext <<_ACEOF
62510 /* confdefs.h. */
62511 _ACEOF
62512 cat confdefs.h >>conftest.$ac_ext
62513 cat >>conftest.$ac_ext <<_ACEOF
62514 /* end confdefs.h. */
62515 #include <math.h>
62517 main ()
62519 _sincosf(0, 0, 0);
62521 return 0;
62523 _ACEOF
62524 rm -f conftest.$ac_objext
62525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62526 (eval $ac_compile) 2>conftest.er1
62527 ac_status=$?
62528 grep -v '^ *+' conftest.er1 >conftest.err
62529 rm -f conftest.er1
62530 cat conftest.err >&5
62531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62532 (exit $ac_status); } &&
62533 { ac_try='test -z "$ac_cxx_werror_flag"
62534 || test ! -s conftest.err'
62535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62536 (eval $ac_try) 2>&5
62537 ac_status=$?
62538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62539 (exit $ac_status); }; } &&
62540 { ac_try='test -s conftest.$ac_objext'
62541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62542 (eval $ac_try) 2>&5
62543 ac_status=$?
62544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62545 (exit $ac_status); }; }; then
62546 glibcxx_cv_func__sincosf_use=yes
62547 else
62548 echo "$as_me: failed program was:" >&5
62549 sed 's/^/| /' conftest.$ac_ext >&5
62551 glibcxx_cv_func__sincosf_use=no
62553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62554 ac_ext=c
62555 ac_cpp='$CPP $CPPFLAGS'
62556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62564 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62565 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62567 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62569 for ac_func in _sincosf
62571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62572 echo "$as_me:$LINENO: checking for $ac_func" >&5
62573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62574 if eval "test \"\${$as_ac_var+set}\" = set"; then
62575 echo $ECHO_N "(cached) $ECHO_C" >&6
62576 else
62577 if test x$gcc_no_link = xyes; then
62578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62580 { (exit 1); exit 1; }; }
62582 cat >conftest.$ac_ext <<_ACEOF
62583 /* confdefs.h. */
62584 _ACEOF
62585 cat confdefs.h >>conftest.$ac_ext
62586 cat >>conftest.$ac_ext <<_ACEOF
62587 /* end confdefs.h. */
62588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62590 #define $ac_func innocuous_$ac_func
62592 /* System header to define __stub macros and hopefully few prototypes,
62593 which can conflict with char $ac_func (); below.
62594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62595 <limits.h> exists even on freestanding compilers. */
62597 #ifdef __STDC__
62598 # include <limits.h>
62599 #else
62600 # include <assert.h>
62601 #endif
62603 #undef $ac_func
62605 /* Override any gcc2 internal prototype to avoid an error. */
62606 #ifdef __cplusplus
62607 extern "C"
62609 #endif
62610 /* We use char because int might match the return type of a gcc2
62611 builtin and then its argument prototype would still apply. */
62612 char $ac_func ();
62613 /* The GNU C library defines this for functions which it implements
62614 to always fail with ENOSYS. Some functions are actually named
62615 something starting with __ and the normal name is an alias. */
62616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62617 choke me
62618 #else
62619 char (*f) () = $ac_func;
62620 #endif
62621 #ifdef __cplusplus
62623 #endif
62626 main ()
62628 return f != $ac_func;
62630 return 0;
62632 _ACEOF
62633 rm -f conftest.$ac_objext conftest$ac_exeext
62634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62635 (eval $ac_link) 2>conftest.er1
62636 ac_status=$?
62637 grep -v '^ *+' conftest.er1 >conftest.err
62638 rm -f conftest.er1
62639 cat conftest.err >&5
62640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62641 (exit $ac_status); } &&
62642 { ac_try='test -z "$ac_c_werror_flag"
62643 || test ! -s conftest.err'
62644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62645 (eval $ac_try) 2>&5
62646 ac_status=$?
62647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62648 (exit $ac_status); }; } &&
62649 { ac_try='test -s conftest$ac_exeext'
62650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62651 (eval $ac_try) 2>&5
62652 ac_status=$?
62653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62654 (exit $ac_status); }; }; then
62655 eval "$as_ac_var=yes"
62656 else
62657 echo "$as_me: failed program was:" >&5
62658 sed 's/^/| /' conftest.$ac_ext >&5
62660 eval "$as_ac_var=no"
62662 rm -f conftest.err conftest.$ac_objext \
62663 conftest$ac_exeext conftest.$ac_ext
62665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62667 if test `eval echo '${'$as_ac_var'}'` = yes; then
62668 cat >>confdefs.h <<_ACEOF
62669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62670 _ACEOF
62673 done
62680 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62681 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62682 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62683 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62684 echo $ECHO_N "(cached) $ECHO_C" >&6
62685 else
62689 ac_ext=cc
62690 ac_cpp='$CXXCPP $CPPFLAGS'
62691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62695 cat >conftest.$ac_ext <<_ACEOF
62696 /* confdefs.h. */
62697 _ACEOF
62698 cat confdefs.h >>conftest.$ac_ext
62699 cat >>conftest.$ac_ext <<_ACEOF
62700 /* end confdefs.h. */
62701 #include <math.h>
62702 #ifdef HAVE_IEEEFP_H
62703 #include <ieeefp.h>
62704 #endif
62707 main ()
62709 finitef(0);
62711 return 0;
62713 _ACEOF
62714 rm -f conftest.$ac_objext
62715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62716 (eval $ac_compile) 2>conftest.er1
62717 ac_status=$?
62718 grep -v '^ *+' conftest.er1 >conftest.err
62719 rm -f conftest.er1
62720 cat conftest.err >&5
62721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62722 (exit $ac_status); } &&
62723 { ac_try='test -z "$ac_cxx_werror_flag"
62724 || test ! -s conftest.err'
62725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62726 (eval $ac_try) 2>&5
62727 ac_status=$?
62728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62729 (exit $ac_status); }; } &&
62730 { ac_try='test -s conftest.$ac_objext'
62731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62732 (eval $ac_try) 2>&5
62733 ac_status=$?
62734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62735 (exit $ac_status); }; }; then
62736 glibcxx_cv_func_finitef_use=yes
62737 else
62738 echo "$as_me: failed program was:" >&5
62739 sed 's/^/| /' conftest.$ac_ext >&5
62741 glibcxx_cv_func_finitef_use=no
62743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62744 ac_ext=c
62745 ac_cpp='$CPP $CPPFLAGS'
62746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62755 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62757 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62759 for ac_func in finitef
62761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62762 echo "$as_me:$LINENO: checking for $ac_func" >&5
62763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62764 if eval "test \"\${$as_ac_var+set}\" = set"; then
62765 echo $ECHO_N "(cached) $ECHO_C" >&6
62766 else
62767 if test x$gcc_no_link = xyes; then
62768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62770 { (exit 1); exit 1; }; }
62772 cat >conftest.$ac_ext <<_ACEOF
62773 /* confdefs.h. */
62774 _ACEOF
62775 cat confdefs.h >>conftest.$ac_ext
62776 cat >>conftest.$ac_ext <<_ACEOF
62777 /* end confdefs.h. */
62778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62780 #define $ac_func innocuous_$ac_func
62782 /* System header to define __stub macros and hopefully few prototypes,
62783 which can conflict with char $ac_func (); below.
62784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62785 <limits.h> exists even on freestanding compilers. */
62787 #ifdef __STDC__
62788 # include <limits.h>
62789 #else
62790 # include <assert.h>
62791 #endif
62793 #undef $ac_func
62795 /* Override any gcc2 internal prototype to avoid an error. */
62796 #ifdef __cplusplus
62797 extern "C"
62799 #endif
62800 /* We use char because int might match the return type of a gcc2
62801 builtin and then its argument prototype would still apply. */
62802 char $ac_func ();
62803 /* The GNU C library defines this for functions which it implements
62804 to always fail with ENOSYS. Some functions are actually named
62805 something starting with __ and the normal name is an alias. */
62806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62807 choke me
62808 #else
62809 char (*f) () = $ac_func;
62810 #endif
62811 #ifdef __cplusplus
62813 #endif
62816 main ()
62818 return f != $ac_func;
62820 return 0;
62822 _ACEOF
62823 rm -f conftest.$ac_objext conftest$ac_exeext
62824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62825 (eval $ac_link) 2>conftest.er1
62826 ac_status=$?
62827 grep -v '^ *+' conftest.er1 >conftest.err
62828 rm -f conftest.er1
62829 cat conftest.err >&5
62830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62831 (exit $ac_status); } &&
62832 { ac_try='test -z "$ac_c_werror_flag"
62833 || test ! -s conftest.err'
62834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62835 (eval $ac_try) 2>&5
62836 ac_status=$?
62837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62838 (exit $ac_status); }; } &&
62839 { ac_try='test -s conftest$ac_exeext'
62840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62841 (eval $ac_try) 2>&5
62842 ac_status=$?
62843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62844 (exit $ac_status); }; }; then
62845 eval "$as_ac_var=yes"
62846 else
62847 echo "$as_me: failed program was:" >&5
62848 sed 's/^/| /' conftest.$ac_ext >&5
62850 eval "$as_ac_var=no"
62852 rm -f conftest.err conftest.$ac_objext \
62853 conftest$ac_exeext conftest.$ac_ext
62855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62857 if test `eval echo '${'$as_ac_var'}'` = yes; then
62858 cat >>confdefs.h <<_ACEOF
62859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62860 _ACEOF
62863 done
62865 else
62867 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62868 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62869 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62870 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62871 echo $ECHO_N "(cached) $ECHO_C" >&6
62872 else
62876 ac_ext=cc
62877 ac_cpp='$CXXCPP $CPPFLAGS'
62878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62882 cat >conftest.$ac_ext <<_ACEOF
62883 /* confdefs.h. */
62884 _ACEOF
62885 cat confdefs.h >>conftest.$ac_ext
62886 cat >>conftest.$ac_ext <<_ACEOF
62887 /* end confdefs.h. */
62888 #include <math.h>
62889 #ifdef HAVE_IEEEFP_H
62890 #include <ieeefp.h>
62891 #endif
62894 main ()
62896 _finitef(0);
62898 return 0;
62900 _ACEOF
62901 rm -f conftest.$ac_objext
62902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62903 (eval $ac_compile) 2>conftest.er1
62904 ac_status=$?
62905 grep -v '^ *+' conftest.er1 >conftest.err
62906 rm -f conftest.er1
62907 cat conftest.err >&5
62908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62909 (exit $ac_status); } &&
62910 { ac_try='test -z "$ac_cxx_werror_flag"
62911 || test ! -s conftest.err'
62912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62913 (eval $ac_try) 2>&5
62914 ac_status=$?
62915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62916 (exit $ac_status); }; } &&
62917 { ac_try='test -s conftest.$ac_objext'
62918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62919 (eval $ac_try) 2>&5
62920 ac_status=$?
62921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62922 (exit $ac_status); }; }; then
62923 glibcxx_cv_func__finitef_use=yes
62924 else
62925 echo "$as_me: failed program was:" >&5
62926 sed 's/^/| /' conftest.$ac_ext >&5
62928 glibcxx_cv_func__finitef_use=no
62930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62931 ac_ext=c
62932 ac_cpp='$CPP $CPPFLAGS'
62933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62941 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62942 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62944 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62946 for ac_func in _finitef
62948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62949 echo "$as_me:$LINENO: checking for $ac_func" >&5
62950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62951 if eval "test \"\${$as_ac_var+set}\" = set"; then
62952 echo $ECHO_N "(cached) $ECHO_C" >&6
62953 else
62954 if test x$gcc_no_link = xyes; then
62955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62957 { (exit 1); exit 1; }; }
62959 cat >conftest.$ac_ext <<_ACEOF
62960 /* confdefs.h. */
62961 _ACEOF
62962 cat confdefs.h >>conftest.$ac_ext
62963 cat >>conftest.$ac_ext <<_ACEOF
62964 /* end confdefs.h. */
62965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62967 #define $ac_func innocuous_$ac_func
62969 /* System header to define __stub macros and hopefully few prototypes,
62970 which can conflict with char $ac_func (); below.
62971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62972 <limits.h> exists even on freestanding compilers. */
62974 #ifdef __STDC__
62975 # include <limits.h>
62976 #else
62977 # include <assert.h>
62978 #endif
62980 #undef $ac_func
62982 /* Override any gcc2 internal prototype to avoid an error. */
62983 #ifdef __cplusplus
62984 extern "C"
62986 #endif
62987 /* We use char because int might match the return type of a gcc2
62988 builtin and then its argument prototype would still apply. */
62989 char $ac_func ();
62990 /* The GNU C library defines this for functions which it implements
62991 to always fail with ENOSYS. Some functions are actually named
62992 something starting with __ and the normal name is an alias. */
62993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62994 choke me
62995 #else
62996 char (*f) () = $ac_func;
62997 #endif
62998 #ifdef __cplusplus
63000 #endif
63003 main ()
63005 return f != $ac_func;
63007 return 0;
63009 _ACEOF
63010 rm -f conftest.$ac_objext conftest$ac_exeext
63011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63012 (eval $ac_link) 2>conftest.er1
63013 ac_status=$?
63014 grep -v '^ *+' conftest.er1 >conftest.err
63015 rm -f conftest.er1
63016 cat conftest.err >&5
63017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63018 (exit $ac_status); } &&
63019 { ac_try='test -z "$ac_c_werror_flag"
63020 || test ! -s conftest.err'
63021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63022 (eval $ac_try) 2>&5
63023 ac_status=$?
63024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63025 (exit $ac_status); }; } &&
63026 { ac_try='test -s conftest$ac_exeext'
63027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63028 (eval $ac_try) 2>&5
63029 ac_status=$?
63030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63031 (exit $ac_status); }; }; then
63032 eval "$as_ac_var=yes"
63033 else
63034 echo "$as_me: failed program was:" >&5
63035 sed 's/^/| /' conftest.$ac_ext >&5
63037 eval "$as_ac_var=no"
63039 rm -f conftest.err conftest.$ac_objext \
63040 conftest$ac_exeext conftest.$ac_ext
63042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63044 if test `eval echo '${'$as_ac_var'}'` = yes; then
63045 cat >>confdefs.h <<_ACEOF
63046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63047 _ACEOF
63050 done
63057 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63058 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63059 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63060 echo $ECHO_N "(cached) $ECHO_C" >&6
63061 else
63065 ac_ext=cc
63066 ac_cpp='$CXXCPP $CPPFLAGS'
63067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63071 cat >conftest.$ac_ext <<_ACEOF
63072 /* confdefs.h. */
63073 _ACEOF
63074 cat confdefs.h >>conftest.$ac_ext
63075 cat >>conftest.$ac_ext <<_ACEOF
63076 /* end confdefs.h. */
63077 #include <math.h>
63079 main ()
63081 `for x in acosl asinl atanl \
63082 cosl sinl tanl \
63083 coshl sinhl tanhl; do echo "$x (0);"; done`
63085 return 0;
63087 _ACEOF
63088 rm -f conftest.$ac_objext
63089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63090 (eval $ac_compile) 2>conftest.er1
63091 ac_status=$?
63092 grep -v '^ *+' conftest.er1 >conftest.err
63093 rm -f conftest.er1
63094 cat conftest.err >&5
63095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63096 (exit $ac_status); } &&
63097 { ac_try='test -z "$ac_cxx_werror_flag"
63098 || test ! -s conftest.err'
63099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63100 (eval $ac_try) 2>&5
63101 ac_status=$?
63102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63103 (exit $ac_status); }; } &&
63104 { ac_try='test -s conftest.$ac_objext'
63105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63106 (eval $ac_try) 2>&5
63107 ac_status=$?
63108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63109 (exit $ac_status); }; }; then
63110 glibcxx_cv_func_long_double_trig_use=yes
63111 else
63112 echo "$as_me: failed program was:" >&5
63113 sed 's/^/| /' conftest.$ac_ext >&5
63115 glibcxx_cv_func_long_double_trig_use=no
63117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63118 ac_ext=c
63119 ac_cpp='$CPP $CPPFLAGS'
63120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63126 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63127 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63128 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63138 for ac_func in acosl asinl atanl \
63139 cosl sinl tanl \
63140 coshl sinhl tanhl
63142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63143 echo "$as_me:$LINENO: checking for $ac_func" >&5
63144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63145 if eval "test \"\${$as_ac_var+set}\" = set"; then
63146 echo $ECHO_N "(cached) $ECHO_C" >&6
63147 else
63148 if test x$gcc_no_link = xyes; then
63149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63151 { (exit 1); exit 1; }; }
63153 cat >conftest.$ac_ext <<_ACEOF
63154 /* confdefs.h. */
63155 _ACEOF
63156 cat confdefs.h >>conftest.$ac_ext
63157 cat >>conftest.$ac_ext <<_ACEOF
63158 /* end confdefs.h. */
63159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63161 #define $ac_func innocuous_$ac_func
63163 /* System header to define __stub macros and hopefully few prototypes,
63164 which can conflict with char $ac_func (); below.
63165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63166 <limits.h> exists even on freestanding compilers. */
63168 #ifdef __STDC__
63169 # include <limits.h>
63170 #else
63171 # include <assert.h>
63172 #endif
63174 #undef $ac_func
63176 /* Override any gcc2 internal prototype to avoid an error. */
63177 #ifdef __cplusplus
63178 extern "C"
63180 #endif
63181 /* We use char because int might match the return type of a gcc2
63182 builtin and then its argument prototype would still apply. */
63183 char $ac_func ();
63184 /* The GNU C library defines this for functions which it implements
63185 to always fail with ENOSYS. Some functions are actually named
63186 something starting with __ and the normal name is an alias. */
63187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63188 choke me
63189 #else
63190 char (*f) () = $ac_func;
63191 #endif
63192 #ifdef __cplusplus
63194 #endif
63197 main ()
63199 return f != $ac_func;
63201 return 0;
63203 _ACEOF
63204 rm -f conftest.$ac_objext conftest$ac_exeext
63205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63206 (eval $ac_link) 2>conftest.er1
63207 ac_status=$?
63208 grep -v '^ *+' conftest.er1 >conftest.err
63209 rm -f conftest.er1
63210 cat conftest.err >&5
63211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63212 (exit $ac_status); } &&
63213 { ac_try='test -z "$ac_c_werror_flag"
63214 || test ! -s conftest.err'
63215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63216 (eval $ac_try) 2>&5
63217 ac_status=$?
63218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63219 (exit $ac_status); }; } &&
63220 { ac_try='test -s conftest$ac_exeext'
63221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63222 (eval $ac_try) 2>&5
63223 ac_status=$?
63224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63225 (exit $ac_status); }; }; then
63226 eval "$as_ac_var=yes"
63227 else
63228 echo "$as_me: failed program was:" >&5
63229 sed 's/^/| /' conftest.$ac_ext >&5
63231 eval "$as_ac_var=no"
63233 rm -f conftest.err conftest.$ac_objext \
63234 conftest$ac_exeext conftest.$ac_ext
63236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63238 if test `eval echo '${'$as_ac_var'}'` = yes; then
63239 cat >>confdefs.h <<_ACEOF
63240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63241 _ACEOF
63244 done
63249 echo "$as_me:$LINENO: checking for long double round functions" >&5
63250 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63251 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63252 echo $ECHO_N "(cached) $ECHO_C" >&6
63253 else
63257 ac_ext=cc
63258 ac_cpp='$CXXCPP $CPPFLAGS'
63259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63263 cat >conftest.$ac_ext <<_ACEOF
63264 /* confdefs.h. */
63265 _ACEOF
63266 cat confdefs.h >>conftest.$ac_ext
63267 cat >>conftest.$ac_ext <<_ACEOF
63268 /* end confdefs.h. */
63269 #include <math.h>
63271 main ()
63273 `for x in ceill floorl; do echo "$x (0);"; done`
63275 return 0;
63277 _ACEOF
63278 rm -f conftest.$ac_objext
63279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63280 (eval $ac_compile) 2>conftest.er1
63281 ac_status=$?
63282 grep -v '^ *+' conftest.er1 >conftest.err
63283 rm -f conftest.er1
63284 cat conftest.err >&5
63285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63286 (exit $ac_status); } &&
63287 { ac_try='test -z "$ac_cxx_werror_flag"
63288 || test ! -s conftest.err'
63289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63290 (eval $ac_try) 2>&5
63291 ac_status=$?
63292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63293 (exit $ac_status); }; } &&
63294 { ac_try='test -s conftest.$ac_objext'
63295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63296 (eval $ac_try) 2>&5
63297 ac_status=$?
63298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63299 (exit $ac_status); }; }; then
63300 glibcxx_cv_func_long_double_round_use=yes
63301 else
63302 echo "$as_me: failed program was:" >&5
63303 sed 's/^/| /' conftest.$ac_ext >&5
63305 glibcxx_cv_func_long_double_round_use=no
63307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63308 ac_ext=c
63309 ac_cpp='$CPP $CPPFLAGS'
63310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63316 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63317 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63318 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63321 for ac_func in ceill floorl
63323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63324 echo "$as_me:$LINENO: checking for $ac_func" >&5
63325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63326 if eval "test \"\${$as_ac_var+set}\" = set"; then
63327 echo $ECHO_N "(cached) $ECHO_C" >&6
63328 else
63329 if test x$gcc_no_link = xyes; then
63330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63332 { (exit 1); exit 1; }; }
63334 cat >conftest.$ac_ext <<_ACEOF
63335 /* confdefs.h. */
63336 _ACEOF
63337 cat confdefs.h >>conftest.$ac_ext
63338 cat >>conftest.$ac_ext <<_ACEOF
63339 /* end confdefs.h. */
63340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63342 #define $ac_func innocuous_$ac_func
63344 /* System header to define __stub macros and hopefully few prototypes,
63345 which can conflict with char $ac_func (); below.
63346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63347 <limits.h> exists even on freestanding compilers. */
63349 #ifdef __STDC__
63350 # include <limits.h>
63351 #else
63352 # include <assert.h>
63353 #endif
63355 #undef $ac_func
63357 /* Override any gcc2 internal prototype to avoid an error. */
63358 #ifdef __cplusplus
63359 extern "C"
63361 #endif
63362 /* We use char because int might match the return type of a gcc2
63363 builtin and then its argument prototype would still apply. */
63364 char $ac_func ();
63365 /* The GNU C library defines this for functions which it implements
63366 to always fail with ENOSYS. Some functions are actually named
63367 something starting with __ and the normal name is an alias. */
63368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63369 choke me
63370 #else
63371 char (*f) () = $ac_func;
63372 #endif
63373 #ifdef __cplusplus
63375 #endif
63378 main ()
63380 return f != $ac_func;
63382 return 0;
63384 _ACEOF
63385 rm -f conftest.$ac_objext conftest$ac_exeext
63386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63387 (eval $ac_link) 2>conftest.er1
63388 ac_status=$?
63389 grep -v '^ *+' conftest.er1 >conftest.err
63390 rm -f conftest.er1
63391 cat conftest.err >&5
63392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63393 (exit $ac_status); } &&
63394 { ac_try='test -z "$ac_c_werror_flag"
63395 || test ! -s conftest.err'
63396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63397 (eval $ac_try) 2>&5
63398 ac_status=$?
63399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63400 (exit $ac_status); }; } &&
63401 { ac_try='test -s conftest$ac_exeext'
63402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63403 (eval $ac_try) 2>&5
63404 ac_status=$?
63405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63406 (exit $ac_status); }; }; then
63407 eval "$as_ac_var=yes"
63408 else
63409 echo "$as_me: failed program was:" >&5
63410 sed 's/^/| /' conftest.$ac_ext >&5
63412 eval "$as_ac_var=no"
63414 rm -f conftest.err conftest.$ac_objext \
63415 conftest$ac_exeext conftest.$ac_ext
63417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63419 if test `eval echo '${'$as_ac_var'}'` = yes; then
63420 cat >>confdefs.h <<_ACEOF
63421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63422 _ACEOF
63425 done
63431 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63432 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63433 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63434 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63435 echo $ECHO_N "(cached) $ECHO_C" >&6
63436 else
63440 ac_ext=cc
63441 ac_cpp='$CXXCPP $CPPFLAGS'
63442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63446 cat >conftest.$ac_ext <<_ACEOF
63447 /* confdefs.h. */
63448 _ACEOF
63449 cat confdefs.h >>conftest.$ac_ext
63450 cat >>conftest.$ac_ext <<_ACEOF
63451 /* end confdefs.h. */
63452 #include <math.h>
63453 #ifdef HAVE_IEEEFP_H
63454 #include <ieeefp.h>
63455 #endif
63458 main ()
63460 isnanl(0);
63462 return 0;
63464 _ACEOF
63465 rm -f conftest.$ac_objext
63466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63467 (eval $ac_compile) 2>conftest.er1
63468 ac_status=$?
63469 grep -v '^ *+' conftest.er1 >conftest.err
63470 rm -f conftest.er1
63471 cat conftest.err >&5
63472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63473 (exit $ac_status); } &&
63474 { ac_try='test -z "$ac_cxx_werror_flag"
63475 || test ! -s conftest.err'
63476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63477 (eval $ac_try) 2>&5
63478 ac_status=$?
63479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63480 (exit $ac_status); }; } &&
63481 { ac_try='test -s conftest.$ac_objext'
63482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63483 (eval $ac_try) 2>&5
63484 ac_status=$?
63485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63486 (exit $ac_status); }; }; then
63487 glibcxx_cv_func_isnanl_use=yes
63488 else
63489 echo "$as_me: failed program was:" >&5
63490 sed 's/^/| /' conftest.$ac_ext >&5
63492 glibcxx_cv_func_isnanl_use=no
63494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63495 ac_ext=c
63496 ac_cpp='$CPP $CPPFLAGS'
63497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63505 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63506 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63508 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63510 for ac_func in isnanl
63512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63513 echo "$as_me:$LINENO: checking for $ac_func" >&5
63514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63515 if eval "test \"\${$as_ac_var+set}\" = set"; then
63516 echo $ECHO_N "(cached) $ECHO_C" >&6
63517 else
63518 if test x$gcc_no_link = xyes; then
63519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63521 { (exit 1); exit 1; }; }
63523 cat >conftest.$ac_ext <<_ACEOF
63524 /* confdefs.h. */
63525 _ACEOF
63526 cat confdefs.h >>conftest.$ac_ext
63527 cat >>conftest.$ac_ext <<_ACEOF
63528 /* end confdefs.h. */
63529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63531 #define $ac_func innocuous_$ac_func
63533 /* System header to define __stub macros and hopefully few prototypes,
63534 which can conflict with char $ac_func (); below.
63535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63536 <limits.h> exists even on freestanding compilers. */
63538 #ifdef __STDC__
63539 # include <limits.h>
63540 #else
63541 # include <assert.h>
63542 #endif
63544 #undef $ac_func
63546 /* Override any gcc2 internal prototype to avoid an error. */
63547 #ifdef __cplusplus
63548 extern "C"
63550 #endif
63551 /* We use char because int might match the return type of a gcc2
63552 builtin and then its argument prototype would still apply. */
63553 char $ac_func ();
63554 /* The GNU C library defines this for functions which it implements
63555 to always fail with ENOSYS. Some functions are actually named
63556 something starting with __ and the normal name is an alias. */
63557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63558 choke me
63559 #else
63560 char (*f) () = $ac_func;
63561 #endif
63562 #ifdef __cplusplus
63564 #endif
63567 main ()
63569 return f != $ac_func;
63571 return 0;
63573 _ACEOF
63574 rm -f conftest.$ac_objext conftest$ac_exeext
63575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63576 (eval $ac_link) 2>conftest.er1
63577 ac_status=$?
63578 grep -v '^ *+' conftest.er1 >conftest.err
63579 rm -f conftest.er1
63580 cat conftest.err >&5
63581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63582 (exit $ac_status); } &&
63583 { ac_try='test -z "$ac_c_werror_flag"
63584 || test ! -s conftest.err'
63585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63586 (eval $ac_try) 2>&5
63587 ac_status=$?
63588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63589 (exit $ac_status); }; } &&
63590 { ac_try='test -s conftest$ac_exeext'
63591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63592 (eval $ac_try) 2>&5
63593 ac_status=$?
63594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63595 (exit $ac_status); }; }; then
63596 eval "$as_ac_var=yes"
63597 else
63598 echo "$as_me: failed program was:" >&5
63599 sed 's/^/| /' conftest.$ac_ext >&5
63601 eval "$as_ac_var=no"
63603 rm -f conftest.err conftest.$ac_objext \
63604 conftest$ac_exeext conftest.$ac_ext
63606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63608 if test `eval echo '${'$as_ac_var'}'` = yes; then
63609 cat >>confdefs.h <<_ACEOF
63610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63611 _ACEOF
63614 done
63616 else
63618 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
63619 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
63620 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63621 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
63622 echo $ECHO_N "(cached) $ECHO_C" >&6
63623 else
63627 ac_ext=cc
63628 ac_cpp='$CXXCPP $CPPFLAGS'
63629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63633 cat >conftest.$ac_ext <<_ACEOF
63634 /* confdefs.h. */
63635 _ACEOF
63636 cat confdefs.h >>conftest.$ac_ext
63637 cat >>conftest.$ac_ext <<_ACEOF
63638 /* end confdefs.h. */
63639 #include <math.h>
63640 #ifdef HAVE_IEEEFP_H
63641 #include <ieeefp.h>
63642 #endif
63645 main ()
63647 _isnanl(0);
63649 return 0;
63651 _ACEOF
63652 rm -f conftest.$ac_objext
63653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63654 (eval $ac_compile) 2>conftest.er1
63655 ac_status=$?
63656 grep -v '^ *+' conftest.er1 >conftest.err
63657 rm -f conftest.er1
63658 cat conftest.err >&5
63659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63660 (exit $ac_status); } &&
63661 { ac_try='test -z "$ac_cxx_werror_flag"
63662 || test ! -s conftest.err'
63663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63664 (eval $ac_try) 2>&5
63665 ac_status=$?
63666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63667 (exit $ac_status); }; } &&
63668 { ac_try='test -s conftest.$ac_objext'
63669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63670 (eval $ac_try) 2>&5
63671 ac_status=$?
63672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63673 (exit $ac_status); }; }; then
63674 glibcxx_cv_func__isnanl_use=yes
63675 else
63676 echo "$as_me: failed program was:" >&5
63677 sed 's/^/| /' conftest.$ac_ext >&5
63679 glibcxx_cv_func__isnanl_use=no
63681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63682 ac_ext=c
63683 ac_cpp='$CPP $CPPFLAGS'
63684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63693 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63695 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63697 for ac_func in _isnanl
63699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63700 echo "$as_me:$LINENO: checking for $ac_func" >&5
63701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63702 if eval "test \"\${$as_ac_var+set}\" = set"; then
63703 echo $ECHO_N "(cached) $ECHO_C" >&6
63704 else
63705 if test x$gcc_no_link = xyes; then
63706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63708 { (exit 1); exit 1; }; }
63710 cat >conftest.$ac_ext <<_ACEOF
63711 /* confdefs.h. */
63712 _ACEOF
63713 cat confdefs.h >>conftest.$ac_ext
63714 cat >>conftest.$ac_ext <<_ACEOF
63715 /* end confdefs.h. */
63716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63718 #define $ac_func innocuous_$ac_func
63720 /* System header to define __stub macros and hopefully few prototypes,
63721 which can conflict with char $ac_func (); below.
63722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63723 <limits.h> exists even on freestanding compilers. */
63725 #ifdef __STDC__
63726 # include <limits.h>
63727 #else
63728 # include <assert.h>
63729 #endif
63731 #undef $ac_func
63733 /* Override any gcc2 internal prototype to avoid an error. */
63734 #ifdef __cplusplus
63735 extern "C"
63737 #endif
63738 /* We use char because int might match the return type of a gcc2
63739 builtin and then its argument prototype would still apply. */
63740 char $ac_func ();
63741 /* The GNU C library defines this for functions which it implements
63742 to always fail with ENOSYS. Some functions are actually named
63743 something starting with __ and the normal name is an alias. */
63744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63745 choke me
63746 #else
63747 char (*f) () = $ac_func;
63748 #endif
63749 #ifdef __cplusplus
63751 #endif
63754 main ()
63756 return f != $ac_func;
63758 return 0;
63760 _ACEOF
63761 rm -f conftest.$ac_objext conftest$ac_exeext
63762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63763 (eval $ac_link) 2>conftest.er1
63764 ac_status=$?
63765 grep -v '^ *+' conftest.er1 >conftest.err
63766 rm -f conftest.er1
63767 cat conftest.err >&5
63768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63769 (exit $ac_status); } &&
63770 { ac_try='test -z "$ac_c_werror_flag"
63771 || test ! -s conftest.err'
63772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63773 (eval $ac_try) 2>&5
63774 ac_status=$?
63775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63776 (exit $ac_status); }; } &&
63777 { ac_try='test -s conftest$ac_exeext'
63778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63779 (eval $ac_try) 2>&5
63780 ac_status=$?
63781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63782 (exit $ac_status); }; }; then
63783 eval "$as_ac_var=yes"
63784 else
63785 echo "$as_me: failed program was:" >&5
63786 sed 's/^/| /' conftest.$ac_ext >&5
63788 eval "$as_ac_var=no"
63790 rm -f conftest.err conftest.$ac_objext \
63791 conftest$ac_exeext conftest.$ac_ext
63793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63795 if test `eval echo '${'$as_ac_var'}'` = yes; then
63796 cat >>confdefs.h <<_ACEOF
63797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63798 _ACEOF
63801 done
63808 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63809 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63810 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63811 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63812 echo $ECHO_N "(cached) $ECHO_C" >&6
63813 else
63817 ac_ext=cc
63818 ac_cpp='$CXXCPP $CPPFLAGS'
63819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63823 cat >conftest.$ac_ext <<_ACEOF
63824 /* confdefs.h. */
63825 _ACEOF
63826 cat confdefs.h >>conftest.$ac_ext
63827 cat >>conftest.$ac_ext <<_ACEOF
63828 /* end confdefs.h. */
63829 #include <math.h>
63830 #ifdef HAVE_IEEEFP_H
63831 #include <ieeefp.h>
63832 #endif
63835 main ()
63837 isinfl(0);
63839 return 0;
63841 _ACEOF
63842 rm -f conftest.$ac_objext
63843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63844 (eval $ac_compile) 2>conftest.er1
63845 ac_status=$?
63846 grep -v '^ *+' conftest.er1 >conftest.err
63847 rm -f conftest.er1
63848 cat conftest.err >&5
63849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63850 (exit $ac_status); } &&
63851 { ac_try='test -z "$ac_cxx_werror_flag"
63852 || test ! -s conftest.err'
63853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63854 (eval $ac_try) 2>&5
63855 ac_status=$?
63856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63857 (exit $ac_status); }; } &&
63858 { ac_try='test -s conftest.$ac_objext'
63859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63860 (eval $ac_try) 2>&5
63861 ac_status=$?
63862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63863 (exit $ac_status); }; }; then
63864 glibcxx_cv_func_isinfl_use=yes
63865 else
63866 echo "$as_me: failed program was:" >&5
63867 sed 's/^/| /' conftest.$ac_ext >&5
63869 glibcxx_cv_func_isinfl_use=no
63871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63872 ac_ext=c
63873 ac_cpp='$CPP $CPPFLAGS'
63874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63882 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63883 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63885 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63887 for ac_func in isinfl
63889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63890 echo "$as_me:$LINENO: checking for $ac_func" >&5
63891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63892 if eval "test \"\${$as_ac_var+set}\" = set"; then
63893 echo $ECHO_N "(cached) $ECHO_C" >&6
63894 else
63895 if test x$gcc_no_link = xyes; then
63896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63898 { (exit 1); exit 1; }; }
63900 cat >conftest.$ac_ext <<_ACEOF
63901 /* confdefs.h. */
63902 _ACEOF
63903 cat confdefs.h >>conftest.$ac_ext
63904 cat >>conftest.$ac_ext <<_ACEOF
63905 /* end confdefs.h. */
63906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63908 #define $ac_func innocuous_$ac_func
63910 /* System header to define __stub macros and hopefully few prototypes,
63911 which can conflict with char $ac_func (); below.
63912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63913 <limits.h> exists even on freestanding compilers. */
63915 #ifdef __STDC__
63916 # include <limits.h>
63917 #else
63918 # include <assert.h>
63919 #endif
63921 #undef $ac_func
63923 /* Override any gcc2 internal prototype to avoid an error. */
63924 #ifdef __cplusplus
63925 extern "C"
63927 #endif
63928 /* We use char because int might match the return type of a gcc2
63929 builtin and then its argument prototype would still apply. */
63930 char $ac_func ();
63931 /* The GNU C library defines this for functions which it implements
63932 to always fail with ENOSYS. Some functions are actually named
63933 something starting with __ and the normal name is an alias. */
63934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63935 choke me
63936 #else
63937 char (*f) () = $ac_func;
63938 #endif
63939 #ifdef __cplusplus
63941 #endif
63944 main ()
63946 return f != $ac_func;
63948 return 0;
63950 _ACEOF
63951 rm -f conftest.$ac_objext conftest$ac_exeext
63952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63953 (eval $ac_link) 2>conftest.er1
63954 ac_status=$?
63955 grep -v '^ *+' conftest.er1 >conftest.err
63956 rm -f conftest.er1
63957 cat conftest.err >&5
63958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63959 (exit $ac_status); } &&
63960 { ac_try='test -z "$ac_c_werror_flag"
63961 || test ! -s conftest.err'
63962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63963 (eval $ac_try) 2>&5
63964 ac_status=$?
63965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63966 (exit $ac_status); }; } &&
63967 { ac_try='test -s conftest$ac_exeext'
63968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63969 (eval $ac_try) 2>&5
63970 ac_status=$?
63971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63972 (exit $ac_status); }; }; then
63973 eval "$as_ac_var=yes"
63974 else
63975 echo "$as_me: failed program was:" >&5
63976 sed 's/^/| /' conftest.$ac_ext >&5
63978 eval "$as_ac_var=no"
63980 rm -f conftest.err conftest.$ac_objext \
63981 conftest$ac_exeext conftest.$ac_ext
63983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63985 if test `eval echo '${'$as_ac_var'}'` = yes; then
63986 cat >>confdefs.h <<_ACEOF
63987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63988 _ACEOF
63991 done
63993 else
63995 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
63996 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
63997 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63998 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
63999 echo $ECHO_N "(cached) $ECHO_C" >&6
64000 else
64004 ac_ext=cc
64005 ac_cpp='$CXXCPP $CPPFLAGS'
64006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64010 cat >conftest.$ac_ext <<_ACEOF
64011 /* confdefs.h. */
64012 _ACEOF
64013 cat confdefs.h >>conftest.$ac_ext
64014 cat >>conftest.$ac_ext <<_ACEOF
64015 /* end confdefs.h. */
64016 #include <math.h>
64017 #ifdef HAVE_IEEEFP_H
64018 #include <ieeefp.h>
64019 #endif
64022 main ()
64024 _isinfl(0);
64026 return 0;
64028 _ACEOF
64029 rm -f conftest.$ac_objext
64030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64031 (eval $ac_compile) 2>conftest.er1
64032 ac_status=$?
64033 grep -v '^ *+' conftest.er1 >conftest.err
64034 rm -f conftest.er1
64035 cat conftest.err >&5
64036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64037 (exit $ac_status); } &&
64038 { ac_try='test -z "$ac_cxx_werror_flag"
64039 || test ! -s conftest.err'
64040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64041 (eval $ac_try) 2>&5
64042 ac_status=$?
64043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64044 (exit $ac_status); }; } &&
64045 { ac_try='test -s conftest.$ac_objext'
64046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64047 (eval $ac_try) 2>&5
64048 ac_status=$?
64049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64050 (exit $ac_status); }; }; then
64051 glibcxx_cv_func__isinfl_use=yes
64052 else
64053 echo "$as_me: failed program was:" >&5
64054 sed 's/^/| /' conftest.$ac_ext >&5
64056 glibcxx_cv_func__isinfl_use=no
64058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64059 ac_ext=c
64060 ac_cpp='$CPP $CPPFLAGS'
64061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64069 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64070 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64072 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64074 for ac_func in _isinfl
64076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64077 echo "$as_me:$LINENO: checking for $ac_func" >&5
64078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64079 if eval "test \"\${$as_ac_var+set}\" = set"; then
64080 echo $ECHO_N "(cached) $ECHO_C" >&6
64081 else
64082 if test x$gcc_no_link = xyes; then
64083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64085 { (exit 1); exit 1; }; }
64087 cat >conftest.$ac_ext <<_ACEOF
64088 /* confdefs.h. */
64089 _ACEOF
64090 cat confdefs.h >>conftest.$ac_ext
64091 cat >>conftest.$ac_ext <<_ACEOF
64092 /* end confdefs.h. */
64093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64095 #define $ac_func innocuous_$ac_func
64097 /* System header to define __stub macros and hopefully few prototypes,
64098 which can conflict with char $ac_func (); below.
64099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64100 <limits.h> exists even on freestanding compilers. */
64102 #ifdef __STDC__
64103 # include <limits.h>
64104 #else
64105 # include <assert.h>
64106 #endif
64108 #undef $ac_func
64110 /* Override any gcc2 internal prototype to avoid an error. */
64111 #ifdef __cplusplus
64112 extern "C"
64114 #endif
64115 /* We use char because int might match the return type of a gcc2
64116 builtin and then its argument prototype would still apply. */
64117 char $ac_func ();
64118 /* The GNU C library defines this for functions which it implements
64119 to always fail with ENOSYS. Some functions are actually named
64120 something starting with __ and the normal name is an alias. */
64121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64122 choke me
64123 #else
64124 char (*f) () = $ac_func;
64125 #endif
64126 #ifdef __cplusplus
64128 #endif
64131 main ()
64133 return f != $ac_func;
64135 return 0;
64137 _ACEOF
64138 rm -f conftest.$ac_objext conftest$ac_exeext
64139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64140 (eval $ac_link) 2>conftest.er1
64141 ac_status=$?
64142 grep -v '^ *+' conftest.er1 >conftest.err
64143 rm -f conftest.er1
64144 cat conftest.err >&5
64145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64146 (exit $ac_status); } &&
64147 { ac_try='test -z "$ac_c_werror_flag"
64148 || test ! -s conftest.err'
64149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64150 (eval $ac_try) 2>&5
64151 ac_status=$?
64152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64153 (exit $ac_status); }; } &&
64154 { ac_try='test -s conftest$ac_exeext'
64155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64156 (eval $ac_try) 2>&5
64157 ac_status=$?
64158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64159 (exit $ac_status); }; }; then
64160 eval "$as_ac_var=yes"
64161 else
64162 echo "$as_me: failed program was:" >&5
64163 sed 's/^/| /' conftest.$ac_ext >&5
64165 eval "$as_ac_var=no"
64167 rm -f conftest.err conftest.$ac_objext \
64168 conftest$ac_exeext conftest.$ac_ext
64170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64172 if test `eval echo '${'$as_ac_var'}'` = yes; then
64173 cat >>confdefs.h <<_ACEOF
64174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64175 _ACEOF
64178 done
64185 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64186 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64187 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64188 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64189 echo $ECHO_N "(cached) $ECHO_C" >&6
64190 else
64194 ac_ext=cc
64195 ac_cpp='$CXXCPP $CPPFLAGS'
64196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64200 cat >conftest.$ac_ext <<_ACEOF
64201 /* confdefs.h. */
64202 _ACEOF
64203 cat confdefs.h >>conftest.$ac_ext
64204 cat >>conftest.$ac_ext <<_ACEOF
64205 /* end confdefs.h. */
64206 #include <math.h>
64208 main ()
64210 copysignl(0, 0);
64212 return 0;
64214 _ACEOF
64215 rm -f conftest.$ac_objext
64216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64217 (eval $ac_compile) 2>conftest.er1
64218 ac_status=$?
64219 grep -v '^ *+' conftest.er1 >conftest.err
64220 rm -f conftest.er1
64221 cat conftest.err >&5
64222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64223 (exit $ac_status); } &&
64224 { ac_try='test -z "$ac_cxx_werror_flag"
64225 || test ! -s conftest.err'
64226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64227 (eval $ac_try) 2>&5
64228 ac_status=$?
64229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64230 (exit $ac_status); }; } &&
64231 { ac_try='test -s conftest.$ac_objext'
64232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64233 (eval $ac_try) 2>&5
64234 ac_status=$?
64235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64236 (exit $ac_status); }; }; then
64237 glibcxx_cv_func_copysignl_use=yes
64238 else
64239 echo "$as_me: failed program was:" >&5
64240 sed 's/^/| /' conftest.$ac_ext >&5
64242 glibcxx_cv_func_copysignl_use=no
64244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64245 ac_ext=c
64246 ac_cpp='$CPP $CPPFLAGS'
64247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64255 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64256 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64258 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64260 for ac_func in copysignl
64262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64263 echo "$as_me:$LINENO: checking for $ac_func" >&5
64264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64265 if eval "test \"\${$as_ac_var+set}\" = set"; then
64266 echo $ECHO_N "(cached) $ECHO_C" >&6
64267 else
64268 if test x$gcc_no_link = xyes; then
64269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64271 { (exit 1); exit 1; }; }
64273 cat >conftest.$ac_ext <<_ACEOF
64274 /* confdefs.h. */
64275 _ACEOF
64276 cat confdefs.h >>conftest.$ac_ext
64277 cat >>conftest.$ac_ext <<_ACEOF
64278 /* end confdefs.h. */
64279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64281 #define $ac_func innocuous_$ac_func
64283 /* System header to define __stub macros and hopefully few prototypes,
64284 which can conflict with char $ac_func (); below.
64285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64286 <limits.h> exists even on freestanding compilers. */
64288 #ifdef __STDC__
64289 # include <limits.h>
64290 #else
64291 # include <assert.h>
64292 #endif
64294 #undef $ac_func
64296 /* Override any gcc2 internal prototype to avoid an error. */
64297 #ifdef __cplusplus
64298 extern "C"
64300 #endif
64301 /* We use char because int might match the return type of a gcc2
64302 builtin and then its argument prototype would still apply. */
64303 char $ac_func ();
64304 /* The GNU C library defines this for functions which it implements
64305 to always fail with ENOSYS. Some functions are actually named
64306 something starting with __ and the normal name is an alias. */
64307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64308 choke me
64309 #else
64310 char (*f) () = $ac_func;
64311 #endif
64312 #ifdef __cplusplus
64314 #endif
64317 main ()
64319 return f != $ac_func;
64321 return 0;
64323 _ACEOF
64324 rm -f conftest.$ac_objext conftest$ac_exeext
64325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64326 (eval $ac_link) 2>conftest.er1
64327 ac_status=$?
64328 grep -v '^ *+' conftest.er1 >conftest.err
64329 rm -f conftest.er1
64330 cat conftest.err >&5
64331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64332 (exit $ac_status); } &&
64333 { ac_try='test -z "$ac_c_werror_flag"
64334 || test ! -s conftest.err'
64335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64336 (eval $ac_try) 2>&5
64337 ac_status=$?
64338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64339 (exit $ac_status); }; } &&
64340 { ac_try='test -s conftest$ac_exeext'
64341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64342 (eval $ac_try) 2>&5
64343 ac_status=$?
64344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64345 (exit $ac_status); }; }; then
64346 eval "$as_ac_var=yes"
64347 else
64348 echo "$as_me: failed program was:" >&5
64349 sed 's/^/| /' conftest.$ac_ext >&5
64351 eval "$as_ac_var=no"
64353 rm -f conftest.err conftest.$ac_objext \
64354 conftest$ac_exeext conftest.$ac_ext
64356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64358 if test `eval echo '${'$as_ac_var'}'` = yes; then
64359 cat >>confdefs.h <<_ACEOF
64360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64361 _ACEOF
64364 done
64366 else
64368 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64369 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64370 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64371 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64372 echo $ECHO_N "(cached) $ECHO_C" >&6
64373 else
64377 ac_ext=cc
64378 ac_cpp='$CXXCPP $CPPFLAGS'
64379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64383 cat >conftest.$ac_ext <<_ACEOF
64384 /* confdefs.h. */
64385 _ACEOF
64386 cat confdefs.h >>conftest.$ac_ext
64387 cat >>conftest.$ac_ext <<_ACEOF
64388 /* end confdefs.h. */
64389 #include <math.h>
64391 main ()
64393 _copysignl(0, 0);
64395 return 0;
64397 _ACEOF
64398 rm -f conftest.$ac_objext
64399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64400 (eval $ac_compile) 2>conftest.er1
64401 ac_status=$?
64402 grep -v '^ *+' conftest.er1 >conftest.err
64403 rm -f conftest.er1
64404 cat conftest.err >&5
64405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64406 (exit $ac_status); } &&
64407 { ac_try='test -z "$ac_cxx_werror_flag"
64408 || test ! -s conftest.err'
64409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64410 (eval $ac_try) 2>&5
64411 ac_status=$?
64412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64413 (exit $ac_status); }; } &&
64414 { ac_try='test -s conftest.$ac_objext'
64415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64416 (eval $ac_try) 2>&5
64417 ac_status=$?
64418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64419 (exit $ac_status); }; }; then
64420 glibcxx_cv_func__copysignl_use=yes
64421 else
64422 echo "$as_me: failed program was:" >&5
64423 sed 's/^/| /' conftest.$ac_ext >&5
64425 glibcxx_cv_func__copysignl_use=no
64427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64428 ac_ext=c
64429 ac_cpp='$CPP $CPPFLAGS'
64430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64439 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64441 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64443 for ac_func in _copysignl
64445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64446 echo "$as_me:$LINENO: checking for $ac_func" >&5
64447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64448 if eval "test \"\${$as_ac_var+set}\" = set"; then
64449 echo $ECHO_N "(cached) $ECHO_C" >&6
64450 else
64451 if test x$gcc_no_link = xyes; then
64452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64454 { (exit 1); exit 1; }; }
64456 cat >conftest.$ac_ext <<_ACEOF
64457 /* confdefs.h. */
64458 _ACEOF
64459 cat confdefs.h >>conftest.$ac_ext
64460 cat >>conftest.$ac_ext <<_ACEOF
64461 /* end confdefs.h. */
64462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64464 #define $ac_func innocuous_$ac_func
64466 /* System header to define __stub macros and hopefully few prototypes,
64467 which can conflict with char $ac_func (); below.
64468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64469 <limits.h> exists even on freestanding compilers. */
64471 #ifdef __STDC__
64472 # include <limits.h>
64473 #else
64474 # include <assert.h>
64475 #endif
64477 #undef $ac_func
64479 /* Override any gcc2 internal prototype to avoid an error. */
64480 #ifdef __cplusplus
64481 extern "C"
64483 #endif
64484 /* We use char because int might match the return type of a gcc2
64485 builtin and then its argument prototype would still apply. */
64486 char $ac_func ();
64487 /* The GNU C library defines this for functions which it implements
64488 to always fail with ENOSYS. Some functions are actually named
64489 something starting with __ and the normal name is an alias. */
64490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64491 choke me
64492 #else
64493 char (*f) () = $ac_func;
64494 #endif
64495 #ifdef __cplusplus
64497 #endif
64500 main ()
64502 return f != $ac_func;
64504 return 0;
64506 _ACEOF
64507 rm -f conftest.$ac_objext conftest$ac_exeext
64508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64509 (eval $ac_link) 2>conftest.er1
64510 ac_status=$?
64511 grep -v '^ *+' conftest.er1 >conftest.err
64512 rm -f conftest.er1
64513 cat conftest.err >&5
64514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64515 (exit $ac_status); } &&
64516 { ac_try='test -z "$ac_c_werror_flag"
64517 || test ! -s conftest.err'
64518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64519 (eval $ac_try) 2>&5
64520 ac_status=$?
64521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64522 (exit $ac_status); }; } &&
64523 { ac_try='test -s conftest$ac_exeext'
64524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64525 (eval $ac_try) 2>&5
64526 ac_status=$?
64527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64528 (exit $ac_status); }; }; then
64529 eval "$as_ac_var=yes"
64530 else
64531 echo "$as_me: failed program was:" >&5
64532 sed 's/^/| /' conftest.$ac_ext >&5
64534 eval "$as_ac_var=no"
64536 rm -f conftest.err conftest.$ac_objext \
64537 conftest$ac_exeext conftest.$ac_ext
64539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64541 if test `eval echo '${'$as_ac_var'}'` = yes; then
64542 cat >>confdefs.h <<_ACEOF
64543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64544 _ACEOF
64547 done
64554 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
64555 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
64556 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64557 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
64558 echo $ECHO_N "(cached) $ECHO_C" >&6
64559 else
64563 ac_ext=cc
64564 ac_cpp='$CXXCPP $CPPFLAGS'
64565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64569 cat >conftest.$ac_ext <<_ACEOF
64570 /* confdefs.h. */
64571 _ACEOF
64572 cat confdefs.h >>conftest.$ac_ext
64573 cat >>conftest.$ac_ext <<_ACEOF
64574 /* end confdefs.h. */
64575 #include <math.h>
64577 main ()
64579 atan2l(0, 0);
64581 return 0;
64583 _ACEOF
64584 rm -f conftest.$ac_objext
64585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64586 (eval $ac_compile) 2>conftest.er1
64587 ac_status=$?
64588 grep -v '^ *+' conftest.er1 >conftest.err
64589 rm -f conftest.er1
64590 cat conftest.err >&5
64591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64592 (exit $ac_status); } &&
64593 { ac_try='test -z "$ac_cxx_werror_flag"
64594 || test ! -s conftest.err'
64595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64596 (eval $ac_try) 2>&5
64597 ac_status=$?
64598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64599 (exit $ac_status); }; } &&
64600 { ac_try='test -s conftest.$ac_objext'
64601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64602 (eval $ac_try) 2>&5
64603 ac_status=$?
64604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64605 (exit $ac_status); }; }; then
64606 glibcxx_cv_func_atan2l_use=yes
64607 else
64608 echo "$as_me: failed program was:" >&5
64609 sed 's/^/| /' conftest.$ac_ext >&5
64611 glibcxx_cv_func_atan2l_use=no
64613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64614 ac_ext=c
64615 ac_cpp='$CPP $CPPFLAGS'
64616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64624 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
64625 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
64627 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64629 for ac_func in atan2l
64631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64632 echo "$as_me:$LINENO: checking for $ac_func" >&5
64633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64634 if eval "test \"\${$as_ac_var+set}\" = set"; then
64635 echo $ECHO_N "(cached) $ECHO_C" >&6
64636 else
64637 if test x$gcc_no_link = xyes; then
64638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64640 { (exit 1); exit 1; }; }
64642 cat >conftest.$ac_ext <<_ACEOF
64643 /* confdefs.h. */
64644 _ACEOF
64645 cat confdefs.h >>conftest.$ac_ext
64646 cat >>conftest.$ac_ext <<_ACEOF
64647 /* end confdefs.h. */
64648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64650 #define $ac_func innocuous_$ac_func
64652 /* System header to define __stub macros and hopefully few prototypes,
64653 which can conflict with char $ac_func (); below.
64654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64655 <limits.h> exists even on freestanding compilers. */
64657 #ifdef __STDC__
64658 # include <limits.h>
64659 #else
64660 # include <assert.h>
64661 #endif
64663 #undef $ac_func
64665 /* Override any gcc2 internal prototype to avoid an error. */
64666 #ifdef __cplusplus
64667 extern "C"
64669 #endif
64670 /* We use char because int might match the return type of a gcc2
64671 builtin and then its argument prototype would still apply. */
64672 char $ac_func ();
64673 /* The GNU C library defines this for functions which it implements
64674 to always fail with ENOSYS. Some functions are actually named
64675 something starting with __ and the normal name is an alias. */
64676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64677 choke me
64678 #else
64679 char (*f) () = $ac_func;
64680 #endif
64681 #ifdef __cplusplus
64683 #endif
64686 main ()
64688 return f != $ac_func;
64690 return 0;
64692 _ACEOF
64693 rm -f conftest.$ac_objext conftest$ac_exeext
64694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64695 (eval $ac_link) 2>conftest.er1
64696 ac_status=$?
64697 grep -v '^ *+' conftest.er1 >conftest.err
64698 rm -f conftest.er1
64699 cat conftest.err >&5
64700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64701 (exit $ac_status); } &&
64702 { ac_try='test -z "$ac_c_werror_flag"
64703 || test ! -s conftest.err'
64704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64705 (eval $ac_try) 2>&5
64706 ac_status=$?
64707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64708 (exit $ac_status); }; } &&
64709 { ac_try='test -s conftest$ac_exeext'
64710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64711 (eval $ac_try) 2>&5
64712 ac_status=$?
64713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64714 (exit $ac_status); }; }; then
64715 eval "$as_ac_var=yes"
64716 else
64717 echo "$as_me: failed program was:" >&5
64718 sed 's/^/| /' conftest.$ac_ext >&5
64720 eval "$as_ac_var=no"
64722 rm -f conftest.err conftest.$ac_objext \
64723 conftest$ac_exeext conftest.$ac_ext
64725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64727 if test `eval echo '${'$as_ac_var'}'` = yes; then
64728 cat >>confdefs.h <<_ACEOF
64729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64730 _ACEOF
64733 done
64735 else
64737 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64738 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64739 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64740 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64741 echo $ECHO_N "(cached) $ECHO_C" >&6
64742 else
64746 ac_ext=cc
64747 ac_cpp='$CXXCPP $CPPFLAGS'
64748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64752 cat >conftest.$ac_ext <<_ACEOF
64753 /* confdefs.h. */
64754 _ACEOF
64755 cat confdefs.h >>conftest.$ac_ext
64756 cat >>conftest.$ac_ext <<_ACEOF
64757 /* end confdefs.h. */
64758 #include <math.h>
64760 main ()
64762 _atan2l(0, 0);
64764 return 0;
64766 _ACEOF
64767 rm -f conftest.$ac_objext
64768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64769 (eval $ac_compile) 2>conftest.er1
64770 ac_status=$?
64771 grep -v '^ *+' conftest.er1 >conftest.err
64772 rm -f conftest.er1
64773 cat conftest.err >&5
64774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64775 (exit $ac_status); } &&
64776 { ac_try='test -z "$ac_cxx_werror_flag"
64777 || test ! -s conftest.err'
64778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64779 (eval $ac_try) 2>&5
64780 ac_status=$?
64781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64782 (exit $ac_status); }; } &&
64783 { ac_try='test -s conftest.$ac_objext'
64784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64785 (eval $ac_try) 2>&5
64786 ac_status=$?
64787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64788 (exit $ac_status); }; }; then
64789 glibcxx_cv_func__atan2l_use=yes
64790 else
64791 echo "$as_me: failed program was:" >&5
64792 sed 's/^/| /' conftest.$ac_ext >&5
64794 glibcxx_cv_func__atan2l_use=no
64796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64797 ac_ext=c
64798 ac_cpp='$CPP $CPPFLAGS'
64799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64808 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64810 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64812 for ac_func in _atan2l
64814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64815 echo "$as_me:$LINENO: checking for $ac_func" >&5
64816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64817 if eval "test \"\${$as_ac_var+set}\" = set"; then
64818 echo $ECHO_N "(cached) $ECHO_C" >&6
64819 else
64820 if test x$gcc_no_link = xyes; then
64821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64823 { (exit 1); exit 1; }; }
64825 cat >conftest.$ac_ext <<_ACEOF
64826 /* confdefs.h. */
64827 _ACEOF
64828 cat confdefs.h >>conftest.$ac_ext
64829 cat >>conftest.$ac_ext <<_ACEOF
64830 /* end confdefs.h. */
64831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64833 #define $ac_func innocuous_$ac_func
64835 /* System header to define __stub macros and hopefully few prototypes,
64836 which can conflict with char $ac_func (); below.
64837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64838 <limits.h> exists even on freestanding compilers. */
64840 #ifdef __STDC__
64841 # include <limits.h>
64842 #else
64843 # include <assert.h>
64844 #endif
64846 #undef $ac_func
64848 /* Override any gcc2 internal prototype to avoid an error. */
64849 #ifdef __cplusplus
64850 extern "C"
64852 #endif
64853 /* We use char because int might match the return type of a gcc2
64854 builtin and then its argument prototype would still apply. */
64855 char $ac_func ();
64856 /* The GNU C library defines this for functions which it implements
64857 to always fail with ENOSYS. Some functions are actually named
64858 something starting with __ and the normal name is an alias. */
64859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64860 choke me
64861 #else
64862 char (*f) () = $ac_func;
64863 #endif
64864 #ifdef __cplusplus
64866 #endif
64869 main ()
64871 return f != $ac_func;
64873 return 0;
64875 _ACEOF
64876 rm -f conftest.$ac_objext conftest$ac_exeext
64877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64878 (eval $ac_link) 2>conftest.er1
64879 ac_status=$?
64880 grep -v '^ *+' conftest.er1 >conftest.err
64881 rm -f conftest.er1
64882 cat conftest.err >&5
64883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64884 (exit $ac_status); } &&
64885 { ac_try='test -z "$ac_c_werror_flag"
64886 || test ! -s conftest.err'
64887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64888 (eval $ac_try) 2>&5
64889 ac_status=$?
64890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64891 (exit $ac_status); }; } &&
64892 { ac_try='test -s conftest$ac_exeext'
64893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64894 (eval $ac_try) 2>&5
64895 ac_status=$?
64896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64897 (exit $ac_status); }; }; then
64898 eval "$as_ac_var=yes"
64899 else
64900 echo "$as_me: failed program was:" >&5
64901 sed 's/^/| /' conftest.$ac_ext >&5
64903 eval "$as_ac_var=no"
64905 rm -f conftest.err conftest.$ac_objext \
64906 conftest$ac_exeext conftest.$ac_ext
64908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64910 if test `eval echo '${'$as_ac_var'}'` = yes; then
64911 cat >>confdefs.h <<_ACEOF
64912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64913 _ACEOF
64916 done
64923 echo "$as_me:$LINENO: checking for expl declaration" >&5
64924 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64925 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64926 if test "${glibcxx_cv_func_expl_use+set}" = set; then
64927 echo $ECHO_N "(cached) $ECHO_C" >&6
64928 else
64932 ac_ext=cc
64933 ac_cpp='$CXXCPP $CPPFLAGS'
64934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64938 cat >conftest.$ac_ext <<_ACEOF
64939 /* confdefs.h. */
64940 _ACEOF
64941 cat confdefs.h >>conftest.$ac_ext
64942 cat >>conftest.$ac_ext <<_ACEOF
64943 /* end confdefs.h. */
64944 #include <math.h>
64945 #ifdef HAVE_IEEEFP_H
64946 #include <ieeefp.h>
64947 #endif
64950 main ()
64952 expl(0);
64954 return 0;
64956 _ACEOF
64957 rm -f conftest.$ac_objext
64958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64959 (eval $ac_compile) 2>conftest.er1
64960 ac_status=$?
64961 grep -v '^ *+' conftest.er1 >conftest.err
64962 rm -f conftest.er1
64963 cat conftest.err >&5
64964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64965 (exit $ac_status); } &&
64966 { ac_try='test -z "$ac_cxx_werror_flag"
64967 || test ! -s conftest.err'
64968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64969 (eval $ac_try) 2>&5
64970 ac_status=$?
64971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64972 (exit $ac_status); }; } &&
64973 { ac_try='test -s conftest.$ac_objext'
64974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64975 (eval $ac_try) 2>&5
64976 ac_status=$?
64977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64978 (exit $ac_status); }; }; then
64979 glibcxx_cv_func_expl_use=yes
64980 else
64981 echo "$as_me: failed program was:" >&5
64982 sed 's/^/| /' conftest.$ac_ext >&5
64984 glibcxx_cv_func_expl_use=no
64986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64987 ac_ext=c
64988 ac_cpp='$CPP $CPPFLAGS'
64989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64997 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
64998 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65000 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65002 for ac_func in expl
65004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65005 echo "$as_me:$LINENO: checking for $ac_func" >&5
65006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65007 if eval "test \"\${$as_ac_var+set}\" = set"; then
65008 echo $ECHO_N "(cached) $ECHO_C" >&6
65009 else
65010 if test x$gcc_no_link = xyes; then
65011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65013 { (exit 1); exit 1; }; }
65015 cat >conftest.$ac_ext <<_ACEOF
65016 /* confdefs.h. */
65017 _ACEOF
65018 cat confdefs.h >>conftest.$ac_ext
65019 cat >>conftest.$ac_ext <<_ACEOF
65020 /* end confdefs.h. */
65021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65023 #define $ac_func innocuous_$ac_func
65025 /* System header to define __stub macros and hopefully few prototypes,
65026 which can conflict with char $ac_func (); below.
65027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65028 <limits.h> exists even on freestanding compilers. */
65030 #ifdef __STDC__
65031 # include <limits.h>
65032 #else
65033 # include <assert.h>
65034 #endif
65036 #undef $ac_func
65038 /* Override any gcc2 internal prototype to avoid an error. */
65039 #ifdef __cplusplus
65040 extern "C"
65042 #endif
65043 /* We use char because int might match the return type of a gcc2
65044 builtin and then its argument prototype would still apply. */
65045 char $ac_func ();
65046 /* The GNU C library defines this for functions which it implements
65047 to always fail with ENOSYS. Some functions are actually named
65048 something starting with __ and the normal name is an alias. */
65049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65050 choke me
65051 #else
65052 char (*f) () = $ac_func;
65053 #endif
65054 #ifdef __cplusplus
65056 #endif
65059 main ()
65061 return f != $ac_func;
65063 return 0;
65065 _ACEOF
65066 rm -f conftest.$ac_objext conftest$ac_exeext
65067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65068 (eval $ac_link) 2>conftest.er1
65069 ac_status=$?
65070 grep -v '^ *+' conftest.er1 >conftest.err
65071 rm -f conftest.er1
65072 cat conftest.err >&5
65073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65074 (exit $ac_status); } &&
65075 { ac_try='test -z "$ac_c_werror_flag"
65076 || test ! -s conftest.err'
65077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65078 (eval $ac_try) 2>&5
65079 ac_status=$?
65080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65081 (exit $ac_status); }; } &&
65082 { ac_try='test -s conftest$ac_exeext'
65083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65084 (eval $ac_try) 2>&5
65085 ac_status=$?
65086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65087 (exit $ac_status); }; }; then
65088 eval "$as_ac_var=yes"
65089 else
65090 echo "$as_me: failed program was:" >&5
65091 sed 's/^/| /' conftest.$ac_ext >&5
65093 eval "$as_ac_var=no"
65095 rm -f conftest.err conftest.$ac_objext \
65096 conftest$ac_exeext conftest.$ac_ext
65098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65100 if test `eval echo '${'$as_ac_var'}'` = yes; then
65101 cat >>confdefs.h <<_ACEOF
65102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65103 _ACEOF
65106 done
65108 else
65110 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65111 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65112 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65113 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65114 echo $ECHO_N "(cached) $ECHO_C" >&6
65115 else
65119 ac_ext=cc
65120 ac_cpp='$CXXCPP $CPPFLAGS'
65121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65125 cat >conftest.$ac_ext <<_ACEOF
65126 /* confdefs.h. */
65127 _ACEOF
65128 cat confdefs.h >>conftest.$ac_ext
65129 cat >>conftest.$ac_ext <<_ACEOF
65130 /* end confdefs.h. */
65131 #include <math.h>
65132 #ifdef HAVE_IEEEFP_H
65133 #include <ieeefp.h>
65134 #endif
65137 main ()
65139 _expl(0);
65141 return 0;
65143 _ACEOF
65144 rm -f conftest.$ac_objext
65145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65146 (eval $ac_compile) 2>conftest.er1
65147 ac_status=$?
65148 grep -v '^ *+' conftest.er1 >conftest.err
65149 rm -f conftest.er1
65150 cat conftest.err >&5
65151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65152 (exit $ac_status); } &&
65153 { ac_try='test -z "$ac_cxx_werror_flag"
65154 || test ! -s conftest.err'
65155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65156 (eval $ac_try) 2>&5
65157 ac_status=$?
65158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65159 (exit $ac_status); }; } &&
65160 { ac_try='test -s conftest.$ac_objext'
65161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65162 (eval $ac_try) 2>&5
65163 ac_status=$?
65164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65165 (exit $ac_status); }; }; then
65166 glibcxx_cv_func__expl_use=yes
65167 else
65168 echo "$as_me: failed program was:" >&5
65169 sed 's/^/| /' conftest.$ac_ext >&5
65171 glibcxx_cv_func__expl_use=no
65173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65174 ac_ext=c
65175 ac_cpp='$CPP $CPPFLAGS'
65176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65184 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65185 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65187 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65189 for ac_func in _expl
65191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65192 echo "$as_me:$LINENO: checking for $ac_func" >&5
65193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65194 if eval "test \"\${$as_ac_var+set}\" = set"; then
65195 echo $ECHO_N "(cached) $ECHO_C" >&6
65196 else
65197 if test x$gcc_no_link = xyes; then
65198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65200 { (exit 1); exit 1; }; }
65202 cat >conftest.$ac_ext <<_ACEOF
65203 /* confdefs.h. */
65204 _ACEOF
65205 cat confdefs.h >>conftest.$ac_ext
65206 cat >>conftest.$ac_ext <<_ACEOF
65207 /* end confdefs.h. */
65208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65210 #define $ac_func innocuous_$ac_func
65212 /* System header to define __stub macros and hopefully few prototypes,
65213 which can conflict with char $ac_func (); below.
65214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65215 <limits.h> exists even on freestanding compilers. */
65217 #ifdef __STDC__
65218 # include <limits.h>
65219 #else
65220 # include <assert.h>
65221 #endif
65223 #undef $ac_func
65225 /* Override any gcc2 internal prototype to avoid an error. */
65226 #ifdef __cplusplus
65227 extern "C"
65229 #endif
65230 /* We use char because int might match the return type of a gcc2
65231 builtin and then its argument prototype would still apply. */
65232 char $ac_func ();
65233 /* The GNU C library defines this for functions which it implements
65234 to always fail with ENOSYS. Some functions are actually named
65235 something starting with __ and the normal name is an alias. */
65236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65237 choke me
65238 #else
65239 char (*f) () = $ac_func;
65240 #endif
65241 #ifdef __cplusplus
65243 #endif
65246 main ()
65248 return f != $ac_func;
65250 return 0;
65252 _ACEOF
65253 rm -f conftest.$ac_objext conftest$ac_exeext
65254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65255 (eval $ac_link) 2>conftest.er1
65256 ac_status=$?
65257 grep -v '^ *+' conftest.er1 >conftest.err
65258 rm -f conftest.er1
65259 cat conftest.err >&5
65260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65261 (exit $ac_status); } &&
65262 { ac_try='test -z "$ac_c_werror_flag"
65263 || test ! -s conftest.err'
65264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65265 (eval $ac_try) 2>&5
65266 ac_status=$?
65267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65268 (exit $ac_status); }; } &&
65269 { ac_try='test -s conftest$ac_exeext'
65270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65271 (eval $ac_try) 2>&5
65272 ac_status=$?
65273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65274 (exit $ac_status); }; }; then
65275 eval "$as_ac_var=yes"
65276 else
65277 echo "$as_me: failed program was:" >&5
65278 sed 's/^/| /' conftest.$ac_ext >&5
65280 eval "$as_ac_var=no"
65282 rm -f conftest.err conftest.$ac_objext \
65283 conftest$ac_exeext conftest.$ac_ext
65285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65287 if test `eval echo '${'$as_ac_var'}'` = yes; then
65288 cat >>confdefs.h <<_ACEOF
65289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65290 _ACEOF
65293 done
65300 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65301 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65302 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65303 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65304 echo $ECHO_N "(cached) $ECHO_C" >&6
65305 else
65309 ac_ext=cc
65310 ac_cpp='$CXXCPP $CPPFLAGS'
65311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65315 cat >conftest.$ac_ext <<_ACEOF
65316 /* confdefs.h. */
65317 _ACEOF
65318 cat confdefs.h >>conftest.$ac_ext
65319 cat >>conftest.$ac_ext <<_ACEOF
65320 /* end confdefs.h. */
65321 #include <math.h>
65322 #ifdef HAVE_IEEEFP_H
65323 #include <ieeefp.h>
65324 #endif
65327 main ()
65329 fabsl(0);
65331 return 0;
65333 _ACEOF
65334 rm -f conftest.$ac_objext
65335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65336 (eval $ac_compile) 2>conftest.er1
65337 ac_status=$?
65338 grep -v '^ *+' conftest.er1 >conftest.err
65339 rm -f conftest.er1
65340 cat conftest.err >&5
65341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65342 (exit $ac_status); } &&
65343 { ac_try='test -z "$ac_cxx_werror_flag"
65344 || test ! -s conftest.err'
65345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65346 (eval $ac_try) 2>&5
65347 ac_status=$?
65348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65349 (exit $ac_status); }; } &&
65350 { ac_try='test -s conftest.$ac_objext'
65351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65352 (eval $ac_try) 2>&5
65353 ac_status=$?
65354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65355 (exit $ac_status); }; }; then
65356 glibcxx_cv_func_fabsl_use=yes
65357 else
65358 echo "$as_me: failed program was:" >&5
65359 sed 's/^/| /' conftest.$ac_ext >&5
65361 glibcxx_cv_func_fabsl_use=no
65363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65364 ac_ext=c
65365 ac_cpp='$CPP $CPPFLAGS'
65366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65375 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65377 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65379 for ac_func in fabsl
65381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65382 echo "$as_me:$LINENO: checking for $ac_func" >&5
65383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65384 if eval "test \"\${$as_ac_var+set}\" = set"; then
65385 echo $ECHO_N "(cached) $ECHO_C" >&6
65386 else
65387 if test x$gcc_no_link = xyes; then
65388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65390 { (exit 1); exit 1; }; }
65392 cat >conftest.$ac_ext <<_ACEOF
65393 /* confdefs.h. */
65394 _ACEOF
65395 cat confdefs.h >>conftest.$ac_ext
65396 cat >>conftest.$ac_ext <<_ACEOF
65397 /* end confdefs.h. */
65398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65400 #define $ac_func innocuous_$ac_func
65402 /* System header to define __stub macros and hopefully few prototypes,
65403 which can conflict with char $ac_func (); below.
65404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65405 <limits.h> exists even on freestanding compilers. */
65407 #ifdef __STDC__
65408 # include <limits.h>
65409 #else
65410 # include <assert.h>
65411 #endif
65413 #undef $ac_func
65415 /* Override any gcc2 internal prototype to avoid an error. */
65416 #ifdef __cplusplus
65417 extern "C"
65419 #endif
65420 /* We use char because int might match the return type of a gcc2
65421 builtin and then its argument prototype would still apply. */
65422 char $ac_func ();
65423 /* The GNU C library defines this for functions which it implements
65424 to always fail with ENOSYS. Some functions are actually named
65425 something starting with __ and the normal name is an alias. */
65426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65427 choke me
65428 #else
65429 char (*f) () = $ac_func;
65430 #endif
65431 #ifdef __cplusplus
65433 #endif
65436 main ()
65438 return f != $ac_func;
65440 return 0;
65442 _ACEOF
65443 rm -f conftest.$ac_objext conftest$ac_exeext
65444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65445 (eval $ac_link) 2>conftest.er1
65446 ac_status=$?
65447 grep -v '^ *+' conftest.er1 >conftest.err
65448 rm -f conftest.er1
65449 cat conftest.err >&5
65450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65451 (exit $ac_status); } &&
65452 { ac_try='test -z "$ac_c_werror_flag"
65453 || test ! -s conftest.err'
65454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65455 (eval $ac_try) 2>&5
65456 ac_status=$?
65457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65458 (exit $ac_status); }; } &&
65459 { ac_try='test -s conftest$ac_exeext'
65460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65461 (eval $ac_try) 2>&5
65462 ac_status=$?
65463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65464 (exit $ac_status); }; }; then
65465 eval "$as_ac_var=yes"
65466 else
65467 echo "$as_me: failed program was:" >&5
65468 sed 's/^/| /' conftest.$ac_ext >&5
65470 eval "$as_ac_var=no"
65472 rm -f conftest.err conftest.$ac_objext \
65473 conftest$ac_exeext conftest.$ac_ext
65475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65477 if test `eval echo '${'$as_ac_var'}'` = yes; then
65478 cat >>confdefs.h <<_ACEOF
65479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65480 _ACEOF
65483 done
65485 else
65487 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65488 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65489 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65490 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65491 echo $ECHO_N "(cached) $ECHO_C" >&6
65492 else
65496 ac_ext=cc
65497 ac_cpp='$CXXCPP $CPPFLAGS'
65498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65502 cat >conftest.$ac_ext <<_ACEOF
65503 /* confdefs.h. */
65504 _ACEOF
65505 cat confdefs.h >>conftest.$ac_ext
65506 cat >>conftest.$ac_ext <<_ACEOF
65507 /* end confdefs.h. */
65508 #include <math.h>
65509 #ifdef HAVE_IEEEFP_H
65510 #include <ieeefp.h>
65511 #endif
65514 main ()
65516 _fabsl(0);
65518 return 0;
65520 _ACEOF
65521 rm -f conftest.$ac_objext
65522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65523 (eval $ac_compile) 2>conftest.er1
65524 ac_status=$?
65525 grep -v '^ *+' conftest.er1 >conftest.err
65526 rm -f conftest.er1
65527 cat conftest.err >&5
65528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65529 (exit $ac_status); } &&
65530 { ac_try='test -z "$ac_cxx_werror_flag"
65531 || test ! -s conftest.err'
65532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65533 (eval $ac_try) 2>&5
65534 ac_status=$?
65535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65536 (exit $ac_status); }; } &&
65537 { ac_try='test -s conftest.$ac_objext'
65538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65539 (eval $ac_try) 2>&5
65540 ac_status=$?
65541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65542 (exit $ac_status); }; }; then
65543 glibcxx_cv_func__fabsl_use=yes
65544 else
65545 echo "$as_me: failed program was:" >&5
65546 sed 's/^/| /' conftest.$ac_ext >&5
65548 glibcxx_cv_func__fabsl_use=no
65550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65551 ac_ext=c
65552 ac_cpp='$CPP $CPPFLAGS'
65553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65561 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
65562 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
65564 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65566 for ac_func in _fabsl
65568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65569 echo "$as_me:$LINENO: checking for $ac_func" >&5
65570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65571 if eval "test \"\${$as_ac_var+set}\" = set"; then
65572 echo $ECHO_N "(cached) $ECHO_C" >&6
65573 else
65574 if test x$gcc_no_link = xyes; then
65575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65577 { (exit 1); exit 1; }; }
65579 cat >conftest.$ac_ext <<_ACEOF
65580 /* confdefs.h. */
65581 _ACEOF
65582 cat confdefs.h >>conftest.$ac_ext
65583 cat >>conftest.$ac_ext <<_ACEOF
65584 /* end confdefs.h. */
65585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65587 #define $ac_func innocuous_$ac_func
65589 /* System header to define __stub macros and hopefully few prototypes,
65590 which can conflict with char $ac_func (); below.
65591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65592 <limits.h> exists even on freestanding compilers. */
65594 #ifdef __STDC__
65595 # include <limits.h>
65596 #else
65597 # include <assert.h>
65598 #endif
65600 #undef $ac_func
65602 /* Override any gcc2 internal prototype to avoid an error. */
65603 #ifdef __cplusplus
65604 extern "C"
65606 #endif
65607 /* We use char because int might match the return type of a gcc2
65608 builtin and then its argument prototype would still apply. */
65609 char $ac_func ();
65610 /* The GNU C library defines this for functions which it implements
65611 to always fail with ENOSYS. Some functions are actually named
65612 something starting with __ and the normal name is an alias. */
65613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65614 choke me
65615 #else
65616 char (*f) () = $ac_func;
65617 #endif
65618 #ifdef __cplusplus
65620 #endif
65623 main ()
65625 return f != $ac_func;
65627 return 0;
65629 _ACEOF
65630 rm -f conftest.$ac_objext conftest$ac_exeext
65631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65632 (eval $ac_link) 2>conftest.er1
65633 ac_status=$?
65634 grep -v '^ *+' conftest.er1 >conftest.err
65635 rm -f conftest.er1
65636 cat conftest.err >&5
65637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65638 (exit $ac_status); } &&
65639 { ac_try='test -z "$ac_c_werror_flag"
65640 || test ! -s conftest.err'
65641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65642 (eval $ac_try) 2>&5
65643 ac_status=$?
65644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65645 (exit $ac_status); }; } &&
65646 { ac_try='test -s conftest$ac_exeext'
65647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65648 (eval $ac_try) 2>&5
65649 ac_status=$?
65650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65651 (exit $ac_status); }; }; then
65652 eval "$as_ac_var=yes"
65653 else
65654 echo "$as_me: failed program was:" >&5
65655 sed 's/^/| /' conftest.$ac_ext >&5
65657 eval "$as_ac_var=no"
65659 rm -f conftest.err conftest.$ac_objext \
65660 conftest$ac_exeext conftest.$ac_ext
65662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65664 if test `eval echo '${'$as_ac_var'}'` = yes; then
65665 cat >>confdefs.h <<_ACEOF
65666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65667 _ACEOF
65670 done
65677 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
65678 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
65679 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65680 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
65681 echo $ECHO_N "(cached) $ECHO_C" >&6
65682 else
65686 ac_ext=cc
65687 ac_cpp='$CXXCPP $CPPFLAGS'
65688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65692 cat >conftest.$ac_ext <<_ACEOF
65693 /* confdefs.h. */
65694 _ACEOF
65695 cat confdefs.h >>conftest.$ac_ext
65696 cat >>conftest.$ac_ext <<_ACEOF
65697 /* end confdefs.h. */
65698 #include <math.h>
65700 main ()
65702 fmodl(0, 0);
65704 return 0;
65706 _ACEOF
65707 rm -f conftest.$ac_objext
65708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65709 (eval $ac_compile) 2>conftest.er1
65710 ac_status=$?
65711 grep -v '^ *+' conftest.er1 >conftest.err
65712 rm -f conftest.er1
65713 cat conftest.err >&5
65714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65715 (exit $ac_status); } &&
65716 { ac_try='test -z "$ac_cxx_werror_flag"
65717 || test ! -s conftest.err'
65718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65719 (eval $ac_try) 2>&5
65720 ac_status=$?
65721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65722 (exit $ac_status); }; } &&
65723 { ac_try='test -s conftest.$ac_objext'
65724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65725 (eval $ac_try) 2>&5
65726 ac_status=$?
65727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65728 (exit $ac_status); }; }; then
65729 glibcxx_cv_func_fmodl_use=yes
65730 else
65731 echo "$as_me: failed program was:" >&5
65732 sed 's/^/| /' conftest.$ac_ext >&5
65734 glibcxx_cv_func_fmodl_use=no
65736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65737 ac_ext=c
65738 ac_cpp='$CPP $CPPFLAGS'
65739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65748 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65750 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65752 for ac_func in fmodl
65754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65755 echo "$as_me:$LINENO: checking for $ac_func" >&5
65756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65757 if eval "test \"\${$as_ac_var+set}\" = set"; then
65758 echo $ECHO_N "(cached) $ECHO_C" >&6
65759 else
65760 if test x$gcc_no_link = xyes; then
65761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65763 { (exit 1); exit 1; }; }
65765 cat >conftest.$ac_ext <<_ACEOF
65766 /* confdefs.h. */
65767 _ACEOF
65768 cat confdefs.h >>conftest.$ac_ext
65769 cat >>conftest.$ac_ext <<_ACEOF
65770 /* end confdefs.h. */
65771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65773 #define $ac_func innocuous_$ac_func
65775 /* System header to define __stub macros and hopefully few prototypes,
65776 which can conflict with char $ac_func (); below.
65777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65778 <limits.h> exists even on freestanding compilers. */
65780 #ifdef __STDC__
65781 # include <limits.h>
65782 #else
65783 # include <assert.h>
65784 #endif
65786 #undef $ac_func
65788 /* Override any gcc2 internal prototype to avoid an error. */
65789 #ifdef __cplusplus
65790 extern "C"
65792 #endif
65793 /* We use char because int might match the return type of a gcc2
65794 builtin and then its argument prototype would still apply. */
65795 char $ac_func ();
65796 /* The GNU C library defines this for functions which it implements
65797 to always fail with ENOSYS. Some functions are actually named
65798 something starting with __ and the normal name is an alias. */
65799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65800 choke me
65801 #else
65802 char (*f) () = $ac_func;
65803 #endif
65804 #ifdef __cplusplus
65806 #endif
65809 main ()
65811 return f != $ac_func;
65813 return 0;
65815 _ACEOF
65816 rm -f conftest.$ac_objext conftest$ac_exeext
65817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65818 (eval $ac_link) 2>conftest.er1
65819 ac_status=$?
65820 grep -v '^ *+' conftest.er1 >conftest.err
65821 rm -f conftest.er1
65822 cat conftest.err >&5
65823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65824 (exit $ac_status); } &&
65825 { ac_try='test -z "$ac_c_werror_flag"
65826 || test ! -s conftest.err'
65827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65828 (eval $ac_try) 2>&5
65829 ac_status=$?
65830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65831 (exit $ac_status); }; } &&
65832 { ac_try='test -s conftest$ac_exeext'
65833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65834 (eval $ac_try) 2>&5
65835 ac_status=$?
65836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65837 (exit $ac_status); }; }; then
65838 eval "$as_ac_var=yes"
65839 else
65840 echo "$as_me: failed program was:" >&5
65841 sed 's/^/| /' conftest.$ac_ext >&5
65843 eval "$as_ac_var=no"
65845 rm -f conftest.err conftest.$ac_objext \
65846 conftest$ac_exeext conftest.$ac_ext
65848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65850 if test `eval echo '${'$as_ac_var'}'` = yes; then
65851 cat >>confdefs.h <<_ACEOF
65852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65853 _ACEOF
65856 done
65858 else
65860 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65861 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65862 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65863 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65864 echo $ECHO_N "(cached) $ECHO_C" >&6
65865 else
65869 ac_ext=cc
65870 ac_cpp='$CXXCPP $CPPFLAGS'
65871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65875 cat >conftest.$ac_ext <<_ACEOF
65876 /* confdefs.h. */
65877 _ACEOF
65878 cat confdefs.h >>conftest.$ac_ext
65879 cat >>conftest.$ac_ext <<_ACEOF
65880 /* end confdefs.h. */
65881 #include <math.h>
65883 main ()
65885 _fmodl(0, 0);
65887 return 0;
65889 _ACEOF
65890 rm -f conftest.$ac_objext
65891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65892 (eval $ac_compile) 2>conftest.er1
65893 ac_status=$?
65894 grep -v '^ *+' conftest.er1 >conftest.err
65895 rm -f conftest.er1
65896 cat conftest.err >&5
65897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65898 (exit $ac_status); } &&
65899 { ac_try='test -z "$ac_cxx_werror_flag"
65900 || test ! -s conftest.err'
65901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65902 (eval $ac_try) 2>&5
65903 ac_status=$?
65904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65905 (exit $ac_status); }; } &&
65906 { ac_try='test -s conftest.$ac_objext'
65907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65908 (eval $ac_try) 2>&5
65909 ac_status=$?
65910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65911 (exit $ac_status); }; }; then
65912 glibcxx_cv_func__fmodl_use=yes
65913 else
65914 echo "$as_me: failed program was:" >&5
65915 sed 's/^/| /' conftest.$ac_ext >&5
65917 glibcxx_cv_func__fmodl_use=no
65919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65920 ac_ext=c
65921 ac_cpp='$CPP $CPPFLAGS'
65922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65930 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65931 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65933 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65935 for ac_func in _fmodl
65937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65938 echo "$as_me:$LINENO: checking for $ac_func" >&5
65939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65940 if eval "test \"\${$as_ac_var+set}\" = set"; then
65941 echo $ECHO_N "(cached) $ECHO_C" >&6
65942 else
65943 if test x$gcc_no_link = xyes; then
65944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65946 { (exit 1); exit 1; }; }
65948 cat >conftest.$ac_ext <<_ACEOF
65949 /* confdefs.h. */
65950 _ACEOF
65951 cat confdefs.h >>conftest.$ac_ext
65952 cat >>conftest.$ac_ext <<_ACEOF
65953 /* end confdefs.h. */
65954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65956 #define $ac_func innocuous_$ac_func
65958 /* System header to define __stub macros and hopefully few prototypes,
65959 which can conflict with char $ac_func (); below.
65960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65961 <limits.h> exists even on freestanding compilers. */
65963 #ifdef __STDC__
65964 # include <limits.h>
65965 #else
65966 # include <assert.h>
65967 #endif
65969 #undef $ac_func
65971 /* Override any gcc2 internal prototype to avoid an error. */
65972 #ifdef __cplusplus
65973 extern "C"
65975 #endif
65976 /* We use char because int might match the return type of a gcc2
65977 builtin and then its argument prototype would still apply. */
65978 char $ac_func ();
65979 /* The GNU C library defines this for functions which it implements
65980 to always fail with ENOSYS. Some functions are actually named
65981 something starting with __ and the normal name is an alias. */
65982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65983 choke me
65984 #else
65985 char (*f) () = $ac_func;
65986 #endif
65987 #ifdef __cplusplus
65989 #endif
65992 main ()
65994 return f != $ac_func;
65996 return 0;
65998 _ACEOF
65999 rm -f conftest.$ac_objext conftest$ac_exeext
66000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66001 (eval $ac_link) 2>conftest.er1
66002 ac_status=$?
66003 grep -v '^ *+' conftest.er1 >conftest.err
66004 rm -f conftest.er1
66005 cat conftest.err >&5
66006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66007 (exit $ac_status); } &&
66008 { ac_try='test -z "$ac_c_werror_flag"
66009 || test ! -s conftest.err'
66010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66011 (eval $ac_try) 2>&5
66012 ac_status=$?
66013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66014 (exit $ac_status); }; } &&
66015 { ac_try='test -s conftest$ac_exeext'
66016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66017 (eval $ac_try) 2>&5
66018 ac_status=$?
66019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66020 (exit $ac_status); }; }; then
66021 eval "$as_ac_var=yes"
66022 else
66023 echo "$as_me: failed program was:" >&5
66024 sed 's/^/| /' conftest.$ac_ext >&5
66026 eval "$as_ac_var=no"
66028 rm -f conftest.err conftest.$ac_objext \
66029 conftest$ac_exeext conftest.$ac_ext
66031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66033 if test `eval echo '${'$as_ac_var'}'` = yes; then
66034 cat >>confdefs.h <<_ACEOF
66035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66036 _ACEOF
66039 done
66046 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66047 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66048 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66049 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66050 echo $ECHO_N "(cached) $ECHO_C" >&6
66051 else
66055 ac_ext=cc
66056 ac_cpp='$CXXCPP $CPPFLAGS'
66057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66061 cat >conftest.$ac_ext <<_ACEOF
66062 /* confdefs.h. */
66063 _ACEOF
66064 cat confdefs.h >>conftest.$ac_ext
66065 cat >>conftest.$ac_ext <<_ACEOF
66066 /* end confdefs.h. */
66067 #include <math.h>
66069 main ()
66071 frexpl(0, 0);
66073 return 0;
66075 _ACEOF
66076 rm -f conftest.$ac_objext
66077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66078 (eval $ac_compile) 2>conftest.er1
66079 ac_status=$?
66080 grep -v '^ *+' conftest.er1 >conftest.err
66081 rm -f conftest.er1
66082 cat conftest.err >&5
66083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66084 (exit $ac_status); } &&
66085 { ac_try='test -z "$ac_cxx_werror_flag"
66086 || test ! -s conftest.err'
66087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66088 (eval $ac_try) 2>&5
66089 ac_status=$?
66090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66091 (exit $ac_status); }; } &&
66092 { ac_try='test -s conftest.$ac_objext'
66093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66094 (eval $ac_try) 2>&5
66095 ac_status=$?
66096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66097 (exit $ac_status); }; }; then
66098 glibcxx_cv_func_frexpl_use=yes
66099 else
66100 echo "$as_me: failed program was:" >&5
66101 sed 's/^/| /' conftest.$ac_ext >&5
66103 glibcxx_cv_func_frexpl_use=no
66105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66106 ac_ext=c
66107 ac_cpp='$CPP $CPPFLAGS'
66108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66116 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66117 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66119 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66121 for ac_func in frexpl
66123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66124 echo "$as_me:$LINENO: checking for $ac_func" >&5
66125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66126 if eval "test \"\${$as_ac_var+set}\" = set"; then
66127 echo $ECHO_N "(cached) $ECHO_C" >&6
66128 else
66129 if test x$gcc_no_link = xyes; then
66130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66132 { (exit 1); exit 1; }; }
66134 cat >conftest.$ac_ext <<_ACEOF
66135 /* confdefs.h. */
66136 _ACEOF
66137 cat confdefs.h >>conftest.$ac_ext
66138 cat >>conftest.$ac_ext <<_ACEOF
66139 /* end confdefs.h. */
66140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66142 #define $ac_func innocuous_$ac_func
66144 /* System header to define __stub macros and hopefully few prototypes,
66145 which can conflict with char $ac_func (); below.
66146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66147 <limits.h> exists even on freestanding compilers. */
66149 #ifdef __STDC__
66150 # include <limits.h>
66151 #else
66152 # include <assert.h>
66153 #endif
66155 #undef $ac_func
66157 /* Override any gcc2 internal prototype to avoid an error. */
66158 #ifdef __cplusplus
66159 extern "C"
66161 #endif
66162 /* We use char because int might match the return type of a gcc2
66163 builtin and then its argument prototype would still apply. */
66164 char $ac_func ();
66165 /* The GNU C library defines this for functions which it implements
66166 to always fail with ENOSYS. Some functions are actually named
66167 something starting with __ and the normal name is an alias. */
66168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66169 choke me
66170 #else
66171 char (*f) () = $ac_func;
66172 #endif
66173 #ifdef __cplusplus
66175 #endif
66178 main ()
66180 return f != $ac_func;
66182 return 0;
66184 _ACEOF
66185 rm -f conftest.$ac_objext conftest$ac_exeext
66186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66187 (eval $ac_link) 2>conftest.er1
66188 ac_status=$?
66189 grep -v '^ *+' conftest.er1 >conftest.err
66190 rm -f conftest.er1
66191 cat conftest.err >&5
66192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66193 (exit $ac_status); } &&
66194 { ac_try='test -z "$ac_c_werror_flag"
66195 || test ! -s conftest.err'
66196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66197 (eval $ac_try) 2>&5
66198 ac_status=$?
66199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66200 (exit $ac_status); }; } &&
66201 { ac_try='test -s conftest$ac_exeext'
66202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66203 (eval $ac_try) 2>&5
66204 ac_status=$?
66205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66206 (exit $ac_status); }; }; then
66207 eval "$as_ac_var=yes"
66208 else
66209 echo "$as_me: failed program was:" >&5
66210 sed 's/^/| /' conftest.$ac_ext >&5
66212 eval "$as_ac_var=no"
66214 rm -f conftest.err conftest.$ac_objext \
66215 conftest$ac_exeext conftest.$ac_ext
66217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66219 if test `eval echo '${'$as_ac_var'}'` = yes; then
66220 cat >>confdefs.h <<_ACEOF
66221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66222 _ACEOF
66225 done
66227 else
66229 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66230 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66231 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66232 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66233 echo $ECHO_N "(cached) $ECHO_C" >&6
66234 else
66238 ac_ext=cc
66239 ac_cpp='$CXXCPP $CPPFLAGS'
66240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66244 cat >conftest.$ac_ext <<_ACEOF
66245 /* confdefs.h. */
66246 _ACEOF
66247 cat confdefs.h >>conftest.$ac_ext
66248 cat >>conftest.$ac_ext <<_ACEOF
66249 /* end confdefs.h. */
66250 #include <math.h>
66252 main ()
66254 _frexpl(0, 0);
66256 return 0;
66258 _ACEOF
66259 rm -f conftest.$ac_objext
66260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66261 (eval $ac_compile) 2>conftest.er1
66262 ac_status=$?
66263 grep -v '^ *+' conftest.er1 >conftest.err
66264 rm -f conftest.er1
66265 cat conftest.err >&5
66266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66267 (exit $ac_status); } &&
66268 { ac_try='test -z "$ac_cxx_werror_flag"
66269 || test ! -s conftest.err'
66270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66271 (eval $ac_try) 2>&5
66272 ac_status=$?
66273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66274 (exit $ac_status); }; } &&
66275 { ac_try='test -s conftest.$ac_objext'
66276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66277 (eval $ac_try) 2>&5
66278 ac_status=$?
66279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66280 (exit $ac_status); }; }; then
66281 glibcxx_cv_func__frexpl_use=yes
66282 else
66283 echo "$as_me: failed program was:" >&5
66284 sed 's/^/| /' conftest.$ac_ext >&5
66286 glibcxx_cv_func__frexpl_use=no
66288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66289 ac_ext=c
66290 ac_cpp='$CPP $CPPFLAGS'
66291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66299 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66300 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66302 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66304 for ac_func in _frexpl
66306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66307 echo "$as_me:$LINENO: checking for $ac_func" >&5
66308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66309 if eval "test \"\${$as_ac_var+set}\" = set"; then
66310 echo $ECHO_N "(cached) $ECHO_C" >&6
66311 else
66312 if test x$gcc_no_link = xyes; then
66313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66315 { (exit 1); exit 1; }; }
66317 cat >conftest.$ac_ext <<_ACEOF
66318 /* confdefs.h. */
66319 _ACEOF
66320 cat confdefs.h >>conftest.$ac_ext
66321 cat >>conftest.$ac_ext <<_ACEOF
66322 /* end confdefs.h. */
66323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66325 #define $ac_func innocuous_$ac_func
66327 /* System header to define __stub macros and hopefully few prototypes,
66328 which can conflict with char $ac_func (); below.
66329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66330 <limits.h> exists even on freestanding compilers. */
66332 #ifdef __STDC__
66333 # include <limits.h>
66334 #else
66335 # include <assert.h>
66336 #endif
66338 #undef $ac_func
66340 /* Override any gcc2 internal prototype to avoid an error. */
66341 #ifdef __cplusplus
66342 extern "C"
66344 #endif
66345 /* We use char because int might match the return type of a gcc2
66346 builtin and then its argument prototype would still apply. */
66347 char $ac_func ();
66348 /* The GNU C library defines this for functions which it implements
66349 to always fail with ENOSYS. Some functions are actually named
66350 something starting with __ and the normal name is an alias. */
66351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66352 choke me
66353 #else
66354 char (*f) () = $ac_func;
66355 #endif
66356 #ifdef __cplusplus
66358 #endif
66361 main ()
66363 return f != $ac_func;
66365 return 0;
66367 _ACEOF
66368 rm -f conftest.$ac_objext conftest$ac_exeext
66369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66370 (eval $ac_link) 2>conftest.er1
66371 ac_status=$?
66372 grep -v '^ *+' conftest.er1 >conftest.err
66373 rm -f conftest.er1
66374 cat conftest.err >&5
66375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66376 (exit $ac_status); } &&
66377 { ac_try='test -z "$ac_c_werror_flag"
66378 || test ! -s conftest.err'
66379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66380 (eval $ac_try) 2>&5
66381 ac_status=$?
66382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66383 (exit $ac_status); }; } &&
66384 { ac_try='test -s conftest$ac_exeext'
66385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66386 (eval $ac_try) 2>&5
66387 ac_status=$?
66388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66389 (exit $ac_status); }; }; then
66390 eval "$as_ac_var=yes"
66391 else
66392 echo "$as_me: failed program was:" >&5
66393 sed 's/^/| /' conftest.$ac_ext >&5
66395 eval "$as_ac_var=no"
66397 rm -f conftest.err conftest.$ac_objext \
66398 conftest$ac_exeext conftest.$ac_ext
66400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66402 if test `eval echo '${'$as_ac_var'}'` = yes; then
66403 cat >>confdefs.h <<_ACEOF
66404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66405 _ACEOF
66408 done
66415 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66416 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66417 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66418 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66419 echo $ECHO_N "(cached) $ECHO_C" >&6
66420 else
66424 ac_ext=cc
66425 ac_cpp='$CXXCPP $CPPFLAGS'
66426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66430 cat >conftest.$ac_ext <<_ACEOF
66431 /* confdefs.h. */
66432 _ACEOF
66433 cat confdefs.h >>conftest.$ac_ext
66434 cat >>conftest.$ac_ext <<_ACEOF
66435 /* end confdefs.h. */
66436 #include <math.h>
66438 main ()
66440 hypotl(0, 0);
66442 return 0;
66444 _ACEOF
66445 rm -f conftest.$ac_objext
66446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66447 (eval $ac_compile) 2>conftest.er1
66448 ac_status=$?
66449 grep -v '^ *+' conftest.er1 >conftest.err
66450 rm -f conftest.er1
66451 cat conftest.err >&5
66452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66453 (exit $ac_status); } &&
66454 { ac_try='test -z "$ac_cxx_werror_flag"
66455 || test ! -s conftest.err'
66456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66457 (eval $ac_try) 2>&5
66458 ac_status=$?
66459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66460 (exit $ac_status); }; } &&
66461 { ac_try='test -s conftest.$ac_objext'
66462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66463 (eval $ac_try) 2>&5
66464 ac_status=$?
66465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66466 (exit $ac_status); }; }; then
66467 glibcxx_cv_func_hypotl_use=yes
66468 else
66469 echo "$as_me: failed program was:" >&5
66470 sed 's/^/| /' conftest.$ac_ext >&5
66472 glibcxx_cv_func_hypotl_use=no
66474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66475 ac_ext=c
66476 ac_cpp='$CPP $CPPFLAGS'
66477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
66486 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
66488 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
66490 for ac_func in hypotl
66492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66493 echo "$as_me:$LINENO: checking for $ac_func" >&5
66494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66495 if eval "test \"\${$as_ac_var+set}\" = set"; then
66496 echo $ECHO_N "(cached) $ECHO_C" >&6
66497 else
66498 if test x$gcc_no_link = xyes; then
66499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66501 { (exit 1); exit 1; }; }
66503 cat >conftest.$ac_ext <<_ACEOF
66504 /* confdefs.h. */
66505 _ACEOF
66506 cat confdefs.h >>conftest.$ac_ext
66507 cat >>conftest.$ac_ext <<_ACEOF
66508 /* end confdefs.h. */
66509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66511 #define $ac_func innocuous_$ac_func
66513 /* System header to define __stub macros and hopefully few prototypes,
66514 which can conflict with char $ac_func (); below.
66515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66516 <limits.h> exists even on freestanding compilers. */
66518 #ifdef __STDC__
66519 # include <limits.h>
66520 #else
66521 # include <assert.h>
66522 #endif
66524 #undef $ac_func
66526 /* Override any gcc2 internal prototype to avoid an error. */
66527 #ifdef __cplusplus
66528 extern "C"
66530 #endif
66531 /* We use char because int might match the return type of a gcc2
66532 builtin and then its argument prototype would still apply. */
66533 char $ac_func ();
66534 /* The GNU C library defines this for functions which it implements
66535 to always fail with ENOSYS. Some functions are actually named
66536 something starting with __ and the normal name is an alias. */
66537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66538 choke me
66539 #else
66540 char (*f) () = $ac_func;
66541 #endif
66542 #ifdef __cplusplus
66544 #endif
66547 main ()
66549 return f != $ac_func;
66551 return 0;
66553 _ACEOF
66554 rm -f conftest.$ac_objext conftest$ac_exeext
66555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66556 (eval $ac_link) 2>conftest.er1
66557 ac_status=$?
66558 grep -v '^ *+' conftest.er1 >conftest.err
66559 rm -f conftest.er1
66560 cat conftest.err >&5
66561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66562 (exit $ac_status); } &&
66563 { ac_try='test -z "$ac_c_werror_flag"
66564 || test ! -s conftest.err'
66565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66566 (eval $ac_try) 2>&5
66567 ac_status=$?
66568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66569 (exit $ac_status); }; } &&
66570 { ac_try='test -s conftest$ac_exeext'
66571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66572 (eval $ac_try) 2>&5
66573 ac_status=$?
66574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66575 (exit $ac_status); }; }; then
66576 eval "$as_ac_var=yes"
66577 else
66578 echo "$as_me: failed program was:" >&5
66579 sed 's/^/| /' conftest.$ac_ext >&5
66581 eval "$as_ac_var=no"
66583 rm -f conftest.err conftest.$ac_objext \
66584 conftest$ac_exeext conftest.$ac_ext
66586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66588 if test `eval echo '${'$as_ac_var'}'` = yes; then
66589 cat >>confdefs.h <<_ACEOF
66590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66591 _ACEOF
66594 done
66596 else
66598 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
66599 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
66600 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66601 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
66602 echo $ECHO_N "(cached) $ECHO_C" >&6
66603 else
66607 ac_ext=cc
66608 ac_cpp='$CXXCPP $CPPFLAGS'
66609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66613 cat >conftest.$ac_ext <<_ACEOF
66614 /* confdefs.h. */
66615 _ACEOF
66616 cat confdefs.h >>conftest.$ac_ext
66617 cat >>conftest.$ac_ext <<_ACEOF
66618 /* end confdefs.h. */
66619 #include <math.h>
66621 main ()
66623 _hypotl(0, 0);
66625 return 0;
66627 _ACEOF
66628 rm -f conftest.$ac_objext
66629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66630 (eval $ac_compile) 2>conftest.er1
66631 ac_status=$?
66632 grep -v '^ *+' conftest.er1 >conftest.err
66633 rm -f conftest.er1
66634 cat conftest.err >&5
66635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66636 (exit $ac_status); } &&
66637 { ac_try='test -z "$ac_cxx_werror_flag"
66638 || test ! -s conftest.err'
66639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66640 (eval $ac_try) 2>&5
66641 ac_status=$?
66642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66643 (exit $ac_status); }; } &&
66644 { ac_try='test -s conftest.$ac_objext'
66645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66646 (eval $ac_try) 2>&5
66647 ac_status=$?
66648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66649 (exit $ac_status); }; }; then
66650 glibcxx_cv_func__hypotl_use=yes
66651 else
66652 echo "$as_me: failed program was:" >&5
66653 sed 's/^/| /' conftest.$ac_ext >&5
66655 glibcxx_cv_func__hypotl_use=no
66657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66658 ac_ext=c
66659 ac_cpp='$CPP $CPPFLAGS'
66660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
66669 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
66671 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66673 for ac_func in _hypotl
66675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66676 echo "$as_me:$LINENO: checking for $ac_func" >&5
66677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66678 if eval "test \"\${$as_ac_var+set}\" = set"; then
66679 echo $ECHO_N "(cached) $ECHO_C" >&6
66680 else
66681 if test x$gcc_no_link = xyes; then
66682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66684 { (exit 1); exit 1; }; }
66686 cat >conftest.$ac_ext <<_ACEOF
66687 /* confdefs.h. */
66688 _ACEOF
66689 cat confdefs.h >>conftest.$ac_ext
66690 cat >>conftest.$ac_ext <<_ACEOF
66691 /* end confdefs.h. */
66692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66694 #define $ac_func innocuous_$ac_func
66696 /* System header to define __stub macros and hopefully few prototypes,
66697 which can conflict with char $ac_func (); below.
66698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66699 <limits.h> exists even on freestanding compilers. */
66701 #ifdef __STDC__
66702 # include <limits.h>
66703 #else
66704 # include <assert.h>
66705 #endif
66707 #undef $ac_func
66709 /* Override any gcc2 internal prototype to avoid an error. */
66710 #ifdef __cplusplus
66711 extern "C"
66713 #endif
66714 /* We use char because int might match the return type of a gcc2
66715 builtin and then its argument prototype would still apply. */
66716 char $ac_func ();
66717 /* The GNU C library defines this for functions which it implements
66718 to always fail with ENOSYS. Some functions are actually named
66719 something starting with __ and the normal name is an alias. */
66720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66721 choke me
66722 #else
66723 char (*f) () = $ac_func;
66724 #endif
66725 #ifdef __cplusplus
66727 #endif
66730 main ()
66732 return f != $ac_func;
66734 return 0;
66736 _ACEOF
66737 rm -f conftest.$ac_objext conftest$ac_exeext
66738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66739 (eval $ac_link) 2>conftest.er1
66740 ac_status=$?
66741 grep -v '^ *+' conftest.er1 >conftest.err
66742 rm -f conftest.er1
66743 cat conftest.err >&5
66744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66745 (exit $ac_status); } &&
66746 { ac_try='test -z "$ac_c_werror_flag"
66747 || test ! -s conftest.err'
66748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66749 (eval $ac_try) 2>&5
66750 ac_status=$?
66751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66752 (exit $ac_status); }; } &&
66753 { ac_try='test -s conftest$ac_exeext'
66754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66755 (eval $ac_try) 2>&5
66756 ac_status=$?
66757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66758 (exit $ac_status); }; }; then
66759 eval "$as_ac_var=yes"
66760 else
66761 echo "$as_me: failed program was:" >&5
66762 sed 's/^/| /' conftest.$ac_ext >&5
66764 eval "$as_ac_var=no"
66766 rm -f conftest.err conftest.$ac_objext \
66767 conftest$ac_exeext conftest.$ac_ext
66769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66771 if test `eval echo '${'$as_ac_var'}'` = yes; then
66772 cat >>confdefs.h <<_ACEOF
66773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66774 _ACEOF
66777 done
66784 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66785 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66786 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66787 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66788 echo $ECHO_N "(cached) $ECHO_C" >&6
66789 else
66793 ac_ext=cc
66794 ac_cpp='$CXXCPP $CPPFLAGS'
66795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66799 cat >conftest.$ac_ext <<_ACEOF
66800 /* confdefs.h. */
66801 _ACEOF
66802 cat confdefs.h >>conftest.$ac_ext
66803 cat >>conftest.$ac_ext <<_ACEOF
66804 /* end confdefs.h. */
66805 #include <math.h>
66807 main ()
66809 ldexpl(0, 0);
66811 return 0;
66813 _ACEOF
66814 rm -f conftest.$ac_objext
66815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66816 (eval $ac_compile) 2>conftest.er1
66817 ac_status=$?
66818 grep -v '^ *+' conftest.er1 >conftest.err
66819 rm -f conftest.er1
66820 cat conftest.err >&5
66821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66822 (exit $ac_status); } &&
66823 { ac_try='test -z "$ac_cxx_werror_flag"
66824 || test ! -s conftest.err'
66825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66826 (eval $ac_try) 2>&5
66827 ac_status=$?
66828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66829 (exit $ac_status); }; } &&
66830 { ac_try='test -s conftest.$ac_objext'
66831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66832 (eval $ac_try) 2>&5
66833 ac_status=$?
66834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66835 (exit $ac_status); }; }; then
66836 glibcxx_cv_func_ldexpl_use=yes
66837 else
66838 echo "$as_me: failed program was:" >&5
66839 sed 's/^/| /' conftest.$ac_ext >&5
66841 glibcxx_cv_func_ldexpl_use=no
66843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66844 ac_ext=c
66845 ac_cpp='$CPP $CPPFLAGS'
66846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66854 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66855 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66857 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66859 for ac_func in ldexpl
66861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66862 echo "$as_me:$LINENO: checking for $ac_func" >&5
66863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66864 if eval "test \"\${$as_ac_var+set}\" = set"; then
66865 echo $ECHO_N "(cached) $ECHO_C" >&6
66866 else
66867 if test x$gcc_no_link = xyes; then
66868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66870 { (exit 1); exit 1; }; }
66872 cat >conftest.$ac_ext <<_ACEOF
66873 /* confdefs.h. */
66874 _ACEOF
66875 cat confdefs.h >>conftest.$ac_ext
66876 cat >>conftest.$ac_ext <<_ACEOF
66877 /* end confdefs.h. */
66878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66880 #define $ac_func innocuous_$ac_func
66882 /* System header to define __stub macros and hopefully few prototypes,
66883 which can conflict with char $ac_func (); below.
66884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66885 <limits.h> exists even on freestanding compilers. */
66887 #ifdef __STDC__
66888 # include <limits.h>
66889 #else
66890 # include <assert.h>
66891 #endif
66893 #undef $ac_func
66895 /* Override any gcc2 internal prototype to avoid an error. */
66896 #ifdef __cplusplus
66897 extern "C"
66899 #endif
66900 /* We use char because int might match the return type of a gcc2
66901 builtin and then its argument prototype would still apply. */
66902 char $ac_func ();
66903 /* The GNU C library defines this for functions which it implements
66904 to always fail with ENOSYS. Some functions are actually named
66905 something starting with __ and the normal name is an alias. */
66906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66907 choke me
66908 #else
66909 char (*f) () = $ac_func;
66910 #endif
66911 #ifdef __cplusplus
66913 #endif
66916 main ()
66918 return f != $ac_func;
66920 return 0;
66922 _ACEOF
66923 rm -f conftest.$ac_objext conftest$ac_exeext
66924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66925 (eval $ac_link) 2>conftest.er1
66926 ac_status=$?
66927 grep -v '^ *+' conftest.er1 >conftest.err
66928 rm -f conftest.er1
66929 cat conftest.err >&5
66930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66931 (exit $ac_status); } &&
66932 { ac_try='test -z "$ac_c_werror_flag"
66933 || test ! -s conftest.err'
66934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66935 (eval $ac_try) 2>&5
66936 ac_status=$?
66937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66938 (exit $ac_status); }; } &&
66939 { ac_try='test -s conftest$ac_exeext'
66940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66941 (eval $ac_try) 2>&5
66942 ac_status=$?
66943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66944 (exit $ac_status); }; }; then
66945 eval "$as_ac_var=yes"
66946 else
66947 echo "$as_me: failed program was:" >&5
66948 sed 's/^/| /' conftest.$ac_ext >&5
66950 eval "$as_ac_var=no"
66952 rm -f conftest.err conftest.$ac_objext \
66953 conftest$ac_exeext conftest.$ac_ext
66955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66957 if test `eval echo '${'$as_ac_var'}'` = yes; then
66958 cat >>confdefs.h <<_ACEOF
66959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66960 _ACEOF
66963 done
66965 else
66967 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66968 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66969 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66970 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66971 echo $ECHO_N "(cached) $ECHO_C" >&6
66972 else
66976 ac_ext=cc
66977 ac_cpp='$CXXCPP $CPPFLAGS'
66978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66982 cat >conftest.$ac_ext <<_ACEOF
66983 /* confdefs.h. */
66984 _ACEOF
66985 cat confdefs.h >>conftest.$ac_ext
66986 cat >>conftest.$ac_ext <<_ACEOF
66987 /* end confdefs.h. */
66988 #include <math.h>
66990 main ()
66992 _ldexpl(0, 0);
66994 return 0;
66996 _ACEOF
66997 rm -f conftest.$ac_objext
66998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66999 (eval $ac_compile) 2>conftest.er1
67000 ac_status=$?
67001 grep -v '^ *+' conftest.er1 >conftest.err
67002 rm -f conftest.er1
67003 cat conftest.err >&5
67004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67005 (exit $ac_status); } &&
67006 { ac_try='test -z "$ac_cxx_werror_flag"
67007 || test ! -s conftest.err'
67008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67009 (eval $ac_try) 2>&5
67010 ac_status=$?
67011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67012 (exit $ac_status); }; } &&
67013 { ac_try='test -s conftest.$ac_objext'
67014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67015 (eval $ac_try) 2>&5
67016 ac_status=$?
67017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67018 (exit $ac_status); }; }; then
67019 glibcxx_cv_func__ldexpl_use=yes
67020 else
67021 echo "$as_me: failed program was:" >&5
67022 sed 's/^/| /' conftest.$ac_ext >&5
67024 glibcxx_cv_func__ldexpl_use=no
67026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67027 ac_ext=c
67028 ac_cpp='$CPP $CPPFLAGS'
67029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67037 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67038 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67040 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67042 for ac_func in _ldexpl
67044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67045 echo "$as_me:$LINENO: checking for $ac_func" >&5
67046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67047 if eval "test \"\${$as_ac_var+set}\" = set"; then
67048 echo $ECHO_N "(cached) $ECHO_C" >&6
67049 else
67050 if test x$gcc_no_link = xyes; then
67051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67053 { (exit 1); exit 1; }; }
67055 cat >conftest.$ac_ext <<_ACEOF
67056 /* confdefs.h. */
67057 _ACEOF
67058 cat confdefs.h >>conftest.$ac_ext
67059 cat >>conftest.$ac_ext <<_ACEOF
67060 /* end confdefs.h. */
67061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67063 #define $ac_func innocuous_$ac_func
67065 /* System header to define __stub macros and hopefully few prototypes,
67066 which can conflict with char $ac_func (); below.
67067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67068 <limits.h> exists even on freestanding compilers. */
67070 #ifdef __STDC__
67071 # include <limits.h>
67072 #else
67073 # include <assert.h>
67074 #endif
67076 #undef $ac_func
67078 /* Override any gcc2 internal prototype to avoid an error. */
67079 #ifdef __cplusplus
67080 extern "C"
67082 #endif
67083 /* We use char because int might match the return type of a gcc2
67084 builtin and then its argument prototype would still apply. */
67085 char $ac_func ();
67086 /* The GNU C library defines this for functions which it implements
67087 to always fail with ENOSYS. Some functions are actually named
67088 something starting with __ and the normal name is an alias. */
67089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67090 choke me
67091 #else
67092 char (*f) () = $ac_func;
67093 #endif
67094 #ifdef __cplusplus
67096 #endif
67099 main ()
67101 return f != $ac_func;
67103 return 0;
67105 _ACEOF
67106 rm -f conftest.$ac_objext conftest$ac_exeext
67107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67108 (eval $ac_link) 2>conftest.er1
67109 ac_status=$?
67110 grep -v '^ *+' conftest.er1 >conftest.err
67111 rm -f conftest.er1
67112 cat conftest.err >&5
67113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67114 (exit $ac_status); } &&
67115 { ac_try='test -z "$ac_c_werror_flag"
67116 || test ! -s conftest.err'
67117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67118 (eval $ac_try) 2>&5
67119 ac_status=$?
67120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67121 (exit $ac_status); }; } &&
67122 { ac_try='test -s conftest$ac_exeext'
67123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67124 (eval $ac_try) 2>&5
67125 ac_status=$?
67126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67127 (exit $ac_status); }; }; then
67128 eval "$as_ac_var=yes"
67129 else
67130 echo "$as_me: failed program was:" >&5
67131 sed 's/^/| /' conftest.$ac_ext >&5
67133 eval "$as_ac_var=no"
67135 rm -f conftest.err conftest.$ac_objext \
67136 conftest$ac_exeext conftest.$ac_ext
67138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67140 if test `eval echo '${'$as_ac_var'}'` = yes; then
67141 cat >>confdefs.h <<_ACEOF
67142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67143 _ACEOF
67146 done
67153 echo "$as_me:$LINENO: checking for logl declaration" >&5
67154 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67155 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67156 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67157 echo $ECHO_N "(cached) $ECHO_C" >&6
67158 else
67162 ac_ext=cc
67163 ac_cpp='$CXXCPP $CPPFLAGS'
67164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67168 cat >conftest.$ac_ext <<_ACEOF
67169 /* confdefs.h. */
67170 _ACEOF
67171 cat confdefs.h >>conftest.$ac_ext
67172 cat >>conftest.$ac_ext <<_ACEOF
67173 /* end confdefs.h. */
67174 #include <math.h>
67175 #ifdef HAVE_IEEEFP_H
67176 #include <ieeefp.h>
67177 #endif
67180 main ()
67182 logl(0);
67184 return 0;
67186 _ACEOF
67187 rm -f conftest.$ac_objext
67188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67189 (eval $ac_compile) 2>conftest.er1
67190 ac_status=$?
67191 grep -v '^ *+' conftest.er1 >conftest.err
67192 rm -f conftest.er1
67193 cat conftest.err >&5
67194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67195 (exit $ac_status); } &&
67196 { ac_try='test -z "$ac_cxx_werror_flag"
67197 || test ! -s conftest.err'
67198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67199 (eval $ac_try) 2>&5
67200 ac_status=$?
67201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67202 (exit $ac_status); }; } &&
67203 { ac_try='test -s conftest.$ac_objext'
67204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67205 (eval $ac_try) 2>&5
67206 ac_status=$?
67207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67208 (exit $ac_status); }; }; then
67209 glibcxx_cv_func_logl_use=yes
67210 else
67211 echo "$as_me: failed program was:" >&5
67212 sed 's/^/| /' conftest.$ac_ext >&5
67214 glibcxx_cv_func_logl_use=no
67216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67217 ac_ext=c
67218 ac_cpp='$CPP $CPPFLAGS'
67219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67227 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67228 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67230 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67232 for ac_func in logl
67234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67235 echo "$as_me:$LINENO: checking for $ac_func" >&5
67236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67237 if eval "test \"\${$as_ac_var+set}\" = set"; then
67238 echo $ECHO_N "(cached) $ECHO_C" >&6
67239 else
67240 if test x$gcc_no_link = xyes; then
67241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67243 { (exit 1); exit 1; }; }
67245 cat >conftest.$ac_ext <<_ACEOF
67246 /* confdefs.h. */
67247 _ACEOF
67248 cat confdefs.h >>conftest.$ac_ext
67249 cat >>conftest.$ac_ext <<_ACEOF
67250 /* end confdefs.h. */
67251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67253 #define $ac_func innocuous_$ac_func
67255 /* System header to define __stub macros and hopefully few prototypes,
67256 which can conflict with char $ac_func (); below.
67257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67258 <limits.h> exists even on freestanding compilers. */
67260 #ifdef __STDC__
67261 # include <limits.h>
67262 #else
67263 # include <assert.h>
67264 #endif
67266 #undef $ac_func
67268 /* Override any gcc2 internal prototype to avoid an error. */
67269 #ifdef __cplusplus
67270 extern "C"
67272 #endif
67273 /* We use char because int might match the return type of a gcc2
67274 builtin and then its argument prototype would still apply. */
67275 char $ac_func ();
67276 /* The GNU C library defines this for functions which it implements
67277 to always fail with ENOSYS. Some functions are actually named
67278 something starting with __ and the normal name is an alias. */
67279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67280 choke me
67281 #else
67282 char (*f) () = $ac_func;
67283 #endif
67284 #ifdef __cplusplus
67286 #endif
67289 main ()
67291 return f != $ac_func;
67293 return 0;
67295 _ACEOF
67296 rm -f conftest.$ac_objext conftest$ac_exeext
67297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67298 (eval $ac_link) 2>conftest.er1
67299 ac_status=$?
67300 grep -v '^ *+' conftest.er1 >conftest.err
67301 rm -f conftest.er1
67302 cat conftest.err >&5
67303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67304 (exit $ac_status); } &&
67305 { ac_try='test -z "$ac_c_werror_flag"
67306 || test ! -s conftest.err'
67307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67308 (eval $ac_try) 2>&5
67309 ac_status=$?
67310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67311 (exit $ac_status); }; } &&
67312 { ac_try='test -s conftest$ac_exeext'
67313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67314 (eval $ac_try) 2>&5
67315 ac_status=$?
67316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67317 (exit $ac_status); }; }; then
67318 eval "$as_ac_var=yes"
67319 else
67320 echo "$as_me: failed program was:" >&5
67321 sed 's/^/| /' conftest.$ac_ext >&5
67323 eval "$as_ac_var=no"
67325 rm -f conftest.err conftest.$ac_objext \
67326 conftest$ac_exeext conftest.$ac_ext
67328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67330 if test `eval echo '${'$as_ac_var'}'` = yes; then
67331 cat >>confdefs.h <<_ACEOF
67332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67333 _ACEOF
67336 done
67338 else
67340 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67341 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67342 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67343 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67344 echo $ECHO_N "(cached) $ECHO_C" >&6
67345 else
67349 ac_ext=cc
67350 ac_cpp='$CXXCPP $CPPFLAGS'
67351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67355 cat >conftest.$ac_ext <<_ACEOF
67356 /* confdefs.h. */
67357 _ACEOF
67358 cat confdefs.h >>conftest.$ac_ext
67359 cat >>conftest.$ac_ext <<_ACEOF
67360 /* end confdefs.h. */
67361 #include <math.h>
67362 #ifdef HAVE_IEEEFP_H
67363 #include <ieeefp.h>
67364 #endif
67367 main ()
67369 _logl(0);
67371 return 0;
67373 _ACEOF
67374 rm -f conftest.$ac_objext
67375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67376 (eval $ac_compile) 2>conftest.er1
67377 ac_status=$?
67378 grep -v '^ *+' conftest.er1 >conftest.err
67379 rm -f conftest.er1
67380 cat conftest.err >&5
67381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67382 (exit $ac_status); } &&
67383 { ac_try='test -z "$ac_cxx_werror_flag"
67384 || test ! -s conftest.err'
67385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67386 (eval $ac_try) 2>&5
67387 ac_status=$?
67388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67389 (exit $ac_status); }; } &&
67390 { ac_try='test -s conftest.$ac_objext'
67391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67392 (eval $ac_try) 2>&5
67393 ac_status=$?
67394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67395 (exit $ac_status); }; }; then
67396 glibcxx_cv_func__logl_use=yes
67397 else
67398 echo "$as_me: failed program was:" >&5
67399 sed 's/^/| /' conftest.$ac_ext >&5
67401 glibcxx_cv_func__logl_use=no
67403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67404 ac_ext=c
67405 ac_cpp='$CPP $CPPFLAGS'
67406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67414 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67415 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67417 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67419 for ac_func in _logl
67421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67422 echo "$as_me:$LINENO: checking for $ac_func" >&5
67423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67424 if eval "test \"\${$as_ac_var+set}\" = set"; then
67425 echo $ECHO_N "(cached) $ECHO_C" >&6
67426 else
67427 if test x$gcc_no_link = xyes; then
67428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67430 { (exit 1); exit 1; }; }
67432 cat >conftest.$ac_ext <<_ACEOF
67433 /* confdefs.h. */
67434 _ACEOF
67435 cat confdefs.h >>conftest.$ac_ext
67436 cat >>conftest.$ac_ext <<_ACEOF
67437 /* end confdefs.h. */
67438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67440 #define $ac_func innocuous_$ac_func
67442 /* System header to define __stub macros and hopefully few prototypes,
67443 which can conflict with char $ac_func (); below.
67444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67445 <limits.h> exists even on freestanding compilers. */
67447 #ifdef __STDC__
67448 # include <limits.h>
67449 #else
67450 # include <assert.h>
67451 #endif
67453 #undef $ac_func
67455 /* Override any gcc2 internal prototype to avoid an error. */
67456 #ifdef __cplusplus
67457 extern "C"
67459 #endif
67460 /* We use char because int might match the return type of a gcc2
67461 builtin and then its argument prototype would still apply. */
67462 char $ac_func ();
67463 /* The GNU C library defines this for functions which it implements
67464 to always fail with ENOSYS. Some functions are actually named
67465 something starting with __ and the normal name is an alias. */
67466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67467 choke me
67468 #else
67469 char (*f) () = $ac_func;
67470 #endif
67471 #ifdef __cplusplus
67473 #endif
67476 main ()
67478 return f != $ac_func;
67480 return 0;
67482 _ACEOF
67483 rm -f conftest.$ac_objext conftest$ac_exeext
67484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67485 (eval $ac_link) 2>conftest.er1
67486 ac_status=$?
67487 grep -v '^ *+' conftest.er1 >conftest.err
67488 rm -f conftest.er1
67489 cat conftest.err >&5
67490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67491 (exit $ac_status); } &&
67492 { ac_try='test -z "$ac_c_werror_flag"
67493 || test ! -s conftest.err'
67494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67495 (eval $ac_try) 2>&5
67496 ac_status=$?
67497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67498 (exit $ac_status); }; } &&
67499 { ac_try='test -s conftest$ac_exeext'
67500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67501 (eval $ac_try) 2>&5
67502 ac_status=$?
67503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67504 (exit $ac_status); }; }; then
67505 eval "$as_ac_var=yes"
67506 else
67507 echo "$as_me: failed program was:" >&5
67508 sed 's/^/| /' conftest.$ac_ext >&5
67510 eval "$as_ac_var=no"
67512 rm -f conftest.err conftest.$ac_objext \
67513 conftest$ac_exeext conftest.$ac_ext
67515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67517 if test `eval echo '${'$as_ac_var'}'` = yes; then
67518 cat >>confdefs.h <<_ACEOF
67519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67520 _ACEOF
67523 done
67530 echo "$as_me:$LINENO: checking for log10l declaration" >&5
67531 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
67532 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67533 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
67534 echo $ECHO_N "(cached) $ECHO_C" >&6
67535 else
67539 ac_ext=cc
67540 ac_cpp='$CXXCPP $CPPFLAGS'
67541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67545 cat >conftest.$ac_ext <<_ACEOF
67546 /* confdefs.h. */
67547 _ACEOF
67548 cat confdefs.h >>conftest.$ac_ext
67549 cat >>conftest.$ac_ext <<_ACEOF
67550 /* end confdefs.h. */
67551 #include <math.h>
67552 #ifdef HAVE_IEEEFP_H
67553 #include <ieeefp.h>
67554 #endif
67557 main ()
67559 log10l(0);
67561 return 0;
67563 _ACEOF
67564 rm -f conftest.$ac_objext
67565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67566 (eval $ac_compile) 2>conftest.er1
67567 ac_status=$?
67568 grep -v '^ *+' conftest.er1 >conftest.err
67569 rm -f conftest.er1
67570 cat conftest.err >&5
67571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67572 (exit $ac_status); } &&
67573 { ac_try='test -z "$ac_cxx_werror_flag"
67574 || test ! -s conftest.err'
67575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67576 (eval $ac_try) 2>&5
67577 ac_status=$?
67578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67579 (exit $ac_status); }; } &&
67580 { ac_try='test -s conftest.$ac_objext'
67581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67582 (eval $ac_try) 2>&5
67583 ac_status=$?
67584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67585 (exit $ac_status); }; }; then
67586 glibcxx_cv_func_log10l_use=yes
67587 else
67588 echo "$as_me: failed program was:" >&5
67589 sed 's/^/| /' conftest.$ac_ext >&5
67591 glibcxx_cv_func_log10l_use=no
67593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67594 ac_ext=c
67595 ac_cpp='$CPP $CPPFLAGS'
67596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67604 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
67605 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
67607 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67609 for ac_func in log10l
67611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67612 echo "$as_me:$LINENO: checking for $ac_func" >&5
67613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67614 if eval "test \"\${$as_ac_var+set}\" = set"; then
67615 echo $ECHO_N "(cached) $ECHO_C" >&6
67616 else
67617 if test x$gcc_no_link = xyes; then
67618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67620 { (exit 1); exit 1; }; }
67622 cat >conftest.$ac_ext <<_ACEOF
67623 /* confdefs.h. */
67624 _ACEOF
67625 cat confdefs.h >>conftest.$ac_ext
67626 cat >>conftest.$ac_ext <<_ACEOF
67627 /* end confdefs.h. */
67628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67630 #define $ac_func innocuous_$ac_func
67632 /* System header to define __stub macros and hopefully few prototypes,
67633 which can conflict with char $ac_func (); below.
67634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67635 <limits.h> exists even on freestanding compilers. */
67637 #ifdef __STDC__
67638 # include <limits.h>
67639 #else
67640 # include <assert.h>
67641 #endif
67643 #undef $ac_func
67645 /* Override any gcc2 internal prototype to avoid an error. */
67646 #ifdef __cplusplus
67647 extern "C"
67649 #endif
67650 /* We use char because int might match the return type of a gcc2
67651 builtin and then its argument prototype would still apply. */
67652 char $ac_func ();
67653 /* The GNU C library defines this for functions which it implements
67654 to always fail with ENOSYS. Some functions are actually named
67655 something starting with __ and the normal name is an alias. */
67656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67657 choke me
67658 #else
67659 char (*f) () = $ac_func;
67660 #endif
67661 #ifdef __cplusplus
67663 #endif
67666 main ()
67668 return f != $ac_func;
67670 return 0;
67672 _ACEOF
67673 rm -f conftest.$ac_objext conftest$ac_exeext
67674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67675 (eval $ac_link) 2>conftest.er1
67676 ac_status=$?
67677 grep -v '^ *+' conftest.er1 >conftest.err
67678 rm -f conftest.er1
67679 cat conftest.err >&5
67680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67681 (exit $ac_status); } &&
67682 { ac_try='test -z "$ac_c_werror_flag"
67683 || test ! -s conftest.err'
67684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67685 (eval $ac_try) 2>&5
67686 ac_status=$?
67687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67688 (exit $ac_status); }; } &&
67689 { ac_try='test -s conftest$ac_exeext'
67690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67691 (eval $ac_try) 2>&5
67692 ac_status=$?
67693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67694 (exit $ac_status); }; }; then
67695 eval "$as_ac_var=yes"
67696 else
67697 echo "$as_me: failed program was:" >&5
67698 sed 's/^/| /' conftest.$ac_ext >&5
67700 eval "$as_ac_var=no"
67702 rm -f conftest.err conftest.$ac_objext \
67703 conftest$ac_exeext conftest.$ac_ext
67705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67707 if test `eval echo '${'$as_ac_var'}'` = yes; then
67708 cat >>confdefs.h <<_ACEOF
67709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67710 _ACEOF
67713 done
67715 else
67717 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67718 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67719 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67720 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67721 echo $ECHO_N "(cached) $ECHO_C" >&6
67722 else
67726 ac_ext=cc
67727 ac_cpp='$CXXCPP $CPPFLAGS'
67728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67732 cat >conftest.$ac_ext <<_ACEOF
67733 /* confdefs.h. */
67734 _ACEOF
67735 cat confdefs.h >>conftest.$ac_ext
67736 cat >>conftest.$ac_ext <<_ACEOF
67737 /* end confdefs.h. */
67738 #include <math.h>
67739 #ifdef HAVE_IEEEFP_H
67740 #include <ieeefp.h>
67741 #endif
67744 main ()
67746 _log10l(0);
67748 return 0;
67750 _ACEOF
67751 rm -f conftest.$ac_objext
67752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67753 (eval $ac_compile) 2>conftest.er1
67754 ac_status=$?
67755 grep -v '^ *+' conftest.er1 >conftest.err
67756 rm -f conftest.er1
67757 cat conftest.err >&5
67758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67759 (exit $ac_status); } &&
67760 { ac_try='test -z "$ac_cxx_werror_flag"
67761 || test ! -s conftest.err'
67762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67763 (eval $ac_try) 2>&5
67764 ac_status=$?
67765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67766 (exit $ac_status); }; } &&
67767 { ac_try='test -s conftest.$ac_objext'
67768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67769 (eval $ac_try) 2>&5
67770 ac_status=$?
67771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67772 (exit $ac_status); }; }; then
67773 glibcxx_cv_func__log10l_use=yes
67774 else
67775 echo "$as_me: failed program was:" >&5
67776 sed 's/^/| /' conftest.$ac_ext >&5
67778 glibcxx_cv_func__log10l_use=no
67780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67781 ac_ext=c
67782 ac_cpp='$CPP $CPPFLAGS'
67783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67791 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67792 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67794 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67796 for ac_func in _log10l
67798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67799 echo "$as_me:$LINENO: checking for $ac_func" >&5
67800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67801 if eval "test \"\${$as_ac_var+set}\" = set"; then
67802 echo $ECHO_N "(cached) $ECHO_C" >&6
67803 else
67804 if test x$gcc_no_link = xyes; then
67805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67807 { (exit 1); exit 1; }; }
67809 cat >conftest.$ac_ext <<_ACEOF
67810 /* confdefs.h. */
67811 _ACEOF
67812 cat confdefs.h >>conftest.$ac_ext
67813 cat >>conftest.$ac_ext <<_ACEOF
67814 /* end confdefs.h. */
67815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67817 #define $ac_func innocuous_$ac_func
67819 /* System header to define __stub macros and hopefully few prototypes,
67820 which can conflict with char $ac_func (); below.
67821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67822 <limits.h> exists even on freestanding compilers. */
67824 #ifdef __STDC__
67825 # include <limits.h>
67826 #else
67827 # include <assert.h>
67828 #endif
67830 #undef $ac_func
67832 /* Override any gcc2 internal prototype to avoid an error. */
67833 #ifdef __cplusplus
67834 extern "C"
67836 #endif
67837 /* We use char because int might match the return type of a gcc2
67838 builtin and then its argument prototype would still apply. */
67839 char $ac_func ();
67840 /* The GNU C library defines this for functions which it implements
67841 to always fail with ENOSYS. Some functions are actually named
67842 something starting with __ and the normal name is an alias. */
67843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67844 choke me
67845 #else
67846 char (*f) () = $ac_func;
67847 #endif
67848 #ifdef __cplusplus
67850 #endif
67853 main ()
67855 return f != $ac_func;
67857 return 0;
67859 _ACEOF
67860 rm -f conftest.$ac_objext conftest$ac_exeext
67861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67862 (eval $ac_link) 2>conftest.er1
67863 ac_status=$?
67864 grep -v '^ *+' conftest.er1 >conftest.err
67865 rm -f conftest.er1
67866 cat conftest.err >&5
67867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67868 (exit $ac_status); } &&
67869 { ac_try='test -z "$ac_c_werror_flag"
67870 || test ! -s conftest.err'
67871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67872 (eval $ac_try) 2>&5
67873 ac_status=$?
67874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67875 (exit $ac_status); }; } &&
67876 { ac_try='test -s conftest$ac_exeext'
67877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67878 (eval $ac_try) 2>&5
67879 ac_status=$?
67880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67881 (exit $ac_status); }; }; then
67882 eval "$as_ac_var=yes"
67883 else
67884 echo "$as_me: failed program was:" >&5
67885 sed 's/^/| /' conftest.$ac_ext >&5
67887 eval "$as_ac_var=no"
67889 rm -f conftest.err conftest.$ac_objext \
67890 conftest$ac_exeext conftest.$ac_ext
67892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67894 if test `eval echo '${'$as_ac_var'}'` = yes; then
67895 cat >>confdefs.h <<_ACEOF
67896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67897 _ACEOF
67900 done
67907 echo "$as_me:$LINENO: checking for modfl declaration" >&5
67908 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67909 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67910 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67911 echo $ECHO_N "(cached) $ECHO_C" >&6
67912 else
67916 ac_ext=cc
67917 ac_cpp='$CXXCPP $CPPFLAGS'
67918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67922 cat >conftest.$ac_ext <<_ACEOF
67923 /* confdefs.h. */
67924 _ACEOF
67925 cat confdefs.h >>conftest.$ac_ext
67926 cat >>conftest.$ac_ext <<_ACEOF
67927 /* end confdefs.h. */
67928 #include <math.h>
67930 main ()
67932 modfl(0, 0);
67934 return 0;
67936 _ACEOF
67937 rm -f conftest.$ac_objext
67938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67939 (eval $ac_compile) 2>conftest.er1
67940 ac_status=$?
67941 grep -v '^ *+' conftest.er1 >conftest.err
67942 rm -f conftest.er1
67943 cat conftest.err >&5
67944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67945 (exit $ac_status); } &&
67946 { ac_try='test -z "$ac_cxx_werror_flag"
67947 || test ! -s conftest.err'
67948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67949 (eval $ac_try) 2>&5
67950 ac_status=$?
67951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67952 (exit $ac_status); }; } &&
67953 { ac_try='test -s conftest.$ac_objext'
67954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67955 (eval $ac_try) 2>&5
67956 ac_status=$?
67957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67958 (exit $ac_status); }; }; then
67959 glibcxx_cv_func_modfl_use=yes
67960 else
67961 echo "$as_me: failed program was:" >&5
67962 sed 's/^/| /' conftest.$ac_ext >&5
67964 glibcxx_cv_func_modfl_use=no
67966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67967 ac_ext=c
67968 ac_cpp='$CPP $CPPFLAGS'
67969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
67978 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
67980 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67982 for ac_func in modfl
67984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67985 echo "$as_me:$LINENO: checking for $ac_func" >&5
67986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67987 if eval "test \"\${$as_ac_var+set}\" = set"; then
67988 echo $ECHO_N "(cached) $ECHO_C" >&6
67989 else
67990 if test x$gcc_no_link = xyes; then
67991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67993 { (exit 1); exit 1; }; }
67995 cat >conftest.$ac_ext <<_ACEOF
67996 /* confdefs.h. */
67997 _ACEOF
67998 cat confdefs.h >>conftest.$ac_ext
67999 cat >>conftest.$ac_ext <<_ACEOF
68000 /* end confdefs.h. */
68001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68003 #define $ac_func innocuous_$ac_func
68005 /* System header to define __stub macros and hopefully few prototypes,
68006 which can conflict with char $ac_func (); below.
68007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68008 <limits.h> exists even on freestanding compilers. */
68010 #ifdef __STDC__
68011 # include <limits.h>
68012 #else
68013 # include <assert.h>
68014 #endif
68016 #undef $ac_func
68018 /* Override any gcc2 internal prototype to avoid an error. */
68019 #ifdef __cplusplus
68020 extern "C"
68022 #endif
68023 /* We use char because int might match the return type of a gcc2
68024 builtin and then its argument prototype would still apply. */
68025 char $ac_func ();
68026 /* The GNU C library defines this for functions which it implements
68027 to always fail with ENOSYS. Some functions are actually named
68028 something starting with __ and the normal name is an alias. */
68029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68030 choke me
68031 #else
68032 char (*f) () = $ac_func;
68033 #endif
68034 #ifdef __cplusplus
68036 #endif
68039 main ()
68041 return f != $ac_func;
68043 return 0;
68045 _ACEOF
68046 rm -f conftest.$ac_objext conftest$ac_exeext
68047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68048 (eval $ac_link) 2>conftest.er1
68049 ac_status=$?
68050 grep -v '^ *+' conftest.er1 >conftest.err
68051 rm -f conftest.er1
68052 cat conftest.err >&5
68053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68054 (exit $ac_status); } &&
68055 { ac_try='test -z "$ac_c_werror_flag"
68056 || test ! -s conftest.err'
68057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68058 (eval $ac_try) 2>&5
68059 ac_status=$?
68060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68061 (exit $ac_status); }; } &&
68062 { ac_try='test -s conftest$ac_exeext'
68063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68064 (eval $ac_try) 2>&5
68065 ac_status=$?
68066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68067 (exit $ac_status); }; }; then
68068 eval "$as_ac_var=yes"
68069 else
68070 echo "$as_me: failed program was:" >&5
68071 sed 's/^/| /' conftest.$ac_ext >&5
68073 eval "$as_ac_var=no"
68075 rm -f conftest.err conftest.$ac_objext \
68076 conftest$ac_exeext conftest.$ac_ext
68078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68080 if test `eval echo '${'$as_ac_var'}'` = yes; then
68081 cat >>confdefs.h <<_ACEOF
68082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68083 _ACEOF
68086 done
68088 else
68090 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68091 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68092 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68093 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68094 echo $ECHO_N "(cached) $ECHO_C" >&6
68095 else
68099 ac_ext=cc
68100 ac_cpp='$CXXCPP $CPPFLAGS'
68101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68105 cat >conftest.$ac_ext <<_ACEOF
68106 /* confdefs.h. */
68107 _ACEOF
68108 cat confdefs.h >>conftest.$ac_ext
68109 cat >>conftest.$ac_ext <<_ACEOF
68110 /* end confdefs.h. */
68111 #include <math.h>
68113 main ()
68115 _modfl(0, 0);
68117 return 0;
68119 _ACEOF
68120 rm -f conftest.$ac_objext
68121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68122 (eval $ac_compile) 2>conftest.er1
68123 ac_status=$?
68124 grep -v '^ *+' conftest.er1 >conftest.err
68125 rm -f conftest.er1
68126 cat conftest.err >&5
68127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68128 (exit $ac_status); } &&
68129 { ac_try='test -z "$ac_cxx_werror_flag"
68130 || test ! -s conftest.err'
68131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68132 (eval $ac_try) 2>&5
68133 ac_status=$?
68134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68135 (exit $ac_status); }; } &&
68136 { ac_try='test -s conftest.$ac_objext'
68137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68138 (eval $ac_try) 2>&5
68139 ac_status=$?
68140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68141 (exit $ac_status); }; }; then
68142 glibcxx_cv_func__modfl_use=yes
68143 else
68144 echo "$as_me: failed program was:" >&5
68145 sed 's/^/| /' conftest.$ac_ext >&5
68147 glibcxx_cv_func__modfl_use=no
68149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68150 ac_ext=c
68151 ac_cpp='$CPP $CPPFLAGS'
68152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68160 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68161 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68163 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68165 for ac_func in _modfl
68167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68168 echo "$as_me:$LINENO: checking for $ac_func" >&5
68169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68170 if eval "test \"\${$as_ac_var+set}\" = set"; then
68171 echo $ECHO_N "(cached) $ECHO_C" >&6
68172 else
68173 if test x$gcc_no_link = xyes; then
68174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68176 { (exit 1); exit 1; }; }
68178 cat >conftest.$ac_ext <<_ACEOF
68179 /* confdefs.h. */
68180 _ACEOF
68181 cat confdefs.h >>conftest.$ac_ext
68182 cat >>conftest.$ac_ext <<_ACEOF
68183 /* end confdefs.h. */
68184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68186 #define $ac_func innocuous_$ac_func
68188 /* System header to define __stub macros and hopefully few prototypes,
68189 which can conflict with char $ac_func (); below.
68190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68191 <limits.h> exists even on freestanding compilers. */
68193 #ifdef __STDC__
68194 # include <limits.h>
68195 #else
68196 # include <assert.h>
68197 #endif
68199 #undef $ac_func
68201 /* Override any gcc2 internal prototype to avoid an error. */
68202 #ifdef __cplusplus
68203 extern "C"
68205 #endif
68206 /* We use char because int might match the return type of a gcc2
68207 builtin and then its argument prototype would still apply. */
68208 char $ac_func ();
68209 /* The GNU C library defines this for functions which it implements
68210 to always fail with ENOSYS. Some functions are actually named
68211 something starting with __ and the normal name is an alias. */
68212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68213 choke me
68214 #else
68215 char (*f) () = $ac_func;
68216 #endif
68217 #ifdef __cplusplus
68219 #endif
68222 main ()
68224 return f != $ac_func;
68226 return 0;
68228 _ACEOF
68229 rm -f conftest.$ac_objext conftest$ac_exeext
68230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68231 (eval $ac_link) 2>conftest.er1
68232 ac_status=$?
68233 grep -v '^ *+' conftest.er1 >conftest.err
68234 rm -f conftest.er1
68235 cat conftest.err >&5
68236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68237 (exit $ac_status); } &&
68238 { ac_try='test -z "$ac_c_werror_flag"
68239 || test ! -s conftest.err'
68240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68241 (eval $ac_try) 2>&5
68242 ac_status=$?
68243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68244 (exit $ac_status); }; } &&
68245 { ac_try='test -s conftest$ac_exeext'
68246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68247 (eval $ac_try) 2>&5
68248 ac_status=$?
68249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68250 (exit $ac_status); }; }; then
68251 eval "$as_ac_var=yes"
68252 else
68253 echo "$as_me: failed program was:" >&5
68254 sed 's/^/| /' conftest.$ac_ext >&5
68256 eval "$as_ac_var=no"
68258 rm -f conftest.err conftest.$ac_objext \
68259 conftest$ac_exeext conftest.$ac_ext
68261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68263 if test `eval echo '${'$as_ac_var'}'` = yes; then
68264 cat >>confdefs.h <<_ACEOF
68265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68266 _ACEOF
68269 done
68276 echo "$as_me:$LINENO: checking for powl declaration" >&5
68277 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68278 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68279 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68280 echo $ECHO_N "(cached) $ECHO_C" >&6
68281 else
68285 ac_ext=cc
68286 ac_cpp='$CXXCPP $CPPFLAGS'
68287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68291 cat >conftest.$ac_ext <<_ACEOF
68292 /* confdefs.h. */
68293 _ACEOF
68294 cat confdefs.h >>conftest.$ac_ext
68295 cat >>conftest.$ac_ext <<_ACEOF
68296 /* end confdefs.h. */
68297 #include <math.h>
68299 main ()
68301 powl(0, 0);
68303 return 0;
68305 _ACEOF
68306 rm -f conftest.$ac_objext
68307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68308 (eval $ac_compile) 2>conftest.er1
68309 ac_status=$?
68310 grep -v '^ *+' conftest.er1 >conftest.err
68311 rm -f conftest.er1
68312 cat conftest.err >&5
68313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68314 (exit $ac_status); } &&
68315 { ac_try='test -z "$ac_cxx_werror_flag"
68316 || test ! -s conftest.err'
68317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68318 (eval $ac_try) 2>&5
68319 ac_status=$?
68320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68321 (exit $ac_status); }; } &&
68322 { ac_try='test -s conftest.$ac_objext'
68323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68324 (eval $ac_try) 2>&5
68325 ac_status=$?
68326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68327 (exit $ac_status); }; }; then
68328 glibcxx_cv_func_powl_use=yes
68329 else
68330 echo "$as_me: failed program was:" >&5
68331 sed 's/^/| /' conftest.$ac_ext >&5
68333 glibcxx_cv_func_powl_use=no
68335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68336 ac_ext=c
68337 ac_cpp='$CPP $CPPFLAGS'
68338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68346 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68347 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68349 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68351 for ac_func in powl
68353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68354 echo "$as_me:$LINENO: checking for $ac_func" >&5
68355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68356 if eval "test \"\${$as_ac_var+set}\" = set"; then
68357 echo $ECHO_N "(cached) $ECHO_C" >&6
68358 else
68359 if test x$gcc_no_link = xyes; then
68360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68362 { (exit 1); exit 1; }; }
68364 cat >conftest.$ac_ext <<_ACEOF
68365 /* confdefs.h. */
68366 _ACEOF
68367 cat confdefs.h >>conftest.$ac_ext
68368 cat >>conftest.$ac_ext <<_ACEOF
68369 /* end confdefs.h. */
68370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68372 #define $ac_func innocuous_$ac_func
68374 /* System header to define __stub macros and hopefully few prototypes,
68375 which can conflict with char $ac_func (); below.
68376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68377 <limits.h> exists even on freestanding compilers. */
68379 #ifdef __STDC__
68380 # include <limits.h>
68381 #else
68382 # include <assert.h>
68383 #endif
68385 #undef $ac_func
68387 /* Override any gcc2 internal prototype to avoid an error. */
68388 #ifdef __cplusplus
68389 extern "C"
68391 #endif
68392 /* We use char because int might match the return type of a gcc2
68393 builtin and then its argument prototype would still apply. */
68394 char $ac_func ();
68395 /* The GNU C library defines this for functions which it implements
68396 to always fail with ENOSYS. Some functions are actually named
68397 something starting with __ and the normal name is an alias. */
68398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68399 choke me
68400 #else
68401 char (*f) () = $ac_func;
68402 #endif
68403 #ifdef __cplusplus
68405 #endif
68408 main ()
68410 return f != $ac_func;
68412 return 0;
68414 _ACEOF
68415 rm -f conftest.$ac_objext conftest$ac_exeext
68416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68417 (eval $ac_link) 2>conftest.er1
68418 ac_status=$?
68419 grep -v '^ *+' conftest.er1 >conftest.err
68420 rm -f conftest.er1
68421 cat conftest.err >&5
68422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68423 (exit $ac_status); } &&
68424 { ac_try='test -z "$ac_c_werror_flag"
68425 || test ! -s conftest.err'
68426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68427 (eval $ac_try) 2>&5
68428 ac_status=$?
68429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68430 (exit $ac_status); }; } &&
68431 { ac_try='test -s conftest$ac_exeext'
68432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68433 (eval $ac_try) 2>&5
68434 ac_status=$?
68435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68436 (exit $ac_status); }; }; then
68437 eval "$as_ac_var=yes"
68438 else
68439 echo "$as_me: failed program was:" >&5
68440 sed 's/^/| /' conftest.$ac_ext >&5
68442 eval "$as_ac_var=no"
68444 rm -f conftest.err conftest.$ac_objext \
68445 conftest$ac_exeext conftest.$ac_ext
68447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68449 if test `eval echo '${'$as_ac_var'}'` = yes; then
68450 cat >>confdefs.h <<_ACEOF
68451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68452 _ACEOF
68455 done
68457 else
68459 echo "$as_me:$LINENO: checking for _powl declaration" >&5
68460 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68461 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68462 if test "${glibcxx_cv_func__powl_use+set}" = set; then
68463 echo $ECHO_N "(cached) $ECHO_C" >&6
68464 else
68468 ac_ext=cc
68469 ac_cpp='$CXXCPP $CPPFLAGS'
68470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68474 cat >conftest.$ac_ext <<_ACEOF
68475 /* confdefs.h. */
68476 _ACEOF
68477 cat confdefs.h >>conftest.$ac_ext
68478 cat >>conftest.$ac_ext <<_ACEOF
68479 /* end confdefs.h. */
68480 #include <math.h>
68482 main ()
68484 _powl(0, 0);
68486 return 0;
68488 _ACEOF
68489 rm -f conftest.$ac_objext
68490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68491 (eval $ac_compile) 2>conftest.er1
68492 ac_status=$?
68493 grep -v '^ *+' conftest.er1 >conftest.err
68494 rm -f conftest.er1
68495 cat conftest.err >&5
68496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68497 (exit $ac_status); } &&
68498 { ac_try='test -z "$ac_cxx_werror_flag"
68499 || test ! -s conftest.err'
68500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68501 (eval $ac_try) 2>&5
68502 ac_status=$?
68503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68504 (exit $ac_status); }; } &&
68505 { ac_try='test -s conftest.$ac_objext'
68506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68507 (eval $ac_try) 2>&5
68508 ac_status=$?
68509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68510 (exit $ac_status); }; }; then
68511 glibcxx_cv_func__powl_use=yes
68512 else
68513 echo "$as_me: failed program was:" >&5
68514 sed 's/^/| /' conftest.$ac_ext >&5
68516 glibcxx_cv_func__powl_use=no
68518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68519 ac_ext=c
68520 ac_cpp='$CPP $CPPFLAGS'
68521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68529 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
68530 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
68532 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68534 for ac_func in _powl
68536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68537 echo "$as_me:$LINENO: checking for $ac_func" >&5
68538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68539 if eval "test \"\${$as_ac_var+set}\" = set"; then
68540 echo $ECHO_N "(cached) $ECHO_C" >&6
68541 else
68542 if test x$gcc_no_link = xyes; then
68543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68545 { (exit 1); exit 1; }; }
68547 cat >conftest.$ac_ext <<_ACEOF
68548 /* confdefs.h. */
68549 _ACEOF
68550 cat confdefs.h >>conftest.$ac_ext
68551 cat >>conftest.$ac_ext <<_ACEOF
68552 /* end confdefs.h. */
68553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68555 #define $ac_func innocuous_$ac_func
68557 /* System header to define __stub macros and hopefully few prototypes,
68558 which can conflict with char $ac_func (); below.
68559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68560 <limits.h> exists even on freestanding compilers. */
68562 #ifdef __STDC__
68563 # include <limits.h>
68564 #else
68565 # include <assert.h>
68566 #endif
68568 #undef $ac_func
68570 /* Override any gcc2 internal prototype to avoid an error. */
68571 #ifdef __cplusplus
68572 extern "C"
68574 #endif
68575 /* We use char because int might match the return type of a gcc2
68576 builtin and then its argument prototype would still apply. */
68577 char $ac_func ();
68578 /* The GNU C library defines this for functions which it implements
68579 to always fail with ENOSYS. Some functions are actually named
68580 something starting with __ and the normal name is an alias. */
68581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68582 choke me
68583 #else
68584 char (*f) () = $ac_func;
68585 #endif
68586 #ifdef __cplusplus
68588 #endif
68591 main ()
68593 return f != $ac_func;
68595 return 0;
68597 _ACEOF
68598 rm -f conftest.$ac_objext conftest$ac_exeext
68599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68600 (eval $ac_link) 2>conftest.er1
68601 ac_status=$?
68602 grep -v '^ *+' conftest.er1 >conftest.err
68603 rm -f conftest.er1
68604 cat conftest.err >&5
68605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68606 (exit $ac_status); } &&
68607 { ac_try='test -z "$ac_c_werror_flag"
68608 || test ! -s conftest.err'
68609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68610 (eval $ac_try) 2>&5
68611 ac_status=$?
68612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68613 (exit $ac_status); }; } &&
68614 { ac_try='test -s conftest$ac_exeext'
68615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68616 (eval $ac_try) 2>&5
68617 ac_status=$?
68618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68619 (exit $ac_status); }; }; then
68620 eval "$as_ac_var=yes"
68621 else
68622 echo "$as_me: failed program was:" >&5
68623 sed 's/^/| /' conftest.$ac_ext >&5
68625 eval "$as_ac_var=no"
68627 rm -f conftest.err conftest.$ac_objext \
68628 conftest$ac_exeext conftest.$ac_ext
68630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68632 if test `eval echo '${'$as_ac_var'}'` = yes; then
68633 cat >>confdefs.h <<_ACEOF
68634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68635 _ACEOF
68638 done
68645 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
68646 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
68647 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68648 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
68649 echo $ECHO_N "(cached) $ECHO_C" >&6
68650 else
68654 ac_ext=cc
68655 ac_cpp='$CXXCPP $CPPFLAGS'
68656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68660 cat >conftest.$ac_ext <<_ACEOF
68661 /* confdefs.h. */
68662 _ACEOF
68663 cat confdefs.h >>conftest.$ac_ext
68664 cat >>conftest.$ac_ext <<_ACEOF
68665 /* end confdefs.h. */
68666 #include <math.h>
68667 #ifdef HAVE_IEEEFP_H
68668 #include <ieeefp.h>
68669 #endif
68672 main ()
68674 sqrtl(0);
68676 return 0;
68678 _ACEOF
68679 rm -f conftest.$ac_objext
68680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68681 (eval $ac_compile) 2>conftest.er1
68682 ac_status=$?
68683 grep -v '^ *+' conftest.er1 >conftest.err
68684 rm -f conftest.er1
68685 cat conftest.err >&5
68686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68687 (exit $ac_status); } &&
68688 { ac_try='test -z "$ac_cxx_werror_flag"
68689 || test ! -s conftest.err'
68690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68691 (eval $ac_try) 2>&5
68692 ac_status=$?
68693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68694 (exit $ac_status); }; } &&
68695 { ac_try='test -s conftest.$ac_objext'
68696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68697 (eval $ac_try) 2>&5
68698 ac_status=$?
68699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68700 (exit $ac_status); }; }; then
68701 glibcxx_cv_func_sqrtl_use=yes
68702 else
68703 echo "$as_me: failed program was:" >&5
68704 sed 's/^/| /' conftest.$ac_ext >&5
68706 glibcxx_cv_func_sqrtl_use=no
68708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68709 ac_ext=c
68710 ac_cpp='$CPP $CPPFLAGS'
68711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68720 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68722 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68724 for ac_func in sqrtl
68726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68727 echo "$as_me:$LINENO: checking for $ac_func" >&5
68728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68729 if eval "test \"\${$as_ac_var+set}\" = set"; then
68730 echo $ECHO_N "(cached) $ECHO_C" >&6
68731 else
68732 if test x$gcc_no_link = xyes; then
68733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68735 { (exit 1); exit 1; }; }
68737 cat >conftest.$ac_ext <<_ACEOF
68738 /* confdefs.h. */
68739 _ACEOF
68740 cat confdefs.h >>conftest.$ac_ext
68741 cat >>conftest.$ac_ext <<_ACEOF
68742 /* end confdefs.h. */
68743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68745 #define $ac_func innocuous_$ac_func
68747 /* System header to define __stub macros and hopefully few prototypes,
68748 which can conflict with char $ac_func (); below.
68749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68750 <limits.h> exists even on freestanding compilers. */
68752 #ifdef __STDC__
68753 # include <limits.h>
68754 #else
68755 # include <assert.h>
68756 #endif
68758 #undef $ac_func
68760 /* Override any gcc2 internal prototype to avoid an error. */
68761 #ifdef __cplusplus
68762 extern "C"
68764 #endif
68765 /* We use char because int might match the return type of a gcc2
68766 builtin and then its argument prototype would still apply. */
68767 char $ac_func ();
68768 /* The GNU C library defines this for functions which it implements
68769 to always fail with ENOSYS. Some functions are actually named
68770 something starting with __ and the normal name is an alias. */
68771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68772 choke me
68773 #else
68774 char (*f) () = $ac_func;
68775 #endif
68776 #ifdef __cplusplus
68778 #endif
68781 main ()
68783 return f != $ac_func;
68785 return 0;
68787 _ACEOF
68788 rm -f conftest.$ac_objext conftest$ac_exeext
68789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68790 (eval $ac_link) 2>conftest.er1
68791 ac_status=$?
68792 grep -v '^ *+' conftest.er1 >conftest.err
68793 rm -f conftest.er1
68794 cat conftest.err >&5
68795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68796 (exit $ac_status); } &&
68797 { ac_try='test -z "$ac_c_werror_flag"
68798 || test ! -s conftest.err'
68799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68800 (eval $ac_try) 2>&5
68801 ac_status=$?
68802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68803 (exit $ac_status); }; } &&
68804 { ac_try='test -s conftest$ac_exeext'
68805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68806 (eval $ac_try) 2>&5
68807 ac_status=$?
68808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68809 (exit $ac_status); }; }; then
68810 eval "$as_ac_var=yes"
68811 else
68812 echo "$as_me: failed program was:" >&5
68813 sed 's/^/| /' conftest.$ac_ext >&5
68815 eval "$as_ac_var=no"
68817 rm -f conftest.err conftest.$ac_objext \
68818 conftest$ac_exeext conftest.$ac_ext
68820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68822 if test `eval echo '${'$as_ac_var'}'` = yes; then
68823 cat >>confdefs.h <<_ACEOF
68824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68825 _ACEOF
68828 done
68830 else
68832 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68833 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68834 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68835 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68836 echo $ECHO_N "(cached) $ECHO_C" >&6
68837 else
68841 ac_ext=cc
68842 ac_cpp='$CXXCPP $CPPFLAGS'
68843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68847 cat >conftest.$ac_ext <<_ACEOF
68848 /* confdefs.h. */
68849 _ACEOF
68850 cat confdefs.h >>conftest.$ac_ext
68851 cat >>conftest.$ac_ext <<_ACEOF
68852 /* end confdefs.h. */
68853 #include <math.h>
68854 #ifdef HAVE_IEEEFP_H
68855 #include <ieeefp.h>
68856 #endif
68859 main ()
68861 _sqrtl(0);
68863 return 0;
68865 _ACEOF
68866 rm -f conftest.$ac_objext
68867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68868 (eval $ac_compile) 2>conftest.er1
68869 ac_status=$?
68870 grep -v '^ *+' conftest.er1 >conftest.err
68871 rm -f conftest.er1
68872 cat conftest.err >&5
68873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68874 (exit $ac_status); } &&
68875 { ac_try='test -z "$ac_cxx_werror_flag"
68876 || test ! -s conftest.err'
68877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68878 (eval $ac_try) 2>&5
68879 ac_status=$?
68880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68881 (exit $ac_status); }; } &&
68882 { ac_try='test -s conftest.$ac_objext'
68883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68884 (eval $ac_try) 2>&5
68885 ac_status=$?
68886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68887 (exit $ac_status); }; }; then
68888 glibcxx_cv_func__sqrtl_use=yes
68889 else
68890 echo "$as_me: failed program was:" >&5
68891 sed 's/^/| /' conftest.$ac_ext >&5
68893 glibcxx_cv_func__sqrtl_use=no
68895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68896 ac_ext=c
68897 ac_cpp='$CPP $CPPFLAGS'
68898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68907 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68909 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68911 for ac_func in _sqrtl
68913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68914 echo "$as_me:$LINENO: checking for $ac_func" >&5
68915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68916 if eval "test \"\${$as_ac_var+set}\" = set"; then
68917 echo $ECHO_N "(cached) $ECHO_C" >&6
68918 else
68919 if test x$gcc_no_link = xyes; then
68920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68922 { (exit 1); exit 1; }; }
68924 cat >conftest.$ac_ext <<_ACEOF
68925 /* confdefs.h. */
68926 _ACEOF
68927 cat confdefs.h >>conftest.$ac_ext
68928 cat >>conftest.$ac_ext <<_ACEOF
68929 /* end confdefs.h. */
68930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68932 #define $ac_func innocuous_$ac_func
68934 /* System header to define __stub macros and hopefully few prototypes,
68935 which can conflict with char $ac_func (); below.
68936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68937 <limits.h> exists even on freestanding compilers. */
68939 #ifdef __STDC__
68940 # include <limits.h>
68941 #else
68942 # include <assert.h>
68943 #endif
68945 #undef $ac_func
68947 /* Override any gcc2 internal prototype to avoid an error. */
68948 #ifdef __cplusplus
68949 extern "C"
68951 #endif
68952 /* We use char because int might match the return type of a gcc2
68953 builtin and then its argument prototype would still apply. */
68954 char $ac_func ();
68955 /* The GNU C library defines this for functions which it implements
68956 to always fail with ENOSYS. Some functions are actually named
68957 something starting with __ and the normal name is an alias. */
68958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68959 choke me
68960 #else
68961 char (*f) () = $ac_func;
68962 #endif
68963 #ifdef __cplusplus
68965 #endif
68968 main ()
68970 return f != $ac_func;
68972 return 0;
68974 _ACEOF
68975 rm -f conftest.$ac_objext conftest$ac_exeext
68976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68977 (eval $ac_link) 2>conftest.er1
68978 ac_status=$?
68979 grep -v '^ *+' conftest.er1 >conftest.err
68980 rm -f conftest.er1
68981 cat conftest.err >&5
68982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68983 (exit $ac_status); } &&
68984 { ac_try='test -z "$ac_c_werror_flag"
68985 || test ! -s conftest.err'
68986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68987 (eval $ac_try) 2>&5
68988 ac_status=$?
68989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68990 (exit $ac_status); }; } &&
68991 { ac_try='test -s conftest$ac_exeext'
68992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68993 (eval $ac_try) 2>&5
68994 ac_status=$?
68995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68996 (exit $ac_status); }; }; then
68997 eval "$as_ac_var=yes"
68998 else
68999 echo "$as_me: failed program was:" >&5
69000 sed 's/^/| /' conftest.$ac_ext >&5
69002 eval "$as_ac_var=no"
69004 rm -f conftest.err conftest.$ac_objext \
69005 conftest$ac_exeext conftest.$ac_ext
69007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69009 if test `eval echo '${'$as_ac_var'}'` = yes; then
69010 cat >>confdefs.h <<_ACEOF
69011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69012 _ACEOF
69015 done
69022 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69023 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69024 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69025 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69026 echo $ECHO_N "(cached) $ECHO_C" >&6
69027 else
69031 ac_ext=cc
69032 ac_cpp='$CXXCPP $CPPFLAGS'
69033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69037 cat >conftest.$ac_ext <<_ACEOF
69038 /* confdefs.h. */
69039 _ACEOF
69040 cat confdefs.h >>conftest.$ac_ext
69041 cat >>conftest.$ac_ext <<_ACEOF
69042 /* end confdefs.h. */
69043 #include <math.h>
69045 main ()
69047 sincosl(0, 0, 0);
69049 return 0;
69051 _ACEOF
69052 rm -f conftest.$ac_objext
69053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69054 (eval $ac_compile) 2>conftest.er1
69055 ac_status=$?
69056 grep -v '^ *+' conftest.er1 >conftest.err
69057 rm -f conftest.er1
69058 cat conftest.err >&5
69059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69060 (exit $ac_status); } &&
69061 { ac_try='test -z "$ac_cxx_werror_flag"
69062 || test ! -s conftest.err'
69063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69064 (eval $ac_try) 2>&5
69065 ac_status=$?
69066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69067 (exit $ac_status); }; } &&
69068 { ac_try='test -s conftest.$ac_objext'
69069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69070 (eval $ac_try) 2>&5
69071 ac_status=$?
69072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69073 (exit $ac_status); }; }; then
69074 glibcxx_cv_func_sincosl_use=yes
69075 else
69076 echo "$as_me: failed program was:" >&5
69077 sed 's/^/| /' conftest.$ac_ext >&5
69079 glibcxx_cv_func_sincosl_use=no
69081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69082 ac_ext=c
69083 ac_cpp='$CPP $CPPFLAGS'
69084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69092 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69093 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69095 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69097 for ac_func in sincosl
69099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69100 echo "$as_me:$LINENO: checking for $ac_func" >&5
69101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69102 if eval "test \"\${$as_ac_var+set}\" = set"; then
69103 echo $ECHO_N "(cached) $ECHO_C" >&6
69104 else
69105 if test x$gcc_no_link = xyes; then
69106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69108 { (exit 1); exit 1; }; }
69110 cat >conftest.$ac_ext <<_ACEOF
69111 /* confdefs.h. */
69112 _ACEOF
69113 cat confdefs.h >>conftest.$ac_ext
69114 cat >>conftest.$ac_ext <<_ACEOF
69115 /* end confdefs.h. */
69116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69118 #define $ac_func innocuous_$ac_func
69120 /* System header to define __stub macros and hopefully few prototypes,
69121 which can conflict with char $ac_func (); below.
69122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69123 <limits.h> exists even on freestanding compilers. */
69125 #ifdef __STDC__
69126 # include <limits.h>
69127 #else
69128 # include <assert.h>
69129 #endif
69131 #undef $ac_func
69133 /* Override any gcc2 internal prototype to avoid an error. */
69134 #ifdef __cplusplus
69135 extern "C"
69137 #endif
69138 /* We use char because int might match the return type of a gcc2
69139 builtin and then its argument prototype would still apply. */
69140 char $ac_func ();
69141 /* The GNU C library defines this for functions which it implements
69142 to always fail with ENOSYS. Some functions are actually named
69143 something starting with __ and the normal name is an alias. */
69144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69145 choke me
69146 #else
69147 char (*f) () = $ac_func;
69148 #endif
69149 #ifdef __cplusplus
69151 #endif
69154 main ()
69156 return f != $ac_func;
69158 return 0;
69160 _ACEOF
69161 rm -f conftest.$ac_objext conftest$ac_exeext
69162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69163 (eval $ac_link) 2>conftest.er1
69164 ac_status=$?
69165 grep -v '^ *+' conftest.er1 >conftest.err
69166 rm -f conftest.er1
69167 cat conftest.err >&5
69168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69169 (exit $ac_status); } &&
69170 { ac_try='test -z "$ac_c_werror_flag"
69171 || test ! -s conftest.err'
69172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69173 (eval $ac_try) 2>&5
69174 ac_status=$?
69175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69176 (exit $ac_status); }; } &&
69177 { ac_try='test -s conftest$ac_exeext'
69178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69179 (eval $ac_try) 2>&5
69180 ac_status=$?
69181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69182 (exit $ac_status); }; }; then
69183 eval "$as_ac_var=yes"
69184 else
69185 echo "$as_me: failed program was:" >&5
69186 sed 's/^/| /' conftest.$ac_ext >&5
69188 eval "$as_ac_var=no"
69190 rm -f conftest.err conftest.$ac_objext \
69191 conftest$ac_exeext conftest.$ac_ext
69193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69195 if test `eval echo '${'$as_ac_var'}'` = yes; then
69196 cat >>confdefs.h <<_ACEOF
69197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69198 _ACEOF
69201 done
69203 else
69205 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69206 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69207 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69208 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69209 echo $ECHO_N "(cached) $ECHO_C" >&6
69210 else
69214 ac_ext=cc
69215 ac_cpp='$CXXCPP $CPPFLAGS'
69216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69220 cat >conftest.$ac_ext <<_ACEOF
69221 /* confdefs.h. */
69222 _ACEOF
69223 cat confdefs.h >>conftest.$ac_ext
69224 cat >>conftest.$ac_ext <<_ACEOF
69225 /* end confdefs.h. */
69226 #include <math.h>
69228 main ()
69230 _sincosl(0, 0, 0);
69232 return 0;
69234 _ACEOF
69235 rm -f conftest.$ac_objext
69236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69237 (eval $ac_compile) 2>conftest.er1
69238 ac_status=$?
69239 grep -v '^ *+' conftest.er1 >conftest.err
69240 rm -f conftest.er1
69241 cat conftest.err >&5
69242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69243 (exit $ac_status); } &&
69244 { ac_try='test -z "$ac_cxx_werror_flag"
69245 || test ! -s conftest.err'
69246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69247 (eval $ac_try) 2>&5
69248 ac_status=$?
69249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69250 (exit $ac_status); }; } &&
69251 { ac_try='test -s conftest.$ac_objext'
69252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69253 (eval $ac_try) 2>&5
69254 ac_status=$?
69255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69256 (exit $ac_status); }; }; then
69257 glibcxx_cv_func__sincosl_use=yes
69258 else
69259 echo "$as_me: failed program was:" >&5
69260 sed 's/^/| /' conftest.$ac_ext >&5
69262 glibcxx_cv_func__sincosl_use=no
69264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69265 ac_ext=c
69266 ac_cpp='$CPP $CPPFLAGS'
69267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69275 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69276 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69278 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69280 for ac_func in _sincosl
69282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69283 echo "$as_me:$LINENO: checking for $ac_func" >&5
69284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69285 if eval "test \"\${$as_ac_var+set}\" = set"; then
69286 echo $ECHO_N "(cached) $ECHO_C" >&6
69287 else
69288 if test x$gcc_no_link = xyes; then
69289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69291 { (exit 1); exit 1; }; }
69293 cat >conftest.$ac_ext <<_ACEOF
69294 /* confdefs.h. */
69295 _ACEOF
69296 cat confdefs.h >>conftest.$ac_ext
69297 cat >>conftest.$ac_ext <<_ACEOF
69298 /* end confdefs.h. */
69299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69301 #define $ac_func innocuous_$ac_func
69303 /* System header to define __stub macros and hopefully few prototypes,
69304 which can conflict with char $ac_func (); below.
69305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69306 <limits.h> exists even on freestanding compilers. */
69308 #ifdef __STDC__
69309 # include <limits.h>
69310 #else
69311 # include <assert.h>
69312 #endif
69314 #undef $ac_func
69316 /* Override any gcc2 internal prototype to avoid an error. */
69317 #ifdef __cplusplus
69318 extern "C"
69320 #endif
69321 /* We use char because int might match the return type of a gcc2
69322 builtin and then its argument prototype would still apply. */
69323 char $ac_func ();
69324 /* The GNU C library defines this for functions which it implements
69325 to always fail with ENOSYS. Some functions are actually named
69326 something starting with __ and the normal name is an alias. */
69327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69328 choke me
69329 #else
69330 char (*f) () = $ac_func;
69331 #endif
69332 #ifdef __cplusplus
69334 #endif
69337 main ()
69339 return f != $ac_func;
69341 return 0;
69343 _ACEOF
69344 rm -f conftest.$ac_objext conftest$ac_exeext
69345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69346 (eval $ac_link) 2>conftest.er1
69347 ac_status=$?
69348 grep -v '^ *+' conftest.er1 >conftest.err
69349 rm -f conftest.er1
69350 cat conftest.err >&5
69351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69352 (exit $ac_status); } &&
69353 { ac_try='test -z "$ac_c_werror_flag"
69354 || test ! -s conftest.err'
69355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69356 (eval $ac_try) 2>&5
69357 ac_status=$?
69358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69359 (exit $ac_status); }; } &&
69360 { ac_try='test -s conftest$ac_exeext'
69361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69362 (eval $ac_try) 2>&5
69363 ac_status=$?
69364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69365 (exit $ac_status); }; }; then
69366 eval "$as_ac_var=yes"
69367 else
69368 echo "$as_me: failed program was:" >&5
69369 sed 's/^/| /' conftest.$ac_ext >&5
69371 eval "$as_ac_var=no"
69373 rm -f conftest.err conftest.$ac_objext \
69374 conftest$ac_exeext conftest.$ac_ext
69376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69378 if test `eval echo '${'$as_ac_var'}'` = yes; then
69379 cat >>confdefs.h <<_ACEOF
69380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69381 _ACEOF
69384 done
69391 echo "$as_me:$LINENO: checking for finitel declaration" >&5
69392 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69393 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69394 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69395 echo $ECHO_N "(cached) $ECHO_C" >&6
69396 else
69400 ac_ext=cc
69401 ac_cpp='$CXXCPP $CPPFLAGS'
69402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69406 cat >conftest.$ac_ext <<_ACEOF
69407 /* confdefs.h. */
69408 _ACEOF
69409 cat confdefs.h >>conftest.$ac_ext
69410 cat >>conftest.$ac_ext <<_ACEOF
69411 /* end confdefs.h. */
69412 #include <math.h>
69413 #ifdef HAVE_IEEEFP_H
69414 #include <ieeefp.h>
69415 #endif
69418 main ()
69420 finitel(0);
69422 return 0;
69424 _ACEOF
69425 rm -f conftest.$ac_objext
69426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69427 (eval $ac_compile) 2>conftest.er1
69428 ac_status=$?
69429 grep -v '^ *+' conftest.er1 >conftest.err
69430 rm -f conftest.er1
69431 cat conftest.err >&5
69432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69433 (exit $ac_status); } &&
69434 { ac_try='test -z "$ac_cxx_werror_flag"
69435 || test ! -s conftest.err'
69436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69437 (eval $ac_try) 2>&5
69438 ac_status=$?
69439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69440 (exit $ac_status); }; } &&
69441 { ac_try='test -s conftest.$ac_objext'
69442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69443 (eval $ac_try) 2>&5
69444 ac_status=$?
69445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69446 (exit $ac_status); }; }; then
69447 glibcxx_cv_func_finitel_use=yes
69448 else
69449 echo "$as_me: failed program was:" >&5
69450 sed 's/^/| /' conftest.$ac_ext >&5
69452 glibcxx_cv_func_finitel_use=no
69454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69455 ac_ext=c
69456 ac_cpp='$CPP $CPPFLAGS'
69457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
69466 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
69468 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69470 for ac_func in finitel
69472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69473 echo "$as_me:$LINENO: checking for $ac_func" >&5
69474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69475 if eval "test \"\${$as_ac_var+set}\" = set"; then
69476 echo $ECHO_N "(cached) $ECHO_C" >&6
69477 else
69478 if test x$gcc_no_link = xyes; then
69479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69481 { (exit 1); exit 1; }; }
69483 cat >conftest.$ac_ext <<_ACEOF
69484 /* confdefs.h. */
69485 _ACEOF
69486 cat confdefs.h >>conftest.$ac_ext
69487 cat >>conftest.$ac_ext <<_ACEOF
69488 /* end confdefs.h. */
69489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69491 #define $ac_func innocuous_$ac_func
69493 /* System header to define __stub macros and hopefully few prototypes,
69494 which can conflict with char $ac_func (); below.
69495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69496 <limits.h> exists even on freestanding compilers. */
69498 #ifdef __STDC__
69499 # include <limits.h>
69500 #else
69501 # include <assert.h>
69502 #endif
69504 #undef $ac_func
69506 /* Override any gcc2 internal prototype to avoid an error. */
69507 #ifdef __cplusplus
69508 extern "C"
69510 #endif
69511 /* We use char because int might match the return type of a gcc2
69512 builtin and then its argument prototype would still apply. */
69513 char $ac_func ();
69514 /* The GNU C library defines this for functions which it implements
69515 to always fail with ENOSYS. Some functions are actually named
69516 something starting with __ and the normal name is an alias. */
69517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69518 choke me
69519 #else
69520 char (*f) () = $ac_func;
69521 #endif
69522 #ifdef __cplusplus
69524 #endif
69527 main ()
69529 return f != $ac_func;
69531 return 0;
69533 _ACEOF
69534 rm -f conftest.$ac_objext conftest$ac_exeext
69535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69536 (eval $ac_link) 2>conftest.er1
69537 ac_status=$?
69538 grep -v '^ *+' conftest.er1 >conftest.err
69539 rm -f conftest.er1
69540 cat conftest.err >&5
69541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69542 (exit $ac_status); } &&
69543 { ac_try='test -z "$ac_c_werror_flag"
69544 || test ! -s conftest.err'
69545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69546 (eval $ac_try) 2>&5
69547 ac_status=$?
69548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69549 (exit $ac_status); }; } &&
69550 { ac_try='test -s conftest$ac_exeext'
69551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69552 (eval $ac_try) 2>&5
69553 ac_status=$?
69554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69555 (exit $ac_status); }; }; then
69556 eval "$as_ac_var=yes"
69557 else
69558 echo "$as_me: failed program was:" >&5
69559 sed 's/^/| /' conftest.$ac_ext >&5
69561 eval "$as_ac_var=no"
69563 rm -f conftest.err conftest.$ac_objext \
69564 conftest$ac_exeext conftest.$ac_ext
69566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69568 if test `eval echo '${'$as_ac_var'}'` = yes; then
69569 cat >>confdefs.h <<_ACEOF
69570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69571 _ACEOF
69574 done
69576 else
69578 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
69579 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
69580 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69581 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
69582 echo $ECHO_N "(cached) $ECHO_C" >&6
69583 else
69587 ac_ext=cc
69588 ac_cpp='$CXXCPP $CPPFLAGS'
69589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69593 cat >conftest.$ac_ext <<_ACEOF
69594 /* confdefs.h. */
69595 _ACEOF
69596 cat confdefs.h >>conftest.$ac_ext
69597 cat >>conftest.$ac_ext <<_ACEOF
69598 /* end confdefs.h. */
69599 #include <math.h>
69600 #ifdef HAVE_IEEEFP_H
69601 #include <ieeefp.h>
69602 #endif
69605 main ()
69607 _finitel(0);
69609 return 0;
69611 _ACEOF
69612 rm -f conftest.$ac_objext
69613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69614 (eval $ac_compile) 2>conftest.er1
69615 ac_status=$?
69616 grep -v '^ *+' conftest.er1 >conftest.err
69617 rm -f conftest.er1
69618 cat conftest.err >&5
69619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69620 (exit $ac_status); } &&
69621 { ac_try='test -z "$ac_cxx_werror_flag"
69622 || test ! -s conftest.err'
69623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69624 (eval $ac_try) 2>&5
69625 ac_status=$?
69626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69627 (exit $ac_status); }; } &&
69628 { ac_try='test -s conftest.$ac_objext'
69629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69630 (eval $ac_try) 2>&5
69631 ac_status=$?
69632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69633 (exit $ac_status); }; }; then
69634 glibcxx_cv_func__finitel_use=yes
69635 else
69636 echo "$as_me: failed program was:" >&5
69637 sed 's/^/| /' conftest.$ac_ext >&5
69639 glibcxx_cv_func__finitel_use=no
69641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69642 ac_ext=c
69643 ac_cpp='$CPP $CPPFLAGS'
69644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69652 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
69653 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
69655 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69657 for ac_func in _finitel
69659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69660 echo "$as_me:$LINENO: checking for $ac_func" >&5
69661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69662 if eval "test \"\${$as_ac_var+set}\" = set"; then
69663 echo $ECHO_N "(cached) $ECHO_C" >&6
69664 else
69665 if test x$gcc_no_link = xyes; then
69666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69668 { (exit 1); exit 1; }; }
69670 cat >conftest.$ac_ext <<_ACEOF
69671 /* confdefs.h. */
69672 _ACEOF
69673 cat confdefs.h >>conftest.$ac_ext
69674 cat >>conftest.$ac_ext <<_ACEOF
69675 /* end confdefs.h. */
69676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69678 #define $ac_func innocuous_$ac_func
69680 /* System header to define __stub macros and hopefully few prototypes,
69681 which can conflict with char $ac_func (); below.
69682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69683 <limits.h> exists even on freestanding compilers. */
69685 #ifdef __STDC__
69686 # include <limits.h>
69687 #else
69688 # include <assert.h>
69689 #endif
69691 #undef $ac_func
69693 /* Override any gcc2 internal prototype to avoid an error. */
69694 #ifdef __cplusplus
69695 extern "C"
69697 #endif
69698 /* We use char because int might match the return type of a gcc2
69699 builtin and then its argument prototype would still apply. */
69700 char $ac_func ();
69701 /* The GNU C library defines this for functions which it implements
69702 to always fail with ENOSYS. Some functions are actually named
69703 something starting with __ and the normal name is an alias. */
69704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69705 choke me
69706 #else
69707 char (*f) () = $ac_func;
69708 #endif
69709 #ifdef __cplusplus
69711 #endif
69714 main ()
69716 return f != $ac_func;
69718 return 0;
69720 _ACEOF
69721 rm -f conftest.$ac_objext conftest$ac_exeext
69722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69723 (eval $ac_link) 2>conftest.er1
69724 ac_status=$?
69725 grep -v '^ *+' conftest.er1 >conftest.err
69726 rm -f conftest.er1
69727 cat conftest.err >&5
69728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69729 (exit $ac_status); } &&
69730 { ac_try='test -z "$ac_c_werror_flag"
69731 || test ! -s conftest.err'
69732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69733 (eval $ac_try) 2>&5
69734 ac_status=$?
69735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69736 (exit $ac_status); }; } &&
69737 { ac_try='test -s conftest$ac_exeext'
69738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69739 (eval $ac_try) 2>&5
69740 ac_status=$?
69741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69742 (exit $ac_status); }; }; then
69743 eval "$as_ac_var=yes"
69744 else
69745 echo "$as_me: failed program was:" >&5
69746 sed 's/^/| /' conftest.$ac_ext >&5
69748 eval "$as_ac_var=no"
69750 rm -f conftest.err conftest.$ac_objext \
69751 conftest$ac_exeext conftest.$ac_ext
69753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69755 if test `eval echo '${'$as_ac_var'}'` = yes; then
69756 cat >>confdefs.h <<_ACEOF
69757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69758 _ACEOF
69761 done
69769 echo "$as_me:$LINENO: checking for _float trig functions" >&5
69770 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69771 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69772 echo $ECHO_N "(cached) $ECHO_C" >&6
69773 else
69777 ac_ext=cc
69778 ac_cpp='$CXXCPP $CPPFLAGS'
69779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69783 cat >conftest.$ac_ext <<_ACEOF
69784 /* confdefs.h. */
69785 _ACEOF
69786 cat confdefs.h >>conftest.$ac_ext
69787 cat >>conftest.$ac_ext <<_ACEOF
69788 /* end confdefs.h. */
69789 #include <math.h>
69791 main ()
69793 `for x in _acosf _asinf _atanf \
69794 _cosf _sinf _tanf \
69795 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69797 return 0;
69799 _ACEOF
69800 rm -f conftest.$ac_objext
69801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69802 (eval $ac_compile) 2>conftest.er1
69803 ac_status=$?
69804 grep -v '^ *+' conftest.er1 >conftest.err
69805 rm -f conftest.er1
69806 cat conftest.err >&5
69807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69808 (exit $ac_status); } &&
69809 { ac_try='test -z "$ac_cxx_werror_flag"
69810 || test ! -s conftest.err'
69811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69812 (eval $ac_try) 2>&5
69813 ac_status=$?
69814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69815 (exit $ac_status); }; } &&
69816 { ac_try='test -s conftest.$ac_objext'
69817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69818 (eval $ac_try) 2>&5
69819 ac_status=$?
69820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69821 (exit $ac_status); }; }; then
69822 glibcxx_cv_func__float_trig_use=yes
69823 else
69824 echo "$as_me: failed program was:" >&5
69825 sed 's/^/| /' conftest.$ac_ext >&5
69827 glibcxx_cv_func__float_trig_use=no
69829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69830 ac_ext=c
69831 ac_cpp='$CPP $CPPFLAGS'
69832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69838 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69839 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69840 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69850 for ac_func in _acosf _asinf _atanf \
69851 _cosf _sinf _tanf \
69852 _coshf _sinhf _tanhf
69854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69855 echo "$as_me:$LINENO: checking for $ac_func" >&5
69856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69857 if eval "test \"\${$as_ac_var+set}\" = set"; then
69858 echo $ECHO_N "(cached) $ECHO_C" >&6
69859 else
69860 if test x$gcc_no_link = xyes; then
69861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69863 { (exit 1); exit 1; }; }
69865 cat >conftest.$ac_ext <<_ACEOF
69866 /* confdefs.h. */
69867 _ACEOF
69868 cat confdefs.h >>conftest.$ac_ext
69869 cat >>conftest.$ac_ext <<_ACEOF
69870 /* end confdefs.h. */
69871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69873 #define $ac_func innocuous_$ac_func
69875 /* System header to define __stub macros and hopefully few prototypes,
69876 which can conflict with char $ac_func (); below.
69877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69878 <limits.h> exists even on freestanding compilers. */
69880 #ifdef __STDC__
69881 # include <limits.h>
69882 #else
69883 # include <assert.h>
69884 #endif
69886 #undef $ac_func
69888 /* Override any gcc2 internal prototype to avoid an error. */
69889 #ifdef __cplusplus
69890 extern "C"
69892 #endif
69893 /* We use char because int might match the return type of a gcc2
69894 builtin and then its argument prototype would still apply. */
69895 char $ac_func ();
69896 /* The GNU C library defines this for functions which it implements
69897 to always fail with ENOSYS. Some functions are actually named
69898 something starting with __ and the normal name is an alias. */
69899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69900 choke me
69901 #else
69902 char (*f) () = $ac_func;
69903 #endif
69904 #ifdef __cplusplus
69906 #endif
69909 main ()
69911 return f != $ac_func;
69913 return 0;
69915 _ACEOF
69916 rm -f conftest.$ac_objext conftest$ac_exeext
69917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69918 (eval $ac_link) 2>conftest.er1
69919 ac_status=$?
69920 grep -v '^ *+' conftest.er1 >conftest.err
69921 rm -f conftest.er1
69922 cat conftest.err >&5
69923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69924 (exit $ac_status); } &&
69925 { ac_try='test -z "$ac_c_werror_flag"
69926 || test ! -s conftest.err'
69927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69928 (eval $ac_try) 2>&5
69929 ac_status=$?
69930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69931 (exit $ac_status); }; } &&
69932 { ac_try='test -s conftest$ac_exeext'
69933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69934 (eval $ac_try) 2>&5
69935 ac_status=$?
69936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69937 (exit $ac_status); }; }; then
69938 eval "$as_ac_var=yes"
69939 else
69940 echo "$as_me: failed program was:" >&5
69941 sed 's/^/| /' conftest.$ac_ext >&5
69943 eval "$as_ac_var=no"
69945 rm -f conftest.err conftest.$ac_objext \
69946 conftest$ac_exeext conftest.$ac_ext
69948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69950 if test `eval echo '${'$as_ac_var'}'` = yes; then
69951 cat >>confdefs.h <<_ACEOF
69952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69953 _ACEOF
69956 done
69961 echo "$as_me:$LINENO: checking for _float round functions" >&5
69962 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69963 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69964 echo $ECHO_N "(cached) $ECHO_C" >&6
69965 else
69969 ac_ext=cc
69970 ac_cpp='$CXXCPP $CPPFLAGS'
69971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69975 cat >conftest.$ac_ext <<_ACEOF
69976 /* confdefs.h. */
69977 _ACEOF
69978 cat confdefs.h >>conftest.$ac_ext
69979 cat >>conftest.$ac_ext <<_ACEOF
69980 /* end confdefs.h. */
69981 #include <math.h>
69983 main ()
69985 `for x in _ceilf _floorf; do echo "$x (0);"; done`
69987 return 0;
69989 _ACEOF
69990 rm -f conftest.$ac_objext
69991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69992 (eval $ac_compile) 2>conftest.er1
69993 ac_status=$?
69994 grep -v '^ *+' conftest.er1 >conftest.err
69995 rm -f conftest.er1
69996 cat conftest.err >&5
69997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69998 (exit $ac_status); } &&
69999 { ac_try='test -z "$ac_cxx_werror_flag"
70000 || test ! -s conftest.err'
70001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70002 (eval $ac_try) 2>&5
70003 ac_status=$?
70004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70005 (exit $ac_status); }; } &&
70006 { ac_try='test -s conftest.$ac_objext'
70007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70008 (eval $ac_try) 2>&5
70009 ac_status=$?
70010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70011 (exit $ac_status); }; }; then
70012 glibcxx_cv_func__float_round_use=yes
70013 else
70014 echo "$as_me: failed program was:" >&5
70015 sed 's/^/| /' conftest.$ac_ext >&5
70017 glibcxx_cv_func__float_round_use=no
70019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70020 ac_ext=c
70021 ac_cpp='$CPP $CPPFLAGS'
70022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
70029 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
70030 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
70033 for ac_func in _ceilf _floorf
70035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70036 echo "$as_me:$LINENO: checking for $ac_func" >&5
70037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70038 if eval "test \"\${$as_ac_var+set}\" = set"; then
70039 echo $ECHO_N "(cached) $ECHO_C" >&6
70040 else
70041 if test x$gcc_no_link = xyes; then
70042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70044 { (exit 1); exit 1; }; }
70046 cat >conftest.$ac_ext <<_ACEOF
70047 /* confdefs.h. */
70048 _ACEOF
70049 cat confdefs.h >>conftest.$ac_ext
70050 cat >>conftest.$ac_ext <<_ACEOF
70051 /* end confdefs.h. */
70052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70054 #define $ac_func innocuous_$ac_func
70056 /* System header to define __stub macros and hopefully few prototypes,
70057 which can conflict with char $ac_func (); below.
70058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70059 <limits.h> exists even on freestanding compilers. */
70061 #ifdef __STDC__
70062 # include <limits.h>
70063 #else
70064 # include <assert.h>
70065 #endif
70067 #undef $ac_func
70069 /* Override any gcc2 internal prototype to avoid an error. */
70070 #ifdef __cplusplus
70071 extern "C"
70073 #endif
70074 /* We use char because int might match the return type of a gcc2
70075 builtin and then its argument prototype would still apply. */
70076 char $ac_func ();
70077 /* The GNU C library defines this for functions which it implements
70078 to always fail with ENOSYS. Some functions are actually named
70079 something starting with __ and the normal name is an alias. */
70080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70081 choke me
70082 #else
70083 char (*f) () = $ac_func;
70084 #endif
70085 #ifdef __cplusplus
70087 #endif
70090 main ()
70092 return f != $ac_func;
70094 return 0;
70096 _ACEOF
70097 rm -f conftest.$ac_objext conftest$ac_exeext
70098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70099 (eval $ac_link) 2>conftest.er1
70100 ac_status=$?
70101 grep -v '^ *+' conftest.er1 >conftest.err
70102 rm -f conftest.er1
70103 cat conftest.err >&5
70104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70105 (exit $ac_status); } &&
70106 { ac_try='test -z "$ac_c_werror_flag"
70107 || test ! -s conftest.err'
70108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70109 (eval $ac_try) 2>&5
70110 ac_status=$?
70111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70112 (exit $ac_status); }; } &&
70113 { ac_try='test -s conftest$ac_exeext'
70114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70115 (eval $ac_try) 2>&5
70116 ac_status=$?
70117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70118 (exit $ac_status); }; }; then
70119 eval "$as_ac_var=yes"
70120 else
70121 echo "$as_me: failed program was:" >&5
70122 sed 's/^/| /' conftest.$ac_ext >&5
70124 eval "$as_ac_var=no"
70126 rm -f conftest.err conftest.$ac_objext \
70127 conftest$ac_exeext conftest.$ac_ext
70129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70131 if test `eval echo '${'$as_ac_var'}'` = yes; then
70132 cat >>confdefs.h <<_ACEOF
70133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70134 _ACEOF
70137 done
70143 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70144 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70145 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70146 echo $ECHO_N "(cached) $ECHO_C" >&6
70147 else
70151 ac_ext=cc
70152 ac_cpp='$CXXCPP $CPPFLAGS'
70153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70157 cat >conftest.$ac_ext <<_ACEOF
70158 /* confdefs.h. */
70159 _ACEOF
70160 cat confdefs.h >>conftest.$ac_ext
70161 cat >>conftest.$ac_ext <<_ACEOF
70162 /* end confdefs.h. */
70163 #include <math.h>
70165 main ()
70167 `for x in _acosl _asinl _atanl \
70168 _cosl _sinl _tanl \
70169 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
70171 return 0;
70173 _ACEOF
70174 rm -f conftest.$ac_objext
70175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70176 (eval $ac_compile) 2>conftest.er1
70177 ac_status=$?
70178 grep -v '^ *+' conftest.er1 >conftest.err
70179 rm -f conftest.er1
70180 cat conftest.err >&5
70181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70182 (exit $ac_status); } &&
70183 { ac_try='test -z "$ac_cxx_werror_flag"
70184 || test ! -s conftest.err'
70185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70186 (eval $ac_try) 2>&5
70187 ac_status=$?
70188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70189 (exit $ac_status); }; } &&
70190 { ac_try='test -s conftest.$ac_objext'
70191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70192 (eval $ac_try) 2>&5
70193 ac_status=$?
70194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70195 (exit $ac_status); }; }; then
70196 glibcxx_cv_func__long_double_trig_use=yes
70197 else
70198 echo "$as_me: failed program was:" >&5
70199 sed 's/^/| /' conftest.$ac_ext >&5
70201 glibcxx_cv_func__long_double_trig_use=no
70203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70204 ac_ext=c
70205 ac_cpp='$CPP $CPPFLAGS'
70206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70212 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
70213 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
70214 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70224 for ac_func in _acosl _asinl _atanl \
70225 _cosl _sinl _tanl \
70226 _coshl _sinhl _tanhl
70228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70229 echo "$as_me:$LINENO: checking for $ac_func" >&5
70230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70231 if eval "test \"\${$as_ac_var+set}\" = set"; then
70232 echo $ECHO_N "(cached) $ECHO_C" >&6
70233 else
70234 if test x$gcc_no_link = xyes; then
70235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70237 { (exit 1); exit 1; }; }
70239 cat >conftest.$ac_ext <<_ACEOF
70240 /* confdefs.h. */
70241 _ACEOF
70242 cat confdefs.h >>conftest.$ac_ext
70243 cat >>conftest.$ac_ext <<_ACEOF
70244 /* end confdefs.h. */
70245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70247 #define $ac_func innocuous_$ac_func
70249 /* System header to define __stub macros and hopefully few prototypes,
70250 which can conflict with char $ac_func (); below.
70251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70252 <limits.h> exists even on freestanding compilers. */
70254 #ifdef __STDC__
70255 # include <limits.h>
70256 #else
70257 # include <assert.h>
70258 #endif
70260 #undef $ac_func
70262 /* Override any gcc2 internal prototype to avoid an error. */
70263 #ifdef __cplusplus
70264 extern "C"
70266 #endif
70267 /* We use char because int might match the return type of a gcc2
70268 builtin and then its argument prototype would still apply. */
70269 char $ac_func ();
70270 /* The GNU C library defines this for functions which it implements
70271 to always fail with ENOSYS. Some functions are actually named
70272 something starting with __ and the normal name is an alias. */
70273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70274 choke me
70275 #else
70276 char (*f) () = $ac_func;
70277 #endif
70278 #ifdef __cplusplus
70280 #endif
70283 main ()
70285 return f != $ac_func;
70287 return 0;
70289 _ACEOF
70290 rm -f conftest.$ac_objext conftest$ac_exeext
70291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70292 (eval $ac_link) 2>conftest.er1
70293 ac_status=$?
70294 grep -v '^ *+' conftest.er1 >conftest.err
70295 rm -f conftest.er1
70296 cat conftest.err >&5
70297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70298 (exit $ac_status); } &&
70299 { ac_try='test -z "$ac_c_werror_flag"
70300 || test ! -s conftest.err'
70301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70302 (eval $ac_try) 2>&5
70303 ac_status=$?
70304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70305 (exit $ac_status); }; } &&
70306 { ac_try='test -s conftest$ac_exeext'
70307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70308 (eval $ac_try) 2>&5
70309 ac_status=$?
70310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70311 (exit $ac_status); }; }; then
70312 eval "$as_ac_var=yes"
70313 else
70314 echo "$as_me: failed program was:" >&5
70315 sed 's/^/| /' conftest.$ac_ext >&5
70317 eval "$as_ac_var=no"
70319 rm -f conftest.err conftest.$ac_objext \
70320 conftest$ac_exeext conftest.$ac_ext
70322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70324 if test `eval echo '${'$as_ac_var'}'` = yes; then
70325 cat >>confdefs.h <<_ACEOF
70326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70327 _ACEOF
70330 done
70335 echo "$as_me:$LINENO: checking for _long double round functions" >&5
70336 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70337 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70338 echo $ECHO_N "(cached) $ECHO_C" >&6
70339 else
70343 ac_ext=cc
70344 ac_cpp='$CXXCPP $CPPFLAGS'
70345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70349 cat >conftest.$ac_ext <<_ACEOF
70350 /* confdefs.h. */
70351 _ACEOF
70352 cat confdefs.h >>conftest.$ac_ext
70353 cat >>conftest.$ac_ext <<_ACEOF
70354 /* end confdefs.h. */
70355 #include <math.h>
70357 main ()
70359 `for x in _ceill _floorl; do echo "$x (0);"; done`
70361 return 0;
70363 _ACEOF
70364 rm -f conftest.$ac_objext
70365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70366 (eval $ac_compile) 2>conftest.er1
70367 ac_status=$?
70368 grep -v '^ *+' conftest.er1 >conftest.err
70369 rm -f conftest.er1
70370 cat conftest.err >&5
70371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70372 (exit $ac_status); } &&
70373 { ac_try='test -z "$ac_cxx_werror_flag"
70374 || test ! -s conftest.err'
70375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70376 (eval $ac_try) 2>&5
70377 ac_status=$?
70378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70379 (exit $ac_status); }; } &&
70380 { ac_try='test -s conftest.$ac_objext'
70381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70382 (eval $ac_try) 2>&5
70383 ac_status=$?
70384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70385 (exit $ac_status); }; }; then
70386 glibcxx_cv_func__long_double_round_use=yes
70387 else
70388 echo "$as_me: failed program was:" >&5
70389 sed 's/^/| /' conftest.$ac_ext >&5
70391 glibcxx_cv_func__long_double_round_use=no
70393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70394 ac_ext=c
70395 ac_cpp='$CPP $CPPFLAGS'
70396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70403 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70404 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70407 for ac_func in _ceill _floorl
70409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70410 echo "$as_me:$LINENO: checking for $ac_func" >&5
70411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70412 if eval "test \"\${$as_ac_var+set}\" = set"; then
70413 echo $ECHO_N "(cached) $ECHO_C" >&6
70414 else
70415 if test x$gcc_no_link = xyes; then
70416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70418 { (exit 1); exit 1; }; }
70420 cat >conftest.$ac_ext <<_ACEOF
70421 /* confdefs.h. */
70422 _ACEOF
70423 cat confdefs.h >>conftest.$ac_ext
70424 cat >>conftest.$ac_ext <<_ACEOF
70425 /* end confdefs.h. */
70426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70428 #define $ac_func innocuous_$ac_func
70430 /* System header to define __stub macros and hopefully few prototypes,
70431 which can conflict with char $ac_func (); below.
70432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70433 <limits.h> exists even on freestanding compilers. */
70435 #ifdef __STDC__
70436 # include <limits.h>
70437 #else
70438 # include <assert.h>
70439 #endif
70441 #undef $ac_func
70443 /* Override any gcc2 internal prototype to avoid an error. */
70444 #ifdef __cplusplus
70445 extern "C"
70447 #endif
70448 /* We use char because int might match the return type of a gcc2
70449 builtin and then its argument prototype would still apply. */
70450 char $ac_func ();
70451 /* The GNU C library defines this for functions which it implements
70452 to always fail with ENOSYS. Some functions are actually named
70453 something starting with __ and the normal name is an alias. */
70454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70455 choke me
70456 #else
70457 char (*f) () = $ac_func;
70458 #endif
70459 #ifdef __cplusplus
70461 #endif
70464 main ()
70466 return f != $ac_func;
70468 return 0;
70470 _ACEOF
70471 rm -f conftest.$ac_objext conftest$ac_exeext
70472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70473 (eval $ac_link) 2>conftest.er1
70474 ac_status=$?
70475 grep -v '^ *+' conftest.er1 >conftest.err
70476 rm -f conftest.er1
70477 cat conftest.err >&5
70478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70479 (exit $ac_status); } &&
70480 { ac_try='test -z "$ac_c_werror_flag"
70481 || test ! -s conftest.err'
70482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70483 (eval $ac_try) 2>&5
70484 ac_status=$?
70485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70486 (exit $ac_status); }; } &&
70487 { ac_try='test -s conftest$ac_exeext'
70488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70489 (eval $ac_try) 2>&5
70490 ac_status=$?
70491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70492 (exit $ac_status); }; }; then
70493 eval "$as_ac_var=yes"
70494 else
70495 echo "$as_me: failed program was:" >&5
70496 sed 's/^/| /' conftest.$ac_ext >&5
70498 eval "$as_ac_var=no"
70500 rm -f conftest.err conftest.$ac_objext \
70501 conftest$ac_exeext conftest.$ac_ext
70503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70505 if test `eval echo '${'$as_ac_var'}'` = yes; then
70506 cat >>confdefs.h <<_ACEOF
70507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70508 _ACEOF
70511 done
70516 LIBS="$ac_save_LIBS"
70517 CXXFLAGS="$ac_save_CXXFLAGS"
70521 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70522 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70523 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70524 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70525 echo $ECHO_N "(cached) $ECHO_C" >&6
70526 else
70530 ac_ext=cc
70531 ac_cpp='$CXXCPP $CPPFLAGS'
70532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70536 cat >conftest.$ac_ext <<_ACEOF
70537 /* confdefs.h. */
70538 _ACEOF
70539 cat confdefs.h >>conftest.$ac_ext
70540 cat >>conftest.$ac_ext <<_ACEOF
70541 /* end confdefs.h. */
70542 #include <math.h>
70544 main ()
70546 __builtin_abs(0);
70548 return 0;
70550 _ACEOF
70551 rm -f conftest.$ac_objext
70552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70553 (eval $ac_compile) 2>conftest.er1
70554 ac_status=$?
70555 grep -v '^ *+' conftest.er1 >conftest.err
70556 rm -f conftest.er1
70557 cat conftest.err >&5
70558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70559 (exit $ac_status); } &&
70560 { ac_try='test -z "$ac_cxx_werror_flag"
70561 || test ! -s conftest.err'
70562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70563 (eval $ac_try) 2>&5
70564 ac_status=$?
70565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70566 (exit $ac_status); }; } &&
70567 { ac_try='test -s conftest.$ac_objext'
70568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70569 (eval $ac_try) 2>&5
70570 ac_status=$?
70571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70572 (exit $ac_status); }; }; then
70573 glibcxx_cv_func___builtin_abs_use=yes
70574 else
70575 echo "$as_me: failed program was:" >&5
70576 sed 's/^/| /' conftest.$ac_ext >&5
70578 glibcxx_cv_func___builtin_abs_use=no
70580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70581 ac_ext=c
70582 ac_cpp='$CPP $CPPFLAGS'
70583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70591 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70592 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70593 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70594 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70595 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70596 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70597 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70598 echo $ECHO_N "(cached) $ECHO_C" >&6
70599 else
70601 if test x$gcc_no_link = xyes; then
70602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70604 { (exit 1); exit 1; }; }
70606 cat >conftest.$ac_ext <<_ACEOF
70607 /* confdefs.h. */
70608 _ACEOF
70609 cat confdefs.h >>conftest.$ac_ext
70610 cat >>conftest.$ac_ext <<_ACEOF
70611 /* end confdefs.h. */
70612 #include <math.h>
70614 main ()
70616 __builtin_abs(0);
70618 return 0;
70620 _ACEOF
70621 rm -f conftest.$ac_objext conftest$ac_exeext
70622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70623 (eval $ac_link) 2>conftest.er1
70624 ac_status=$?
70625 grep -v '^ *+' conftest.er1 >conftest.err
70626 rm -f conftest.er1
70627 cat conftest.err >&5
70628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70629 (exit $ac_status); } &&
70630 { ac_try='test -z "$ac_c_werror_flag"
70631 || test ! -s conftest.err'
70632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70633 (eval $ac_try) 2>&5
70634 ac_status=$?
70635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70636 (exit $ac_status); }; } &&
70637 { ac_try='test -s conftest$ac_exeext'
70638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70639 (eval $ac_try) 2>&5
70640 ac_status=$?
70641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70642 (exit $ac_status); }; }; then
70643 glibcxx_cv_func___builtin_abs_link=yes
70644 else
70645 echo "$as_me: failed program was:" >&5
70646 sed 's/^/| /' conftest.$ac_ext >&5
70648 glibcxx_cv_func___builtin_abs_link=no
70650 rm -f conftest.err conftest.$ac_objext \
70651 conftest$ac_exeext conftest.$ac_ext
70656 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70657 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70658 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70659 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70661 cat >>confdefs.h <<_ACEOF
70662 #define ${ac_tr_func} 1
70663 _ACEOF
70669 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70670 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70671 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70672 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70673 echo $ECHO_N "(cached) $ECHO_C" >&6
70674 else
70678 ac_ext=cc
70679 ac_cpp='$CXXCPP $CPPFLAGS'
70680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70684 cat >conftest.$ac_ext <<_ACEOF
70685 /* confdefs.h. */
70686 _ACEOF
70687 cat confdefs.h >>conftest.$ac_ext
70688 cat >>conftest.$ac_ext <<_ACEOF
70689 /* end confdefs.h. */
70690 #include <math.h>
70692 main ()
70694 __builtin_fabsf(0);
70696 return 0;
70698 _ACEOF
70699 rm -f conftest.$ac_objext
70700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70701 (eval $ac_compile) 2>conftest.er1
70702 ac_status=$?
70703 grep -v '^ *+' conftest.er1 >conftest.err
70704 rm -f conftest.er1
70705 cat conftest.err >&5
70706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70707 (exit $ac_status); } &&
70708 { ac_try='test -z "$ac_cxx_werror_flag"
70709 || test ! -s conftest.err'
70710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70711 (eval $ac_try) 2>&5
70712 ac_status=$?
70713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70714 (exit $ac_status); }; } &&
70715 { ac_try='test -s conftest.$ac_objext'
70716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70717 (eval $ac_try) 2>&5
70718 ac_status=$?
70719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70720 (exit $ac_status); }; }; then
70721 glibcxx_cv_func___builtin_fabsf_use=yes
70722 else
70723 echo "$as_me: failed program was:" >&5
70724 sed 's/^/| /' conftest.$ac_ext >&5
70726 glibcxx_cv_func___builtin_fabsf_use=no
70728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70729 ac_ext=c
70730 ac_cpp='$CPP $CPPFLAGS'
70731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70739 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70740 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70741 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70742 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70743 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70744 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70745 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70746 echo $ECHO_N "(cached) $ECHO_C" >&6
70747 else
70749 if test x$gcc_no_link = xyes; then
70750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70752 { (exit 1); exit 1; }; }
70754 cat >conftest.$ac_ext <<_ACEOF
70755 /* confdefs.h. */
70756 _ACEOF
70757 cat confdefs.h >>conftest.$ac_ext
70758 cat >>conftest.$ac_ext <<_ACEOF
70759 /* end confdefs.h. */
70760 #include <math.h>
70762 main ()
70764 __builtin_fabsf(0);
70766 return 0;
70768 _ACEOF
70769 rm -f conftest.$ac_objext conftest$ac_exeext
70770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70771 (eval $ac_link) 2>conftest.er1
70772 ac_status=$?
70773 grep -v '^ *+' conftest.er1 >conftest.err
70774 rm -f conftest.er1
70775 cat conftest.err >&5
70776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70777 (exit $ac_status); } &&
70778 { ac_try='test -z "$ac_c_werror_flag"
70779 || test ! -s conftest.err'
70780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70781 (eval $ac_try) 2>&5
70782 ac_status=$?
70783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70784 (exit $ac_status); }; } &&
70785 { ac_try='test -s conftest$ac_exeext'
70786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70787 (eval $ac_try) 2>&5
70788 ac_status=$?
70789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70790 (exit $ac_status); }; }; then
70791 glibcxx_cv_func___builtin_fabsf_link=yes
70792 else
70793 echo "$as_me: failed program was:" >&5
70794 sed 's/^/| /' conftest.$ac_ext >&5
70796 glibcxx_cv_func___builtin_fabsf_link=no
70798 rm -f conftest.err conftest.$ac_objext \
70799 conftest$ac_exeext conftest.$ac_ext
70804 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70805 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70806 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70807 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70809 cat >>confdefs.h <<_ACEOF
70810 #define ${ac_tr_func} 1
70811 _ACEOF
70817 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70818 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70819 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70820 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70821 echo $ECHO_N "(cached) $ECHO_C" >&6
70822 else
70826 ac_ext=cc
70827 ac_cpp='$CXXCPP $CPPFLAGS'
70828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70832 cat >conftest.$ac_ext <<_ACEOF
70833 /* confdefs.h. */
70834 _ACEOF
70835 cat confdefs.h >>conftest.$ac_ext
70836 cat >>conftest.$ac_ext <<_ACEOF
70837 /* end confdefs.h. */
70838 #include <math.h>
70840 main ()
70842 __builtin_fabs(0);
70844 return 0;
70846 _ACEOF
70847 rm -f conftest.$ac_objext
70848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70849 (eval $ac_compile) 2>conftest.er1
70850 ac_status=$?
70851 grep -v '^ *+' conftest.er1 >conftest.err
70852 rm -f conftest.er1
70853 cat conftest.err >&5
70854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70855 (exit $ac_status); } &&
70856 { ac_try='test -z "$ac_cxx_werror_flag"
70857 || test ! -s conftest.err'
70858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70859 (eval $ac_try) 2>&5
70860 ac_status=$?
70861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70862 (exit $ac_status); }; } &&
70863 { ac_try='test -s conftest.$ac_objext'
70864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70865 (eval $ac_try) 2>&5
70866 ac_status=$?
70867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70868 (exit $ac_status); }; }; then
70869 glibcxx_cv_func___builtin_fabs_use=yes
70870 else
70871 echo "$as_me: failed program was:" >&5
70872 sed 's/^/| /' conftest.$ac_ext >&5
70874 glibcxx_cv_func___builtin_fabs_use=no
70876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70877 ac_ext=c
70878 ac_cpp='$CPP $CPPFLAGS'
70879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70887 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70888 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70889 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70890 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70891 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70892 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70893 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70894 echo $ECHO_N "(cached) $ECHO_C" >&6
70895 else
70897 if test x$gcc_no_link = xyes; then
70898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70900 { (exit 1); exit 1; }; }
70902 cat >conftest.$ac_ext <<_ACEOF
70903 /* confdefs.h. */
70904 _ACEOF
70905 cat confdefs.h >>conftest.$ac_ext
70906 cat >>conftest.$ac_ext <<_ACEOF
70907 /* end confdefs.h. */
70908 #include <math.h>
70910 main ()
70912 __builtin_fabs(0);
70914 return 0;
70916 _ACEOF
70917 rm -f conftest.$ac_objext conftest$ac_exeext
70918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70919 (eval $ac_link) 2>conftest.er1
70920 ac_status=$?
70921 grep -v '^ *+' conftest.er1 >conftest.err
70922 rm -f conftest.er1
70923 cat conftest.err >&5
70924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70925 (exit $ac_status); } &&
70926 { ac_try='test -z "$ac_c_werror_flag"
70927 || test ! -s conftest.err'
70928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70929 (eval $ac_try) 2>&5
70930 ac_status=$?
70931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70932 (exit $ac_status); }; } &&
70933 { ac_try='test -s conftest$ac_exeext'
70934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70935 (eval $ac_try) 2>&5
70936 ac_status=$?
70937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70938 (exit $ac_status); }; }; then
70939 glibcxx_cv_func___builtin_fabs_link=yes
70940 else
70941 echo "$as_me: failed program was:" >&5
70942 sed 's/^/| /' conftest.$ac_ext >&5
70944 glibcxx_cv_func___builtin_fabs_link=no
70946 rm -f conftest.err conftest.$ac_objext \
70947 conftest$ac_exeext conftest.$ac_ext
70952 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70953 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70954 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70955 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70957 cat >>confdefs.h <<_ACEOF
70958 #define ${ac_tr_func} 1
70959 _ACEOF
70965 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70966 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70967 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70968 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70969 echo $ECHO_N "(cached) $ECHO_C" >&6
70970 else
70974 ac_ext=cc
70975 ac_cpp='$CXXCPP $CPPFLAGS'
70976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70980 cat >conftest.$ac_ext <<_ACEOF
70981 /* confdefs.h. */
70982 _ACEOF
70983 cat confdefs.h >>conftest.$ac_ext
70984 cat >>conftest.$ac_ext <<_ACEOF
70985 /* end confdefs.h. */
70986 #include <math.h>
70988 main ()
70990 __builtin_fabsl(0);
70992 return 0;
70994 _ACEOF
70995 rm -f conftest.$ac_objext
70996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70997 (eval $ac_compile) 2>conftest.er1
70998 ac_status=$?
70999 grep -v '^ *+' conftest.er1 >conftest.err
71000 rm -f conftest.er1
71001 cat conftest.err >&5
71002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71003 (exit $ac_status); } &&
71004 { ac_try='test -z "$ac_cxx_werror_flag"
71005 || test ! -s conftest.err'
71006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71007 (eval $ac_try) 2>&5
71008 ac_status=$?
71009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71010 (exit $ac_status); }; } &&
71011 { ac_try='test -s conftest.$ac_objext'
71012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71013 (eval $ac_try) 2>&5
71014 ac_status=$?
71015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71016 (exit $ac_status); }; }; then
71017 glibcxx_cv_func___builtin_fabsl_use=yes
71018 else
71019 echo "$as_me: failed program was:" >&5
71020 sed 's/^/| /' conftest.$ac_ext >&5
71022 glibcxx_cv_func___builtin_fabsl_use=no
71024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71025 ac_ext=c
71026 ac_cpp='$CPP $CPPFLAGS'
71027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71035 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71036 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71037 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71038 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71039 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71040 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71041 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71042 echo $ECHO_N "(cached) $ECHO_C" >&6
71043 else
71045 if test x$gcc_no_link = xyes; then
71046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71048 { (exit 1); exit 1; }; }
71050 cat >conftest.$ac_ext <<_ACEOF
71051 /* confdefs.h. */
71052 _ACEOF
71053 cat confdefs.h >>conftest.$ac_ext
71054 cat >>conftest.$ac_ext <<_ACEOF
71055 /* end confdefs.h. */
71056 #include <math.h>
71058 main ()
71060 __builtin_fabsl(0);
71062 return 0;
71064 _ACEOF
71065 rm -f conftest.$ac_objext conftest$ac_exeext
71066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71067 (eval $ac_link) 2>conftest.er1
71068 ac_status=$?
71069 grep -v '^ *+' conftest.er1 >conftest.err
71070 rm -f conftest.er1
71071 cat conftest.err >&5
71072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71073 (exit $ac_status); } &&
71074 { ac_try='test -z "$ac_c_werror_flag"
71075 || test ! -s conftest.err'
71076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71077 (eval $ac_try) 2>&5
71078 ac_status=$?
71079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71080 (exit $ac_status); }; } &&
71081 { ac_try='test -s conftest$ac_exeext'
71082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71083 (eval $ac_try) 2>&5
71084 ac_status=$?
71085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71086 (exit $ac_status); }; }; then
71087 glibcxx_cv_func___builtin_fabsl_link=yes
71088 else
71089 echo "$as_me: failed program was:" >&5
71090 sed 's/^/| /' conftest.$ac_ext >&5
71092 glibcxx_cv_func___builtin_fabsl_link=no
71094 rm -f conftest.err conftest.$ac_objext \
71095 conftest$ac_exeext conftest.$ac_ext
71100 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71101 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71102 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71103 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71105 cat >>confdefs.h <<_ACEOF
71106 #define ${ac_tr_func} 1
71107 _ACEOF
71113 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71114 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71115 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71116 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71117 echo $ECHO_N "(cached) $ECHO_C" >&6
71118 else
71122 ac_ext=cc
71123 ac_cpp='$CXXCPP $CPPFLAGS'
71124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71128 cat >conftest.$ac_ext <<_ACEOF
71129 /* confdefs.h. */
71130 _ACEOF
71131 cat confdefs.h >>conftest.$ac_ext
71132 cat >>conftest.$ac_ext <<_ACEOF
71133 /* end confdefs.h. */
71134 #include <math.h>
71136 main ()
71138 __builtin_labs(0);
71140 return 0;
71142 _ACEOF
71143 rm -f conftest.$ac_objext
71144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71145 (eval $ac_compile) 2>conftest.er1
71146 ac_status=$?
71147 grep -v '^ *+' conftest.er1 >conftest.err
71148 rm -f conftest.er1
71149 cat conftest.err >&5
71150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71151 (exit $ac_status); } &&
71152 { ac_try='test -z "$ac_cxx_werror_flag"
71153 || test ! -s conftest.err'
71154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71155 (eval $ac_try) 2>&5
71156 ac_status=$?
71157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71158 (exit $ac_status); }; } &&
71159 { ac_try='test -s conftest.$ac_objext'
71160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71161 (eval $ac_try) 2>&5
71162 ac_status=$?
71163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71164 (exit $ac_status); }; }; then
71165 glibcxx_cv_func___builtin_labs_use=yes
71166 else
71167 echo "$as_me: failed program was:" >&5
71168 sed 's/^/| /' conftest.$ac_ext >&5
71170 glibcxx_cv_func___builtin_labs_use=no
71172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71173 ac_ext=c
71174 ac_cpp='$CPP $CPPFLAGS'
71175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71183 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71184 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71185 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71186 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71187 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71188 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71189 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71190 echo $ECHO_N "(cached) $ECHO_C" >&6
71191 else
71193 if test x$gcc_no_link = xyes; then
71194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71196 { (exit 1); exit 1; }; }
71198 cat >conftest.$ac_ext <<_ACEOF
71199 /* confdefs.h. */
71200 _ACEOF
71201 cat confdefs.h >>conftest.$ac_ext
71202 cat >>conftest.$ac_ext <<_ACEOF
71203 /* end confdefs.h. */
71204 #include <math.h>
71206 main ()
71208 __builtin_labs(0);
71210 return 0;
71212 _ACEOF
71213 rm -f conftest.$ac_objext conftest$ac_exeext
71214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71215 (eval $ac_link) 2>conftest.er1
71216 ac_status=$?
71217 grep -v '^ *+' conftest.er1 >conftest.err
71218 rm -f conftest.er1
71219 cat conftest.err >&5
71220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71221 (exit $ac_status); } &&
71222 { ac_try='test -z "$ac_c_werror_flag"
71223 || test ! -s conftest.err'
71224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71225 (eval $ac_try) 2>&5
71226 ac_status=$?
71227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71228 (exit $ac_status); }; } &&
71229 { ac_try='test -s conftest$ac_exeext'
71230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71231 (eval $ac_try) 2>&5
71232 ac_status=$?
71233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71234 (exit $ac_status); }; }; then
71235 glibcxx_cv_func___builtin_labs_link=yes
71236 else
71237 echo "$as_me: failed program was:" >&5
71238 sed 's/^/| /' conftest.$ac_ext >&5
71240 glibcxx_cv_func___builtin_labs_link=no
71242 rm -f conftest.err conftest.$ac_objext \
71243 conftest$ac_exeext conftest.$ac_ext
71248 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71249 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71250 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71251 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71253 cat >>confdefs.h <<_ACEOF
71254 #define ${ac_tr_func} 1
71255 _ACEOF
71262 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71263 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71264 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71265 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71266 echo $ECHO_N "(cached) $ECHO_C" >&6
71267 else
71271 ac_ext=cc
71272 ac_cpp='$CXXCPP $CPPFLAGS'
71273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71277 cat >conftest.$ac_ext <<_ACEOF
71278 /* confdefs.h. */
71279 _ACEOF
71280 cat confdefs.h >>conftest.$ac_ext
71281 cat >>conftest.$ac_ext <<_ACEOF
71282 /* end confdefs.h. */
71283 #include <math.h>
71285 main ()
71287 __builtin_sqrtf(0);
71289 return 0;
71291 _ACEOF
71292 rm -f conftest.$ac_objext
71293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71294 (eval $ac_compile) 2>conftest.er1
71295 ac_status=$?
71296 grep -v '^ *+' conftest.er1 >conftest.err
71297 rm -f conftest.er1
71298 cat conftest.err >&5
71299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71300 (exit $ac_status); } &&
71301 { ac_try='test -z "$ac_cxx_werror_flag"
71302 || test ! -s conftest.err'
71303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71304 (eval $ac_try) 2>&5
71305 ac_status=$?
71306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71307 (exit $ac_status); }; } &&
71308 { ac_try='test -s conftest.$ac_objext'
71309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71310 (eval $ac_try) 2>&5
71311 ac_status=$?
71312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71313 (exit $ac_status); }; }; then
71314 glibcxx_cv_func___builtin_sqrtf_use=yes
71315 else
71316 echo "$as_me: failed program was:" >&5
71317 sed 's/^/| /' conftest.$ac_ext >&5
71319 glibcxx_cv_func___builtin_sqrtf_use=no
71321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71322 ac_ext=c
71323 ac_cpp='$CPP $CPPFLAGS'
71324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71332 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71333 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71334 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71335 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71336 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71337 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71338 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71339 echo $ECHO_N "(cached) $ECHO_C" >&6
71340 else
71342 if test x$gcc_no_link = xyes; then
71343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71345 { (exit 1); exit 1; }; }
71347 cat >conftest.$ac_ext <<_ACEOF
71348 /* confdefs.h. */
71349 _ACEOF
71350 cat confdefs.h >>conftest.$ac_ext
71351 cat >>conftest.$ac_ext <<_ACEOF
71352 /* end confdefs.h. */
71353 #include <math.h>
71355 main ()
71357 __builtin_sqrtf(0);
71359 return 0;
71361 _ACEOF
71362 rm -f conftest.$ac_objext conftest$ac_exeext
71363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71364 (eval $ac_link) 2>conftest.er1
71365 ac_status=$?
71366 grep -v '^ *+' conftest.er1 >conftest.err
71367 rm -f conftest.er1
71368 cat conftest.err >&5
71369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71370 (exit $ac_status); } &&
71371 { ac_try='test -z "$ac_c_werror_flag"
71372 || test ! -s conftest.err'
71373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71374 (eval $ac_try) 2>&5
71375 ac_status=$?
71376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71377 (exit $ac_status); }; } &&
71378 { ac_try='test -s conftest$ac_exeext'
71379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71380 (eval $ac_try) 2>&5
71381 ac_status=$?
71382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71383 (exit $ac_status); }; }; then
71384 glibcxx_cv_func___builtin_sqrtf_link=yes
71385 else
71386 echo "$as_me: failed program was:" >&5
71387 sed 's/^/| /' conftest.$ac_ext >&5
71389 glibcxx_cv_func___builtin_sqrtf_link=no
71391 rm -f conftest.err conftest.$ac_objext \
71392 conftest$ac_exeext conftest.$ac_ext
71397 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71398 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71399 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71400 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71402 cat >>confdefs.h <<_ACEOF
71403 #define ${ac_tr_func} 1
71404 _ACEOF
71410 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71411 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71412 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71413 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71414 echo $ECHO_N "(cached) $ECHO_C" >&6
71415 else
71419 ac_ext=cc
71420 ac_cpp='$CXXCPP $CPPFLAGS'
71421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71425 cat >conftest.$ac_ext <<_ACEOF
71426 /* confdefs.h. */
71427 _ACEOF
71428 cat confdefs.h >>conftest.$ac_ext
71429 cat >>conftest.$ac_ext <<_ACEOF
71430 /* end confdefs.h. */
71431 #include <math.h>
71433 main ()
71435 __builtin_sqrt(0);
71437 return 0;
71439 _ACEOF
71440 rm -f conftest.$ac_objext
71441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71442 (eval $ac_compile) 2>conftest.er1
71443 ac_status=$?
71444 grep -v '^ *+' conftest.er1 >conftest.err
71445 rm -f conftest.er1
71446 cat conftest.err >&5
71447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71448 (exit $ac_status); } &&
71449 { ac_try='test -z "$ac_cxx_werror_flag"
71450 || test ! -s conftest.err'
71451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71452 (eval $ac_try) 2>&5
71453 ac_status=$?
71454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71455 (exit $ac_status); }; } &&
71456 { ac_try='test -s conftest.$ac_objext'
71457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71458 (eval $ac_try) 2>&5
71459 ac_status=$?
71460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71461 (exit $ac_status); }; }; then
71462 glibcxx_cv_func___builtin_sqrt_use=yes
71463 else
71464 echo "$as_me: failed program was:" >&5
71465 sed 's/^/| /' conftest.$ac_ext >&5
71467 glibcxx_cv_func___builtin_sqrt_use=no
71469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71470 ac_ext=c
71471 ac_cpp='$CPP $CPPFLAGS'
71472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71480 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71481 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71482 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71483 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71484 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71485 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71486 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71487 echo $ECHO_N "(cached) $ECHO_C" >&6
71488 else
71490 if test x$gcc_no_link = xyes; then
71491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71493 { (exit 1); exit 1; }; }
71495 cat >conftest.$ac_ext <<_ACEOF
71496 /* confdefs.h. */
71497 _ACEOF
71498 cat confdefs.h >>conftest.$ac_ext
71499 cat >>conftest.$ac_ext <<_ACEOF
71500 /* end confdefs.h. */
71501 #include <math.h>
71503 main ()
71505 __builtin_sqrt(0);
71507 return 0;
71509 _ACEOF
71510 rm -f conftest.$ac_objext conftest$ac_exeext
71511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71512 (eval $ac_link) 2>conftest.er1
71513 ac_status=$?
71514 grep -v '^ *+' conftest.er1 >conftest.err
71515 rm -f conftest.er1
71516 cat conftest.err >&5
71517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71518 (exit $ac_status); } &&
71519 { ac_try='test -z "$ac_c_werror_flag"
71520 || test ! -s conftest.err'
71521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71522 (eval $ac_try) 2>&5
71523 ac_status=$?
71524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71525 (exit $ac_status); }; } &&
71526 { ac_try='test -s conftest$ac_exeext'
71527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71528 (eval $ac_try) 2>&5
71529 ac_status=$?
71530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71531 (exit $ac_status); }; }; then
71532 glibcxx_cv_func___builtin_sqrt_link=yes
71533 else
71534 echo "$as_me: failed program was:" >&5
71535 sed 's/^/| /' conftest.$ac_ext >&5
71537 glibcxx_cv_func___builtin_sqrt_link=no
71539 rm -f conftest.err conftest.$ac_objext \
71540 conftest$ac_exeext conftest.$ac_ext
71545 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71546 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71547 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71548 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71550 cat >>confdefs.h <<_ACEOF
71551 #define ${ac_tr_func} 1
71552 _ACEOF
71558 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71559 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71560 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71561 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71562 echo $ECHO_N "(cached) $ECHO_C" >&6
71563 else
71567 ac_ext=cc
71568 ac_cpp='$CXXCPP $CPPFLAGS'
71569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71573 cat >conftest.$ac_ext <<_ACEOF
71574 /* confdefs.h. */
71575 _ACEOF
71576 cat confdefs.h >>conftest.$ac_ext
71577 cat >>conftest.$ac_ext <<_ACEOF
71578 /* end confdefs.h. */
71579 #include <math.h>
71581 main ()
71583 __builtin_sqrtl(0);
71585 return 0;
71587 _ACEOF
71588 rm -f conftest.$ac_objext
71589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71590 (eval $ac_compile) 2>conftest.er1
71591 ac_status=$?
71592 grep -v '^ *+' conftest.er1 >conftest.err
71593 rm -f conftest.er1
71594 cat conftest.err >&5
71595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71596 (exit $ac_status); } &&
71597 { ac_try='test -z "$ac_cxx_werror_flag"
71598 || test ! -s conftest.err'
71599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71600 (eval $ac_try) 2>&5
71601 ac_status=$?
71602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71603 (exit $ac_status); }; } &&
71604 { ac_try='test -s conftest.$ac_objext'
71605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71606 (eval $ac_try) 2>&5
71607 ac_status=$?
71608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71609 (exit $ac_status); }; }; then
71610 glibcxx_cv_func___builtin_sqrtl_use=yes
71611 else
71612 echo "$as_me: failed program was:" >&5
71613 sed 's/^/| /' conftest.$ac_ext >&5
71615 glibcxx_cv_func___builtin_sqrtl_use=no
71617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71618 ac_ext=c
71619 ac_cpp='$CPP $CPPFLAGS'
71620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71628 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71629 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71630 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71631 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71632 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71633 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71634 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71635 echo $ECHO_N "(cached) $ECHO_C" >&6
71636 else
71638 if test x$gcc_no_link = xyes; then
71639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71641 { (exit 1); exit 1; }; }
71643 cat >conftest.$ac_ext <<_ACEOF
71644 /* confdefs.h. */
71645 _ACEOF
71646 cat confdefs.h >>conftest.$ac_ext
71647 cat >>conftest.$ac_ext <<_ACEOF
71648 /* end confdefs.h. */
71649 #include <math.h>
71651 main ()
71653 __builtin_sqrtl(0);
71655 return 0;
71657 _ACEOF
71658 rm -f conftest.$ac_objext conftest$ac_exeext
71659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71660 (eval $ac_link) 2>conftest.er1
71661 ac_status=$?
71662 grep -v '^ *+' conftest.er1 >conftest.err
71663 rm -f conftest.er1
71664 cat conftest.err >&5
71665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71666 (exit $ac_status); } &&
71667 { ac_try='test -z "$ac_c_werror_flag"
71668 || test ! -s conftest.err'
71669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71670 (eval $ac_try) 2>&5
71671 ac_status=$?
71672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71673 (exit $ac_status); }; } &&
71674 { ac_try='test -s conftest$ac_exeext'
71675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71676 (eval $ac_try) 2>&5
71677 ac_status=$?
71678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71679 (exit $ac_status); }; }; then
71680 glibcxx_cv_func___builtin_sqrtl_link=yes
71681 else
71682 echo "$as_me: failed program was:" >&5
71683 sed 's/^/| /' conftest.$ac_ext >&5
71685 glibcxx_cv_func___builtin_sqrtl_link=no
71687 rm -f conftest.err conftest.$ac_objext \
71688 conftest$ac_exeext conftest.$ac_ext
71693 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71694 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71695 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71696 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71698 cat >>confdefs.h <<_ACEOF
71699 #define ${ac_tr_func} 1
71700 _ACEOF
71707 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71708 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71709 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71710 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71711 echo $ECHO_N "(cached) $ECHO_C" >&6
71712 else
71716 ac_ext=cc
71717 ac_cpp='$CXXCPP $CPPFLAGS'
71718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71722 cat >conftest.$ac_ext <<_ACEOF
71723 /* confdefs.h. */
71724 _ACEOF
71725 cat confdefs.h >>conftest.$ac_ext
71726 cat >>conftest.$ac_ext <<_ACEOF
71727 /* end confdefs.h. */
71728 #include <math.h>
71730 main ()
71732 __builtin_sinf(0);
71734 return 0;
71736 _ACEOF
71737 rm -f conftest.$ac_objext
71738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71739 (eval $ac_compile) 2>conftest.er1
71740 ac_status=$?
71741 grep -v '^ *+' conftest.er1 >conftest.err
71742 rm -f conftest.er1
71743 cat conftest.err >&5
71744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71745 (exit $ac_status); } &&
71746 { ac_try='test -z "$ac_cxx_werror_flag"
71747 || test ! -s conftest.err'
71748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71749 (eval $ac_try) 2>&5
71750 ac_status=$?
71751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71752 (exit $ac_status); }; } &&
71753 { ac_try='test -s conftest.$ac_objext'
71754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71755 (eval $ac_try) 2>&5
71756 ac_status=$?
71757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71758 (exit $ac_status); }; }; then
71759 glibcxx_cv_func___builtin_sinf_use=yes
71760 else
71761 echo "$as_me: failed program was:" >&5
71762 sed 's/^/| /' conftest.$ac_ext >&5
71764 glibcxx_cv_func___builtin_sinf_use=no
71766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71767 ac_ext=c
71768 ac_cpp='$CPP $CPPFLAGS'
71769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71777 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71778 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71779 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71780 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71781 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71782 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71783 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71784 echo $ECHO_N "(cached) $ECHO_C" >&6
71785 else
71787 if test x$gcc_no_link = xyes; then
71788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71790 { (exit 1); exit 1; }; }
71792 cat >conftest.$ac_ext <<_ACEOF
71793 /* confdefs.h. */
71794 _ACEOF
71795 cat confdefs.h >>conftest.$ac_ext
71796 cat >>conftest.$ac_ext <<_ACEOF
71797 /* end confdefs.h. */
71798 #include <math.h>
71800 main ()
71802 __builtin_sinf(0);
71804 return 0;
71806 _ACEOF
71807 rm -f conftest.$ac_objext conftest$ac_exeext
71808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71809 (eval $ac_link) 2>conftest.er1
71810 ac_status=$?
71811 grep -v '^ *+' conftest.er1 >conftest.err
71812 rm -f conftest.er1
71813 cat conftest.err >&5
71814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71815 (exit $ac_status); } &&
71816 { ac_try='test -z "$ac_c_werror_flag"
71817 || test ! -s conftest.err'
71818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71819 (eval $ac_try) 2>&5
71820 ac_status=$?
71821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71822 (exit $ac_status); }; } &&
71823 { ac_try='test -s conftest$ac_exeext'
71824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71825 (eval $ac_try) 2>&5
71826 ac_status=$?
71827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71828 (exit $ac_status); }; }; then
71829 glibcxx_cv_func___builtin_sinf_link=yes
71830 else
71831 echo "$as_me: failed program was:" >&5
71832 sed 's/^/| /' conftest.$ac_ext >&5
71834 glibcxx_cv_func___builtin_sinf_link=no
71836 rm -f conftest.err conftest.$ac_objext \
71837 conftest$ac_exeext conftest.$ac_ext
71842 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71843 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71844 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71845 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71847 cat >>confdefs.h <<_ACEOF
71848 #define ${ac_tr_func} 1
71849 _ACEOF
71855 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71856 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71857 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71858 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71859 echo $ECHO_N "(cached) $ECHO_C" >&6
71860 else
71864 ac_ext=cc
71865 ac_cpp='$CXXCPP $CPPFLAGS'
71866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71870 cat >conftest.$ac_ext <<_ACEOF
71871 /* confdefs.h. */
71872 _ACEOF
71873 cat confdefs.h >>conftest.$ac_ext
71874 cat >>conftest.$ac_ext <<_ACEOF
71875 /* end confdefs.h. */
71876 #include <math.h>
71878 main ()
71880 __builtin_sin(0);
71882 return 0;
71884 _ACEOF
71885 rm -f conftest.$ac_objext
71886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71887 (eval $ac_compile) 2>conftest.er1
71888 ac_status=$?
71889 grep -v '^ *+' conftest.er1 >conftest.err
71890 rm -f conftest.er1
71891 cat conftest.err >&5
71892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71893 (exit $ac_status); } &&
71894 { ac_try='test -z "$ac_cxx_werror_flag"
71895 || test ! -s conftest.err'
71896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71897 (eval $ac_try) 2>&5
71898 ac_status=$?
71899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71900 (exit $ac_status); }; } &&
71901 { ac_try='test -s conftest.$ac_objext'
71902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71903 (eval $ac_try) 2>&5
71904 ac_status=$?
71905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71906 (exit $ac_status); }; }; then
71907 glibcxx_cv_func___builtin_sin_use=yes
71908 else
71909 echo "$as_me: failed program was:" >&5
71910 sed 's/^/| /' conftest.$ac_ext >&5
71912 glibcxx_cv_func___builtin_sin_use=no
71914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71915 ac_ext=c
71916 ac_cpp='$CPP $CPPFLAGS'
71917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71925 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71926 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71927 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71928 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71929 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71930 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71931 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71932 echo $ECHO_N "(cached) $ECHO_C" >&6
71933 else
71935 if test x$gcc_no_link = xyes; then
71936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71938 { (exit 1); exit 1; }; }
71940 cat >conftest.$ac_ext <<_ACEOF
71941 /* confdefs.h. */
71942 _ACEOF
71943 cat confdefs.h >>conftest.$ac_ext
71944 cat >>conftest.$ac_ext <<_ACEOF
71945 /* end confdefs.h. */
71946 #include <math.h>
71948 main ()
71950 __builtin_sin(0);
71952 return 0;
71954 _ACEOF
71955 rm -f conftest.$ac_objext conftest$ac_exeext
71956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71957 (eval $ac_link) 2>conftest.er1
71958 ac_status=$?
71959 grep -v '^ *+' conftest.er1 >conftest.err
71960 rm -f conftest.er1
71961 cat conftest.err >&5
71962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71963 (exit $ac_status); } &&
71964 { ac_try='test -z "$ac_c_werror_flag"
71965 || test ! -s conftest.err'
71966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71967 (eval $ac_try) 2>&5
71968 ac_status=$?
71969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71970 (exit $ac_status); }; } &&
71971 { ac_try='test -s conftest$ac_exeext'
71972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71973 (eval $ac_try) 2>&5
71974 ac_status=$?
71975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71976 (exit $ac_status); }; }; then
71977 glibcxx_cv_func___builtin_sin_link=yes
71978 else
71979 echo "$as_me: failed program was:" >&5
71980 sed 's/^/| /' conftest.$ac_ext >&5
71982 glibcxx_cv_func___builtin_sin_link=no
71984 rm -f conftest.err conftest.$ac_objext \
71985 conftest$ac_exeext conftest.$ac_ext
71990 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71991 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71992 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71993 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71995 cat >>confdefs.h <<_ACEOF
71996 #define ${ac_tr_func} 1
71997 _ACEOF
72003 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72004 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72005 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72006 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72007 echo $ECHO_N "(cached) $ECHO_C" >&6
72008 else
72012 ac_ext=cc
72013 ac_cpp='$CXXCPP $CPPFLAGS'
72014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72018 cat >conftest.$ac_ext <<_ACEOF
72019 /* confdefs.h. */
72020 _ACEOF
72021 cat confdefs.h >>conftest.$ac_ext
72022 cat >>conftest.$ac_ext <<_ACEOF
72023 /* end confdefs.h. */
72024 #include <math.h>
72026 main ()
72028 __builtin_sinl(0);
72030 return 0;
72032 _ACEOF
72033 rm -f conftest.$ac_objext
72034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72035 (eval $ac_compile) 2>conftest.er1
72036 ac_status=$?
72037 grep -v '^ *+' conftest.er1 >conftest.err
72038 rm -f conftest.er1
72039 cat conftest.err >&5
72040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72041 (exit $ac_status); } &&
72042 { ac_try='test -z "$ac_cxx_werror_flag"
72043 || test ! -s conftest.err'
72044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72045 (eval $ac_try) 2>&5
72046 ac_status=$?
72047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72048 (exit $ac_status); }; } &&
72049 { ac_try='test -s conftest.$ac_objext'
72050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72051 (eval $ac_try) 2>&5
72052 ac_status=$?
72053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72054 (exit $ac_status); }; }; then
72055 glibcxx_cv_func___builtin_sinl_use=yes
72056 else
72057 echo "$as_me: failed program was:" >&5
72058 sed 's/^/| /' conftest.$ac_ext >&5
72060 glibcxx_cv_func___builtin_sinl_use=no
72062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72063 ac_ext=c
72064 ac_cpp='$CPP $CPPFLAGS'
72065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72073 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72074 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72075 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72076 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72077 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72078 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72079 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72080 echo $ECHO_N "(cached) $ECHO_C" >&6
72081 else
72083 if test x$gcc_no_link = xyes; then
72084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72086 { (exit 1); exit 1; }; }
72088 cat >conftest.$ac_ext <<_ACEOF
72089 /* confdefs.h. */
72090 _ACEOF
72091 cat confdefs.h >>conftest.$ac_ext
72092 cat >>conftest.$ac_ext <<_ACEOF
72093 /* end confdefs.h. */
72094 #include <math.h>
72096 main ()
72098 __builtin_sinl(0);
72100 return 0;
72102 _ACEOF
72103 rm -f conftest.$ac_objext conftest$ac_exeext
72104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72105 (eval $ac_link) 2>conftest.er1
72106 ac_status=$?
72107 grep -v '^ *+' conftest.er1 >conftest.err
72108 rm -f conftest.er1
72109 cat conftest.err >&5
72110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72111 (exit $ac_status); } &&
72112 { ac_try='test -z "$ac_c_werror_flag"
72113 || test ! -s conftest.err'
72114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72115 (eval $ac_try) 2>&5
72116 ac_status=$?
72117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72118 (exit $ac_status); }; } &&
72119 { ac_try='test -s conftest$ac_exeext'
72120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72121 (eval $ac_try) 2>&5
72122 ac_status=$?
72123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72124 (exit $ac_status); }; }; then
72125 glibcxx_cv_func___builtin_sinl_link=yes
72126 else
72127 echo "$as_me: failed program was:" >&5
72128 sed 's/^/| /' conftest.$ac_ext >&5
72130 glibcxx_cv_func___builtin_sinl_link=no
72132 rm -f conftest.err conftest.$ac_objext \
72133 conftest$ac_exeext conftest.$ac_ext
72138 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72139 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72140 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72141 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72143 cat >>confdefs.h <<_ACEOF
72144 #define ${ac_tr_func} 1
72145 _ACEOF
72152 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72153 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72154 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72155 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72156 echo $ECHO_N "(cached) $ECHO_C" >&6
72157 else
72161 ac_ext=cc
72162 ac_cpp='$CXXCPP $CPPFLAGS'
72163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72167 cat >conftest.$ac_ext <<_ACEOF
72168 /* confdefs.h. */
72169 _ACEOF
72170 cat confdefs.h >>conftest.$ac_ext
72171 cat >>conftest.$ac_ext <<_ACEOF
72172 /* end confdefs.h. */
72173 #include <math.h>
72175 main ()
72177 __builtin_cosf(0);
72179 return 0;
72181 _ACEOF
72182 rm -f conftest.$ac_objext
72183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72184 (eval $ac_compile) 2>conftest.er1
72185 ac_status=$?
72186 grep -v '^ *+' conftest.er1 >conftest.err
72187 rm -f conftest.er1
72188 cat conftest.err >&5
72189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72190 (exit $ac_status); } &&
72191 { ac_try='test -z "$ac_cxx_werror_flag"
72192 || test ! -s conftest.err'
72193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72194 (eval $ac_try) 2>&5
72195 ac_status=$?
72196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72197 (exit $ac_status); }; } &&
72198 { ac_try='test -s conftest.$ac_objext'
72199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72200 (eval $ac_try) 2>&5
72201 ac_status=$?
72202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72203 (exit $ac_status); }; }; then
72204 glibcxx_cv_func___builtin_cosf_use=yes
72205 else
72206 echo "$as_me: failed program was:" >&5
72207 sed 's/^/| /' conftest.$ac_ext >&5
72209 glibcxx_cv_func___builtin_cosf_use=no
72211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72212 ac_ext=c
72213 ac_cpp='$CPP $CPPFLAGS'
72214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72222 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72223 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72224 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72225 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72226 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72227 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72228 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72229 echo $ECHO_N "(cached) $ECHO_C" >&6
72230 else
72232 if test x$gcc_no_link = xyes; then
72233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72235 { (exit 1); exit 1; }; }
72237 cat >conftest.$ac_ext <<_ACEOF
72238 /* confdefs.h. */
72239 _ACEOF
72240 cat confdefs.h >>conftest.$ac_ext
72241 cat >>conftest.$ac_ext <<_ACEOF
72242 /* end confdefs.h. */
72243 #include <math.h>
72245 main ()
72247 __builtin_cosf(0);
72249 return 0;
72251 _ACEOF
72252 rm -f conftest.$ac_objext conftest$ac_exeext
72253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72254 (eval $ac_link) 2>conftest.er1
72255 ac_status=$?
72256 grep -v '^ *+' conftest.er1 >conftest.err
72257 rm -f conftest.er1
72258 cat conftest.err >&5
72259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72260 (exit $ac_status); } &&
72261 { ac_try='test -z "$ac_c_werror_flag"
72262 || test ! -s conftest.err'
72263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72264 (eval $ac_try) 2>&5
72265 ac_status=$?
72266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72267 (exit $ac_status); }; } &&
72268 { ac_try='test -s conftest$ac_exeext'
72269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72270 (eval $ac_try) 2>&5
72271 ac_status=$?
72272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72273 (exit $ac_status); }; }; then
72274 glibcxx_cv_func___builtin_cosf_link=yes
72275 else
72276 echo "$as_me: failed program was:" >&5
72277 sed 's/^/| /' conftest.$ac_ext >&5
72279 glibcxx_cv_func___builtin_cosf_link=no
72281 rm -f conftest.err conftest.$ac_objext \
72282 conftest$ac_exeext conftest.$ac_ext
72287 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72288 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72289 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72290 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72292 cat >>confdefs.h <<_ACEOF
72293 #define ${ac_tr_func} 1
72294 _ACEOF
72300 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72301 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72302 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72303 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72304 echo $ECHO_N "(cached) $ECHO_C" >&6
72305 else
72309 ac_ext=cc
72310 ac_cpp='$CXXCPP $CPPFLAGS'
72311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72315 cat >conftest.$ac_ext <<_ACEOF
72316 /* confdefs.h. */
72317 _ACEOF
72318 cat confdefs.h >>conftest.$ac_ext
72319 cat >>conftest.$ac_ext <<_ACEOF
72320 /* end confdefs.h. */
72321 #include <math.h>
72323 main ()
72325 __builtin_cos(0);
72327 return 0;
72329 _ACEOF
72330 rm -f conftest.$ac_objext
72331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72332 (eval $ac_compile) 2>conftest.er1
72333 ac_status=$?
72334 grep -v '^ *+' conftest.er1 >conftest.err
72335 rm -f conftest.er1
72336 cat conftest.err >&5
72337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72338 (exit $ac_status); } &&
72339 { ac_try='test -z "$ac_cxx_werror_flag"
72340 || test ! -s conftest.err'
72341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72342 (eval $ac_try) 2>&5
72343 ac_status=$?
72344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72345 (exit $ac_status); }; } &&
72346 { ac_try='test -s conftest.$ac_objext'
72347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72348 (eval $ac_try) 2>&5
72349 ac_status=$?
72350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72351 (exit $ac_status); }; }; then
72352 glibcxx_cv_func___builtin_cos_use=yes
72353 else
72354 echo "$as_me: failed program was:" >&5
72355 sed 's/^/| /' conftest.$ac_ext >&5
72357 glibcxx_cv_func___builtin_cos_use=no
72359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72360 ac_ext=c
72361 ac_cpp='$CPP $CPPFLAGS'
72362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72370 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72371 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72372 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72373 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72374 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72375 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72376 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72377 echo $ECHO_N "(cached) $ECHO_C" >&6
72378 else
72380 if test x$gcc_no_link = xyes; then
72381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72383 { (exit 1); exit 1; }; }
72385 cat >conftest.$ac_ext <<_ACEOF
72386 /* confdefs.h. */
72387 _ACEOF
72388 cat confdefs.h >>conftest.$ac_ext
72389 cat >>conftest.$ac_ext <<_ACEOF
72390 /* end confdefs.h. */
72391 #include <math.h>
72393 main ()
72395 __builtin_cos(0);
72397 return 0;
72399 _ACEOF
72400 rm -f conftest.$ac_objext conftest$ac_exeext
72401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72402 (eval $ac_link) 2>conftest.er1
72403 ac_status=$?
72404 grep -v '^ *+' conftest.er1 >conftest.err
72405 rm -f conftest.er1
72406 cat conftest.err >&5
72407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72408 (exit $ac_status); } &&
72409 { ac_try='test -z "$ac_c_werror_flag"
72410 || test ! -s conftest.err'
72411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72412 (eval $ac_try) 2>&5
72413 ac_status=$?
72414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72415 (exit $ac_status); }; } &&
72416 { ac_try='test -s conftest$ac_exeext'
72417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72418 (eval $ac_try) 2>&5
72419 ac_status=$?
72420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72421 (exit $ac_status); }; }; then
72422 glibcxx_cv_func___builtin_cos_link=yes
72423 else
72424 echo "$as_me: failed program was:" >&5
72425 sed 's/^/| /' conftest.$ac_ext >&5
72427 glibcxx_cv_func___builtin_cos_link=no
72429 rm -f conftest.err conftest.$ac_objext \
72430 conftest$ac_exeext conftest.$ac_ext
72435 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72436 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72437 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72438 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72440 cat >>confdefs.h <<_ACEOF
72441 #define ${ac_tr_func} 1
72442 _ACEOF
72448 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72449 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72450 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72451 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72452 echo $ECHO_N "(cached) $ECHO_C" >&6
72453 else
72457 ac_ext=cc
72458 ac_cpp='$CXXCPP $CPPFLAGS'
72459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72463 cat >conftest.$ac_ext <<_ACEOF
72464 /* confdefs.h. */
72465 _ACEOF
72466 cat confdefs.h >>conftest.$ac_ext
72467 cat >>conftest.$ac_ext <<_ACEOF
72468 /* end confdefs.h. */
72469 #include <math.h>
72471 main ()
72473 __builtin_cosl(0);
72475 return 0;
72477 _ACEOF
72478 rm -f conftest.$ac_objext
72479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72480 (eval $ac_compile) 2>conftest.er1
72481 ac_status=$?
72482 grep -v '^ *+' conftest.er1 >conftest.err
72483 rm -f conftest.er1
72484 cat conftest.err >&5
72485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72486 (exit $ac_status); } &&
72487 { ac_try='test -z "$ac_cxx_werror_flag"
72488 || test ! -s conftest.err'
72489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72490 (eval $ac_try) 2>&5
72491 ac_status=$?
72492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72493 (exit $ac_status); }; } &&
72494 { ac_try='test -s conftest.$ac_objext'
72495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72496 (eval $ac_try) 2>&5
72497 ac_status=$?
72498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72499 (exit $ac_status); }; }; then
72500 glibcxx_cv_func___builtin_cosl_use=yes
72501 else
72502 echo "$as_me: failed program was:" >&5
72503 sed 's/^/| /' conftest.$ac_ext >&5
72505 glibcxx_cv_func___builtin_cosl_use=no
72507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72508 ac_ext=c
72509 ac_cpp='$CPP $CPPFLAGS'
72510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72518 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72519 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72520 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72521 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72522 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72523 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72524 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72525 echo $ECHO_N "(cached) $ECHO_C" >&6
72526 else
72528 if test x$gcc_no_link = xyes; then
72529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72531 { (exit 1); exit 1; }; }
72533 cat >conftest.$ac_ext <<_ACEOF
72534 /* confdefs.h. */
72535 _ACEOF
72536 cat confdefs.h >>conftest.$ac_ext
72537 cat >>conftest.$ac_ext <<_ACEOF
72538 /* end confdefs.h. */
72539 #include <math.h>
72541 main ()
72543 __builtin_cosl(0);
72545 return 0;
72547 _ACEOF
72548 rm -f conftest.$ac_objext conftest$ac_exeext
72549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72550 (eval $ac_link) 2>conftest.er1
72551 ac_status=$?
72552 grep -v '^ *+' conftest.er1 >conftest.err
72553 rm -f conftest.er1
72554 cat conftest.err >&5
72555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72556 (exit $ac_status); } &&
72557 { ac_try='test -z "$ac_c_werror_flag"
72558 || test ! -s conftest.err'
72559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72560 (eval $ac_try) 2>&5
72561 ac_status=$?
72562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72563 (exit $ac_status); }; } &&
72564 { ac_try='test -s conftest$ac_exeext'
72565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72566 (eval $ac_try) 2>&5
72567 ac_status=$?
72568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72569 (exit $ac_status); }; }; then
72570 glibcxx_cv_func___builtin_cosl_link=yes
72571 else
72572 echo "$as_me: failed program was:" >&5
72573 sed 's/^/| /' conftest.$ac_ext >&5
72575 glibcxx_cv_func___builtin_cosl_link=no
72577 rm -f conftest.err conftest.$ac_objext \
72578 conftest$ac_exeext conftest.$ac_ext
72583 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72584 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72585 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72586 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72588 cat >>confdefs.h <<_ACEOF
72589 #define ${ac_tr_func} 1
72590 _ACEOF
72598 echo "$as_me:$LINENO: checking for main in -lm" >&5
72599 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72600 if test "${ac_cv_lib_m_main+set}" = set; then
72601 echo $ECHO_N "(cached) $ECHO_C" >&6
72602 else
72603 ac_check_lib_save_LIBS=$LIBS
72604 LIBS="-lm $LIBS"
72605 if test x$gcc_no_link = xyes; then
72606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72608 { (exit 1); exit 1; }; }
72610 cat >conftest.$ac_ext <<_ACEOF
72611 /* confdefs.h. */
72612 _ACEOF
72613 cat confdefs.h >>conftest.$ac_ext
72614 cat >>conftest.$ac_ext <<_ACEOF
72615 /* end confdefs.h. */
72619 main ()
72621 main ();
72623 return 0;
72625 _ACEOF
72626 rm -f conftest.$ac_objext conftest$ac_exeext
72627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72628 (eval $ac_link) 2>conftest.er1
72629 ac_status=$?
72630 grep -v '^ *+' conftest.er1 >conftest.err
72631 rm -f conftest.er1
72632 cat conftest.err >&5
72633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72634 (exit $ac_status); } &&
72635 { ac_try='test -z "$ac_c_werror_flag"
72636 || test ! -s conftest.err'
72637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72638 (eval $ac_try) 2>&5
72639 ac_status=$?
72640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72641 (exit $ac_status); }; } &&
72642 { ac_try='test -s conftest$ac_exeext'
72643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72644 (eval $ac_try) 2>&5
72645 ac_status=$?
72646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72647 (exit $ac_status); }; }; then
72648 ac_cv_lib_m_main=yes
72649 else
72650 echo "$as_me: failed program was:" >&5
72651 sed 's/^/| /' conftest.$ac_ext >&5
72653 ac_cv_lib_m_main=no
72655 rm -f conftest.err conftest.$ac_objext \
72656 conftest$ac_exeext conftest.$ac_ext
72657 LIBS=$ac_check_lib_save_LIBS
72659 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72660 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72661 if test $ac_cv_lib_m_main = yes; then
72662 cat >>confdefs.h <<_ACEOF
72663 #define HAVE_LIBM 1
72664 _ACEOF
72666 LIBS="-lm $LIBS"
72671 for ac_func in copysignf
72673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72674 echo "$as_me:$LINENO: checking for $ac_func" >&5
72675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72676 if eval "test \"\${$as_ac_var+set}\" = set"; then
72677 echo $ECHO_N "(cached) $ECHO_C" >&6
72678 else
72679 if test x$gcc_no_link = xyes; then
72680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72682 { (exit 1); exit 1; }; }
72684 cat >conftest.$ac_ext <<_ACEOF
72685 /* confdefs.h. */
72686 _ACEOF
72687 cat confdefs.h >>conftest.$ac_ext
72688 cat >>conftest.$ac_ext <<_ACEOF
72689 /* end confdefs.h. */
72690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72692 #define $ac_func innocuous_$ac_func
72694 /* System header to define __stub macros and hopefully few prototypes,
72695 which can conflict with char $ac_func (); below.
72696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72697 <limits.h> exists even on freestanding compilers. */
72699 #ifdef __STDC__
72700 # include <limits.h>
72701 #else
72702 # include <assert.h>
72703 #endif
72705 #undef $ac_func
72707 /* Override any gcc2 internal prototype to avoid an error. */
72708 #ifdef __cplusplus
72709 extern "C"
72711 #endif
72712 /* We use char because int might match the return type of a gcc2
72713 builtin and then its argument prototype would still apply. */
72714 char $ac_func ();
72715 /* The GNU C library defines this for functions which it implements
72716 to always fail with ENOSYS. Some functions are actually named
72717 something starting with __ and the normal name is an alias. */
72718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72719 choke me
72720 #else
72721 char (*f) () = $ac_func;
72722 #endif
72723 #ifdef __cplusplus
72725 #endif
72728 main ()
72730 return f != $ac_func;
72732 return 0;
72734 _ACEOF
72735 rm -f conftest.$ac_objext conftest$ac_exeext
72736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72737 (eval $ac_link) 2>conftest.er1
72738 ac_status=$?
72739 grep -v '^ *+' conftest.er1 >conftest.err
72740 rm -f conftest.er1
72741 cat conftest.err >&5
72742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72743 (exit $ac_status); } &&
72744 { ac_try='test -z "$ac_c_werror_flag"
72745 || test ! -s conftest.err'
72746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72747 (eval $ac_try) 2>&5
72748 ac_status=$?
72749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72750 (exit $ac_status); }; } &&
72751 { ac_try='test -s conftest$ac_exeext'
72752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72753 (eval $ac_try) 2>&5
72754 ac_status=$?
72755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72756 (exit $ac_status); }; }; then
72757 eval "$as_ac_var=yes"
72758 else
72759 echo "$as_me: failed program was:" >&5
72760 sed 's/^/| /' conftest.$ac_ext >&5
72762 eval "$as_ac_var=no"
72764 rm -f conftest.err conftest.$ac_objext \
72765 conftest$ac_exeext conftest.$ac_ext
72767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72769 if test `eval echo '${'$as_ac_var'}'` = yes; then
72770 cat >>confdefs.h <<_ACEOF
72771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72772 _ACEOF
72774 else
72775 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72777 done
72781 for ac_func in __signbit
72783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72784 echo "$as_me:$LINENO: checking for $ac_func" >&5
72785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72786 if eval "test \"\${$as_ac_var+set}\" = set"; then
72787 echo $ECHO_N "(cached) $ECHO_C" >&6
72788 else
72789 if test x$gcc_no_link = xyes; then
72790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72792 { (exit 1); exit 1; }; }
72794 cat >conftest.$ac_ext <<_ACEOF
72795 /* confdefs.h. */
72796 _ACEOF
72797 cat confdefs.h >>conftest.$ac_ext
72798 cat >>conftest.$ac_ext <<_ACEOF
72799 /* end confdefs.h. */
72800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72802 #define $ac_func innocuous_$ac_func
72804 /* System header to define __stub macros and hopefully few prototypes,
72805 which can conflict with char $ac_func (); below.
72806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72807 <limits.h> exists even on freestanding compilers. */
72809 #ifdef __STDC__
72810 # include <limits.h>
72811 #else
72812 # include <assert.h>
72813 #endif
72815 #undef $ac_func
72817 /* Override any gcc2 internal prototype to avoid an error. */
72818 #ifdef __cplusplus
72819 extern "C"
72821 #endif
72822 /* We use char because int might match the return type of a gcc2
72823 builtin and then its argument prototype would still apply. */
72824 char $ac_func ();
72825 /* The GNU C library defines this for functions which it implements
72826 to always fail with ENOSYS. Some functions are actually named
72827 something starting with __ and the normal name is an alias. */
72828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72829 choke me
72830 #else
72831 char (*f) () = $ac_func;
72832 #endif
72833 #ifdef __cplusplus
72835 #endif
72838 main ()
72840 return f != $ac_func;
72842 return 0;
72844 _ACEOF
72845 rm -f conftest.$ac_objext conftest$ac_exeext
72846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72847 (eval $ac_link) 2>conftest.er1
72848 ac_status=$?
72849 grep -v '^ *+' conftest.er1 >conftest.err
72850 rm -f conftest.er1
72851 cat conftest.err >&5
72852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72853 (exit $ac_status); } &&
72854 { ac_try='test -z "$ac_c_werror_flag"
72855 || test ! -s conftest.err'
72856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72857 (eval $ac_try) 2>&5
72858 ac_status=$?
72859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72860 (exit $ac_status); }; } &&
72861 { ac_try='test -s conftest$ac_exeext'
72862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72863 (eval $ac_try) 2>&5
72864 ac_status=$?
72865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72866 (exit $ac_status); }; }; then
72867 eval "$as_ac_var=yes"
72868 else
72869 echo "$as_me: failed program was:" >&5
72870 sed 's/^/| /' conftest.$ac_ext >&5
72872 eval "$as_ac_var=no"
72874 rm -f conftest.err conftest.$ac_objext \
72875 conftest$ac_exeext conftest.$ac_ext
72877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72879 if test `eval echo '${'$as_ac_var'}'` = yes; then
72880 cat >>confdefs.h <<_ACEOF
72881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72882 _ACEOF
72884 else
72885 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72887 done
72891 for ac_func in __signbitf
72893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72894 echo "$as_me:$LINENO: checking for $ac_func" >&5
72895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72896 if eval "test \"\${$as_ac_var+set}\" = set"; then
72897 echo $ECHO_N "(cached) $ECHO_C" >&6
72898 else
72899 if test x$gcc_no_link = xyes; then
72900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72902 { (exit 1); exit 1; }; }
72904 cat >conftest.$ac_ext <<_ACEOF
72905 /* confdefs.h. */
72906 _ACEOF
72907 cat confdefs.h >>conftest.$ac_ext
72908 cat >>conftest.$ac_ext <<_ACEOF
72909 /* end confdefs.h. */
72910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72912 #define $ac_func innocuous_$ac_func
72914 /* System header to define __stub macros and hopefully few prototypes,
72915 which can conflict with char $ac_func (); below.
72916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72917 <limits.h> exists even on freestanding compilers. */
72919 #ifdef __STDC__
72920 # include <limits.h>
72921 #else
72922 # include <assert.h>
72923 #endif
72925 #undef $ac_func
72927 /* Override any gcc2 internal prototype to avoid an error. */
72928 #ifdef __cplusplus
72929 extern "C"
72931 #endif
72932 /* We use char because int might match the return type of a gcc2
72933 builtin and then its argument prototype would still apply. */
72934 char $ac_func ();
72935 /* The GNU C library defines this for functions which it implements
72936 to always fail with ENOSYS. Some functions are actually named
72937 something starting with __ and the normal name is an alias. */
72938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72939 choke me
72940 #else
72941 char (*f) () = $ac_func;
72942 #endif
72943 #ifdef __cplusplus
72945 #endif
72948 main ()
72950 return f != $ac_func;
72952 return 0;
72954 _ACEOF
72955 rm -f conftest.$ac_objext conftest$ac_exeext
72956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72957 (eval $ac_link) 2>conftest.er1
72958 ac_status=$?
72959 grep -v '^ *+' conftest.er1 >conftest.err
72960 rm -f conftest.er1
72961 cat conftest.err >&5
72962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72963 (exit $ac_status); } &&
72964 { ac_try='test -z "$ac_c_werror_flag"
72965 || test ! -s conftest.err'
72966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72967 (eval $ac_try) 2>&5
72968 ac_status=$?
72969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72970 (exit $ac_status); }; } &&
72971 { ac_try='test -s conftest$ac_exeext'
72972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72973 (eval $ac_try) 2>&5
72974 ac_status=$?
72975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72976 (exit $ac_status); }; }; then
72977 eval "$as_ac_var=yes"
72978 else
72979 echo "$as_me: failed program was:" >&5
72980 sed 's/^/| /' conftest.$ac_ext >&5
72982 eval "$as_ac_var=no"
72984 rm -f conftest.err conftest.$ac_objext \
72985 conftest$ac_exeext conftest.$ac_ext
72987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72989 if test `eval echo '${'$as_ac_var'}'` = yes; then
72990 cat >>confdefs.h <<_ACEOF
72991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72992 _ACEOF
72994 else
72995 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72997 done
73000 if test x$ac_cv_func_copysignl = x"yes"; then
73002 for ac_func in __signbitl
73004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73005 echo "$as_me:$LINENO: checking for $ac_func" >&5
73006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73007 if eval "test \"\${$as_ac_var+set}\" = set"; then
73008 echo $ECHO_N "(cached) $ECHO_C" >&6
73009 else
73010 if test x$gcc_no_link = xyes; then
73011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73013 { (exit 1); exit 1; }; }
73015 cat >conftest.$ac_ext <<_ACEOF
73016 /* confdefs.h. */
73017 _ACEOF
73018 cat confdefs.h >>conftest.$ac_ext
73019 cat >>conftest.$ac_ext <<_ACEOF
73020 /* end confdefs.h. */
73021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73023 #define $ac_func innocuous_$ac_func
73025 /* System header to define __stub macros and hopefully few prototypes,
73026 which can conflict with char $ac_func (); below.
73027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73028 <limits.h> exists even on freestanding compilers. */
73030 #ifdef __STDC__
73031 # include <limits.h>
73032 #else
73033 # include <assert.h>
73034 #endif
73036 #undef $ac_func
73038 /* Override any gcc2 internal prototype to avoid an error. */
73039 #ifdef __cplusplus
73040 extern "C"
73042 #endif
73043 /* We use char because int might match the return type of a gcc2
73044 builtin and then its argument prototype would still apply. */
73045 char $ac_func ();
73046 /* The GNU C library defines this for functions which it implements
73047 to always fail with ENOSYS. Some functions are actually named
73048 something starting with __ and the normal name is an alias. */
73049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73050 choke me
73051 #else
73052 char (*f) () = $ac_func;
73053 #endif
73054 #ifdef __cplusplus
73056 #endif
73059 main ()
73061 return f != $ac_func;
73063 return 0;
73065 _ACEOF
73066 rm -f conftest.$ac_objext conftest$ac_exeext
73067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73068 (eval $ac_link) 2>conftest.er1
73069 ac_status=$?
73070 grep -v '^ *+' conftest.er1 >conftest.err
73071 rm -f conftest.er1
73072 cat conftest.err >&5
73073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73074 (exit $ac_status); } &&
73075 { ac_try='test -z "$ac_c_werror_flag"
73076 || test ! -s conftest.err'
73077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73078 (eval $ac_try) 2>&5
73079 ac_status=$?
73080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73081 (exit $ac_status); }; } &&
73082 { ac_try='test -s conftest$ac_exeext'
73083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73084 (eval $ac_try) 2>&5
73085 ac_status=$?
73086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73087 (exit $ac_status); }; }; then
73088 eval "$as_ac_var=yes"
73089 else
73090 echo "$as_me: failed program was:" >&5
73091 sed 's/^/| /' conftest.$ac_ext >&5
73093 eval "$as_ac_var=no"
73095 rm -f conftest.err conftest.$ac_objext \
73096 conftest$ac_exeext conftest.$ac_ext
73098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73100 if test `eval echo '${'$as_ac_var'}'` = yes; then
73101 cat >>confdefs.h <<_ACEOF
73102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73103 _ACEOF
73105 else
73106 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73108 done
73112 # Used in libmath/Makefile.am.
73113 if test -n "$LIBMATHOBJS"; then
73114 need_libmath=yes
73119 # Test wchar.h for mbstate_t, which is needed for char_traits and
73120 # others even if wchar_t support is not on.
73121 echo "$as_me:$LINENO: checking for mbstate_t" >&5
73122 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
73123 cat >conftest.$ac_ext <<_ACEOF
73124 /* confdefs.h. */
73125 _ACEOF
73126 cat confdefs.h >>conftest.$ac_ext
73127 cat >>conftest.$ac_ext <<_ACEOF
73128 /* end confdefs.h. */
73129 #include <wchar.h>
73131 main ()
73133 mbstate_t teststate;
73135 return 0;
73137 _ACEOF
73138 rm -f conftest.$ac_objext
73139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73140 (eval $ac_compile) 2>conftest.er1
73141 ac_status=$?
73142 grep -v '^ *+' conftest.er1 >conftest.err
73143 rm -f conftest.er1
73144 cat conftest.err >&5
73145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73146 (exit $ac_status); } &&
73147 { ac_try='test -z "$ac_c_werror_flag"
73148 || test ! -s conftest.err'
73149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73150 (eval $ac_try) 2>&5
73151 ac_status=$?
73152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73153 (exit $ac_status); }; } &&
73154 { ac_try='test -s conftest.$ac_objext'
73155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73156 (eval $ac_try) 2>&5
73157 ac_status=$?
73158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73159 (exit $ac_status); }; }; then
73160 have_mbstate_t=yes
73161 else
73162 echo "$as_me: failed program was:" >&5
73163 sed 's/^/| /' conftest.$ac_ext >&5
73165 have_mbstate_t=no
73167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73168 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
73169 echo "${ECHO_T}$have_mbstate_t" >&6
73170 if test x"$have_mbstate_t" = xyes; then
73171 cat >>confdefs.h <<\_ACEOF
73172 #define HAVE_MBSTATE_T 1
73173 _ACEOF
73177 # Sanity check for existence of ISO C99 headers for extended encoding.
73179 for ac_header in wchar.h
73181 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73183 echo "$as_me:$LINENO: checking for $ac_header" >&5
73184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73186 echo $ECHO_N "(cached) $ECHO_C" >&6
73188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73190 else
73191 # Is the header compilable?
73192 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73194 cat >conftest.$ac_ext <<_ACEOF
73195 /* confdefs.h. */
73196 _ACEOF
73197 cat confdefs.h >>conftest.$ac_ext
73198 cat >>conftest.$ac_ext <<_ACEOF
73199 /* end confdefs.h. */
73200 $ac_includes_default
73201 #include <$ac_header>
73202 _ACEOF
73203 rm -f conftest.$ac_objext
73204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73205 (eval $ac_compile) 2>conftest.er1
73206 ac_status=$?
73207 grep -v '^ *+' conftest.er1 >conftest.err
73208 rm -f conftest.er1
73209 cat conftest.err >&5
73210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73211 (exit $ac_status); } &&
73212 { ac_try='test -z "$ac_c_werror_flag"
73213 || test ! -s conftest.err'
73214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73215 (eval $ac_try) 2>&5
73216 ac_status=$?
73217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73218 (exit $ac_status); }; } &&
73219 { ac_try='test -s conftest.$ac_objext'
73220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73221 (eval $ac_try) 2>&5
73222 ac_status=$?
73223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73224 (exit $ac_status); }; }; then
73225 ac_header_compiler=yes
73226 else
73227 echo "$as_me: failed program was:" >&5
73228 sed 's/^/| /' conftest.$ac_ext >&5
73230 ac_header_compiler=no
73232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73234 echo "${ECHO_T}$ac_header_compiler" >&6
73236 # Is the header present?
73237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73239 cat >conftest.$ac_ext <<_ACEOF
73240 /* confdefs.h. */
73241 _ACEOF
73242 cat confdefs.h >>conftest.$ac_ext
73243 cat >>conftest.$ac_ext <<_ACEOF
73244 /* end confdefs.h. */
73245 #include <$ac_header>
73246 _ACEOF
73247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73249 ac_status=$?
73250 grep -v '^ *+' conftest.er1 >conftest.err
73251 rm -f conftest.er1
73252 cat conftest.err >&5
73253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73254 (exit $ac_status); } >/dev/null; then
73255 if test -s conftest.err; then
73256 ac_cpp_err=$ac_c_preproc_warn_flag
73257 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73258 else
73259 ac_cpp_err=
73261 else
73262 ac_cpp_err=yes
73264 if test -z "$ac_cpp_err"; then
73265 ac_header_preproc=yes
73266 else
73267 echo "$as_me: failed program was:" >&5
73268 sed 's/^/| /' conftest.$ac_ext >&5
73270 ac_header_preproc=no
73272 rm -f conftest.err conftest.$ac_ext
73273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73274 echo "${ECHO_T}$ac_header_preproc" >&6
73276 # So? What about this header?
73277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73278 yes:no: )
73279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73282 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73283 ac_header_preproc=yes
73285 no:yes:* )
73286 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73287 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73288 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73289 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73290 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73291 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73292 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73293 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73296 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73297 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73299 cat <<\_ASBOX
73300 ## ----------------------------------------- ##
73301 ## Report this to the package-unused lists. ##
73302 ## ----------------------------------------- ##
73303 _ASBOX
73305 sed "s/^/$as_me: WARNING: /" >&2
73307 esac
73308 echo "$as_me:$LINENO: checking for $ac_header" >&5
73309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73311 echo $ECHO_N "(cached) $ECHO_C" >&6
73312 else
73313 eval "$as_ac_Header=\$ac_header_preproc"
73315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73320 cat >>confdefs.h <<_ACEOF
73321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73322 _ACEOF
73323 ac_has_wchar_h=yes
73324 else
73325 ac_has_wchar_h=no
73328 done
73331 for ac_header in wctype.h
73333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73335 echo "$as_me:$LINENO: checking for $ac_header" >&5
73336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73338 echo $ECHO_N "(cached) $ECHO_C" >&6
73340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73342 else
73343 # Is the header compilable?
73344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73346 cat >conftest.$ac_ext <<_ACEOF
73347 /* confdefs.h. */
73348 _ACEOF
73349 cat confdefs.h >>conftest.$ac_ext
73350 cat >>conftest.$ac_ext <<_ACEOF
73351 /* end confdefs.h. */
73352 $ac_includes_default
73353 #include <$ac_header>
73354 _ACEOF
73355 rm -f conftest.$ac_objext
73356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73357 (eval $ac_compile) 2>conftest.er1
73358 ac_status=$?
73359 grep -v '^ *+' conftest.er1 >conftest.err
73360 rm -f conftest.er1
73361 cat conftest.err >&5
73362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73363 (exit $ac_status); } &&
73364 { ac_try='test -z "$ac_c_werror_flag"
73365 || test ! -s conftest.err'
73366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73367 (eval $ac_try) 2>&5
73368 ac_status=$?
73369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73370 (exit $ac_status); }; } &&
73371 { ac_try='test -s conftest.$ac_objext'
73372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73373 (eval $ac_try) 2>&5
73374 ac_status=$?
73375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73376 (exit $ac_status); }; }; then
73377 ac_header_compiler=yes
73378 else
73379 echo "$as_me: failed program was:" >&5
73380 sed 's/^/| /' conftest.$ac_ext >&5
73382 ac_header_compiler=no
73384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73386 echo "${ECHO_T}$ac_header_compiler" >&6
73388 # Is the header present?
73389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73391 cat >conftest.$ac_ext <<_ACEOF
73392 /* confdefs.h. */
73393 _ACEOF
73394 cat confdefs.h >>conftest.$ac_ext
73395 cat >>conftest.$ac_ext <<_ACEOF
73396 /* end confdefs.h. */
73397 #include <$ac_header>
73398 _ACEOF
73399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73401 ac_status=$?
73402 grep -v '^ *+' conftest.er1 >conftest.err
73403 rm -f conftest.er1
73404 cat conftest.err >&5
73405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73406 (exit $ac_status); } >/dev/null; then
73407 if test -s conftest.err; then
73408 ac_cpp_err=$ac_c_preproc_warn_flag
73409 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73410 else
73411 ac_cpp_err=
73413 else
73414 ac_cpp_err=yes
73416 if test -z "$ac_cpp_err"; then
73417 ac_header_preproc=yes
73418 else
73419 echo "$as_me: failed program was:" >&5
73420 sed 's/^/| /' conftest.$ac_ext >&5
73422 ac_header_preproc=no
73424 rm -f conftest.err conftest.$ac_ext
73425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73426 echo "${ECHO_T}$ac_header_preproc" >&6
73428 # So? What about this header?
73429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73430 yes:no: )
73431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73435 ac_header_preproc=yes
73437 no:yes:* )
73438 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73440 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73441 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73442 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73444 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73445 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73448 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73451 cat <<\_ASBOX
73452 ## ----------------------------------------- ##
73453 ## Report this to the package-unused lists. ##
73454 ## ----------------------------------------- ##
73455 _ASBOX
73457 sed "s/^/$as_me: WARNING: /" >&2
73459 esac
73460 echo "$as_me:$LINENO: checking for $ac_header" >&5
73461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73463 echo $ECHO_N "(cached) $ECHO_C" >&6
73464 else
73465 eval "$as_ac_Header=\$ac_header_preproc"
73467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73472 cat >>confdefs.h <<_ACEOF
73473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73474 _ACEOF
73475 ac_has_wctype_h=yes
73476 else
73477 ac_has_wctype_h=no
73480 done
73483 # Only continue checking if the ISO C99 headers exist and support is on.
73484 if test x"$ac_has_wchar_h" = xyes &&
73485 test x"$ac_has_wctype_h" = xyes &&
73486 test x"$enable_c_mbchar" != xno; then
73488 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73489 # numeric_limits can instantiate type_traits<wchar_t>
73490 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73491 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73492 cat >conftest.$ac_ext <<_ACEOF
73493 /* confdefs.h. */
73494 _ACEOF
73495 cat confdefs.h >>conftest.$ac_ext
73496 cat >>conftest.$ac_ext <<_ACEOF
73497 /* end confdefs.h. */
73498 #include <wchar.h>
73500 main ()
73502 int i = WCHAR_MIN; int j = WCHAR_MAX;
73504 return 0;
73506 _ACEOF
73507 rm -f conftest.$ac_objext
73508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73509 (eval $ac_compile) 2>conftest.er1
73510 ac_status=$?
73511 grep -v '^ *+' conftest.er1 >conftest.err
73512 rm -f conftest.er1
73513 cat conftest.err >&5
73514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73515 (exit $ac_status); } &&
73516 { ac_try='test -z "$ac_c_werror_flag"
73517 || test ! -s conftest.err'
73518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73519 (eval $ac_try) 2>&5
73520 ac_status=$?
73521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73522 (exit $ac_status); }; } &&
73523 { ac_try='test -s conftest.$ac_objext'
73524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73525 (eval $ac_try) 2>&5
73526 ac_status=$?
73527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73528 (exit $ac_status); }; }; then
73529 has_wchar_minmax=yes
73530 else
73531 echo "$as_me: failed program was:" >&5
73532 sed 's/^/| /' conftest.$ac_ext >&5
73534 has_wchar_minmax=no
73536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73537 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73538 echo "${ECHO_T}$has_wchar_minmax" >&6
73540 # Test wchar.h for WEOF, which is what we use to determine whether
73541 # to specialize for char_traits<wchar_t> or not.
73542 echo "$as_me:$LINENO: checking for WEOF" >&5
73543 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73544 cat >conftest.$ac_ext <<_ACEOF
73545 /* confdefs.h. */
73546 _ACEOF
73547 cat confdefs.h >>conftest.$ac_ext
73548 cat >>conftest.$ac_ext <<_ACEOF
73549 /* end confdefs.h. */
73551 #include <wchar.h>
73552 #include <stddef.h>
73554 main ()
73556 wint_t i = WEOF;
73558 return 0;
73560 _ACEOF
73561 rm -f conftest.$ac_objext
73562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73563 (eval $ac_compile) 2>conftest.er1
73564 ac_status=$?
73565 grep -v '^ *+' conftest.er1 >conftest.err
73566 rm -f conftest.er1
73567 cat conftest.err >&5
73568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73569 (exit $ac_status); } &&
73570 { ac_try='test -z "$ac_c_werror_flag"
73571 || test ! -s conftest.err'
73572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73573 (eval $ac_try) 2>&5
73574 ac_status=$?
73575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73576 (exit $ac_status); }; } &&
73577 { ac_try='test -s conftest.$ac_objext'
73578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73579 (eval $ac_try) 2>&5
73580 ac_status=$?
73581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73582 (exit $ac_status); }; }; then
73583 has_weof=yes
73584 else
73585 echo "$as_me: failed program was:" >&5
73586 sed 's/^/| /' conftest.$ac_ext >&5
73588 has_weof=no
73590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73591 echo "$as_me:$LINENO: result: $has_weof" >&5
73592 echo "${ECHO_T}$has_weof" >&6
73594 # Tests for wide character functions used in char_traits<wchar_t>.
73595 ac_wfuncs=yes
73602 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73605 echo "$as_me:$LINENO: checking for $ac_func" >&5
73606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73607 if eval "test \"\${$as_ac_var+set}\" = set"; then
73608 echo $ECHO_N "(cached) $ECHO_C" >&6
73609 else
73610 if test x$gcc_no_link = xyes; then
73611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73613 { (exit 1); exit 1; }; }
73615 cat >conftest.$ac_ext <<_ACEOF
73616 /* confdefs.h. */
73617 _ACEOF
73618 cat confdefs.h >>conftest.$ac_ext
73619 cat >>conftest.$ac_ext <<_ACEOF
73620 /* end confdefs.h. */
73621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73623 #define $ac_func innocuous_$ac_func
73625 /* System header to define __stub macros and hopefully few prototypes,
73626 which can conflict with char $ac_func (); below.
73627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73628 <limits.h> exists even on freestanding compilers. */
73630 #ifdef __STDC__
73631 # include <limits.h>
73632 #else
73633 # include <assert.h>
73634 #endif
73636 #undef $ac_func
73638 /* Override any gcc2 internal prototype to avoid an error. */
73639 #ifdef __cplusplus
73640 extern "C"
73642 #endif
73643 /* We use char because int might match the return type of a gcc2
73644 builtin and then its argument prototype would still apply. */
73645 char $ac_func ();
73646 /* The GNU C library defines this for functions which it implements
73647 to always fail with ENOSYS. Some functions are actually named
73648 something starting with __ and the normal name is an alias. */
73649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73650 choke me
73651 #else
73652 char (*f) () = $ac_func;
73653 #endif
73654 #ifdef __cplusplus
73656 #endif
73659 main ()
73661 return f != $ac_func;
73663 return 0;
73665 _ACEOF
73666 rm -f conftest.$ac_objext conftest$ac_exeext
73667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73668 (eval $ac_link) 2>conftest.er1
73669 ac_status=$?
73670 grep -v '^ *+' conftest.er1 >conftest.err
73671 rm -f conftest.er1
73672 cat conftest.err >&5
73673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73674 (exit $ac_status); } &&
73675 { ac_try='test -z "$ac_c_werror_flag"
73676 || test ! -s conftest.err'
73677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73678 (eval $ac_try) 2>&5
73679 ac_status=$?
73680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73681 (exit $ac_status); }; } &&
73682 { ac_try='test -s conftest$ac_exeext'
73683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73684 (eval $ac_try) 2>&5
73685 ac_status=$?
73686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73687 (exit $ac_status); }; }; then
73688 eval "$as_ac_var=yes"
73689 else
73690 echo "$as_me: failed program was:" >&5
73691 sed 's/^/| /' conftest.$ac_ext >&5
73693 eval "$as_ac_var=no"
73695 rm -f conftest.err conftest.$ac_objext \
73696 conftest$ac_exeext conftest.$ac_ext
73698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73700 if test `eval echo '${'$as_ac_var'}'` = yes; then
73701 cat >>confdefs.h <<_ACEOF
73702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73703 _ACEOF
73705 else
73706 ac_wfuncs=no
73708 done
73711 # Checks for names injected into std:: by the c_std headers.
73758 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73759 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73760 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73761 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73762 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73763 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73766 echo "$as_me:$LINENO: checking for $ac_func" >&5
73767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73768 if eval "test \"\${$as_ac_var+set}\" = set"; then
73769 echo $ECHO_N "(cached) $ECHO_C" >&6
73770 else
73771 if test x$gcc_no_link = xyes; then
73772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73774 { (exit 1); exit 1; }; }
73776 cat >conftest.$ac_ext <<_ACEOF
73777 /* confdefs.h. */
73778 _ACEOF
73779 cat confdefs.h >>conftest.$ac_ext
73780 cat >>conftest.$ac_ext <<_ACEOF
73781 /* end confdefs.h. */
73782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73784 #define $ac_func innocuous_$ac_func
73786 /* System header to define __stub macros and hopefully few prototypes,
73787 which can conflict with char $ac_func (); below.
73788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73789 <limits.h> exists even on freestanding compilers. */
73791 #ifdef __STDC__
73792 # include <limits.h>
73793 #else
73794 # include <assert.h>
73795 #endif
73797 #undef $ac_func
73799 /* Override any gcc2 internal prototype to avoid an error. */
73800 #ifdef __cplusplus
73801 extern "C"
73803 #endif
73804 /* We use char because int might match the return type of a gcc2
73805 builtin and then its argument prototype would still apply. */
73806 char $ac_func ();
73807 /* The GNU C library defines this for functions which it implements
73808 to always fail with ENOSYS. Some functions are actually named
73809 something starting with __ and the normal name is an alias. */
73810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73811 choke me
73812 #else
73813 char (*f) () = $ac_func;
73814 #endif
73815 #ifdef __cplusplus
73817 #endif
73820 main ()
73822 return f != $ac_func;
73824 return 0;
73826 _ACEOF
73827 rm -f conftest.$ac_objext conftest$ac_exeext
73828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73829 (eval $ac_link) 2>conftest.er1
73830 ac_status=$?
73831 grep -v '^ *+' conftest.er1 >conftest.err
73832 rm -f conftest.er1
73833 cat conftest.err >&5
73834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73835 (exit $ac_status); } &&
73836 { ac_try='test -z "$ac_c_werror_flag"
73837 || test ! -s conftest.err'
73838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73839 (eval $ac_try) 2>&5
73840 ac_status=$?
73841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73842 (exit $ac_status); }; } &&
73843 { ac_try='test -s conftest$ac_exeext'
73844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73845 (eval $ac_try) 2>&5
73846 ac_status=$?
73847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73848 (exit $ac_status); }; }; then
73849 eval "$as_ac_var=yes"
73850 else
73851 echo "$as_me: failed program was:" >&5
73852 sed 's/^/| /' conftest.$ac_ext >&5
73854 eval "$as_ac_var=no"
73856 rm -f conftest.err conftest.$ac_objext \
73857 conftest$ac_exeext conftest.$ac_ext
73859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73861 if test `eval echo '${'$as_ac_var'}'` = yes; then
73862 cat >>confdefs.h <<_ACEOF
73863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73864 _ACEOF
73866 else
73867 ac_wfuncs=no
73869 done
73872 # Checks for wide character functions that are not required
73873 # for basic wchar_t support. Don't disable support if they are missing.
73874 # Injection of these is wrapped with guard macros.
73880 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73883 echo "$as_me:$LINENO: checking for $ac_func" >&5
73884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73885 if eval "test \"\${$as_ac_var+set}\" = set"; then
73886 echo $ECHO_N "(cached) $ECHO_C" >&6
73887 else
73888 if test x$gcc_no_link = xyes; then
73889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73891 { (exit 1); exit 1; }; }
73893 cat >conftest.$ac_ext <<_ACEOF
73894 /* confdefs.h. */
73895 _ACEOF
73896 cat confdefs.h >>conftest.$ac_ext
73897 cat >>conftest.$ac_ext <<_ACEOF
73898 /* end confdefs.h. */
73899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73901 #define $ac_func innocuous_$ac_func
73903 /* System header to define __stub macros and hopefully few prototypes,
73904 which can conflict with char $ac_func (); below.
73905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73906 <limits.h> exists even on freestanding compilers. */
73908 #ifdef __STDC__
73909 # include <limits.h>
73910 #else
73911 # include <assert.h>
73912 #endif
73914 #undef $ac_func
73916 /* Override any gcc2 internal prototype to avoid an error. */
73917 #ifdef __cplusplus
73918 extern "C"
73920 #endif
73921 /* We use char because int might match the return type of a gcc2
73922 builtin and then its argument prototype would still apply. */
73923 char $ac_func ();
73924 /* The GNU C library defines this for functions which it implements
73925 to always fail with ENOSYS. Some functions are actually named
73926 something starting with __ and the normal name is an alias. */
73927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73928 choke me
73929 #else
73930 char (*f) () = $ac_func;
73931 #endif
73932 #ifdef __cplusplus
73934 #endif
73937 main ()
73939 return f != $ac_func;
73941 return 0;
73943 _ACEOF
73944 rm -f conftest.$ac_objext conftest$ac_exeext
73945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73946 (eval $ac_link) 2>conftest.er1
73947 ac_status=$?
73948 grep -v '^ *+' conftest.er1 >conftest.err
73949 rm -f conftest.er1
73950 cat conftest.err >&5
73951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73952 (exit $ac_status); } &&
73953 { ac_try='test -z "$ac_c_werror_flag"
73954 || test ! -s conftest.err'
73955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73956 (eval $ac_try) 2>&5
73957 ac_status=$?
73958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73959 (exit $ac_status); }; } &&
73960 { ac_try='test -s conftest$ac_exeext'
73961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73962 (eval $ac_try) 2>&5
73963 ac_status=$?
73964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73965 (exit $ac_status); }; }; then
73966 eval "$as_ac_var=yes"
73967 else
73968 echo "$as_me: failed program was:" >&5
73969 sed 's/^/| /' conftest.$ac_ext >&5
73971 eval "$as_ac_var=no"
73973 rm -f conftest.err conftest.$ac_objext \
73974 conftest$ac_exeext conftest.$ac_ext
73976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73978 if test `eval echo '${'$as_ac_var'}'` = yes; then
73979 cat >>confdefs.h <<_ACEOF
73980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73981 _ACEOF
73984 done
73987 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
73988 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
73989 if test x"$has_weof" = xyes &&
73990 test x"$has_wchar_minmax" = xyes &&
73991 test x"$ac_wfuncs" = xyes;
73992 then
73993 ac_isoC99_wchar_t=yes
73994 else
73995 ac_isoC99_wchar_t=no
73997 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
73998 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
74000 # Use iconv for wchar_t to char conversions. As such, check for
74001 # X/Open Portability Guide, version 2 features (XPG2).
74002 if test "${ac_cv_header_iconv_h+set}" = set; then
74003 echo "$as_me:$LINENO: checking for iconv.h" >&5
74004 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74005 if test "${ac_cv_header_iconv_h+set}" = set; then
74006 echo $ECHO_N "(cached) $ECHO_C" >&6
74008 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74009 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74010 else
74011 # Is the header compilable?
74012 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74013 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74014 cat >conftest.$ac_ext <<_ACEOF
74015 /* confdefs.h. */
74016 _ACEOF
74017 cat confdefs.h >>conftest.$ac_ext
74018 cat >>conftest.$ac_ext <<_ACEOF
74019 /* end confdefs.h. */
74020 $ac_includes_default
74021 #include <iconv.h>
74022 _ACEOF
74023 rm -f conftest.$ac_objext
74024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74025 (eval $ac_compile) 2>conftest.er1
74026 ac_status=$?
74027 grep -v '^ *+' conftest.er1 >conftest.err
74028 rm -f conftest.er1
74029 cat conftest.err >&5
74030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74031 (exit $ac_status); } &&
74032 { ac_try='test -z "$ac_c_werror_flag"
74033 || test ! -s conftest.err'
74034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74035 (eval $ac_try) 2>&5
74036 ac_status=$?
74037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74038 (exit $ac_status); }; } &&
74039 { ac_try='test -s conftest.$ac_objext'
74040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74041 (eval $ac_try) 2>&5
74042 ac_status=$?
74043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74044 (exit $ac_status); }; }; then
74045 ac_header_compiler=yes
74046 else
74047 echo "$as_me: failed program was:" >&5
74048 sed 's/^/| /' conftest.$ac_ext >&5
74050 ac_header_compiler=no
74052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74054 echo "${ECHO_T}$ac_header_compiler" >&6
74056 # Is the header present?
74057 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74058 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74059 cat >conftest.$ac_ext <<_ACEOF
74060 /* confdefs.h. */
74061 _ACEOF
74062 cat confdefs.h >>conftest.$ac_ext
74063 cat >>conftest.$ac_ext <<_ACEOF
74064 /* end confdefs.h. */
74065 #include <iconv.h>
74066 _ACEOF
74067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74068 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74069 ac_status=$?
74070 grep -v '^ *+' conftest.er1 >conftest.err
74071 rm -f conftest.er1
74072 cat conftest.err >&5
74073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74074 (exit $ac_status); } >/dev/null; then
74075 if test -s conftest.err; then
74076 ac_cpp_err=$ac_c_preproc_warn_flag
74077 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74078 else
74079 ac_cpp_err=
74081 else
74082 ac_cpp_err=yes
74084 if test -z "$ac_cpp_err"; then
74085 ac_header_preproc=yes
74086 else
74087 echo "$as_me: failed program was:" >&5
74088 sed 's/^/| /' conftest.$ac_ext >&5
74090 ac_header_preproc=no
74092 rm -f conftest.err conftest.$ac_ext
74093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74094 echo "${ECHO_T}$ac_header_preproc" >&6
74096 # So? What about this header?
74097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74098 yes:no: )
74099 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74100 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74101 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74102 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74103 ac_header_preproc=yes
74105 no:yes:* )
74106 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74107 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74108 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74109 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74110 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74111 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74112 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74113 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74114 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74115 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74116 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74117 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74119 cat <<\_ASBOX
74120 ## ----------------------------------------- ##
74121 ## Report this to the package-unused lists. ##
74122 ## ----------------------------------------- ##
74123 _ASBOX
74125 sed "s/^/$as_me: WARNING: /" >&2
74127 esac
74128 echo "$as_me:$LINENO: checking for iconv.h" >&5
74129 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74130 if test "${ac_cv_header_iconv_h+set}" = set; then
74131 echo $ECHO_N "(cached) $ECHO_C" >&6
74132 else
74133 ac_cv_header_iconv_h=$ac_header_preproc
74135 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74136 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74139 if test $ac_cv_header_iconv_h = yes; then
74140 ac_has_iconv_h=yes
74141 else
74142 ac_has_iconv_h=no
74146 if test "${ac_cv_header_langinfo_h+set}" = set; then
74147 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74148 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74149 if test "${ac_cv_header_langinfo_h+set}" = set; then
74150 echo $ECHO_N "(cached) $ECHO_C" >&6
74152 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74153 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74154 else
74155 # Is the header compilable?
74156 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74157 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74158 cat >conftest.$ac_ext <<_ACEOF
74159 /* confdefs.h. */
74160 _ACEOF
74161 cat confdefs.h >>conftest.$ac_ext
74162 cat >>conftest.$ac_ext <<_ACEOF
74163 /* end confdefs.h. */
74164 $ac_includes_default
74165 #include <langinfo.h>
74166 _ACEOF
74167 rm -f conftest.$ac_objext
74168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74169 (eval $ac_compile) 2>conftest.er1
74170 ac_status=$?
74171 grep -v '^ *+' conftest.er1 >conftest.err
74172 rm -f conftest.er1
74173 cat conftest.err >&5
74174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74175 (exit $ac_status); } &&
74176 { ac_try='test -z "$ac_c_werror_flag"
74177 || test ! -s conftest.err'
74178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74179 (eval $ac_try) 2>&5
74180 ac_status=$?
74181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74182 (exit $ac_status); }; } &&
74183 { ac_try='test -s conftest.$ac_objext'
74184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74185 (eval $ac_try) 2>&5
74186 ac_status=$?
74187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74188 (exit $ac_status); }; }; then
74189 ac_header_compiler=yes
74190 else
74191 echo "$as_me: failed program was:" >&5
74192 sed 's/^/| /' conftest.$ac_ext >&5
74194 ac_header_compiler=no
74196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74198 echo "${ECHO_T}$ac_header_compiler" >&6
74200 # Is the header present?
74201 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74202 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74203 cat >conftest.$ac_ext <<_ACEOF
74204 /* confdefs.h. */
74205 _ACEOF
74206 cat confdefs.h >>conftest.$ac_ext
74207 cat >>conftest.$ac_ext <<_ACEOF
74208 /* end confdefs.h. */
74209 #include <langinfo.h>
74210 _ACEOF
74211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74213 ac_status=$?
74214 grep -v '^ *+' conftest.er1 >conftest.err
74215 rm -f conftest.er1
74216 cat conftest.err >&5
74217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74218 (exit $ac_status); } >/dev/null; then
74219 if test -s conftest.err; then
74220 ac_cpp_err=$ac_c_preproc_warn_flag
74221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74222 else
74223 ac_cpp_err=
74225 else
74226 ac_cpp_err=yes
74228 if test -z "$ac_cpp_err"; then
74229 ac_header_preproc=yes
74230 else
74231 echo "$as_me: failed program was:" >&5
74232 sed 's/^/| /' conftest.$ac_ext >&5
74234 ac_header_preproc=no
74236 rm -f conftest.err conftest.$ac_ext
74237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74238 echo "${ECHO_T}$ac_header_preproc" >&6
74240 # So? What about this header?
74241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74242 yes:no: )
74243 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74244 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74245 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74246 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74247 ac_header_preproc=yes
74249 no:yes:* )
74250 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74251 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74252 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74253 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74254 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74255 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74256 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74257 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74258 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74259 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74260 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74261 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74263 cat <<\_ASBOX
74264 ## ----------------------------------------- ##
74265 ## Report this to the package-unused lists. ##
74266 ## ----------------------------------------- ##
74267 _ASBOX
74269 sed "s/^/$as_me: WARNING: /" >&2
74271 esac
74272 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74273 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74274 if test "${ac_cv_header_langinfo_h+set}" = set; then
74275 echo $ECHO_N "(cached) $ECHO_C" >&6
74276 else
74277 ac_cv_header_langinfo_h=$ac_header_preproc
74279 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74280 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74283 if test $ac_cv_header_langinfo_h = yes; then
74284 ac_has_langinfo_h=yes
74285 else
74286 ac_has_langinfo_h=no
74291 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74292 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74293 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74294 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74295 echo $ECHO_N "(cached) $ECHO_C" >&6
74296 else
74297 ac_check_lib_save_LIBS=$LIBS
74298 LIBS="-liconv $LIBS"
74299 if test x$gcc_no_link = xyes; then
74300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74302 { (exit 1); exit 1; }; }
74304 cat >conftest.$ac_ext <<_ACEOF
74305 /* confdefs.h. */
74306 _ACEOF
74307 cat confdefs.h >>conftest.$ac_ext
74308 cat >>conftest.$ac_ext <<_ACEOF
74309 /* end confdefs.h. */
74311 /* Override any gcc2 internal prototype to avoid an error. */
74312 #ifdef __cplusplus
74313 extern "C"
74314 #endif
74315 /* We use char because int might match the return type of a gcc2
74316 builtin and then its argument prototype would still apply. */
74317 char iconv ();
74319 main ()
74321 iconv ();
74323 return 0;
74325 _ACEOF
74326 rm -f conftest.$ac_objext conftest$ac_exeext
74327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74328 (eval $ac_link) 2>conftest.er1
74329 ac_status=$?
74330 grep -v '^ *+' conftest.er1 >conftest.err
74331 rm -f conftest.er1
74332 cat conftest.err >&5
74333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74334 (exit $ac_status); } &&
74335 { ac_try='test -z "$ac_c_werror_flag"
74336 || test ! -s conftest.err'
74337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74338 (eval $ac_try) 2>&5
74339 ac_status=$?
74340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74341 (exit $ac_status); }; } &&
74342 { ac_try='test -s conftest$ac_exeext'
74343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74344 (eval $ac_try) 2>&5
74345 ac_status=$?
74346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74347 (exit $ac_status); }; }; then
74348 ac_cv_lib_iconv_iconv=yes
74349 else
74350 echo "$as_me: failed program was:" >&5
74351 sed 's/^/| /' conftest.$ac_ext >&5
74353 ac_cv_lib_iconv_iconv=no
74355 rm -f conftest.err conftest.$ac_objext \
74356 conftest$ac_exeext conftest.$ac_ext
74357 LIBS=$ac_check_lib_save_LIBS
74359 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74360 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74361 if test $ac_cv_lib_iconv_iconv = yes; then
74362 LIBICONV="-liconv"
74365 ac_save_LIBS="$LIBS"
74366 LIBS="$LIBS $LIBICONV"
74373 for ac_func in iconv_open iconv_close iconv nl_langinfo
74375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74376 echo "$as_me:$LINENO: checking for $ac_func" >&5
74377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74378 if eval "test \"\${$as_ac_var+set}\" = set"; then
74379 echo $ECHO_N "(cached) $ECHO_C" >&6
74380 else
74381 if test x$gcc_no_link = xyes; then
74382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74384 { (exit 1); exit 1; }; }
74386 cat >conftest.$ac_ext <<_ACEOF
74387 /* confdefs.h. */
74388 _ACEOF
74389 cat confdefs.h >>conftest.$ac_ext
74390 cat >>conftest.$ac_ext <<_ACEOF
74391 /* end confdefs.h. */
74392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74394 #define $ac_func innocuous_$ac_func
74396 /* System header to define __stub macros and hopefully few prototypes,
74397 which can conflict with char $ac_func (); below.
74398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74399 <limits.h> exists even on freestanding compilers. */
74401 #ifdef __STDC__
74402 # include <limits.h>
74403 #else
74404 # include <assert.h>
74405 #endif
74407 #undef $ac_func
74409 /* Override any gcc2 internal prototype to avoid an error. */
74410 #ifdef __cplusplus
74411 extern "C"
74413 #endif
74414 /* We use char because int might match the return type of a gcc2
74415 builtin and then its argument prototype would still apply. */
74416 char $ac_func ();
74417 /* The GNU C library defines this for functions which it implements
74418 to always fail with ENOSYS. Some functions are actually named
74419 something starting with __ and the normal name is an alias. */
74420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74421 choke me
74422 #else
74423 char (*f) () = $ac_func;
74424 #endif
74425 #ifdef __cplusplus
74427 #endif
74430 main ()
74432 return f != $ac_func;
74434 return 0;
74436 _ACEOF
74437 rm -f conftest.$ac_objext conftest$ac_exeext
74438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74439 (eval $ac_link) 2>conftest.er1
74440 ac_status=$?
74441 grep -v '^ *+' conftest.er1 >conftest.err
74442 rm -f conftest.er1
74443 cat conftest.err >&5
74444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74445 (exit $ac_status); } &&
74446 { ac_try='test -z "$ac_c_werror_flag"
74447 || test ! -s conftest.err'
74448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74449 (eval $ac_try) 2>&5
74450 ac_status=$?
74451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74452 (exit $ac_status); }; } &&
74453 { ac_try='test -s conftest$ac_exeext'
74454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74455 (eval $ac_try) 2>&5
74456 ac_status=$?
74457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74458 (exit $ac_status); }; }; then
74459 eval "$as_ac_var=yes"
74460 else
74461 echo "$as_me: failed program was:" >&5
74462 sed 's/^/| /' conftest.$ac_ext >&5
74464 eval "$as_ac_var=no"
74466 rm -f conftest.err conftest.$ac_objext \
74467 conftest$ac_exeext conftest.$ac_ext
74469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74471 if test `eval echo '${'$as_ac_var'}'` = yes; then
74472 cat >>confdefs.h <<_ACEOF
74473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74474 _ACEOF
74475 ac_XPG2funcs=yes
74476 else
74477 ac_XPG2funcs=no
74479 done
74482 LIBS="$ac_save_LIBS"
74484 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74485 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74486 if test x"$ac_has_iconv_h" = xyes &&
74487 test x"$ac_has_langinfo_h" = xyes &&
74488 test x"$ac_XPG2funcs" = xyes;
74489 then
74490 ac_XPG2_wchar_t=yes
74491 else
74492 ac_XPG2_wchar_t=no
74494 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74495 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74497 # At the moment, only enable wchar_t specializations if all the
74498 # above support is present.
74499 if test x"$ac_isoC99_wchar_t" = xyes &&
74500 test x"$ac_XPG2_wchar_t" = xyes;
74501 then
74502 cat >>confdefs.h <<\_ACEOF
74503 #define _GLIBCXX_USE_WCHAR_T 1
74504 _ACEOF
74506 enable_wchar_t=yes
74509 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74510 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74511 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74512 echo "${ECHO_T}$enable_wchar_t" >&6
74515 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74516 ac_save_CXXFLAGS="$CXXFLAGS"
74517 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74520 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74521 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74522 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74523 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74524 echo $ECHO_N "(cached) $ECHO_C" >&6
74525 else
74529 ac_ext=cc
74530 ac_cpp='$CXXCPP $CPPFLAGS'
74531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74535 cat >conftest.$ac_ext <<_ACEOF
74536 /* confdefs.h. */
74537 _ACEOF
74538 cat confdefs.h >>conftest.$ac_ext
74539 cat >>conftest.$ac_ext <<_ACEOF
74540 /* end confdefs.h. */
74541 #include <stdlib.h>
74543 main ()
74545 strtold(0, 0);
74547 return 0;
74549 _ACEOF
74550 rm -f conftest.$ac_objext
74551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74552 (eval $ac_compile) 2>conftest.er1
74553 ac_status=$?
74554 grep -v '^ *+' conftest.er1 >conftest.err
74555 rm -f conftest.er1
74556 cat conftest.err >&5
74557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74558 (exit $ac_status); } &&
74559 { ac_try='test -z "$ac_cxx_werror_flag"
74560 || test ! -s conftest.err'
74561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74562 (eval $ac_try) 2>&5
74563 ac_status=$?
74564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74565 (exit $ac_status); }; } &&
74566 { ac_try='test -s conftest.$ac_objext'
74567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74568 (eval $ac_try) 2>&5
74569 ac_status=$?
74570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74571 (exit $ac_status); }; }; then
74572 glibcxx_cv_func_strtold_use=yes
74573 else
74574 echo "$as_me: failed program was:" >&5
74575 sed 's/^/| /' conftest.$ac_ext >&5
74577 glibcxx_cv_func_strtold_use=no
74579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74580 ac_ext=c
74581 ac_cpp='$CPP $CPPFLAGS'
74582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74590 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74591 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74592 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74594 for ac_func in strtold
74596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74597 echo "$as_me:$LINENO: checking for $ac_func" >&5
74598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74599 if eval "test \"\${$as_ac_var+set}\" = set"; then
74600 echo $ECHO_N "(cached) $ECHO_C" >&6
74601 else
74602 if test x$gcc_no_link = xyes; then
74603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74605 { (exit 1); exit 1; }; }
74607 cat >conftest.$ac_ext <<_ACEOF
74608 /* confdefs.h. */
74609 _ACEOF
74610 cat confdefs.h >>conftest.$ac_ext
74611 cat >>conftest.$ac_ext <<_ACEOF
74612 /* end confdefs.h. */
74613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74615 #define $ac_func innocuous_$ac_func
74617 /* System header to define __stub macros and hopefully few prototypes,
74618 which can conflict with char $ac_func (); below.
74619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74620 <limits.h> exists even on freestanding compilers. */
74622 #ifdef __STDC__
74623 # include <limits.h>
74624 #else
74625 # include <assert.h>
74626 #endif
74628 #undef $ac_func
74630 /* Override any gcc2 internal prototype to avoid an error. */
74631 #ifdef __cplusplus
74632 extern "C"
74634 #endif
74635 /* We use char because int might match the return type of a gcc2
74636 builtin and then its argument prototype would still apply. */
74637 char $ac_func ();
74638 /* The GNU C library defines this for functions which it implements
74639 to always fail with ENOSYS. Some functions are actually named
74640 something starting with __ and the normal name is an alias. */
74641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74642 choke me
74643 #else
74644 char (*f) () = $ac_func;
74645 #endif
74646 #ifdef __cplusplus
74648 #endif
74651 main ()
74653 return f != $ac_func;
74655 return 0;
74657 _ACEOF
74658 rm -f conftest.$ac_objext conftest$ac_exeext
74659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74660 (eval $ac_link) 2>conftest.er1
74661 ac_status=$?
74662 grep -v '^ *+' conftest.er1 >conftest.err
74663 rm -f conftest.er1
74664 cat conftest.err >&5
74665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74666 (exit $ac_status); } &&
74667 { ac_try='test -z "$ac_c_werror_flag"
74668 || test ! -s conftest.err'
74669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74670 (eval $ac_try) 2>&5
74671 ac_status=$?
74672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74673 (exit $ac_status); }; } &&
74674 { ac_try='test -s conftest$ac_exeext'
74675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74676 (eval $ac_try) 2>&5
74677 ac_status=$?
74678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74679 (exit $ac_status); }; }; then
74680 eval "$as_ac_var=yes"
74681 else
74682 echo "$as_me: failed program was:" >&5
74683 sed 's/^/| /' conftest.$ac_ext >&5
74685 eval "$as_ac_var=no"
74687 rm -f conftest.err conftest.$ac_objext \
74688 conftest$ac_exeext conftest.$ac_ext
74690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74692 if test `eval echo '${'$as_ac_var'}'` = yes; then
74693 cat >>confdefs.h <<_ACEOF
74694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74695 _ACEOF
74698 done
74703 echo "$as_me:$LINENO: checking for strtof declaration" >&5
74704 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74705 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74706 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74707 echo $ECHO_N "(cached) $ECHO_C" >&6
74708 else
74712 ac_ext=cc
74713 ac_cpp='$CXXCPP $CPPFLAGS'
74714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74718 cat >conftest.$ac_ext <<_ACEOF
74719 /* confdefs.h. */
74720 _ACEOF
74721 cat confdefs.h >>conftest.$ac_ext
74722 cat >>conftest.$ac_ext <<_ACEOF
74723 /* end confdefs.h. */
74724 #include <stdlib.h>
74726 main ()
74728 strtof(0, 0);
74730 return 0;
74732 _ACEOF
74733 rm -f conftest.$ac_objext
74734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74735 (eval $ac_compile) 2>conftest.er1
74736 ac_status=$?
74737 grep -v '^ *+' conftest.er1 >conftest.err
74738 rm -f conftest.er1
74739 cat conftest.err >&5
74740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74741 (exit $ac_status); } &&
74742 { ac_try='test -z "$ac_cxx_werror_flag"
74743 || test ! -s conftest.err'
74744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74745 (eval $ac_try) 2>&5
74746 ac_status=$?
74747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74748 (exit $ac_status); }; } &&
74749 { ac_try='test -s conftest.$ac_objext'
74750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74751 (eval $ac_try) 2>&5
74752 ac_status=$?
74753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74754 (exit $ac_status); }; }; then
74755 glibcxx_cv_func_strtof_use=yes
74756 else
74757 echo "$as_me: failed program was:" >&5
74758 sed 's/^/| /' conftest.$ac_ext >&5
74760 glibcxx_cv_func_strtof_use=no
74762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74763 ac_ext=c
74764 ac_cpp='$CPP $CPPFLAGS'
74765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74774 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74775 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74777 for ac_func in strtof
74779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74780 echo "$as_me:$LINENO: checking for $ac_func" >&5
74781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74782 if eval "test \"\${$as_ac_var+set}\" = set"; then
74783 echo $ECHO_N "(cached) $ECHO_C" >&6
74784 else
74785 if test x$gcc_no_link = xyes; then
74786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74788 { (exit 1); exit 1; }; }
74790 cat >conftest.$ac_ext <<_ACEOF
74791 /* confdefs.h. */
74792 _ACEOF
74793 cat confdefs.h >>conftest.$ac_ext
74794 cat >>conftest.$ac_ext <<_ACEOF
74795 /* end confdefs.h. */
74796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74798 #define $ac_func innocuous_$ac_func
74800 /* System header to define __stub macros and hopefully few prototypes,
74801 which can conflict with char $ac_func (); below.
74802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74803 <limits.h> exists even on freestanding compilers. */
74805 #ifdef __STDC__
74806 # include <limits.h>
74807 #else
74808 # include <assert.h>
74809 #endif
74811 #undef $ac_func
74813 /* Override any gcc2 internal prototype to avoid an error. */
74814 #ifdef __cplusplus
74815 extern "C"
74817 #endif
74818 /* We use char because int might match the return type of a gcc2
74819 builtin and then its argument prototype would still apply. */
74820 char $ac_func ();
74821 /* The GNU C library defines this for functions which it implements
74822 to always fail with ENOSYS. Some functions are actually named
74823 something starting with __ and the normal name is an alias. */
74824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74825 choke me
74826 #else
74827 char (*f) () = $ac_func;
74828 #endif
74829 #ifdef __cplusplus
74831 #endif
74834 main ()
74836 return f != $ac_func;
74838 return 0;
74840 _ACEOF
74841 rm -f conftest.$ac_objext conftest$ac_exeext
74842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74843 (eval $ac_link) 2>conftest.er1
74844 ac_status=$?
74845 grep -v '^ *+' conftest.er1 >conftest.err
74846 rm -f conftest.er1
74847 cat conftest.err >&5
74848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74849 (exit $ac_status); } &&
74850 { ac_try='test -z "$ac_c_werror_flag"
74851 || test ! -s conftest.err'
74852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74853 (eval $ac_try) 2>&5
74854 ac_status=$?
74855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74856 (exit $ac_status); }; } &&
74857 { ac_try='test -s conftest$ac_exeext'
74858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74859 (eval $ac_try) 2>&5
74860 ac_status=$?
74861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74862 (exit $ac_status); }; }; then
74863 eval "$as_ac_var=yes"
74864 else
74865 echo "$as_me: failed program was:" >&5
74866 sed 's/^/| /' conftest.$ac_ext >&5
74868 eval "$as_ac_var=no"
74870 rm -f conftest.err conftest.$ac_objext \
74871 conftest$ac_exeext conftest.$ac_ext
74873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74875 if test `eval echo '${'$as_ac_var'}'` = yes; then
74876 cat >>confdefs.h <<_ACEOF
74877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74878 _ACEOF
74881 done
74886 CXXFLAGS="$ac_save_CXXFLAGS"
74889 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74890 echo $ECHO_N "(cached) $ECHO_C" >&6
74891 else
74893 if test x$gcc_no_link = xyes; then
74894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74896 { (exit 1); exit 1; }; }
74898 cat >conftest.$ac_ext <<_ACEOF
74899 /* confdefs.h. */
74900 _ACEOF
74901 cat confdefs.h >>conftest.$ac_ext
74902 cat >>conftest.$ac_ext <<_ACEOF
74903 /* end confdefs.h. */
74904 #include <sys/stat.h>
74906 main ()
74908 struct stat buffer;
74909 fstat(0, &buffer);
74910 S_ISREG(buffer.st_mode);
74912 return 0;
74914 _ACEOF
74915 rm -f conftest.$ac_objext conftest$ac_exeext
74916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74917 (eval $ac_link) 2>conftest.er1
74918 ac_status=$?
74919 grep -v '^ *+' conftest.er1 >conftest.err
74920 rm -f conftest.er1
74921 cat conftest.err >&5
74922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74923 (exit $ac_status); } &&
74924 { ac_try='test -z "$ac_c_werror_flag"
74925 || test ! -s conftest.err'
74926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74927 (eval $ac_try) 2>&5
74928 ac_status=$?
74929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74930 (exit $ac_status); }; } &&
74931 { ac_try='test -s conftest$ac_exeext'
74932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74933 (eval $ac_try) 2>&5
74934 ac_status=$?
74935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74936 (exit $ac_status); }; }; then
74937 glibcxx_cv_S_ISREG=yes
74938 else
74939 echo "$as_me: failed program was:" >&5
74940 sed 's/^/| /' conftest.$ac_ext >&5
74942 glibcxx_cv_S_ISREG=no
74944 rm -f conftest.err conftest.$ac_objext \
74945 conftest$ac_exeext conftest.$ac_ext
74949 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74950 echo $ECHO_N "(cached) $ECHO_C" >&6
74951 else
74953 if test x$gcc_no_link = xyes; then
74954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74956 { (exit 1); exit 1; }; }
74958 cat >conftest.$ac_ext <<_ACEOF
74959 /* confdefs.h. */
74960 _ACEOF
74961 cat confdefs.h >>conftest.$ac_ext
74962 cat >>conftest.$ac_ext <<_ACEOF
74963 /* end confdefs.h. */
74964 #include <sys/stat.h>
74966 main ()
74968 struct stat buffer;
74969 fstat(0, &buffer);
74970 S_IFREG & buffer.st_mode;
74972 return 0;
74974 _ACEOF
74975 rm -f conftest.$ac_objext conftest$ac_exeext
74976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74977 (eval $ac_link) 2>conftest.er1
74978 ac_status=$?
74979 grep -v '^ *+' conftest.er1 >conftest.err
74980 rm -f conftest.er1
74981 cat conftest.err >&5
74982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74983 (exit $ac_status); } &&
74984 { ac_try='test -z "$ac_c_werror_flag"
74985 || test ! -s conftest.err'
74986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74987 (eval $ac_try) 2>&5
74988 ac_status=$?
74989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74990 (exit $ac_status); }; } &&
74991 { ac_try='test -s conftest$ac_exeext'
74992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74993 (eval $ac_try) 2>&5
74994 ac_status=$?
74995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74996 (exit $ac_status); }; }; then
74997 glibcxx_cv_S_IFREG=yes
74998 else
74999 echo "$as_me: failed program was:" >&5
75000 sed 's/^/| /' conftest.$ac_ext >&5
75002 glibcxx_cv_S_IFREG=no
75004 rm -f conftest.err conftest.$ac_objext \
75005 conftest$ac_exeext conftest.$ac_ext
75009 if test $glibcxx_cv_S_ISREG = yes; then
75010 cat >>confdefs.h <<\_ACEOF
75011 #define HAVE_S_ISREG 1
75012 _ACEOF
75014 elif test $glibcxx_cv_S_IFREG = yes; then
75015 cat >>confdefs.h <<\_ACEOF
75016 #define HAVE_S_IFREG 1
75017 _ACEOF
75021 cat >>confdefs.h <<\_ACEOF
75022 #define HAVE_WRITEV 1
75023 _ACEOF
75027 *-freebsd*)
75044 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75045 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75046 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75047 sys/time.h unistd.h
75049 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75051 echo "$as_me:$LINENO: checking for $ac_header" >&5
75052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75054 echo $ECHO_N "(cached) $ECHO_C" >&6
75056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75058 else
75059 # Is the header compilable?
75060 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75061 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75062 cat >conftest.$ac_ext <<_ACEOF
75063 /* confdefs.h. */
75064 _ACEOF
75065 cat confdefs.h >>conftest.$ac_ext
75066 cat >>conftest.$ac_ext <<_ACEOF
75067 /* end confdefs.h. */
75068 $ac_includes_default
75069 #include <$ac_header>
75070 _ACEOF
75071 rm -f conftest.$ac_objext
75072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75073 (eval $ac_compile) 2>conftest.er1
75074 ac_status=$?
75075 grep -v '^ *+' conftest.er1 >conftest.err
75076 rm -f conftest.er1
75077 cat conftest.err >&5
75078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75079 (exit $ac_status); } &&
75080 { ac_try='test -z "$ac_c_werror_flag"
75081 || test ! -s conftest.err'
75082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75083 (eval $ac_try) 2>&5
75084 ac_status=$?
75085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75086 (exit $ac_status); }; } &&
75087 { ac_try='test -s conftest.$ac_objext'
75088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75089 (eval $ac_try) 2>&5
75090 ac_status=$?
75091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75092 (exit $ac_status); }; }; then
75093 ac_header_compiler=yes
75094 else
75095 echo "$as_me: failed program was:" >&5
75096 sed 's/^/| /' conftest.$ac_ext >&5
75098 ac_header_compiler=no
75100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75102 echo "${ECHO_T}$ac_header_compiler" >&6
75104 # Is the header present?
75105 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75106 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75107 cat >conftest.$ac_ext <<_ACEOF
75108 /* confdefs.h. */
75109 _ACEOF
75110 cat confdefs.h >>conftest.$ac_ext
75111 cat >>conftest.$ac_ext <<_ACEOF
75112 /* end confdefs.h. */
75113 #include <$ac_header>
75114 _ACEOF
75115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75116 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75117 ac_status=$?
75118 grep -v '^ *+' conftest.er1 >conftest.err
75119 rm -f conftest.er1
75120 cat conftest.err >&5
75121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75122 (exit $ac_status); } >/dev/null; then
75123 if test -s conftest.err; then
75124 ac_cpp_err=$ac_c_preproc_warn_flag
75125 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75126 else
75127 ac_cpp_err=
75129 else
75130 ac_cpp_err=yes
75132 if test -z "$ac_cpp_err"; then
75133 ac_header_preproc=yes
75134 else
75135 echo "$as_me: failed program was:" >&5
75136 sed 's/^/| /' conftest.$ac_ext >&5
75138 ac_header_preproc=no
75140 rm -f conftest.err conftest.$ac_ext
75141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75142 echo "${ECHO_T}$ac_header_preproc" >&6
75144 # So? What about this header?
75145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75146 yes:no: )
75147 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75148 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75150 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75151 ac_header_preproc=yes
75153 no:yes:* )
75154 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75155 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75156 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75157 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75158 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75159 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75160 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75161 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75164 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75165 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75167 cat <<\_ASBOX
75168 ## ----------------------------------------- ##
75169 ## Report this to the package-unused lists. ##
75170 ## ----------------------------------------- ##
75171 _ASBOX
75173 sed "s/^/$as_me: WARNING: /" >&2
75175 esac
75176 echo "$as_me:$LINENO: checking for $ac_header" >&5
75177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75179 echo $ECHO_N "(cached) $ECHO_C" >&6
75180 else
75181 eval "$as_ac_Header=\$ac_header_preproc"
75183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75188 cat >>confdefs.h <<_ACEOF
75189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75190 _ACEOF
75194 done
75196 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75199 # If we're not using GNU ld, then there's no point in even trying these
75200 # tests. Check for that first. We should have already tested for gld
75201 # by now (in libtool), but require it now just to be safe...
75202 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75203 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75207 # The name set by libtool depends on the version of libtool. Shame on us
75208 # for depending on an impl detail, but c'est la vie. Older versions used
75209 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75210 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75211 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75212 # set (hence we're using an older libtool), then set it.
75213 if test x${with_gnu_ld+set} != xset; then
75214 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75215 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75216 with_gnu_ld=no
75217 else
75218 with_gnu_ld=$ac_cv_prog_gnu_ld
75222 # Start by getting the version number. I think the libtool test already
75223 # does some of this, but throws away the result.
75225 ldver=`$LD --version 2>/dev/null | head -1 | \
75226 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75228 glibcxx_gnu_ld_version=`echo $ldver | \
75229 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75231 # Set --gc-sections.
75232 if test "$with_gnu_ld" = "notbroken"; then
75233 # GNU ld it is! Joy and bunny rabbits!
75235 # All these tests are for C++; save the language and the compiler flags.
75236 # Need to do this so that g++ won't try to link in libstdc++
75237 ac_test_CFLAGS="${CFLAGS+set}"
75238 ac_save_CFLAGS="$CFLAGS"
75239 CFLAGS='-x c++ -Wl,--gc-sections'
75241 # Check for -Wl,--gc-sections
75242 # XXX This test is broken at the moment, as symbols required for linking
75243 # are now in libsupc++ (not built yet). In addition, this test has
75244 # cored on solaris in the past. In addition, --gc-sections doesn't
75245 # really work at the moment (keeps on discarding used sections, first
75246 # .eh_frame and now some of the glibc sections for iconv).
75247 # Bzzzzt. Thanks for playing, maybe next time.
75248 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75249 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75250 if test "$cross_compiling" = yes; then
75251 ac_sectionLDflags=yes
75252 else
75253 cat >conftest.$ac_ext <<_ACEOF
75254 /* confdefs.h. */
75255 _ACEOF
75256 cat confdefs.h >>conftest.$ac_ext
75257 cat >>conftest.$ac_ext <<_ACEOF
75258 /* end confdefs.h. */
75260 int main(void)
75262 try { throw 1; }
75263 catch (...) { };
75264 return 0;
75267 _ACEOF
75268 rm -f conftest$ac_exeext
75269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75270 (eval $ac_link) 2>&5
75271 ac_status=$?
75272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75275 (eval $ac_try) 2>&5
75276 ac_status=$?
75277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75278 (exit $ac_status); }; }; then
75279 ac_sectionLDflags=yes
75280 else
75281 echo "$as_me: program exited with status $ac_status" >&5
75282 echo "$as_me: failed program was:" >&5
75283 sed 's/^/| /' conftest.$ac_ext >&5
75285 ( exit $ac_status )
75286 ac_sectionLDflags=no
75288 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75290 if test "$ac_test_CFLAGS" = set; then
75291 CFLAGS="$ac_save_CFLAGS"
75292 else
75293 # this is the suspicious part
75294 CFLAGS=''
75296 if test "$ac_sectionLDflags" = "yes"; then
75297 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75299 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75300 echo "${ECHO_T}$ac_sectionLDflags" >&6
75303 # Set linker optimization flags.
75304 if test x"$with_gnu_ld" = x"yes"; then
75305 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75313 echo "$as_me:$LINENO: checking for main in -lm" >&5
75314 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75315 if test "${ac_cv_lib_m_main+set}" = set; then
75316 echo $ECHO_N "(cached) $ECHO_C" >&6
75317 else
75318 ac_check_lib_save_LIBS=$LIBS
75319 LIBS="-lm $LIBS"
75320 if test x$gcc_no_link = xyes; then
75321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75323 { (exit 1); exit 1; }; }
75325 cat >conftest.$ac_ext <<_ACEOF
75326 /* confdefs.h. */
75327 _ACEOF
75328 cat confdefs.h >>conftest.$ac_ext
75329 cat >>conftest.$ac_ext <<_ACEOF
75330 /* end confdefs.h. */
75334 main ()
75336 main ();
75338 return 0;
75340 _ACEOF
75341 rm -f conftest.$ac_objext conftest$ac_exeext
75342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75343 (eval $ac_link) 2>conftest.er1
75344 ac_status=$?
75345 grep -v '^ *+' conftest.er1 >conftest.err
75346 rm -f conftest.er1
75347 cat conftest.err >&5
75348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75349 (exit $ac_status); } &&
75350 { ac_try='test -z "$ac_c_werror_flag"
75351 || test ! -s conftest.err'
75352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75353 (eval $ac_try) 2>&5
75354 ac_status=$?
75355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75356 (exit $ac_status); }; } &&
75357 { ac_try='test -s conftest$ac_exeext'
75358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75359 (eval $ac_try) 2>&5
75360 ac_status=$?
75361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75362 (exit $ac_status); }; }; then
75363 ac_cv_lib_m_main=yes
75364 else
75365 echo "$as_me: failed program was:" >&5
75366 sed 's/^/| /' conftest.$ac_ext >&5
75368 ac_cv_lib_m_main=no
75370 rm -f conftest.err conftest.$ac_objext \
75371 conftest$ac_exeext conftest.$ac_ext
75372 LIBS=$ac_check_lib_save_LIBS
75374 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75375 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75376 if test $ac_cv_lib_m_main = yes; then
75377 cat >>confdefs.h <<_ACEOF
75378 #define HAVE_LIBM 1
75379 _ACEOF
75381 LIBS="-lm $LIBS"
75386 for ac_func in copysignf
75388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75389 echo "$as_me:$LINENO: checking for $ac_func" >&5
75390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75391 if eval "test \"\${$as_ac_var+set}\" = set"; then
75392 echo $ECHO_N "(cached) $ECHO_C" >&6
75393 else
75394 if test x$gcc_no_link = xyes; then
75395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75397 { (exit 1); exit 1; }; }
75399 cat >conftest.$ac_ext <<_ACEOF
75400 /* confdefs.h. */
75401 _ACEOF
75402 cat confdefs.h >>conftest.$ac_ext
75403 cat >>conftest.$ac_ext <<_ACEOF
75404 /* end confdefs.h. */
75405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75407 #define $ac_func innocuous_$ac_func
75409 /* System header to define __stub macros and hopefully few prototypes,
75410 which can conflict with char $ac_func (); below.
75411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75412 <limits.h> exists even on freestanding compilers. */
75414 #ifdef __STDC__
75415 # include <limits.h>
75416 #else
75417 # include <assert.h>
75418 #endif
75420 #undef $ac_func
75422 /* Override any gcc2 internal prototype to avoid an error. */
75423 #ifdef __cplusplus
75424 extern "C"
75426 #endif
75427 /* We use char because int might match the return type of a gcc2
75428 builtin and then its argument prototype would still apply. */
75429 char $ac_func ();
75430 /* The GNU C library defines this for functions which it implements
75431 to always fail with ENOSYS. Some functions are actually named
75432 something starting with __ and the normal name is an alias. */
75433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75434 choke me
75435 #else
75436 char (*f) () = $ac_func;
75437 #endif
75438 #ifdef __cplusplus
75440 #endif
75443 main ()
75445 return f != $ac_func;
75447 return 0;
75449 _ACEOF
75450 rm -f conftest.$ac_objext conftest$ac_exeext
75451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75452 (eval $ac_link) 2>conftest.er1
75453 ac_status=$?
75454 grep -v '^ *+' conftest.er1 >conftest.err
75455 rm -f conftest.er1
75456 cat conftest.err >&5
75457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75458 (exit $ac_status); } &&
75459 { ac_try='test -z "$ac_c_werror_flag"
75460 || test ! -s conftest.err'
75461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75462 (eval $ac_try) 2>&5
75463 ac_status=$?
75464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75465 (exit $ac_status); }; } &&
75466 { ac_try='test -s conftest$ac_exeext'
75467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75468 (eval $ac_try) 2>&5
75469 ac_status=$?
75470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75471 (exit $ac_status); }; }; then
75472 eval "$as_ac_var=yes"
75473 else
75474 echo "$as_me: failed program was:" >&5
75475 sed 's/^/| /' conftest.$ac_ext >&5
75477 eval "$as_ac_var=no"
75479 rm -f conftest.err conftest.$ac_objext \
75480 conftest$ac_exeext conftest.$ac_ext
75482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75484 if test `eval echo '${'$as_ac_var'}'` = yes; then
75485 cat >>confdefs.h <<_ACEOF
75486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75487 _ACEOF
75489 else
75490 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75492 done
75496 for ac_func in __signbit
75498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75499 echo "$as_me:$LINENO: checking for $ac_func" >&5
75500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75501 if eval "test \"\${$as_ac_var+set}\" = set"; then
75502 echo $ECHO_N "(cached) $ECHO_C" >&6
75503 else
75504 if test x$gcc_no_link = xyes; then
75505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75507 { (exit 1); exit 1; }; }
75509 cat >conftest.$ac_ext <<_ACEOF
75510 /* confdefs.h. */
75511 _ACEOF
75512 cat confdefs.h >>conftest.$ac_ext
75513 cat >>conftest.$ac_ext <<_ACEOF
75514 /* end confdefs.h. */
75515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75517 #define $ac_func innocuous_$ac_func
75519 /* System header to define __stub macros and hopefully few prototypes,
75520 which can conflict with char $ac_func (); below.
75521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75522 <limits.h> exists even on freestanding compilers. */
75524 #ifdef __STDC__
75525 # include <limits.h>
75526 #else
75527 # include <assert.h>
75528 #endif
75530 #undef $ac_func
75532 /* Override any gcc2 internal prototype to avoid an error. */
75533 #ifdef __cplusplus
75534 extern "C"
75536 #endif
75537 /* We use char because int might match the return type of a gcc2
75538 builtin and then its argument prototype would still apply. */
75539 char $ac_func ();
75540 /* The GNU C library defines this for functions which it implements
75541 to always fail with ENOSYS. Some functions are actually named
75542 something starting with __ and the normal name is an alias. */
75543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75544 choke me
75545 #else
75546 char (*f) () = $ac_func;
75547 #endif
75548 #ifdef __cplusplus
75550 #endif
75553 main ()
75555 return f != $ac_func;
75557 return 0;
75559 _ACEOF
75560 rm -f conftest.$ac_objext conftest$ac_exeext
75561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75562 (eval $ac_link) 2>conftest.er1
75563 ac_status=$?
75564 grep -v '^ *+' conftest.er1 >conftest.err
75565 rm -f conftest.er1
75566 cat conftest.err >&5
75567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75568 (exit $ac_status); } &&
75569 { ac_try='test -z "$ac_c_werror_flag"
75570 || test ! -s conftest.err'
75571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75572 (eval $ac_try) 2>&5
75573 ac_status=$?
75574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75575 (exit $ac_status); }; } &&
75576 { ac_try='test -s conftest$ac_exeext'
75577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75578 (eval $ac_try) 2>&5
75579 ac_status=$?
75580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75581 (exit $ac_status); }; }; then
75582 eval "$as_ac_var=yes"
75583 else
75584 echo "$as_me: failed program was:" >&5
75585 sed 's/^/| /' conftest.$ac_ext >&5
75587 eval "$as_ac_var=no"
75589 rm -f conftest.err conftest.$ac_objext \
75590 conftest$ac_exeext conftest.$ac_ext
75592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75594 if test `eval echo '${'$as_ac_var'}'` = yes; then
75595 cat >>confdefs.h <<_ACEOF
75596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75597 _ACEOF
75599 else
75600 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75602 done
75606 for ac_func in __signbitf
75608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75609 echo "$as_me:$LINENO: checking for $ac_func" >&5
75610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75611 if eval "test \"\${$as_ac_var+set}\" = set"; then
75612 echo $ECHO_N "(cached) $ECHO_C" >&6
75613 else
75614 if test x$gcc_no_link = xyes; then
75615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75617 { (exit 1); exit 1; }; }
75619 cat >conftest.$ac_ext <<_ACEOF
75620 /* confdefs.h. */
75621 _ACEOF
75622 cat confdefs.h >>conftest.$ac_ext
75623 cat >>conftest.$ac_ext <<_ACEOF
75624 /* end confdefs.h. */
75625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75627 #define $ac_func innocuous_$ac_func
75629 /* System header to define __stub macros and hopefully few prototypes,
75630 which can conflict with char $ac_func (); below.
75631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75632 <limits.h> exists even on freestanding compilers. */
75634 #ifdef __STDC__
75635 # include <limits.h>
75636 #else
75637 # include <assert.h>
75638 #endif
75640 #undef $ac_func
75642 /* Override any gcc2 internal prototype to avoid an error. */
75643 #ifdef __cplusplus
75644 extern "C"
75646 #endif
75647 /* We use char because int might match the return type of a gcc2
75648 builtin and then its argument prototype would still apply. */
75649 char $ac_func ();
75650 /* The GNU C library defines this for functions which it implements
75651 to always fail with ENOSYS. Some functions are actually named
75652 something starting with __ and the normal name is an alias. */
75653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75654 choke me
75655 #else
75656 char (*f) () = $ac_func;
75657 #endif
75658 #ifdef __cplusplus
75660 #endif
75663 main ()
75665 return f != $ac_func;
75667 return 0;
75669 _ACEOF
75670 rm -f conftest.$ac_objext conftest$ac_exeext
75671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75672 (eval $ac_link) 2>conftest.er1
75673 ac_status=$?
75674 grep -v '^ *+' conftest.er1 >conftest.err
75675 rm -f conftest.er1
75676 cat conftest.err >&5
75677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75678 (exit $ac_status); } &&
75679 { ac_try='test -z "$ac_c_werror_flag"
75680 || test ! -s conftest.err'
75681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75682 (eval $ac_try) 2>&5
75683 ac_status=$?
75684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75685 (exit $ac_status); }; } &&
75686 { ac_try='test -s conftest$ac_exeext'
75687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75688 (eval $ac_try) 2>&5
75689 ac_status=$?
75690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75691 (exit $ac_status); }; }; then
75692 eval "$as_ac_var=yes"
75693 else
75694 echo "$as_me: failed program was:" >&5
75695 sed 's/^/| /' conftest.$ac_ext >&5
75697 eval "$as_ac_var=no"
75699 rm -f conftest.err conftest.$ac_objext \
75700 conftest$ac_exeext conftest.$ac_ext
75702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75704 if test `eval echo '${'$as_ac_var'}'` = yes; then
75705 cat >>confdefs.h <<_ACEOF
75706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75707 _ACEOF
75709 else
75710 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75712 done
75715 if test x$ac_cv_func_copysignl = x"yes"; then
75717 for ac_func in __signbitl
75719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75720 echo "$as_me:$LINENO: checking for $ac_func" >&5
75721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75722 if eval "test \"\${$as_ac_var+set}\" = set"; then
75723 echo $ECHO_N "(cached) $ECHO_C" >&6
75724 else
75725 if test x$gcc_no_link = xyes; then
75726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75728 { (exit 1); exit 1; }; }
75730 cat >conftest.$ac_ext <<_ACEOF
75731 /* confdefs.h. */
75732 _ACEOF
75733 cat confdefs.h >>conftest.$ac_ext
75734 cat >>conftest.$ac_ext <<_ACEOF
75735 /* end confdefs.h. */
75736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75738 #define $ac_func innocuous_$ac_func
75740 /* System header to define __stub macros and hopefully few prototypes,
75741 which can conflict with char $ac_func (); below.
75742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75743 <limits.h> exists even on freestanding compilers. */
75745 #ifdef __STDC__
75746 # include <limits.h>
75747 #else
75748 # include <assert.h>
75749 #endif
75751 #undef $ac_func
75753 /* Override any gcc2 internal prototype to avoid an error. */
75754 #ifdef __cplusplus
75755 extern "C"
75757 #endif
75758 /* We use char because int might match the return type of a gcc2
75759 builtin and then its argument prototype would still apply. */
75760 char $ac_func ();
75761 /* The GNU C library defines this for functions which it implements
75762 to always fail with ENOSYS. Some functions are actually named
75763 something starting with __ and the normal name is an alias. */
75764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75765 choke me
75766 #else
75767 char (*f) () = $ac_func;
75768 #endif
75769 #ifdef __cplusplus
75771 #endif
75774 main ()
75776 return f != $ac_func;
75778 return 0;
75780 _ACEOF
75781 rm -f conftest.$ac_objext conftest$ac_exeext
75782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75783 (eval $ac_link) 2>conftest.er1
75784 ac_status=$?
75785 grep -v '^ *+' conftest.er1 >conftest.err
75786 rm -f conftest.er1
75787 cat conftest.err >&5
75788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75789 (exit $ac_status); } &&
75790 { ac_try='test -z "$ac_c_werror_flag"
75791 || test ! -s conftest.err'
75792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75793 (eval $ac_try) 2>&5
75794 ac_status=$?
75795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75796 (exit $ac_status); }; } &&
75797 { ac_try='test -s conftest$ac_exeext'
75798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75799 (eval $ac_try) 2>&5
75800 ac_status=$?
75801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75802 (exit $ac_status); }; }; then
75803 eval "$as_ac_var=yes"
75804 else
75805 echo "$as_me: failed program was:" >&5
75806 sed 's/^/| /' conftest.$ac_ext >&5
75808 eval "$as_ac_var=no"
75810 rm -f conftest.err conftest.$ac_objext \
75811 conftest$ac_exeext conftest.$ac_ext
75813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75815 if test `eval echo '${'$as_ac_var'}'` = yes; then
75816 cat >>confdefs.h <<_ACEOF
75817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75818 _ACEOF
75820 else
75821 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75823 done
75827 # Used in libmath/Makefile.am.
75828 if test -n "$LIBMATHOBJS"; then
75829 need_libmath=yes
75834 # Test wchar.h for mbstate_t, which is needed for char_traits and
75835 # others even if wchar_t support is not on.
75836 echo "$as_me:$LINENO: checking for mbstate_t" >&5
75837 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75838 cat >conftest.$ac_ext <<_ACEOF
75839 /* confdefs.h. */
75840 _ACEOF
75841 cat confdefs.h >>conftest.$ac_ext
75842 cat >>conftest.$ac_ext <<_ACEOF
75843 /* end confdefs.h. */
75844 #include <wchar.h>
75846 main ()
75848 mbstate_t teststate;
75850 return 0;
75852 _ACEOF
75853 rm -f conftest.$ac_objext
75854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75855 (eval $ac_compile) 2>conftest.er1
75856 ac_status=$?
75857 grep -v '^ *+' conftest.er1 >conftest.err
75858 rm -f conftest.er1
75859 cat conftest.err >&5
75860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75861 (exit $ac_status); } &&
75862 { ac_try='test -z "$ac_c_werror_flag"
75863 || test ! -s conftest.err'
75864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75865 (eval $ac_try) 2>&5
75866 ac_status=$?
75867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75868 (exit $ac_status); }; } &&
75869 { ac_try='test -s conftest.$ac_objext'
75870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75871 (eval $ac_try) 2>&5
75872 ac_status=$?
75873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75874 (exit $ac_status); }; }; then
75875 have_mbstate_t=yes
75876 else
75877 echo "$as_me: failed program was:" >&5
75878 sed 's/^/| /' conftest.$ac_ext >&5
75880 have_mbstate_t=no
75882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75883 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75884 echo "${ECHO_T}$have_mbstate_t" >&6
75885 if test x"$have_mbstate_t" = xyes; then
75886 cat >>confdefs.h <<\_ACEOF
75887 #define HAVE_MBSTATE_T 1
75888 _ACEOF
75892 # Sanity check for existence of ISO C99 headers for extended encoding.
75894 for ac_header in wchar.h
75896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75898 echo "$as_me:$LINENO: checking for $ac_header" >&5
75899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75901 echo $ECHO_N "(cached) $ECHO_C" >&6
75903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75905 else
75906 # Is the header compilable?
75907 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75909 cat >conftest.$ac_ext <<_ACEOF
75910 /* confdefs.h. */
75911 _ACEOF
75912 cat confdefs.h >>conftest.$ac_ext
75913 cat >>conftest.$ac_ext <<_ACEOF
75914 /* end confdefs.h. */
75915 $ac_includes_default
75916 #include <$ac_header>
75917 _ACEOF
75918 rm -f conftest.$ac_objext
75919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75920 (eval $ac_compile) 2>conftest.er1
75921 ac_status=$?
75922 grep -v '^ *+' conftest.er1 >conftest.err
75923 rm -f conftest.er1
75924 cat conftest.err >&5
75925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75926 (exit $ac_status); } &&
75927 { ac_try='test -z "$ac_c_werror_flag"
75928 || test ! -s conftest.err'
75929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75930 (eval $ac_try) 2>&5
75931 ac_status=$?
75932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75933 (exit $ac_status); }; } &&
75934 { ac_try='test -s conftest.$ac_objext'
75935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75936 (eval $ac_try) 2>&5
75937 ac_status=$?
75938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75939 (exit $ac_status); }; }; then
75940 ac_header_compiler=yes
75941 else
75942 echo "$as_me: failed program was:" >&5
75943 sed 's/^/| /' conftest.$ac_ext >&5
75945 ac_header_compiler=no
75947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75949 echo "${ECHO_T}$ac_header_compiler" >&6
75951 # Is the header present?
75952 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75954 cat >conftest.$ac_ext <<_ACEOF
75955 /* confdefs.h. */
75956 _ACEOF
75957 cat confdefs.h >>conftest.$ac_ext
75958 cat >>conftest.$ac_ext <<_ACEOF
75959 /* end confdefs.h. */
75960 #include <$ac_header>
75961 _ACEOF
75962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75964 ac_status=$?
75965 grep -v '^ *+' conftest.er1 >conftest.err
75966 rm -f conftest.er1
75967 cat conftest.err >&5
75968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75969 (exit $ac_status); } >/dev/null; then
75970 if test -s conftest.err; then
75971 ac_cpp_err=$ac_c_preproc_warn_flag
75972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75973 else
75974 ac_cpp_err=
75976 else
75977 ac_cpp_err=yes
75979 if test -z "$ac_cpp_err"; then
75980 ac_header_preproc=yes
75981 else
75982 echo "$as_me: failed program was:" >&5
75983 sed 's/^/| /' conftest.$ac_ext >&5
75985 ac_header_preproc=no
75987 rm -f conftest.err conftest.$ac_ext
75988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75989 echo "${ECHO_T}$ac_header_preproc" >&6
75991 # So? What about this header?
75992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75993 yes:no: )
75994 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75995 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75997 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75998 ac_header_preproc=yes
76000 no:yes:* )
76001 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76003 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76004 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76005 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76006 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76007 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76008 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76010 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76011 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76012 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76014 cat <<\_ASBOX
76015 ## ----------------------------------------- ##
76016 ## Report this to the package-unused lists. ##
76017 ## ----------------------------------------- ##
76018 _ASBOX
76020 sed "s/^/$as_me: WARNING: /" >&2
76022 esac
76023 echo "$as_me:$LINENO: checking for $ac_header" >&5
76024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76026 echo $ECHO_N "(cached) $ECHO_C" >&6
76027 else
76028 eval "$as_ac_Header=\$ac_header_preproc"
76030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76035 cat >>confdefs.h <<_ACEOF
76036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76037 _ACEOF
76038 ac_has_wchar_h=yes
76039 else
76040 ac_has_wchar_h=no
76043 done
76046 for ac_header in wctype.h
76048 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76050 echo "$as_me:$LINENO: checking for $ac_header" >&5
76051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76053 echo $ECHO_N "(cached) $ECHO_C" >&6
76055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76057 else
76058 # Is the header compilable?
76059 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76060 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76061 cat >conftest.$ac_ext <<_ACEOF
76062 /* confdefs.h. */
76063 _ACEOF
76064 cat confdefs.h >>conftest.$ac_ext
76065 cat >>conftest.$ac_ext <<_ACEOF
76066 /* end confdefs.h. */
76067 $ac_includes_default
76068 #include <$ac_header>
76069 _ACEOF
76070 rm -f conftest.$ac_objext
76071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76072 (eval $ac_compile) 2>conftest.er1
76073 ac_status=$?
76074 grep -v '^ *+' conftest.er1 >conftest.err
76075 rm -f conftest.er1
76076 cat conftest.err >&5
76077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76078 (exit $ac_status); } &&
76079 { ac_try='test -z "$ac_c_werror_flag"
76080 || test ! -s conftest.err'
76081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76082 (eval $ac_try) 2>&5
76083 ac_status=$?
76084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76085 (exit $ac_status); }; } &&
76086 { ac_try='test -s conftest.$ac_objext'
76087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76088 (eval $ac_try) 2>&5
76089 ac_status=$?
76090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76091 (exit $ac_status); }; }; then
76092 ac_header_compiler=yes
76093 else
76094 echo "$as_me: failed program was:" >&5
76095 sed 's/^/| /' conftest.$ac_ext >&5
76097 ac_header_compiler=no
76099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76101 echo "${ECHO_T}$ac_header_compiler" >&6
76103 # Is the header present?
76104 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76105 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76106 cat >conftest.$ac_ext <<_ACEOF
76107 /* confdefs.h. */
76108 _ACEOF
76109 cat confdefs.h >>conftest.$ac_ext
76110 cat >>conftest.$ac_ext <<_ACEOF
76111 /* end confdefs.h. */
76112 #include <$ac_header>
76113 _ACEOF
76114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76116 ac_status=$?
76117 grep -v '^ *+' conftest.er1 >conftest.err
76118 rm -f conftest.er1
76119 cat conftest.err >&5
76120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76121 (exit $ac_status); } >/dev/null; then
76122 if test -s conftest.err; then
76123 ac_cpp_err=$ac_c_preproc_warn_flag
76124 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76125 else
76126 ac_cpp_err=
76128 else
76129 ac_cpp_err=yes
76131 if test -z "$ac_cpp_err"; then
76132 ac_header_preproc=yes
76133 else
76134 echo "$as_me: failed program was:" >&5
76135 sed 's/^/| /' conftest.$ac_ext >&5
76137 ac_header_preproc=no
76139 rm -f conftest.err conftest.$ac_ext
76140 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76141 echo "${ECHO_T}$ac_header_preproc" >&6
76143 # So? What about this header?
76144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76145 yes:no: )
76146 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76147 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76149 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76150 ac_header_preproc=yes
76152 no:yes:* )
76153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76156 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76157 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76158 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76159 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76160 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76163 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76164 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76166 cat <<\_ASBOX
76167 ## ----------------------------------------- ##
76168 ## Report this to the package-unused lists. ##
76169 ## ----------------------------------------- ##
76170 _ASBOX
76172 sed "s/^/$as_me: WARNING: /" >&2
76174 esac
76175 echo "$as_me:$LINENO: checking for $ac_header" >&5
76176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76178 echo $ECHO_N "(cached) $ECHO_C" >&6
76179 else
76180 eval "$as_ac_Header=\$ac_header_preproc"
76182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76187 cat >>confdefs.h <<_ACEOF
76188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76189 _ACEOF
76190 ac_has_wctype_h=yes
76191 else
76192 ac_has_wctype_h=no
76195 done
76198 # Only continue checking if the ISO C99 headers exist and support is on.
76199 if test x"$ac_has_wchar_h" = xyes &&
76200 test x"$ac_has_wctype_h" = xyes &&
76201 test x"$enable_c_mbchar" != xno; then
76203 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
76204 # numeric_limits can instantiate type_traits<wchar_t>
76205 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
76206 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
76207 cat >conftest.$ac_ext <<_ACEOF
76208 /* confdefs.h. */
76209 _ACEOF
76210 cat confdefs.h >>conftest.$ac_ext
76211 cat >>conftest.$ac_ext <<_ACEOF
76212 /* end confdefs.h. */
76213 #include <wchar.h>
76215 main ()
76217 int i = WCHAR_MIN; int j = WCHAR_MAX;
76219 return 0;
76221 _ACEOF
76222 rm -f conftest.$ac_objext
76223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76224 (eval $ac_compile) 2>conftest.er1
76225 ac_status=$?
76226 grep -v '^ *+' conftest.er1 >conftest.err
76227 rm -f conftest.er1
76228 cat conftest.err >&5
76229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76230 (exit $ac_status); } &&
76231 { ac_try='test -z "$ac_c_werror_flag"
76232 || test ! -s conftest.err'
76233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76234 (eval $ac_try) 2>&5
76235 ac_status=$?
76236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76237 (exit $ac_status); }; } &&
76238 { ac_try='test -s conftest.$ac_objext'
76239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76240 (eval $ac_try) 2>&5
76241 ac_status=$?
76242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76243 (exit $ac_status); }; }; then
76244 has_wchar_minmax=yes
76245 else
76246 echo "$as_me: failed program was:" >&5
76247 sed 's/^/| /' conftest.$ac_ext >&5
76249 has_wchar_minmax=no
76251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76252 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
76253 echo "${ECHO_T}$has_wchar_minmax" >&6
76255 # Test wchar.h for WEOF, which is what we use to determine whether
76256 # to specialize for char_traits<wchar_t> or not.
76257 echo "$as_me:$LINENO: checking for WEOF" >&5
76258 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
76259 cat >conftest.$ac_ext <<_ACEOF
76260 /* confdefs.h. */
76261 _ACEOF
76262 cat confdefs.h >>conftest.$ac_ext
76263 cat >>conftest.$ac_ext <<_ACEOF
76264 /* end confdefs.h. */
76266 #include <wchar.h>
76267 #include <stddef.h>
76269 main ()
76271 wint_t i = WEOF;
76273 return 0;
76275 _ACEOF
76276 rm -f conftest.$ac_objext
76277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76278 (eval $ac_compile) 2>conftest.er1
76279 ac_status=$?
76280 grep -v '^ *+' conftest.er1 >conftest.err
76281 rm -f conftest.er1
76282 cat conftest.err >&5
76283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76284 (exit $ac_status); } &&
76285 { ac_try='test -z "$ac_c_werror_flag"
76286 || test ! -s conftest.err'
76287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76288 (eval $ac_try) 2>&5
76289 ac_status=$?
76290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76291 (exit $ac_status); }; } &&
76292 { ac_try='test -s conftest.$ac_objext'
76293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76294 (eval $ac_try) 2>&5
76295 ac_status=$?
76296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76297 (exit $ac_status); }; }; then
76298 has_weof=yes
76299 else
76300 echo "$as_me: failed program was:" >&5
76301 sed 's/^/| /' conftest.$ac_ext >&5
76303 has_weof=no
76305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76306 echo "$as_me:$LINENO: result: $has_weof" >&5
76307 echo "${ECHO_T}$has_weof" >&6
76309 # Tests for wide character functions used in char_traits<wchar_t>.
76310 ac_wfuncs=yes
76317 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
76319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76320 echo "$as_me:$LINENO: checking for $ac_func" >&5
76321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76322 if eval "test \"\${$as_ac_var+set}\" = set"; then
76323 echo $ECHO_N "(cached) $ECHO_C" >&6
76324 else
76325 if test x$gcc_no_link = xyes; then
76326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76328 { (exit 1); exit 1; }; }
76330 cat >conftest.$ac_ext <<_ACEOF
76331 /* confdefs.h. */
76332 _ACEOF
76333 cat confdefs.h >>conftest.$ac_ext
76334 cat >>conftest.$ac_ext <<_ACEOF
76335 /* end confdefs.h. */
76336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76338 #define $ac_func innocuous_$ac_func
76340 /* System header to define __stub macros and hopefully few prototypes,
76341 which can conflict with char $ac_func (); below.
76342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76343 <limits.h> exists even on freestanding compilers. */
76345 #ifdef __STDC__
76346 # include <limits.h>
76347 #else
76348 # include <assert.h>
76349 #endif
76351 #undef $ac_func
76353 /* Override any gcc2 internal prototype to avoid an error. */
76354 #ifdef __cplusplus
76355 extern "C"
76357 #endif
76358 /* We use char because int might match the return type of a gcc2
76359 builtin and then its argument prototype would still apply. */
76360 char $ac_func ();
76361 /* The GNU C library defines this for functions which it implements
76362 to always fail with ENOSYS. Some functions are actually named
76363 something starting with __ and the normal name is an alias. */
76364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76365 choke me
76366 #else
76367 char (*f) () = $ac_func;
76368 #endif
76369 #ifdef __cplusplus
76371 #endif
76374 main ()
76376 return f != $ac_func;
76378 return 0;
76380 _ACEOF
76381 rm -f conftest.$ac_objext conftest$ac_exeext
76382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76383 (eval $ac_link) 2>conftest.er1
76384 ac_status=$?
76385 grep -v '^ *+' conftest.er1 >conftest.err
76386 rm -f conftest.er1
76387 cat conftest.err >&5
76388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76389 (exit $ac_status); } &&
76390 { ac_try='test -z "$ac_c_werror_flag"
76391 || test ! -s conftest.err'
76392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76393 (eval $ac_try) 2>&5
76394 ac_status=$?
76395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76396 (exit $ac_status); }; } &&
76397 { ac_try='test -s conftest$ac_exeext'
76398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76399 (eval $ac_try) 2>&5
76400 ac_status=$?
76401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76402 (exit $ac_status); }; }; then
76403 eval "$as_ac_var=yes"
76404 else
76405 echo "$as_me: failed program was:" >&5
76406 sed 's/^/| /' conftest.$ac_ext >&5
76408 eval "$as_ac_var=no"
76410 rm -f conftest.err conftest.$ac_objext \
76411 conftest$ac_exeext conftest.$ac_ext
76413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76415 if test `eval echo '${'$as_ac_var'}'` = yes; then
76416 cat >>confdefs.h <<_ACEOF
76417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76418 _ACEOF
76420 else
76421 ac_wfuncs=no
76423 done
76426 # Checks for names injected into std:: by the c_std headers.
76473 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
76474 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
76475 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
76476 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
76477 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
76478 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
76480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76481 echo "$as_me:$LINENO: checking for $ac_func" >&5
76482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76483 if eval "test \"\${$as_ac_var+set}\" = set"; then
76484 echo $ECHO_N "(cached) $ECHO_C" >&6
76485 else
76486 if test x$gcc_no_link = xyes; then
76487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76489 { (exit 1); exit 1; }; }
76491 cat >conftest.$ac_ext <<_ACEOF
76492 /* confdefs.h. */
76493 _ACEOF
76494 cat confdefs.h >>conftest.$ac_ext
76495 cat >>conftest.$ac_ext <<_ACEOF
76496 /* end confdefs.h. */
76497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76499 #define $ac_func innocuous_$ac_func
76501 /* System header to define __stub macros and hopefully few prototypes,
76502 which can conflict with char $ac_func (); below.
76503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76504 <limits.h> exists even on freestanding compilers. */
76506 #ifdef __STDC__
76507 # include <limits.h>
76508 #else
76509 # include <assert.h>
76510 #endif
76512 #undef $ac_func
76514 /* Override any gcc2 internal prototype to avoid an error. */
76515 #ifdef __cplusplus
76516 extern "C"
76518 #endif
76519 /* We use char because int might match the return type of a gcc2
76520 builtin and then its argument prototype would still apply. */
76521 char $ac_func ();
76522 /* The GNU C library defines this for functions which it implements
76523 to always fail with ENOSYS. Some functions are actually named
76524 something starting with __ and the normal name is an alias. */
76525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76526 choke me
76527 #else
76528 char (*f) () = $ac_func;
76529 #endif
76530 #ifdef __cplusplus
76532 #endif
76535 main ()
76537 return f != $ac_func;
76539 return 0;
76541 _ACEOF
76542 rm -f conftest.$ac_objext conftest$ac_exeext
76543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76544 (eval $ac_link) 2>conftest.er1
76545 ac_status=$?
76546 grep -v '^ *+' conftest.er1 >conftest.err
76547 rm -f conftest.er1
76548 cat conftest.err >&5
76549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76550 (exit $ac_status); } &&
76551 { ac_try='test -z "$ac_c_werror_flag"
76552 || test ! -s conftest.err'
76553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76554 (eval $ac_try) 2>&5
76555 ac_status=$?
76556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76557 (exit $ac_status); }; } &&
76558 { ac_try='test -s conftest$ac_exeext'
76559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76560 (eval $ac_try) 2>&5
76561 ac_status=$?
76562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76563 (exit $ac_status); }; }; then
76564 eval "$as_ac_var=yes"
76565 else
76566 echo "$as_me: failed program was:" >&5
76567 sed 's/^/| /' conftest.$ac_ext >&5
76569 eval "$as_ac_var=no"
76571 rm -f conftest.err conftest.$ac_objext \
76572 conftest$ac_exeext conftest.$ac_ext
76574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76576 if test `eval echo '${'$as_ac_var'}'` = yes; then
76577 cat >>confdefs.h <<_ACEOF
76578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76579 _ACEOF
76581 else
76582 ac_wfuncs=no
76584 done
76587 # Checks for wide character functions that are not required
76588 # for basic wchar_t support. Don't disable support if they are missing.
76589 # Injection of these is wrapped with guard macros.
76595 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
76597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76598 echo "$as_me:$LINENO: checking for $ac_func" >&5
76599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76600 if eval "test \"\${$as_ac_var+set}\" = set"; then
76601 echo $ECHO_N "(cached) $ECHO_C" >&6
76602 else
76603 if test x$gcc_no_link = xyes; then
76604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76606 { (exit 1); exit 1; }; }
76608 cat >conftest.$ac_ext <<_ACEOF
76609 /* confdefs.h. */
76610 _ACEOF
76611 cat confdefs.h >>conftest.$ac_ext
76612 cat >>conftest.$ac_ext <<_ACEOF
76613 /* end confdefs.h. */
76614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76616 #define $ac_func innocuous_$ac_func
76618 /* System header to define __stub macros and hopefully few prototypes,
76619 which can conflict with char $ac_func (); below.
76620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76621 <limits.h> exists even on freestanding compilers. */
76623 #ifdef __STDC__
76624 # include <limits.h>
76625 #else
76626 # include <assert.h>
76627 #endif
76629 #undef $ac_func
76631 /* Override any gcc2 internal prototype to avoid an error. */
76632 #ifdef __cplusplus
76633 extern "C"
76635 #endif
76636 /* We use char because int might match the return type of a gcc2
76637 builtin and then its argument prototype would still apply. */
76638 char $ac_func ();
76639 /* The GNU C library defines this for functions which it implements
76640 to always fail with ENOSYS. Some functions are actually named
76641 something starting with __ and the normal name is an alias. */
76642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76643 choke me
76644 #else
76645 char (*f) () = $ac_func;
76646 #endif
76647 #ifdef __cplusplus
76649 #endif
76652 main ()
76654 return f != $ac_func;
76656 return 0;
76658 _ACEOF
76659 rm -f conftest.$ac_objext conftest$ac_exeext
76660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76661 (eval $ac_link) 2>conftest.er1
76662 ac_status=$?
76663 grep -v '^ *+' conftest.er1 >conftest.err
76664 rm -f conftest.er1
76665 cat conftest.err >&5
76666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76667 (exit $ac_status); } &&
76668 { ac_try='test -z "$ac_c_werror_flag"
76669 || test ! -s conftest.err'
76670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76671 (eval $ac_try) 2>&5
76672 ac_status=$?
76673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76674 (exit $ac_status); }; } &&
76675 { ac_try='test -s conftest$ac_exeext'
76676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76677 (eval $ac_try) 2>&5
76678 ac_status=$?
76679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76680 (exit $ac_status); }; }; then
76681 eval "$as_ac_var=yes"
76682 else
76683 echo "$as_me: failed program was:" >&5
76684 sed 's/^/| /' conftest.$ac_ext >&5
76686 eval "$as_ac_var=no"
76688 rm -f conftest.err conftest.$ac_objext \
76689 conftest$ac_exeext conftest.$ac_ext
76691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76693 if test `eval echo '${'$as_ac_var'}'` = yes; then
76694 cat >>confdefs.h <<_ACEOF
76695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76696 _ACEOF
76699 done
76702 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
76703 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
76704 if test x"$has_weof" = xyes &&
76705 test x"$has_wchar_minmax" = xyes &&
76706 test x"$ac_wfuncs" = xyes;
76707 then
76708 ac_isoC99_wchar_t=yes
76709 else
76710 ac_isoC99_wchar_t=no
76712 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
76713 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
76715 # Use iconv for wchar_t to char conversions. As such, check for
76716 # X/Open Portability Guide, version 2 features (XPG2).
76717 if test "${ac_cv_header_iconv_h+set}" = set; then
76718 echo "$as_me:$LINENO: checking for iconv.h" >&5
76719 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76720 if test "${ac_cv_header_iconv_h+set}" = set; then
76721 echo $ECHO_N "(cached) $ECHO_C" >&6
76723 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76724 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76725 else
76726 # Is the header compilable?
76727 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76728 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76729 cat >conftest.$ac_ext <<_ACEOF
76730 /* confdefs.h. */
76731 _ACEOF
76732 cat confdefs.h >>conftest.$ac_ext
76733 cat >>conftest.$ac_ext <<_ACEOF
76734 /* end confdefs.h. */
76735 $ac_includes_default
76736 #include <iconv.h>
76737 _ACEOF
76738 rm -f conftest.$ac_objext
76739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76740 (eval $ac_compile) 2>conftest.er1
76741 ac_status=$?
76742 grep -v '^ *+' conftest.er1 >conftest.err
76743 rm -f conftest.er1
76744 cat conftest.err >&5
76745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76746 (exit $ac_status); } &&
76747 { ac_try='test -z "$ac_c_werror_flag"
76748 || test ! -s conftest.err'
76749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76750 (eval $ac_try) 2>&5
76751 ac_status=$?
76752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76753 (exit $ac_status); }; } &&
76754 { ac_try='test -s conftest.$ac_objext'
76755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76756 (eval $ac_try) 2>&5
76757 ac_status=$?
76758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76759 (exit $ac_status); }; }; then
76760 ac_header_compiler=yes
76761 else
76762 echo "$as_me: failed program was:" >&5
76763 sed 's/^/| /' conftest.$ac_ext >&5
76765 ac_header_compiler=no
76767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76769 echo "${ECHO_T}$ac_header_compiler" >&6
76771 # Is the header present?
76772 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76773 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76774 cat >conftest.$ac_ext <<_ACEOF
76775 /* confdefs.h. */
76776 _ACEOF
76777 cat confdefs.h >>conftest.$ac_ext
76778 cat >>conftest.$ac_ext <<_ACEOF
76779 /* end confdefs.h. */
76780 #include <iconv.h>
76781 _ACEOF
76782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76783 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76784 ac_status=$?
76785 grep -v '^ *+' conftest.er1 >conftest.err
76786 rm -f conftest.er1
76787 cat conftest.err >&5
76788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76789 (exit $ac_status); } >/dev/null; then
76790 if test -s conftest.err; then
76791 ac_cpp_err=$ac_c_preproc_warn_flag
76792 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76793 else
76794 ac_cpp_err=
76796 else
76797 ac_cpp_err=yes
76799 if test -z "$ac_cpp_err"; then
76800 ac_header_preproc=yes
76801 else
76802 echo "$as_me: failed program was:" >&5
76803 sed 's/^/| /' conftest.$ac_ext >&5
76805 ac_header_preproc=no
76807 rm -f conftest.err conftest.$ac_ext
76808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76809 echo "${ECHO_T}$ac_header_preproc" >&6
76811 # So? What about this header?
76812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76813 yes:no: )
76814 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76815 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76816 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76817 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76818 ac_header_preproc=yes
76820 no:yes:* )
76821 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76822 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76823 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76824 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76825 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76826 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76827 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76828 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76829 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76830 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76831 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76832 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76834 cat <<\_ASBOX
76835 ## ----------------------------------------- ##
76836 ## Report this to the package-unused lists. ##
76837 ## ----------------------------------------- ##
76838 _ASBOX
76840 sed "s/^/$as_me: WARNING: /" >&2
76842 esac
76843 echo "$as_me:$LINENO: checking for iconv.h" >&5
76844 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76845 if test "${ac_cv_header_iconv_h+set}" = set; then
76846 echo $ECHO_N "(cached) $ECHO_C" >&6
76847 else
76848 ac_cv_header_iconv_h=$ac_header_preproc
76850 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76851 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76854 if test $ac_cv_header_iconv_h = yes; then
76855 ac_has_iconv_h=yes
76856 else
76857 ac_has_iconv_h=no
76861 if test "${ac_cv_header_langinfo_h+set}" = set; then
76862 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76863 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76864 if test "${ac_cv_header_langinfo_h+set}" = set; then
76865 echo $ECHO_N "(cached) $ECHO_C" >&6
76867 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76868 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76869 else
76870 # Is the header compilable?
76871 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76872 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76873 cat >conftest.$ac_ext <<_ACEOF
76874 /* confdefs.h. */
76875 _ACEOF
76876 cat confdefs.h >>conftest.$ac_ext
76877 cat >>conftest.$ac_ext <<_ACEOF
76878 /* end confdefs.h. */
76879 $ac_includes_default
76880 #include <langinfo.h>
76881 _ACEOF
76882 rm -f conftest.$ac_objext
76883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76884 (eval $ac_compile) 2>conftest.er1
76885 ac_status=$?
76886 grep -v '^ *+' conftest.er1 >conftest.err
76887 rm -f conftest.er1
76888 cat conftest.err >&5
76889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76890 (exit $ac_status); } &&
76891 { ac_try='test -z "$ac_c_werror_flag"
76892 || test ! -s conftest.err'
76893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76894 (eval $ac_try) 2>&5
76895 ac_status=$?
76896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76897 (exit $ac_status); }; } &&
76898 { ac_try='test -s conftest.$ac_objext'
76899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76900 (eval $ac_try) 2>&5
76901 ac_status=$?
76902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76903 (exit $ac_status); }; }; then
76904 ac_header_compiler=yes
76905 else
76906 echo "$as_me: failed program was:" >&5
76907 sed 's/^/| /' conftest.$ac_ext >&5
76909 ac_header_compiler=no
76911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76912 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76913 echo "${ECHO_T}$ac_header_compiler" >&6
76915 # Is the header present?
76916 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76917 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76918 cat >conftest.$ac_ext <<_ACEOF
76919 /* confdefs.h. */
76920 _ACEOF
76921 cat confdefs.h >>conftest.$ac_ext
76922 cat >>conftest.$ac_ext <<_ACEOF
76923 /* end confdefs.h. */
76924 #include <langinfo.h>
76925 _ACEOF
76926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76927 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76928 ac_status=$?
76929 grep -v '^ *+' conftest.er1 >conftest.err
76930 rm -f conftest.er1
76931 cat conftest.err >&5
76932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76933 (exit $ac_status); } >/dev/null; then
76934 if test -s conftest.err; then
76935 ac_cpp_err=$ac_c_preproc_warn_flag
76936 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76937 else
76938 ac_cpp_err=
76940 else
76941 ac_cpp_err=yes
76943 if test -z "$ac_cpp_err"; then
76944 ac_header_preproc=yes
76945 else
76946 echo "$as_me: failed program was:" >&5
76947 sed 's/^/| /' conftest.$ac_ext >&5
76949 ac_header_preproc=no
76951 rm -f conftest.err conftest.$ac_ext
76952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76953 echo "${ECHO_T}$ac_header_preproc" >&6
76955 # So? What about this header?
76956 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76957 yes:no: )
76958 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76959 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76960 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76961 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76962 ac_header_preproc=yes
76964 no:yes:* )
76965 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76966 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76967 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76968 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76969 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76970 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76971 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76972 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76973 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76974 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76975 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76976 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76978 cat <<\_ASBOX
76979 ## ----------------------------------------- ##
76980 ## Report this to the package-unused lists. ##
76981 ## ----------------------------------------- ##
76982 _ASBOX
76984 sed "s/^/$as_me: WARNING: /" >&2
76986 esac
76987 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76988 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76989 if test "${ac_cv_header_langinfo_h+set}" = set; then
76990 echo $ECHO_N "(cached) $ECHO_C" >&6
76991 else
76992 ac_cv_header_langinfo_h=$ac_header_preproc
76994 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76995 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76998 if test $ac_cv_header_langinfo_h = yes; then
76999 ac_has_langinfo_h=yes
77000 else
77001 ac_has_langinfo_h=no
77006 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77007 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77008 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77009 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77010 echo $ECHO_N "(cached) $ECHO_C" >&6
77011 else
77012 ac_check_lib_save_LIBS=$LIBS
77013 LIBS="-liconv $LIBS"
77014 if test x$gcc_no_link = xyes; then
77015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77017 { (exit 1); exit 1; }; }
77019 cat >conftest.$ac_ext <<_ACEOF
77020 /* confdefs.h. */
77021 _ACEOF
77022 cat confdefs.h >>conftest.$ac_ext
77023 cat >>conftest.$ac_ext <<_ACEOF
77024 /* end confdefs.h. */
77026 /* Override any gcc2 internal prototype to avoid an error. */
77027 #ifdef __cplusplus
77028 extern "C"
77029 #endif
77030 /* We use char because int might match the return type of a gcc2
77031 builtin and then its argument prototype would still apply. */
77032 char iconv ();
77034 main ()
77036 iconv ();
77038 return 0;
77040 _ACEOF
77041 rm -f conftest.$ac_objext conftest$ac_exeext
77042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77043 (eval $ac_link) 2>conftest.er1
77044 ac_status=$?
77045 grep -v '^ *+' conftest.er1 >conftest.err
77046 rm -f conftest.er1
77047 cat conftest.err >&5
77048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77049 (exit $ac_status); } &&
77050 { ac_try='test -z "$ac_c_werror_flag"
77051 || test ! -s conftest.err'
77052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77053 (eval $ac_try) 2>&5
77054 ac_status=$?
77055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77056 (exit $ac_status); }; } &&
77057 { ac_try='test -s conftest$ac_exeext'
77058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77059 (eval $ac_try) 2>&5
77060 ac_status=$?
77061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77062 (exit $ac_status); }; }; then
77063 ac_cv_lib_iconv_iconv=yes
77064 else
77065 echo "$as_me: failed program was:" >&5
77066 sed 's/^/| /' conftest.$ac_ext >&5
77068 ac_cv_lib_iconv_iconv=no
77070 rm -f conftest.err conftest.$ac_objext \
77071 conftest$ac_exeext conftest.$ac_ext
77072 LIBS=$ac_check_lib_save_LIBS
77074 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77075 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77076 if test $ac_cv_lib_iconv_iconv = yes; then
77077 LIBICONV="-liconv"
77080 ac_save_LIBS="$LIBS"
77081 LIBS="$LIBS $LIBICONV"
77088 for ac_func in iconv_open iconv_close iconv nl_langinfo
77090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77091 echo "$as_me:$LINENO: checking for $ac_func" >&5
77092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77093 if eval "test \"\${$as_ac_var+set}\" = set"; then
77094 echo $ECHO_N "(cached) $ECHO_C" >&6
77095 else
77096 if test x$gcc_no_link = xyes; then
77097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77099 { (exit 1); exit 1; }; }
77101 cat >conftest.$ac_ext <<_ACEOF
77102 /* confdefs.h. */
77103 _ACEOF
77104 cat confdefs.h >>conftest.$ac_ext
77105 cat >>conftest.$ac_ext <<_ACEOF
77106 /* end confdefs.h. */
77107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77109 #define $ac_func innocuous_$ac_func
77111 /* System header to define __stub macros and hopefully few prototypes,
77112 which can conflict with char $ac_func (); below.
77113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77114 <limits.h> exists even on freestanding compilers. */
77116 #ifdef __STDC__
77117 # include <limits.h>
77118 #else
77119 # include <assert.h>
77120 #endif
77122 #undef $ac_func
77124 /* Override any gcc2 internal prototype to avoid an error. */
77125 #ifdef __cplusplus
77126 extern "C"
77128 #endif
77129 /* We use char because int might match the return type of a gcc2
77130 builtin and then its argument prototype would still apply. */
77131 char $ac_func ();
77132 /* The GNU C library defines this for functions which it implements
77133 to always fail with ENOSYS. Some functions are actually named
77134 something starting with __ and the normal name is an alias. */
77135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77136 choke me
77137 #else
77138 char (*f) () = $ac_func;
77139 #endif
77140 #ifdef __cplusplus
77142 #endif
77145 main ()
77147 return f != $ac_func;
77149 return 0;
77151 _ACEOF
77152 rm -f conftest.$ac_objext conftest$ac_exeext
77153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77154 (eval $ac_link) 2>conftest.er1
77155 ac_status=$?
77156 grep -v '^ *+' conftest.er1 >conftest.err
77157 rm -f conftest.er1
77158 cat conftest.err >&5
77159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77160 (exit $ac_status); } &&
77161 { ac_try='test -z "$ac_c_werror_flag"
77162 || test ! -s conftest.err'
77163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77164 (eval $ac_try) 2>&5
77165 ac_status=$?
77166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77167 (exit $ac_status); }; } &&
77168 { ac_try='test -s conftest$ac_exeext'
77169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77170 (eval $ac_try) 2>&5
77171 ac_status=$?
77172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77173 (exit $ac_status); }; }; then
77174 eval "$as_ac_var=yes"
77175 else
77176 echo "$as_me: failed program was:" >&5
77177 sed 's/^/| /' conftest.$ac_ext >&5
77179 eval "$as_ac_var=no"
77181 rm -f conftest.err conftest.$ac_objext \
77182 conftest$ac_exeext conftest.$ac_ext
77184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77186 if test `eval echo '${'$as_ac_var'}'` = yes; then
77187 cat >>confdefs.h <<_ACEOF
77188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77189 _ACEOF
77190 ac_XPG2funcs=yes
77191 else
77192 ac_XPG2funcs=no
77194 done
77197 LIBS="$ac_save_LIBS"
77199 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
77200 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
77201 if test x"$ac_has_iconv_h" = xyes &&
77202 test x"$ac_has_langinfo_h" = xyes &&
77203 test x"$ac_XPG2funcs" = xyes;
77204 then
77205 ac_XPG2_wchar_t=yes
77206 else
77207 ac_XPG2_wchar_t=no
77209 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
77210 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
77212 # At the moment, only enable wchar_t specializations if all the
77213 # above support is present.
77214 if test x"$ac_isoC99_wchar_t" = xyes &&
77215 test x"$ac_XPG2_wchar_t" = xyes;
77216 then
77217 cat >>confdefs.h <<\_ACEOF
77218 #define _GLIBCXX_USE_WCHAR_T 1
77219 _ACEOF
77221 enable_wchar_t=yes
77224 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
77225 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
77226 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
77227 echo "${ECHO_T}$enable_wchar_t" >&6
77229 cat >>confdefs.h <<\_ACEOF
77230 #define HAVE_LC_MESSAGES 1
77231 _ACEOF
77233 cat >>confdefs.h <<\_ACEOF
77234 #define HAVE_GETPAGESIZE 1
77235 _ACEOF
77237 cat >>confdefs.h <<\_ACEOF
77238 #define HAVE_SETENV 1
77239 _ACEOF
77241 cat >>confdefs.h <<\_ACEOF
77242 #define HAVE_SIGSETJMP 1
77243 _ACEOF
77245 cat >>confdefs.h <<\_ACEOF
77246 #define HAVE_COPYSIGN 1
77247 _ACEOF
77249 cat >>confdefs.h <<\_ACEOF
77250 #define HAVE_COPYSIGNF 1
77251 _ACEOF
77253 cat >>confdefs.h <<\_ACEOF
77254 #define HAVE_FINITEF 1
77255 _ACEOF
77257 cat >>confdefs.h <<\_ACEOF
77258 #define HAVE_FINITE 1
77259 _ACEOF
77261 cat >>confdefs.h <<\_ACEOF
77262 #define HAVE_FREXPF 1
77263 _ACEOF
77265 cat >>confdefs.h <<\_ACEOF
77266 #define HAVE_HYPOT 1
77267 _ACEOF
77269 cat >>confdefs.h <<\_ACEOF
77270 #define HAVE_HYPOTF 1
77271 _ACEOF
77273 cat >>confdefs.h <<\_ACEOF
77274 #define HAVE_ISINF 1
77275 _ACEOF
77277 cat >>confdefs.h <<\_ACEOF
77278 #define HAVE_ISNAN 1
77279 _ACEOF
77281 cat >>confdefs.h <<\_ACEOF
77282 #define HAVE_ISNANF 1
77283 _ACEOF
77286 cat >>confdefs.h <<\_ACEOF
77287 #define HAVE_MMAP 1
77288 _ACEOF
77290 cat >>confdefs.h <<\_ACEOF
77291 #define HAVE_ACOSF 1
77292 _ACEOF
77294 cat >>confdefs.h <<\_ACEOF
77295 #define HAVE_ASINF 1
77296 _ACEOF
77298 cat >>confdefs.h <<\_ACEOF
77299 #define HAVE_ATAN2F 1
77300 _ACEOF
77302 cat >>confdefs.h <<\_ACEOF
77303 #define HAVE_ATANF 1
77304 _ACEOF
77306 cat >>confdefs.h <<\_ACEOF
77307 #define HAVE_CEILF 1
77308 _ACEOF
77310 cat >>confdefs.h <<\_ACEOF
77311 #define HAVE_COPYSIGN 1
77312 _ACEOF
77314 cat >>confdefs.h <<\_ACEOF
77315 #define HAVE_COPYSIGNF 1
77316 _ACEOF
77318 cat >>confdefs.h <<\_ACEOF
77319 #define HAVE_COSF 1
77320 _ACEOF
77322 cat >>confdefs.h <<\_ACEOF
77323 #define HAVE_COSHF 1
77324 _ACEOF
77326 cat >>confdefs.h <<\_ACEOF
77327 #define HAVE_EXPF 1
77328 _ACEOF
77330 cat >>confdefs.h <<\_ACEOF
77331 #define HAVE_FABSF 1
77332 _ACEOF
77334 cat >>confdefs.h <<\_ACEOF
77335 #define HAVE_FLOORF 1
77336 _ACEOF
77338 cat >>confdefs.h <<\_ACEOF
77339 #define HAVE_FMODF 1
77340 _ACEOF
77342 cat >>confdefs.h <<\_ACEOF
77343 #define HAVE_FREXPF 1
77344 _ACEOF
77346 cat >>confdefs.h <<\_ACEOF
77347 #define HAVE_LDEXPF 1
77348 _ACEOF
77350 cat >>confdefs.h <<\_ACEOF
77351 #define HAVE_LOG10F 1
77352 _ACEOF
77354 cat >>confdefs.h <<\_ACEOF
77355 #define HAVE_LOGF 1
77356 _ACEOF
77358 cat >>confdefs.h <<\_ACEOF
77359 #define HAVE_MODFF 1
77360 _ACEOF
77362 cat >>confdefs.h <<\_ACEOF
77363 #define HAVE_POWF 1
77364 _ACEOF
77366 cat >>confdefs.h <<\_ACEOF
77367 #define HAVE_SINF 1
77368 _ACEOF
77370 cat >>confdefs.h <<\_ACEOF
77371 #define HAVE_SINHF 1
77372 _ACEOF
77374 cat >>confdefs.h <<\_ACEOF
77375 #define HAVE_SQRTF 1
77376 _ACEOF
77378 cat >>confdefs.h <<\_ACEOF
77379 #define HAVE_TANF 1
77380 _ACEOF
77382 cat >>confdefs.h <<\_ACEOF
77383 #define HAVE_TANHF 1
77384 _ACEOF
77386 if test x"long_double_math_on_this_cpu" = x"yes"; then
77387 cat >>confdefs.h <<\_ACEOF
77388 #define HAVE_FINITEL 1
77389 _ACEOF
77391 cat >>confdefs.h <<\_ACEOF
77392 #define HAVE_ISINFL 1
77393 _ACEOF
77395 cat >>confdefs.h <<\_ACEOF
77396 #define HAVE_ISNANL 1
77397 _ACEOF
77401 *-hpux*)
77414 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77415 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77416 fp.h locale.h float.h inttypes.h
77418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77420 echo "$as_me:$LINENO: checking for $ac_header" >&5
77421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77423 echo $ECHO_N "(cached) $ECHO_C" >&6
77425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77427 else
77428 # Is the header compilable?
77429 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77430 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77431 cat >conftest.$ac_ext <<_ACEOF
77432 /* confdefs.h. */
77433 _ACEOF
77434 cat confdefs.h >>conftest.$ac_ext
77435 cat >>conftest.$ac_ext <<_ACEOF
77436 /* end confdefs.h. */
77437 $ac_includes_default
77438 #include <$ac_header>
77439 _ACEOF
77440 rm -f conftest.$ac_objext
77441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77442 (eval $ac_compile) 2>conftest.er1
77443 ac_status=$?
77444 grep -v '^ *+' conftest.er1 >conftest.err
77445 rm -f conftest.er1
77446 cat conftest.err >&5
77447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77448 (exit $ac_status); } &&
77449 { ac_try='test -z "$ac_c_werror_flag"
77450 || test ! -s conftest.err'
77451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77452 (eval $ac_try) 2>&5
77453 ac_status=$?
77454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77455 (exit $ac_status); }; } &&
77456 { ac_try='test -s conftest.$ac_objext'
77457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77458 (eval $ac_try) 2>&5
77459 ac_status=$?
77460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77461 (exit $ac_status); }; }; then
77462 ac_header_compiler=yes
77463 else
77464 echo "$as_me: failed program was:" >&5
77465 sed 's/^/| /' conftest.$ac_ext >&5
77467 ac_header_compiler=no
77469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77471 echo "${ECHO_T}$ac_header_compiler" >&6
77473 # Is the header present?
77474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77476 cat >conftest.$ac_ext <<_ACEOF
77477 /* confdefs.h. */
77478 _ACEOF
77479 cat confdefs.h >>conftest.$ac_ext
77480 cat >>conftest.$ac_ext <<_ACEOF
77481 /* end confdefs.h. */
77482 #include <$ac_header>
77483 _ACEOF
77484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77486 ac_status=$?
77487 grep -v '^ *+' conftest.er1 >conftest.err
77488 rm -f conftest.er1
77489 cat conftest.err >&5
77490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77491 (exit $ac_status); } >/dev/null; then
77492 if test -s conftest.err; then
77493 ac_cpp_err=$ac_c_preproc_warn_flag
77494 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77495 else
77496 ac_cpp_err=
77498 else
77499 ac_cpp_err=yes
77501 if test -z "$ac_cpp_err"; then
77502 ac_header_preproc=yes
77503 else
77504 echo "$as_me: failed program was:" >&5
77505 sed 's/^/| /' conftest.$ac_ext >&5
77507 ac_header_preproc=no
77509 rm -f conftest.err conftest.$ac_ext
77510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77511 echo "${ECHO_T}$ac_header_preproc" >&6
77513 # So? What about this header?
77514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77515 yes:no: )
77516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77520 ac_header_preproc=yes
77522 no:yes:* )
77523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77536 cat <<\_ASBOX
77537 ## ----------------------------------------- ##
77538 ## Report this to the package-unused lists. ##
77539 ## ----------------------------------------- ##
77540 _ASBOX
77542 sed "s/^/$as_me: WARNING: /" >&2
77544 esac
77545 echo "$as_me:$LINENO: checking for $ac_header" >&5
77546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77548 echo $ECHO_N "(cached) $ECHO_C" >&6
77549 else
77550 eval "$as_ac_Header=\$ac_header_preproc"
77552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77557 cat >>confdefs.h <<_ACEOF
77558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77559 _ACEOF
77563 done
77565 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77568 # If we're not using GNU ld, then there's no point in even trying these
77569 # tests. Check for that first. We should have already tested for gld
77570 # by now (in libtool), but require it now just to be safe...
77571 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77572 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77576 # The name set by libtool depends on the version of libtool. Shame on us
77577 # for depending on an impl detail, but c'est la vie. Older versions used
77578 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77579 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77580 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77581 # set (hence we're using an older libtool), then set it.
77582 if test x${with_gnu_ld+set} != xset; then
77583 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77584 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77585 with_gnu_ld=no
77586 else
77587 with_gnu_ld=$ac_cv_prog_gnu_ld
77591 # Start by getting the version number. I think the libtool test already
77592 # does some of this, but throws away the result.
77594 ldver=`$LD --version 2>/dev/null | head -1 | \
77595 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77597 glibcxx_gnu_ld_version=`echo $ldver | \
77598 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77600 # Set --gc-sections.
77601 if test "$with_gnu_ld" = "notbroken"; then
77602 # GNU ld it is! Joy and bunny rabbits!
77604 # All these tests are for C++; save the language and the compiler flags.
77605 # Need to do this so that g++ won't try to link in libstdc++
77606 ac_test_CFLAGS="${CFLAGS+set}"
77607 ac_save_CFLAGS="$CFLAGS"
77608 CFLAGS='-x c++ -Wl,--gc-sections'
77610 # Check for -Wl,--gc-sections
77611 # XXX This test is broken at the moment, as symbols required for linking
77612 # are now in libsupc++ (not built yet). In addition, this test has
77613 # cored on solaris in the past. In addition, --gc-sections doesn't
77614 # really work at the moment (keeps on discarding used sections, first
77615 # .eh_frame and now some of the glibc sections for iconv).
77616 # Bzzzzt. Thanks for playing, maybe next time.
77617 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77618 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77619 if test "$cross_compiling" = yes; then
77620 ac_sectionLDflags=yes
77621 else
77622 cat >conftest.$ac_ext <<_ACEOF
77623 /* confdefs.h. */
77624 _ACEOF
77625 cat confdefs.h >>conftest.$ac_ext
77626 cat >>conftest.$ac_ext <<_ACEOF
77627 /* end confdefs.h. */
77629 int main(void)
77631 try { throw 1; }
77632 catch (...) { };
77633 return 0;
77636 _ACEOF
77637 rm -f conftest$ac_exeext
77638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77639 (eval $ac_link) 2>&5
77640 ac_status=$?
77641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77644 (eval $ac_try) 2>&5
77645 ac_status=$?
77646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77647 (exit $ac_status); }; }; then
77648 ac_sectionLDflags=yes
77649 else
77650 echo "$as_me: program exited with status $ac_status" >&5
77651 echo "$as_me: failed program was:" >&5
77652 sed 's/^/| /' conftest.$ac_ext >&5
77654 ( exit $ac_status )
77655 ac_sectionLDflags=no
77657 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77659 if test "$ac_test_CFLAGS" = set; then
77660 CFLAGS="$ac_save_CFLAGS"
77661 else
77662 # this is the suspicious part
77663 CFLAGS=''
77665 if test "$ac_sectionLDflags" = "yes"; then
77666 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77668 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77669 echo "${ECHO_T}$ac_sectionLDflags" >&6
77672 # Set linker optimization flags.
77673 if test x"$with_gnu_ld" = x"yes"; then
77674 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77682 echo "$as_me:$LINENO: checking for main in -lm" >&5
77683 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77684 if test "${ac_cv_lib_m_main+set}" = set; then
77685 echo $ECHO_N "(cached) $ECHO_C" >&6
77686 else
77687 ac_check_lib_save_LIBS=$LIBS
77688 LIBS="-lm $LIBS"
77689 if test x$gcc_no_link = xyes; then
77690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77692 { (exit 1); exit 1; }; }
77694 cat >conftest.$ac_ext <<_ACEOF
77695 /* confdefs.h. */
77696 _ACEOF
77697 cat confdefs.h >>conftest.$ac_ext
77698 cat >>conftest.$ac_ext <<_ACEOF
77699 /* end confdefs.h. */
77703 main ()
77705 main ();
77707 return 0;
77709 _ACEOF
77710 rm -f conftest.$ac_objext conftest$ac_exeext
77711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77712 (eval $ac_link) 2>conftest.er1
77713 ac_status=$?
77714 grep -v '^ *+' conftest.er1 >conftest.err
77715 rm -f conftest.er1
77716 cat conftest.err >&5
77717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77718 (exit $ac_status); } &&
77719 { ac_try='test -z "$ac_c_werror_flag"
77720 || test ! -s conftest.err'
77721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77722 (eval $ac_try) 2>&5
77723 ac_status=$?
77724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77725 (exit $ac_status); }; } &&
77726 { ac_try='test -s conftest$ac_exeext'
77727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77728 (eval $ac_try) 2>&5
77729 ac_status=$?
77730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77731 (exit $ac_status); }; }; then
77732 ac_cv_lib_m_main=yes
77733 else
77734 echo "$as_me: failed program was:" >&5
77735 sed 's/^/| /' conftest.$ac_ext >&5
77737 ac_cv_lib_m_main=no
77739 rm -f conftest.err conftest.$ac_objext \
77740 conftest$ac_exeext conftest.$ac_ext
77741 LIBS=$ac_check_lib_save_LIBS
77743 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77744 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77745 if test $ac_cv_lib_m_main = yes; then
77746 cat >>confdefs.h <<_ACEOF
77747 #define HAVE_LIBM 1
77748 _ACEOF
77750 LIBS="-lm $LIBS"
77755 for ac_func in copysignf
77757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77758 echo "$as_me:$LINENO: checking for $ac_func" >&5
77759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77760 if eval "test \"\${$as_ac_var+set}\" = set"; then
77761 echo $ECHO_N "(cached) $ECHO_C" >&6
77762 else
77763 if test x$gcc_no_link = xyes; then
77764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77766 { (exit 1); exit 1; }; }
77768 cat >conftest.$ac_ext <<_ACEOF
77769 /* confdefs.h. */
77770 _ACEOF
77771 cat confdefs.h >>conftest.$ac_ext
77772 cat >>conftest.$ac_ext <<_ACEOF
77773 /* end confdefs.h. */
77774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77776 #define $ac_func innocuous_$ac_func
77778 /* System header to define __stub macros and hopefully few prototypes,
77779 which can conflict with char $ac_func (); below.
77780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77781 <limits.h> exists even on freestanding compilers. */
77783 #ifdef __STDC__
77784 # include <limits.h>
77785 #else
77786 # include <assert.h>
77787 #endif
77789 #undef $ac_func
77791 /* Override any gcc2 internal prototype to avoid an error. */
77792 #ifdef __cplusplus
77793 extern "C"
77795 #endif
77796 /* We use char because int might match the return type of a gcc2
77797 builtin and then its argument prototype would still apply. */
77798 char $ac_func ();
77799 /* The GNU C library defines this for functions which it implements
77800 to always fail with ENOSYS. Some functions are actually named
77801 something starting with __ and the normal name is an alias. */
77802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77803 choke me
77804 #else
77805 char (*f) () = $ac_func;
77806 #endif
77807 #ifdef __cplusplus
77809 #endif
77812 main ()
77814 return f != $ac_func;
77816 return 0;
77818 _ACEOF
77819 rm -f conftest.$ac_objext conftest$ac_exeext
77820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77821 (eval $ac_link) 2>conftest.er1
77822 ac_status=$?
77823 grep -v '^ *+' conftest.er1 >conftest.err
77824 rm -f conftest.er1
77825 cat conftest.err >&5
77826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77827 (exit $ac_status); } &&
77828 { ac_try='test -z "$ac_c_werror_flag"
77829 || test ! -s conftest.err'
77830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77831 (eval $ac_try) 2>&5
77832 ac_status=$?
77833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77834 (exit $ac_status); }; } &&
77835 { ac_try='test -s conftest$ac_exeext'
77836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77837 (eval $ac_try) 2>&5
77838 ac_status=$?
77839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77840 (exit $ac_status); }; }; then
77841 eval "$as_ac_var=yes"
77842 else
77843 echo "$as_me: failed program was:" >&5
77844 sed 's/^/| /' conftest.$ac_ext >&5
77846 eval "$as_ac_var=no"
77848 rm -f conftest.err conftest.$ac_objext \
77849 conftest$ac_exeext conftest.$ac_ext
77851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77853 if test `eval echo '${'$as_ac_var'}'` = yes; then
77854 cat >>confdefs.h <<_ACEOF
77855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77856 _ACEOF
77858 else
77859 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77861 done
77865 for ac_func in __signbit
77867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77868 echo "$as_me:$LINENO: checking for $ac_func" >&5
77869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77870 if eval "test \"\${$as_ac_var+set}\" = set"; then
77871 echo $ECHO_N "(cached) $ECHO_C" >&6
77872 else
77873 if test x$gcc_no_link = xyes; then
77874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77876 { (exit 1); exit 1; }; }
77878 cat >conftest.$ac_ext <<_ACEOF
77879 /* confdefs.h. */
77880 _ACEOF
77881 cat confdefs.h >>conftest.$ac_ext
77882 cat >>conftest.$ac_ext <<_ACEOF
77883 /* end confdefs.h. */
77884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77886 #define $ac_func innocuous_$ac_func
77888 /* System header to define __stub macros and hopefully few prototypes,
77889 which can conflict with char $ac_func (); below.
77890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77891 <limits.h> exists even on freestanding compilers. */
77893 #ifdef __STDC__
77894 # include <limits.h>
77895 #else
77896 # include <assert.h>
77897 #endif
77899 #undef $ac_func
77901 /* Override any gcc2 internal prototype to avoid an error. */
77902 #ifdef __cplusplus
77903 extern "C"
77905 #endif
77906 /* We use char because int might match the return type of a gcc2
77907 builtin and then its argument prototype would still apply. */
77908 char $ac_func ();
77909 /* The GNU C library defines this for functions which it implements
77910 to always fail with ENOSYS. Some functions are actually named
77911 something starting with __ and the normal name is an alias. */
77912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77913 choke me
77914 #else
77915 char (*f) () = $ac_func;
77916 #endif
77917 #ifdef __cplusplus
77919 #endif
77922 main ()
77924 return f != $ac_func;
77926 return 0;
77928 _ACEOF
77929 rm -f conftest.$ac_objext conftest$ac_exeext
77930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77931 (eval $ac_link) 2>conftest.er1
77932 ac_status=$?
77933 grep -v '^ *+' conftest.er1 >conftest.err
77934 rm -f conftest.er1
77935 cat conftest.err >&5
77936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77937 (exit $ac_status); } &&
77938 { ac_try='test -z "$ac_c_werror_flag"
77939 || test ! -s conftest.err'
77940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77941 (eval $ac_try) 2>&5
77942 ac_status=$?
77943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77944 (exit $ac_status); }; } &&
77945 { ac_try='test -s conftest$ac_exeext'
77946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77947 (eval $ac_try) 2>&5
77948 ac_status=$?
77949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77950 (exit $ac_status); }; }; then
77951 eval "$as_ac_var=yes"
77952 else
77953 echo "$as_me: failed program was:" >&5
77954 sed 's/^/| /' conftest.$ac_ext >&5
77956 eval "$as_ac_var=no"
77958 rm -f conftest.err conftest.$ac_objext \
77959 conftest$ac_exeext conftest.$ac_ext
77961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77963 if test `eval echo '${'$as_ac_var'}'` = yes; then
77964 cat >>confdefs.h <<_ACEOF
77965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77966 _ACEOF
77968 else
77969 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77971 done
77975 for ac_func in __signbitf
77977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77978 echo "$as_me:$LINENO: checking for $ac_func" >&5
77979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77980 if eval "test \"\${$as_ac_var+set}\" = set"; then
77981 echo $ECHO_N "(cached) $ECHO_C" >&6
77982 else
77983 if test x$gcc_no_link = xyes; then
77984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77986 { (exit 1); exit 1; }; }
77988 cat >conftest.$ac_ext <<_ACEOF
77989 /* confdefs.h. */
77990 _ACEOF
77991 cat confdefs.h >>conftest.$ac_ext
77992 cat >>conftest.$ac_ext <<_ACEOF
77993 /* end confdefs.h. */
77994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77996 #define $ac_func innocuous_$ac_func
77998 /* System header to define __stub macros and hopefully few prototypes,
77999 which can conflict with char $ac_func (); below.
78000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78001 <limits.h> exists even on freestanding compilers. */
78003 #ifdef __STDC__
78004 # include <limits.h>
78005 #else
78006 # include <assert.h>
78007 #endif
78009 #undef $ac_func
78011 /* Override any gcc2 internal prototype to avoid an error. */
78012 #ifdef __cplusplus
78013 extern "C"
78015 #endif
78016 /* We use char because int might match the return type of a gcc2
78017 builtin and then its argument prototype would still apply. */
78018 char $ac_func ();
78019 /* The GNU C library defines this for functions which it implements
78020 to always fail with ENOSYS. Some functions are actually named
78021 something starting with __ and the normal name is an alias. */
78022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78023 choke me
78024 #else
78025 char (*f) () = $ac_func;
78026 #endif
78027 #ifdef __cplusplus
78029 #endif
78032 main ()
78034 return f != $ac_func;
78036 return 0;
78038 _ACEOF
78039 rm -f conftest.$ac_objext conftest$ac_exeext
78040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78041 (eval $ac_link) 2>conftest.er1
78042 ac_status=$?
78043 grep -v '^ *+' conftest.er1 >conftest.err
78044 rm -f conftest.er1
78045 cat conftest.err >&5
78046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78047 (exit $ac_status); } &&
78048 { ac_try='test -z "$ac_c_werror_flag"
78049 || test ! -s conftest.err'
78050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78051 (eval $ac_try) 2>&5
78052 ac_status=$?
78053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78054 (exit $ac_status); }; } &&
78055 { ac_try='test -s conftest$ac_exeext'
78056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78057 (eval $ac_try) 2>&5
78058 ac_status=$?
78059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78060 (exit $ac_status); }; }; then
78061 eval "$as_ac_var=yes"
78062 else
78063 echo "$as_me: failed program was:" >&5
78064 sed 's/^/| /' conftest.$ac_ext >&5
78066 eval "$as_ac_var=no"
78068 rm -f conftest.err conftest.$ac_objext \
78069 conftest$ac_exeext conftest.$ac_ext
78071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78073 if test `eval echo '${'$as_ac_var'}'` = yes; then
78074 cat >>confdefs.h <<_ACEOF
78075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78076 _ACEOF
78078 else
78079 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78081 done
78084 if test x$ac_cv_func_copysignl = x"yes"; then
78086 for ac_func in __signbitl
78088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78089 echo "$as_me:$LINENO: checking for $ac_func" >&5
78090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78091 if eval "test \"\${$as_ac_var+set}\" = set"; then
78092 echo $ECHO_N "(cached) $ECHO_C" >&6
78093 else
78094 if test x$gcc_no_link = xyes; then
78095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78097 { (exit 1); exit 1; }; }
78099 cat >conftest.$ac_ext <<_ACEOF
78100 /* confdefs.h. */
78101 _ACEOF
78102 cat confdefs.h >>conftest.$ac_ext
78103 cat >>conftest.$ac_ext <<_ACEOF
78104 /* end confdefs.h. */
78105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78107 #define $ac_func innocuous_$ac_func
78109 /* System header to define __stub macros and hopefully few prototypes,
78110 which can conflict with char $ac_func (); below.
78111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78112 <limits.h> exists even on freestanding compilers. */
78114 #ifdef __STDC__
78115 # include <limits.h>
78116 #else
78117 # include <assert.h>
78118 #endif
78120 #undef $ac_func
78122 /* Override any gcc2 internal prototype to avoid an error. */
78123 #ifdef __cplusplus
78124 extern "C"
78126 #endif
78127 /* We use char because int might match the return type of a gcc2
78128 builtin and then its argument prototype would still apply. */
78129 char $ac_func ();
78130 /* The GNU C library defines this for functions which it implements
78131 to always fail with ENOSYS. Some functions are actually named
78132 something starting with __ and the normal name is an alias. */
78133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78134 choke me
78135 #else
78136 char (*f) () = $ac_func;
78137 #endif
78138 #ifdef __cplusplus
78140 #endif
78143 main ()
78145 return f != $ac_func;
78147 return 0;
78149 _ACEOF
78150 rm -f conftest.$ac_objext conftest$ac_exeext
78151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78152 (eval $ac_link) 2>conftest.er1
78153 ac_status=$?
78154 grep -v '^ *+' conftest.er1 >conftest.err
78155 rm -f conftest.er1
78156 cat conftest.err >&5
78157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78158 (exit $ac_status); } &&
78159 { ac_try='test -z "$ac_c_werror_flag"
78160 || test ! -s conftest.err'
78161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78162 (eval $ac_try) 2>&5
78163 ac_status=$?
78164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78165 (exit $ac_status); }; } &&
78166 { ac_try='test -s conftest$ac_exeext'
78167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78168 (eval $ac_try) 2>&5
78169 ac_status=$?
78170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78171 (exit $ac_status); }; }; then
78172 eval "$as_ac_var=yes"
78173 else
78174 echo "$as_me: failed program was:" >&5
78175 sed 's/^/| /' conftest.$ac_ext >&5
78177 eval "$as_ac_var=no"
78179 rm -f conftest.err conftest.$ac_objext \
78180 conftest$ac_exeext conftest.$ac_ext
78182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78184 if test `eval echo '${'$as_ac_var'}'` = yes; then
78185 cat >>confdefs.h <<_ACEOF
78186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78187 _ACEOF
78189 else
78190 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78192 done
78196 # Used in libmath/Makefile.am.
78197 if test -n "$LIBMATHOBJS"; then
78198 need_libmath=yes
78203 # Test wchar.h for mbstate_t, which is needed for char_traits and
78204 # others even if wchar_t support is not on.
78205 echo "$as_me:$LINENO: checking for mbstate_t" >&5
78206 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78207 cat >conftest.$ac_ext <<_ACEOF
78208 /* confdefs.h. */
78209 _ACEOF
78210 cat confdefs.h >>conftest.$ac_ext
78211 cat >>conftest.$ac_ext <<_ACEOF
78212 /* end confdefs.h. */
78213 #include <wchar.h>
78215 main ()
78217 mbstate_t teststate;
78219 return 0;
78221 _ACEOF
78222 rm -f conftest.$ac_objext
78223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78224 (eval $ac_compile) 2>conftest.er1
78225 ac_status=$?
78226 grep -v '^ *+' conftest.er1 >conftest.err
78227 rm -f conftest.er1
78228 cat conftest.err >&5
78229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78230 (exit $ac_status); } &&
78231 { ac_try='test -z "$ac_c_werror_flag"
78232 || test ! -s conftest.err'
78233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78234 (eval $ac_try) 2>&5
78235 ac_status=$?
78236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78237 (exit $ac_status); }; } &&
78238 { ac_try='test -s conftest.$ac_objext'
78239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78240 (eval $ac_try) 2>&5
78241 ac_status=$?
78242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78243 (exit $ac_status); }; }; then
78244 have_mbstate_t=yes
78245 else
78246 echo "$as_me: failed program was:" >&5
78247 sed 's/^/| /' conftest.$ac_ext >&5
78249 have_mbstate_t=no
78251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78252 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78253 echo "${ECHO_T}$have_mbstate_t" >&6
78254 if test x"$have_mbstate_t" = xyes; then
78255 cat >>confdefs.h <<\_ACEOF
78256 #define HAVE_MBSTATE_T 1
78257 _ACEOF
78261 # Sanity check for existence of ISO C99 headers for extended encoding.
78263 for ac_header in wchar.h
78265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78267 echo "$as_me:$LINENO: checking for $ac_header" >&5
78268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78270 echo $ECHO_N "(cached) $ECHO_C" >&6
78272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78274 else
78275 # Is the header compilable?
78276 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78277 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78278 cat >conftest.$ac_ext <<_ACEOF
78279 /* confdefs.h. */
78280 _ACEOF
78281 cat confdefs.h >>conftest.$ac_ext
78282 cat >>conftest.$ac_ext <<_ACEOF
78283 /* end confdefs.h. */
78284 $ac_includes_default
78285 #include <$ac_header>
78286 _ACEOF
78287 rm -f conftest.$ac_objext
78288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78289 (eval $ac_compile) 2>conftest.er1
78290 ac_status=$?
78291 grep -v '^ *+' conftest.er1 >conftest.err
78292 rm -f conftest.er1
78293 cat conftest.err >&5
78294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78295 (exit $ac_status); } &&
78296 { ac_try='test -z "$ac_c_werror_flag"
78297 || test ! -s conftest.err'
78298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78299 (eval $ac_try) 2>&5
78300 ac_status=$?
78301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78302 (exit $ac_status); }; } &&
78303 { ac_try='test -s conftest.$ac_objext'
78304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78305 (eval $ac_try) 2>&5
78306 ac_status=$?
78307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78308 (exit $ac_status); }; }; then
78309 ac_header_compiler=yes
78310 else
78311 echo "$as_me: failed program was:" >&5
78312 sed 's/^/| /' conftest.$ac_ext >&5
78314 ac_header_compiler=no
78316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78318 echo "${ECHO_T}$ac_header_compiler" >&6
78320 # Is the header present?
78321 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78323 cat >conftest.$ac_ext <<_ACEOF
78324 /* confdefs.h. */
78325 _ACEOF
78326 cat confdefs.h >>conftest.$ac_ext
78327 cat >>conftest.$ac_ext <<_ACEOF
78328 /* end confdefs.h. */
78329 #include <$ac_header>
78330 _ACEOF
78331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78333 ac_status=$?
78334 grep -v '^ *+' conftest.er1 >conftest.err
78335 rm -f conftest.er1
78336 cat conftest.err >&5
78337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78338 (exit $ac_status); } >/dev/null; then
78339 if test -s conftest.err; then
78340 ac_cpp_err=$ac_c_preproc_warn_flag
78341 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78342 else
78343 ac_cpp_err=
78345 else
78346 ac_cpp_err=yes
78348 if test -z "$ac_cpp_err"; then
78349 ac_header_preproc=yes
78350 else
78351 echo "$as_me: failed program was:" >&5
78352 sed 's/^/| /' conftest.$ac_ext >&5
78354 ac_header_preproc=no
78356 rm -f conftest.err conftest.$ac_ext
78357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78358 echo "${ECHO_T}$ac_header_preproc" >&6
78360 # So? What about this header?
78361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78362 yes:no: )
78363 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78364 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78366 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78367 ac_header_preproc=yes
78369 no:yes:* )
78370 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78371 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78372 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78373 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78374 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78375 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78376 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78377 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78380 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78381 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78383 cat <<\_ASBOX
78384 ## ----------------------------------------- ##
78385 ## Report this to the package-unused lists. ##
78386 ## ----------------------------------------- ##
78387 _ASBOX
78389 sed "s/^/$as_me: WARNING: /" >&2
78391 esac
78392 echo "$as_me:$LINENO: checking for $ac_header" >&5
78393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78395 echo $ECHO_N "(cached) $ECHO_C" >&6
78396 else
78397 eval "$as_ac_Header=\$ac_header_preproc"
78399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78404 cat >>confdefs.h <<_ACEOF
78405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78406 _ACEOF
78407 ac_has_wchar_h=yes
78408 else
78409 ac_has_wchar_h=no
78412 done
78415 for ac_header in wctype.h
78417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78419 echo "$as_me:$LINENO: checking for $ac_header" >&5
78420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78422 echo $ECHO_N "(cached) $ECHO_C" >&6
78424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78426 else
78427 # Is the header compilable?
78428 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78429 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78430 cat >conftest.$ac_ext <<_ACEOF
78431 /* confdefs.h. */
78432 _ACEOF
78433 cat confdefs.h >>conftest.$ac_ext
78434 cat >>conftest.$ac_ext <<_ACEOF
78435 /* end confdefs.h. */
78436 $ac_includes_default
78437 #include <$ac_header>
78438 _ACEOF
78439 rm -f conftest.$ac_objext
78440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78441 (eval $ac_compile) 2>conftest.er1
78442 ac_status=$?
78443 grep -v '^ *+' conftest.er1 >conftest.err
78444 rm -f conftest.er1
78445 cat conftest.err >&5
78446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78447 (exit $ac_status); } &&
78448 { ac_try='test -z "$ac_c_werror_flag"
78449 || test ! -s conftest.err'
78450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78451 (eval $ac_try) 2>&5
78452 ac_status=$?
78453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78454 (exit $ac_status); }; } &&
78455 { ac_try='test -s conftest.$ac_objext'
78456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78457 (eval $ac_try) 2>&5
78458 ac_status=$?
78459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78460 (exit $ac_status); }; }; then
78461 ac_header_compiler=yes
78462 else
78463 echo "$as_me: failed program was:" >&5
78464 sed 's/^/| /' conftest.$ac_ext >&5
78466 ac_header_compiler=no
78468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78470 echo "${ECHO_T}$ac_header_compiler" >&6
78472 # Is the header present?
78473 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78474 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78475 cat >conftest.$ac_ext <<_ACEOF
78476 /* confdefs.h. */
78477 _ACEOF
78478 cat confdefs.h >>conftest.$ac_ext
78479 cat >>conftest.$ac_ext <<_ACEOF
78480 /* end confdefs.h. */
78481 #include <$ac_header>
78482 _ACEOF
78483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78485 ac_status=$?
78486 grep -v '^ *+' conftest.er1 >conftest.err
78487 rm -f conftest.er1
78488 cat conftest.err >&5
78489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78490 (exit $ac_status); } >/dev/null; then
78491 if test -s conftest.err; then
78492 ac_cpp_err=$ac_c_preproc_warn_flag
78493 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78494 else
78495 ac_cpp_err=
78497 else
78498 ac_cpp_err=yes
78500 if test -z "$ac_cpp_err"; then
78501 ac_header_preproc=yes
78502 else
78503 echo "$as_me: failed program was:" >&5
78504 sed 's/^/| /' conftest.$ac_ext >&5
78506 ac_header_preproc=no
78508 rm -f conftest.err conftest.$ac_ext
78509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78510 echo "${ECHO_T}$ac_header_preproc" >&6
78512 # So? What about this header?
78513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78514 yes:no: )
78515 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78516 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78518 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78519 ac_header_preproc=yes
78521 no:yes:* )
78522 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78523 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78524 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78525 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78526 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78527 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78528 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78529 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78531 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78532 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78533 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78535 cat <<\_ASBOX
78536 ## ----------------------------------------- ##
78537 ## Report this to the package-unused lists. ##
78538 ## ----------------------------------------- ##
78539 _ASBOX
78541 sed "s/^/$as_me: WARNING: /" >&2
78543 esac
78544 echo "$as_me:$LINENO: checking for $ac_header" >&5
78545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78547 echo $ECHO_N "(cached) $ECHO_C" >&6
78548 else
78549 eval "$as_ac_Header=\$ac_header_preproc"
78551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78556 cat >>confdefs.h <<_ACEOF
78557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78558 _ACEOF
78559 ac_has_wctype_h=yes
78560 else
78561 ac_has_wctype_h=no
78564 done
78567 # Only continue checking if the ISO C99 headers exist and support is on.
78568 if test x"$ac_has_wchar_h" = xyes &&
78569 test x"$ac_has_wctype_h" = xyes &&
78570 test x"$enable_c_mbchar" != xno; then
78572 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78573 # numeric_limits can instantiate type_traits<wchar_t>
78574 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78575 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78576 cat >conftest.$ac_ext <<_ACEOF
78577 /* confdefs.h. */
78578 _ACEOF
78579 cat confdefs.h >>conftest.$ac_ext
78580 cat >>conftest.$ac_ext <<_ACEOF
78581 /* end confdefs.h. */
78582 #include <wchar.h>
78584 main ()
78586 int i = WCHAR_MIN; int j = WCHAR_MAX;
78588 return 0;
78590 _ACEOF
78591 rm -f conftest.$ac_objext
78592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78593 (eval $ac_compile) 2>conftest.er1
78594 ac_status=$?
78595 grep -v '^ *+' conftest.er1 >conftest.err
78596 rm -f conftest.er1
78597 cat conftest.err >&5
78598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78599 (exit $ac_status); } &&
78600 { ac_try='test -z "$ac_c_werror_flag"
78601 || test ! -s conftest.err'
78602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78603 (eval $ac_try) 2>&5
78604 ac_status=$?
78605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78606 (exit $ac_status); }; } &&
78607 { ac_try='test -s conftest.$ac_objext'
78608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78609 (eval $ac_try) 2>&5
78610 ac_status=$?
78611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78612 (exit $ac_status); }; }; then
78613 has_wchar_minmax=yes
78614 else
78615 echo "$as_me: failed program was:" >&5
78616 sed 's/^/| /' conftest.$ac_ext >&5
78618 has_wchar_minmax=no
78620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78621 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78622 echo "${ECHO_T}$has_wchar_minmax" >&6
78624 # Test wchar.h for WEOF, which is what we use to determine whether
78625 # to specialize for char_traits<wchar_t> or not.
78626 echo "$as_me:$LINENO: checking for WEOF" >&5
78627 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78628 cat >conftest.$ac_ext <<_ACEOF
78629 /* confdefs.h. */
78630 _ACEOF
78631 cat confdefs.h >>conftest.$ac_ext
78632 cat >>conftest.$ac_ext <<_ACEOF
78633 /* end confdefs.h. */
78635 #include <wchar.h>
78636 #include <stddef.h>
78638 main ()
78640 wint_t i = WEOF;
78642 return 0;
78644 _ACEOF
78645 rm -f conftest.$ac_objext
78646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78647 (eval $ac_compile) 2>conftest.er1
78648 ac_status=$?
78649 grep -v '^ *+' conftest.er1 >conftest.err
78650 rm -f conftest.er1
78651 cat conftest.err >&5
78652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78653 (exit $ac_status); } &&
78654 { ac_try='test -z "$ac_c_werror_flag"
78655 || test ! -s conftest.err'
78656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78657 (eval $ac_try) 2>&5
78658 ac_status=$?
78659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78660 (exit $ac_status); }; } &&
78661 { ac_try='test -s conftest.$ac_objext'
78662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78663 (eval $ac_try) 2>&5
78664 ac_status=$?
78665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78666 (exit $ac_status); }; }; then
78667 has_weof=yes
78668 else
78669 echo "$as_me: failed program was:" >&5
78670 sed 's/^/| /' conftest.$ac_ext >&5
78672 has_weof=no
78674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78675 echo "$as_me:$LINENO: result: $has_weof" >&5
78676 echo "${ECHO_T}$has_weof" >&6
78678 # Tests for wide character functions used in char_traits<wchar_t>.
78679 ac_wfuncs=yes
78686 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78689 echo "$as_me:$LINENO: checking for $ac_func" >&5
78690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78691 if eval "test \"\${$as_ac_var+set}\" = set"; then
78692 echo $ECHO_N "(cached) $ECHO_C" >&6
78693 else
78694 if test x$gcc_no_link = xyes; then
78695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78697 { (exit 1); exit 1; }; }
78699 cat >conftest.$ac_ext <<_ACEOF
78700 /* confdefs.h. */
78701 _ACEOF
78702 cat confdefs.h >>conftest.$ac_ext
78703 cat >>conftest.$ac_ext <<_ACEOF
78704 /* end confdefs.h. */
78705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78707 #define $ac_func innocuous_$ac_func
78709 /* System header to define __stub macros and hopefully few prototypes,
78710 which can conflict with char $ac_func (); below.
78711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78712 <limits.h> exists even on freestanding compilers. */
78714 #ifdef __STDC__
78715 # include <limits.h>
78716 #else
78717 # include <assert.h>
78718 #endif
78720 #undef $ac_func
78722 /* Override any gcc2 internal prototype to avoid an error. */
78723 #ifdef __cplusplus
78724 extern "C"
78726 #endif
78727 /* We use char because int might match the return type of a gcc2
78728 builtin and then its argument prototype would still apply. */
78729 char $ac_func ();
78730 /* The GNU C library defines this for functions which it implements
78731 to always fail with ENOSYS. Some functions are actually named
78732 something starting with __ and the normal name is an alias. */
78733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78734 choke me
78735 #else
78736 char (*f) () = $ac_func;
78737 #endif
78738 #ifdef __cplusplus
78740 #endif
78743 main ()
78745 return f != $ac_func;
78747 return 0;
78749 _ACEOF
78750 rm -f conftest.$ac_objext conftest$ac_exeext
78751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78752 (eval $ac_link) 2>conftest.er1
78753 ac_status=$?
78754 grep -v '^ *+' conftest.er1 >conftest.err
78755 rm -f conftest.er1
78756 cat conftest.err >&5
78757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78758 (exit $ac_status); } &&
78759 { ac_try='test -z "$ac_c_werror_flag"
78760 || test ! -s conftest.err'
78761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78762 (eval $ac_try) 2>&5
78763 ac_status=$?
78764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78765 (exit $ac_status); }; } &&
78766 { ac_try='test -s conftest$ac_exeext'
78767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78768 (eval $ac_try) 2>&5
78769 ac_status=$?
78770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78771 (exit $ac_status); }; }; then
78772 eval "$as_ac_var=yes"
78773 else
78774 echo "$as_me: failed program was:" >&5
78775 sed 's/^/| /' conftest.$ac_ext >&5
78777 eval "$as_ac_var=no"
78779 rm -f conftest.err conftest.$ac_objext \
78780 conftest$ac_exeext conftest.$ac_ext
78782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78784 if test `eval echo '${'$as_ac_var'}'` = yes; then
78785 cat >>confdefs.h <<_ACEOF
78786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78787 _ACEOF
78789 else
78790 ac_wfuncs=no
78792 done
78795 # Checks for names injected into std:: by the c_std headers.
78842 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78843 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78844 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78845 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78846 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78847 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78850 echo "$as_me:$LINENO: checking for $ac_func" >&5
78851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78852 if eval "test \"\${$as_ac_var+set}\" = set"; then
78853 echo $ECHO_N "(cached) $ECHO_C" >&6
78854 else
78855 if test x$gcc_no_link = xyes; then
78856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78858 { (exit 1); exit 1; }; }
78860 cat >conftest.$ac_ext <<_ACEOF
78861 /* confdefs.h. */
78862 _ACEOF
78863 cat confdefs.h >>conftest.$ac_ext
78864 cat >>conftest.$ac_ext <<_ACEOF
78865 /* end confdefs.h. */
78866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78868 #define $ac_func innocuous_$ac_func
78870 /* System header to define __stub macros and hopefully few prototypes,
78871 which can conflict with char $ac_func (); below.
78872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78873 <limits.h> exists even on freestanding compilers. */
78875 #ifdef __STDC__
78876 # include <limits.h>
78877 #else
78878 # include <assert.h>
78879 #endif
78881 #undef $ac_func
78883 /* Override any gcc2 internal prototype to avoid an error. */
78884 #ifdef __cplusplus
78885 extern "C"
78887 #endif
78888 /* We use char because int might match the return type of a gcc2
78889 builtin and then its argument prototype would still apply. */
78890 char $ac_func ();
78891 /* The GNU C library defines this for functions which it implements
78892 to always fail with ENOSYS. Some functions are actually named
78893 something starting with __ and the normal name is an alias. */
78894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78895 choke me
78896 #else
78897 char (*f) () = $ac_func;
78898 #endif
78899 #ifdef __cplusplus
78901 #endif
78904 main ()
78906 return f != $ac_func;
78908 return 0;
78910 _ACEOF
78911 rm -f conftest.$ac_objext conftest$ac_exeext
78912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78913 (eval $ac_link) 2>conftest.er1
78914 ac_status=$?
78915 grep -v '^ *+' conftest.er1 >conftest.err
78916 rm -f conftest.er1
78917 cat conftest.err >&5
78918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78919 (exit $ac_status); } &&
78920 { ac_try='test -z "$ac_c_werror_flag"
78921 || test ! -s conftest.err'
78922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78923 (eval $ac_try) 2>&5
78924 ac_status=$?
78925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78926 (exit $ac_status); }; } &&
78927 { ac_try='test -s conftest$ac_exeext'
78928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78929 (eval $ac_try) 2>&5
78930 ac_status=$?
78931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78932 (exit $ac_status); }; }; then
78933 eval "$as_ac_var=yes"
78934 else
78935 echo "$as_me: failed program was:" >&5
78936 sed 's/^/| /' conftest.$ac_ext >&5
78938 eval "$as_ac_var=no"
78940 rm -f conftest.err conftest.$ac_objext \
78941 conftest$ac_exeext conftest.$ac_ext
78943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78945 if test `eval echo '${'$as_ac_var'}'` = yes; then
78946 cat >>confdefs.h <<_ACEOF
78947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78948 _ACEOF
78950 else
78951 ac_wfuncs=no
78953 done
78956 # Checks for wide character functions that are not required
78957 # for basic wchar_t support. Don't disable support if they are missing.
78958 # Injection of these is wrapped with guard macros.
78964 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78967 echo "$as_me:$LINENO: checking for $ac_func" >&5
78968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78969 if eval "test \"\${$as_ac_var+set}\" = set"; then
78970 echo $ECHO_N "(cached) $ECHO_C" >&6
78971 else
78972 if test x$gcc_no_link = xyes; then
78973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78975 { (exit 1); exit 1; }; }
78977 cat >conftest.$ac_ext <<_ACEOF
78978 /* confdefs.h. */
78979 _ACEOF
78980 cat confdefs.h >>conftest.$ac_ext
78981 cat >>conftest.$ac_ext <<_ACEOF
78982 /* end confdefs.h. */
78983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78985 #define $ac_func innocuous_$ac_func
78987 /* System header to define __stub macros and hopefully few prototypes,
78988 which can conflict with char $ac_func (); below.
78989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78990 <limits.h> exists even on freestanding compilers. */
78992 #ifdef __STDC__
78993 # include <limits.h>
78994 #else
78995 # include <assert.h>
78996 #endif
78998 #undef $ac_func
79000 /* Override any gcc2 internal prototype to avoid an error. */
79001 #ifdef __cplusplus
79002 extern "C"
79004 #endif
79005 /* We use char because int might match the return type of a gcc2
79006 builtin and then its argument prototype would still apply. */
79007 char $ac_func ();
79008 /* The GNU C library defines this for functions which it implements
79009 to always fail with ENOSYS. Some functions are actually named
79010 something starting with __ and the normal name is an alias. */
79011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79012 choke me
79013 #else
79014 char (*f) () = $ac_func;
79015 #endif
79016 #ifdef __cplusplus
79018 #endif
79021 main ()
79023 return f != $ac_func;
79025 return 0;
79027 _ACEOF
79028 rm -f conftest.$ac_objext conftest$ac_exeext
79029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79030 (eval $ac_link) 2>conftest.er1
79031 ac_status=$?
79032 grep -v '^ *+' conftest.er1 >conftest.err
79033 rm -f conftest.er1
79034 cat conftest.err >&5
79035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79036 (exit $ac_status); } &&
79037 { ac_try='test -z "$ac_c_werror_flag"
79038 || test ! -s conftest.err'
79039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79040 (eval $ac_try) 2>&5
79041 ac_status=$?
79042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79043 (exit $ac_status); }; } &&
79044 { ac_try='test -s conftest$ac_exeext'
79045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79046 (eval $ac_try) 2>&5
79047 ac_status=$?
79048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79049 (exit $ac_status); }; }; then
79050 eval "$as_ac_var=yes"
79051 else
79052 echo "$as_me: failed program was:" >&5
79053 sed 's/^/| /' conftest.$ac_ext >&5
79055 eval "$as_ac_var=no"
79057 rm -f conftest.err conftest.$ac_objext \
79058 conftest$ac_exeext conftest.$ac_ext
79060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79062 if test `eval echo '${'$as_ac_var'}'` = yes; then
79063 cat >>confdefs.h <<_ACEOF
79064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79065 _ACEOF
79068 done
79071 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79072 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79073 if test x"$has_weof" = xyes &&
79074 test x"$has_wchar_minmax" = xyes &&
79075 test x"$ac_wfuncs" = xyes;
79076 then
79077 ac_isoC99_wchar_t=yes
79078 else
79079 ac_isoC99_wchar_t=no
79081 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79082 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79084 # Use iconv for wchar_t to char conversions. As such, check for
79085 # X/Open Portability Guide, version 2 features (XPG2).
79086 if test "${ac_cv_header_iconv_h+set}" = set; then
79087 echo "$as_me:$LINENO: checking for iconv.h" >&5
79088 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79089 if test "${ac_cv_header_iconv_h+set}" = set; then
79090 echo $ECHO_N "(cached) $ECHO_C" >&6
79092 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79093 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79094 else
79095 # Is the header compilable?
79096 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79097 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79098 cat >conftest.$ac_ext <<_ACEOF
79099 /* confdefs.h. */
79100 _ACEOF
79101 cat confdefs.h >>conftest.$ac_ext
79102 cat >>conftest.$ac_ext <<_ACEOF
79103 /* end confdefs.h. */
79104 $ac_includes_default
79105 #include <iconv.h>
79106 _ACEOF
79107 rm -f conftest.$ac_objext
79108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79109 (eval $ac_compile) 2>conftest.er1
79110 ac_status=$?
79111 grep -v '^ *+' conftest.er1 >conftest.err
79112 rm -f conftest.er1
79113 cat conftest.err >&5
79114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79115 (exit $ac_status); } &&
79116 { ac_try='test -z "$ac_c_werror_flag"
79117 || test ! -s conftest.err'
79118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79119 (eval $ac_try) 2>&5
79120 ac_status=$?
79121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79122 (exit $ac_status); }; } &&
79123 { ac_try='test -s conftest.$ac_objext'
79124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79125 (eval $ac_try) 2>&5
79126 ac_status=$?
79127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79128 (exit $ac_status); }; }; then
79129 ac_header_compiler=yes
79130 else
79131 echo "$as_me: failed program was:" >&5
79132 sed 's/^/| /' conftest.$ac_ext >&5
79134 ac_header_compiler=no
79136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79137 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79138 echo "${ECHO_T}$ac_header_compiler" >&6
79140 # Is the header present?
79141 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79142 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79143 cat >conftest.$ac_ext <<_ACEOF
79144 /* confdefs.h. */
79145 _ACEOF
79146 cat confdefs.h >>conftest.$ac_ext
79147 cat >>conftest.$ac_ext <<_ACEOF
79148 /* end confdefs.h. */
79149 #include <iconv.h>
79150 _ACEOF
79151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79152 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79153 ac_status=$?
79154 grep -v '^ *+' conftest.er1 >conftest.err
79155 rm -f conftest.er1
79156 cat conftest.err >&5
79157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79158 (exit $ac_status); } >/dev/null; then
79159 if test -s conftest.err; then
79160 ac_cpp_err=$ac_c_preproc_warn_flag
79161 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79162 else
79163 ac_cpp_err=
79165 else
79166 ac_cpp_err=yes
79168 if test -z "$ac_cpp_err"; then
79169 ac_header_preproc=yes
79170 else
79171 echo "$as_me: failed program was:" >&5
79172 sed 's/^/| /' conftest.$ac_ext >&5
79174 ac_header_preproc=no
79176 rm -f conftest.err conftest.$ac_ext
79177 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79178 echo "${ECHO_T}$ac_header_preproc" >&6
79180 # So? What about this header?
79181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79182 yes:no: )
79183 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79184 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79185 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79186 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79187 ac_header_preproc=yes
79189 no:yes:* )
79190 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79191 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79192 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79193 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79194 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79195 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79196 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79197 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79198 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79199 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79200 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79201 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79203 cat <<\_ASBOX
79204 ## ----------------------------------------- ##
79205 ## Report this to the package-unused lists. ##
79206 ## ----------------------------------------- ##
79207 _ASBOX
79209 sed "s/^/$as_me: WARNING: /" >&2
79211 esac
79212 echo "$as_me:$LINENO: checking for iconv.h" >&5
79213 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79214 if test "${ac_cv_header_iconv_h+set}" = set; then
79215 echo $ECHO_N "(cached) $ECHO_C" >&6
79216 else
79217 ac_cv_header_iconv_h=$ac_header_preproc
79219 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79220 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79223 if test $ac_cv_header_iconv_h = yes; then
79224 ac_has_iconv_h=yes
79225 else
79226 ac_has_iconv_h=no
79230 if test "${ac_cv_header_langinfo_h+set}" = set; then
79231 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79232 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79233 if test "${ac_cv_header_langinfo_h+set}" = set; then
79234 echo $ECHO_N "(cached) $ECHO_C" >&6
79236 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79237 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79238 else
79239 # Is the header compilable?
79240 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79241 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79242 cat >conftest.$ac_ext <<_ACEOF
79243 /* confdefs.h. */
79244 _ACEOF
79245 cat confdefs.h >>conftest.$ac_ext
79246 cat >>conftest.$ac_ext <<_ACEOF
79247 /* end confdefs.h. */
79248 $ac_includes_default
79249 #include <langinfo.h>
79250 _ACEOF
79251 rm -f conftest.$ac_objext
79252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79253 (eval $ac_compile) 2>conftest.er1
79254 ac_status=$?
79255 grep -v '^ *+' conftest.er1 >conftest.err
79256 rm -f conftest.er1
79257 cat conftest.err >&5
79258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79259 (exit $ac_status); } &&
79260 { ac_try='test -z "$ac_c_werror_flag"
79261 || test ! -s conftest.err'
79262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79263 (eval $ac_try) 2>&5
79264 ac_status=$?
79265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79266 (exit $ac_status); }; } &&
79267 { ac_try='test -s conftest.$ac_objext'
79268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79269 (eval $ac_try) 2>&5
79270 ac_status=$?
79271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79272 (exit $ac_status); }; }; then
79273 ac_header_compiler=yes
79274 else
79275 echo "$as_me: failed program was:" >&5
79276 sed 's/^/| /' conftest.$ac_ext >&5
79278 ac_header_compiler=no
79280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79281 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79282 echo "${ECHO_T}$ac_header_compiler" >&6
79284 # Is the header present?
79285 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79286 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79287 cat >conftest.$ac_ext <<_ACEOF
79288 /* confdefs.h. */
79289 _ACEOF
79290 cat confdefs.h >>conftest.$ac_ext
79291 cat >>conftest.$ac_ext <<_ACEOF
79292 /* end confdefs.h. */
79293 #include <langinfo.h>
79294 _ACEOF
79295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79296 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79297 ac_status=$?
79298 grep -v '^ *+' conftest.er1 >conftest.err
79299 rm -f conftest.er1
79300 cat conftest.err >&5
79301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79302 (exit $ac_status); } >/dev/null; then
79303 if test -s conftest.err; then
79304 ac_cpp_err=$ac_c_preproc_warn_flag
79305 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79306 else
79307 ac_cpp_err=
79309 else
79310 ac_cpp_err=yes
79312 if test -z "$ac_cpp_err"; then
79313 ac_header_preproc=yes
79314 else
79315 echo "$as_me: failed program was:" >&5
79316 sed 's/^/| /' conftest.$ac_ext >&5
79318 ac_header_preproc=no
79320 rm -f conftest.err conftest.$ac_ext
79321 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79322 echo "${ECHO_T}$ac_header_preproc" >&6
79324 # So? What about this header?
79325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79326 yes:no: )
79327 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79328 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79329 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79330 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79331 ac_header_preproc=yes
79333 no:yes:* )
79334 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79335 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79336 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79337 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79338 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79339 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79340 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79341 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79342 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79343 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79344 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79345 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79347 cat <<\_ASBOX
79348 ## ----------------------------------------- ##
79349 ## Report this to the package-unused lists. ##
79350 ## ----------------------------------------- ##
79351 _ASBOX
79353 sed "s/^/$as_me: WARNING: /" >&2
79355 esac
79356 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79357 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79358 if test "${ac_cv_header_langinfo_h+set}" = set; then
79359 echo $ECHO_N "(cached) $ECHO_C" >&6
79360 else
79361 ac_cv_header_langinfo_h=$ac_header_preproc
79363 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79364 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79367 if test $ac_cv_header_langinfo_h = yes; then
79368 ac_has_langinfo_h=yes
79369 else
79370 ac_has_langinfo_h=no
79375 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79376 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79377 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79378 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79379 echo $ECHO_N "(cached) $ECHO_C" >&6
79380 else
79381 ac_check_lib_save_LIBS=$LIBS
79382 LIBS="-liconv $LIBS"
79383 if test x$gcc_no_link = xyes; then
79384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79386 { (exit 1); exit 1; }; }
79388 cat >conftest.$ac_ext <<_ACEOF
79389 /* confdefs.h. */
79390 _ACEOF
79391 cat confdefs.h >>conftest.$ac_ext
79392 cat >>conftest.$ac_ext <<_ACEOF
79393 /* end confdefs.h. */
79395 /* Override any gcc2 internal prototype to avoid an error. */
79396 #ifdef __cplusplus
79397 extern "C"
79398 #endif
79399 /* We use char because int might match the return type of a gcc2
79400 builtin and then its argument prototype would still apply. */
79401 char iconv ();
79403 main ()
79405 iconv ();
79407 return 0;
79409 _ACEOF
79410 rm -f conftest.$ac_objext conftest$ac_exeext
79411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79412 (eval $ac_link) 2>conftest.er1
79413 ac_status=$?
79414 grep -v '^ *+' conftest.er1 >conftest.err
79415 rm -f conftest.er1
79416 cat conftest.err >&5
79417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79418 (exit $ac_status); } &&
79419 { ac_try='test -z "$ac_c_werror_flag"
79420 || test ! -s conftest.err'
79421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79422 (eval $ac_try) 2>&5
79423 ac_status=$?
79424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79425 (exit $ac_status); }; } &&
79426 { ac_try='test -s conftest$ac_exeext'
79427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79428 (eval $ac_try) 2>&5
79429 ac_status=$?
79430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79431 (exit $ac_status); }; }; then
79432 ac_cv_lib_iconv_iconv=yes
79433 else
79434 echo "$as_me: failed program was:" >&5
79435 sed 's/^/| /' conftest.$ac_ext >&5
79437 ac_cv_lib_iconv_iconv=no
79439 rm -f conftest.err conftest.$ac_objext \
79440 conftest$ac_exeext conftest.$ac_ext
79441 LIBS=$ac_check_lib_save_LIBS
79443 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79444 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79445 if test $ac_cv_lib_iconv_iconv = yes; then
79446 LIBICONV="-liconv"
79449 ac_save_LIBS="$LIBS"
79450 LIBS="$LIBS $LIBICONV"
79457 for ac_func in iconv_open iconv_close iconv nl_langinfo
79459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79460 echo "$as_me:$LINENO: checking for $ac_func" >&5
79461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79462 if eval "test \"\${$as_ac_var+set}\" = set"; then
79463 echo $ECHO_N "(cached) $ECHO_C" >&6
79464 else
79465 if test x$gcc_no_link = xyes; then
79466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79468 { (exit 1); exit 1; }; }
79470 cat >conftest.$ac_ext <<_ACEOF
79471 /* confdefs.h. */
79472 _ACEOF
79473 cat confdefs.h >>conftest.$ac_ext
79474 cat >>conftest.$ac_ext <<_ACEOF
79475 /* end confdefs.h. */
79476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79478 #define $ac_func innocuous_$ac_func
79480 /* System header to define __stub macros and hopefully few prototypes,
79481 which can conflict with char $ac_func (); below.
79482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79483 <limits.h> exists even on freestanding compilers. */
79485 #ifdef __STDC__
79486 # include <limits.h>
79487 #else
79488 # include <assert.h>
79489 #endif
79491 #undef $ac_func
79493 /* Override any gcc2 internal prototype to avoid an error. */
79494 #ifdef __cplusplus
79495 extern "C"
79497 #endif
79498 /* We use char because int might match the return type of a gcc2
79499 builtin and then its argument prototype would still apply. */
79500 char $ac_func ();
79501 /* The GNU C library defines this for functions which it implements
79502 to always fail with ENOSYS. Some functions are actually named
79503 something starting with __ and the normal name is an alias. */
79504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79505 choke me
79506 #else
79507 char (*f) () = $ac_func;
79508 #endif
79509 #ifdef __cplusplus
79511 #endif
79514 main ()
79516 return f != $ac_func;
79518 return 0;
79520 _ACEOF
79521 rm -f conftest.$ac_objext conftest$ac_exeext
79522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79523 (eval $ac_link) 2>conftest.er1
79524 ac_status=$?
79525 grep -v '^ *+' conftest.er1 >conftest.err
79526 rm -f conftest.er1
79527 cat conftest.err >&5
79528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79529 (exit $ac_status); } &&
79530 { ac_try='test -z "$ac_c_werror_flag"
79531 || test ! -s conftest.err'
79532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79533 (eval $ac_try) 2>&5
79534 ac_status=$?
79535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79536 (exit $ac_status); }; } &&
79537 { ac_try='test -s conftest$ac_exeext'
79538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79539 (eval $ac_try) 2>&5
79540 ac_status=$?
79541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79542 (exit $ac_status); }; }; then
79543 eval "$as_ac_var=yes"
79544 else
79545 echo "$as_me: failed program was:" >&5
79546 sed 's/^/| /' conftest.$ac_ext >&5
79548 eval "$as_ac_var=no"
79550 rm -f conftest.err conftest.$ac_objext \
79551 conftest$ac_exeext conftest.$ac_ext
79553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79555 if test `eval echo '${'$as_ac_var'}'` = yes; then
79556 cat >>confdefs.h <<_ACEOF
79557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79558 _ACEOF
79559 ac_XPG2funcs=yes
79560 else
79561 ac_XPG2funcs=no
79563 done
79566 LIBS="$ac_save_LIBS"
79568 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79569 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79570 if test x"$ac_has_iconv_h" = xyes &&
79571 test x"$ac_has_langinfo_h" = xyes &&
79572 test x"$ac_XPG2funcs" = xyes;
79573 then
79574 ac_XPG2_wchar_t=yes
79575 else
79576 ac_XPG2_wchar_t=no
79578 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79579 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79581 # At the moment, only enable wchar_t specializations if all the
79582 # above support is present.
79583 if test x"$ac_isoC99_wchar_t" = xyes &&
79584 test x"$ac_XPG2_wchar_t" = xyes;
79585 then
79586 cat >>confdefs.h <<\_ACEOF
79587 #define _GLIBCXX_USE_WCHAR_T 1
79588 _ACEOF
79590 enable_wchar_t=yes
79593 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79594 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79595 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79596 echo "${ECHO_T}$enable_wchar_t" >&6
79598 cat >>confdefs.h <<\_ACEOF
79599 #define HAVE_COPYSIGN 1
79600 _ACEOF
79602 cat >>confdefs.h <<\_ACEOF
79603 #define HAVE_COPYSIGNF 1
79604 _ACEOF
79606 cat >>confdefs.h <<\_ACEOF
79607 #define HAVE_FREXPF 1
79608 _ACEOF
79610 cat >>confdefs.h <<\_ACEOF
79611 #define HAVE_HYPOT 1
79612 _ACEOF
79614 case "$target" in
79615 *-hpux10*)
79616 cat >>confdefs.h <<\_ACEOF
79617 #define HAVE_FINITE 1
79618 _ACEOF
79620 cat >>confdefs.h <<\_ACEOF
79621 #define HAVE_FINITEF 1
79622 _ACEOF
79624 cat >>confdefs.h <<\_ACEOF
79625 #define HAVE_ISINF 1
79626 _ACEOF
79628 cat >>confdefs.h <<\_ACEOF
79629 #define HAVE_ISINFF 1
79630 _ACEOF
79632 cat >>confdefs.h <<\_ACEOF
79633 #define HAVE_ISNAN 1
79634 _ACEOF
79636 cat >>confdefs.h <<\_ACEOF
79637 #define HAVE_ISNANF 1
79638 _ACEOF
79641 esac
79643 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
79659 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79660 machine/endian.h machine/param.h sys/machine.h sys/types.h \
79661 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
79663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79665 echo "$as_me:$LINENO: checking for $ac_header" >&5
79666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79668 echo $ECHO_N "(cached) $ECHO_C" >&6
79670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79672 else
79673 # Is the header compilable?
79674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79676 cat >conftest.$ac_ext <<_ACEOF
79677 /* confdefs.h. */
79678 _ACEOF
79679 cat confdefs.h >>conftest.$ac_ext
79680 cat >>conftest.$ac_ext <<_ACEOF
79681 /* end confdefs.h. */
79682 $ac_includes_default
79683 #include <$ac_header>
79684 _ACEOF
79685 rm -f conftest.$ac_objext
79686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79687 (eval $ac_compile) 2>conftest.er1
79688 ac_status=$?
79689 grep -v '^ *+' conftest.er1 >conftest.err
79690 rm -f conftest.er1
79691 cat conftest.err >&5
79692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79693 (exit $ac_status); } &&
79694 { ac_try='test -z "$ac_c_werror_flag"
79695 || test ! -s conftest.err'
79696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79697 (eval $ac_try) 2>&5
79698 ac_status=$?
79699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79700 (exit $ac_status); }; } &&
79701 { ac_try='test -s conftest.$ac_objext'
79702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79703 (eval $ac_try) 2>&5
79704 ac_status=$?
79705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79706 (exit $ac_status); }; }; then
79707 ac_header_compiler=yes
79708 else
79709 echo "$as_me: failed program was:" >&5
79710 sed 's/^/| /' conftest.$ac_ext >&5
79712 ac_header_compiler=no
79714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79716 echo "${ECHO_T}$ac_header_compiler" >&6
79718 # Is the header present?
79719 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79720 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79721 cat >conftest.$ac_ext <<_ACEOF
79722 /* confdefs.h. */
79723 _ACEOF
79724 cat confdefs.h >>conftest.$ac_ext
79725 cat >>conftest.$ac_ext <<_ACEOF
79726 /* end confdefs.h. */
79727 #include <$ac_header>
79728 _ACEOF
79729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79731 ac_status=$?
79732 grep -v '^ *+' conftest.er1 >conftest.err
79733 rm -f conftest.er1
79734 cat conftest.err >&5
79735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79736 (exit $ac_status); } >/dev/null; then
79737 if test -s conftest.err; then
79738 ac_cpp_err=$ac_c_preproc_warn_flag
79739 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79740 else
79741 ac_cpp_err=
79743 else
79744 ac_cpp_err=yes
79746 if test -z "$ac_cpp_err"; then
79747 ac_header_preproc=yes
79748 else
79749 echo "$as_me: failed program was:" >&5
79750 sed 's/^/| /' conftest.$ac_ext >&5
79752 ac_header_preproc=no
79754 rm -f conftest.err conftest.$ac_ext
79755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79756 echo "${ECHO_T}$ac_header_preproc" >&6
79758 # So? What about this header?
79759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79760 yes:no: )
79761 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79762 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79764 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79765 ac_header_preproc=yes
79767 no:yes:* )
79768 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79769 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79770 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79771 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79772 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79773 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79774 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79775 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79778 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79779 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79781 cat <<\_ASBOX
79782 ## ----------------------------------------- ##
79783 ## Report this to the package-unused lists. ##
79784 ## ----------------------------------------- ##
79785 _ASBOX
79787 sed "s/^/$as_me: WARNING: /" >&2
79789 esac
79790 echo "$as_me:$LINENO: checking for $ac_header" >&5
79791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79793 echo $ECHO_N "(cached) $ECHO_C" >&6
79794 else
79795 eval "$as_ac_Header=\$ac_header_preproc"
79797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79802 cat >>confdefs.h <<_ACEOF
79803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79804 _ACEOF
79808 done
79810 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79813 # If we're not using GNU ld, then there's no point in even trying these
79814 # tests. Check for that first. We should have already tested for gld
79815 # by now (in libtool), but require it now just to be safe...
79816 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79817 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79821 # The name set by libtool depends on the version of libtool. Shame on us
79822 # for depending on an impl detail, but c'est la vie. Older versions used
79823 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79824 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79825 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79826 # set (hence we're using an older libtool), then set it.
79827 if test x${with_gnu_ld+set} != xset; then
79828 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79829 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79830 with_gnu_ld=no
79831 else
79832 with_gnu_ld=$ac_cv_prog_gnu_ld
79836 # Start by getting the version number. I think the libtool test already
79837 # does some of this, but throws away the result.
79839 ldver=`$LD --version 2>/dev/null | head -1 | \
79840 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79842 glibcxx_gnu_ld_version=`echo $ldver | \
79843 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79845 # Set --gc-sections.
79846 if test "$with_gnu_ld" = "notbroken"; then
79847 # GNU ld it is! Joy and bunny rabbits!
79849 # All these tests are for C++; save the language and the compiler flags.
79850 # Need to do this so that g++ won't try to link in libstdc++
79851 ac_test_CFLAGS="${CFLAGS+set}"
79852 ac_save_CFLAGS="$CFLAGS"
79853 CFLAGS='-x c++ -Wl,--gc-sections'
79855 # Check for -Wl,--gc-sections
79856 # XXX This test is broken at the moment, as symbols required for linking
79857 # are now in libsupc++ (not built yet). In addition, this test has
79858 # cored on solaris in the past. In addition, --gc-sections doesn't
79859 # really work at the moment (keeps on discarding used sections, first
79860 # .eh_frame and now some of the glibc sections for iconv).
79861 # Bzzzzt. Thanks for playing, maybe next time.
79862 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79863 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79864 if test "$cross_compiling" = yes; then
79865 ac_sectionLDflags=yes
79866 else
79867 cat >conftest.$ac_ext <<_ACEOF
79868 /* confdefs.h. */
79869 _ACEOF
79870 cat confdefs.h >>conftest.$ac_ext
79871 cat >>conftest.$ac_ext <<_ACEOF
79872 /* end confdefs.h. */
79874 int main(void)
79876 try { throw 1; }
79877 catch (...) { };
79878 return 0;
79881 _ACEOF
79882 rm -f conftest$ac_exeext
79883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79884 (eval $ac_link) 2>&5
79885 ac_status=$?
79886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79889 (eval $ac_try) 2>&5
79890 ac_status=$?
79891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79892 (exit $ac_status); }; }; then
79893 ac_sectionLDflags=yes
79894 else
79895 echo "$as_me: program exited with status $ac_status" >&5
79896 echo "$as_me: failed program was:" >&5
79897 sed 's/^/| /' conftest.$ac_ext >&5
79899 ( exit $ac_status )
79900 ac_sectionLDflags=no
79902 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79904 if test "$ac_test_CFLAGS" = set; then
79905 CFLAGS="$ac_save_CFLAGS"
79906 else
79907 # this is the suspicious part
79908 CFLAGS=''
79910 if test "$ac_sectionLDflags" = "yes"; then
79911 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79913 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79914 echo "${ECHO_T}$ac_sectionLDflags" >&6
79917 # Set linker optimization flags.
79918 if test x"$with_gnu_ld" = x"yes"; then
79919 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79927 echo "$as_me:$LINENO: checking for main in -lm" >&5
79928 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79929 if test "${ac_cv_lib_m_main+set}" = set; then
79930 echo $ECHO_N "(cached) $ECHO_C" >&6
79931 else
79932 ac_check_lib_save_LIBS=$LIBS
79933 LIBS="-lm $LIBS"
79934 if test x$gcc_no_link = xyes; then
79935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79937 { (exit 1); exit 1; }; }
79939 cat >conftest.$ac_ext <<_ACEOF
79940 /* confdefs.h. */
79941 _ACEOF
79942 cat confdefs.h >>conftest.$ac_ext
79943 cat >>conftest.$ac_ext <<_ACEOF
79944 /* end confdefs.h. */
79948 main ()
79950 main ();
79952 return 0;
79954 _ACEOF
79955 rm -f conftest.$ac_objext conftest$ac_exeext
79956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79957 (eval $ac_link) 2>conftest.er1
79958 ac_status=$?
79959 grep -v '^ *+' conftest.er1 >conftest.err
79960 rm -f conftest.er1
79961 cat conftest.err >&5
79962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79963 (exit $ac_status); } &&
79964 { ac_try='test -z "$ac_c_werror_flag"
79965 || test ! -s conftest.err'
79966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79967 (eval $ac_try) 2>&5
79968 ac_status=$?
79969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79970 (exit $ac_status); }; } &&
79971 { ac_try='test -s conftest$ac_exeext'
79972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79973 (eval $ac_try) 2>&5
79974 ac_status=$?
79975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79976 (exit $ac_status); }; }; then
79977 ac_cv_lib_m_main=yes
79978 else
79979 echo "$as_me: failed program was:" >&5
79980 sed 's/^/| /' conftest.$ac_ext >&5
79982 ac_cv_lib_m_main=no
79984 rm -f conftest.err conftest.$ac_objext \
79985 conftest$ac_exeext conftest.$ac_ext
79986 LIBS=$ac_check_lib_save_LIBS
79988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79989 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79990 if test $ac_cv_lib_m_main = yes; then
79991 cat >>confdefs.h <<_ACEOF
79992 #define HAVE_LIBM 1
79993 _ACEOF
79995 LIBS="-lm $LIBS"
80000 for ac_func in copysignf
80002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80003 echo "$as_me:$LINENO: checking for $ac_func" >&5
80004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80005 if eval "test \"\${$as_ac_var+set}\" = set"; then
80006 echo $ECHO_N "(cached) $ECHO_C" >&6
80007 else
80008 if test x$gcc_no_link = xyes; then
80009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80011 { (exit 1); exit 1; }; }
80013 cat >conftest.$ac_ext <<_ACEOF
80014 /* confdefs.h. */
80015 _ACEOF
80016 cat confdefs.h >>conftest.$ac_ext
80017 cat >>conftest.$ac_ext <<_ACEOF
80018 /* end confdefs.h. */
80019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80021 #define $ac_func innocuous_$ac_func
80023 /* System header to define __stub macros and hopefully few prototypes,
80024 which can conflict with char $ac_func (); below.
80025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80026 <limits.h> exists even on freestanding compilers. */
80028 #ifdef __STDC__
80029 # include <limits.h>
80030 #else
80031 # include <assert.h>
80032 #endif
80034 #undef $ac_func
80036 /* Override any gcc2 internal prototype to avoid an error. */
80037 #ifdef __cplusplus
80038 extern "C"
80040 #endif
80041 /* We use char because int might match the return type of a gcc2
80042 builtin and then its argument prototype would still apply. */
80043 char $ac_func ();
80044 /* The GNU C library defines this for functions which it implements
80045 to always fail with ENOSYS. Some functions are actually named
80046 something starting with __ and the normal name is an alias. */
80047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80048 choke me
80049 #else
80050 char (*f) () = $ac_func;
80051 #endif
80052 #ifdef __cplusplus
80054 #endif
80057 main ()
80059 return f != $ac_func;
80061 return 0;
80063 _ACEOF
80064 rm -f conftest.$ac_objext conftest$ac_exeext
80065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80066 (eval $ac_link) 2>conftest.er1
80067 ac_status=$?
80068 grep -v '^ *+' conftest.er1 >conftest.err
80069 rm -f conftest.er1
80070 cat conftest.err >&5
80071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80072 (exit $ac_status); } &&
80073 { ac_try='test -z "$ac_c_werror_flag"
80074 || test ! -s conftest.err'
80075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80076 (eval $ac_try) 2>&5
80077 ac_status=$?
80078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80079 (exit $ac_status); }; } &&
80080 { ac_try='test -s conftest$ac_exeext'
80081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80082 (eval $ac_try) 2>&5
80083 ac_status=$?
80084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80085 (exit $ac_status); }; }; then
80086 eval "$as_ac_var=yes"
80087 else
80088 echo "$as_me: failed program was:" >&5
80089 sed 's/^/| /' conftest.$ac_ext >&5
80091 eval "$as_ac_var=no"
80093 rm -f conftest.err conftest.$ac_objext \
80094 conftest$ac_exeext conftest.$ac_ext
80096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80098 if test `eval echo '${'$as_ac_var'}'` = yes; then
80099 cat >>confdefs.h <<_ACEOF
80100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80101 _ACEOF
80103 else
80104 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80106 done
80110 for ac_func in __signbit
80112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80113 echo "$as_me:$LINENO: checking for $ac_func" >&5
80114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80115 if eval "test \"\${$as_ac_var+set}\" = set"; then
80116 echo $ECHO_N "(cached) $ECHO_C" >&6
80117 else
80118 if test x$gcc_no_link = xyes; then
80119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80121 { (exit 1); exit 1; }; }
80123 cat >conftest.$ac_ext <<_ACEOF
80124 /* confdefs.h. */
80125 _ACEOF
80126 cat confdefs.h >>conftest.$ac_ext
80127 cat >>conftest.$ac_ext <<_ACEOF
80128 /* end confdefs.h. */
80129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80131 #define $ac_func innocuous_$ac_func
80133 /* System header to define __stub macros and hopefully few prototypes,
80134 which can conflict with char $ac_func (); below.
80135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80136 <limits.h> exists even on freestanding compilers. */
80138 #ifdef __STDC__
80139 # include <limits.h>
80140 #else
80141 # include <assert.h>
80142 #endif
80144 #undef $ac_func
80146 /* Override any gcc2 internal prototype to avoid an error. */
80147 #ifdef __cplusplus
80148 extern "C"
80150 #endif
80151 /* We use char because int might match the return type of a gcc2
80152 builtin and then its argument prototype would still apply. */
80153 char $ac_func ();
80154 /* The GNU C library defines this for functions which it implements
80155 to always fail with ENOSYS. Some functions are actually named
80156 something starting with __ and the normal name is an alias. */
80157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80158 choke me
80159 #else
80160 char (*f) () = $ac_func;
80161 #endif
80162 #ifdef __cplusplus
80164 #endif
80167 main ()
80169 return f != $ac_func;
80171 return 0;
80173 _ACEOF
80174 rm -f conftest.$ac_objext conftest$ac_exeext
80175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80176 (eval $ac_link) 2>conftest.er1
80177 ac_status=$?
80178 grep -v '^ *+' conftest.er1 >conftest.err
80179 rm -f conftest.er1
80180 cat conftest.err >&5
80181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80182 (exit $ac_status); } &&
80183 { ac_try='test -z "$ac_c_werror_flag"
80184 || test ! -s conftest.err'
80185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80186 (eval $ac_try) 2>&5
80187 ac_status=$?
80188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80189 (exit $ac_status); }; } &&
80190 { ac_try='test -s conftest$ac_exeext'
80191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80192 (eval $ac_try) 2>&5
80193 ac_status=$?
80194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80195 (exit $ac_status); }; }; then
80196 eval "$as_ac_var=yes"
80197 else
80198 echo "$as_me: failed program was:" >&5
80199 sed 's/^/| /' conftest.$ac_ext >&5
80201 eval "$as_ac_var=no"
80203 rm -f conftest.err conftest.$ac_objext \
80204 conftest$ac_exeext conftest.$ac_ext
80206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80208 if test `eval echo '${'$as_ac_var'}'` = yes; then
80209 cat >>confdefs.h <<_ACEOF
80210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80211 _ACEOF
80213 else
80214 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80216 done
80220 for ac_func in __signbitf
80222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80223 echo "$as_me:$LINENO: checking for $ac_func" >&5
80224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80225 if eval "test \"\${$as_ac_var+set}\" = set"; then
80226 echo $ECHO_N "(cached) $ECHO_C" >&6
80227 else
80228 if test x$gcc_no_link = xyes; then
80229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80231 { (exit 1); exit 1; }; }
80233 cat >conftest.$ac_ext <<_ACEOF
80234 /* confdefs.h. */
80235 _ACEOF
80236 cat confdefs.h >>conftest.$ac_ext
80237 cat >>conftest.$ac_ext <<_ACEOF
80238 /* end confdefs.h. */
80239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80241 #define $ac_func innocuous_$ac_func
80243 /* System header to define __stub macros and hopefully few prototypes,
80244 which can conflict with char $ac_func (); below.
80245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80246 <limits.h> exists even on freestanding compilers. */
80248 #ifdef __STDC__
80249 # include <limits.h>
80250 #else
80251 # include <assert.h>
80252 #endif
80254 #undef $ac_func
80256 /* Override any gcc2 internal prototype to avoid an error. */
80257 #ifdef __cplusplus
80258 extern "C"
80260 #endif
80261 /* We use char because int might match the return type of a gcc2
80262 builtin and then its argument prototype would still apply. */
80263 char $ac_func ();
80264 /* The GNU C library defines this for functions which it implements
80265 to always fail with ENOSYS. Some functions are actually named
80266 something starting with __ and the normal name is an alias. */
80267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80268 choke me
80269 #else
80270 char (*f) () = $ac_func;
80271 #endif
80272 #ifdef __cplusplus
80274 #endif
80277 main ()
80279 return f != $ac_func;
80281 return 0;
80283 _ACEOF
80284 rm -f conftest.$ac_objext conftest$ac_exeext
80285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80286 (eval $ac_link) 2>conftest.er1
80287 ac_status=$?
80288 grep -v '^ *+' conftest.er1 >conftest.err
80289 rm -f conftest.er1
80290 cat conftest.err >&5
80291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80292 (exit $ac_status); } &&
80293 { ac_try='test -z "$ac_c_werror_flag"
80294 || test ! -s conftest.err'
80295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80296 (eval $ac_try) 2>&5
80297 ac_status=$?
80298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80299 (exit $ac_status); }; } &&
80300 { ac_try='test -s conftest$ac_exeext'
80301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80302 (eval $ac_try) 2>&5
80303 ac_status=$?
80304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80305 (exit $ac_status); }; }; then
80306 eval "$as_ac_var=yes"
80307 else
80308 echo "$as_me: failed program was:" >&5
80309 sed 's/^/| /' conftest.$ac_ext >&5
80311 eval "$as_ac_var=no"
80313 rm -f conftest.err conftest.$ac_objext \
80314 conftest$ac_exeext conftest.$ac_ext
80316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80318 if test `eval echo '${'$as_ac_var'}'` = yes; then
80319 cat >>confdefs.h <<_ACEOF
80320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80321 _ACEOF
80323 else
80324 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80326 done
80329 if test x$ac_cv_func_copysignl = x"yes"; then
80331 for ac_func in __signbitl
80333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80334 echo "$as_me:$LINENO: checking for $ac_func" >&5
80335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80336 if eval "test \"\${$as_ac_var+set}\" = set"; then
80337 echo $ECHO_N "(cached) $ECHO_C" >&6
80338 else
80339 if test x$gcc_no_link = xyes; then
80340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80342 { (exit 1); exit 1; }; }
80344 cat >conftest.$ac_ext <<_ACEOF
80345 /* confdefs.h. */
80346 _ACEOF
80347 cat confdefs.h >>conftest.$ac_ext
80348 cat >>conftest.$ac_ext <<_ACEOF
80349 /* end confdefs.h. */
80350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80352 #define $ac_func innocuous_$ac_func
80354 /* System header to define __stub macros and hopefully few prototypes,
80355 which can conflict with char $ac_func (); below.
80356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80357 <limits.h> exists even on freestanding compilers. */
80359 #ifdef __STDC__
80360 # include <limits.h>
80361 #else
80362 # include <assert.h>
80363 #endif
80365 #undef $ac_func
80367 /* Override any gcc2 internal prototype to avoid an error. */
80368 #ifdef __cplusplus
80369 extern "C"
80371 #endif
80372 /* We use char because int might match the return type of a gcc2
80373 builtin and then its argument prototype would still apply. */
80374 char $ac_func ();
80375 /* The GNU C library defines this for functions which it implements
80376 to always fail with ENOSYS. Some functions are actually named
80377 something starting with __ and the normal name is an alias. */
80378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80379 choke me
80380 #else
80381 char (*f) () = $ac_func;
80382 #endif
80383 #ifdef __cplusplus
80385 #endif
80388 main ()
80390 return f != $ac_func;
80392 return 0;
80394 _ACEOF
80395 rm -f conftest.$ac_objext conftest$ac_exeext
80396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80397 (eval $ac_link) 2>conftest.er1
80398 ac_status=$?
80399 grep -v '^ *+' conftest.er1 >conftest.err
80400 rm -f conftest.er1
80401 cat conftest.err >&5
80402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80403 (exit $ac_status); } &&
80404 { ac_try='test -z "$ac_c_werror_flag"
80405 || test ! -s conftest.err'
80406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80407 (eval $ac_try) 2>&5
80408 ac_status=$?
80409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80410 (exit $ac_status); }; } &&
80411 { ac_try='test -s conftest$ac_exeext'
80412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80413 (eval $ac_try) 2>&5
80414 ac_status=$?
80415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80416 (exit $ac_status); }; }; then
80417 eval "$as_ac_var=yes"
80418 else
80419 echo "$as_me: failed program was:" >&5
80420 sed 's/^/| /' conftest.$ac_ext >&5
80422 eval "$as_ac_var=no"
80424 rm -f conftest.err conftest.$ac_objext \
80425 conftest$ac_exeext conftest.$ac_ext
80427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80429 if test `eval echo '${'$as_ac_var'}'` = yes; then
80430 cat >>confdefs.h <<_ACEOF
80431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80432 _ACEOF
80434 else
80435 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80437 done
80441 # Used in libmath/Makefile.am.
80442 if test -n "$LIBMATHOBJS"; then
80443 need_libmath=yes
80448 # Test wchar.h for mbstate_t, which is needed for char_traits and
80449 # others even if wchar_t support is not on.
80450 echo "$as_me:$LINENO: checking for mbstate_t" >&5
80451 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80452 cat >conftest.$ac_ext <<_ACEOF
80453 /* confdefs.h. */
80454 _ACEOF
80455 cat confdefs.h >>conftest.$ac_ext
80456 cat >>conftest.$ac_ext <<_ACEOF
80457 /* end confdefs.h. */
80458 #include <wchar.h>
80460 main ()
80462 mbstate_t teststate;
80464 return 0;
80466 _ACEOF
80467 rm -f conftest.$ac_objext
80468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80469 (eval $ac_compile) 2>conftest.er1
80470 ac_status=$?
80471 grep -v '^ *+' conftest.er1 >conftest.err
80472 rm -f conftest.er1
80473 cat conftest.err >&5
80474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80475 (exit $ac_status); } &&
80476 { ac_try='test -z "$ac_c_werror_flag"
80477 || test ! -s conftest.err'
80478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80479 (eval $ac_try) 2>&5
80480 ac_status=$?
80481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80482 (exit $ac_status); }; } &&
80483 { ac_try='test -s conftest.$ac_objext'
80484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80485 (eval $ac_try) 2>&5
80486 ac_status=$?
80487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80488 (exit $ac_status); }; }; then
80489 have_mbstate_t=yes
80490 else
80491 echo "$as_me: failed program was:" >&5
80492 sed 's/^/| /' conftest.$ac_ext >&5
80494 have_mbstate_t=no
80496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80497 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80498 echo "${ECHO_T}$have_mbstate_t" >&6
80499 if test x"$have_mbstate_t" = xyes; then
80500 cat >>confdefs.h <<\_ACEOF
80501 #define HAVE_MBSTATE_T 1
80502 _ACEOF
80506 # Sanity check for existence of ISO C99 headers for extended encoding.
80508 for ac_header in wchar.h
80510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80512 echo "$as_me:$LINENO: checking for $ac_header" >&5
80513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80515 echo $ECHO_N "(cached) $ECHO_C" >&6
80517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80519 else
80520 # Is the header compilable?
80521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80523 cat >conftest.$ac_ext <<_ACEOF
80524 /* confdefs.h. */
80525 _ACEOF
80526 cat confdefs.h >>conftest.$ac_ext
80527 cat >>conftest.$ac_ext <<_ACEOF
80528 /* end confdefs.h. */
80529 $ac_includes_default
80530 #include <$ac_header>
80531 _ACEOF
80532 rm -f conftest.$ac_objext
80533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80534 (eval $ac_compile) 2>conftest.er1
80535 ac_status=$?
80536 grep -v '^ *+' conftest.er1 >conftest.err
80537 rm -f conftest.er1
80538 cat conftest.err >&5
80539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80540 (exit $ac_status); } &&
80541 { ac_try='test -z "$ac_c_werror_flag"
80542 || test ! -s conftest.err'
80543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80544 (eval $ac_try) 2>&5
80545 ac_status=$?
80546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80547 (exit $ac_status); }; } &&
80548 { ac_try='test -s conftest.$ac_objext'
80549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80550 (eval $ac_try) 2>&5
80551 ac_status=$?
80552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80553 (exit $ac_status); }; }; then
80554 ac_header_compiler=yes
80555 else
80556 echo "$as_me: failed program was:" >&5
80557 sed 's/^/| /' conftest.$ac_ext >&5
80559 ac_header_compiler=no
80561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80563 echo "${ECHO_T}$ac_header_compiler" >&6
80565 # Is the header present?
80566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80568 cat >conftest.$ac_ext <<_ACEOF
80569 /* confdefs.h. */
80570 _ACEOF
80571 cat confdefs.h >>conftest.$ac_ext
80572 cat >>conftest.$ac_ext <<_ACEOF
80573 /* end confdefs.h. */
80574 #include <$ac_header>
80575 _ACEOF
80576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80578 ac_status=$?
80579 grep -v '^ *+' conftest.er1 >conftest.err
80580 rm -f conftest.er1
80581 cat conftest.err >&5
80582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80583 (exit $ac_status); } >/dev/null; then
80584 if test -s conftest.err; then
80585 ac_cpp_err=$ac_c_preproc_warn_flag
80586 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80587 else
80588 ac_cpp_err=
80590 else
80591 ac_cpp_err=yes
80593 if test -z "$ac_cpp_err"; then
80594 ac_header_preproc=yes
80595 else
80596 echo "$as_me: failed program was:" >&5
80597 sed 's/^/| /' conftest.$ac_ext >&5
80599 ac_header_preproc=no
80601 rm -f conftest.err conftest.$ac_ext
80602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80603 echo "${ECHO_T}$ac_header_preproc" >&6
80605 # So? What about this header?
80606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80607 yes:no: )
80608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80612 ac_header_preproc=yes
80614 no:yes:* )
80615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80619 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80621 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80622 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80625 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80628 cat <<\_ASBOX
80629 ## ----------------------------------------- ##
80630 ## Report this to the package-unused lists. ##
80631 ## ----------------------------------------- ##
80632 _ASBOX
80634 sed "s/^/$as_me: WARNING: /" >&2
80636 esac
80637 echo "$as_me:$LINENO: checking for $ac_header" >&5
80638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80640 echo $ECHO_N "(cached) $ECHO_C" >&6
80641 else
80642 eval "$as_ac_Header=\$ac_header_preproc"
80644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80649 cat >>confdefs.h <<_ACEOF
80650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80651 _ACEOF
80652 ac_has_wchar_h=yes
80653 else
80654 ac_has_wchar_h=no
80657 done
80660 for ac_header in wctype.h
80662 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80664 echo "$as_me:$LINENO: checking for $ac_header" >&5
80665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80667 echo $ECHO_N "(cached) $ECHO_C" >&6
80669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80671 else
80672 # Is the header compilable?
80673 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80675 cat >conftest.$ac_ext <<_ACEOF
80676 /* confdefs.h. */
80677 _ACEOF
80678 cat confdefs.h >>conftest.$ac_ext
80679 cat >>conftest.$ac_ext <<_ACEOF
80680 /* end confdefs.h. */
80681 $ac_includes_default
80682 #include <$ac_header>
80683 _ACEOF
80684 rm -f conftest.$ac_objext
80685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80686 (eval $ac_compile) 2>conftest.er1
80687 ac_status=$?
80688 grep -v '^ *+' conftest.er1 >conftest.err
80689 rm -f conftest.er1
80690 cat conftest.err >&5
80691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80692 (exit $ac_status); } &&
80693 { ac_try='test -z "$ac_c_werror_flag"
80694 || test ! -s conftest.err'
80695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80696 (eval $ac_try) 2>&5
80697 ac_status=$?
80698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80699 (exit $ac_status); }; } &&
80700 { ac_try='test -s conftest.$ac_objext'
80701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80702 (eval $ac_try) 2>&5
80703 ac_status=$?
80704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80705 (exit $ac_status); }; }; then
80706 ac_header_compiler=yes
80707 else
80708 echo "$as_me: failed program was:" >&5
80709 sed 's/^/| /' conftest.$ac_ext >&5
80711 ac_header_compiler=no
80713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80715 echo "${ECHO_T}$ac_header_compiler" >&6
80717 # Is the header present?
80718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80720 cat >conftest.$ac_ext <<_ACEOF
80721 /* confdefs.h. */
80722 _ACEOF
80723 cat confdefs.h >>conftest.$ac_ext
80724 cat >>conftest.$ac_ext <<_ACEOF
80725 /* end confdefs.h. */
80726 #include <$ac_header>
80727 _ACEOF
80728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80730 ac_status=$?
80731 grep -v '^ *+' conftest.er1 >conftest.err
80732 rm -f conftest.er1
80733 cat conftest.err >&5
80734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80735 (exit $ac_status); } >/dev/null; then
80736 if test -s conftest.err; then
80737 ac_cpp_err=$ac_c_preproc_warn_flag
80738 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80739 else
80740 ac_cpp_err=
80742 else
80743 ac_cpp_err=yes
80745 if test -z "$ac_cpp_err"; then
80746 ac_header_preproc=yes
80747 else
80748 echo "$as_me: failed program was:" >&5
80749 sed 's/^/| /' conftest.$ac_ext >&5
80751 ac_header_preproc=no
80753 rm -f conftest.err conftest.$ac_ext
80754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80755 echo "${ECHO_T}$ac_header_preproc" >&6
80757 # So? What about this header?
80758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80759 yes:no: )
80760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80764 ac_header_preproc=yes
80766 no:yes:* )
80767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80780 cat <<\_ASBOX
80781 ## ----------------------------------------- ##
80782 ## Report this to the package-unused lists. ##
80783 ## ----------------------------------------- ##
80784 _ASBOX
80786 sed "s/^/$as_me: WARNING: /" >&2
80788 esac
80789 echo "$as_me:$LINENO: checking for $ac_header" >&5
80790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80792 echo $ECHO_N "(cached) $ECHO_C" >&6
80793 else
80794 eval "$as_ac_Header=\$ac_header_preproc"
80796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80801 cat >>confdefs.h <<_ACEOF
80802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80803 _ACEOF
80804 ac_has_wctype_h=yes
80805 else
80806 ac_has_wctype_h=no
80809 done
80812 # Only continue checking if the ISO C99 headers exist and support is on.
80813 if test x"$ac_has_wchar_h" = xyes &&
80814 test x"$ac_has_wctype_h" = xyes &&
80815 test x"$enable_c_mbchar" != xno; then
80817 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80818 # numeric_limits can instantiate type_traits<wchar_t>
80819 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80820 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80821 cat >conftest.$ac_ext <<_ACEOF
80822 /* confdefs.h. */
80823 _ACEOF
80824 cat confdefs.h >>conftest.$ac_ext
80825 cat >>conftest.$ac_ext <<_ACEOF
80826 /* end confdefs.h. */
80827 #include <wchar.h>
80829 main ()
80831 int i = WCHAR_MIN; int j = WCHAR_MAX;
80833 return 0;
80835 _ACEOF
80836 rm -f conftest.$ac_objext
80837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80838 (eval $ac_compile) 2>conftest.er1
80839 ac_status=$?
80840 grep -v '^ *+' conftest.er1 >conftest.err
80841 rm -f conftest.er1
80842 cat conftest.err >&5
80843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80844 (exit $ac_status); } &&
80845 { ac_try='test -z "$ac_c_werror_flag"
80846 || test ! -s conftest.err'
80847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80848 (eval $ac_try) 2>&5
80849 ac_status=$?
80850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80851 (exit $ac_status); }; } &&
80852 { ac_try='test -s conftest.$ac_objext'
80853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80854 (eval $ac_try) 2>&5
80855 ac_status=$?
80856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80857 (exit $ac_status); }; }; then
80858 has_wchar_minmax=yes
80859 else
80860 echo "$as_me: failed program was:" >&5
80861 sed 's/^/| /' conftest.$ac_ext >&5
80863 has_wchar_minmax=no
80865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80866 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80867 echo "${ECHO_T}$has_wchar_minmax" >&6
80869 # Test wchar.h for WEOF, which is what we use to determine whether
80870 # to specialize for char_traits<wchar_t> or not.
80871 echo "$as_me:$LINENO: checking for WEOF" >&5
80872 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80873 cat >conftest.$ac_ext <<_ACEOF
80874 /* confdefs.h. */
80875 _ACEOF
80876 cat confdefs.h >>conftest.$ac_ext
80877 cat >>conftest.$ac_ext <<_ACEOF
80878 /* end confdefs.h. */
80880 #include <wchar.h>
80881 #include <stddef.h>
80883 main ()
80885 wint_t i = WEOF;
80887 return 0;
80889 _ACEOF
80890 rm -f conftest.$ac_objext
80891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80892 (eval $ac_compile) 2>conftest.er1
80893 ac_status=$?
80894 grep -v '^ *+' conftest.er1 >conftest.err
80895 rm -f conftest.er1
80896 cat conftest.err >&5
80897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80898 (exit $ac_status); } &&
80899 { ac_try='test -z "$ac_c_werror_flag"
80900 || test ! -s conftest.err'
80901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80902 (eval $ac_try) 2>&5
80903 ac_status=$?
80904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80905 (exit $ac_status); }; } &&
80906 { ac_try='test -s conftest.$ac_objext'
80907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80908 (eval $ac_try) 2>&5
80909 ac_status=$?
80910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80911 (exit $ac_status); }; }; then
80912 has_weof=yes
80913 else
80914 echo "$as_me: failed program was:" >&5
80915 sed 's/^/| /' conftest.$ac_ext >&5
80917 has_weof=no
80919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80920 echo "$as_me:$LINENO: result: $has_weof" >&5
80921 echo "${ECHO_T}$has_weof" >&6
80923 # Tests for wide character functions used in char_traits<wchar_t>.
80924 ac_wfuncs=yes
80931 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80934 echo "$as_me:$LINENO: checking for $ac_func" >&5
80935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80936 if eval "test \"\${$as_ac_var+set}\" = set"; then
80937 echo $ECHO_N "(cached) $ECHO_C" >&6
80938 else
80939 if test x$gcc_no_link = xyes; then
80940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80942 { (exit 1); exit 1; }; }
80944 cat >conftest.$ac_ext <<_ACEOF
80945 /* confdefs.h. */
80946 _ACEOF
80947 cat confdefs.h >>conftest.$ac_ext
80948 cat >>conftest.$ac_ext <<_ACEOF
80949 /* end confdefs.h. */
80950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80952 #define $ac_func innocuous_$ac_func
80954 /* System header to define __stub macros and hopefully few prototypes,
80955 which can conflict with char $ac_func (); below.
80956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80957 <limits.h> exists even on freestanding compilers. */
80959 #ifdef __STDC__
80960 # include <limits.h>
80961 #else
80962 # include <assert.h>
80963 #endif
80965 #undef $ac_func
80967 /* Override any gcc2 internal prototype to avoid an error. */
80968 #ifdef __cplusplus
80969 extern "C"
80971 #endif
80972 /* We use char because int might match the return type of a gcc2
80973 builtin and then its argument prototype would still apply. */
80974 char $ac_func ();
80975 /* The GNU C library defines this for functions which it implements
80976 to always fail with ENOSYS. Some functions are actually named
80977 something starting with __ and the normal name is an alias. */
80978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80979 choke me
80980 #else
80981 char (*f) () = $ac_func;
80982 #endif
80983 #ifdef __cplusplus
80985 #endif
80988 main ()
80990 return f != $ac_func;
80992 return 0;
80994 _ACEOF
80995 rm -f conftest.$ac_objext conftest$ac_exeext
80996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80997 (eval $ac_link) 2>conftest.er1
80998 ac_status=$?
80999 grep -v '^ *+' conftest.er1 >conftest.err
81000 rm -f conftest.er1
81001 cat conftest.err >&5
81002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81003 (exit $ac_status); } &&
81004 { ac_try='test -z "$ac_c_werror_flag"
81005 || test ! -s conftest.err'
81006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81007 (eval $ac_try) 2>&5
81008 ac_status=$?
81009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81010 (exit $ac_status); }; } &&
81011 { ac_try='test -s conftest$ac_exeext'
81012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81013 (eval $ac_try) 2>&5
81014 ac_status=$?
81015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81016 (exit $ac_status); }; }; then
81017 eval "$as_ac_var=yes"
81018 else
81019 echo "$as_me: failed program was:" >&5
81020 sed 's/^/| /' conftest.$ac_ext >&5
81022 eval "$as_ac_var=no"
81024 rm -f conftest.err conftest.$ac_objext \
81025 conftest$ac_exeext conftest.$ac_ext
81027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81029 if test `eval echo '${'$as_ac_var'}'` = yes; then
81030 cat >>confdefs.h <<_ACEOF
81031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81032 _ACEOF
81034 else
81035 ac_wfuncs=no
81037 done
81040 # Checks for names injected into std:: by the c_std headers.
81087 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81088 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81089 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81090 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81091 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81092 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81095 echo "$as_me:$LINENO: checking for $ac_func" >&5
81096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81097 if eval "test \"\${$as_ac_var+set}\" = set"; then
81098 echo $ECHO_N "(cached) $ECHO_C" >&6
81099 else
81100 if test x$gcc_no_link = xyes; then
81101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81103 { (exit 1); exit 1; }; }
81105 cat >conftest.$ac_ext <<_ACEOF
81106 /* confdefs.h. */
81107 _ACEOF
81108 cat confdefs.h >>conftest.$ac_ext
81109 cat >>conftest.$ac_ext <<_ACEOF
81110 /* end confdefs.h. */
81111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81113 #define $ac_func innocuous_$ac_func
81115 /* System header to define __stub macros and hopefully few prototypes,
81116 which can conflict with char $ac_func (); below.
81117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81118 <limits.h> exists even on freestanding compilers. */
81120 #ifdef __STDC__
81121 # include <limits.h>
81122 #else
81123 # include <assert.h>
81124 #endif
81126 #undef $ac_func
81128 /* Override any gcc2 internal prototype to avoid an error. */
81129 #ifdef __cplusplus
81130 extern "C"
81132 #endif
81133 /* We use char because int might match the return type of a gcc2
81134 builtin and then its argument prototype would still apply. */
81135 char $ac_func ();
81136 /* The GNU C library defines this for functions which it implements
81137 to always fail with ENOSYS. Some functions are actually named
81138 something starting with __ and the normal name is an alias. */
81139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81140 choke me
81141 #else
81142 char (*f) () = $ac_func;
81143 #endif
81144 #ifdef __cplusplus
81146 #endif
81149 main ()
81151 return f != $ac_func;
81153 return 0;
81155 _ACEOF
81156 rm -f conftest.$ac_objext conftest$ac_exeext
81157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81158 (eval $ac_link) 2>conftest.er1
81159 ac_status=$?
81160 grep -v '^ *+' conftest.er1 >conftest.err
81161 rm -f conftest.er1
81162 cat conftest.err >&5
81163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81164 (exit $ac_status); } &&
81165 { ac_try='test -z "$ac_c_werror_flag"
81166 || test ! -s conftest.err'
81167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81168 (eval $ac_try) 2>&5
81169 ac_status=$?
81170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81171 (exit $ac_status); }; } &&
81172 { ac_try='test -s conftest$ac_exeext'
81173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81174 (eval $ac_try) 2>&5
81175 ac_status=$?
81176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81177 (exit $ac_status); }; }; then
81178 eval "$as_ac_var=yes"
81179 else
81180 echo "$as_me: failed program was:" >&5
81181 sed 's/^/| /' conftest.$ac_ext >&5
81183 eval "$as_ac_var=no"
81185 rm -f conftest.err conftest.$ac_objext \
81186 conftest$ac_exeext conftest.$ac_ext
81188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81190 if test `eval echo '${'$as_ac_var'}'` = yes; then
81191 cat >>confdefs.h <<_ACEOF
81192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81193 _ACEOF
81195 else
81196 ac_wfuncs=no
81198 done
81201 # Checks for wide character functions that are not required
81202 # for basic wchar_t support. Don't disable support if they are missing.
81203 # Injection of these is wrapped with guard macros.
81209 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81212 echo "$as_me:$LINENO: checking for $ac_func" >&5
81213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81214 if eval "test \"\${$as_ac_var+set}\" = set"; then
81215 echo $ECHO_N "(cached) $ECHO_C" >&6
81216 else
81217 if test x$gcc_no_link = xyes; then
81218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81220 { (exit 1); exit 1; }; }
81222 cat >conftest.$ac_ext <<_ACEOF
81223 /* confdefs.h. */
81224 _ACEOF
81225 cat confdefs.h >>conftest.$ac_ext
81226 cat >>conftest.$ac_ext <<_ACEOF
81227 /* end confdefs.h. */
81228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81230 #define $ac_func innocuous_$ac_func
81232 /* System header to define __stub macros and hopefully few prototypes,
81233 which can conflict with char $ac_func (); below.
81234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81235 <limits.h> exists even on freestanding compilers. */
81237 #ifdef __STDC__
81238 # include <limits.h>
81239 #else
81240 # include <assert.h>
81241 #endif
81243 #undef $ac_func
81245 /* Override any gcc2 internal prototype to avoid an error. */
81246 #ifdef __cplusplus
81247 extern "C"
81249 #endif
81250 /* We use char because int might match the return type of a gcc2
81251 builtin and then its argument prototype would still apply. */
81252 char $ac_func ();
81253 /* The GNU C library defines this for functions which it implements
81254 to always fail with ENOSYS. Some functions are actually named
81255 something starting with __ and the normal name is an alias. */
81256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81257 choke me
81258 #else
81259 char (*f) () = $ac_func;
81260 #endif
81261 #ifdef __cplusplus
81263 #endif
81266 main ()
81268 return f != $ac_func;
81270 return 0;
81272 _ACEOF
81273 rm -f conftest.$ac_objext conftest$ac_exeext
81274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81275 (eval $ac_link) 2>conftest.er1
81276 ac_status=$?
81277 grep -v '^ *+' conftest.er1 >conftest.err
81278 rm -f conftest.er1
81279 cat conftest.err >&5
81280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81281 (exit $ac_status); } &&
81282 { ac_try='test -z "$ac_c_werror_flag"
81283 || test ! -s conftest.err'
81284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81285 (eval $ac_try) 2>&5
81286 ac_status=$?
81287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81288 (exit $ac_status); }; } &&
81289 { ac_try='test -s conftest$ac_exeext'
81290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81291 (eval $ac_try) 2>&5
81292 ac_status=$?
81293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81294 (exit $ac_status); }; }; then
81295 eval "$as_ac_var=yes"
81296 else
81297 echo "$as_me: failed program was:" >&5
81298 sed 's/^/| /' conftest.$ac_ext >&5
81300 eval "$as_ac_var=no"
81302 rm -f conftest.err conftest.$ac_objext \
81303 conftest$ac_exeext conftest.$ac_ext
81305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81307 if test `eval echo '${'$as_ac_var'}'` = yes; then
81308 cat >>confdefs.h <<_ACEOF
81309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81310 _ACEOF
81313 done
81316 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81317 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81318 if test x"$has_weof" = xyes &&
81319 test x"$has_wchar_minmax" = xyes &&
81320 test x"$ac_wfuncs" = xyes;
81321 then
81322 ac_isoC99_wchar_t=yes
81323 else
81324 ac_isoC99_wchar_t=no
81326 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81327 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81329 # Use iconv for wchar_t to char conversions. As such, check for
81330 # X/Open Portability Guide, version 2 features (XPG2).
81331 if test "${ac_cv_header_iconv_h+set}" = set; then
81332 echo "$as_me:$LINENO: checking for iconv.h" >&5
81333 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81334 if test "${ac_cv_header_iconv_h+set}" = set; then
81335 echo $ECHO_N "(cached) $ECHO_C" >&6
81337 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81338 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81339 else
81340 # Is the header compilable?
81341 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81342 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81343 cat >conftest.$ac_ext <<_ACEOF
81344 /* confdefs.h. */
81345 _ACEOF
81346 cat confdefs.h >>conftest.$ac_ext
81347 cat >>conftest.$ac_ext <<_ACEOF
81348 /* end confdefs.h. */
81349 $ac_includes_default
81350 #include <iconv.h>
81351 _ACEOF
81352 rm -f conftest.$ac_objext
81353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81354 (eval $ac_compile) 2>conftest.er1
81355 ac_status=$?
81356 grep -v '^ *+' conftest.er1 >conftest.err
81357 rm -f conftest.er1
81358 cat conftest.err >&5
81359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81360 (exit $ac_status); } &&
81361 { ac_try='test -z "$ac_c_werror_flag"
81362 || test ! -s conftest.err'
81363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81364 (eval $ac_try) 2>&5
81365 ac_status=$?
81366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81367 (exit $ac_status); }; } &&
81368 { ac_try='test -s conftest.$ac_objext'
81369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81370 (eval $ac_try) 2>&5
81371 ac_status=$?
81372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81373 (exit $ac_status); }; }; then
81374 ac_header_compiler=yes
81375 else
81376 echo "$as_me: failed program was:" >&5
81377 sed 's/^/| /' conftest.$ac_ext >&5
81379 ac_header_compiler=no
81381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81382 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81383 echo "${ECHO_T}$ac_header_compiler" >&6
81385 # Is the header present?
81386 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81387 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81388 cat >conftest.$ac_ext <<_ACEOF
81389 /* confdefs.h. */
81390 _ACEOF
81391 cat confdefs.h >>conftest.$ac_ext
81392 cat >>conftest.$ac_ext <<_ACEOF
81393 /* end confdefs.h. */
81394 #include <iconv.h>
81395 _ACEOF
81396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81397 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81398 ac_status=$?
81399 grep -v '^ *+' conftest.er1 >conftest.err
81400 rm -f conftest.er1
81401 cat conftest.err >&5
81402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81403 (exit $ac_status); } >/dev/null; then
81404 if test -s conftest.err; then
81405 ac_cpp_err=$ac_c_preproc_warn_flag
81406 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81407 else
81408 ac_cpp_err=
81410 else
81411 ac_cpp_err=yes
81413 if test -z "$ac_cpp_err"; then
81414 ac_header_preproc=yes
81415 else
81416 echo "$as_me: failed program was:" >&5
81417 sed 's/^/| /' conftest.$ac_ext >&5
81419 ac_header_preproc=no
81421 rm -f conftest.err conftest.$ac_ext
81422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81423 echo "${ECHO_T}$ac_header_preproc" >&6
81425 # So? What about this header?
81426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81427 yes:no: )
81428 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81429 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81430 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81431 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81432 ac_header_preproc=yes
81434 no:yes:* )
81435 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81436 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81437 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81438 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81439 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81440 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81441 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81442 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81443 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81444 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81445 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81446 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81448 cat <<\_ASBOX
81449 ## ----------------------------------------- ##
81450 ## Report this to the package-unused lists. ##
81451 ## ----------------------------------------- ##
81452 _ASBOX
81454 sed "s/^/$as_me: WARNING: /" >&2
81456 esac
81457 echo "$as_me:$LINENO: checking for iconv.h" >&5
81458 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81459 if test "${ac_cv_header_iconv_h+set}" = set; then
81460 echo $ECHO_N "(cached) $ECHO_C" >&6
81461 else
81462 ac_cv_header_iconv_h=$ac_header_preproc
81464 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81465 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81468 if test $ac_cv_header_iconv_h = yes; then
81469 ac_has_iconv_h=yes
81470 else
81471 ac_has_iconv_h=no
81475 if test "${ac_cv_header_langinfo_h+set}" = set; then
81476 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81477 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81478 if test "${ac_cv_header_langinfo_h+set}" = set; then
81479 echo $ECHO_N "(cached) $ECHO_C" >&6
81481 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81482 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81483 else
81484 # Is the header compilable?
81485 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81486 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81487 cat >conftest.$ac_ext <<_ACEOF
81488 /* confdefs.h. */
81489 _ACEOF
81490 cat confdefs.h >>conftest.$ac_ext
81491 cat >>conftest.$ac_ext <<_ACEOF
81492 /* end confdefs.h. */
81493 $ac_includes_default
81494 #include <langinfo.h>
81495 _ACEOF
81496 rm -f conftest.$ac_objext
81497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81498 (eval $ac_compile) 2>conftest.er1
81499 ac_status=$?
81500 grep -v '^ *+' conftest.er1 >conftest.err
81501 rm -f conftest.er1
81502 cat conftest.err >&5
81503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81504 (exit $ac_status); } &&
81505 { ac_try='test -z "$ac_c_werror_flag"
81506 || test ! -s conftest.err'
81507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81508 (eval $ac_try) 2>&5
81509 ac_status=$?
81510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81511 (exit $ac_status); }; } &&
81512 { ac_try='test -s conftest.$ac_objext'
81513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81514 (eval $ac_try) 2>&5
81515 ac_status=$?
81516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81517 (exit $ac_status); }; }; then
81518 ac_header_compiler=yes
81519 else
81520 echo "$as_me: failed program was:" >&5
81521 sed 's/^/| /' conftest.$ac_ext >&5
81523 ac_header_compiler=no
81525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81527 echo "${ECHO_T}$ac_header_compiler" >&6
81529 # Is the header present?
81530 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81531 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81532 cat >conftest.$ac_ext <<_ACEOF
81533 /* confdefs.h. */
81534 _ACEOF
81535 cat confdefs.h >>conftest.$ac_ext
81536 cat >>conftest.$ac_ext <<_ACEOF
81537 /* end confdefs.h. */
81538 #include <langinfo.h>
81539 _ACEOF
81540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81542 ac_status=$?
81543 grep -v '^ *+' conftest.er1 >conftest.err
81544 rm -f conftest.er1
81545 cat conftest.err >&5
81546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81547 (exit $ac_status); } >/dev/null; then
81548 if test -s conftest.err; then
81549 ac_cpp_err=$ac_c_preproc_warn_flag
81550 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81551 else
81552 ac_cpp_err=
81554 else
81555 ac_cpp_err=yes
81557 if test -z "$ac_cpp_err"; then
81558 ac_header_preproc=yes
81559 else
81560 echo "$as_me: failed program was:" >&5
81561 sed 's/^/| /' conftest.$ac_ext >&5
81563 ac_header_preproc=no
81565 rm -f conftest.err conftest.$ac_ext
81566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81567 echo "${ECHO_T}$ac_header_preproc" >&6
81569 # So? What about this header?
81570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81571 yes:no: )
81572 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81573 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81574 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81575 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81576 ac_header_preproc=yes
81578 no:yes:* )
81579 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81580 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81581 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81582 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81583 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81584 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81585 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81586 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81587 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81588 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81589 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81590 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81592 cat <<\_ASBOX
81593 ## ----------------------------------------- ##
81594 ## Report this to the package-unused lists. ##
81595 ## ----------------------------------------- ##
81596 _ASBOX
81598 sed "s/^/$as_me: WARNING: /" >&2
81600 esac
81601 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81602 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81603 if test "${ac_cv_header_langinfo_h+set}" = set; then
81604 echo $ECHO_N "(cached) $ECHO_C" >&6
81605 else
81606 ac_cv_header_langinfo_h=$ac_header_preproc
81608 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81609 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81612 if test $ac_cv_header_langinfo_h = yes; then
81613 ac_has_langinfo_h=yes
81614 else
81615 ac_has_langinfo_h=no
81620 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81621 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81622 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81623 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81624 echo $ECHO_N "(cached) $ECHO_C" >&6
81625 else
81626 ac_check_lib_save_LIBS=$LIBS
81627 LIBS="-liconv $LIBS"
81628 if test x$gcc_no_link = xyes; then
81629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81631 { (exit 1); exit 1; }; }
81633 cat >conftest.$ac_ext <<_ACEOF
81634 /* confdefs.h. */
81635 _ACEOF
81636 cat confdefs.h >>conftest.$ac_ext
81637 cat >>conftest.$ac_ext <<_ACEOF
81638 /* end confdefs.h. */
81640 /* Override any gcc2 internal prototype to avoid an error. */
81641 #ifdef __cplusplus
81642 extern "C"
81643 #endif
81644 /* We use char because int might match the return type of a gcc2
81645 builtin and then its argument prototype would still apply. */
81646 char iconv ();
81648 main ()
81650 iconv ();
81652 return 0;
81654 _ACEOF
81655 rm -f conftest.$ac_objext conftest$ac_exeext
81656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81657 (eval $ac_link) 2>conftest.er1
81658 ac_status=$?
81659 grep -v '^ *+' conftest.er1 >conftest.err
81660 rm -f conftest.er1
81661 cat conftest.err >&5
81662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81663 (exit $ac_status); } &&
81664 { ac_try='test -z "$ac_c_werror_flag"
81665 || test ! -s conftest.err'
81666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81667 (eval $ac_try) 2>&5
81668 ac_status=$?
81669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81670 (exit $ac_status); }; } &&
81671 { ac_try='test -s conftest$ac_exeext'
81672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81673 (eval $ac_try) 2>&5
81674 ac_status=$?
81675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81676 (exit $ac_status); }; }; then
81677 ac_cv_lib_iconv_iconv=yes
81678 else
81679 echo "$as_me: failed program was:" >&5
81680 sed 's/^/| /' conftest.$ac_ext >&5
81682 ac_cv_lib_iconv_iconv=no
81684 rm -f conftest.err conftest.$ac_objext \
81685 conftest$ac_exeext conftest.$ac_ext
81686 LIBS=$ac_check_lib_save_LIBS
81688 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81689 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81690 if test $ac_cv_lib_iconv_iconv = yes; then
81691 LIBICONV="-liconv"
81694 ac_save_LIBS="$LIBS"
81695 LIBS="$LIBS $LIBICONV"
81702 for ac_func in iconv_open iconv_close iconv nl_langinfo
81704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81705 echo "$as_me:$LINENO: checking for $ac_func" >&5
81706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81707 if eval "test \"\${$as_ac_var+set}\" = set"; then
81708 echo $ECHO_N "(cached) $ECHO_C" >&6
81709 else
81710 if test x$gcc_no_link = xyes; then
81711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81713 { (exit 1); exit 1; }; }
81715 cat >conftest.$ac_ext <<_ACEOF
81716 /* confdefs.h. */
81717 _ACEOF
81718 cat confdefs.h >>conftest.$ac_ext
81719 cat >>conftest.$ac_ext <<_ACEOF
81720 /* end confdefs.h. */
81721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81723 #define $ac_func innocuous_$ac_func
81725 /* System header to define __stub macros and hopefully few prototypes,
81726 which can conflict with char $ac_func (); below.
81727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81728 <limits.h> exists even on freestanding compilers. */
81730 #ifdef __STDC__
81731 # include <limits.h>
81732 #else
81733 # include <assert.h>
81734 #endif
81736 #undef $ac_func
81738 /* Override any gcc2 internal prototype to avoid an error. */
81739 #ifdef __cplusplus
81740 extern "C"
81742 #endif
81743 /* We use char because int might match the return type of a gcc2
81744 builtin and then its argument prototype would still apply. */
81745 char $ac_func ();
81746 /* The GNU C library defines this for functions which it implements
81747 to always fail with ENOSYS. Some functions are actually named
81748 something starting with __ and the normal name is an alias. */
81749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81750 choke me
81751 #else
81752 char (*f) () = $ac_func;
81753 #endif
81754 #ifdef __cplusplus
81756 #endif
81759 main ()
81761 return f != $ac_func;
81763 return 0;
81765 _ACEOF
81766 rm -f conftest.$ac_objext conftest$ac_exeext
81767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81768 (eval $ac_link) 2>conftest.er1
81769 ac_status=$?
81770 grep -v '^ *+' conftest.er1 >conftest.err
81771 rm -f conftest.er1
81772 cat conftest.err >&5
81773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81774 (exit $ac_status); } &&
81775 { ac_try='test -z "$ac_c_werror_flag"
81776 || test ! -s conftest.err'
81777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81778 (eval $ac_try) 2>&5
81779 ac_status=$?
81780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81781 (exit $ac_status); }; } &&
81782 { ac_try='test -s conftest$ac_exeext'
81783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81784 (eval $ac_try) 2>&5
81785 ac_status=$?
81786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81787 (exit $ac_status); }; }; then
81788 eval "$as_ac_var=yes"
81789 else
81790 echo "$as_me: failed program was:" >&5
81791 sed 's/^/| /' conftest.$ac_ext >&5
81793 eval "$as_ac_var=no"
81795 rm -f conftest.err conftest.$ac_objext \
81796 conftest$ac_exeext conftest.$ac_ext
81798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81800 if test `eval echo '${'$as_ac_var'}'` = yes; then
81801 cat >>confdefs.h <<_ACEOF
81802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81803 _ACEOF
81804 ac_XPG2funcs=yes
81805 else
81806 ac_XPG2funcs=no
81808 done
81811 LIBS="$ac_save_LIBS"
81813 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81814 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81815 if test x"$ac_has_iconv_h" = xyes &&
81816 test x"$ac_has_langinfo_h" = xyes &&
81817 test x"$ac_XPG2funcs" = xyes;
81818 then
81819 ac_XPG2_wchar_t=yes
81820 else
81821 ac_XPG2_wchar_t=no
81823 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81824 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81826 # At the moment, only enable wchar_t specializations if all the
81827 # above support is present.
81828 if test x"$ac_isoC99_wchar_t" = xyes &&
81829 test x"$ac_XPG2_wchar_t" = xyes;
81830 then
81831 cat >>confdefs.h <<\_ACEOF
81832 #define _GLIBCXX_USE_WCHAR_T 1
81833 _ACEOF
81835 enable_wchar_t=yes
81838 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81839 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81840 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81841 echo "${ECHO_T}$enable_wchar_t" >&6
81844 # For LFS.
81845 cat >>confdefs.h <<\_ACEOF
81846 #define HAVE_INT64_T 1
81847 _ACEOF
81849 case "$target" in
81850 *-uclinux*)
81851 # Don't enable LFS with uClibc
81854 cat >>confdefs.h <<\_ACEOF
81855 #define _GLIBCXX_USE_LFS 1
81856 _ACEOF
81858 esac
81860 # For showmanyc_helper().
81863 for ac_header in sys/ioctl.h sys/filio.h
81865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81867 echo "$as_me:$LINENO: checking for $ac_header" >&5
81868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81870 echo $ECHO_N "(cached) $ECHO_C" >&6
81872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81874 else
81875 # Is the header compilable?
81876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81878 cat >conftest.$ac_ext <<_ACEOF
81879 /* confdefs.h. */
81880 _ACEOF
81881 cat confdefs.h >>conftest.$ac_ext
81882 cat >>conftest.$ac_ext <<_ACEOF
81883 /* end confdefs.h. */
81884 $ac_includes_default
81885 #include <$ac_header>
81886 _ACEOF
81887 rm -f conftest.$ac_objext
81888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81889 (eval $ac_compile) 2>conftest.er1
81890 ac_status=$?
81891 grep -v '^ *+' conftest.er1 >conftest.err
81892 rm -f conftest.er1
81893 cat conftest.err >&5
81894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81895 (exit $ac_status); } &&
81896 { ac_try='test -z "$ac_c_werror_flag"
81897 || test ! -s conftest.err'
81898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81899 (eval $ac_try) 2>&5
81900 ac_status=$?
81901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81902 (exit $ac_status); }; } &&
81903 { ac_try='test -s conftest.$ac_objext'
81904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81905 (eval $ac_try) 2>&5
81906 ac_status=$?
81907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81908 (exit $ac_status); }; }; then
81909 ac_header_compiler=yes
81910 else
81911 echo "$as_me: failed program was:" >&5
81912 sed 's/^/| /' conftest.$ac_ext >&5
81914 ac_header_compiler=no
81916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81917 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81918 echo "${ECHO_T}$ac_header_compiler" >&6
81920 # Is the header present?
81921 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81922 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81923 cat >conftest.$ac_ext <<_ACEOF
81924 /* confdefs.h. */
81925 _ACEOF
81926 cat confdefs.h >>conftest.$ac_ext
81927 cat >>conftest.$ac_ext <<_ACEOF
81928 /* end confdefs.h. */
81929 #include <$ac_header>
81930 _ACEOF
81931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81932 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81933 ac_status=$?
81934 grep -v '^ *+' conftest.er1 >conftest.err
81935 rm -f conftest.er1
81936 cat conftest.err >&5
81937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81938 (exit $ac_status); } >/dev/null; then
81939 if test -s conftest.err; then
81940 ac_cpp_err=$ac_c_preproc_warn_flag
81941 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81942 else
81943 ac_cpp_err=
81945 else
81946 ac_cpp_err=yes
81948 if test -z "$ac_cpp_err"; then
81949 ac_header_preproc=yes
81950 else
81951 echo "$as_me: failed program was:" >&5
81952 sed 's/^/| /' conftest.$ac_ext >&5
81954 ac_header_preproc=no
81956 rm -f conftest.err conftest.$ac_ext
81957 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81958 echo "${ECHO_T}$ac_header_preproc" >&6
81960 # So? What about this header?
81961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81962 yes:no: )
81963 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81964 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81966 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81967 ac_header_preproc=yes
81969 no:yes:* )
81970 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81971 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81972 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81973 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81974 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81975 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81976 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81977 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81978 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81979 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81980 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81981 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81983 cat <<\_ASBOX
81984 ## ----------------------------------------- ##
81985 ## Report this to the package-unused lists. ##
81986 ## ----------------------------------------- ##
81987 _ASBOX
81989 sed "s/^/$as_me: WARNING: /" >&2
81991 esac
81992 echo "$as_me:$LINENO: checking for $ac_header" >&5
81993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81995 echo $ECHO_N "(cached) $ECHO_C" >&6
81996 else
81997 eval "$as_ac_Header=\$ac_header_preproc"
81999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82004 cat >>confdefs.h <<_ACEOF
82005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82006 _ACEOF
82010 done
82013 if test "${glibcxx_cv_POLL+set}" = set; then
82014 echo $ECHO_N "(cached) $ECHO_C" >&6
82015 else
82017 if test x$gcc_no_link = xyes; then
82018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82020 { (exit 1); exit 1; }; }
82022 cat >conftest.$ac_ext <<_ACEOF
82023 /* confdefs.h. */
82024 _ACEOF
82025 cat confdefs.h >>conftest.$ac_ext
82026 cat >>conftest.$ac_ext <<_ACEOF
82027 /* end confdefs.h. */
82028 #include <poll.h>
82030 main ()
82032 struct pollfd pfd[1];
82033 pfd[0].events = POLLIN;
82034 poll(pfd, 1, 0);
82036 return 0;
82038 _ACEOF
82039 rm -f conftest.$ac_objext conftest$ac_exeext
82040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82041 (eval $ac_link) 2>conftest.er1
82042 ac_status=$?
82043 grep -v '^ *+' conftest.er1 >conftest.err
82044 rm -f conftest.er1
82045 cat conftest.err >&5
82046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82047 (exit $ac_status); } &&
82048 { ac_try='test -z "$ac_c_werror_flag"
82049 || test ! -s conftest.err'
82050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82051 (eval $ac_try) 2>&5
82052 ac_status=$?
82053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82054 (exit $ac_status); }; } &&
82055 { ac_try='test -s conftest$ac_exeext'
82056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82057 (eval $ac_try) 2>&5
82058 ac_status=$?
82059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82060 (exit $ac_status); }; }; then
82061 glibcxx_cv_POLL=yes
82062 else
82063 echo "$as_me: failed program was:" >&5
82064 sed 's/^/| /' conftest.$ac_ext >&5
82066 glibcxx_cv_POLL=no
82068 rm -f conftest.err conftest.$ac_objext \
82069 conftest$ac_exeext conftest.$ac_ext
82073 if test $glibcxx_cv_POLL = yes; then
82074 cat >>confdefs.h <<\_ACEOF
82075 #define HAVE_POLL 1
82076 _ACEOF
82081 if test "${glibcxx_cv_S_ISREG+set}" = set; then
82082 echo $ECHO_N "(cached) $ECHO_C" >&6
82083 else
82085 if test x$gcc_no_link = xyes; then
82086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82088 { (exit 1); exit 1; }; }
82090 cat >conftest.$ac_ext <<_ACEOF
82091 /* confdefs.h. */
82092 _ACEOF
82093 cat confdefs.h >>conftest.$ac_ext
82094 cat >>conftest.$ac_ext <<_ACEOF
82095 /* end confdefs.h. */
82096 #include <sys/stat.h>
82098 main ()
82100 struct stat buffer;
82101 fstat(0, &buffer);
82102 S_ISREG(buffer.st_mode);
82104 return 0;
82106 _ACEOF
82107 rm -f conftest.$ac_objext conftest$ac_exeext
82108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82109 (eval $ac_link) 2>conftest.er1
82110 ac_status=$?
82111 grep -v '^ *+' conftest.er1 >conftest.err
82112 rm -f conftest.er1
82113 cat conftest.err >&5
82114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82115 (exit $ac_status); } &&
82116 { ac_try='test -z "$ac_c_werror_flag"
82117 || test ! -s conftest.err'
82118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82119 (eval $ac_try) 2>&5
82120 ac_status=$?
82121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82122 (exit $ac_status); }; } &&
82123 { ac_try='test -s conftest$ac_exeext'
82124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82125 (eval $ac_try) 2>&5
82126 ac_status=$?
82127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82128 (exit $ac_status); }; }; then
82129 glibcxx_cv_S_ISREG=yes
82130 else
82131 echo "$as_me: failed program was:" >&5
82132 sed 's/^/| /' conftest.$ac_ext >&5
82134 glibcxx_cv_S_ISREG=no
82136 rm -f conftest.err conftest.$ac_objext \
82137 conftest$ac_exeext conftest.$ac_ext
82141 if test "${glibcxx_cv_S_IFREG+set}" = set; then
82142 echo $ECHO_N "(cached) $ECHO_C" >&6
82143 else
82145 if test x$gcc_no_link = xyes; then
82146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82148 { (exit 1); exit 1; }; }
82150 cat >conftest.$ac_ext <<_ACEOF
82151 /* confdefs.h. */
82152 _ACEOF
82153 cat confdefs.h >>conftest.$ac_ext
82154 cat >>conftest.$ac_ext <<_ACEOF
82155 /* end confdefs.h. */
82156 #include <sys/stat.h>
82158 main ()
82160 struct stat buffer;
82161 fstat(0, &buffer);
82162 S_IFREG & buffer.st_mode;
82164 return 0;
82166 _ACEOF
82167 rm -f conftest.$ac_objext conftest$ac_exeext
82168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82169 (eval $ac_link) 2>conftest.er1
82170 ac_status=$?
82171 grep -v '^ *+' conftest.er1 >conftest.err
82172 rm -f conftest.er1
82173 cat conftest.err >&5
82174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82175 (exit $ac_status); } &&
82176 { ac_try='test -z "$ac_c_werror_flag"
82177 || test ! -s conftest.err'
82178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82179 (eval $ac_try) 2>&5
82180 ac_status=$?
82181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82182 (exit $ac_status); }; } &&
82183 { ac_try='test -s conftest$ac_exeext'
82184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82185 (eval $ac_try) 2>&5
82186 ac_status=$?
82187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82188 (exit $ac_status); }; }; then
82189 glibcxx_cv_S_IFREG=yes
82190 else
82191 echo "$as_me: failed program was:" >&5
82192 sed 's/^/| /' conftest.$ac_ext >&5
82194 glibcxx_cv_S_IFREG=no
82196 rm -f conftest.err conftest.$ac_objext \
82197 conftest$ac_exeext conftest.$ac_ext
82201 if test $glibcxx_cv_S_ISREG = yes; then
82202 cat >>confdefs.h <<\_ACEOF
82203 #define HAVE_S_ISREG 1
82204 _ACEOF
82206 elif test $glibcxx_cv_S_IFREG = yes; then
82207 cat >>confdefs.h <<\_ACEOF
82208 #define HAVE_S_IFREG 1
82209 _ACEOF
82214 # For xsputn_2().
82216 for ac_header in sys/uio.h
82218 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82220 echo "$as_me:$LINENO: checking for $ac_header" >&5
82221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82223 echo $ECHO_N "(cached) $ECHO_C" >&6
82225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82227 else
82228 # Is the header compilable?
82229 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82230 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82231 cat >conftest.$ac_ext <<_ACEOF
82232 /* confdefs.h. */
82233 _ACEOF
82234 cat confdefs.h >>conftest.$ac_ext
82235 cat >>conftest.$ac_ext <<_ACEOF
82236 /* end confdefs.h. */
82237 $ac_includes_default
82238 #include <$ac_header>
82239 _ACEOF
82240 rm -f conftest.$ac_objext
82241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82242 (eval $ac_compile) 2>conftest.er1
82243 ac_status=$?
82244 grep -v '^ *+' conftest.er1 >conftest.err
82245 rm -f conftest.er1
82246 cat conftest.err >&5
82247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82248 (exit $ac_status); } &&
82249 { ac_try='test -z "$ac_c_werror_flag"
82250 || test ! -s conftest.err'
82251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82252 (eval $ac_try) 2>&5
82253 ac_status=$?
82254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82255 (exit $ac_status); }; } &&
82256 { ac_try='test -s conftest.$ac_objext'
82257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82258 (eval $ac_try) 2>&5
82259 ac_status=$?
82260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82261 (exit $ac_status); }; }; then
82262 ac_header_compiler=yes
82263 else
82264 echo "$as_me: failed program was:" >&5
82265 sed 's/^/| /' conftest.$ac_ext >&5
82267 ac_header_compiler=no
82269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82270 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82271 echo "${ECHO_T}$ac_header_compiler" >&6
82273 # Is the header present?
82274 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82275 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82276 cat >conftest.$ac_ext <<_ACEOF
82277 /* confdefs.h. */
82278 _ACEOF
82279 cat confdefs.h >>conftest.$ac_ext
82280 cat >>conftest.$ac_ext <<_ACEOF
82281 /* end confdefs.h. */
82282 #include <$ac_header>
82283 _ACEOF
82284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82285 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82286 ac_status=$?
82287 grep -v '^ *+' conftest.er1 >conftest.err
82288 rm -f conftest.er1
82289 cat conftest.err >&5
82290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82291 (exit $ac_status); } >/dev/null; then
82292 if test -s conftest.err; then
82293 ac_cpp_err=$ac_c_preproc_warn_flag
82294 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82295 else
82296 ac_cpp_err=
82298 else
82299 ac_cpp_err=yes
82301 if test -z "$ac_cpp_err"; then
82302 ac_header_preproc=yes
82303 else
82304 echo "$as_me: failed program was:" >&5
82305 sed 's/^/| /' conftest.$ac_ext >&5
82307 ac_header_preproc=no
82309 rm -f conftest.err conftest.$ac_ext
82310 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82311 echo "${ECHO_T}$ac_header_preproc" >&6
82313 # So? What about this header?
82314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82315 yes:no: )
82316 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82317 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82319 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82320 ac_header_preproc=yes
82322 no:yes:* )
82323 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82324 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82325 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82326 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82327 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82328 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82329 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82330 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82332 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82333 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82334 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82336 cat <<\_ASBOX
82337 ## ----------------------------------------- ##
82338 ## Report this to the package-unused lists. ##
82339 ## ----------------------------------------- ##
82340 _ASBOX
82342 sed "s/^/$as_me: WARNING: /" >&2
82344 esac
82345 echo "$as_me:$LINENO: checking for $ac_header" >&5
82346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82348 echo $ECHO_N "(cached) $ECHO_C" >&6
82349 else
82350 eval "$as_ac_Header=\$ac_header_preproc"
82352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82357 cat >>confdefs.h <<_ACEOF
82358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82359 _ACEOF
82363 done
82366 if test "${glibcxx_cv_WRITEV+set}" = set; then
82367 echo $ECHO_N "(cached) $ECHO_C" >&6
82368 else
82370 if test x$gcc_no_link = xyes; then
82371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82373 { (exit 1); exit 1; }; }
82375 cat >conftest.$ac_ext <<_ACEOF
82376 /* confdefs.h. */
82377 _ACEOF
82378 cat confdefs.h >>conftest.$ac_ext
82379 cat >>conftest.$ac_ext <<_ACEOF
82380 /* end confdefs.h. */
82381 #include <sys/uio.h>
82383 main ()
82385 struct iovec iov[2];
82386 writev(0, iov, 0);
82388 return 0;
82390 _ACEOF
82391 rm -f conftest.$ac_objext conftest$ac_exeext
82392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82393 (eval $ac_link) 2>conftest.er1
82394 ac_status=$?
82395 grep -v '^ *+' conftest.er1 >conftest.err
82396 rm -f conftest.er1
82397 cat conftest.err >&5
82398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82399 (exit $ac_status); } &&
82400 { ac_try='test -z "$ac_c_werror_flag"
82401 || test ! -s conftest.err'
82402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82403 (eval $ac_try) 2>&5
82404 ac_status=$?
82405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82406 (exit $ac_status); }; } &&
82407 { ac_try='test -s conftest$ac_exeext'
82408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82409 (eval $ac_try) 2>&5
82410 ac_status=$?
82411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82412 (exit $ac_status); }; }; then
82413 glibcxx_cv_WRITEV=yes
82414 else
82415 echo "$as_me: failed program was:" >&5
82416 sed 's/^/| /' conftest.$ac_ext >&5
82418 glibcxx_cv_WRITEV=no
82420 rm -f conftest.err conftest.$ac_objext \
82421 conftest$ac_exeext conftest.$ac_ext
82425 if test $glibcxx_cv_WRITEV = yes; then
82426 cat >>confdefs.h <<\_ACEOF
82427 #define HAVE_WRITEV 1
82428 _ACEOF
82433 cat >>confdefs.h <<\_ACEOF
82434 #define HAVE_ACOSF 1
82435 _ACEOF
82437 cat >>confdefs.h <<\_ACEOF
82438 #define HAVE_ASINF 1
82439 _ACEOF
82441 cat >>confdefs.h <<\_ACEOF
82442 #define HAVE_ATANF 1
82443 _ACEOF
82445 cat >>confdefs.h <<\_ACEOF
82446 #define HAVE_ATAN2F 1
82447 _ACEOF
82449 cat >>confdefs.h <<\_ACEOF
82450 #define HAVE_CEILF 1
82451 _ACEOF
82453 cat >>confdefs.h <<\_ACEOF
82454 #define HAVE_COPYSIGN 1
82455 _ACEOF
82457 cat >>confdefs.h <<\_ACEOF
82458 #define HAVE_COPYSIGNF 1
82459 _ACEOF
82461 cat >>confdefs.h <<\_ACEOF
82462 #define HAVE_COSF 1
82463 _ACEOF
82465 cat >>confdefs.h <<\_ACEOF
82466 #define HAVE_COSHF 1
82467 _ACEOF
82469 cat >>confdefs.h <<\_ACEOF
82470 #define HAVE_EXPF 1
82471 _ACEOF
82473 cat >>confdefs.h <<\_ACEOF
82474 #define HAVE_FABSF 1
82475 _ACEOF
82477 cat >>confdefs.h <<\_ACEOF
82478 #define HAVE_FINITE 1
82479 _ACEOF
82481 cat >>confdefs.h <<\_ACEOF
82482 #define HAVE_FINITEF 1
82483 _ACEOF
82485 cat >>confdefs.h <<\_ACEOF
82486 #define HAVE_FLOORF 1
82487 _ACEOF
82489 cat >>confdefs.h <<\_ACEOF
82490 #define HAVE_FMODF 1
82491 _ACEOF
82493 cat >>confdefs.h <<\_ACEOF
82494 #define HAVE_FREXPF 1
82495 _ACEOF
82497 cat >>confdefs.h <<\_ACEOF
82498 #define HAVE_HYPOT 1
82499 _ACEOF
82501 cat >>confdefs.h <<\_ACEOF
82502 #define HAVE_HYPOTF 1
82503 _ACEOF
82505 cat >>confdefs.h <<\_ACEOF
82506 #define HAVE_ISINF 1
82507 _ACEOF
82509 cat >>confdefs.h <<\_ACEOF
82510 #define HAVE_ISINFF 1
82511 _ACEOF
82513 cat >>confdefs.h <<\_ACEOF
82514 #define HAVE_ISNAN 1
82515 _ACEOF
82517 cat >>confdefs.h <<\_ACEOF
82518 #define HAVE_ISNANF 1
82519 _ACEOF
82521 cat >>confdefs.h <<\_ACEOF
82522 #define HAVE_LOGF 1
82523 _ACEOF
82525 cat >>confdefs.h <<\_ACEOF
82526 #define HAVE_LOG10F 1
82527 _ACEOF
82529 cat >>confdefs.h <<\_ACEOF
82530 #define HAVE_MODFF 1
82531 _ACEOF
82533 cat >>confdefs.h <<\_ACEOF
82534 #define HAVE_SINF 1
82535 _ACEOF
82537 cat >>confdefs.h <<\_ACEOF
82538 #define HAVE_SINHF 1
82539 _ACEOF
82541 cat >>confdefs.h <<\_ACEOF
82542 #define HAVE_SINCOS 1
82543 _ACEOF
82545 cat >>confdefs.h <<\_ACEOF
82546 #define HAVE_SINCOSF 1
82547 _ACEOF
82549 cat >>confdefs.h <<\_ACEOF
82550 #define HAVE_SQRTF 1
82551 _ACEOF
82553 cat >>confdefs.h <<\_ACEOF
82554 #define HAVE_TANF 1
82555 _ACEOF
82557 cat >>confdefs.h <<\_ACEOF
82558 #define HAVE_TANHF 1
82559 _ACEOF
82561 if test x"long_double_math_on_this_cpu" = x"yes"; then
82562 cat >>confdefs.h <<\_ACEOF
82563 #define HAVE_ACOSL 1
82564 _ACEOF
82566 cat >>confdefs.h <<\_ACEOF
82567 #define HAVE_ASINL 1
82568 _ACEOF
82570 cat >>confdefs.h <<\_ACEOF
82571 #define HAVE_ATANL 1
82572 _ACEOF
82574 cat >>confdefs.h <<\_ACEOF
82575 #define HAVE_ATAN2L 1
82576 _ACEOF
82578 cat >>confdefs.h <<\_ACEOF
82579 #define HAVE_CEILL 1
82580 _ACEOF
82582 cat >>confdefs.h <<\_ACEOF
82583 #define HAVE_COPYSIGNL 1
82584 _ACEOF
82586 cat >>confdefs.h <<\_ACEOF
82587 #define HAVE_COSL 1
82588 _ACEOF
82590 cat >>confdefs.h <<\_ACEOF
82591 #define HAVE_COSHL 1
82592 _ACEOF
82594 cat >>confdefs.h <<\_ACEOF
82595 #define HAVE_EXPL 1
82596 _ACEOF
82598 cat >>confdefs.h <<\_ACEOF
82599 #define HAVE_FABSL 1
82600 _ACEOF
82602 cat >>confdefs.h <<\_ACEOF
82603 #define HAVE_FINITEL 1
82604 _ACEOF
82606 cat >>confdefs.h <<\_ACEOF
82607 #define HAVE_FLOORL 1
82608 _ACEOF
82610 cat >>confdefs.h <<\_ACEOF
82611 #define HAVE_FMODL 1
82612 _ACEOF
82614 cat >>confdefs.h <<\_ACEOF
82615 #define HAVE_FREXPL 1
82616 _ACEOF
82618 cat >>confdefs.h <<\_ACEOF
82619 #define HAVE_HYPOTL 1
82620 _ACEOF
82622 cat >>confdefs.h <<\_ACEOF
82623 #define HAVE_ISINFL 1
82624 _ACEOF
82626 cat >>confdefs.h <<\_ACEOF
82627 #define HAVE_ISNANL 1
82628 _ACEOF
82630 cat >>confdefs.h <<\_ACEOF
82631 #define HAVE_LOGL 1
82632 _ACEOF
82634 cat >>confdefs.h <<\_ACEOF
82635 #define HAVE_LOG10L 1
82636 _ACEOF
82638 cat >>confdefs.h <<\_ACEOF
82639 #define HAVE_MODFL 1
82640 _ACEOF
82642 cat >>confdefs.h <<\_ACEOF
82643 #define HAVE_POWL 1
82644 _ACEOF
82646 cat >>confdefs.h <<\_ACEOF
82647 #define HAVE_SINL 1
82648 _ACEOF
82650 cat >>confdefs.h <<\_ACEOF
82651 #define HAVE_SINHL 1
82652 _ACEOF
82654 cat >>confdefs.h <<\_ACEOF
82655 #define HAVE_SINCOSL 1
82656 _ACEOF
82658 cat >>confdefs.h <<\_ACEOF
82659 #define HAVE_SQRTL 1
82660 _ACEOF
82662 cat >>confdefs.h <<\_ACEOF
82663 #define HAVE_TANL 1
82664 _ACEOF
82666 cat >>confdefs.h <<\_ACEOF
82667 #define HAVE_TANHL 1
82668 _ACEOF
82672 *-mingw32*)
82676 for ac_header in sys/types.h locale.h float.h
82678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82680 echo "$as_me:$LINENO: checking for $ac_header" >&5
82681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82683 echo $ECHO_N "(cached) $ECHO_C" >&6
82685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82687 else
82688 # Is the header compilable?
82689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82691 cat >conftest.$ac_ext <<_ACEOF
82692 /* confdefs.h. */
82693 _ACEOF
82694 cat confdefs.h >>conftest.$ac_ext
82695 cat >>conftest.$ac_ext <<_ACEOF
82696 /* end confdefs.h. */
82697 $ac_includes_default
82698 #include <$ac_header>
82699 _ACEOF
82700 rm -f conftest.$ac_objext
82701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82702 (eval $ac_compile) 2>conftest.er1
82703 ac_status=$?
82704 grep -v '^ *+' conftest.er1 >conftest.err
82705 rm -f conftest.er1
82706 cat conftest.err >&5
82707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82708 (exit $ac_status); } &&
82709 { ac_try='test -z "$ac_c_werror_flag"
82710 || test ! -s conftest.err'
82711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82712 (eval $ac_try) 2>&5
82713 ac_status=$?
82714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82715 (exit $ac_status); }; } &&
82716 { ac_try='test -s conftest.$ac_objext'
82717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82718 (eval $ac_try) 2>&5
82719 ac_status=$?
82720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82721 (exit $ac_status); }; }; then
82722 ac_header_compiler=yes
82723 else
82724 echo "$as_me: failed program was:" >&5
82725 sed 's/^/| /' conftest.$ac_ext >&5
82727 ac_header_compiler=no
82729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82730 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82731 echo "${ECHO_T}$ac_header_compiler" >&6
82733 # Is the header present?
82734 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82735 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82736 cat >conftest.$ac_ext <<_ACEOF
82737 /* confdefs.h. */
82738 _ACEOF
82739 cat confdefs.h >>conftest.$ac_ext
82740 cat >>conftest.$ac_ext <<_ACEOF
82741 /* end confdefs.h. */
82742 #include <$ac_header>
82743 _ACEOF
82744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82745 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82746 ac_status=$?
82747 grep -v '^ *+' conftest.er1 >conftest.err
82748 rm -f conftest.er1
82749 cat conftest.err >&5
82750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82751 (exit $ac_status); } >/dev/null; then
82752 if test -s conftest.err; then
82753 ac_cpp_err=$ac_c_preproc_warn_flag
82754 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82755 else
82756 ac_cpp_err=
82758 else
82759 ac_cpp_err=yes
82761 if test -z "$ac_cpp_err"; then
82762 ac_header_preproc=yes
82763 else
82764 echo "$as_me: failed program was:" >&5
82765 sed 's/^/| /' conftest.$ac_ext >&5
82767 ac_header_preproc=no
82769 rm -f conftest.err conftest.$ac_ext
82770 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82771 echo "${ECHO_T}$ac_header_preproc" >&6
82773 # So? What about this header?
82774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82775 yes:no: )
82776 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82777 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82779 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82780 ac_header_preproc=yes
82782 no:yes:* )
82783 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82784 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82785 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82786 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82787 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82788 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82789 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82790 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82792 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82793 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82794 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82796 cat <<\_ASBOX
82797 ## ----------------------------------------- ##
82798 ## Report this to the package-unused lists. ##
82799 ## ----------------------------------------- ##
82800 _ASBOX
82802 sed "s/^/$as_me: WARNING: /" >&2
82804 esac
82805 echo "$as_me:$LINENO: checking for $ac_header" >&5
82806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82808 echo $ECHO_N "(cached) $ECHO_C" >&6
82809 else
82810 eval "$as_ac_Header=\$ac_header_preproc"
82812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82817 cat >>confdefs.h <<_ACEOF
82818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82819 _ACEOF
82823 done
82826 # If we're not using GNU ld, then there's no point in even trying these
82827 # tests. Check for that first. We should have already tested for gld
82828 # by now (in libtool), but require it now just to be safe...
82829 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82830 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82834 # The name set by libtool depends on the version of libtool. Shame on us
82835 # for depending on an impl detail, but c'est la vie. Older versions used
82836 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82837 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82838 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82839 # set (hence we're using an older libtool), then set it.
82840 if test x${with_gnu_ld+set} != xset; then
82841 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82842 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82843 with_gnu_ld=no
82844 else
82845 with_gnu_ld=$ac_cv_prog_gnu_ld
82849 # Start by getting the version number. I think the libtool test already
82850 # does some of this, but throws away the result.
82852 ldver=`$LD --version 2>/dev/null | head -1 | \
82853 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82855 glibcxx_gnu_ld_version=`echo $ldver | \
82856 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82858 # Set --gc-sections.
82859 if test "$with_gnu_ld" = "notbroken"; then
82860 # GNU ld it is! Joy and bunny rabbits!
82862 # All these tests are for C++; save the language and the compiler flags.
82863 # Need to do this so that g++ won't try to link in libstdc++
82864 ac_test_CFLAGS="${CFLAGS+set}"
82865 ac_save_CFLAGS="$CFLAGS"
82866 CFLAGS='-x c++ -Wl,--gc-sections'
82868 # Check for -Wl,--gc-sections
82869 # XXX This test is broken at the moment, as symbols required for linking
82870 # are now in libsupc++ (not built yet). In addition, this test has
82871 # cored on solaris in the past. In addition, --gc-sections doesn't
82872 # really work at the moment (keeps on discarding used sections, first
82873 # .eh_frame and now some of the glibc sections for iconv).
82874 # Bzzzzt. Thanks for playing, maybe next time.
82875 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82876 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82877 if test "$cross_compiling" = yes; then
82878 ac_sectionLDflags=yes
82879 else
82880 cat >conftest.$ac_ext <<_ACEOF
82881 /* confdefs.h. */
82882 _ACEOF
82883 cat confdefs.h >>conftest.$ac_ext
82884 cat >>conftest.$ac_ext <<_ACEOF
82885 /* end confdefs.h. */
82887 int main(void)
82889 try { throw 1; }
82890 catch (...) { };
82891 return 0;
82894 _ACEOF
82895 rm -f conftest$ac_exeext
82896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82897 (eval $ac_link) 2>&5
82898 ac_status=$?
82899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82902 (eval $ac_try) 2>&5
82903 ac_status=$?
82904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82905 (exit $ac_status); }; }; then
82906 ac_sectionLDflags=yes
82907 else
82908 echo "$as_me: program exited with status $ac_status" >&5
82909 echo "$as_me: failed program was:" >&5
82910 sed 's/^/| /' conftest.$ac_ext >&5
82912 ( exit $ac_status )
82913 ac_sectionLDflags=no
82915 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82917 if test "$ac_test_CFLAGS" = set; then
82918 CFLAGS="$ac_save_CFLAGS"
82919 else
82920 # this is the suspicious part
82921 CFLAGS=''
82923 if test "$ac_sectionLDflags" = "yes"; then
82924 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82926 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82927 echo "${ECHO_T}$ac_sectionLDflags" >&6
82930 # Set linker optimization flags.
82931 if test x"$with_gnu_ld" = x"yes"; then
82932 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82940 echo "$as_me:$LINENO: checking for main in -lm" >&5
82941 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82942 if test "${ac_cv_lib_m_main+set}" = set; then
82943 echo $ECHO_N "(cached) $ECHO_C" >&6
82944 else
82945 ac_check_lib_save_LIBS=$LIBS
82946 LIBS="-lm $LIBS"
82947 if test x$gcc_no_link = xyes; then
82948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82950 { (exit 1); exit 1; }; }
82952 cat >conftest.$ac_ext <<_ACEOF
82953 /* confdefs.h. */
82954 _ACEOF
82955 cat confdefs.h >>conftest.$ac_ext
82956 cat >>conftest.$ac_ext <<_ACEOF
82957 /* end confdefs.h. */
82961 main ()
82963 main ();
82965 return 0;
82967 _ACEOF
82968 rm -f conftest.$ac_objext conftest$ac_exeext
82969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82970 (eval $ac_link) 2>conftest.er1
82971 ac_status=$?
82972 grep -v '^ *+' conftest.er1 >conftest.err
82973 rm -f conftest.er1
82974 cat conftest.err >&5
82975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82976 (exit $ac_status); } &&
82977 { ac_try='test -z "$ac_c_werror_flag"
82978 || test ! -s conftest.err'
82979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82980 (eval $ac_try) 2>&5
82981 ac_status=$?
82982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82983 (exit $ac_status); }; } &&
82984 { ac_try='test -s conftest$ac_exeext'
82985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82986 (eval $ac_try) 2>&5
82987 ac_status=$?
82988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82989 (exit $ac_status); }; }; then
82990 ac_cv_lib_m_main=yes
82991 else
82992 echo "$as_me: failed program was:" >&5
82993 sed 's/^/| /' conftest.$ac_ext >&5
82995 ac_cv_lib_m_main=no
82997 rm -f conftest.err conftest.$ac_objext \
82998 conftest$ac_exeext conftest.$ac_ext
82999 LIBS=$ac_check_lib_save_LIBS
83001 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83002 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83003 if test $ac_cv_lib_m_main = yes; then
83004 cat >>confdefs.h <<_ACEOF
83005 #define HAVE_LIBM 1
83006 _ACEOF
83008 LIBS="-lm $LIBS"
83013 for ac_func in copysignf
83015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83016 echo "$as_me:$LINENO: checking for $ac_func" >&5
83017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83018 if eval "test \"\${$as_ac_var+set}\" = set"; then
83019 echo $ECHO_N "(cached) $ECHO_C" >&6
83020 else
83021 if test x$gcc_no_link = xyes; then
83022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83024 { (exit 1); exit 1; }; }
83026 cat >conftest.$ac_ext <<_ACEOF
83027 /* confdefs.h. */
83028 _ACEOF
83029 cat confdefs.h >>conftest.$ac_ext
83030 cat >>conftest.$ac_ext <<_ACEOF
83031 /* end confdefs.h. */
83032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83034 #define $ac_func innocuous_$ac_func
83036 /* System header to define __stub macros and hopefully few prototypes,
83037 which can conflict with char $ac_func (); below.
83038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83039 <limits.h> exists even on freestanding compilers. */
83041 #ifdef __STDC__
83042 # include <limits.h>
83043 #else
83044 # include <assert.h>
83045 #endif
83047 #undef $ac_func
83049 /* Override any gcc2 internal prototype to avoid an error. */
83050 #ifdef __cplusplus
83051 extern "C"
83053 #endif
83054 /* We use char because int might match the return type of a gcc2
83055 builtin and then its argument prototype would still apply. */
83056 char $ac_func ();
83057 /* The GNU C library defines this for functions which it implements
83058 to always fail with ENOSYS. Some functions are actually named
83059 something starting with __ and the normal name is an alias. */
83060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83061 choke me
83062 #else
83063 char (*f) () = $ac_func;
83064 #endif
83065 #ifdef __cplusplus
83067 #endif
83070 main ()
83072 return f != $ac_func;
83074 return 0;
83076 _ACEOF
83077 rm -f conftest.$ac_objext conftest$ac_exeext
83078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83079 (eval $ac_link) 2>conftest.er1
83080 ac_status=$?
83081 grep -v '^ *+' conftest.er1 >conftest.err
83082 rm -f conftest.er1
83083 cat conftest.err >&5
83084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83085 (exit $ac_status); } &&
83086 { ac_try='test -z "$ac_c_werror_flag"
83087 || test ! -s conftest.err'
83088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83089 (eval $ac_try) 2>&5
83090 ac_status=$?
83091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83092 (exit $ac_status); }; } &&
83093 { ac_try='test -s conftest$ac_exeext'
83094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83095 (eval $ac_try) 2>&5
83096 ac_status=$?
83097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83098 (exit $ac_status); }; }; then
83099 eval "$as_ac_var=yes"
83100 else
83101 echo "$as_me: failed program was:" >&5
83102 sed 's/^/| /' conftest.$ac_ext >&5
83104 eval "$as_ac_var=no"
83106 rm -f conftest.err conftest.$ac_objext \
83107 conftest$ac_exeext conftest.$ac_ext
83109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83111 if test `eval echo '${'$as_ac_var'}'` = yes; then
83112 cat >>confdefs.h <<_ACEOF
83113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83114 _ACEOF
83116 else
83117 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83119 done
83123 for ac_func in __signbit
83125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83126 echo "$as_me:$LINENO: checking for $ac_func" >&5
83127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83128 if eval "test \"\${$as_ac_var+set}\" = set"; then
83129 echo $ECHO_N "(cached) $ECHO_C" >&6
83130 else
83131 if test x$gcc_no_link = xyes; then
83132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83134 { (exit 1); exit 1; }; }
83136 cat >conftest.$ac_ext <<_ACEOF
83137 /* confdefs.h. */
83138 _ACEOF
83139 cat confdefs.h >>conftest.$ac_ext
83140 cat >>conftest.$ac_ext <<_ACEOF
83141 /* end confdefs.h. */
83142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83144 #define $ac_func innocuous_$ac_func
83146 /* System header to define __stub macros and hopefully few prototypes,
83147 which can conflict with char $ac_func (); below.
83148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83149 <limits.h> exists even on freestanding compilers. */
83151 #ifdef __STDC__
83152 # include <limits.h>
83153 #else
83154 # include <assert.h>
83155 #endif
83157 #undef $ac_func
83159 /* Override any gcc2 internal prototype to avoid an error. */
83160 #ifdef __cplusplus
83161 extern "C"
83163 #endif
83164 /* We use char because int might match the return type of a gcc2
83165 builtin and then its argument prototype would still apply. */
83166 char $ac_func ();
83167 /* The GNU C library defines this for functions which it implements
83168 to always fail with ENOSYS. Some functions are actually named
83169 something starting with __ and the normal name is an alias. */
83170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83171 choke me
83172 #else
83173 char (*f) () = $ac_func;
83174 #endif
83175 #ifdef __cplusplus
83177 #endif
83180 main ()
83182 return f != $ac_func;
83184 return 0;
83186 _ACEOF
83187 rm -f conftest.$ac_objext conftest$ac_exeext
83188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83189 (eval $ac_link) 2>conftest.er1
83190 ac_status=$?
83191 grep -v '^ *+' conftest.er1 >conftest.err
83192 rm -f conftest.er1
83193 cat conftest.err >&5
83194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83195 (exit $ac_status); } &&
83196 { ac_try='test -z "$ac_c_werror_flag"
83197 || test ! -s conftest.err'
83198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83199 (eval $ac_try) 2>&5
83200 ac_status=$?
83201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83202 (exit $ac_status); }; } &&
83203 { ac_try='test -s conftest$ac_exeext'
83204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83205 (eval $ac_try) 2>&5
83206 ac_status=$?
83207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83208 (exit $ac_status); }; }; then
83209 eval "$as_ac_var=yes"
83210 else
83211 echo "$as_me: failed program was:" >&5
83212 sed 's/^/| /' conftest.$ac_ext >&5
83214 eval "$as_ac_var=no"
83216 rm -f conftest.err conftest.$ac_objext \
83217 conftest$ac_exeext conftest.$ac_ext
83219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83221 if test `eval echo '${'$as_ac_var'}'` = yes; then
83222 cat >>confdefs.h <<_ACEOF
83223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83224 _ACEOF
83226 else
83227 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83229 done
83233 for ac_func in __signbitf
83235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83236 echo "$as_me:$LINENO: checking for $ac_func" >&5
83237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83238 if eval "test \"\${$as_ac_var+set}\" = set"; then
83239 echo $ECHO_N "(cached) $ECHO_C" >&6
83240 else
83241 if test x$gcc_no_link = xyes; then
83242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83244 { (exit 1); exit 1; }; }
83246 cat >conftest.$ac_ext <<_ACEOF
83247 /* confdefs.h. */
83248 _ACEOF
83249 cat confdefs.h >>conftest.$ac_ext
83250 cat >>conftest.$ac_ext <<_ACEOF
83251 /* end confdefs.h. */
83252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83254 #define $ac_func innocuous_$ac_func
83256 /* System header to define __stub macros and hopefully few prototypes,
83257 which can conflict with char $ac_func (); below.
83258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83259 <limits.h> exists even on freestanding compilers. */
83261 #ifdef __STDC__
83262 # include <limits.h>
83263 #else
83264 # include <assert.h>
83265 #endif
83267 #undef $ac_func
83269 /* Override any gcc2 internal prototype to avoid an error. */
83270 #ifdef __cplusplus
83271 extern "C"
83273 #endif
83274 /* We use char because int might match the return type of a gcc2
83275 builtin and then its argument prototype would still apply. */
83276 char $ac_func ();
83277 /* The GNU C library defines this for functions which it implements
83278 to always fail with ENOSYS. Some functions are actually named
83279 something starting with __ and the normal name is an alias. */
83280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83281 choke me
83282 #else
83283 char (*f) () = $ac_func;
83284 #endif
83285 #ifdef __cplusplus
83287 #endif
83290 main ()
83292 return f != $ac_func;
83294 return 0;
83296 _ACEOF
83297 rm -f conftest.$ac_objext conftest$ac_exeext
83298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83299 (eval $ac_link) 2>conftest.er1
83300 ac_status=$?
83301 grep -v '^ *+' conftest.er1 >conftest.err
83302 rm -f conftest.er1
83303 cat conftest.err >&5
83304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83305 (exit $ac_status); } &&
83306 { ac_try='test -z "$ac_c_werror_flag"
83307 || test ! -s conftest.err'
83308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83309 (eval $ac_try) 2>&5
83310 ac_status=$?
83311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83312 (exit $ac_status); }; } &&
83313 { ac_try='test -s conftest$ac_exeext'
83314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83315 (eval $ac_try) 2>&5
83316 ac_status=$?
83317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83318 (exit $ac_status); }; }; then
83319 eval "$as_ac_var=yes"
83320 else
83321 echo "$as_me: failed program was:" >&5
83322 sed 's/^/| /' conftest.$ac_ext >&5
83324 eval "$as_ac_var=no"
83326 rm -f conftest.err conftest.$ac_objext \
83327 conftest$ac_exeext conftest.$ac_ext
83329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83331 if test `eval echo '${'$as_ac_var'}'` = yes; then
83332 cat >>confdefs.h <<_ACEOF
83333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83334 _ACEOF
83336 else
83337 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83339 done
83342 if test x$ac_cv_func_copysignl = x"yes"; then
83344 for ac_func in __signbitl
83346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83347 echo "$as_me:$LINENO: checking for $ac_func" >&5
83348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83349 if eval "test \"\${$as_ac_var+set}\" = set"; then
83350 echo $ECHO_N "(cached) $ECHO_C" >&6
83351 else
83352 if test x$gcc_no_link = xyes; then
83353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83355 { (exit 1); exit 1; }; }
83357 cat >conftest.$ac_ext <<_ACEOF
83358 /* confdefs.h. */
83359 _ACEOF
83360 cat confdefs.h >>conftest.$ac_ext
83361 cat >>conftest.$ac_ext <<_ACEOF
83362 /* end confdefs.h. */
83363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83365 #define $ac_func innocuous_$ac_func
83367 /* System header to define __stub macros and hopefully few prototypes,
83368 which can conflict with char $ac_func (); below.
83369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83370 <limits.h> exists even on freestanding compilers. */
83372 #ifdef __STDC__
83373 # include <limits.h>
83374 #else
83375 # include <assert.h>
83376 #endif
83378 #undef $ac_func
83380 /* Override any gcc2 internal prototype to avoid an error. */
83381 #ifdef __cplusplus
83382 extern "C"
83384 #endif
83385 /* We use char because int might match the return type of a gcc2
83386 builtin and then its argument prototype would still apply. */
83387 char $ac_func ();
83388 /* The GNU C library defines this for functions which it implements
83389 to always fail with ENOSYS. Some functions are actually named
83390 something starting with __ and the normal name is an alias. */
83391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83392 choke me
83393 #else
83394 char (*f) () = $ac_func;
83395 #endif
83396 #ifdef __cplusplus
83398 #endif
83401 main ()
83403 return f != $ac_func;
83405 return 0;
83407 _ACEOF
83408 rm -f conftest.$ac_objext conftest$ac_exeext
83409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83410 (eval $ac_link) 2>conftest.er1
83411 ac_status=$?
83412 grep -v '^ *+' conftest.er1 >conftest.err
83413 rm -f conftest.er1
83414 cat conftest.err >&5
83415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83416 (exit $ac_status); } &&
83417 { ac_try='test -z "$ac_c_werror_flag"
83418 || test ! -s conftest.err'
83419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83420 (eval $ac_try) 2>&5
83421 ac_status=$?
83422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83423 (exit $ac_status); }; } &&
83424 { ac_try='test -s conftest$ac_exeext'
83425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83426 (eval $ac_try) 2>&5
83427 ac_status=$?
83428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83429 (exit $ac_status); }; }; then
83430 eval "$as_ac_var=yes"
83431 else
83432 echo "$as_me: failed program was:" >&5
83433 sed 's/^/| /' conftest.$ac_ext >&5
83435 eval "$as_ac_var=no"
83437 rm -f conftest.err conftest.$ac_objext \
83438 conftest$ac_exeext conftest.$ac_ext
83440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83442 if test `eval echo '${'$as_ac_var'}'` = yes; then
83443 cat >>confdefs.h <<_ACEOF
83444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83445 _ACEOF
83447 else
83448 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83450 done
83454 # Used in libmath/Makefile.am.
83455 if test -n "$LIBMATHOBJS"; then
83456 need_libmath=yes
83461 # Test wchar.h for mbstate_t, which is needed for char_traits and
83462 # others even if wchar_t support is not on.
83463 echo "$as_me:$LINENO: checking for mbstate_t" >&5
83464 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
83465 cat >conftest.$ac_ext <<_ACEOF
83466 /* confdefs.h. */
83467 _ACEOF
83468 cat confdefs.h >>conftest.$ac_ext
83469 cat >>conftest.$ac_ext <<_ACEOF
83470 /* end confdefs.h. */
83471 #include <wchar.h>
83473 main ()
83475 mbstate_t teststate;
83477 return 0;
83479 _ACEOF
83480 rm -f conftest.$ac_objext
83481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83482 (eval $ac_compile) 2>conftest.er1
83483 ac_status=$?
83484 grep -v '^ *+' conftest.er1 >conftest.err
83485 rm -f conftest.er1
83486 cat conftest.err >&5
83487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83488 (exit $ac_status); } &&
83489 { ac_try='test -z "$ac_c_werror_flag"
83490 || test ! -s conftest.err'
83491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83492 (eval $ac_try) 2>&5
83493 ac_status=$?
83494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83495 (exit $ac_status); }; } &&
83496 { ac_try='test -s conftest.$ac_objext'
83497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83498 (eval $ac_try) 2>&5
83499 ac_status=$?
83500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83501 (exit $ac_status); }; }; then
83502 have_mbstate_t=yes
83503 else
83504 echo "$as_me: failed program was:" >&5
83505 sed 's/^/| /' conftest.$ac_ext >&5
83507 have_mbstate_t=no
83509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83510 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
83511 echo "${ECHO_T}$have_mbstate_t" >&6
83512 if test x"$have_mbstate_t" = xyes; then
83513 cat >>confdefs.h <<\_ACEOF
83514 #define HAVE_MBSTATE_T 1
83515 _ACEOF
83519 # Sanity check for existence of ISO C99 headers for extended encoding.
83521 for ac_header in wchar.h
83523 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83525 echo "$as_me:$LINENO: checking for $ac_header" >&5
83526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83528 echo $ECHO_N "(cached) $ECHO_C" >&6
83530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83532 else
83533 # Is the header compilable?
83534 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83535 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83536 cat >conftest.$ac_ext <<_ACEOF
83537 /* confdefs.h. */
83538 _ACEOF
83539 cat confdefs.h >>conftest.$ac_ext
83540 cat >>conftest.$ac_ext <<_ACEOF
83541 /* end confdefs.h. */
83542 $ac_includes_default
83543 #include <$ac_header>
83544 _ACEOF
83545 rm -f conftest.$ac_objext
83546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83547 (eval $ac_compile) 2>conftest.er1
83548 ac_status=$?
83549 grep -v '^ *+' conftest.er1 >conftest.err
83550 rm -f conftest.er1
83551 cat conftest.err >&5
83552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83553 (exit $ac_status); } &&
83554 { ac_try='test -z "$ac_c_werror_flag"
83555 || test ! -s conftest.err'
83556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83557 (eval $ac_try) 2>&5
83558 ac_status=$?
83559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83560 (exit $ac_status); }; } &&
83561 { ac_try='test -s conftest.$ac_objext'
83562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83563 (eval $ac_try) 2>&5
83564 ac_status=$?
83565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83566 (exit $ac_status); }; }; then
83567 ac_header_compiler=yes
83568 else
83569 echo "$as_me: failed program was:" >&5
83570 sed 's/^/| /' conftest.$ac_ext >&5
83572 ac_header_compiler=no
83574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83575 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83576 echo "${ECHO_T}$ac_header_compiler" >&6
83578 # Is the header present?
83579 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83580 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83581 cat >conftest.$ac_ext <<_ACEOF
83582 /* confdefs.h. */
83583 _ACEOF
83584 cat confdefs.h >>conftest.$ac_ext
83585 cat >>conftest.$ac_ext <<_ACEOF
83586 /* end confdefs.h. */
83587 #include <$ac_header>
83588 _ACEOF
83589 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83590 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83591 ac_status=$?
83592 grep -v '^ *+' conftest.er1 >conftest.err
83593 rm -f conftest.er1
83594 cat conftest.err >&5
83595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83596 (exit $ac_status); } >/dev/null; then
83597 if test -s conftest.err; then
83598 ac_cpp_err=$ac_c_preproc_warn_flag
83599 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83600 else
83601 ac_cpp_err=
83603 else
83604 ac_cpp_err=yes
83606 if test -z "$ac_cpp_err"; then
83607 ac_header_preproc=yes
83608 else
83609 echo "$as_me: failed program was:" >&5
83610 sed 's/^/| /' conftest.$ac_ext >&5
83612 ac_header_preproc=no
83614 rm -f conftest.err conftest.$ac_ext
83615 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83616 echo "${ECHO_T}$ac_header_preproc" >&6
83618 # So? What about this header?
83619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83620 yes:no: )
83621 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83622 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83624 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83625 ac_header_preproc=yes
83627 no:yes:* )
83628 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83629 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83630 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83631 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83632 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83633 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83634 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83635 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83637 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83638 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83639 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83641 cat <<\_ASBOX
83642 ## ----------------------------------------- ##
83643 ## Report this to the package-unused lists. ##
83644 ## ----------------------------------------- ##
83645 _ASBOX
83647 sed "s/^/$as_me: WARNING: /" >&2
83649 esac
83650 echo "$as_me:$LINENO: checking for $ac_header" >&5
83651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83653 echo $ECHO_N "(cached) $ECHO_C" >&6
83654 else
83655 eval "$as_ac_Header=\$ac_header_preproc"
83657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83662 cat >>confdefs.h <<_ACEOF
83663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83664 _ACEOF
83665 ac_has_wchar_h=yes
83666 else
83667 ac_has_wchar_h=no
83670 done
83673 for ac_header in wctype.h
83675 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83677 echo "$as_me:$LINENO: checking for $ac_header" >&5
83678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83680 echo $ECHO_N "(cached) $ECHO_C" >&6
83682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83684 else
83685 # Is the header compilable?
83686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83688 cat >conftest.$ac_ext <<_ACEOF
83689 /* confdefs.h. */
83690 _ACEOF
83691 cat confdefs.h >>conftest.$ac_ext
83692 cat >>conftest.$ac_ext <<_ACEOF
83693 /* end confdefs.h. */
83694 $ac_includes_default
83695 #include <$ac_header>
83696 _ACEOF
83697 rm -f conftest.$ac_objext
83698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83699 (eval $ac_compile) 2>conftest.er1
83700 ac_status=$?
83701 grep -v '^ *+' conftest.er1 >conftest.err
83702 rm -f conftest.er1
83703 cat conftest.err >&5
83704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83705 (exit $ac_status); } &&
83706 { ac_try='test -z "$ac_c_werror_flag"
83707 || test ! -s conftest.err'
83708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83709 (eval $ac_try) 2>&5
83710 ac_status=$?
83711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83712 (exit $ac_status); }; } &&
83713 { ac_try='test -s conftest.$ac_objext'
83714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83715 (eval $ac_try) 2>&5
83716 ac_status=$?
83717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83718 (exit $ac_status); }; }; then
83719 ac_header_compiler=yes
83720 else
83721 echo "$as_me: failed program was:" >&5
83722 sed 's/^/| /' conftest.$ac_ext >&5
83724 ac_header_compiler=no
83726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83728 echo "${ECHO_T}$ac_header_compiler" >&6
83730 # Is the header present?
83731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83733 cat >conftest.$ac_ext <<_ACEOF
83734 /* confdefs.h. */
83735 _ACEOF
83736 cat confdefs.h >>conftest.$ac_ext
83737 cat >>conftest.$ac_ext <<_ACEOF
83738 /* end confdefs.h. */
83739 #include <$ac_header>
83740 _ACEOF
83741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83743 ac_status=$?
83744 grep -v '^ *+' conftest.er1 >conftest.err
83745 rm -f conftest.er1
83746 cat conftest.err >&5
83747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83748 (exit $ac_status); } >/dev/null; then
83749 if test -s conftest.err; then
83750 ac_cpp_err=$ac_c_preproc_warn_flag
83751 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83752 else
83753 ac_cpp_err=
83755 else
83756 ac_cpp_err=yes
83758 if test -z "$ac_cpp_err"; then
83759 ac_header_preproc=yes
83760 else
83761 echo "$as_me: failed program was:" >&5
83762 sed 's/^/| /' conftest.$ac_ext >&5
83764 ac_header_preproc=no
83766 rm -f conftest.err conftest.$ac_ext
83767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83768 echo "${ECHO_T}$ac_header_preproc" >&6
83770 # So? What about this header?
83771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83772 yes:no: )
83773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83777 ac_header_preproc=yes
83779 no:yes:* )
83780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83793 cat <<\_ASBOX
83794 ## ----------------------------------------- ##
83795 ## Report this to the package-unused lists. ##
83796 ## ----------------------------------------- ##
83797 _ASBOX
83799 sed "s/^/$as_me: WARNING: /" >&2
83801 esac
83802 echo "$as_me:$LINENO: checking for $ac_header" >&5
83803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83805 echo $ECHO_N "(cached) $ECHO_C" >&6
83806 else
83807 eval "$as_ac_Header=\$ac_header_preproc"
83809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83814 cat >>confdefs.h <<_ACEOF
83815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83816 _ACEOF
83817 ac_has_wctype_h=yes
83818 else
83819 ac_has_wctype_h=no
83822 done
83825 # Only continue checking if the ISO C99 headers exist and support is on.
83826 if test x"$ac_has_wchar_h" = xyes &&
83827 test x"$ac_has_wctype_h" = xyes &&
83828 test x"$enable_c_mbchar" != xno; then
83830 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
83831 # numeric_limits can instantiate type_traits<wchar_t>
83832 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
83833 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
83834 cat >conftest.$ac_ext <<_ACEOF
83835 /* confdefs.h. */
83836 _ACEOF
83837 cat confdefs.h >>conftest.$ac_ext
83838 cat >>conftest.$ac_ext <<_ACEOF
83839 /* end confdefs.h. */
83840 #include <wchar.h>
83842 main ()
83844 int i = WCHAR_MIN; int j = WCHAR_MAX;
83846 return 0;
83848 _ACEOF
83849 rm -f conftest.$ac_objext
83850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83851 (eval $ac_compile) 2>conftest.er1
83852 ac_status=$?
83853 grep -v '^ *+' conftest.er1 >conftest.err
83854 rm -f conftest.er1
83855 cat conftest.err >&5
83856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83857 (exit $ac_status); } &&
83858 { ac_try='test -z "$ac_c_werror_flag"
83859 || test ! -s conftest.err'
83860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83861 (eval $ac_try) 2>&5
83862 ac_status=$?
83863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83864 (exit $ac_status); }; } &&
83865 { ac_try='test -s conftest.$ac_objext'
83866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83867 (eval $ac_try) 2>&5
83868 ac_status=$?
83869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83870 (exit $ac_status); }; }; then
83871 has_wchar_minmax=yes
83872 else
83873 echo "$as_me: failed program was:" >&5
83874 sed 's/^/| /' conftest.$ac_ext >&5
83876 has_wchar_minmax=no
83878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83879 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
83880 echo "${ECHO_T}$has_wchar_minmax" >&6
83882 # Test wchar.h for WEOF, which is what we use to determine whether
83883 # to specialize for char_traits<wchar_t> or not.
83884 echo "$as_me:$LINENO: checking for WEOF" >&5
83885 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
83886 cat >conftest.$ac_ext <<_ACEOF
83887 /* confdefs.h. */
83888 _ACEOF
83889 cat confdefs.h >>conftest.$ac_ext
83890 cat >>conftest.$ac_ext <<_ACEOF
83891 /* end confdefs.h. */
83893 #include <wchar.h>
83894 #include <stddef.h>
83896 main ()
83898 wint_t i = WEOF;
83900 return 0;
83902 _ACEOF
83903 rm -f conftest.$ac_objext
83904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83905 (eval $ac_compile) 2>conftest.er1
83906 ac_status=$?
83907 grep -v '^ *+' conftest.er1 >conftest.err
83908 rm -f conftest.er1
83909 cat conftest.err >&5
83910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83911 (exit $ac_status); } &&
83912 { ac_try='test -z "$ac_c_werror_flag"
83913 || test ! -s conftest.err'
83914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83915 (eval $ac_try) 2>&5
83916 ac_status=$?
83917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83918 (exit $ac_status); }; } &&
83919 { ac_try='test -s conftest.$ac_objext'
83920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83921 (eval $ac_try) 2>&5
83922 ac_status=$?
83923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83924 (exit $ac_status); }; }; then
83925 has_weof=yes
83926 else
83927 echo "$as_me: failed program was:" >&5
83928 sed 's/^/| /' conftest.$ac_ext >&5
83930 has_weof=no
83932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83933 echo "$as_me:$LINENO: result: $has_weof" >&5
83934 echo "${ECHO_T}$has_weof" >&6
83936 # Tests for wide character functions used in char_traits<wchar_t>.
83937 ac_wfuncs=yes
83944 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83947 echo "$as_me:$LINENO: checking for $ac_func" >&5
83948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83949 if eval "test \"\${$as_ac_var+set}\" = set"; then
83950 echo $ECHO_N "(cached) $ECHO_C" >&6
83951 else
83952 if test x$gcc_no_link = xyes; then
83953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83955 { (exit 1); exit 1; }; }
83957 cat >conftest.$ac_ext <<_ACEOF
83958 /* confdefs.h. */
83959 _ACEOF
83960 cat confdefs.h >>conftest.$ac_ext
83961 cat >>conftest.$ac_ext <<_ACEOF
83962 /* end confdefs.h. */
83963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83965 #define $ac_func innocuous_$ac_func
83967 /* System header to define __stub macros and hopefully few prototypes,
83968 which can conflict with char $ac_func (); below.
83969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83970 <limits.h> exists even on freestanding compilers. */
83972 #ifdef __STDC__
83973 # include <limits.h>
83974 #else
83975 # include <assert.h>
83976 #endif
83978 #undef $ac_func
83980 /* Override any gcc2 internal prototype to avoid an error. */
83981 #ifdef __cplusplus
83982 extern "C"
83984 #endif
83985 /* We use char because int might match the return type of a gcc2
83986 builtin and then its argument prototype would still apply. */
83987 char $ac_func ();
83988 /* The GNU C library defines this for functions which it implements
83989 to always fail with ENOSYS. Some functions are actually named
83990 something starting with __ and the normal name is an alias. */
83991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83992 choke me
83993 #else
83994 char (*f) () = $ac_func;
83995 #endif
83996 #ifdef __cplusplus
83998 #endif
84001 main ()
84003 return f != $ac_func;
84005 return 0;
84007 _ACEOF
84008 rm -f conftest.$ac_objext conftest$ac_exeext
84009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84010 (eval $ac_link) 2>conftest.er1
84011 ac_status=$?
84012 grep -v '^ *+' conftest.er1 >conftest.err
84013 rm -f conftest.er1
84014 cat conftest.err >&5
84015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84016 (exit $ac_status); } &&
84017 { ac_try='test -z "$ac_c_werror_flag"
84018 || test ! -s conftest.err'
84019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84020 (eval $ac_try) 2>&5
84021 ac_status=$?
84022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84023 (exit $ac_status); }; } &&
84024 { ac_try='test -s conftest$ac_exeext'
84025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84026 (eval $ac_try) 2>&5
84027 ac_status=$?
84028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84029 (exit $ac_status); }; }; then
84030 eval "$as_ac_var=yes"
84031 else
84032 echo "$as_me: failed program was:" >&5
84033 sed 's/^/| /' conftest.$ac_ext >&5
84035 eval "$as_ac_var=no"
84037 rm -f conftest.err conftest.$ac_objext \
84038 conftest$ac_exeext conftest.$ac_ext
84040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84042 if test `eval echo '${'$as_ac_var'}'` = yes; then
84043 cat >>confdefs.h <<_ACEOF
84044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84045 _ACEOF
84047 else
84048 ac_wfuncs=no
84050 done
84053 # Checks for names injected into std:: by the c_std headers.
84100 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
84101 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
84102 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
84103 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
84104 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
84105 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
84107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84108 echo "$as_me:$LINENO: checking for $ac_func" >&5
84109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84110 if eval "test \"\${$as_ac_var+set}\" = set"; then
84111 echo $ECHO_N "(cached) $ECHO_C" >&6
84112 else
84113 if test x$gcc_no_link = xyes; then
84114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84116 { (exit 1); exit 1; }; }
84118 cat >conftest.$ac_ext <<_ACEOF
84119 /* confdefs.h. */
84120 _ACEOF
84121 cat confdefs.h >>conftest.$ac_ext
84122 cat >>conftest.$ac_ext <<_ACEOF
84123 /* end confdefs.h. */
84124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84126 #define $ac_func innocuous_$ac_func
84128 /* System header to define __stub macros and hopefully few prototypes,
84129 which can conflict with char $ac_func (); below.
84130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84131 <limits.h> exists even on freestanding compilers. */
84133 #ifdef __STDC__
84134 # include <limits.h>
84135 #else
84136 # include <assert.h>
84137 #endif
84139 #undef $ac_func
84141 /* Override any gcc2 internal prototype to avoid an error. */
84142 #ifdef __cplusplus
84143 extern "C"
84145 #endif
84146 /* We use char because int might match the return type of a gcc2
84147 builtin and then its argument prototype would still apply. */
84148 char $ac_func ();
84149 /* The GNU C library defines this for functions which it implements
84150 to always fail with ENOSYS. Some functions are actually named
84151 something starting with __ and the normal name is an alias. */
84152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84153 choke me
84154 #else
84155 char (*f) () = $ac_func;
84156 #endif
84157 #ifdef __cplusplus
84159 #endif
84162 main ()
84164 return f != $ac_func;
84166 return 0;
84168 _ACEOF
84169 rm -f conftest.$ac_objext conftest$ac_exeext
84170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84171 (eval $ac_link) 2>conftest.er1
84172 ac_status=$?
84173 grep -v '^ *+' conftest.er1 >conftest.err
84174 rm -f conftest.er1
84175 cat conftest.err >&5
84176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84177 (exit $ac_status); } &&
84178 { ac_try='test -z "$ac_c_werror_flag"
84179 || test ! -s conftest.err'
84180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84181 (eval $ac_try) 2>&5
84182 ac_status=$?
84183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84184 (exit $ac_status); }; } &&
84185 { ac_try='test -s conftest$ac_exeext'
84186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84187 (eval $ac_try) 2>&5
84188 ac_status=$?
84189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84190 (exit $ac_status); }; }; then
84191 eval "$as_ac_var=yes"
84192 else
84193 echo "$as_me: failed program was:" >&5
84194 sed 's/^/| /' conftest.$ac_ext >&5
84196 eval "$as_ac_var=no"
84198 rm -f conftest.err conftest.$ac_objext \
84199 conftest$ac_exeext conftest.$ac_ext
84201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84203 if test `eval echo '${'$as_ac_var'}'` = yes; then
84204 cat >>confdefs.h <<_ACEOF
84205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84206 _ACEOF
84208 else
84209 ac_wfuncs=no
84211 done
84214 # Checks for wide character functions that are not required
84215 # for basic wchar_t support. Don't disable support if they are missing.
84216 # Injection of these is wrapped with guard macros.
84222 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
84224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84225 echo "$as_me:$LINENO: checking for $ac_func" >&5
84226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84227 if eval "test \"\${$as_ac_var+set}\" = set"; then
84228 echo $ECHO_N "(cached) $ECHO_C" >&6
84229 else
84230 if test x$gcc_no_link = xyes; then
84231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84233 { (exit 1); exit 1; }; }
84235 cat >conftest.$ac_ext <<_ACEOF
84236 /* confdefs.h. */
84237 _ACEOF
84238 cat confdefs.h >>conftest.$ac_ext
84239 cat >>conftest.$ac_ext <<_ACEOF
84240 /* end confdefs.h. */
84241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84243 #define $ac_func innocuous_$ac_func
84245 /* System header to define __stub macros and hopefully few prototypes,
84246 which can conflict with char $ac_func (); below.
84247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84248 <limits.h> exists even on freestanding compilers. */
84250 #ifdef __STDC__
84251 # include <limits.h>
84252 #else
84253 # include <assert.h>
84254 #endif
84256 #undef $ac_func
84258 /* Override any gcc2 internal prototype to avoid an error. */
84259 #ifdef __cplusplus
84260 extern "C"
84262 #endif
84263 /* We use char because int might match the return type of a gcc2
84264 builtin and then its argument prototype would still apply. */
84265 char $ac_func ();
84266 /* The GNU C library defines this for functions which it implements
84267 to always fail with ENOSYS. Some functions are actually named
84268 something starting with __ and the normal name is an alias. */
84269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84270 choke me
84271 #else
84272 char (*f) () = $ac_func;
84273 #endif
84274 #ifdef __cplusplus
84276 #endif
84279 main ()
84281 return f != $ac_func;
84283 return 0;
84285 _ACEOF
84286 rm -f conftest.$ac_objext conftest$ac_exeext
84287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84288 (eval $ac_link) 2>conftest.er1
84289 ac_status=$?
84290 grep -v '^ *+' conftest.er1 >conftest.err
84291 rm -f conftest.er1
84292 cat conftest.err >&5
84293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84294 (exit $ac_status); } &&
84295 { ac_try='test -z "$ac_c_werror_flag"
84296 || test ! -s conftest.err'
84297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84298 (eval $ac_try) 2>&5
84299 ac_status=$?
84300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84301 (exit $ac_status); }; } &&
84302 { ac_try='test -s conftest$ac_exeext'
84303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84304 (eval $ac_try) 2>&5
84305 ac_status=$?
84306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84307 (exit $ac_status); }; }; then
84308 eval "$as_ac_var=yes"
84309 else
84310 echo "$as_me: failed program was:" >&5
84311 sed 's/^/| /' conftest.$ac_ext >&5
84313 eval "$as_ac_var=no"
84315 rm -f conftest.err conftest.$ac_objext \
84316 conftest$ac_exeext conftest.$ac_ext
84318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84320 if test `eval echo '${'$as_ac_var'}'` = yes; then
84321 cat >>confdefs.h <<_ACEOF
84322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84323 _ACEOF
84326 done
84329 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
84330 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
84331 if test x"$has_weof" = xyes &&
84332 test x"$has_wchar_minmax" = xyes &&
84333 test x"$ac_wfuncs" = xyes;
84334 then
84335 ac_isoC99_wchar_t=yes
84336 else
84337 ac_isoC99_wchar_t=no
84339 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
84340 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
84342 # Use iconv for wchar_t to char conversions. As such, check for
84343 # X/Open Portability Guide, version 2 features (XPG2).
84344 if test "${ac_cv_header_iconv_h+set}" = set; then
84345 echo "$as_me:$LINENO: checking for iconv.h" >&5
84346 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84347 if test "${ac_cv_header_iconv_h+set}" = set; then
84348 echo $ECHO_N "(cached) $ECHO_C" >&6
84350 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84351 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84352 else
84353 # Is the header compilable?
84354 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84355 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84356 cat >conftest.$ac_ext <<_ACEOF
84357 /* confdefs.h. */
84358 _ACEOF
84359 cat confdefs.h >>conftest.$ac_ext
84360 cat >>conftest.$ac_ext <<_ACEOF
84361 /* end confdefs.h. */
84362 $ac_includes_default
84363 #include <iconv.h>
84364 _ACEOF
84365 rm -f conftest.$ac_objext
84366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84367 (eval $ac_compile) 2>conftest.er1
84368 ac_status=$?
84369 grep -v '^ *+' conftest.er1 >conftest.err
84370 rm -f conftest.er1
84371 cat conftest.err >&5
84372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84373 (exit $ac_status); } &&
84374 { ac_try='test -z "$ac_c_werror_flag"
84375 || test ! -s conftest.err'
84376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84377 (eval $ac_try) 2>&5
84378 ac_status=$?
84379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84380 (exit $ac_status); }; } &&
84381 { ac_try='test -s conftest.$ac_objext'
84382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84383 (eval $ac_try) 2>&5
84384 ac_status=$?
84385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84386 (exit $ac_status); }; }; then
84387 ac_header_compiler=yes
84388 else
84389 echo "$as_me: failed program was:" >&5
84390 sed 's/^/| /' conftest.$ac_ext >&5
84392 ac_header_compiler=no
84394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84396 echo "${ECHO_T}$ac_header_compiler" >&6
84398 # Is the header present?
84399 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84400 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84401 cat >conftest.$ac_ext <<_ACEOF
84402 /* confdefs.h. */
84403 _ACEOF
84404 cat confdefs.h >>conftest.$ac_ext
84405 cat >>conftest.$ac_ext <<_ACEOF
84406 /* end confdefs.h. */
84407 #include <iconv.h>
84408 _ACEOF
84409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84411 ac_status=$?
84412 grep -v '^ *+' conftest.er1 >conftest.err
84413 rm -f conftest.er1
84414 cat conftest.err >&5
84415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84416 (exit $ac_status); } >/dev/null; then
84417 if test -s conftest.err; then
84418 ac_cpp_err=$ac_c_preproc_warn_flag
84419 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84420 else
84421 ac_cpp_err=
84423 else
84424 ac_cpp_err=yes
84426 if test -z "$ac_cpp_err"; then
84427 ac_header_preproc=yes
84428 else
84429 echo "$as_me: failed program was:" >&5
84430 sed 's/^/| /' conftest.$ac_ext >&5
84432 ac_header_preproc=no
84434 rm -f conftest.err conftest.$ac_ext
84435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84436 echo "${ECHO_T}$ac_header_preproc" >&6
84438 # So? What about this header?
84439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84440 yes:no: )
84441 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84442 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84443 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84444 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84445 ac_header_preproc=yes
84447 no:yes:* )
84448 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84449 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84450 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84451 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84452 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84453 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84454 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84455 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84456 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84457 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84458 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84459 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84461 cat <<\_ASBOX
84462 ## ----------------------------------------- ##
84463 ## Report this to the package-unused lists. ##
84464 ## ----------------------------------------- ##
84465 _ASBOX
84467 sed "s/^/$as_me: WARNING: /" >&2
84469 esac
84470 echo "$as_me:$LINENO: checking for iconv.h" >&5
84471 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84472 if test "${ac_cv_header_iconv_h+set}" = set; then
84473 echo $ECHO_N "(cached) $ECHO_C" >&6
84474 else
84475 ac_cv_header_iconv_h=$ac_header_preproc
84477 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84478 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84481 if test $ac_cv_header_iconv_h = yes; then
84482 ac_has_iconv_h=yes
84483 else
84484 ac_has_iconv_h=no
84488 if test "${ac_cv_header_langinfo_h+set}" = set; then
84489 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84490 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84491 if test "${ac_cv_header_langinfo_h+set}" = set; then
84492 echo $ECHO_N "(cached) $ECHO_C" >&6
84494 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84495 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84496 else
84497 # Is the header compilable?
84498 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84499 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84500 cat >conftest.$ac_ext <<_ACEOF
84501 /* confdefs.h. */
84502 _ACEOF
84503 cat confdefs.h >>conftest.$ac_ext
84504 cat >>conftest.$ac_ext <<_ACEOF
84505 /* end confdefs.h. */
84506 $ac_includes_default
84507 #include <langinfo.h>
84508 _ACEOF
84509 rm -f conftest.$ac_objext
84510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84511 (eval $ac_compile) 2>conftest.er1
84512 ac_status=$?
84513 grep -v '^ *+' conftest.er1 >conftest.err
84514 rm -f conftest.er1
84515 cat conftest.err >&5
84516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84517 (exit $ac_status); } &&
84518 { ac_try='test -z "$ac_c_werror_flag"
84519 || test ! -s conftest.err'
84520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84521 (eval $ac_try) 2>&5
84522 ac_status=$?
84523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84524 (exit $ac_status); }; } &&
84525 { ac_try='test -s conftest.$ac_objext'
84526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84527 (eval $ac_try) 2>&5
84528 ac_status=$?
84529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84530 (exit $ac_status); }; }; then
84531 ac_header_compiler=yes
84532 else
84533 echo "$as_me: failed program was:" >&5
84534 sed 's/^/| /' conftest.$ac_ext >&5
84536 ac_header_compiler=no
84538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84540 echo "${ECHO_T}$ac_header_compiler" >&6
84542 # Is the header present?
84543 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84544 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84545 cat >conftest.$ac_ext <<_ACEOF
84546 /* confdefs.h. */
84547 _ACEOF
84548 cat confdefs.h >>conftest.$ac_ext
84549 cat >>conftest.$ac_ext <<_ACEOF
84550 /* end confdefs.h. */
84551 #include <langinfo.h>
84552 _ACEOF
84553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84555 ac_status=$?
84556 grep -v '^ *+' conftest.er1 >conftest.err
84557 rm -f conftest.er1
84558 cat conftest.err >&5
84559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84560 (exit $ac_status); } >/dev/null; then
84561 if test -s conftest.err; then
84562 ac_cpp_err=$ac_c_preproc_warn_flag
84563 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84564 else
84565 ac_cpp_err=
84567 else
84568 ac_cpp_err=yes
84570 if test -z "$ac_cpp_err"; then
84571 ac_header_preproc=yes
84572 else
84573 echo "$as_me: failed program was:" >&5
84574 sed 's/^/| /' conftest.$ac_ext >&5
84576 ac_header_preproc=no
84578 rm -f conftest.err conftest.$ac_ext
84579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84580 echo "${ECHO_T}$ac_header_preproc" >&6
84582 # So? What about this header?
84583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84584 yes:no: )
84585 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84586 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84587 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84588 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84589 ac_header_preproc=yes
84591 no:yes:* )
84592 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84593 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84594 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84595 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84596 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84597 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84598 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84599 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84600 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84601 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84602 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84603 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84605 cat <<\_ASBOX
84606 ## ----------------------------------------- ##
84607 ## Report this to the package-unused lists. ##
84608 ## ----------------------------------------- ##
84609 _ASBOX
84611 sed "s/^/$as_me: WARNING: /" >&2
84613 esac
84614 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84615 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84616 if test "${ac_cv_header_langinfo_h+set}" = set; then
84617 echo $ECHO_N "(cached) $ECHO_C" >&6
84618 else
84619 ac_cv_header_langinfo_h=$ac_header_preproc
84621 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84622 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84625 if test $ac_cv_header_langinfo_h = yes; then
84626 ac_has_langinfo_h=yes
84627 else
84628 ac_has_langinfo_h=no
84633 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84634 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84635 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84636 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84637 echo $ECHO_N "(cached) $ECHO_C" >&6
84638 else
84639 ac_check_lib_save_LIBS=$LIBS
84640 LIBS="-liconv $LIBS"
84641 if test x$gcc_no_link = xyes; then
84642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84644 { (exit 1); exit 1; }; }
84646 cat >conftest.$ac_ext <<_ACEOF
84647 /* confdefs.h. */
84648 _ACEOF
84649 cat confdefs.h >>conftest.$ac_ext
84650 cat >>conftest.$ac_ext <<_ACEOF
84651 /* end confdefs.h. */
84653 /* Override any gcc2 internal prototype to avoid an error. */
84654 #ifdef __cplusplus
84655 extern "C"
84656 #endif
84657 /* We use char because int might match the return type of a gcc2
84658 builtin and then its argument prototype would still apply. */
84659 char iconv ();
84661 main ()
84663 iconv ();
84665 return 0;
84667 _ACEOF
84668 rm -f conftest.$ac_objext conftest$ac_exeext
84669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84670 (eval $ac_link) 2>conftest.er1
84671 ac_status=$?
84672 grep -v '^ *+' conftest.er1 >conftest.err
84673 rm -f conftest.er1
84674 cat conftest.err >&5
84675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84676 (exit $ac_status); } &&
84677 { ac_try='test -z "$ac_c_werror_flag"
84678 || test ! -s conftest.err'
84679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84680 (eval $ac_try) 2>&5
84681 ac_status=$?
84682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84683 (exit $ac_status); }; } &&
84684 { ac_try='test -s conftest$ac_exeext'
84685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84686 (eval $ac_try) 2>&5
84687 ac_status=$?
84688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84689 (exit $ac_status); }; }; then
84690 ac_cv_lib_iconv_iconv=yes
84691 else
84692 echo "$as_me: failed program was:" >&5
84693 sed 's/^/| /' conftest.$ac_ext >&5
84695 ac_cv_lib_iconv_iconv=no
84697 rm -f conftest.err conftest.$ac_objext \
84698 conftest$ac_exeext conftest.$ac_ext
84699 LIBS=$ac_check_lib_save_LIBS
84701 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84702 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84703 if test $ac_cv_lib_iconv_iconv = yes; then
84704 LIBICONV="-liconv"
84707 ac_save_LIBS="$LIBS"
84708 LIBS="$LIBS $LIBICONV"
84715 for ac_func in iconv_open iconv_close iconv nl_langinfo
84717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84718 echo "$as_me:$LINENO: checking for $ac_func" >&5
84719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84720 if eval "test \"\${$as_ac_var+set}\" = set"; then
84721 echo $ECHO_N "(cached) $ECHO_C" >&6
84722 else
84723 if test x$gcc_no_link = xyes; then
84724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84726 { (exit 1); exit 1; }; }
84728 cat >conftest.$ac_ext <<_ACEOF
84729 /* confdefs.h. */
84730 _ACEOF
84731 cat confdefs.h >>conftest.$ac_ext
84732 cat >>conftest.$ac_ext <<_ACEOF
84733 /* end confdefs.h. */
84734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84736 #define $ac_func innocuous_$ac_func
84738 /* System header to define __stub macros and hopefully few prototypes,
84739 which can conflict with char $ac_func (); below.
84740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84741 <limits.h> exists even on freestanding compilers. */
84743 #ifdef __STDC__
84744 # include <limits.h>
84745 #else
84746 # include <assert.h>
84747 #endif
84749 #undef $ac_func
84751 /* Override any gcc2 internal prototype to avoid an error. */
84752 #ifdef __cplusplus
84753 extern "C"
84755 #endif
84756 /* We use char because int might match the return type of a gcc2
84757 builtin and then its argument prototype would still apply. */
84758 char $ac_func ();
84759 /* The GNU C library defines this for functions which it implements
84760 to always fail with ENOSYS. Some functions are actually named
84761 something starting with __ and the normal name is an alias. */
84762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84763 choke me
84764 #else
84765 char (*f) () = $ac_func;
84766 #endif
84767 #ifdef __cplusplus
84769 #endif
84772 main ()
84774 return f != $ac_func;
84776 return 0;
84778 _ACEOF
84779 rm -f conftest.$ac_objext conftest$ac_exeext
84780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84781 (eval $ac_link) 2>conftest.er1
84782 ac_status=$?
84783 grep -v '^ *+' conftest.er1 >conftest.err
84784 rm -f conftest.er1
84785 cat conftest.err >&5
84786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84787 (exit $ac_status); } &&
84788 { ac_try='test -z "$ac_c_werror_flag"
84789 || test ! -s conftest.err'
84790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84791 (eval $ac_try) 2>&5
84792 ac_status=$?
84793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84794 (exit $ac_status); }; } &&
84795 { ac_try='test -s conftest$ac_exeext'
84796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84797 (eval $ac_try) 2>&5
84798 ac_status=$?
84799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84800 (exit $ac_status); }; }; then
84801 eval "$as_ac_var=yes"
84802 else
84803 echo "$as_me: failed program was:" >&5
84804 sed 's/^/| /' conftest.$ac_ext >&5
84806 eval "$as_ac_var=no"
84808 rm -f conftest.err conftest.$ac_objext \
84809 conftest$ac_exeext conftest.$ac_ext
84811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84813 if test `eval echo '${'$as_ac_var'}'` = yes; then
84814 cat >>confdefs.h <<_ACEOF
84815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84816 _ACEOF
84817 ac_XPG2funcs=yes
84818 else
84819 ac_XPG2funcs=no
84821 done
84824 LIBS="$ac_save_LIBS"
84826 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
84827 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
84828 if test x"$ac_has_iconv_h" = xyes &&
84829 test x"$ac_has_langinfo_h" = xyes &&
84830 test x"$ac_XPG2funcs" = xyes;
84831 then
84832 ac_XPG2_wchar_t=yes
84833 else
84834 ac_XPG2_wchar_t=no
84836 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
84837 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
84839 # At the moment, only enable wchar_t specializations if all the
84840 # above support is present.
84841 if test x"$ac_isoC99_wchar_t" = xyes &&
84842 test x"$ac_XPG2_wchar_t" = xyes;
84843 then
84844 cat >>confdefs.h <<\_ACEOF
84845 #define _GLIBCXX_USE_WCHAR_T 1
84846 _ACEOF
84848 enable_wchar_t=yes
84851 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
84852 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
84853 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
84854 echo "${ECHO_T}$enable_wchar_t" >&6
84857 *-netbsd*)
84870 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84871 machine/endian.h machine/param.h sys/machine.h sys/types.h \
84872 fp.h locale.h float.h inttypes.h
84874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84876 echo "$as_me:$LINENO: checking for $ac_header" >&5
84877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84879 echo $ECHO_N "(cached) $ECHO_C" >&6
84881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84883 else
84884 # Is the header compilable?
84885 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84887 cat >conftest.$ac_ext <<_ACEOF
84888 /* confdefs.h. */
84889 _ACEOF
84890 cat confdefs.h >>conftest.$ac_ext
84891 cat >>conftest.$ac_ext <<_ACEOF
84892 /* end confdefs.h. */
84893 $ac_includes_default
84894 #include <$ac_header>
84895 _ACEOF
84896 rm -f conftest.$ac_objext
84897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84898 (eval $ac_compile) 2>conftest.er1
84899 ac_status=$?
84900 grep -v '^ *+' conftest.er1 >conftest.err
84901 rm -f conftest.er1
84902 cat conftest.err >&5
84903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84904 (exit $ac_status); } &&
84905 { ac_try='test -z "$ac_c_werror_flag"
84906 || test ! -s conftest.err'
84907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84908 (eval $ac_try) 2>&5
84909 ac_status=$?
84910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84911 (exit $ac_status); }; } &&
84912 { ac_try='test -s conftest.$ac_objext'
84913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84914 (eval $ac_try) 2>&5
84915 ac_status=$?
84916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84917 (exit $ac_status); }; }; then
84918 ac_header_compiler=yes
84919 else
84920 echo "$as_me: failed program was:" >&5
84921 sed 's/^/| /' conftest.$ac_ext >&5
84923 ac_header_compiler=no
84925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84927 echo "${ECHO_T}$ac_header_compiler" >&6
84929 # Is the header present?
84930 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84931 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84932 cat >conftest.$ac_ext <<_ACEOF
84933 /* confdefs.h. */
84934 _ACEOF
84935 cat confdefs.h >>conftest.$ac_ext
84936 cat >>conftest.$ac_ext <<_ACEOF
84937 /* end confdefs.h. */
84938 #include <$ac_header>
84939 _ACEOF
84940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84942 ac_status=$?
84943 grep -v '^ *+' conftest.er1 >conftest.err
84944 rm -f conftest.er1
84945 cat conftest.err >&5
84946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84947 (exit $ac_status); } >/dev/null; then
84948 if test -s conftest.err; then
84949 ac_cpp_err=$ac_c_preproc_warn_flag
84950 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84951 else
84952 ac_cpp_err=
84954 else
84955 ac_cpp_err=yes
84957 if test -z "$ac_cpp_err"; then
84958 ac_header_preproc=yes
84959 else
84960 echo "$as_me: failed program was:" >&5
84961 sed 's/^/| /' conftest.$ac_ext >&5
84963 ac_header_preproc=no
84965 rm -f conftest.err conftest.$ac_ext
84966 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84967 echo "${ECHO_T}$ac_header_preproc" >&6
84969 # So? What about this header?
84970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84971 yes:no: )
84972 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84973 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84975 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84976 ac_header_preproc=yes
84978 no:yes:* )
84979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84983 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84984 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84985 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84986 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84988 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84989 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84990 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84992 cat <<\_ASBOX
84993 ## ----------------------------------------- ##
84994 ## Report this to the package-unused lists. ##
84995 ## ----------------------------------------- ##
84996 _ASBOX
84998 sed "s/^/$as_me: WARNING: /" >&2
85000 esac
85001 echo "$as_me:$LINENO: checking for $ac_header" >&5
85002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85004 echo $ECHO_N "(cached) $ECHO_C" >&6
85005 else
85006 eval "$as_ac_Header=\$ac_header_preproc"
85008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85013 cat >>confdefs.h <<_ACEOF
85014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85015 _ACEOF
85019 done
85021 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85024 # If we're not using GNU ld, then there's no point in even trying these
85025 # tests. Check for that first. We should have already tested for gld
85026 # by now (in libtool), but require it now just to be safe...
85027 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85028 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85032 # The name set by libtool depends on the version of libtool. Shame on us
85033 # for depending on an impl detail, but c'est la vie. Older versions used
85034 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85035 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85036 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85037 # set (hence we're using an older libtool), then set it.
85038 if test x${with_gnu_ld+set} != xset; then
85039 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85040 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85041 with_gnu_ld=no
85042 else
85043 with_gnu_ld=$ac_cv_prog_gnu_ld
85047 # Start by getting the version number. I think the libtool test already
85048 # does some of this, but throws away the result.
85050 ldver=`$LD --version 2>/dev/null | head -1 | \
85051 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85053 glibcxx_gnu_ld_version=`echo $ldver | \
85054 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85056 # Set --gc-sections.
85057 if test "$with_gnu_ld" = "notbroken"; then
85058 # GNU ld it is! Joy and bunny rabbits!
85060 # All these tests are for C++; save the language and the compiler flags.
85061 # Need to do this so that g++ won't try to link in libstdc++
85062 ac_test_CFLAGS="${CFLAGS+set}"
85063 ac_save_CFLAGS="$CFLAGS"
85064 CFLAGS='-x c++ -Wl,--gc-sections'
85066 # Check for -Wl,--gc-sections
85067 # XXX This test is broken at the moment, as symbols required for linking
85068 # are now in libsupc++ (not built yet). In addition, this test has
85069 # cored on solaris in the past. In addition, --gc-sections doesn't
85070 # really work at the moment (keeps on discarding used sections, first
85071 # .eh_frame and now some of the glibc sections for iconv).
85072 # Bzzzzt. Thanks for playing, maybe next time.
85073 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85074 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85075 if test "$cross_compiling" = yes; then
85076 ac_sectionLDflags=yes
85077 else
85078 cat >conftest.$ac_ext <<_ACEOF
85079 /* confdefs.h. */
85080 _ACEOF
85081 cat confdefs.h >>conftest.$ac_ext
85082 cat >>conftest.$ac_ext <<_ACEOF
85083 /* end confdefs.h. */
85085 int main(void)
85087 try { throw 1; }
85088 catch (...) { };
85089 return 0;
85092 _ACEOF
85093 rm -f conftest$ac_exeext
85094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85095 (eval $ac_link) 2>&5
85096 ac_status=$?
85097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85098 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85100 (eval $ac_try) 2>&5
85101 ac_status=$?
85102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85103 (exit $ac_status); }; }; then
85104 ac_sectionLDflags=yes
85105 else
85106 echo "$as_me: program exited with status $ac_status" >&5
85107 echo "$as_me: failed program was:" >&5
85108 sed 's/^/| /' conftest.$ac_ext >&5
85110 ( exit $ac_status )
85111 ac_sectionLDflags=no
85113 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85115 if test "$ac_test_CFLAGS" = set; then
85116 CFLAGS="$ac_save_CFLAGS"
85117 else
85118 # this is the suspicious part
85119 CFLAGS=''
85121 if test "$ac_sectionLDflags" = "yes"; then
85122 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85124 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85125 echo "${ECHO_T}$ac_sectionLDflags" >&6
85128 # Set linker optimization flags.
85129 if test x"$with_gnu_ld" = x"yes"; then
85130 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85138 echo "$as_me:$LINENO: checking for main in -lm" >&5
85139 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85140 if test "${ac_cv_lib_m_main+set}" = set; then
85141 echo $ECHO_N "(cached) $ECHO_C" >&6
85142 else
85143 ac_check_lib_save_LIBS=$LIBS
85144 LIBS="-lm $LIBS"
85145 if test x$gcc_no_link = xyes; then
85146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85148 { (exit 1); exit 1; }; }
85150 cat >conftest.$ac_ext <<_ACEOF
85151 /* confdefs.h. */
85152 _ACEOF
85153 cat confdefs.h >>conftest.$ac_ext
85154 cat >>conftest.$ac_ext <<_ACEOF
85155 /* end confdefs.h. */
85159 main ()
85161 main ();
85163 return 0;
85165 _ACEOF
85166 rm -f conftest.$ac_objext conftest$ac_exeext
85167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85168 (eval $ac_link) 2>conftest.er1
85169 ac_status=$?
85170 grep -v '^ *+' conftest.er1 >conftest.err
85171 rm -f conftest.er1
85172 cat conftest.err >&5
85173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85174 (exit $ac_status); } &&
85175 { ac_try='test -z "$ac_c_werror_flag"
85176 || test ! -s conftest.err'
85177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85178 (eval $ac_try) 2>&5
85179 ac_status=$?
85180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85181 (exit $ac_status); }; } &&
85182 { ac_try='test -s conftest$ac_exeext'
85183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85184 (eval $ac_try) 2>&5
85185 ac_status=$?
85186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85187 (exit $ac_status); }; }; then
85188 ac_cv_lib_m_main=yes
85189 else
85190 echo "$as_me: failed program was:" >&5
85191 sed 's/^/| /' conftest.$ac_ext >&5
85193 ac_cv_lib_m_main=no
85195 rm -f conftest.err conftest.$ac_objext \
85196 conftest$ac_exeext conftest.$ac_ext
85197 LIBS=$ac_check_lib_save_LIBS
85199 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85200 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85201 if test $ac_cv_lib_m_main = yes; then
85202 cat >>confdefs.h <<_ACEOF
85203 #define HAVE_LIBM 1
85204 _ACEOF
85206 LIBS="-lm $LIBS"
85211 for ac_func in copysignf
85213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85214 echo "$as_me:$LINENO: checking for $ac_func" >&5
85215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85216 if eval "test \"\${$as_ac_var+set}\" = set"; then
85217 echo $ECHO_N "(cached) $ECHO_C" >&6
85218 else
85219 if test x$gcc_no_link = xyes; then
85220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85222 { (exit 1); exit 1; }; }
85224 cat >conftest.$ac_ext <<_ACEOF
85225 /* confdefs.h. */
85226 _ACEOF
85227 cat confdefs.h >>conftest.$ac_ext
85228 cat >>conftest.$ac_ext <<_ACEOF
85229 /* end confdefs.h. */
85230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85232 #define $ac_func innocuous_$ac_func
85234 /* System header to define __stub macros and hopefully few prototypes,
85235 which can conflict with char $ac_func (); below.
85236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85237 <limits.h> exists even on freestanding compilers. */
85239 #ifdef __STDC__
85240 # include <limits.h>
85241 #else
85242 # include <assert.h>
85243 #endif
85245 #undef $ac_func
85247 /* Override any gcc2 internal prototype to avoid an error. */
85248 #ifdef __cplusplus
85249 extern "C"
85251 #endif
85252 /* We use char because int might match the return type of a gcc2
85253 builtin and then its argument prototype would still apply. */
85254 char $ac_func ();
85255 /* The GNU C library defines this for functions which it implements
85256 to always fail with ENOSYS. Some functions are actually named
85257 something starting with __ and the normal name is an alias. */
85258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85259 choke me
85260 #else
85261 char (*f) () = $ac_func;
85262 #endif
85263 #ifdef __cplusplus
85265 #endif
85268 main ()
85270 return f != $ac_func;
85272 return 0;
85274 _ACEOF
85275 rm -f conftest.$ac_objext conftest$ac_exeext
85276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85277 (eval $ac_link) 2>conftest.er1
85278 ac_status=$?
85279 grep -v '^ *+' conftest.er1 >conftest.err
85280 rm -f conftest.er1
85281 cat conftest.err >&5
85282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85283 (exit $ac_status); } &&
85284 { ac_try='test -z "$ac_c_werror_flag"
85285 || test ! -s conftest.err'
85286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85287 (eval $ac_try) 2>&5
85288 ac_status=$?
85289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85290 (exit $ac_status); }; } &&
85291 { ac_try='test -s conftest$ac_exeext'
85292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85293 (eval $ac_try) 2>&5
85294 ac_status=$?
85295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85296 (exit $ac_status); }; }; then
85297 eval "$as_ac_var=yes"
85298 else
85299 echo "$as_me: failed program was:" >&5
85300 sed 's/^/| /' conftest.$ac_ext >&5
85302 eval "$as_ac_var=no"
85304 rm -f conftest.err conftest.$ac_objext \
85305 conftest$ac_exeext conftest.$ac_ext
85307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85309 if test `eval echo '${'$as_ac_var'}'` = yes; then
85310 cat >>confdefs.h <<_ACEOF
85311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85312 _ACEOF
85314 else
85315 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85317 done
85321 for ac_func in __signbit
85323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85324 echo "$as_me:$LINENO: checking for $ac_func" >&5
85325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85326 if eval "test \"\${$as_ac_var+set}\" = set"; then
85327 echo $ECHO_N "(cached) $ECHO_C" >&6
85328 else
85329 if test x$gcc_no_link = xyes; then
85330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85332 { (exit 1); exit 1; }; }
85334 cat >conftest.$ac_ext <<_ACEOF
85335 /* confdefs.h. */
85336 _ACEOF
85337 cat confdefs.h >>conftest.$ac_ext
85338 cat >>conftest.$ac_ext <<_ACEOF
85339 /* end confdefs.h. */
85340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85342 #define $ac_func innocuous_$ac_func
85344 /* System header to define __stub macros and hopefully few prototypes,
85345 which can conflict with char $ac_func (); below.
85346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85347 <limits.h> exists even on freestanding compilers. */
85349 #ifdef __STDC__
85350 # include <limits.h>
85351 #else
85352 # include <assert.h>
85353 #endif
85355 #undef $ac_func
85357 /* Override any gcc2 internal prototype to avoid an error. */
85358 #ifdef __cplusplus
85359 extern "C"
85361 #endif
85362 /* We use char because int might match the return type of a gcc2
85363 builtin and then its argument prototype would still apply. */
85364 char $ac_func ();
85365 /* The GNU C library defines this for functions which it implements
85366 to always fail with ENOSYS. Some functions are actually named
85367 something starting with __ and the normal name is an alias. */
85368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85369 choke me
85370 #else
85371 char (*f) () = $ac_func;
85372 #endif
85373 #ifdef __cplusplus
85375 #endif
85378 main ()
85380 return f != $ac_func;
85382 return 0;
85384 _ACEOF
85385 rm -f conftest.$ac_objext conftest$ac_exeext
85386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85387 (eval $ac_link) 2>conftest.er1
85388 ac_status=$?
85389 grep -v '^ *+' conftest.er1 >conftest.err
85390 rm -f conftest.er1
85391 cat conftest.err >&5
85392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85393 (exit $ac_status); } &&
85394 { ac_try='test -z "$ac_c_werror_flag"
85395 || test ! -s conftest.err'
85396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85397 (eval $ac_try) 2>&5
85398 ac_status=$?
85399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85400 (exit $ac_status); }; } &&
85401 { ac_try='test -s conftest$ac_exeext'
85402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85403 (eval $ac_try) 2>&5
85404 ac_status=$?
85405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85406 (exit $ac_status); }; }; then
85407 eval "$as_ac_var=yes"
85408 else
85409 echo "$as_me: failed program was:" >&5
85410 sed 's/^/| /' conftest.$ac_ext >&5
85412 eval "$as_ac_var=no"
85414 rm -f conftest.err conftest.$ac_objext \
85415 conftest$ac_exeext conftest.$ac_ext
85417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85419 if test `eval echo '${'$as_ac_var'}'` = yes; then
85420 cat >>confdefs.h <<_ACEOF
85421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85422 _ACEOF
85424 else
85425 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85427 done
85431 for ac_func in __signbitf
85433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85434 echo "$as_me:$LINENO: checking for $ac_func" >&5
85435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85436 if eval "test \"\${$as_ac_var+set}\" = set"; then
85437 echo $ECHO_N "(cached) $ECHO_C" >&6
85438 else
85439 if test x$gcc_no_link = xyes; then
85440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85442 { (exit 1); exit 1; }; }
85444 cat >conftest.$ac_ext <<_ACEOF
85445 /* confdefs.h. */
85446 _ACEOF
85447 cat confdefs.h >>conftest.$ac_ext
85448 cat >>conftest.$ac_ext <<_ACEOF
85449 /* end confdefs.h. */
85450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85452 #define $ac_func innocuous_$ac_func
85454 /* System header to define __stub macros and hopefully few prototypes,
85455 which can conflict with char $ac_func (); below.
85456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85457 <limits.h> exists even on freestanding compilers. */
85459 #ifdef __STDC__
85460 # include <limits.h>
85461 #else
85462 # include <assert.h>
85463 #endif
85465 #undef $ac_func
85467 /* Override any gcc2 internal prototype to avoid an error. */
85468 #ifdef __cplusplus
85469 extern "C"
85471 #endif
85472 /* We use char because int might match the return type of a gcc2
85473 builtin and then its argument prototype would still apply. */
85474 char $ac_func ();
85475 /* The GNU C library defines this for functions which it implements
85476 to always fail with ENOSYS. Some functions are actually named
85477 something starting with __ and the normal name is an alias. */
85478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85479 choke me
85480 #else
85481 char (*f) () = $ac_func;
85482 #endif
85483 #ifdef __cplusplus
85485 #endif
85488 main ()
85490 return f != $ac_func;
85492 return 0;
85494 _ACEOF
85495 rm -f conftest.$ac_objext conftest$ac_exeext
85496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85497 (eval $ac_link) 2>conftest.er1
85498 ac_status=$?
85499 grep -v '^ *+' conftest.er1 >conftest.err
85500 rm -f conftest.er1
85501 cat conftest.err >&5
85502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85503 (exit $ac_status); } &&
85504 { ac_try='test -z "$ac_c_werror_flag"
85505 || test ! -s conftest.err'
85506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85507 (eval $ac_try) 2>&5
85508 ac_status=$?
85509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85510 (exit $ac_status); }; } &&
85511 { ac_try='test -s conftest$ac_exeext'
85512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85513 (eval $ac_try) 2>&5
85514 ac_status=$?
85515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85516 (exit $ac_status); }; }; then
85517 eval "$as_ac_var=yes"
85518 else
85519 echo "$as_me: failed program was:" >&5
85520 sed 's/^/| /' conftest.$ac_ext >&5
85522 eval "$as_ac_var=no"
85524 rm -f conftest.err conftest.$ac_objext \
85525 conftest$ac_exeext conftest.$ac_ext
85527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85529 if test `eval echo '${'$as_ac_var'}'` = yes; then
85530 cat >>confdefs.h <<_ACEOF
85531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85532 _ACEOF
85534 else
85535 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85537 done
85540 if test x$ac_cv_func_copysignl = x"yes"; then
85542 for ac_func in __signbitl
85544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85545 echo "$as_me:$LINENO: checking for $ac_func" >&5
85546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85547 if eval "test \"\${$as_ac_var+set}\" = set"; then
85548 echo $ECHO_N "(cached) $ECHO_C" >&6
85549 else
85550 if test x$gcc_no_link = xyes; then
85551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85553 { (exit 1); exit 1; }; }
85555 cat >conftest.$ac_ext <<_ACEOF
85556 /* confdefs.h. */
85557 _ACEOF
85558 cat confdefs.h >>conftest.$ac_ext
85559 cat >>conftest.$ac_ext <<_ACEOF
85560 /* end confdefs.h. */
85561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85563 #define $ac_func innocuous_$ac_func
85565 /* System header to define __stub macros and hopefully few prototypes,
85566 which can conflict with char $ac_func (); below.
85567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85568 <limits.h> exists even on freestanding compilers. */
85570 #ifdef __STDC__
85571 # include <limits.h>
85572 #else
85573 # include <assert.h>
85574 #endif
85576 #undef $ac_func
85578 /* Override any gcc2 internal prototype to avoid an error. */
85579 #ifdef __cplusplus
85580 extern "C"
85582 #endif
85583 /* We use char because int might match the return type of a gcc2
85584 builtin and then its argument prototype would still apply. */
85585 char $ac_func ();
85586 /* The GNU C library defines this for functions which it implements
85587 to always fail with ENOSYS. Some functions are actually named
85588 something starting with __ and the normal name is an alias. */
85589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85590 choke me
85591 #else
85592 char (*f) () = $ac_func;
85593 #endif
85594 #ifdef __cplusplus
85596 #endif
85599 main ()
85601 return f != $ac_func;
85603 return 0;
85605 _ACEOF
85606 rm -f conftest.$ac_objext conftest$ac_exeext
85607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85608 (eval $ac_link) 2>conftest.er1
85609 ac_status=$?
85610 grep -v '^ *+' conftest.er1 >conftest.err
85611 rm -f conftest.er1
85612 cat conftest.err >&5
85613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85614 (exit $ac_status); } &&
85615 { ac_try='test -z "$ac_c_werror_flag"
85616 || test ! -s conftest.err'
85617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85618 (eval $ac_try) 2>&5
85619 ac_status=$?
85620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85621 (exit $ac_status); }; } &&
85622 { ac_try='test -s conftest$ac_exeext'
85623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85624 (eval $ac_try) 2>&5
85625 ac_status=$?
85626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85627 (exit $ac_status); }; }; then
85628 eval "$as_ac_var=yes"
85629 else
85630 echo "$as_me: failed program was:" >&5
85631 sed 's/^/| /' conftest.$ac_ext >&5
85633 eval "$as_ac_var=no"
85635 rm -f conftest.err conftest.$ac_objext \
85636 conftest$ac_exeext conftest.$ac_ext
85638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85640 if test `eval echo '${'$as_ac_var'}'` = yes; then
85641 cat >>confdefs.h <<_ACEOF
85642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85643 _ACEOF
85645 else
85646 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85648 done
85652 # Used in libmath/Makefile.am.
85653 if test -n "$LIBMATHOBJS"; then
85654 need_libmath=yes
85659 # Test wchar.h for mbstate_t, which is needed for char_traits and
85660 # others even if wchar_t support is not on.
85661 echo "$as_me:$LINENO: checking for mbstate_t" >&5
85662 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85663 cat >conftest.$ac_ext <<_ACEOF
85664 /* confdefs.h. */
85665 _ACEOF
85666 cat confdefs.h >>conftest.$ac_ext
85667 cat >>conftest.$ac_ext <<_ACEOF
85668 /* end confdefs.h. */
85669 #include <wchar.h>
85671 main ()
85673 mbstate_t teststate;
85675 return 0;
85677 _ACEOF
85678 rm -f conftest.$ac_objext
85679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85680 (eval $ac_compile) 2>conftest.er1
85681 ac_status=$?
85682 grep -v '^ *+' conftest.er1 >conftest.err
85683 rm -f conftest.er1
85684 cat conftest.err >&5
85685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85686 (exit $ac_status); } &&
85687 { ac_try='test -z "$ac_c_werror_flag"
85688 || test ! -s conftest.err'
85689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85690 (eval $ac_try) 2>&5
85691 ac_status=$?
85692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85693 (exit $ac_status); }; } &&
85694 { ac_try='test -s conftest.$ac_objext'
85695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85696 (eval $ac_try) 2>&5
85697 ac_status=$?
85698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85699 (exit $ac_status); }; }; then
85700 have_mbstate_t=yes
85701 else
85702 echo "$as_me: failed program was:" >&5
85703 sed 's/^/| /' conftest.$ac_ext >&5
85705 have_mbstate_t=no
85707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85708 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85709 echo "${ECHO_T}$have_mbstate_t" >&6
85710 if test x"$have_mbstate_t" = xyes; then
85711 cat >>confdefs.h <<\_ACEOF
85712 #define HAVE_MBSTATE_T 1
85713 _ACEOF
85717 # Sanity check for existence of ISO C99 headers for extended encoding.
85719 for ac_header in wchar.h
85721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85723 echo "$as_me:$LINENO: checking for $ac_header" >&5
85724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85726 echo $ECHO_N "(cached) $ECHO_C" >&6
85728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85730 else
85731 # Is the header compilable?
85732 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85734 cat >conftest.$ac_ext <<_ACEOF
85735 /* confdefs.h. */
85736 _ACEOF
85737 cat confdefs.h >>conftest.$ac_ext
85738 cat >>conftest.$ac_ext <<_ACEOF
85739 /* end confdefs.h. */
85740 $ac_includes_default
85741 #include <$ac_header>
85742 _ACEOF
85743 rm -f conftest.$ac_objext
85744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85745 (eval $ac_compile) 2>conftest.er1
85746 ac_status=$?
85747 grep -v '^ *+' conftest.er1 >conftest.err
85748 rm -f conftest.er1
85749 cat conftest.err >&5
85750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85751 (exit $ac_status); } &&
85752 { ac_try='test -z "$ac_c_werror_flag"
85753 || test ! -s conftest.err'
85754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85755 (eval $ac_try) 2>&5
85756 ac_status=$?
85757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85758 (exit $ac_status); }; } &&
85759 { ac_try='test -s conftest.$ac_objext'
85760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85761 (eval $ac_try) 2>&5
85762 ac_status=$?
85763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85764 (exit $ac_status); }; }; then
85765 ac_header_compiler=yes
85766 else
85767 echo "$as_me: failed program was:" >&5
85768 sed 's/^/| /' conftest.$ac_ext >&5
85770 ac_header_compiler=no
85772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85774 echo "${ECHO_T}$ac_header_compiler" >&6
85776 # Is the header present?
85777 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85778 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85779 cat >conftest.$ac_ext <<_ACEOF
85780 /* confdefs.h. */
85781 _ACEOF
85782 cat confdefs.h >>conftest.$ac_ext
85783 cat >>conftest.$ac_ext <<_ACEOF
85784 /* end confdefs.h. */
85785 #include <$ac_header>
85786 _ACEOF
85787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85789 ac_status=$?
85790 grep -v '^ *+' conftest.er1 >conftest.err
85791 rm -f conftest.er1
85792 cat conftest.err >&5
85793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85794 (exit $ac_status); } >/dev/null; then
85795 if test -s conftest.err; then
85796 ac_cpp_err=$ac_c_preproc_warn_flag
85797 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85798 else
85799 ac_cpp_err=
85801 else
85802 ac_cpp_err=yes
85804 if test -z "$ac_cpp_err"; then
85805 ac_header_preproc=yes
85806 else
85807 echo "$as_me: failed program was:" >&5
85808 sed 's/^/| /' conftest.$ac_ext >&5
85810 ac_header_preproc=no
85812 rm -f conftest.err conftest.$ac_ext
85813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85814 echo "${ECHO_T}$ac_header_preproc" >&6
85816 # So? What about this header?
85817 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85818 yes:no: )
85819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85820 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85822 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85823 ac_header_preproc=yes
85825 no:yes:* )
85826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85827 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85829 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85830 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85831 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85832 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85833 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85835 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85836 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85837 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85839 cat <<\_ASBOX
85840 ## ----------------------------------------- ##
85841 ## Report this to the package-unused lists. ##
85842 ## ----------------------------------------- ##
85843 _ASBOX
85845 sed "s/^/$as_me: WARNING: /" >&2
85847 esac
85848 echo "$as_me:$LINENO: checking for $ac_header" >&5
85849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85851 echo $ECHO_N "(cached) $ECHO_C" >&6
85852 else
85853 eval "$as_ac_Header=\$ac_header_preproc"
85855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85860 cat >>confdefs.h <<_ACEOF
85861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85862 _ACEOF
85863 ac_has_wchar_h=yes
85864 else
85865 ac_has_wchar_h=no
85868 done
85871 for ac_header in wctype.h
85873 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85875 echo "$as_me:$LINENO: checking for $ac_header" >&5
85876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85878 echo $ECHO_N "(cached) $ECHO_C" >&6
85880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85882 else
85883 # Is the header compilable?
85884 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85885 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85886 cat >conftest.$ac_ext <<_ACEOF
85887 /* confdefs.h. */
85888 _ACEOF
85889 cat confdefs.h >>conftest.$ac_ext
85890 cat >>conftest.$ac_ext <<_ACEOF
85891 /* end confdefs.h. */
85892 $ac_includes_default
85893 #include <$ac_header>
85894 _ACEOF
85895 rm -f conftest.$ac_objext
85896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85897 (eval $ac_compile) 2>conftest.er1
85898 ac_status=$?
85899 grep -v '^ *+' conftest.er1 >conftest.err
85900 rm -f conftest.er1
85901 cat conftest.err >&5
85902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85903 (exit $ac_status); } &&
85904 { ac_try='test -z "$ac_c_werror_flag"
85905 || test ! -s conftest.err'
85906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85907 (eval $ac_try) 2>&5
85908 ac_status=$?
85909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85910 (exit $ac_status); }; } &&
85911 { ac_try='test -s conftest.$ac_objext'
85912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85913 (eval $ac_try) 2>&5
85914 ac_status=$?
85915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85916 (exit $ac_status); }; }; then
85917 ac_header_compiler=yes
85918 else
85919 echo "$as_me: failed program was:" >&5
85920 sed 's/^/| /' conftest.$ac_ext >&5
85922 ac_header_compiler=no
85924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85926 echo "${ECHO_T}$ac_header_compiler" >&6
85928 # Is the header present?
85929 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85931 cat >conftest.$ac_ext <<_ACEOF
85932 /* confdefs.h. */
85933 _ACEOF
85934 cat confdefs.h >>conftest.$ac_ext
85935 cat >>conftest.$ac_ext <<_ACEOF
85936 /* end confdefs.h. */
85937 #include <$ac_header>
85938 _ACEOF
85939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85941 ac_status=$?
85942 grep -v '^ *+' conftest.er1 >conftest.err
85943 rm -f conftest.er1
85944 cat conftest.err >&5
85945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85946 (exit $ac_status); } >/dev/null; then
85947 if test -s conftest.err; then
85948 ac_cpp_err=$ac_c_preproc_warn_flag
85949 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85950 else
85951 ac_cpp_err=
85953 else
85954 ac_cpp_err=yes
85956 if test -z "$ac_cpp_err"; then
85957 ac_header_preproc=yes
85958 else
85959 echo "$as_me: failed program was:" >&5
85960 sed 's/^/| /' conftest.$ac_ext >&5
85962 ac_header_preproc=no
85964 rm -f conftest.err conftest.$ac_ext
85965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85966 echo "${ECHO_T}$ac_header_preproc" >&6
85968 # So? What about this header?
85969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85970 yes:no: )
85971 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85972 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85974 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85975 ac_header_preproc=yes
85977 no:yes:* )
85978 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85979 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85980 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85981 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85982 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85983 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85984 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85985 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85988 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85989 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85991 cat <<\_ASBOX
85992 ## ----------------------------------------- ##
85993 ## Report this to the package-unused lists. ##
85994 ## ----------------------------------------- ##
85995 _ASBOX
85997 sed "s/^/$as_me: WARNING: /" >&2
85999 esac
86000 echo "$as_me:$LINENO: checking for $ac_header" >&5
86001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86003 echo $ECHO_N "(cached) $ECHO_C" >&6
86004 else
86005 eval "$as_ac_Header=\$ac_header_preproc"
86007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86011 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86012 cat >>confdefs.h <<_ACEOF
86013 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86014 _ACEOF
86015 ac_has_wctype_h=yes
86016 else
86017 ac_has_wctype_h=no
86020 done
86023 # Only continue checking if the ISO C99 headers exist and support is on.
86024 if test x"$ac_has_wchar_h" = xyes &&
86025 test x"$ac_has_wctype_h" = xyes &&
86026 test x"$enable_c_mbchar" != xno; then
86028 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
86029 # numeric_limits can instantiate type_traits<wchar_t>
86030 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
86031 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
86032 cat >conftest.$ac_ext <<_ACEOF
86033 /* confdefs.h. */
86034 _ACEOF
86035 cat confdefs.h >>conftest.$ac_ext
86036 cat >>conftest.$ac_ext <<_ACEOF
86037 /* end confdefs.h. */
86038 #include <wchar.h>
86040 main ()
86042 int i = WCHAR_MIN; int j = WCHAR_MAX;
86044 return 0;
86046 _ACEOF
86047 rm -f conftest.$ac_objext
86048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86049 (eval $ac_compile) 2>conftest.er1
86050 ac_status=$?
86051 grep -v '^ *+' conftest.er1 >conftest.err
86052 rm -f conftest.er1
86053 cat conftest.err >&5
86054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86055 (exit $ac_status); } &&
86056 { ac_try='test -z "$ac_c_werror_flag"
86057 || test ! -s conftest.err'
86058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86059 (eval $ac_try) 2>&5
86060 ac_status=$?
86061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86062 (exit $ac_status); }; } &&
86063 { ac_try='test -s conftest.$ac_objext'
86064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86065 (eval $ac_try) 2>&5
86066 ac_status=$?
86067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86068 (exit $ac_status); }; }; then
86069 has_wchar_minmax=yes
86070 else
86071 echo "$as_me: failed program was:" >&5
86072 sed 's/^/| /' conftest.$ac_ext >&5
86074 has_wchar_minmax=no
86076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86077 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
86078 echo "${ECHO_T}$has_wchar_minmax" >&6
86080 # Test wchar.h for WEOF, which is what we use to determine whether
86081 # to specialize for char_traits<wchar_t> or not.
86082 echo "$as_me:$LINENO: checking for WEOF" >&5
86083 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
86084 cat >conftest.$ac_ext <<_ACEOF
86085 /* confdefs.h. */
86086 _ACEOF
86087 cat confdefs.h >>conftest.$ac_ext
86088 cat >>conftest.$ac_ext <<_ACEOF
86089 /* end confdefs.h. */
86091 #include <wchar.h>
86092 #include <stddef.h>
86094 main ()
86096 wint_t i = WEOF;
86098 return 0;
86100 _ACEOF
86101 rm -f conftest.$ac_objext
86102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86103 (eval $ac_compile) 2>conftest.er1
86104 ac_status=$?
86105 grep -v '^ *+' conftest.er1 >conftest.err
86106 rm -f conftest.er1
86107 cat conftest.err >&5
86108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86109 (exit $ac_status); } &&
86110 { ac_try='test -z "$ac_c_werror_flag"
86111 || test ! -s conftest.err'
86112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86113 (eval $ac_try) 2>&5
86114 ac_status=$?
86115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86116 (exit $ac_status); }; } &&
86117 { ac_try='test -s conftest.$ac_objext'
86118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86119 (eval $ac_try) 2>&5
86120 ac_status=$?
86121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86122 (exit $ac_status); }; }; then
86123 has_weof=yes
86124 else
86125 echo "$as_me: failed program was:" >&5
86126 sed 's/^/| /' conftest.$ac_ext >&5
86128 has_weof=no
86130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86131 echo "$as_me:$LINENO: result: $has_weof" >&5
86132 echo "${ECHO_T}$has_weof" >&6
86134 # Tests for wide character functions used in char_traits<wchar_t>.
86135 ac_wfuncs=yes
86142 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
86144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86145 echo "$as_me:$LINENO: checking for $ac_func" >&5
86146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86147 if eval "test \"\${$as_ac_var+set}\" = set"; then
86148 echo $ECHO_N "(cached) $ECHO_C" >&6
86149 else
86150 if test x$gcc_no_link = xyes; then
86151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86153 { (exit 1); exit 1; }; }
86155 cat >conftest.$ac_ext <<_ACEOF
86156 /* confdefs.h. */
86157 _ACEOF
86158 cat confdefs.h >>conftest.$ac_ext
86159 cat >>conftest.$ac_ext <<_ACEOF
86160 /* end confdefs.h. */
86161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86163 #define $ac_func innocuous_$ac_func
86165 /* System header to define __stub macros and hopefully few prototypes,
86166 which can conflict with char $ac_func (); below.
86167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86168 <limits.h> exists even on freestanding compilers. */
86170 #ifdef __STDC__
86171 # include <limits.h>
86172 #else
86173 # include <assert.h>
86174 #endif
86176 #undef $ac_func
86178 /* Override any gcc2 internal prototype to avoid an error. */
86179 #ifdef __cplusplus
86180 extern "C"
86182 #endif
86183 /* We use char because int might match the return type of a gcc2
86184 builtin and then its argument prototype would still apply. */
86185 char $ac_func ();
86186 /* The GNU C library defines this for functions which it implements
86187 to always fail with ENOSYS. Some functions are actually named
86188 something starting with __ and the normal name is an alias. */
86189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86190 choke me
86191 #else
86192 char (*f) () = $ac_func;
86193 #endif
86194 #ifdef __cplusplus
86196 #endif
86199 main ()
86201 return f != $ac_func;
86203 return 0;
86205 _ACEOF
86206 rm -f conftest.$ac_objext conftest$ac_exeext
86207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86208 (eval $ac_link) 2>conftest.er1
86209 ac_status=$?
86210 grep -v '^ *+' conftest.er1 >conftest.err
86211 rm -f conftest.er1
86212 cat conftest.err >&5
86213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86214 (exit $ac_status); } &&
86215 { ac_try='test -z "$ac_c_werror_flag"
86216 || test ! -s conftest.err'
86217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86218 (eval $ac_try) 2>&5
86219 ac_status=$?
86220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86221 (exit $ac_status); }; } &&
86222 { ac_try='test -s conftest$ac_exeext'
86223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86224 (eval $ac_try) 2>&5
86225 ac_status=$?
86226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86227 (exit $ac_status); }; }; then
86228 eval "$as_ac_var=yes"
86229 else
86230 echo "$as_me: failed program was:" >&5
86231 sed 's/^/| /' conftest.$ac_ext >&5
86233 eval "$as_ac_var=no"
86235 rm -f conftest.err conftest.$ac_objext \
86236 conftest$ac_exeext conftest.$ac_ext
86238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86240 if test `eval echo '${'$as_ac_var'}'` = yes; then
86241 cat >>confdefs.h <<_ACEOF
86242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86243 _ACEOF
86245 else
86246 ac_wfuncs=no
86248 done
86251 # Checks for names injected into std:: by the c_std headers.
86298 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
86299 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
86300 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
86301 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
86302 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
86303 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
86305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86306 echo "$as_me:$LINENO: checking for $ac_func" >&5
86307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86308 if eval "test \"\${$as_ac_var+set}\" = set"; then
86309 echo $ECHO_N "(cached) $ECHO_C" >&6
86310 else
86311 if test x$gcc_no_link = xyes; then
86312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86314 { (exit 1); exit 1; }; }
86316 cat >conftest.$ac_ext <<_ACEOF
86317 /* confdefs.h. */
86318 _ACEOF
86319 cat confdefs.h >>conftest.$ac_ext
86320 cat >>conftest.$ac_ext <<_ACEOF
86321 /* end confdefs.h. */
86322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86324 #define $ac_func innocuous_$ac_func
86326 /* System header to define __stub macros and hopefully few prototypes,
86327 which can conflict with char $ac_func (); below.
86328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86329 <limits.h> exists even on freestanding compilers. */
86331 #ifdef __STDC__
86332 # include <limits.h>
86333 #else
86334 # include <assert.h>
86335 #endif
86337 #undef $ac_func
86339 /* Override any gcc2 internal prototype to avoid an error. */
86340 #ifdef __cplusplus
86341 extern "C"
86343 #endif
86344 /* We use char because int might match the return type of a gcc2
86345 builtin and then its argument prototype would still apply. */
86346 char $ac_func ();
86347 /* The GNU C library defines this for functions which it implements
86348 to always fail with ENOSYS. Some functions are actually named
86349 something starting with __ and the normal name is an alias. */
86350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86351 choke me
86352 #else
86353 char (*f) () = $ac_func;
86354 #endif
86355 #ifdef __cplusplus
86357 #endif
86360 main ()
86362 return f != $ac_func;
86364 return 0;
86366 _ACEOF
86367 rm -f conftest.$ac_objext conftest$ac_exeext
86368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86369 (eval $ac_link) 2>conftest.er1
86370 ac_status=$?
86371 grep -v '^ *+' conftest.er1 >conftest.err
86372 rm -f conftest.er1
86373 cat conftest.err >&5
86374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86375 (exit $ac_status); } &&
86376 { ac_try='test -z "$ac_c_werror_flag"
86377 || test ! -s conftest.err'
86378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86379 (eval $ac_try) 2>&5
86380 ac_status=$?
86381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86382 (exit $ac_status); }; } &&
86383 { ac_try='test -s conftest$ac_exeext'
86384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86385 (eval $ac_try) 2>&5
86386 ac_status=$?
86387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86388 (exit $ac_status); }; }; then
86389 eval "$as_ac_var=yes"
86390 else
86391 echo "$as_me: failed program was:" >&5
86392 sed 's/^/| /' conftest.$ac_ext >&5
86394 eval "$as_ac_var=no"
86396 rm -f conftest.err conftest.$ac_objext \
86397 conftest$ac_exeext conftest.$ac_ext
86399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86401 if test `eval echo '${'$as_ac_var'}'` = yes; then
86402 cat >>confdefs.h <<_ACEOF
86403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86404 _ACEOF
86406 else
86407 ac_wfuncs=no
86409 done
86412 # Checks for wide character functions that are not required
86413 # for basic wchar_t support. Don't disable support if they are missing.
86414 # Injection of these is wrapped with guard macros.
86420 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
86422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86423 echo "$as_me:$LINENO: checking for $ac_func" >&5
86424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86425 if eval "test \"\${$as_ac_var+set}\" = set"; then
86426 echo $ECHO_N "(cached) $ECHO_C" >&6
86427 else
86428 if test x$gcc_no_link = xyes; then
86429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86431 { (exit 1); exit 1; }; }
86433 cat >conftest.$ac_ext <<_ACEOF
86434 /* confdefs.h. */
86435 _ACEOF
86436 cat confdefs.h >>conftest.$ac_ext
86437 cat >>conftest.$ac_ext <<_ACEOF
86438 /* end confdefs.h. */
86439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86441 #define $ac_func innocuous_$ac_func
86443 /* System header to define __stub macros and hopefully few prototypes,
86444 which can conflict with char $ac_func (); below.
86445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86446 <limits.h> exists even on freestanding compilers. */
86448 #ifdef __STDC__
86449 # include <limits.h>
86450 #else
86451 # include <assert.h>
86452 #endif
86454 #undef $ac_func
86456 /* Override any gcc2 internal prototype to avoid an error. */
86457 #ifdef __cplusplus
86458 extern "C"
86460 #endif
86461 /* We use char because int might match the return type of a gcc2
86462 builtin and then its argument prototype would still apply. */
86463 char $ac_func ();
86464 /* The GNU C library defines this for functions which it implements
86465 to always fail with ENOSYS. Some functions are actually named
86466 something starting with __ and the normal name is an alias. */
86467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86468 choke me
86469 #else
86470 char (*f) () = $ac_func;
86471 #endif
86472 #ifdef __cplusplus
86474 #endif
86477 main ()
86479 return f != $ac_func;
86481 return 0;
86483 _ACEOF
86484 rm -f conftest.$ac_objext conftest$ac_exeext
86485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86486 (eval $ac_link) 2>conftest.er1
86487 ac_status=$?
86488 grep -v '^ *+' conftest.er1 >conftest.err
86489 rm -f conftest.er1
86490 cat conftest.err >&5
86491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86492 (exit $ac_status); } &&
86493 { ac_try='test -z "$ac_c_werror_flag"
86494 || test ! -s conftest.err'
86495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86496 (eval $ac_try) 2>&5
86497 ac_status=$?
86498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86499 (exit $ac_status); }; } &&
86500 { ac_try='test -s conftest$ac_exeext'
86501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86502 (eval $ac_try) 2>&5
86503 ac_status=$?
86504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86505 (exit $ac_status); }; }; then
86506 eval "$as_ac_var=yes"
86507 else
86508 echo "$as_me: failed program was:" >&5
86509 sed 's/^/| /' conftest.$ac_ext >&5
86511 eval "$as_ac_var=no"
86513 rm -f conftest.err conftest.$ac_objext \
86514 conftest$ac_exeext conftest.$ac_ext
86516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86518 if test `eval echo '${'$as_ac_var'}'` = yes; then
86519 cat >>confdefs.h <<_ACEOF
86520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86521 _ACEOF
86524 done
86527 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86528 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86529 if test x"$has_weof" = xyes &&
86530 test x"$has_wchar_minmax" = xyes &&
86531 test x"$ac_wfuncs" = xyes;
86532 then
86533 ac_isoC99_wchar_t=yes
86534 else
86535 ac_isoC99_wchar_t=no
86537 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86538 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86540 # Use iconv for wchar_t to char conversions. As such, check for
86541 # X/Open Portability Guide, version 2 features (XPG2).
86542 if test "${ac_cv_header_iconv_h+set}" = set; then
86543 echo "$as_me:$LINENO: checking for iconv.h" >&5
86544 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86545 if test "${ac_cv_header_iconv_h+set}" = set; then
86546 echo $ECHO_N "(cached) $ECHO_C" >&6
86548 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86549 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86550 else
86551 # Is the header compilable?
86552 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86553 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86554 cat >conftest.$ac_ext <<_ACEOF
86555 /* confdefs.h. */
86556 _ACEOF
86557 cat confdefs.h >>conftest.$ac_ext
86558 cat >>conftest.$ac_ext <<_ACEOF
86559 /* end confdefs.h. */
86560 $ac_includes_default
86561 #include <iconv.h>
86562 _ACEOF
86563 rm -f conftest.$ac_objext
86564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86565 (eval $ac_compile) 2>conftest.er1
86566 ac_status=$?
86567 grep -v '^ *+' conftest.er1 >conftest.err
86568 rm -f conftest.er1
86569 cat conftest.err >&5
86570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86571 (exit $ac_status); } &&
86572 { ac_try='test -z "$ac_c_werror_flag"
86573 || test ! -s conftest.err'
86574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86575 (eval $ac_try) 2>&5
86576 ac_status=$?
86577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86578 (exit $ac_status); }; } &&
86579 { ac_try='test -s conftest.$ac_objext'
86580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86581 (eval $ac_try) 2>&5
86582 ac_status=$?
86583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86584 (exit $ac_status); }; }; then
86585 ac_header_compiler=yes
86586 else
86587 echo "$as_me: failed program was:" >&5
86588 sed 's/^/| /' conftest.$ac_ext >&5
86590 ac_header_compiler=no
86592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86594 echo "${ECHO_T}$ac_header_compiler" >&6
86596 # Is the header present?
86597 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86598 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86599 cat >conftest.$ac_ext <<_ACEOF
86600 /* confdefs.h. */
86601 _ACEOF
86602 cat confdefs.h >>conftest.$ac_ext
86603 cat >>conftest.$ac_ext <<_ACEOF
86604 /* end confdefs.h. */
86605 #include <iconv.h>
86606 _ACEOF
86607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86609 ac_status=$?
86610 grep -v '^ *+' conftest.er1 >conftest.err
86611 rm -f conftest.er1
86612 cat conftest.err >&5
86613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86614 (exit $ac_status); } >/dev/null; then
86615 if test -s conftest.err; then
86616 ac_cpp_err=$ac_c_preproc_warn_flag
86617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86618 else
86619 ac_cpp_err=
86621 else
86622 ac_cpp_err=yes
86624 if test -z "$ac_cpp_err"; then
86625 ac_header_preproc=yes
86626 else
86627 echo "$as_me: failed program was:" >&5
86628 sed 's/^/| /' conftest.$ac_ext >&5
86630 ac_header_preproc=no
86632 rm -f conftest.err conftest.$ac_ext
86633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86634 echo "${ECHO_T}$ac_header_preproc" >&6
86636 # So? What about this header?
86637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86638 yes:no: )
86639 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86640 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86641 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86642 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86643 ac_header_preproc=yes
86645 no:yes:* )
86646 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86647 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86648 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86649 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86650 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86651 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86652 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86653 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86654 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86655 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86656 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86657 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86659 cat <<\_ASBOX
86660 ## ----------------------------------------- ##
86661 ## Report this to the package-unused lists. ##
86662 ## ----------------------------------------- ##
86663 _ASBOX
86665 sed "s/^/$as_me: WARNING: /" >&2
86667 esac
86668 echo "$as_me:$LINENO: checking for iconv.h" >&5
86669 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86670 if test "${ac_cv_header_iconv_h+set}" = set; then
86671 echo $ECHO_N "(cached) $ECHO_C" >&6
86672 else
86673 ac_cv_header_iconv_h=$ac_header_preproc
86675 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86676 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86679 if test $ac_cv_header_iconv_h = yes; then
86680 ac_has_iconv_h=yes
86681 else
86682 ac_has_iconv_h=no
86686 if test "${ac_cv_header_langinfo_h+set}" = set; then
86687 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86688 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86689 if test "${ac_cv_header_langinfo_h+set}" = set; then
86690 echo $ECHO_N "(cached) $ECHO_C" >&6
86692 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86693 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86694 else
86695 # Is the header compilable?
86696 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86697 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86698 cat >conftest.$ac_ext <<_ACEOF
86699 /* confdefs.h. */
86700 _ACEOF
86701 cat confdefs.h >>conftest.$ac_ext
86702 cat >>conftest.$ac_ext <<_ACEOF
86703 /* end confdefs.h. */
86704 $ac_includes_default
86705 #include <langinfo.h>
86706 _ACEOF
86707 rm -f conftest.$ac_objext
86708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86709 (eval $ac_compile) 2>conftest.er1
86710 ac_status=$?
86711 grep -v '^ *+' conftest.er1 >conftest.err
86712 rm -f conftest.er1
86713 cat conftest.err >&5
86714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86715 (exit $ac_status); } &&
86716 { ac_try='test -z "$ac_c_werror_flag"
86717 || test ! -s conftest.err'
86718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86719 (eval $ac_try) 2>&5
86720 ac_status=$?
86721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86722 (exit $ac_status); }; } &&
86723 { ac_try='test -s conftest.$ac_objext'
86724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86725 (eval $ac_try) 2>&5
86726 ac_status=$?
86727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86728 (exit $ac_status); }; }; then
86729 ac_header_compiler=yes
86730 else
86731 echo "$as_me: failed program was:" >&5
86732 sed 's/^/| /' conftest.$ac_ext >&5
86734 ac_header_compiler=no
86736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86738 echo "${ECHO_T}$ac_header_compiler" >&6
86740 # Is the header present?
86741 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86742 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86743 cat >conftest.$ac_ext <<_ACEOF
86744 /* confdefs.h. */
86745 _ACEOF
86746 cat confdefs.h >>conftest.$ac_ext
86747 cat >>conftest.$ac_ext <<_ACEOF
86748 /* end confdefs.h. */
86749 #include <langinfo.h>
86750 _ACEOF
86751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86752 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86753 ac_status=$?
86754 grep -v '^ *+' conftest.er1 >conftest.err
86755 rm -f conftest.er1
86756 cat conftest.err >&5
86757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86758 (exit $ac_status); } >/dev/null; then
86759 if test -s conftest.err; then
86760 ac_cpp_err=$ac_c_preproc_warn_flag
86761 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86762 else
86763 ac_cpp_err=
86765 else
86766 ac_cpp_err=yes
86768 if test -z "$ac_cpp_err"; then
86769 ac_header_preproc=yes
86770 else
86771 echo "$as_me: failed program was:" >&5
86772 sed 's/^/| /' conftest.$ac_ext >&5
86774 ac_header_preproc=no
86776 rm -f conftest.err conftest.$ac_ext
86777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86778 echo "${ECHO_T}$ac_header_preproc" >&6
86780 # So? What about this header?
86781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86782 yes:no: )
86783 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86784 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86785 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86786 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86787 ac_header_preproc=yes
86789 no:yes:* )
86790 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86791 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86792 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86793 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86794 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86795 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86796 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86797 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86798 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86799 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86800 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86801 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86803 cat <<\_ASBOX
86804 ## ----------------------------------------- ##
86805 ## Report this to the package-unused lists. ##
86806 ## ----------------------------------------- ##
86807 _ASBOX
86809 sed "s/^/$as_me: WARNING: /" >&2
86811 esac
86812 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86813 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86814 if test "${ac_cv_header_langinfo_h+set}" = set; then
86815 echo $ECHO_N "(cached) $ECHO_C" >&6
86816 else
86817 ac_cv_header_langinfo_h=$ac_header_preproc
86819 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86820 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86823 if test $ac_cv_header_langinfo_h = yes; then
86824 ac_has_langinfo_h=yes
86825 else
86826 ac_has_langinfo_h=no
86831 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86832 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86833 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86834 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86835 echo $ECHO_N "(cached) $ECHO_C" >&6
86836 else
86837 ac_check_lib_save_LIBS=$LIBS
86838 LIBS="-liconv $LIBS"
86839 if test x$gcc_no_link = xyes; then
86840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86842 { (exit 1); exit 1; }; }
86844 cat >conftest.$ac_ext <<_ACEOF
86845 /* confdefs.h. */
86846 _ACEOF
86847 cat confdefs.h >>conftest.$ac_ext
86848 cat >>conftest.$ac_ext <<_ACEOF
86849 /* end confdefs.h. */
86851 /* Override any gcc2 internal prototype to avoid an error. */
86852 #ifdef __cplusplus
86853 extern "C"
86854 #endif
86855 /* We use char because int might match the return type of a gcc2
86856 builtin and then its argument prototype would still apply. */
86857 char iconv ();
86859 main ()
86861 iconv ();
86863 return 0;
86865 _ACEOF
86866 rm -f conftest.$ac_objext conftest$ac_exeext
86867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86868 (eval $ac_link) 2>conftest.er1
86869 ac_status=$?
86870 grep -v '^ *+' conftest.er1 >conftest.err
86871 rm -f conftest.er1
86872 cat conftest.err >&5
86873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86874 (exit $ac_status); } &&
86875 { ac_try='test -z "$ac_c_werror_flag"
86876 || test ! -s conftest.err'
86877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86878 (eval $ac_try) 2>&5
86879 ac_status=$?
86880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86881 (exit $ac_status); }; } &&
86882 { ac_try='test -s conftest$ac_exeext'
86883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86884 (eval $ac_try) 2>&5
86885 ac_status=$?
86886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86887 (exit $ac_status); }; }; then
86888 ac_cv_lib_iconv_iconv=yes
86889 else
86890 echo "$as_me: failed program was:" >&5
86891 sed 's/^/| /' conftest.$ac_ext >&5
86893 ac_cv_lib_iconv_iconv=no
86895 rm -f conftest.err conftest.$ac_objext \
86896 conftest$ac_exeext conftest.$ac_ext
86897 LIBS=$ac_check_lib_save_LIBS
86899 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86900 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86901 if test $ac_cv_lib_iconv_iconv = yes; then
86902 LIBICONV="-liconv"
86905 ac_save_LIBS="$LIBS"
86906 LIBS="$LIBS $LIBICONV"
86913 for ac_func in iconv_open iconv_close iconv nl_langinfo
86915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86916 echo "$as_me:$LINENO: checking for $ac_func" >&5
86917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86918 if eval "test \"\${$as_ac_var+set}\" = set"; then
86919 echo $ECHO_N "(cached) $ECHO_C" >&6
86920 else
86921 if test x$gcc_no_link = xyes; then
86922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86924 { (exit 1); exit 1; }; }
86926 cat >conftest.$ac_ext <<_ACEOF
86927 /* confdefs.h. */
86928 _ACEOF
86929 cat confdefs.h >>conftest.$ac_ext
86930 cat >>conftest.$ac_ext <<_ACEOF
86931 /* end confdefs.h. */
86932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86934 #define $ac_func innocuous_$ac_func
86936 /* System header to define __stub macros and hopefully few prototypes,
86937 which can conflict with char $ac_func (); below.
86938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86939 <limits.h> exists even on freestanding compilers. */
86941 #ifdef __STDC__
86942 # include <limits.h>
86943 #else
86944 # include <assert.h>
86945 #endif
86947 #undef $ac_func
86949 /* Override any gcc2 internal prototype to avoid an error. */
86950 #ifdef __cplusplus
86951 extern "C"
86953 #endif
86954 /* We use char because int might match the return type of a gcc2
86955 builtin and then its argument prototype would still apply. */
86956 char $ac_func ();
86957 /* The GNU C library defines this for functions which it implements
86958 to always fail with ENOSYS. Some functions are actually named
86959 something starting with __ and the normal name is an alias. */
86960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86961 choke me
86962 #else
86963 char (*f) () = $ac_func;
86964 #endif
86965 #ifdef __cplusplus
86967 #endif
86970 main ()
86972 return f != $ac_func;
86974 return 0;
86976 _ACEOF
86977 rm -f conftest.$ac_objext conftest$ac_exeext
86978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86979 (eval $ac_link) 2>conftest.er1
86980 ac_status=$?
86981 grep -v '^ *+' conftest.er1 >conftest.err
86982 rm -f conftest.er1
86983 cat conftest.err >&5
86984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86985 (exit $ac_status); } &&
86986 { ac_try='test -z "$ac_c_werror_flag"
86987 || test ! -s conftest.err'
86988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86989 (eval $ac_try) 2>&5
86990 ac_status=$?
86991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86992 (exit $ac_status); }; } &&
86993 { ac_try='test -s conftest$ac_exeext'
86994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86995 (eval $ac_try) 2>&5
86996 ac_status=$?
86997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86998 (exit $ac_status); }; }; then
86999 eval "$as_ac_var=yes"
87000 else
87001 echo "$as_me: failed program was:" >&5
87002 sed 's/^/| /' conftest.$ac_ext >&5
87004 eval "$as_ac_var=no"
87006 rm -f conftest.err conftest.$ac_objext \
87007 conftest$ac_exeext conftest.$ac_ext
87009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87011 if test `eval echo '${'$as_ac_var'}'` = yes; then
87012 cat >>confdefs.h <<_ACEOF
87013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87014 _ACEOF
87015 ac_XPG2funcs=yes
87016 else
87017 ac_XPG2funcs=no
87019 done
87022 LIBS="$ac_save_LIBS"
87024 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
87025 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
87026 if test x"$ac_has_iconv_h" = xyes &&
87027 test x"$ac_has_langinfo_h" = xyes &&
87028 test x"$ac_XPG2funcs" = xyes;
87029 then
87030 ac_XPG2_wchar_t=yes
87031 else
87032 ac_XPG2_wchar_t=no
87034 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
87035 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
87037 # At the moment, only enable wchar_t specializations if all the
87038 # above support is present.
87039 if test x"$ac_isoC99_wchar_t" = xyes &&
87040 test x"$ac_XPG2_wchar_t" = xyes;
87041 then
87042 cat >>confdefs.h <<\_ACEOF
87043 #define _GLIBCXX_USE_WCHAR_T 1
87044 _ACEOF
87046 enable_wchar_t=yes
87049 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
87050 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
87051 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
87052 echo "${ECHO_T}$enable_wchar_t" >&6
87054 cat >>confdefs.h <<\_ACEOF
87055 #define HAVE_COPYSIGN 1
87056 _ACEOF
87058 cat >>confdefs.h <<\_ACEOF
87059 #define HAVE_COPYSIGNF 1
87060 _ACEOF
87062 cat >>confdefs.h <<\_ACEOF
87063 #define HAVE_FINITEF 1
87064 _ACEOF
87066 cat >>confdefs.h <<\_ACEOF
87067 #define HAVE_FINITE 1
87068 _ACEOF
87070 cat >>confdefs.h <<\_ACEOF
87071 #define HAVE_FREXPF 1
87072 _ACEOF
87074 cat >>confdefs.h <<\_ACEOF
87075 #define HAVE_HYPOTF 1
87076 _ACEOF
87078 cat >>confdefs.h <<\_ACEOF
87079 #define HAVE_ISINF 1
87080 _ACEOF
87082 cat >>confdefs.h <<\_ACEOF
87083 #define HAVE_ISINFF 1
87084 _ACEOF
87086 cat >>confdefs.h <<\_ACEOF
87087 #define HAVE_ISNAN 1
87088 _ACEOF
87090 cat >>confdefs.h <<\_ACEOF
87091 #define HAVE_ISNANF 1
87092 _ACEOF
87094 if test x"long_double_math_on_this_cpu" = x"yes"; then
87095 cat >>confdefs.h <<\_ACEOF
87096 #define HAVE_FINITEL 1
87097 _ACEOF
87099 cat >>confdefs.h <<\_ACEOF
87100 #define HAVE_ISINFL 1
87101 _ACEOF
87103 cat >>confdefs.h <<\_ACEOF
87104 #define HAVE_ISNANL 1
87105 _ACEOF
87109 *-netware)
87118 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
87119 sys/types.h locale.h float.h inttypes.h
87121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87123 echo "$as_me:$LINENO: checking for $ac_header" >&5
87124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87126 echo $ECHO_N "(cached) $ECHO_C" >&6
87128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87130 else
87131 # Is the header compilable?
87132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87134 cat >conftest.$ac_ext <<_ACEOF
87135 /* confdefs.h. */
87136 _ACEOF
87137 cat confdefs.h >>conftest.$ac_ext
87138 cat >>conftest.$ac_ext <<_ACEOF
87139 /* end confdefs.h. */
87140 $ac_includes_default
87141 #include <$ac_header>
87142 _ACEOF
87143 rm -f conftest.$ac_objext
87144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87145 (eval $ac_compile) 2>conftest.er1
87146 ac_status=$?
87147 grep -v '^ *+' conftest.er1 >conftest.err
87148 rm -f conftest.er1
87149 cat conftest.err >&5
87150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87151 (exit $ac_status); } &&
87152 { ac_try='test -z "$ac_c_werror_flag"
87153 || test ! -s conftest.err'
87154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87155 (eval $ac_try) 2>&5
87156 ac_status=$?
87157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87158 (exit $ac_status); }; } &&
87159 { ac_try='test -s conftest.$ac_objext'
87160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87161 (eval $ac_try) 2>&5
87162 ac_status=$?
87163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87164 (exit $ac_status); }; }; then
87165 ac_header_compiler=yes
87166 else
87167 echo "$as_me: failed program was:" >&5
87168 sed 's/^/| /' conftest.$ac_ext >&5
87170 ac_header_compiler=no
87172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87174 echo "${ECHO_T}$ac_header_compiler" >&6
87176 # Is the header present?
87177 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87179 cat >conftest.$ac_ext <<_ACEOF
87180 /* confdefs.h. */
87181 _ACEOF
87182 cat confdefs.h >>conftest.$ac_ext
87183 cat >>conftest.$ac_ext <<_ACEOF
87184 /* end confdefs.h. */
87185 #include <$ac_header>
87186 _ACEOF
87187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87189 ac_status=$?
87190 grep -v '^ *+' conftest.er1 >conftest.err
87191 rm -f conftest.er1
87192 cat conftest.err >&5
87193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87194 (exit $ac_status); } >/dev/null; then
87195 if test -s conftest.err; then
87196 ac_cpp_err=$ac_c_preproc_warn_flag
87197 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87198 else
87199 ac_cpp_err=
87201 else
87202 ac_cpp_err=yes
87204 if test -z "$ac_cpp_err"; then
87205 ac_header_preproc=yes
87206 else
87207 echo "$as_me: failed program was:" >&5
87208 sed 's/^/| /' conftest.$ac_ext >&5
87210 ac_header_preproc=no
87212 rm -f conftest.err conftest.$ac_ext
87213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87214 echo "${ECHO_T}$ac_header_preproc" >&6
87216 # So? What about this header?
87217 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87218 yes:no: )
87219 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87220 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87222 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87223 ac_header_preproc=yes
87225 no:yes:* )
87226 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87227 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87228 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87229 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87230 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87231 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87232 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87233 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87236 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87237 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87239 cat <<\_ASBOX
87240 ## ----------------------------------------- ##
87241 ## Report this to the package-unused lists. ##
87242 ## ----------------------------------------- ##
87243 _ASBOX
87245 sed "s/^/$as_me: WARNING: /" >&2
87247 esac
87248 echo "$as_me:$LINENO: checking for $ac_header" >&5
87249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87251 echo $ECHO_N "(cached) $ECHO_C" >&6
87252 else
87253 eval "$as_ac_Header=\$ac_header_preproc"
87255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87260 cat >>confdefs.h <<_ACEOF
87261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87262 _ACEOF
87266 done
87268 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87271 # If we're not using GNU ld, then there's no point in even trying these
87272 # tests. Check for that first. We should have already tested for gld
87273 # by now (in libtool), but require it now just to be safe...
87274 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87275 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87279 # The name set by libtool depends on the version of libtool. Shame on us
87280 # for depending on an impl detail, but c'est la vie. Older versions used
87281 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87282 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87283 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87284 # set (hence we're using an older libtool), then set it.
87285 if test x${with_gnu_ld+set} != xset; then
87286 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87287 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87288 with_gnu_ld=no
87289 else
87290 with_gnu_ld=$ac_cv_prog_gnu_ld
87294 # Start by getting the version number. I think the libtool test already
87295 # does some of this, but throws away the result.
87297 ldver=`$LD --version 2>/dev/null | head -1 | \
87298 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87300 glibcxx_gnu_ld_version=`echo $ldver | \
87301 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87303 # Set --gc-sections.
87304 if test "$with_gnu_ld" = "notbroken"; then
87305 # GNU ld it is! Joy and bunny rabbits!
87307 # All these tests are for C++; save the language and the compiler flags.
87308 # Need to do this so that g++ won't try to link in libstdc++
87309 ac_test_CFLAGS="${CFLAGS+set}"
87310 ac_save_CFLAGS="$CFLAGS"
87311 CFLAGS='-x c++ -Wl,--gc-sections'
87313 # Check for -Wl,--gc-sections
87314 # XXX This test is broken at the moment, as symbols required for linking
87315 # are now in libsupc++ (not built yet). In addition, this test has
87316 # cored on solaris in the past. In addition, --gc-sections doesn't
87317 # really work at the moment (keeps on discarding used sections, first
87318 # .eh_frame and now some of the glibc sections for iconv).
87319 # Bzzzzt. Thanks for playing, maybe next time.
87320 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87321 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87322 if test "$cross_compiling" = yes; then
87323 ac_sectionLDflags=yes
87324 else
87325 cat >conftest.$ac_ext <<_ACEOF
87326 /* confdefs.h. */
87327 _ACEOF
87328 cat confdefs.h >>conftest.$ac_ext
87329 cat >>conftest.$ac_ext <<_ACEOF
87330 /* end confdefs.h. */
87332 int main(void)
87334 try { throw 1; }
87335 catch (...) { };
87336 return 0;
87339 _ACEOF
87340 rm -f conftest$ac_exeext
87341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87342 (eval $ac_link) 2>&5
87343 ac_status=$?
87344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
87346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87347 (eval $ac_try) 2>&5
87348 ac_status=$?
87349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87350 (exit $ac_status); }; }; then
87351 ac_sectionLDflags=yes
87352 else
87353 echo "$as_me: program exited with status $ac_status" >&5
87354 echo "$as_me: failed program was:" >&5
87355 sed 's/^/| /' conftest.$ac_ext >&5
87357 ( exit $ac_status )
87358 ac_sectionLDflags=no
87360 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
87362 if test "$ac_test_CFLAGS" = set; then
87363 CFLAGS="$ac_save_CFLAGS"
87364 else
87365 # this is the suspicious part
87366 CFLAGS=''
87368 if test "$ac_sectionLDflags" = "yes"; then
87369 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87371 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
87372 echo "${ECHO_T}$ac_sectionLDflags" >&6
87375 # Set linker optimization flags.
87376 if test x"$with_gnu_ld" = x"yes"; then
87377 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87385 echo "$as_me:$LINENO: checking for main in -lm" >&5
87386 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87387 if test "${ac_cv_lib_m_main+set}" = set; then
87388 echo $ECHO_N "(cached) $ECHO_C" >&6
87389 else
87390 ac_check_lib_save_LIBS=$LIBS
87391 LIBS="-lm $LIBS"
87392 if test x$gcc_no_link = xyes; then
87393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87395 { (exit 1); exit 1; }; }
87397 cat >conftest.$ac_ext <<_ACEOF
87398 /* confdefs.h. */
87399 _ACEOF
87400 cat confdefs.h >>conftest.$ac_ext
87401 cat >>conftest.$ac_ext <<_ACEOF
87402 /* end confdefs.h. */
87406 main ()
87408 main ();
87410 return 0;
87412 _ACEOF
87413 rm -f conftest.$ac_objext conftest$ac_exeext
87414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87415 (eval $ac_link) 2>conftest.er1
87416 ac_status=$?
87417 grep -v '^ *+' conftest.er1 >conftest.err
87418 rm -f conftest.er1
87419 cat conftest.err >&5
87420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87421 (exit $ac_status); } &&
87422 { ac_try='test -z "$ac_c_werror_flag"
87423 || test ! -s conftest.err'
87424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87425 (eval $ac_try) 2>&5
87426 ac_status=$?
87427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87428 (exit $ac_status); }; } &&
87429 { ac_try='test -s conftest$ac_exeext'
87430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87431 (eval $ac_try) 2>&5
87432 ac_status=$?
87433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87434 (exit $ac_status); }; }; then
87435 ac_cv_lib_m_main=yes
87436 else
87437 echo "$as_me: failed program was:" >&5
87438 sed 's/^/| /' conftest.$ac_ext >&5
87440 ac_cv_lib_m_main=no
87442 rm -f conftest.err conftest.$ac_objext \
87443 conftest$ac_exeext conftest.$ac_ext
87444 LIBS=$ac_check_lib_save_LIBS
87446 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87447 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87448 if test $ac_cv_lib_m_main = yes; then
87449 cat >>confdefs.h <<_ACEOF
87450 #define HAVE_LIBM 1
87451 _ACEOF
87453 LIBS="-lm $LIBS"
87458 for ac_func in copysignf
87460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87461 echo "$as_me:$LINENO: checking for $ac_func" >&5
87462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87463 if eval "test \"\${$as_ac_var+set}\" = set"; then
87464 echo $ECHO_N "(cached) $ECHO_C" >&6
87465 else
87466 if test x$gcc_no_link = xyes; then
87467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87469 { (exit 1); exit 1; }; }
87471 cat >conftest.$ac_ext <<_ACEOF
87472 /* confdefs.h. */
87473 _ACEOF
87474 cat confdefs.h >>conftest.$ac_ext
87475 cat >>conftest.$ac_ext <<_ACEOF
87476 /* end confdefs.h. */
87477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87479 #define $ac_func innocuous_$ac_func
87481 /* System header to define __stub macros and hopefully few prototypes,
87482 which can conflict with char $ac_func (); below.
87483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87484 <limits.h> exists even on freestanding compilers. */
87486 #ifdef __STDC__
87487 # include <limits.h>
87488 #else
87489 # include <assert.h>
87490 #endif
87492 #undef $ac_func
87494 /* Override any gcc2 internal prototype to avoid an error. */
87495 #ifdef __cplusplus
87496 extern "C"
87498 #endif
87499 /* We use char because int might match the return type of a gcc2
87500 builtin and then its argument prototype would still apply. */
87501 char $ac_func ();
87502 /* The GNU C library defines this for functions which it implements
87503 to always fail with ENOSYS. Some functions are actually named
87504 something starting with __ and the normal name is an alias. */
87505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87506 choke me
87507 #else
87508 char (*f) () = $ac_func;
87509 #endif
87510 #ifdef __cplusplus
87512 #endif
87515 main ()
87517 return f != $ac_func;
87519 return 0;
87521 _ACEOF
87522 rm -f conftest.$ac_objext conftest$ac_exeext
87523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87524 (eval $ac_link) 2>conftest.er1
87525 ac_status=$?
87526 grep -v '^ *+' conftest.er1 >conftest.err
87527 rm -f conftest.er1
87528 cat conftest.err >&5
87529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87530 (exit $ac_status); } &&
87531 { ac_try='test -z "$ac_c_werror_flag"
87532 || test ! -s conftest.err'
87533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87534 (eval $ac_try) 2>&5
87535 ac_status=$?
87536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87537 (exit $ac_status); }; } &&
87538 { ac_try='test -s conftest$ac_exeext'
87539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87540 (eval $ac_try) 2>&5
87541 ac_status=$?
87542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87543 (exit $ac_status); }; }; then
87544 eval "$as_ac_var=yes"
87545 else
87546 echo "$as_me: failed program was:" >&5
87547 sed 's/^/| /' conftest.$ac_ext >&5
87549 eval "$as_ac_var=no"
87551 rm -f conftest.err conftest.$ac_objext \
87552 conftest$ac_exeext conftest.$ac_ext
87554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87556 if test `eval echo '${'$as_ac_var'}'` = yes; then
87557 cat >>confdefs.h <<_ACEOF
87558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87559 _ACEOF
87561 else
87562 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87564 done
87568 for ac_func in __signbit
87570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87571 echo "$as_me:$LINENO: checking for $ac_func" >&5
87572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87573 if eval "test \"\${$as_ac_var+set}\" = set"; then
87574 echo $ECHO_N "(cached) $ECHO_C" >&6
87575 else
87576 if test x$gcc_no_link = xyes; then
87577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87579 { (exit 1); exit 1; }; }
87581 cat >conftest.$ac_ext <<_ACEOF
87582 /* confdefs.h. */
87583 _ACEOF
87584 cat confdefs.h >>conftest.$ac_ext
87585 cat >>conftest.$ac_ext <<_ACEOF
87586 /* end confdefs.h. */
87587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87589 #define $ac_func innocuous_$ac_func
87591 /* System header to define __stub macros and hopefully few prototypes,
87592 which can conflict with char $ac_func (); below.
87593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87594 <limits.h> exists even on freestanding compilers. */
87596 #ifdef __STDC__
87597 # include <limits.h>
87598 #else
87599 # include <assert.h>
87600 #endif
87602 #undef $ac_func
87604 /* Override any gcc2 internal prototype to avoid an error. */
87605 #ifdef __cplusplus
87606 extern "C"
87608 #endif
87609 /* We use char because int might match the return type of a gcc2
87610 builtin and then its argument prototype would still apply. */
87611 char $ac_func ();
87612 /* The GNU C library defines this for functions which it implements
87613 to always fail with ENOSYS. Some functions are actually named
87614 something starting with __ and the normal name is an alias. */
87615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87616 choke me
87617 #else
87618 char (*f) () = $ac_func;
87619 #endif
87620 #ifdef __cplusplus
87622 #endif
87625 main ()
87627 return f != $ac_func;
87629 return 0;
87631 _ACEOF
87632 rm -f conftest.$ac_objext conftest$ac_exeext
87633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87634 (eval $ac_link) 2>conftest.er1
87635 ac_status=$?
87636 grep -v '^ *+' conftest.er1 >conftest.err
87637 rm -f conftest.er1
87638 cat conftest.err >&5
87639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87640 (exit $ac_status); } &&
87641 { ac_try='test -z "$ac_c_werror_flag"
87642 || test ! -s conftest.err'
87643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87644 (eval $ac_try) 2>&5
87645 ac_status=$?
87646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87647 (exit $ac_status); }; } &&
87648 { ac_try='test -s conftest$ac_exeext'
87649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87650 (eval $ac_try) 2>&5
87651 ac_status=$?
87652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87653 (exit $ac_status); }; }; then
87654 eval "$as_ac_var=yes"
87655 else
87656 echo "$as_me: failed program was:" >&5
87657 sed 's/^/| /' conftest.$ac_ext >&5
87659 eval "$as_ac_var=no"
87661 rm -f conftest.err conftest.$ac_objext \
87662 conftest$ac_exeext conftest.$ac_ext
87664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87666 if test `eval echo '${'$as_ac_var'}'` = yes; then
87667 cat >>confdefs.h <<_ACEOF
87668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87669 _ACEOF
87671 else
87672 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87674 done
87678 for ac_func in __signbitf
87680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87681 echo "$as_me:$LINENO: checking for $ac_func" >&5
87682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87683 if eval "test \"\${$as_ac_var+set}\" = set"; then
87684 echo $ECHO_N "(cached) $ECHO_C" >&6
87685 else
87686 if test x$gcc_no_link = xyes; then
87687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87689 { (exit 1); exit 1; }; }
87691 cat >conftest.$ac_ext <<_ACEOF
87692 /* confdefs.h. */
87693 _ACEOF
87694 cat confdefs.h >>conftest.$ac_ext
87695 cat >>conftest.$ac_ext <<_ACEOF
87696 /* end confdefs.h. */
87697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87699 #define $ac_func innocuous_$ac_func
87701 /* System header to define __stub macros and hopefully few prototypes,
87702 which can conflict with char $ac_func (); below.
87703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87704 <limits.h> exists even on freestanding compilers. */
87706 #ifdef __STDC__
87707 # include <limits.h>
87708 #else
87709 # include <assert.h>
87710 #endif
87712 #undef $ac_func
87714 /* Override any gcc2 internal prototype to avoid an error. */
87715 #ifdef __cplusplus
87716 extern "C"
87718 #endif
87719 /* We use char because int might match the return type of a gcc2
87720 builtin and then its argument prototype would still apply. */
87721 char $ac_func ();
87722 /* The GNU C library defines this for functions which it implements
87723 to always fail with ENOSYS. Some functions are actually named
87724 something starting with __ and the normal name is an alias. */
87725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87726 choke me
87727 #else
87728 char (*f) () = $ac_func;
87729 #endif
87730 #ifdef __cplusplus
87732 #endif
87735 main ()
87737 return f != $ac_func;
87739 return 0;
87741 _ACEOF
87742 rm -f conftest.$ac_objext conftest$ac_exeext
87743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87744 (eval $ac_link) 2>conftest.er1
87745 ac_status=$?
87746 grep -v '^ *+' conftest.er1 >conftest.err
87747 rm -f conftest.er1
87748 cat conftest.err >&5
87749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87750 (exit $ac_status); } &&
87751 { ac_try='test -z "$ac_c_werror_flag"
87752 || test ! -s conftest.err'
87753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87754 (eval $ac_try) 2>&5
87755 ac_status=$?
87756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87757 (exit $ac_status); }; } &&
87758 { ac_try='test -s conftest$ac_exeext'
87759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87760 (eval $ac_try) 2>&5
87761 ac_status=$?
87762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87763 (exit $ac_status); }; }; then
87764 eval "$as_ac_var=yes"
87765 else
87766 echo "$as_me: failed program was:" >&5
87767 sed 's/^/| /' conftest.$ac_ext >&5
87769 eval "$as_ac_var=no"
87771 rm -f conftest.err conftest.$ac_objext \
87772 conftest$ac_exeext conftest.$ac_ext
87774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87776 if test `eval echo '${'$as_ac_var'}'` = yes; then
87777 cat >>confdefs.h <<_ACEOF
87778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87779 _ACEOF
87781 else
87782 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87784 done
87787 if test x$ac_cv_func_copysignl = x"yes"; then
87789 for ac_func in __signbitl
87791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87792 echo "$as_me:$LINENO: checking for $ac_func" >&5
87793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87794 if eval "test \"\${$as_ac_var+set}\" = set"; then
87795 echo $ECHO_N "(cached) $ECHO_C" >&6
87796 else
87797 if test x$gcc_no_link = xyes; then
87798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87800 { (exit 1); exit 1; }; }
87802 cat >conftest.$ac_ext <<_ACEOF
87803 /* confdefs.h. */
87804 _ACEOF
87805 cat confdefs.h >>conftest.$ac_ext
87806 cat >>conftest.$ac_ext <<_ACEOF
87807 /* end confdefs.h. */
87808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87810 #define $ac_func innocuous_$ac_func
87812 /* System header to define __stub macros and hopefully few prototypes,
87813 which can conflict with char $ac_func (); below.
87814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87815 <limits.h> exists even on freestanding compilers. */
87817 #ifdef __STDC__
87818 # include <limits.h>
87819 #else
87820 # include <assert.h>
87821 #endif
87823 #undef $ac_func
87825 /* Override any gcc2 internal prototype to avoid an error. */
87826 #ifdef __cplusplus
87827 extern "C"
87829 #endif
87830 /* We use char because int might match the return type of a gcc2
87831 builtin and then its argument prototype would still apply. */
87832 char $ac_func ();
87833 /* The GNU C library defines this for functions which it implements
87834 to always fail with ENOSYS. Some functions are actually named
87835 something starting with __ and the normal name is an alias. */
87836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87837 choke me
87838 #else
87839 char (*f) () = $ac_func;
87840 #endif
87841 #ifdef __cplusplus
87843 #endif
87846 main ()
87848 return f != $ac_func;
87850 return 0;
87852 _ACEOF
87853 rm -f conftest.$ac_objext conftest$ac_exeext
87854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87855 (eval $ac_link) 2>conftest.er1
87856 ac_status=$?
87857 grep -v '^ *+' conftest.er1 >conftest.err
87858 rm -f conftest.er1
87859 cat conftest.err >&5
87860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87861 (exit $ac_status); } &&
87862 { ac_try='test -z "$ac_c_werror_flag"
87863 || test ! -s conftest.err'
87864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87865 (eval $ac_try) 2>&5
87866 ac_status=$?
87867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87868 (exit $ac_status); }; } &&
87869 { ac_try='test -s conftest$ac_exeext'
87870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87871 (eval $ac_try) 2>&5
87872 ac_status=$?
87873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87874 (exit $ac_status); }; }; then
87875 eval "$as_ac_var=yes"
87876 else
87877 echo "$as_me: failed program was:" >&5
87878 sed 's/^/| /' conftest.$ac_ext >&5
87880 eval "$as_ac_var=no"
87882 rm -f conftest.err conftest.$ac_objext \
87883 conftest$ac_exeext conftest.$ac_ext
87885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87887 if test `eval echo '${'$as_ac_var'}'` = yes; then
87888 cat >>confdefs.h <<_ACEOF
87889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87890 _ACEOF
87892 else
87893 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87895 done
87899 # Used in libmath/Makefile.am.
87900 if test -n "$LIBMATHOBJS"; then
87901 need_libmath=yes
87906 # Test wchar.h for mbstate_t, which is needed for char_traits and
87907 # others even if wchar_t support is not on.
87908 echo "$as_me:$LINENO: checking for mbstate_t" >&5
87909 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87910 cat >conftest.$ac_ext <<_ACEOF
87911 /* confdefs.h. */
87912 _ACEOF
87913 cat confdefs.h >>conftest.$ac_ext
87914 cat >>conftest.$ac_ext <<_ACEOF
87915 /* end confdefs.h. */
87916 #include <wchar.h>
87918 main ()
87920 mbstate_t teststate;
87922 return 0;
87924 _ACEOF
87925 rm -f conftest.$ac_objext
87926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87927 (eval $ac_compile) 2>conftest.er1
87928 ac_status=$?
87929 grep -v '^ *+' conftest.er1 >conftest.err
87930 rm -f conftest.er1
87931 cat conftest.err >&5
87932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87933 (exit $ac_status); } &&
87934 { ac_try='test -z "$ac_c_werror_flag"
87935 || test ! -s conftest.err'
87936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87937 (eval $ac_try) 2>&5
87938 ac_status=$?
87939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87940 (exit $ac_status); }; } &&
87941 { ac_try='test -s conftest.$ac_objext'
87942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87943 (eval $ac_try) 2>&5
87944 ac_status=$?
87945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87946 (exit $ac_status); }; }; then
87947 have_mbstate_t=yes
87948 else
87949 echo "$as_me: failed program was:" >&5
87950 sed 's/^/| /' conftest.$ac_ext >&5
87952 have_mbstate_t=no
87954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87955 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87956 echo "${ECHO_T}$have_mbstate_t" >&6
87957 if test x"$have_mbstate_t" = xyes; then
87958 cat >>confdefs.h <<\_ACEOF
87959 #define HAVE_MBSTATE_T 1
87960 _ACEOF
87964 # Sanity check for existence of ISO C99 headers for extended encoding.
87966 for ac_header in wchar.h
87968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87970 echo "$as_me:$LINENO: checking for $ac_header" >&5
87971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87973 echo $ECHO_N "(cached) $ECHO_C" >&6
87975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87977 else
87978 # Is the header compilable?
87979 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87980 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87981 cat >conftest.$ac_ext <<_ACEOF
87982 /* confdefs.h. */
87983 _ACEOF
87984 cat confdefs.h >>conftest.$ac_ext
87985 cat >>conftest.$ac_ext <<_ACEOF
87986 /* end confdefs.h. */
87987 $ac_includes_default
87988 #include <$ac_header>
87989 _ACEOF
87990 rm -f conftest.$ac_objext
87991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87992 (eval $ac_compile) 2>conftest.er1
87993 ac_status=$?
87994 grep -v '^ *+' conftest.er1 >conftest.err
87995 rm -f conftest.er1
87996 cat conftest.err >&5
87997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87998 (exit $ac_status); } &&
87999 { ac_try='test -z "$ac_c_werror_flag"
88000 || test ! -s conftest.err'
88001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88002 (eval $ac_try) 2>&5
88003 ac_status=$?
88004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88005 (exit $ac_status); }; } &&
88006 { ac_try='test -s conftest.$ac_objext'
88007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88008 (eval $ac_try) 2>&5
88009 ac_status=$?
88010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88011 (exit $ac_status); }; }; then
88012 ac_header_compiler=yes
88013 else
88014 echo "$as_me: failed program was:" >&5
88015 sed 's/^/| /' conftest.$ac_ext >&5
88017 ac_header_compiler=no
88019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88021 echo "${ECHO_T}$ac_header_compiler" >&6
88023 # Is the header present?
88024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88026 cat >conftest.$ac_ext <<_ACEOF
88027 /* confdefs.h. */
88028 _ACEOF
88029 cat confdefs.h >>conftest.$ac_ext
88030 cat >>conftest.$ac_ext <<_ACEOF
88031 /* end confdefs.h. */
88032 #include <$ac_header>
88033 _ACEOF
88034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88036 ac_status=$?
88037 grep -v '^ *+' conftest.er1 >conftest.err
88038 rm -f conftest.er1
88039 cat conftest.err >&5
88040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88041 (exit $ac_status); } >/dev/null; then
88042 if test -s conftest.err; then
88043 ac_cpp_err=$ac_c_preproc_warn_flag
88044 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88045 else
88046 ac_cpp_err=
88048 else
88049 ac_cpp_err=yes
88051 if test -z "$ac_cpp_err"; then
88052 ac_header_preproc=yes
88053 else
88054 echo "$as_me: failed program was:" >&5
88055 sed 's/^/| /' conftest.$ac_ext >&5
88057 ac_header_preproc=no
88059 rm -f conftest.err conftest.$ac_ext
88060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88061 echo "${ECHO_T}$ac_header_preproc" >&6
88063 # So? What about this header?
88064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88065 yes:no: )
88066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88069 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88070 ac_header_preproc=yes
88072 no:yes:* )
88073 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88074 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88075 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88076 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88077 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88078 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88079 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88080 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88083 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88086 cat <<\_ASBOX
88087 ## ----------------------------------------- ##
88088 ## Report this to the package-unused lists. ##
88089 ## ----------------------------------------- ##
88090 _ASBOX
88092 sed "s/^/$as_me: WARNING: /" >&2
88094 esac
88095 echo "$as_me:$LINENO: checking for $ac_header" >&5
88096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88098 echo $ECHO_N "(cached) $ECHO_C" >&6
88099 else
88100 eval "$as_ac_Header=\$ac_header_preproc"
88102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88107 cat >>confdefs.h <<_ACEOF
88108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88109 _ACEOF
88110 ac_has_wchar_h=yes
88111 else
88112 ac_has_wchar_h=no
88115 done
88118 for ac_header in wctype.h
88120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88122 echo "$as_me:$LINENO: checking for $ac_header" >&5
88123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88125 echo $ECHO_N "(cached) $ECHO_C" >&6
88127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88129 else
88130 # Is the header compilable?
88131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88133 cat >conftest.$ac_ext <<_ACEOF
88134 /* confdefs.h. */
88135 _ACEOF
88136 cat confdefs.h >>conftest.$ac_ext
88137 cat >>conftest.$ac_ext <<_ACEOF
88138 /* end confdefs.h. */
88139 $ac_includes_default
88140 #include <$ac_header>
88141 _ACEOF
88142 rm -f conftest.$ac_objext
88143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88144 (eval $ac_compile) 2>conftest.er1
88145 ac_status=$?
88146 grep -v '^ *+' conftest.er1 >conftest.err
88147 rm -f conftest.er1
88148 cat conftest.err >&5
88149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88150 (exit $ac_status); } &&
88151 { ac_try='test -z "$ac_c_werror_flag"
88152 || test ! -s conftest.err'
88153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88154 (eval $ac_try) 2>&5
88155 ac_status=$?
88156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88157 (exit $ac_status); }; } &&
88158 { ac_try='test -s conftest.$ac_objext'
88159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88160 (eval $ac_try) 2>&5
88161 ac_status=$?
88162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88163 (exit $ac_status); }; }; then
88164 ac_header_compiler=yes
88165 else
88166 echo "$as_me: failed program was:" >&5
88167 sed 's/^/| /' conftest.$ac_ext >&5
88169 ac_header_compiler=no
88171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88173 echo "${ECHO_T}$ac_header_compiler" >&6
88175 # Is the header present?
88176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88178 cat >conftest.$ac_ext <<_ACEOF
88179 /* confdefs.h. */
88180 _ACEOF
88181 cat confdefs.h >>conftest.$ac_ext
88182 cat >>conftest.$ac_ext <<_ACEOF
88183 /* end confdefs.h. */
88184 #include <$ac_header>
88185 _ACEOF
88186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88187 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88188 ac_status=$?
88189 grep -v '^ *+' conftest.er1 >conftest.err
88190 rm -f conftest.er1
88191 cat conftest.err >&5
88192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88193 (exit $ac_status); } >/dev/null; then
88194 if test -s conftest.err; then
88195 ac_cpp_err=$ac_c_preproc_warn_flag
88196 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88197 else
88198 ac_cpp_err=
88200 else
88201 ac_cpp_err=yes
88203 if test -z "$ac_cpp_err"; then
88204 ac_header_preproc=yes
88205 else
88206 echo "$as_me: failed program was:" >&5
88207 sed 's/^/| /' conftest.$ac_ext >&5
88209 ac_header_preproc=no
88211 rm -f conftest.err conftest.$ac_ext
88212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88213 echo "${ECHO_T}$ac_header_preproc" >&6
88215 # So? What about this header?
88216 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88217 yes:no: )
88218 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88221 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88222 ac_header_preproc=yes
88224 no:yes:* )
88225 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88226 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88227 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88228 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88229 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88230 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88231 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88232 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88235 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88236 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88238 cat <<\_ASBOX
88239 ## ----------------------------------------- ##
88240 ## Report this to the package-unused lists. ##
88241 ## ----------------------------------------- ##
88242 _ASBOX
88244 sed "s/^/$as_me: WARNING: /" >&2
88246 esac
88247 echo "$as_me:$LINENO: checking for $ac_header" >&5
88248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88250 echo $ECHO_N "(cached) $ECHO_C" >&6
88251 else
88252 eval "$as_ac_Header=\$ac_header_preproc"
88254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88259 cat >>confdefs.h <<_ACEOF
88260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88261 _ACEOF
88262 ac_has_wctype_h=yes
88263 else
88264 ac_has_wctype_h=no
88267 done
88270 # Only continue checking if the ISO C99 headers exist and support is on.
88271 if test x"$ac_has_wchar_h" = xyes &&
88272 test x"$ac_has_wctype_h" = xyes &&
88273 test x"$enable_c_mbchar" != xno; then
88275 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88276 # numeric_limits can instantiate type_traits<wchar_t>
88277 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88278 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88279 cat >conftest.$ac_ext <<_ACEOF
88280 /* confdefs.h. */
88281 _ACEOF
88282 cat confdefs.h >>conftest.$ac_ext
88283 cat >>conftest.$ac_ext <<_ACEOF
88284 /* end confdefs.h. */
88285 #include <wchar.h>
88287 main ()
88289 int i = WCHAR_MIN; int j = WCHAR_MAX;
88291 return 0;
88293 _ACEOF
88294 rm -f conftest.$ac_objext
88295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88296 (eval $ac_compile) 2>conftest.er1
88297 ac_status=$?
88298 grep -v '^ *+' conftest.er1 >conftest.err
88299 rm -f conftest.er1
88300 cat conftest.err >&5
88301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88302 (exit $ac_status); } &&
88303 { ac_try='test -z "$ac_c_werror_flag"
88304 || test ! -s conftest.err'
88305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88306 (eval $ac_try) 2>&5
88307 ac_status=$?
88308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88309 (exit $ac_status); }; } &&
88310 { ac_try='test -s conftest.$ac_objext'
88311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88312 (eval $ac_try) 2>&5
88313 ac_status=$?
88314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88315 (exit $ac_status); }; }; then
88316 has_wchar_minmax=yes
88317 else
88318 echo "$as_me: failed program was:" >&5
88319 sed 's/^/| /' conftest.$ac_ext >&5
88321 has_wchar_minmax=no
88323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88324 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88325 echo "${ECHO_T}$has_wchar_minmax" >&6
88327 # Test wchar.h for WEOF, which is what we use to determine whether
88328 # to specialize for char_traits<wchar_t> or not.
88329 echo "$as_me:$LINENO: checking for WEOF" >&5
88330 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88331 cat >conftest.$ac_ext <<_ACEOF
88332 /* confdefs.h. */
88333 _ACEOF
88334 cat confdefs.h >>conftest.$ac_ext
88335 cat >>conftest.$ac_ext <<_ACEOF
88336 /* end confdefs.h. */
88338 #include <wchar.h>
88339 #include <stddef.h>
88341 main ()
88343 wint_t i = WEOF;
88345 return 0;
88347 _ACEOF
88348 rm -f conftest.$ac_objext
88349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88350 (eval $ac_compile) 2>conftest.er1
88351 ac_status=$?
88352 grep -v '^ *+' conftest.er1 >conftest.err
88353 rm -f conftest.er1
88354 cat conftest.err >&5
88355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88356 (exit $ac_status); } &&
88357 { ac_try='test -z "$ac_c_werror_flag"
88358 || test ! -s conftest.err'
88359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88360 (eval $ac_try) 2>&5
88361 ac_status=$?
88362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88363 (exit $ac_status); }; } &&
88364 { ac_try='test -s conftest.$ac_objext'
88365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88366 (eval $ac_try) 2>&5
88367 ac_status=$?
88368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88369 (exit $ac_status); }; }; then
88370 has_weof=yes
88371 else
88372 echo "$as_me: failed program was:" >&5
88373 sed 's/^/| /' conftest.$ac_ext >&5
88375 has_weof=no
88377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88378 echo "$as_me:$LINENO: result: $has_weof" >&5
88379 echo "${ECHO_T}$has_weof" >&6
88381 # Tests for wide character functions used in char_traits<wchar_t>.
88382 ac_wfuncs=yes
88389 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
88391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88392 echo "$as_me:$LINENO: checking for $ac_func" >&5
88393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88394 if eval "test \"\${$as_ac_var+set}\" = set"; then
88395 echo $ECHO_N "(cached) $ECHO_C" >&6
88396 else
88397 if test x$gcc_no_link = xyes; then
88398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88400 { (exit 1); exit 1; }; }
88402 cat >conftest.$ac_ext <<_ACEOF
88403 /* confdefs.h. */
88404 _ACEOF
88405 cat confdefs.h >>conftest.$ac_ext
88406 cat >>conftest.$ac_ext <<_ACEOF
88407 /* end confdefs.h. */
88408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88410 #define $ac_func innocuous_$ac_func
88412 /* System header to define __stub macros and hopefully few prototypes,
88413 which can conflict with char $ac_func (); below.
88414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88415 <limits.h> exists even on freestanding compilers. */
88417 #ifdef __STDC__
88418 # include <limits.h>
88419 #else
88420 # include <assert.h>
88421 #endif
88423 #undef $ac_func
88425 /* Override any gcc2 internal prototype to avoid an error. */
88426 #ifdef __cplusplus
88427 extern "C"
88429 #endif
88430 /* We use char because int might match the return type of a gcc2
88431 builtin and then its argument prototype would still apply. */
88432 char $ac_func ();
88433 /* The GNU C library defines this for functions which it implements
88434 to always fail with ENOSYS. Some functions are actually named
88435 something starting with __ and the normal name is an alias. */
88436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88437 choke me
88438 #else
88439 char (*f) () = $ac_func;
88440 #endif
88441 #ifdef __cplusplus
88443 #endif
88446 main ()
88448 return f != $ac_func;
88450 return 0;
88452 _ACEOF
88453 rm -f conftest.$ac_objext conftest$ac_exeext
88454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88455 (eval $ac_link) 2>conftest.er1
88456 ac_status=$?
88457 grep -v '^ *+' conftest.er1 >conftest.err
88458 rm -f conftest.er1
88459 cat conftest.err >&5
88460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88461 (exit $ac_status); } &&
88462 { ac_try='test -z "$ac_c_werror_flag"
88463 || test ! -s conftest.err'
88464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88465 (eval $ac_try) 2>&5
88466 ac_status=$?
88467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88468 (exit $ac_status); }; } &&
88469 { ac_try='test -s conftest$ac_exeext'
88470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88471 (eval $ac_try) 2>&5
88472 ac_status=$?
88473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88474 (exit $ac_status); }; }; then
88475 eval "$as_ac_var=yes"
88476 else
88477 echo "$as_me: failed program was:" >&5
88478 sed 's/^/| /' conftest.$ac_ext >&5
88480 eval "$as_ac_var=no"
88482 rm -f conftest.err conftest.$ac_objext \
88483 conftest$ac_exeext conftest.$ac_ext
88485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88487 if test `eval echo '${'$as_ac_var'}'` = yes; then
88488 cat >>confdefs.h <<_ACEOF
88489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88490 _ACEOF
88492 else
88493 ac_wfuncs=no
88495 done
88498 # Checks for names injected into std:: by the c_std headers.
88545 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88546 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88547 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88548 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88549 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88550 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88553 echo "$as_me:$LINENO: checking for $ac_func" >&5
88554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88555 if eval "test \"\${$as_ac_var+set}\" = set"; then
88556 echo $ECHO_N "(cached) $ECHO_C" >&6
88557 else
88558 if test x$gcc_no_link = xyes; then
88559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88561 { (exit 1); exit 1; }; }
88563 cat >conftest.$ac_ext <<_ACEOF
88564 /* confdefs.h. */
88565 _ACEOF
88566 cat confdefs.h >>conftest.$ac_ext
88567 cat >>conftest.$ac_ext <<_ACEOF
88568 /* end confdefs.h. */
88569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88571 #define $ac_func innocuous_$ac_func
88573 /* System header to define __stub macros and hopefully few prototypes,
88574 which can conflict with char $ac_func (); below.
88575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88576 <limits.h> exists even on freestanding compilers. */
88578 #ifdef __STDC__
88579 # include <limits.h>
88580 #else
88581 # include <assert.h>
88582 #endif
88584 #undef $ac_func
88586 /* Override any gcc2 internal prototype to avoid an error. */
88587 #ifdef __cplusplus
88588 extern "C"
88590 #endif
88591 /* We use char because int might match the return type of a gcc2
88592 builtin and then its argument prototype would still apply. */
88593 char $ac_func ();
88594 /* The GNU C library defines this for functions which it implements
88595 to always fail with ENOSYS. Some functions are actually named
88596 something starting with __ and the normal name is an alias. */
88597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88598 choke me
88599 #else
88600 char (*f) () = $ac_func;
88601 #endif
88602 #ifdef __cplusplus
88604 #endif
88607 main ()
88609 return f != $ac_func;
88611 return 0;
88613 _ACEOF
88614 rm -f conftest.$ac_objext conftest$ac_exeext
88615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88616 (eval $ac_link) 2>conftest.er1
88617 ac_status=$?
88618 grep -v '^ *+' conftest.er1 >conftest.err
88619 rm -f conftest.er1
88620 cat conftest.err >&5
88621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88622 (exit $ac_status); } &&
88623 { ac_try='test -z "$ac_c_werror_flag"
88624 || test ! -s conftest.err'
88625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88626 (eval $ac_try) 2>&5
88627 ac_status=$?
88628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88629 (exit $ac_status); }; } &&
88630 { ac_try='test -s conftest$ac_exeext'
88631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88632 (eval $ac_try) 2>&5
88633 ac_status=$?
88634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88635 (exit $ac_status); }; }; then
88636 eval "$as_ac_var=yes"
88637 else
88638 echo "$as_me: failed program was:" >&5
88639 sed 's/^/| /' conftest.$ac_ext >&5
88641 eval "$as_ac_var=no"
88643 rm -f conftest.err conftest.$ac_objext \
88644 conftest$ac_exeext conftest.$ac_ext
88646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88648 if test `eval echo '${'$as_ac_var'}'` = yes; then
88649 cat >>confdefs.h <<_ACEOF
88650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88651 _ACEOF
88653 else
88654 ac_wfuncs=no
88656 done
88659 # Checks for wide character functions that are not required
88660 # for basic wchar_t support. Don't disable support if they are missing.
88661 # Injection of these is wrapped with guard macros.
88667 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88670 echo "$as_me:$LINENO: checking for $ac_func" >&5
88671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88672 if eval "test \"\${$as_ac_var+set}\" = set"; then
88673 echo $ECHO_N "(cached) $ECHO_C" >&6
88674 else
88675 if test x$gcc_no_link = xyes; then
88676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88678 { (exit 1); exit 1; }; }
88680 cat >conftest.$ac_ext <<_ACEOF
88681 /* confdefs.h. */
88682 _ACEOF
88683 cat confdefs.h >>conftest.$ac_ext
88684 cat >>conftest.$ac_ext <<_ACEOF
88685 /* end confdefs.h. */
88686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88688 #define $ac_func innocuous_$ac_func
88690 /* System header to define __stub macros and hopefully few prototypes,
88691 which can conflict with char $ac_func (); below.
88692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88693 <limits.h> exists even on freestanding compilers. */
88695 #ifdef __STDC__
88696 # include <limits.h>
88697 #else
88698 # include <assert.h>
88699 #endif
88701 #undef $ac_func
88703 /* Override any gcc2 internal prototype to avoid an error. */
88704 #ifdef __cplusplus
88705 extern "C"
88707 #endif
88708 /* We use char because int might match the return type of a gcc2
88709 builtin and then its argument prototype would still apply. */
88710 char $ac_func ();
88711 /* The GNU C library defines this for functions which it implements
88712 to always fail with ENOSYS. Some functions are actually named
88713 something starting with __ and the normal name is an alias. */
88714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88715 choke me
88716 #else
88717 char (*f) () = $ac_func;
88718 #endif
88719 #ifdef __cplusplus
88721 #endif
88724 main ()
88726 return f != $ac_func;
88728 return 0;
88730 _ACEOF
88731 rm -f conftest.$ac_objext conftest$ac_exeext
88732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88733 (eval $ac_link) 2>conftest.er1
88734 ac_status=$?
88735 grep -v '^ *+' conftest.er1 >conftest.err
88736 rm -f conftest.er1
88737 cat conftest.err >&5
88738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88739 (exit $ac_status); } &&
88740 { ac_try='test -z "$ac_c_werror_flag"
88741 || test ! -s conftest.err'
88742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88743 (eval $ac_try) 2>&5
88744 ac_status=$?
88745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88746 (exit $ac_status); }; } &&
88747 { ac_try='test -s conftest$ac_exeext'
88748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88749 (eval $ac_try) 2>&5
88750 ac_status=$?
88751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88752 (exit $ac_status); }; }; then
88753 eval "$as_ac_var=yes"
88754 else
88755 echo "$as_me: failed program was:" >&5
88756 sed 's/^/| /' conftest.$ac_ext >&5
88758 eval "$as_ac_var=no"
88760 rm -f conftest.err conftest.$ac_objext \
88761 conftest$ac_exeext conftest.$ac_ext
88763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88765 if test `eval echo '${'$as_ac_var'}'` = yes; then
88766 cat >>confdefs.h <<_ACEOF
88767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88768 _ACEOF
88771 done
88774 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88775 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88776 if test x"$has_weof" = xyes &&
88777 test x"$has_wchar_minmax" = xyes &&
88778 test x"$ac_wfuncs" = xyes;
88779 then
88780 ac_isoC99_wchar_t=yes
88781 else
88782 ac_isoC99_wchar_t=no
88784 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88785 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88787 # Use iconv for wchar_t to char conversions. As such, check for
88788 # X/Open Portability Guide, version 2 features (XPG2).
88789 if test "${ac_cv_header_iconv_h+set}" = set; then
88790 echo "$as_me:$LINENO: checking for iconv.h" >&5
88791 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88792 if test "${ac_cv_header_iconv_h+set}" = set; then
88793 echo $ECHO_N "(cached) $ECHO_C" >&6
88795 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88796 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88797 else
88798 # Is the header compilable?
88799 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88800 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88801 cat >conftest.$ac_ext <<_ACEOF
88802 /* confdefs.h. */
88803 _ACEOF
88804 cat confdefs.h >>conftest.$ac_ext
88805 cat >>conftest.$ac_ext <<_ACEOF
88806 /* end confdefs.h. */
88807 $ac_includes_default
88808 #include <iconv.h>
88809 _ACEOF
88810 rm -f conftest.$ac_objext
88811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88812 (eval $ac_compile) 2>conftest.er1
88813 ac_status=$?
88814 grep -v '^ *+' conftest.er1 >conftest.err
88815 rm -f conftest.er1
88816 cat conftest.err >&5
88817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88818 (exit $ac_status); } &&
88819 { ac_try='test -z "$ac_c_werror_flag"
88820 || test ! -s conftest.err'
88821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88822 (eval $ac_try) 2>&5
88823 ac_status=$?
88824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88825 (exit $ac_status); }; } &&
88826 { ac_try='test -s conftest.$ac_objext'
88827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88828 (eval $ac_try) 2>&5
88829 ac_status=$?
88830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88831 (exit $ac_status); }; }; then
88832 ac_header_compiler=yes
88833 else
88834 echo "$as_me: failed program was:" >&5
88835 sed 's/^/| /' conftest.$ac_ext >&5
88837 ac_header_compiler=no
88839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88840 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88841 echo "${ECHO_T}$ac_header_compiler" >&6
88843 # Is the header present?
88844 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88845 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88846 cat >conftest.$ac_ext <<_ACEOF
88847 /* confdefs.h. */
88848 _ACEOF
88849 cat confdefs.h >>conftest.$ac_ext
88850 cat >>conftest.$ac_ext <<_ACEOF
88851 /* end confdefs.h. */
88852 #include <iconv.h>
88853 _ACEOF
88854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88855 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88856 ac_status=$?
88857 grep -v '^ *+' conftest.er1 >conftest.err
88858 rm -f conftest.er1
88859 cat conftest.err >&5
88860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88861 (exit $ac_status); } >/dev/null; then
88862 if test -s conftest.err; then
88863 ac_cpp_err=$ac_c_preproc_warn_flag
88864 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88865 else
88866 ac_cpp_err=
88868 else
88869 ac_cpp_err=yes
88871 if test -z "$ac_cpp_err"; then
88872 ac_header_preproc=yes
88873 else
88874 echo "$as_me: failed program was:" >&5
88875 sed 's/^/| /' conftest.$ac_ext >&5
88877 ac_header_preproc=no
88879 rm -f conftest.err conftest.$ac_ext
88880 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88881 echo "${ECHO_T}$ac_header_preproc" >&6
88883 # So? What about this header?
88884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88885 yes:no: )
88886 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88887 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88888 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88889 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88890 ac_header_preproc=yes
88892 no:yes:* )
88893 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88894 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88895 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
88896 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
88897 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88898 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88899 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
88900 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
88901 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88902 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88903 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88904 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88906 cat <<\_ASBOX
88907 ## ----------------------------------------- ##
88908 ## Report this to the package-unused lists. ##
88909 ## ----------------------------------------- ##
88910 _ASBOX
88912 sed "s/^/$as_me: WARNING: /" >&2
88914 esac
88915 echo "$as_me:$LINENO: checking for iconv.h" >&5
88916 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88917 if test "${ac_cv_header_iconv_h+set}" = set; then
88918 echo $ECHO_N "(cached) $ECHO_C" >&6
88919 else
88920 ac_cv_header_iconv_h=$ac_header_preproc
88922 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88923 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88926 if test $ac_cv_header_iconv_h = yes; then
88927 ac_has_iconv_h=yes
88928 else
88929 ac_has_iconv_h=no
88933 if test "${ac_cv_header_langinfo_h+set}" = set; then
88934 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88935 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88936 if test "${ac_cv_header_langinfo_h+set}" = set; then
88937 echo $ECHO_N "(cached) $ECHO_C" >&6
88939 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88940 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88941 else
88942 # Is the header compilable?
88943 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88944 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88945 cat >conftest.$ac_ext <<_ACEOF
88946 /* confdefs.h. */
88947 _ACEOF
88948 cat confdefs.h >>conftest.$ac_ext
88949 cat >>conftest.$ac_ext <<_ACEOF
88950 /* end confdefs.h. */
88951 $ac_includes_default
88952 #include <langinfo.h>
88953 _ACEOF
88954 rm -f conftest.$ac_objext
88955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88956 (eval $ac_compile) 2>conftest.er1
88957 ac_status=$?
88958 grep -v '^ *+' conftest.er1 >conftest.err
88959 rm -f conftest.er1
88960 cat conftest.err >&5
88961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88962 (exit $ac_status); } &&
88963 { ac_try='test -z "$ac_c_werror_flag"
88964 || test ! -s conftest.err'
88965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88966 (eval $ac_try) 2>&5
88967 ac_status=$?
88968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88969 (exit $ac_status); }; } &&
88970 { ac_try='test -s conftest.$ac_objext'
88971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88972 (eval $ac_try) 2>&5
88973 ac_status=$?
88974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88975 (exit $ac_status); }; }; then
88976 ac_header_compiler=yes
88977 else
88978 echo "$as_me: failed program was:" >&5
88979 sed 's/^/| /' conftest.$ac_ext >&5
88981 ac_header_compiler=no
88983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88985 echo "${ECHO_T}$ac_header_compiler" >&6
88987 # Is the header present?
88988 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
88989 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
88990 cat >conftest.$ac_ext <<_ACEOF
88991 /* confdefs.h. */
88992 _ACEOF
88993 cat confdefs.h >>conftest.$ac_ext
88994 cat >>conftest.$ac_ext <<_ACEOF
88995 /* end confdefs.h. */
88996 #include <langinfo.h>
88997 _ACEOF
88998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89000 ac_status=$?
89001 grep -v '^ *+' conftest.er1 >conftest.err
89002 rm -f conftest.er1
89003 cat conftest.err >&5
89004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89005 (exit $ac_status); } >/dev/null; then
89006 if test -s conftest.err; then
89007 ac_cpp_err=$ac_c_preproc_warn_flag
89008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89009 else
89010 ac_cpp_err=
89012 else
89013 ac_cpp_err=yes
89015 if test -z "$ac_cpp_err"; then
89016 ac_header_preproc=yes
89017 else
89018 echo "$as_me: failed program was:" >&5
89019 sed 's/^/| /' conftest.$ac_ext >&5
89021 ac_header_preproc=no
89023 rm -f conftest.err conftest.$ac_ext
89024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89025 echo "${ECHO_T}$ac_header_preproc" >&6
89027 # So? What about this header?
89028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89029 yes:no: )
89030 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
89031 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
89032 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
89033 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
89034 ac_header_preproc=yes
89036 no:yes:* )
89037 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
89038 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
89039 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
89040 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
89041 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
89042 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
89043 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
89044 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
89045 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
89046 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
89047 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
89048 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
89050 cat <<\_ASBOX
89051 ## ----------------------------------------- ##
89052 ## Report this to the package-unused lists. ##
89053 ## ----------------------------------------- ##
89054 _ASBOX
89056 sed "s/^/$as_me: WARNING: /" >&2
89058 esac
89059 echo "$as_me:$LINENO: checking for langinfo.h" >&5
89060 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
89061 if test "${ac_cv_header_langinfo_h+set}" = set; then
89062 echo $ECHO_N "(cached) $ECHO_C" >&6
89063 else
89064 ac_cv_header_langinfo_h=$ac_header_preproc
89066 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
89067 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
89070 if test $ac_cv_header_langinfo_h = yes; then
89071 ac_has_langinfo_h=yes
89072 else
89073 ac_has_langinfo_h=no
89078 # Check for existence of libiconv.a providing XPG2 wchar_t support.
89079 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
89080 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
89081 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
89082 echo $ECHO_N "(cached) $ECHO_C" >&6
89083 else
89084 ac_check_lib_save_LIBS=$LIBS
89085 LIBS="-liconv $LIBS"
89086 if test x$gcc_no_link = xyes; then
89087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89089 { (exit 1); exit 1; }; }
89091 cat >conftest.$ac_ext <<_ACEOF
89092 /* confdefs.h. */
89093 _ACEOF
89094 cat confdefs.h >>conftest.$ac_ext
89095 cat >>conftest.$ac_ext <<_ACEOF
89096 /* end confdefs.h. */
89098 /* Override any gcc2 internal prototype to avoid an error. */
89099 #ifdef __cplusplus
89100 extern "C"
89101 #endif
89102 /* We use char because int might match the return type of a gcc2
89103 builtin and then its argument prototype would still apply. */
89104 char iconv ();
89106 main ()
89108 iconv ();
89110 return 0;
89112 _ACEOF
89113 rm -f conftest.$ac_objext conftest$ac_exeext
89114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89115 (eval $ac_link) 2>conftest.er1
89116 ac_status=$?
89117 grep -v '^ *+' conftest.er1 >conftest.err
89118 rm -f conftest.er1
89119 cat conftest.err >&5
89120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89121 (exit $ac_status); } &&
89122 { ac_try='test -z "$ac_c_werror_flag"
89123 || test ! -s conftest.err'
89124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89125 (eval $ac_try) 2>&5
89126 ac_status=$?
89127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89128 (exit $ac_status); }; } &&
89129 { ac_try='test -s conftest$ac_exeext'
89130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89131 (eval $ac_try) 2>&5
89132 ac_status=$?
89133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89134 (exit $ac_status); }; }; then
89135 ac_cv_lib_iconv_iconv=yes
89136 else
89137 echo "$as_me: failed program was:" >&5
89138 sed 's/^/| /' conftest.$ac_ext >&5
89140 ac_cv_lib_iconv_iconv=no
89142 rm -f conftest.err conftest.$ac_objext \
89143 conftest$ac_exeext conftest.$ac_ext
89144 LIBS=$ac_check_lib_save_LIBS
89146 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
89147 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
89148 if test $ac_cv_lib_iconv_iconv = yes; then
89149 LIBICONV="-liconv"
89152 ac_save_LIBS="$LIBS"
89153 LIBS="$LIBS $LIBICONV"
89160 for ac_func in iconv_open iconv_close iconv nl_langinfo
89162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89163 echo "$as_me:$LINENO: checking for $ac_func" >&5
89164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89165 if eval "test \"\${$as_ac_var+set}\" = set"; then
89166 echo $ECHO_N "(cached) $ECHO_C" >&6
89167 else
89168 if test x$gcc_no_link = xyes; then
89169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89171 { (exit 1); exit 1; }; }
89173 cat >conftest.$ac_ext <<_ACEOF
89174 /* confdefs.h. */
89175 _ACEOF
89176 cat confdefs.h >>conftest.$ac_ext
89177 cat >>conftest.$ac_ext <<_ACEOF
89178 /* end confdefs.h. */
89179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89181 #define $ac_func innocuous_$ac_func
89183 /* System header to define __stub macros and hopefully few prototypes,
89184 which can conflict with char $ac_func (); below.
89185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89186 <limits.h> exists even on freestanding compilers. */
89188 #ifdef __STDC__
89189 # include <limits.h>
89190 #else
89191 # include <assert.h>
89192 #endif
89194 #undef $ac_func
89196 /* Override any gcc2 internal prototype to avoid an error. */
89197 #ifdef __cplusplus
89198 extern "C"
89200 #endif
89201 /* We use char because int might match the return type of a gcc2
89202 builtin and then its argument prototype would still apply. */
89203 char $ac_func ();
89204 /* The GNU C library defines this for functions which it implements
89205 to always fail with ENOSYS. Some functions are actually named
89206 something starting with __ and the normal name is an alias. */
89207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89208 choke me
89209 #else
89210 char (*f) () = $ac_func;
89211 #endif
89212 #ifdef __cplusplus
89214 #endif
89217 main ()
89219 return f != $ac_func;
89221 return 0;
89223 _ACEOF
89224 rm -f conftest.$ac_objext conftest$ac_exeext
89225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89226 (eval $ac_link) 2>conftest.er1
89227 ac_status=$?
89228 grep -v '^ *+' conftest.er1 >conftest.err
89229 rm -f conftest.er1
89230 cat conftest.err >&5
89231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89232 (exit $ac_status); } &&
89233 { ac_try='test -z "$ac_c_werror_flag"
89234 || test ! -s conftest.err'
89235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89236 (eval $ac_try) 2>&5
89237 ac_status=$?
89238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89239 (exit $ac_status); }; } &&
89240 { ac_try='test -s conftest$ac_exeext'
89241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89242 (eval $ac_try) 2>&5
89243 ac_status=$?
89244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89245 (exit $ac_status); }; }; then
89246 eval "$as_ac_var=yes"
89247 else
89248 echo "$as_me: failed program was:" >&5
89249 sed 's/^/| /' conftest.$ac_ext >&5
89251 eval "$as_ac_var=no"
89253 rm -f conftest.err conftest.$ac_objext \
89254 conftest$ac_exeext conftest.$ac_ext
89256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89258 if test `eval echo '${'$as_ac_var'}'` = yes; then
89259 cat >>confdefs.h <<_ACEOF
89260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89261 _ACEOF
89262 ac_XPG2funcs=yes
89263 else
89264 ac_XPG2funcs=no
89266 done
89269 LIBS="$ac_save_LIBS"
89271 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89272 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89273 if test x"$ac_has_iconv_h" = xyes &&
89274 test x"$ac_has_langinfo_h" = xyes &&
89275 test x"$ac_XPG2funcs" = xyes;
89276 then
89277 ac_XPG2_wchar_t=yes
89278 else
89279 ac_XPG2_wchar_t=no
89281 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89282 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89284 # At the moment, only enable wchar_t specializations if all the
89285 # above support is present.
89286 if test x"$ac_isoC99_wchar_t" = xyes &&
89287 test x"$ac_XPG2_wchar_t" = xyes;
89288 then
89289 cat >>confdefs.h <<\_ACEOF
89290 #define _GLIBCXX_USE_WCHAR_T 1
89291 _ACEOF
89293 enable_wchar_t=yes
89296 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89297 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89298 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89299 echo "${ECHO_T}$enable_wchar_t" >&6
89302 # For showmanyc_helper().
89305 for ac_header in sys/ioctl.h sys/filio.h
89307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89309 echo "$as_me:$LINENO: checking for $ac_header" >&5
89310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89312 echo $ECHO_N "(cached) $ECHO_C" >&6
89314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89316 else
89317 # Is the header compilable?
89318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89320 cat >conftest.$ac_ext <<_ACEOF
89321 /* confdefs.h. */
89322 _ACEOF
89323 cat confdefs.h >>conftest.$ac_ext
89324 cat >>conftest.$ac_ext <<_ACEOF
89325 /* end confdefs.h. */
89326 $ac_includes_default
89327 #include <$ac_header>
89328 _ACEOF
89329 rm -f conftest.$ac_objext
89330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89331 (eval $ac_compile) 2>conftest.er1
89332 ac_status=$?
89333 grep -v '^ *+' conftest.er1 >conftest.err
89334 rm -f conftest.er1
89335 cat conftest.err >&5
89336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89337 (exit $ac_status); } &&
89338 { ac_try='test -z "$ac_c_werror_flag"
89339 || test ! -s conftest.err'
89340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89341 (eval $ac_try) 2>&5
89342 ac_status=$?
89343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89344 (exit $ac_status); }; } &&
89345 { ac_try='test -s conftest.$ac_objext'
89346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89347 (eval $ac_try) 2>&5
89348 ac_status=$?
89349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89350 (exit $ac_status); }; }; then
89351 ac_header_compiler=yes
89352 else
89353 echo "$as_me: failed program was:" >&5
89354 sed 's/^/| /' conftest.$ac_ext >&5
89356 ac_header_compiler=no
89358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89360 echo "${ECHO_T}$ac_header_compiler" >&6
89362 # Is the header present?
89363 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89365 cat >conftest.$ac_ext <<_ACEOF
89366 /* confdefs.h. */
89367 _ACEOF
89368 cat confdefs.h >>conftest.$ac_ext
89369 cat >>conftest.$ac_ext <<_ACEOF
89370 /* end confdefs.h. */
89371 #include <$ac_header>
89372 _ACEOF
89373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89375 ac_status=$?
89376 grep -v '^ *+' conftest.er1 >conftest.err
89377 rm -f conftest.er1
89378 cat conftest.err >&5
89379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89380 (exit $ac_status); } >/dev/null; then
89381 if test -s conftest.err; then
89382 ac_cpp_err=$ac_c_preproc_warn_flag
89383 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89384 else
89385 ac_cpp_err=
89387 else
89388 ac_cpp_err=yes
89390 if test -z "$ac_cpp_err"; then
89391 ac_header_preproc=yes
89392 else
89393 echo "$as_me: failed program was:" >&5
89394 sed 's/^/| /' conftest.$ac_ext >&5
89396 ac_header_preproc=no
89398 rm -f conftest.err conftest.$ac_ext
89399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89400 echo "${ECHO_T}$ac_header_preproc" >&6
89402 # So? What about this header?
89403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89404 yes:no: )
89405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89406 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89408 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89409 ac_header_preproc=yes
89411 no:yes:* )
89412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89416 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89417 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89418 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89419 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89421 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89422 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89423 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89425 cat <<\_ASBOX
89426 ## ----------------------------------------- ##
89427 ## Report this to the package-unused lists. ##
89428 ## ----------------------------------------- ##
89429 _ASBOX
89431 sed "s/^/$as_me: WARNING: /" >&2
89433 esac
89434 echo "$as_me:$LINENO: checking for $ac_header" >&5
89435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89437 echo $ECHO_N "(cached) $ECHO_C" >&6
89438 else
89439 eval "$as_ac_Header=\$ac_header_preproc"
89441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89446 cat >>confdefs.h <<_ACEOF
89447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89448 _ACEOF
89452 done
89455 if test "${glibcxx_cv_POLL+set}" = set; then
89456 echo $ECHO_N "(cached) $ECHO_C" >&6
89457 else
89459 if test x$gcc_no_link = xyes; then
89460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89462 { (exit 1); exit 1; }; }
89464 cat >conftest.$ac_ext <<_ACEOF
89465 /* confdefs.h. */
89466 _ACEOF
89467 cat confdefs.h >>conftest.$ac_ext
89468 cat >>conftest.$ac_ext <<_ACEOF
89469 /* end confdefs.h. */
89470 #include <poll.h>
89472 main ()
89474 struct pollfd pfd[1];
89475 pfd[0].events = POLLIN;
89476 poll(pfd, 1, 0);
89478 return 0;
89480 _ACEOF
89481 rm -f conftest.$ac_objext conftest$ac_exeext
89482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89483 (eval $ac_link) 2>conftest.er1
89484 ac_status=$?
89485 grep -v '^ *+' conftest.er1 >conftest.err
89486 rm -f conftest.er1
89487 cat conftest.err >&5
89488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89489 (exit $ac_status); } &&
89490 { ac_try='test -z "$ac_c_werror_flag"
89491 || test ! -s conftest.err'
89492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89493 (eval $ac_try) 2>&5
89494 ac_status=$?
89495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89496 (exit $ac_status); }; } &&
89497 { ac_try='test -s conftest$ac_exeext'
89498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89499 (eval $ac_try) 2>&5
89500 ac_status=$?
89501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89502 (exit $ac_status); }; }; then
89503 glibcxx_cv_POLL=yes
89504 else
89505 echo "$as_me: failed program was:" >&5
89506 sed 's/^/| /' conftest.$ac_ext >&5
89508 glibcxx_cv_POLL=no
89510 rm -f conftest.err conftest.$ac_objext \
89511 conftest$ac_exeext conftest.$ac_ext
89515 if test $glibcxx_cv_POLL = yes; then
89516 cat >>confdefs.h <<\_ACEOF
89517 #define HAVE_POLL 1
89518 _ACEOF
89523 if test "${glibcxx_cv_S_ISREG+set}" = set; then
89524 echo $ECHO_N "(cached) $ECHO_C" >&6
89525 else
89527 if test x$gcc_no_link = xyes; then
89528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89530 { (exit 1); exit 1; }; }
89532 cat >conftest.$ac_ext <<_ACEOF
89533 /* confdefs.h. */
89534 _ACEOF
89535 cat confdefs.h >>conftest.$ac_ext
89536 cat >>conftest.$ac_ext <<_ACEOF
89537 /* end confdefs.h. */
89538 #include <sys/stat.h>
89540 main ()
89542 struct stat buffer;
89543 fstat(0, &buffer);
89544 S_ISREG(buffer.st_mode);
89546 return 0;
89548 _ACEOF
89549 rm -f conftest.$ac_objext conftest$ac_exeext
89550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89551 (eval $ac_link) 2>conftest.er1
89552 ac_status=$?
89553 grep -v '^ *+' conftest.er1 >conftest.err
89554 rm -f conftest.er1
89555 cat conftest.err >&5
89556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89557 (exit $ac_status); } &&
89558 { ac_try='test -z "$ac_c_werror_flag"
89559 || test ! -s conftest.err'
89560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89561 (eval $ac_try) 2>&5
89562 ac_status=$?
89563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89564 (exit $ac_status); }; } &&
89565 { ac_try='test -s conftest$ac_exeext'
89566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89567 (eval $ac_try) 2>&5
89568 ac_status=$?
89569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89570 (exit $ac_status); }; }; then
89571 glibcxx_cv_S_ISREG=yes
89572 else
89573 echo "$as_me: failed program was:" >&5
89574 sed 's/^/| /' conftest.$ac_ext >&5
89576 glibcxx_cv_S_ISREG=no
89578 rm -f conftest.err conftest.$ac_objext \
89579 conftest$ac_exeext conftest.$ac_ext
89583 if test "${glibcxx_cv_S_IFREG+set}" = set; then
89584 echo $ECHO_N "(cached) $ECHO_C" >&6
89585 else
89587 if test x$gcc_no_link = xyes; then
89588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89590 { (exit 1); exit 1; }; }
89592 cat >conftest.$ac_ext <<_ACEOF
89593 /* confdefs.h. */
89594 _ACEOF
89595 cat confdefs.h >>conftest.$ac_ext
89596 cat >>conftest.$ac_ext <<_ACEOF
89597 /* end confdefs.h. */
89598 #include <sys/stat.h>
89600 main ()
89602 struct stat buffer;
89603 fstat(0, &buffer);
89604 S_IFREG & buffer.st_mode;
89606 return 0;
89608 _ACEOF
89609 rm -f conftest.$ac_objext conftest$ac_exeext
89610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89611 (eval $ac_link) 2>conftest.er1
89612 ac_status=$?
89613 grep -v '^ *+' conftest.er1 >conftest.err
89614 rm -f conftest.er1
89615 cat conftest.err >&5
89616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89617 (exit $ac_status); } &&
89618 { ac_try='test -z "$ac_c_werror_flag"
89619 || test ! -s conftest.err'
89620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89621 (eval $ac_try) 2>&5
89622 ac_status=$?
89623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89624 (exit $ac_status); }; } &&
89625 { ac_try='test -s conftest$ac_exeext'
89626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89627 (eval $ac_try) 2>&5
89628 ac_status=$?
89629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89630 (exit $ac_status); }; }; then
89631 glibcxx_cv_S_IFREG=yes
89632 else
89633 echo "$as_me: failed program was:" >&5
89634 sed 's/^/| /' conftest.$ac_ext >&5
89636 glibcxx_cv_S_IFREG=no
89638 rm -f conftest.err conftest.$ac_objext \
89639 conftest$ac_exeext conftest.$ac_ext
89643 if test $glibcxx_cv_S_ISREG = yes; then
89644 cat >>confdefs.h <<\_ACEOF
89645 #define HAVE_S_ISREG 1
89646 _ACEOF
89648 elif test $glibcxx_cv_S_IFREG = yes; then
89649 cat >>confdefs.h <<\_ACEOF
89650 #define HAVE_S_IFREG 1
89651 _ACEOF
89656 # For xsputn_2().
89658 for ac_header in sys/uio.h
89660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89662 echo "$as_me:$LINENO: checking for $ac_header" >&5
89663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89665 echo $ECHO_N "(cached) $ECHO_C" >&6
89667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89669 else
89670 # Is the header compilable?
89671 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89672 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89673 cat >conftest.$ac_ext <<_ACEOF
89674 /* confdefs.h. */
89675 _ACEOF
89676 cat confdefs.h >>conftest.$ac_ext
89677 cat >>conftest.$ac_ext <<_ACEOF
89678 /* end confdefs.h. */
89679 $ac_includes_default
89680 #include <$ac_header>
89681 _ACEOF
89682 rm -f conftest.$ac_objext
89683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89684 (eval $ac_compile) 2>conftest.er1
89685 ac_status=$?
89686 grep -v '^ *+' conftest.er1 >conftest.err
89687 rm -f conftest.er1
89688 cat conftest.err >&5
89689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89690 (exit $ac_status); } &&
89691 { ac_try='test -z "$ac_c_werror_flag"
89692 || test ! -s conftest.err'
89693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89694 (eval $ac_try) 2>&5
89695 ac_status=$?
89696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89697 (exit $ac_status); }; } &&
89698 { ac_try='test -s conftest.$ac_objext'
89699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89700 (eval $ac_try) 2>&5
89701 ac_status=$?
89702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89703 (exit $ac_status); }; }; then
89704 ac_header_compiler=yes
89705 else
89706 echo "$as_me: failed program was:" >&5
89707 sed 's/^/| /' conftest.$ac_ext >&5
89709 ac_header_compiler=no
89711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89712 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89713 echo "${ECHO_T}$ac_header_compiler" >&6
89715 # Is the header present?
89716 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89717 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89718 cat >conftest.$ac_ext <<_ACEOF
89719 /* confdefs.h. */
89720 _ACEOF
89721 cat confdefs.h >>conftest.$ac_ext
89722 cat >>conftest.$ac_ext <<_ACEOF
89723 /* end confdefs.h. */
89724 #include <$ac_header>
89725 _ACEOF
89726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89727 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89728 ac_status=$?
89729 grep -v '^ *+' conftest.er1 >conftest.err
89730 rm -f conftest.er1
89731 cat conftest.err >&5
89732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89733 (exit $ac_status); } >/dev/null; then
89734 if test -s conftest.err; then
89735 ac_cpp_err=$ac_c_preproc_warn_flag
89736 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89737 else
89738 ac_cpp_err=
89740 else
89741 ac_cpp_err=yes
89743 if test -z "$ac_cpp_err"; then
89744 ac_header_preproc=yes
89745 else
89746 echo "$as_me: failed program was:" >&5
89747 sed 's/^/| /' conftest.$ac_ext >&5
89749 ac_header_preproc=no
89751 rm -f conftest.err conftest.$ac_ext
89752 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89753 echo "${ECHO_T}$ac_header_preproc" >&6
89755 # So? What about this header?
89756 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89757 yes:no: )
89758 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89759 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89761 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89762 ac_header_preproc=yes
89764 no:yes:* )
89765 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89766 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89767 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89768 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89769 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89770 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89771 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89772 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89774 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89775 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89776 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89778 cat <<\_ASBOX
89779 ## ----------------------------------------- ##
89780 ## Report this to the package-unused lists. ##
89781 ## ----------------------------------------- ##
89782 _ASBOX
89784 sed "s/^/$as_me: WARNING: /" >&2
89786 esac
89787 echo "$as_me:$LINENO: checking for $ac_header" >&5
89788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89790 echo $ECHO_N "(cached) $ECHO_C" >&6
89791 else
89792 eval "$as_ac_Header=\$ac_header_preproc"
89794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89799 cat >>confdefs.h <<_ACEOF
89800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89801 _ACEOF
89805 done
89808 if test "${glibcxx_cv_WRITEV+set}" = set; then
89809 echo $ECHO_N "(cached) $ECHO_C" >&6
89810 else
89812 if test x$gcc_no_link = xyes; then
89813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89815 { (exit 1); exit 1; }; }
89817 cat >conftest.$ac_ext <<_ACEOF
89818 /* confdefs.h. */
89819 _ACEOF
89820 cat confdefs.h >>conftest.$ac_ext
89821 cat >>conftest.$ac_ext <<_ACEOF
89822 /* end confdefs.h. */
89823 #include <sys/uio.h>
89825 main ()
89827 struct iovec iov[2];
89828 writev(0, iov, 0);
89830 return 0;
89832 _ACEOF
89833 rm -f conftest.$ac_objext conftest$ac_exeext
89834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89835 (eval $ac_link) 2>conftest.er1
89836 ac_status=$?
89837 grep -v '^ *+' conftest.er1 >conftest.err
89838 rm -f conftest.er1
89839 cat conftest.err >&5
89840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89841 (exit $ac_status); } &&
89842 { ac_try='test -z "$ac_c_werror_flag"
89843 || test ! -s conftest.err'
89844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89845 (eval $ac_try) 2>&5
89846 ac_status=$?
89847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89848 (exit $ac_status); }; } &&
89849 { ac_try='test -s conftest$ac_exeext'
89850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89851 (eval $ac_try) 2>&5
89852 ac_status=$?
89853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89854 (exit $ac_status); }; }; then
89855 glibcxx_cv_WRITEV=yes
89856 else
89857 echo "$as_me: failed program was:" >&5
89858 sed 's/^/| /' conftest.$ac_ext >&5
89860 glibcxx_cv_WRITEV=no
89862 rm -f conftest.err conftest.$ac_objext \
89863 conftest$ac_exeext conftest.$ac_ext
89867 if test $glibcxx_cv_WRITEV = yes; then
89868 cat >>confdefs.h <<\_ACEOF
89869 #define HAVE_WRITEV 1
89870 _ACEOF
89875 *-qnx6.1* | *-qnx6.2*)
89876 SECTION_FLAGS='-ffunction-sections -fdata-sections'
89879 # If we're not using GNU ld, then there's no point in even trying these
89880 # tests. Check for that first. We should have already tested for gld
89881 # by now (in libtool), but require it now just to be safe...
89882 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
89883 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
89887 # The name set by libtool depends on the version of libtool. Shame on us
89888 # for depending on an impl detail, but c'est la vie. Older versions used
89889 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
89890 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
89891 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
89892 # set (hence we're using an older libtool), then set it.
89893 if test x${with_gnu_ld+set} != xset; then
89894 if test x${ac_cv_prog_gnu_ld+set} != xset; then
89895 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
89896 with_gnu_ld=no
89897 else
89898 with_gnu_ld=$ac_cv_prog_gnu_ld
89902 # Start by getting the version number. I think the libtool test already
89903 # does some of this, but throws away the result.
89905 ldver=`$LD --version 2>/dev/null | head -1 | \
89906 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
89908 glibcxx_gnu_ld_version=`echo $ldver | \
89909 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
89911 # Set --gc-sections.
89912 if test "$with_gnu_ld" = "notbroken"; then
89913 # GNU ld it is! Joy and bunny rabbits!
89915 # All these tests are for C++; save the language and the compiler flags.
89916 # Need to do this so that g++ won't try to link in libstdc++
89917 ac_test_CFLAGS="${CFLAGS+set}"
89918 ac_save_CFLAGS="$CFLAGS"
89919 CFLAGS='-x c++ -Wl,--gc-sections'
89921 # Check for -Wl,--gc-sections
89922 # XXX This test is broken at the moment, as symbols required for linking
89923 # are now in libsupc++ (not built yet). In addition, this test has
89924 # cored on solaris in the past. In addition, --gc-sections doesn't
89925 # really work at the moment (keeps on discarding used sections, first
89926 # .eh_frame and now some of the glibc sections for iconv).
89927 # Bzzzzt. Thanks for playing, maybe next time.
89928 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89929 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89930 if test "$cross_compiling" = yes; then
89931 ac_sectionLDflags=yes
89932 else
89933 cat >conftest.$ac_ext <<_ACEOF
89934 /* confdefs.h. */
89935 _ACEOF
89936 cat confdefs.h >>conftest.$ac_ext
89937 cat >>conftest.$ac_ext <<_ACEOF
89938 /* end confdefs.h. */
89940 int main(void)
89942 try { throw 1; }
89943 catch (...) { };
89944 return 0;
89947 _ACEOF
89948 rm -f conftest$ac_exeext
89949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89950 (eval $ac_link) 2>&5
89951 ac_status=$?
89952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89953 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
89954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89955 (eval $ac_try) 2>&5
89956 ac_status=$?
89957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89958 (exit $ac_status); }; }; then
89959 ac_sectionLDflags=yes
89960 else
89961 echo "$as_me: program exited with status $ac_status" >&5
89962 echo "$as_me: failed program was:" >&5
89963 sed 's/^/| /' conftest.$ac_ext >&5
89965 ( exit $ac_status )
89966 ac_sectionLDflags=no
89968 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
89970 if test "$ac_test_CFLAGS" = set; then
89971 CFLAGS="$ac_save_CFLAGS"
89972 else
89973 # this is the suspicious part
89974 CFLAGS=''
89976 if test "$ac_sectionLDflags" = "yes"; then
89977 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
89979 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
89980 echo "${ECHO_T}$ac_sectionLDflags" >&6
89983 # Set linker optimization flags.
89984 if test x"$with_gnu_ld" = x"yes"; then
89985 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
89993 echo "$as_me:$LINENO: checking for main in -lm" >&5
89994 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
89995 if test "${ac_cv_lib_m_main+set}" = set; then
89996 echo $ECHO_N "(cached) $ECHO_C" >&6
89997 else
89998 ac_check_lib_save_LIBS=$LIBS
89999 LIBS="-lm $LIBS"
90000 if test x$gcc_no_link = xyes; then
90001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90003 { (exit 1); exit 1; }; }
90005 cat >conftest.$ac_ext <<_ACEOF
90006 /* confdefs.h. */
90007 _ACEOF
90008 cat confdefs.h >>conftest.$ac_ext
90009 cat >>conftest.$ac_ext <<_ACEOF
90010 /* end confdefs.h. */
90014 main ()
90016 main ();
90018 return 0;
90020 _ACEOF
90021 rm -f conftest.$ac_objext conftest$ac_exeext
90022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90023 (eval $ac_link) 2>conftest.er1
90024 ac_status=$?
90025 grep -v '^ *+' conftest.er1 >conftest.err
90026 rm -f conftest.er1
90027 cat conftest.err >&5
90028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90029 (exit $ac_status); } &&
90030 { ac_try='test -z "$ac_c_werror_flag"
90031 || test ! -s conftest.err'
90032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90033 (eval $ac_try) 2>&5
90034 ac_status=$?
90035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90036 (exit $ac_status); }; } &&
90037 { ac_try='test -s conftest$ac_exeext'
90038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90039 (eval $ac_try) 2>&5
90040 ac_status=$?
90041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90042 (exit $ac_status); }; }; then
90043 ac_cv_lib_m_main=yes
90044 else
90045 echo "$as_me: failed program was:" >&5
90046 sed 's/^/| /' conftest.$ac_ext >&5
90048 ac_cv_lib_m_main=no
90050 rm -f conftest.err conftest.$ac_objext \
90051 conftest$ac_exeext conftest.$ac_ext
90052 LIBS=$ac_check_lib_save_LIBS
90054 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90055 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90056 if test $ac_cv_lib_m_main = yes; then
90057 cat >>confdefs.h <<_ACEOF
90058 #define HAVE_LIBM 1
90059 _ACEOF
90061 LIBS="-lm $LIBS"
90066 for ac_func in copysignf
90068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90069 echo "$as_me:$LINENO: checking for $ac_func" >&5
90070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90071 if eval "test \"\${$as_ac_var+set}\" = set"; then
90072 echo $ECHO_N "(cached) $ECHO_C" >&6
90073 else
90074 if test x$gcc_no_link = xyes; then
90075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90077 { (exit 1); exit 1; }; }
90079 cat >conftest.$ac_ext <<_ACEOF
90080 /* confdefs.h. */
90081 _ACEOF
90082 cat confdefs.h >>conftest.$ac_ext
90083 cat >>conftest.$ac_ext <<_ACEOF
90084 /* end confdefs.h. */
90085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90087 #define $ac_func innocuous_$ac_func
90089 /* System header to define __stub macros and hopefully few prototypes,
90090 which can conflict with char $ac_func (); below.
90091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90092 <limits.h> exists even on freestanding compilers. */
90094 #ifdef __STDC__
90095 # include <limits.h>
90096 #else
90097 # include <assert.h>
90098 #endif
90100 #undef $ac_func
90102 /* Override any gcc2 internal prototype to avoid an error. */
90103 #ifdef __cplusplus
90104 extern "C"
90106 #endif
90107 /* We use char because int might match the return type of a gcc2
90108 builtin and then its argument prototype would still apply. */
90109 char $ac_func ();
90110 /* The GNU C library defines this for functions which it implements
90111 to always fail with ENOSYS. Some functions are actually named
90112 something starting with __ and the normal name is an alias. */
90113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90114 choke me
90115 #else
90116 char (*f) () = $ac_func;
90117 #endif
90118 #ifdef __cplusplus
90120 #endif
90123 main ()
90125 return f != $ac_func;
90127 return 0;
90129 _ACEOF
90130 rm -f conftest.$ac_objext conftest$ac_exeext
90131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90132 (eval $ac_link) 2>conftest.er1
90133 ac_status=$?
90134 grep -v '^ *+' conftest.er1 >conftest.err
90135 rm -f conftest.er1
90136 cat conftest.err >&5
90137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90138 (exit $ac_status); } &&
90139 { ac_try='test -z "$ac_c_werror_flag"
90140 || test ! -s conftest.err'
90141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90142 (eval $ac_try) 2>&5
90143 ac_status=$?
90144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90145 (exit $ac_status); }; } &&
90146 { ac_try='test -s conftest$ac_exeext'
90147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90148 (eval $ac_try) 2>&5
90149 ac_status=$?
90150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90151 (exit $ac_status); }; }; then
90152 eval "$as_ac_var=yes"
90153 else
90154 echo "$as_me: failed program was:" >&5
90155 sed 's/^/| /' conftest.$ac_ext >&5
90157 eval "$as_ac_var=no"
90159 rm -f conftest.err conftest.$ac_objext \
90160 conftest$ac_exeext conftest.$ac_ext
90162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90164 if test `eval echo '${'$as_ac_var'}'` = yes; then
90165 cat >>confdefs.h <<_ACEOF
90166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90167 _ACEOF
90169 else
90170 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
90172 done
90176 for ac_func in __signbit
90178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90179 echo "$as_me:$LINENO: checking for $ac_func" >&5
90180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90181 if eval "test \"\${$as_ac_var+set}\" = set"; then
90182 echo $ECHO_N "(cached) $ECHO_C" >&6
90183 else
90184 if test x$gcc_no_link = xyes; then
90185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90187 { (exit 1); exit 1; }; }
90189 cat >conftest.$ac_ext <<_ACEOF
90190 /* confdefs.h. */
90191 _ACEOF
90192 cat confdefs.h >>conftest.$ac_ext
90193 cat >>conftest.$ac_ext <<_ACEOF
90194 /* end confdefs.h. */
90195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90197 #define $ac_func innocuous_$ac_func
90199 /* System header to define __stub macros and hopefully few prototypes,
90200 which can conflict with char $ac_func (); below.
90201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90202 <limits.h> exists even on freestanding compilers. */
90204 #ifdef __STDC__
90205 # include <limits.h>
90206 #else
90207 # include <assert.h>
90208 #endif
90210 #undef $ac_func
90212 /* Override any gcc2 internal prototype to avoid an error. */
90213 #ifdef __cplusplus
90214 extern "C"
90216 #endif
90217 /* We use char because int might match the return type of a gcc2
90218 builtin and then its argument prototype would still apply. */
90219 char $ac_func ();
90220 /* The GNU C library defines this for functions which it implements
90221 to always fail with ENOSYS. Some functions are actually named
90222 something starting with __ and the normal name is an alias. */
90223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90224 choke me
90225 #else
90226 char (*f) () = $ac_func;
90227 #endif
90228 #ifdef __cplusplus
90230 #endif
90233 main ()
90235 return f != $ac_func;
90237 return 0;
90239 _ACEOF
90240 rm -f conftest.$ac_objext conftest$ac_exeext
90241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90242 (eval $ac_link) 2>conftest.er1
90243 ac_status=$?
90244 grep -v '^ *+' conftest.er1 >conftest.err
90245 rm -f conftest.er1
90246 cat conftest.err >&5
90247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90248 (exit $ac_status); } &&
90249 { ac_try='test -z "$ac_c_werror_flag"
90250 || test ! -s conftest.err'
90251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90252 (eval $ac_try) 2>&5
90253 ac_status=$?
90254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90255 (exit $ac_status); }; } &&
90256 { ac_try='test -s conftest$ac_exeext'
90257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90258 (eval $ac_try) 2>&5
90259 ac_status=$?
90260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90261 (exit $ac_status); }; }; then
90262 eval "$as_ac_var=yes"
90263 else
90264 echo "$as_me: failed program was:" >&5
90265 sed 's/^/| /' conftest.$ac_ext >&5
90267 eval "$as_ac_var=no"
90269 rm -f conftest.err conftest.$ac_objext \
90270 conftest$ac_exeext conftest.$ac_ext
90272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90274 if test `eval echo '${'$as_ac_var'}'` = yes; then
90275 cat >>confdefs.h <<_ACEOF
90276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90277 _ACEOF
90279 else
90280 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
90282 done
90286 for ac_func in __signbitf
90288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90289 echo "$as_me:$LINENO: checking for $ac_func" >&5
90290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90291 if eval "test \"\${$as_ac_var+set}\" = set"; then
90292 echo $ECHO_N "(cached) $ECHO_C" >&6
90293 else
90294 if test x$gcc_no_link = xyes; then
90295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90297 { (exit 1); exit 1; }; }
90299 cat >conftest.$ac_ext <<_ACEOF
90300 /* confdefs.h. */
90301 _ACEOF
90302 cat confdefs.h >>conftest.$ac_ext
90303 cat >>conftest.$ac_ext <<_ACEOF
90304 /* end confdefs.h. */
90305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90307 #define $ac_func innocuous_$ac_func
90309 /* System header to define __stub macros and hopefully few prototypes,
90310 which can conflict with char $ac_func (); below.
90311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90312 <limits.h> exists even on freestanding compilers. */
90314 #ifdef __STDC__
90315 # include <limits.h>
90316 #else
90317 # include <assert.h>
90318 #endif
90320 #undef $ac_func
90322 /* Override any gcc2 internal prototype to avoid an error. */
90323 #ifdef __cplusplus
90324 extern "C"
90326 #endif
90327 /* We use char because int might match the return type of a gcc2
90328 builtin and then its argument prototype would still apply. */
90329 char $ac_func ();
90330 /* The GNU C library defines this for functions which it implements
90331 to always fail with ENOSYS. Some functions are actually named
90332 something starting with __ and the normal name is an alias. */
90333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90334 choke me
90335 #else
90336 char (*f) () = $ac_func;
90337 #endif
90338 #ifdef __cplusplus
90340 #endif
90343 main ()
90345 return f != $ac_func;
90347 return 0;
90349 _ACEOF
90350 rm -f conftest.$ac_objext conftest$ac_exeext
90351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90352 (eval $ac_link) 2>conftest.er1
90353 ac_status=$?
90354 grep -v '^ *+' conftest.er1 >conftest.err
90355 rm -f conftest.er1
90356 cat conftest.err >&5
90357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90358 (exit $ac_status); } &&
90359 { ac_try='test -z "$ac_c_werror_flag"
90360 || test ! -s conftest.err'
90361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90362 (eval $ac_try) 2>&5
90363 ac_status=$?
90364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90365 (exit $ac_status); }; } &&
90366 { ac_try='test -s conftest$ac_exeext'
90367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90368 (eval $ac_try) 2>&5
90369 ac_status=$?
90370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90371 (exit $ac_status); }; }; then
90372 eval "$as_ac_var=yes"
90373 else
90374 echo "$as_me: failed program was:" >&5
90375 sed 's/^/| /' conftest.$ac_ext >&5
90377 eval "$as_ac_var=no"
90379 rm -f conftest.err conftest.$ac_objext \
90380 conftest$ac_exeext conftest.$ac_ext
90382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90384 if test `eval echo '${'$as_ac_var'}'` = yes; then
90385 cat >>confdefs.h <<_ACEOF
90386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90387 _ACEOF
90389 else
90390 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90392 done
90395 if test x$ac_cv_func_copysignl = x"yes"; then
90397 for ac_func in __signbitl
90399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90400 echo "$as_me:$LINENO: checking for $ac_func" >&5
90401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90402 if eval "test \"\${$as_ac_var+set}\" = set"; then
90403 echo $ECHO_N "(cached) $ECHO_C" >&6
90404 else
90405 if test x$gcc_no_link = xyes; then
90406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90408 { (exit 1); exit 1; }; }
90410 cat >conftest.$ac_ext <<_ACEOF
90411 /* confdefs.h. */
90412 _ACEOF
90413 cat confdefs.h >>conftest.$ac_ext
90414 cat >>conftest.$ac_ext <<_ACEOF
90415 /* end confdefs.h. */
90416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90418 #define $ac_func innocuous_$ac_func
90420 /* System header to define __stub macros and hopefully few prototypes,
90421 which can conflict with char $ac_func (); below.
90422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90423 <limits.h> exists even on freestanding compilers. */
90425 #ifdef __STDC__
90426 # include <limits.h>
90427 #else
90428 # include <assert.h>
90429 #endif
90431 #undef $ac_func
90433 /* Override any gcc2 internal prototype to avoid an error. */
90434 #ifdef __cplusplus
90435 extern "C"
90437 #endif
90438 /* We use char because int might match the return type of a gcc2
90439 builtin and then its argument prototype would still apply. */
90440 char $ac_func ();
90441 /* The GNU C library defines this for functions which it implements
90442 to always fail with ENOSYS. Some functions are actually named
90443 something starting with __ and the normal name is an alias. */
90444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90445 choke me
90446 #else
90447 char (*f) () = $ac_func;
90448 #endif
90449 #ifdef __cplusplus
90451 #endif
90454 main ()
90456 return f != $ac_func;
90458 return 0;
90460 _ACEOF
90461 rm -f conftest.$ac_objext conftest$ac_exeext
90462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90463 (eval $ac_link) 2>conftest.er1
90464 ac_status=$?
90465 grep -v '^ *+' conftest.er1 >conftest.err
90466 rm -f conftest.er1
90467 cat conftest.err >&5
90468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90469 (exit $ac_status); } &&
90470 { ac_try='test -z "$ac_c_werror_flag"
90471 || test ! -s conftest.err'
90472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90473 (eval $ac_try) 2>&5
90474 ac_status=$?
90475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90476 (exit $ac_status); }; } &&
90477 { ac_try='test -s conftest$ac_exeext'
90478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90479 (eval $ac_try) 2>&5
90480 ac_status=$?
90481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90482 (exit $ac_status); }; }; then
90483 eval "$as_ac_var=yes"
90484 else
90485 echo "$as_me: failed program was:" >&5
90486 sed 's/^/| /' conftest.$ac_ext >&5
90488 eval "$as_ac_var=no"
90490 rm -f conftest.err conftest.$ac_objext \
90491 conftest$ac_exeext conftest.$ac_ext
90493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90495 if test `eval echo '${'$as_ac_var'}'` = yes; then
90496 cat >>confdefs.h <<_ACEOF
90497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90498 _ACEOF
90500 else
90501 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90503 done
90507 # Used in libmath/Makefile.am.
90508 if test -n "$LIBMATHOBJS"; then
90509 need_libmath=yes
90514 # Test wchar.h for mbstate_t, which is needed for char_traits and
90515 # others even if wchar_t support is not on.
90516 echo "$as_me:$LINENO: checking for mbstate_t" >&5
90517 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
90518 cat >conftest.$ac_ext <<_ACEOF
90519 /* confdefs.h. */
90520 _ACEOF
90521 cat confdefs.h >>conftest.$ac_ext
90522 cat >>conftest.$ac_ext <<_ACEOF
90523 /* end confdefs.h. */
90524 #include <wchar.h>
90526 main ()
90528 mbstate_t teststate;
90530 return 0;
90532 _ACEOF
90533 rm -f conftest.$ac_objext
90534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90535 (eval $ac_compile) 2>conftest.er1
90536 ac_status=$?
90537 grep -v '^ *+' conftest.er1 >conftest.err
90538 rm -f conftest.er1
90539 cat conftest.err >&5
90540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90541 (exit $ac_status); } &&
90542 { ac_try='test -z "$ac_c_werror_flag"
90543 || test ! -s conftest.err'
90544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90545 (eval $ac_try) 2>&5
90546 ac_status=$?
90547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90548 (exit $ac_status); }; } &&
90549 { ac_try='test -s conftest.$ac_objext'
90550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90551 (eval $ac_try) 2>&5
90552 ac_status=$?
90553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90554 (exit $ac_status); }; }; then
90555 have_mbstate_t=yes
90556 else
90557 echo "$as_me: failed program was:" >&5
90558 sed 's/^/| /' conftest.$ac_ext >&5
90560 have_mbstate_t=no
90562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90563 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
90564 echo "${ECHO_T}$have_mbstate_t" >&6
90565 if test x"$have_mbstate_t" = xyes; then
90566 cat >>confdefs.h <<\_ACEOF
90567 #define HAVE_MBSTATE_T 1
90568 _ACEOF
90572 # Sanity check for existence of ISO C99 headers for extended encoding.
90574 for ac_header in wchar.h
90576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90578 echo "$as_me:$LINENO: checking for $ac_header" >&5
90579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90581 echo $ECHO_N "(cached) $ECHO_C" >&6
90583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90585 else
90586 # Is the header compilable?
90587 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90588 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90589 cat >conftest.$ac_ext <<_ACEOF
90590 /* confdefs.h. */
90591 _ACEOF
90592 cat confdefs.h >>conftest.$ac_ext
90593 cat >>conftest.$ac_ext <<_ACEOF
90594 /* end confdefs.h. */
90595 $ac_includes_default
90596 #include <$ac_header>
90597 _ACEOF
90598 rm -f conftest.$ac_objext
90599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90600 (eval $ac_compile) 2>conftest.er1
90601 ac_status=$?
90602 grep -v '^ *+' conftest.er1 >conftest.err
90603 rm -f conftest.er1
90604 cat conftest.err >&5
90605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90606 (exit $ac_status); } &&
90607 { ac_try='test -z "$ac_c_werror_flag"
90608 || test ! -s conftest.err'
90609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90610 (eval $ac_try) 2>&5
90611 ac_status=$?
90612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90613 (exit $ac_status); }; } &&
90614 { ac_try='test -s conftest.$ac_objext'
90615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90616 (eval $ac_try) 2>&5
90617 ac_status=$?
90618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90619 (exit $ac_status); }; }; then
90620 ac_header_compiler=yes
90621 else
90622 echo "$as_me: failed program was:" >&5
90623 sed 's/^/| /' conftest.$ac_ext >&5
90625 ac_header_compiler=no
90627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90629 echo "${ECHO_T}$ac_header_compiler" >&6
90631 # Is the header present?
90632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90634 cat >conftest.$ac_ext <<_ACEOF
90635 /* confdefs.h. */
90636 _ACEOF
90637 cat confdefs.h >>conftest.$ac_ext
90638 cat >>conftest.$ac_ext <<_ACEOF
90639 /* end confdefs.h. */
90640 #include <$ac_header>
90641 _ACEOF
90642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90644 ac_status=$?
90645 grep -v '^ *+' conftest.er1 >conftest.err
90646 rm -f conftest.er1
90647 cat conftest.err >&5
90648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90649 (exit $ac_status); } >/dev/null; then
90650 if test -s conftest.err; then
90651 ac_cpp_err=$ac_c_preproc_warn_flag
90652 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90653 else
90654 ac_cpp_err=
90656 else
90657 ac_cpp_err=yes
90659 if test -z "$ac_cpp_err"; then
90660 ac_header_preproc=yes
90661 else
90662 echo "$as_me: failed program was:" >&5
90663 sed 's/^/| /' conftest.$ac_ext >&5
90665 ac_header_preproc=no
90667 rm -f conftest.err conftest.$ac_ext
90668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90669 echo "${ECHO_T}$ac_header_preproc" >&6
90671 # So? What about this header?
90672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90673 yes:no: )
90674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90678 ac_header_preproc=yes
90680 no:yes:* )
90681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90694 cat <<\_ASBOX
90695 ## ----------------------------------------- ##
90696 ## Report this to the package-unused lists. ##
90697 ## ----------------------------------------- ##
90698 _ASBOX
90700 sed "s/^/$as_me: WARNING: /" >&2
90702 esac
90703 echo "$as_me:$LINENO: checking for $ac_header" >&5
90704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90706 echo $ECHO_N "(cached) $ECHO_C" >&6
90707 else
90708 eval "$as_ac_Header=\$ac_header_preproc"
90710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90715 cat >>confdefs.h <<_ACEOF
90716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90717 _ACEOF
90718 ac_has_wchar_h=yes
90719 else
90720 ac_has_wchar_h=no
90723 done
90726 for ac_header in wctype.h
90728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90730 echo "$as_me:$LINENO: checking for $ac_header" >&5
90731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90733 echo $ECHO_N "(cached) $ECHO_C" >&6
90735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90737 else
90738 # Is the header compilable?
90739 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90740 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90741 cat >conftest.$ac_ext <<_ACEOF
90742 /* confdefs.h. */
90743 _ACEOF
90744 cat confdefs.h >>conftest.$ac_ext
90745 cat >>conftest.$ac_ext <<_ACEOF
90746 /* end confdefs.h. */
90747 $ac_includes_default
90748 #include <$ac_header>
90749 _ACEOF
90750 rm -f conftest.$ac_objext
90751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90752 (eval $ac_compile) 2>conftest.er1
90753 ac_status=$?
90754 grep -v '^ *+' conftest.er1 >conftest.err
90755 rm -f conftest.er1
90756 cat conftest.err >&5
90757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90758 (exit $ac_status); } &&
90759 { ac_try='test -z "$ac_c_werror_flag"
90760 || test ! -s conftest.err'
90761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90762 (eval $ac_try) 2>&5
90763 ac_status=$?
90764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90765 (exit $ac_status); }; } &&
90766 { ac_try='test -s conftest.$ac_objext'
90767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90768 (eval $ac_try) 2>&5
90769 ac_status=$?
90770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90771 (exit $ac_status); }; }; then
90772 ac_header_compiler=yes
90773 else
90774 echo "$as_me: failed program was:" >&5
90775 sed 's/^/| /' conftest.$ac_ext >&5
90777 ac_header_compiler=no
90779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90781 echo "${ECHO_T}$ac_header_compiler" >&6
90783 # Is the header present?
90784 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90785 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90786 cat >conftest.$ac_ext <<_ACEOF
90787 /* confdefs.h. */
90788 _ACEOF
90789 cat confdefs.h >>conftest.$ac_ext
90790 cat >>conftest.$ac_ext <<_ACEOF
90791 /* end confdefs.h. */
90792 #include <$ac_header>
90793 _ACEOF
90794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90796 ac_status=$?
90797 grep -v '^ *+' conftest.er1 >conftest.err
90798 rm -f conftest.er1
90799 cat conftest.err >&5
90800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90801 (exit $ac_status); } >/dev/null; then
90802 if test -s conftest.err; then
90803 ac_cpp_err=$ac_c_preproc_warn_flag
90804 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90805 else
90806 ac_cpp_err=
90808 else
90809 ac_cpp_err=yes
90811 if test -z "$ac_cpp_err"; then
90812 ac_header_preproc=yes
90813 else
90814 echo "$as_me: failed program was:" >&5
90815 sed 's/^/| /' conftest.$ac_ext >&5
90817 ac_header_preproc=no
90819 rm -f conftest.err conftest.$ac_ext
90820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90821 echo "${ECHO_T}$ac_header_preproc" >&6
90823 # So? What about this header?
90824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90825 yes:no: )
90826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90829 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90830 ac_header_preproc=yes
90832 no:yes:* )
90833 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90835 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90836 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90837 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90838 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90839 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90840 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90843 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90844 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90846 cat <<\_ASBOX
90847 ## ----------------------------------------- ##
90848 ## Report this to the package-unused lists. ##
90849 ## ----------------------------------------- ##
90850 _ASBOX
90852 sed "s/^/$as_me: WARNING: /" >&2
90854 esac
90855 echo "$as_me:$LINENO: checking for $ac_header" >&5
90856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90858 echo $ECHO_N "(cached) $ECHO_C" >&6
90859 else
90860 eval "$as_ac_Header=\$ac_header_preproc"
90862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90867 cat >>confdefs.h <<_ACEOF
90868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90869 _ACEOF
90870 ac_has_wctype_h=yes
90871 else
90872 ac_has_wctype_h=no
90875 done
90878 # Only continue checking if the ISO C99 headers exist and support is on.
90879 if test x"$ac_has_wchar_h" = xyes &&
90880 test x"$ac_has_wctype_h" = xyes &&
90881 test x"$enable_c_mbchar" != xno; then
90883 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
90884 # numeric_limits can instantiate type_traits<wchar_t>
90885 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
90886 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
90887 cat >conftest.$ac_ext <<_ACEOF
90888 /* confdefs.h. */
90889 _ACEOF
90890 cat confdefs.h >>conftest.$ac_ext
90891 cat >>conftest.$ac_ext <<_ACEOF
90892 /* end confdefs.h. */
90893 #include <wchar.h>
90895 main ()
90897 int i = WCHAR_MIN; int j = WCHAR_MAX;
90899 return 0;
90901 _ACEOF
90902 rm -f conftest.$ac_objext
90903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90904 (eval $ac_compile) 2>conftest.er1
90905 ac_status=$?
90906 grep -v '^ *+' conftest.er1 >conftest.err
90907 rm -f conftest.er1
90908 cat conftest.err >&5
90909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90910 (exit $ac_status); } &&
90911 { ac_try='test -z "$ac_c_werror_flag"
90912 || test ! -s conftest.err'
90913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90914 (eval $ac_try) 2>&5
90915 ac_status=$?
90916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90917 (exit $ac_status); }; } &&
90918 { ac_try='test -s conftest.$ac_objext'
90919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90920 (eval $ac_try) 2>&5
90921 ac_status=$?
90922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90923 (exit $ac_status); }; }; then
90924 has_wchar_minmax=yes
90925 else
90926 echo "$as_me: failed program was:" >&5
90927 sed 's/^/| /' conftest.$ac_ext >&5
90929 has_wchar_minmax=no
90931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90932 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
90933 echo "${ECHO_T}$has_wchar_minmax" >&6
90935 # Test wchar.h for WEOF, which is what we use to determine whether
90936 # to specialize for char_traits<wchar_t> or not.
90937 echo "$as_me:$LINENO: checking for WEOF" >&5
90938 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
90939 cat >conftest.$ac_ext <<_ACEOF
90940 /* confdefs.h. */
90941 _ACEOF
90942 cat confdefs.h >>conftest.$ac_ext
90943 cat >>conftest.$ac_ext <<_ACEOF
90944 /* end confdefs.h. */
90946 #include <wchar.h>
90947 #include <stddef.h>
90949 main ()
90951 wint_t i = WEOF;
90953 return 0;
90955 _ACEOF
90956 rm -f conftest.$ac_objext
90957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90958 (eval $ac_compile) 2>conftest.er1
90959 ac_status=$?
90960 grep -v '^ *+' conftest.er1 >conftest.err
90961 rm -f conftest.er1
90962 cat conftest.err >&5
90963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90964 (exit $ac_status); } &&
90965 { ac_try='test -z "$ac_c_werror_flag"
90966 || test ! -s conftest.err'
90967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90968 (eval $ac_try) 2>&5
90969 ac_status=$?
90970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90971 (exit $ac_status); }; } &&
90972 { ac_try='test -s conftest.$ac_objext'
90973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90974 (eval $ac_try) 2>&5
90975 ac_status=$?
90976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90977 (exit $ac_status); }; }; then
90978 has_weof=yes
90979 else
90980 echo "$as_me: failed program was:" >&5
90981 sed 's/^/| /' conftest.$ac_ext >&5
90983 has_weof=no
90985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90986 echo "$as_me:$LINENO: result: $has_weof" >&5
90987 echo "${ECHO_T}$has_weof" >&6
90989 # Tests for wide character functions used in char_traits<wchar_t>.
90990 ac_wfuncs=yes
90997 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
90999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91000 echo "$as_me:$LINENO: checking for $ac_func" >&5
91001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91002 if eval "test \"\${$as_ac_var+set}\" = set"; then
91003 echo $ECHO_N "(cached) $ECHO_C" >&6
91004 else
91005 if test x$gcc_no_link = xyes; then
91006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91008 { (exit 1); exit 1; }; }
91010 cat >conftest.$ac_ext <<_ACEOF
91011 /* confdefs.h. */
91012 _ACEOF
91013 cat confdefs.h >>conftest.$ac_ext
91014 cat >>conftest.$ac_ext <<_ACEOF
91015 /* end confdefs.h. */
91016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91018 #define $ac_func innocuous_$ac_func
91020 /* System header to define __stub macros and hopefully few prototypes,
91021 which can conflict with char $ac_func (); below.
91022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91023 <limits.h> exists even on freestanding compilers. */
91025 #ifdef __STDC__
91026 # include <limits.h>
91027 #else
91028 # include <assert.h>
91029 #endif
91031 #undef $ac_func
91033 /* Override any gcc2 internal prototype to avoid an error. */
91034 #ifdef __cplusplus
91035 extern "C"
91037 #endif
91038 /* We use char because int might match the return type of a gcc2
91039 builtin and then its argument prototype would still apply. */
91040 char $ac_func ();
91041 /* The GNU C library defines this for functions which it implements
91042 to always fail with ENOSYS. Some functions are actually named
91043 something starting with __ and the normal name is an alias. */
91044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91045 choke me
91046 #else
91047 char (*f) () = $ac_func;
91048 #endif
91049 #ifdef __cplusplus
91051 #endif
91054 main ()
91056 return f != $ac_func;
91058 return 0;
91060 _ACEOF
91061 rm -f conftest.$ac_objext conftest$ac_exeext
91062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91063 (eval $ac_link) 2>conftest.er1
91064 ac_status=$?
91065 grep -v '^ *+' conftest.er1 >conftest.err
91066 rm -f conftest.er1
91067 cat conftest.err >&5
91068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91069 (exit $ac_status); } &&
91070 { ac_try='test -z "$ac_c_werror_flag"
91071 || test ! -s conftest.err'
91072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91073 (eval $ac_try) 2>&5
91074 ac_status=$?
91075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91076 (exit $ac_status); }; } &&
91077 { ac_try='test -s conftest$ac_exeext'
91078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91079 (eval $ac_try) 2>&5
91080 ac_status=$?
91081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91082 (exit $ac_status); }; }; then
91083 eval "$as_ac_var=yes"
91084 else
91085 echo "$as_me: failed program was:" >&5
91086 sed 's/^/| /' conftest.$ac_ext >&5
91088 eval "$as_ac_var=no"
91090 rm -f conftest.err conftest.$ac_objext \
91091 conftest$ac_exeext conftest.$ac_ext
91093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91095 if test `eval echo '${'$as_ac_var'}'` = yes; then
91096 cat >>confdefs.h <<_ACEOF
91097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91098 _ACEOF
91100 else
91101 ac_wfuncs=no
91103 done
91106 # Checks for names injected into std:: by the c_std headers.
91153 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
91154 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
91155 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
91156 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
91157 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
91158 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
91160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91161 echo "$as_me:$LINENO: checking for $ac_func" >&5
91162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91163 if eval "test \"\${$as_ac_var+set}\" = set"; then
91164 echo $ECHO_N "(cached) $ECHO_C" >&6
91165 else
91166 if test x$gcc_no_link = xyes; then
91167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91169 { (exit 1); exit 1; }; }
91171 cat >conftest.$ac_ext <<_ACEOF
91172 /* confdefs.h. */
91173 _ACEOF
91174 cat confdefs.h >>conftest.$ac_ext
91175 cat >>conftest.$ac_ext <<_ACEOF
91176 /* end confdefs.h. */
91177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91179 #define $ac_func innocuous_$ac_func
91181 /* System header to define __stub macros and hopefully few prototypes,
91182 which can conflict with char $ac_func (); below.
91183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91184 <limits.h> exists even on freestanding compilers. */
91186 #ifdef __STDC__
91187 # include <limits.h>
91188 #else
91189 # include <assert.h>
91190 #endif
91192 #undef $ac_func
91194 /* Override any gcc2 internal prototype to avoid an error. */
91195 #ifdef __cplusplus
91196 extern "C"
91198 #endif
91199 /* We use char because int might match the return type of a gcc2
91200 builtin and then its argument prototype would still apply. */
91201 char $ac_func ();
91202 /* The GNU C library defines this for functions which it implements
91203 to always fail with ENOSYS. Some functions are actually named
91204 something starting with __ and the normal name is an alias. */
91205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91206 choke me
91207 #else
91208 char (*f) () = $ac_func;
91209 #endif
91210 #ifdef __cplusplus
91212 #endif
91215 main ()
91217 return f != $ac_func;
91219 return 0;
91221 _ACEOF
91222 rm -f conftest.$ac_objext conftest$ac_exeext
91223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91224 (eval $ac_link) 2>conftest.er1
91225 ac_status=$?
91226 grep -v '^ *+' conftest.er1 >conftest.err
91227 rm -f conftest.er1
91228 cat conftest.err >&5
91229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91230 (exit $ac_status); } &&
91231 { ac_try='test -z "$ac_c_werror_flag"
91232 || test ! -s conftest.err'
91233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91234 (eval $ac_try) 2>&5
91235 ac_status=$?
91236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91237 (exit $ac_status); }; } &&
91238 { ac_try='test -s conftest$ac_exeext'
91239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91240 (eval $ac_try) 2>&5
91241 ac_status=$?
91242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91243 (exit $ac_status); }; }; then
91244 eval "$as_ac_var=yes"
91245 else
91246 echo "$as_me: failed program was:" >&5
91247 sed 's/^/| /' conftest.$ac_ext >&5
91249 eval "$as_ac_var=no"
91251 rm -f conftest.err conftest.$ac_objext \
91252 conftest$ac_exeext conftest.$ac_ext
91254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91256 if test `eval echo '${'$as_ac_var'}'` = yes; then
91257 cat >>confdefs.h <<_ACEOF
91258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91259 _ACEOF
91261 else
91262 ac_wfuncs=no
91264 done
91267 # Checks for wide character functions that are not required
91268 # for basic wchar_t support. Don't disable support if they are missing.
91269 # Injection of these is wrapped with guard macros.
91275 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
91277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91278 echo "$as_me:$LINENO: checking for $ac_func" >&5
91279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91280 if eval "test \"\${$as_ac_var+set}\" = set"; then
91281 echo $ECHO_N "(cached) $ECHO_C" >&6
91282 else
91283 if test x$gcc_no_link = xyes; then
91284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91286 { (exit 1); exit 1; }; }
91288 cat >conftest.$ac_ext <<_ACEOF
91289 /* confdefs.h. */
91290 _ACEOF
91291 cat confdefs.h >>conftest.$ac_ext
91292 cat >>conftest.$ac_ext <<_ACEOF
91293 /* end confdefs.h. */
91294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91296 #define $ac_func innocuous_$ac_func
91298 /* System header to define __stub macros and hopefully few prototypes,
91299 which can conflict with char $ac_func (); below.
91300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91301 <limits.h> exists even on freestanding compilers. */
91303 #ifdef __STDC__
91304 # include <limits.h>
91305 #else
91306 # include <assert.h>
91307 #endif
91309 #undef $ac_func
91311 /* Override any gcc2 internal prototype to avoid an error. */
91312 #ifdef __cplusplus
91313 extern "C"
91315 #endif
91316 /* We use char because int might match the return type of a gcc2
91317 builtin and then its argument prototype would still apply. */
91318 char $ac_func ();
91319 /* The GNU C library defines this for functions which it implements
91320 to always fail with ENOSYS. Some functions are actually named
91321 something starting with __ and the normal name is an alias. */
91322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91323 choke me
91324 #else
91325 char (*f) () = $ac_func;
91326 #endif
91327 #ifdef __cplusplus
91329 #endif
91332 main ()
91334 return f != $ac_func;
91336 return 0;
91338 _ACEOF
91339 rm -f conftest.$ac_objext conftest$ac_exeext
91340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91341 (eval $ac_link) 2>conftest.er1
91342 ac_status=$?
91343 grep -v '^ *+' conftest.er1 >conftest.err
91344 rm -f conftest.er1
91345 cat conftest.err >&5
91346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91347 (exit $ac_status); } &&
91348 { ac_try='test -z "$ac_c_werror_flag"
91349 || test ! -s conftest.err'
91350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91351 (eval $ac_try) 2>&5
91352 ac_status=$?
91353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91354 (exit $ac_status); }; } &&
91355 { ac_try='test -s conftest$ac_exeext'
91356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91357 (eval $ac_try) 2>&5
91358 ac_status=$?
91359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91360 (exit $ac_status); }; }; then
91361 eval "$as_ac_var=yes"
91362 else
91363 echo "$as_me: failed program was:" >&5
91364 sed 's/^/| /' conftest.$ac_ext >&5
91366 eval "$as_ac_var=no"
91368 rm -f conftest.err conftest.$ac_objext \
91369 conftest$ac_exeext conftest.$ac_ext
91371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91373 if test `eval echo '${'$as_ac_var'}'` = yes; then
91374 cat >>confdefs.h <<_ACEOF
91375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91376 _ACEOF
91379 done
91382 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
91383 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
91384 if test x"$has_weof" = xyes &&
91385 test x"$has_wchar_minmax" = xyes &&
91386 test x"$ac_wfuncs" = xyes;
91387 then
91388 ac_isoC99_wchar_t=yes
91389 else
91390 ac_isoC99_wchar_t=no
91392 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
91393 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
91395 # Use iconv for wchar_t to char conversions. As such, check for
91396 # X/Open Portability Guide, version 2 features (XPG2).
91397 if test "${ac_cv_header_iconv_h+set}" = set; then
91398 echo "$as_me:$LINENO: checking for iconv.h" >&5
91399 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91400 if test "${ac_cv_header_iconv_h+set}" = set; then
91401 echo $ECHO_N "(cached) $ECHO_C" >&6
91403 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91404 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91405 else
91406 # Is the header compilable?
91407 echo "$as_me:$LINENO: checking iconv.h usability" >&5
91408 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
91409 cat >conftest.$ac_ext <<_ACEOF
91410 /* confdefs.h. */
91411 _ACEOF
91412 cat confdefs.h >>conftest.$ac_ext
91413 cat >>conftest.$ac_ext <<_ACEOF
91414 /* end confdefs.h. */
91415 $ac_includes_default
91416 #include <iconv.h>
91417 _ACEOF
91418 rm -f conftest.$ac_objext
91419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91420 (eval $ac_compile) 2>conftest.er1
91421 ac_status=$?
91422 grep -v '^ *+' conftest.er1 >conftest.err
91423 rm -f conftest.er1
91424 cat conftest.err >&5
91425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91426 (exit $ac_status); } &&
91427 { ac_try='test -z "$ac_c_werror_flag"
91428 || test ! -s conftest.err'
91429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91430 (eval $ac_try) 2>&5
91431 ac_status=$?
91432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91433 (exit $ac_status); }; } &&
91434 { ac_try='test -s conftest.$ac_objext'
91435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91436 (eval $ac_try) 2>&5
91437 ac_status=$?
91438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91439 (exit $ac_status); }; }; then
91440 ac_header_compiler=yes
91441 else
91442 echo "$as_me: failed program was:" >&5
91443 sed 's/^/| /' conftest.$ac_ext >&5
91445 ac_header_compiler=no
91447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91449 echo "${ECHO_T}$ac_header_compiler" >&6
91451 # Is the header present?
91452 echo "$as_me:$LINENO: checking iconv.h presence" >&5
91453 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
91454 cat >conftest.$ac_ext <<_ACEOF
91455 /* confdefs.h. */
91456 _ACEOF
91457 cat confdefs.h >>conftest.$ac_ext
91458 cat >>conftest.$ac_ext <<_ACEOF
91459 /* end confdefs.h. */
91460 #include <iconv.h>
91461 _ACEOF
91462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91464 ac_status=$?
91465 grep -v '^ *+' conftest.er1 >conftest.err
91466 rm -f conftest.er1
91467 cat conftest.err >&5
91468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91469 (exit $ac_status); } >/dev/null; then
91470 if test -s conftest.err; then
91471 ac_cpp_err=$ac_c_preproc_warn_flag
91472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91473 else
91474 ac_cpp_err=
91476 else
91477 ac_cpp_err=yes
91479 if test -z "$ac_cpp_err"; then
91480 ac_header_preproc=yes
91481 else
91482 echo "$as_me: failed program was:" >&5
91483 sed 's/^/| /' conftest.$ac_ext >&5
91485 ac_header_preproc=no
91487 rm -f conftest.err conftest.$ac_ext
91488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91489 echo "${ECHO_T}$ac_header_preproc" >&6
91491 # So? What about this header?
91492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91493 yes:no: )
91494 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
91495 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91496 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
91497 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
91498 ac_header_preproc=yes
91500 no:yes:* )
91501 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
91502 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
91503 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
91504 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
91505 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
91506 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
91507 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
91508 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
91509 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
91510 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
91511 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
91512 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
91514 cat <<\_ASBOX
91515 ## ----------------------------------------- ##
91516 ## Report this to the package-unused lists. ##
91517 ## ----------------------------------------- ##
91518 _ASBOX
91520 sed "s/^/$as_me: WARNING: /" >&2
91522 esac
91523 echo "$as_me:$LINENO: checking for iconv.h" >&5
91524 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91525 if test "${ac_cv_header_iconv_h+set}" = set; then
91526 echo $ECHO_N "(cached) $ECHO_C" >&6
91527 else
91528 ac_cv_header_iconv_h=$ac_header_preproc
91530 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91531 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91534 if test $ac_cv_header_iconv_h = yes; then
91535 ac_has_iconv_h=yes
91536 else
91537 ac_has_iconv_h=no
91541 if test "${ac_cv_header_langinfo_h+set}" = set; then
91542 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91543 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91544 if test "${ac_cv_header_langinfo_h+set}" = set; then
91545 echo $ECHO_N "(cached) $ECHO_C" >&6
91547 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91548 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91549 else
91550 # Is the header compilable?
91551 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
91552 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
91553 cat >conftest.$ac_ext <<_ACEOF
91554 /* confdefs.h. */
91555 _ACEOF
91556 cat confdefs.h >>conftest.$ac_ext
91557 cat >>conftest.$ac_ext <<_ACEOF
91558 /* end confdefs.h. */
91559 $ac_includes_default
91560 #include <langinfo.h>
91561 _ACEOF
91562 rm -f conftest.$ac_objext
91563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91564 (eval $ac_compile) 2>conftest.er1
91565 ac_status=$?
91566 grep -v '^ *+' conftest.er1 >conftest.err
91567 rm -f conftest.er1
91568 cat conftest.err >&5
91569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91570 (exit $ac_status); } &&
91571 { ac_try='test -z "$ac_c_werror_flag"
91572 || test ! -s conftest.err'
91573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91574 (eval $ac_try) 2>&5
91575 ac_status=$?
91576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91577 (exit $ac_status); }; } &&
91578 { ac_try='test -s conftest.$ac_objext'
91579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91580 (eval $ac_try) 2>&5
91581 ac_status=$?
91582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91583 (exit $ac_status); }; }; then
91584 ac_header_compiler=yes
91585 else
91586 echo "$as_me: failed program was:" >&5
91587 sed 's/^/| /' conftest.$ac_ext >&5
91589 ac_header_compiler=no
91591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91593 echo "${ECHO_T}$ac_header_compiler" >&6
91595 # Is the header present?
91596 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
91597 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
91598 cat >conftest.$ac_ext <<_ACEOF
91599 /* confdefs.h. */
91600 _ACEOF
91601 cat confdefs.h >>conftest.$ac_ext
91602 cat >>conftest.$ac_ext <<_ACEOF
91603 /* end confdefs.h. */
91604 #include <langinfo.h>
91605 _ACEOF
91606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91608 ac_status=$?
91609 grep -v '^ *+' conftest.er1 >conftest.err
91610 rm -f conftest.er1
91611 cat conftest.err >&5
91612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91613 (exit $ac_status); } >/dev/null; then
91614 if test -s conftest.err; then
91615 ac_cpp_err=$ac_c_preproc_warn_flag
91616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91617 else
91618 ac_cpp_err=
91620 else
91621 ac_cpp_err=yes
91623 if test -z "$ac_cpp_err"; then
91624 ac_header_preproc=yes
91625 else
91626 echo "$as_me: failed program was:" >&5
91627 sed 's/^/| /' conftest.$ac_ext >&5
91629 ac_header_preproc=no
91631 rm -f conftest.err conftest.$ac_ext
91632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91633 echo "${ECHO_T}$ac_header_preproc" >&6
91635 # So? What about this header?
91636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91637 yes:no: )
91638 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
91639 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91640 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
91641 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
91642 ac_header_preproc=yes
91644 no:yes:* )
91645 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
91646 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
91647 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
91648 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
91649 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
91650 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
91651 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
91652 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
91653 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
91654 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
91655 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
91656 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
91658 cat <<\_ASBOX
91659 ## ----------------------------------------- ##
91660 ## Report this to the package-unused lists. ##
91661 ## ----------------------------------------- ##
91662 _ASBOX
91664 sed "s/^/$as_me: WARNING: /" >&2
91666 esac
91667 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91668 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91669 if test "${ac_cv_header_langinfo_h+set}" = set; then
91670 echo $ECHO_N "(cached) $ECHO_C" >&6
91671 else
91672 ac_cv_header_langinfo_h=$ac_header_preproc
91674 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91675 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91678 if test $ac_cv_header_langinfo_h = yes; then
91679 ac_has_langinfo_h=yes
91680 else
91681 ac_has_langinfo_h=no
91686 # Check for existence of libiconv.a providing XPG2 wchar_t support.
91687 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
91688 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
91689 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
91690 echo $ECHO_N "(cached) $ECHO_C" >&6
91691 else
91692 ac_check_lib_save_LIBS=$LIBS
91693 LIBS="-liconv $LIBS"
91694 if test x$gcc_no_link = xyes; then
91695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91697 { (exit 1); exit 1; }; }
91699 cat >conftest.$ac_ext <<_ACEOF
91700 /* confdefs.h. */
91701 _ACEOF
91702 cat confdefs.h >>conftest.$ac_ext
91703 cat >>conftest.$ac_ext <<_ACEOF
91704 /* end confdefs.h. */
91706 /* Override any gcc2 internal prototype to avoid an error. */
91707 #ifdef __cplusplus
91708 extern "C"
91709 #endif
91710 /* We use char because int might match the return type of a gcc2
91711 builtin and then its argument prototype would still apply. */
91712 char iconv ();
91714 main ()
91716 iconv ();
91718 return 0;
91720 _ACEOF
91721 rm -f conftest.$ac_objext conftest$ac_exeext
91722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91723 (eval $ac_link) 2>conftest.er1
91724 ac_status=$?
91725 grep -v '^ *+' conftest.er1 >conftest.err
91726 rm -f conftest.er1
91727 cat conftest.err >&5
91728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91729 (exit $ac_status); } &&
91730 { ac_try='test -z "$ac_c_werror_flag"
91731 || test ! -s conftest.err'
91732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91733 (eval $ac_try) 2>&5
91734 ac_status=$?
91735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91736 (exit $ac_status); }; } &&
91737 { ac_try='test -s conftest$ac_exeext'
91738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91739 (eval $ac_try) 2>&5
91740 ac_status=$?
91741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91742 (exit $ac_status); }; }; then
91743 ac_cv_lib_iconv_iconv=yes
91744 else
91745 echo "$as_me: failed program was:" >&5
91746 sed 's/^/| /' conftest.$ac_ext >&5
91748 ac_cv_lib_iconv_iconv=no
91750 rm -f conftest.err conftest.$ac_objext \
91751 conftest$ac_exeext conftest.$ac_ext
91752 LIBS=$ac_check_lib_save_LIBS
91754 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
91755 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
91756 if test $ac_cv_lib_iconv_iconv = yes; then
91757 LIBICONV="-liconv"
91760 ac_save_LIBS="$LIBS"
91761 LIBS="$LIBS $LIBICONV"
91768 for ac_func in iconv_open iconv_close iconv nl_langinfo
91770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91771 echo "$as_me:$LINENO: checking for $ac_func" >&5
91772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91773 if eval "test \"\${$as_ac_var+set}\" = set"; then
91774 echo $ECHO_N "(cached) $ECHO_C" >&6
91775 else
91776 if test x$gcc_no_link = xyes; then
91777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91779 { (exit 1); exit 1; }; }
91781 cat >conftest.$ac_ext <<_ACEOF
91782 /* confdefs.h. */
91783 _ACEOF
91784 cat confdefs.h >>conftest.$ac_ext
91785 cat >>conftest.$ac_ext <<_ACEOF
91786 /* end confdefs.h. */
91787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91789 #define $ac_func innocuous_$ac_func
91791 /* System header to define __stub macros and hopefully few prototypes,
91792 which can conflict with char $ac_func (); below.
91793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91794 <limits.h> exists even on freestanding compilers. */
91796 #ifdef __STDC__
91797 # include <limits.h>
91798 #else
91799 # include <assert.h>
91800 #endif
91802 #undef $ac_func
91804 /* Override any gcc2 internal prototype to avoid an error. */
91805 #ifdef __cplusplus
91806 extern "C"
91808 #endif
91809 /* We use char because int might match the return type of a gcc2
91810 builtin and then its argument prototype would still apply. */
91811 char $ac_func ();
91812 /* The GNU C library defines this for functions which it implements
91813 to always fail with ENOSYS. Some functions are actually named
91814 something starting with __ and the normal name is an alias. */
91815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91816 choke me
91817 #else
91818 char (*f) () = $ac_func;
91819 #endif
91820 #ifdef __cplusplus
91822 #endif
91825 main ()
91827 return f != $ac_func;
91829 return 0;
91831 _ACEOF
91832 rm -f conftest.$ac_objext conftest$ac_exeext
91833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91834 (eval $ac_link) 2>conftest.er1
91835 ac_status=$?
91836 grep -v '^ *+' conftest.er1 >conftest.err
91837 rm -f conftest.er1
91838 cat conftest.err >&5
91839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91840 (exit $ac_status); } &&
91841 { ac_try='test -z "$ac_c_werror_flag"
91842 || test ! -s conftest.err'
91843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91844 (eval $ac_try) 2>&5
91845 ac_status=$?
91846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91847 (exit $ac_status); }; } &&
91848 { ac_try='test -s conftest$ac_exeext'
91849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91850 (eval $ac_try) 2>&5
91851 ac_status=$?
91852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91853 (exit $ac_status); }; }; then
91854 eval "$as_ac_var=yes"
91855 else
91856 echo "$as_me: failed program was:" >&5
91857 sed 's/^/| /' conftest.$ac_ext >&5
91859 eval "$as_ac_var=no"
91861 rm -f conftest.err conftest.$ac_objext \
91862 conftest$ac_exeext conftest.$ac_ext
91864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91866 if test `eval echo '${'$as_ac_var'}'` = yes; then
91867 cat >>confdefs.h <<_ACEOF
91868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91869 _ACEOF
91870 ac_XPG2funcs=yes
91871 else
91872 ac_XPG2funcs=no
91874 done
91877 LIBS="$ac_save_LIBS"
91879 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
91880 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
91881 if test x"$ac_has_iconv_h" = xyes &&
91882 test x"$ac_has_langinfo_h" = xyes &&
91883 test x"$ac_XPG2funcs" = xyes;
91884 then
91885 ac_XPG2_wchar_t=yes
91886 else
91887 ac_XPG2_wchar_t=no
91889 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
91890 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
91892 # At the moment, only enable wchar_t specializations if all the
91893 # above support is present.
91894 if test x"$ac_isoC99_wchar_t" = xyes &&
91895 test x"$ac_XPG2_wchar_t" = xyes;
91896 then
91897 cat >>confdefs.h <<\_ACEOF
91898 #define _GLIBCXX_USE_WCHAR_T 1
91899 _ACEOF
91901 enable_wchar_t=yes
91904 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
91905 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
91906 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
91907 echo "${ECHO_T}$enable_wchar_t" >&6
91909 cat >>confdefs.h <<\_ACEOF
91910 #define HAVE_COSF 1
91911 _ACEOF
91913 cat >>confdefs.h <<\_ACEOF
91914 #define HAVE_COSL 1
91915 _ACEOF
91917 cat >>confdefs.h <<\_ACEOF
91918 #define HAVE_COSHF 1
91919 _ACEOF
91921 cat >>confdefs.h <<\_ACEOF
91922 #define HAVE_COSHL 1
91923 _ACEOF
91925 cat >>confdefs.h <<\_ACEOF
91926 #define HAVE_LOGF 1
91927 _ACEOF
91929 cat >>confdefs.h <<\_ACEOF
91930 #define HAVE_LOGL 1
91931 _ACEOF
91933 cat >>confdefs.h <<\_ACEOF
91934 #define HAVE_LOG10F 1
91935 _ACEOF
91937 cat >>confdefs.h <<\_ACEOF
91938 #define HAVE_LOG10L 1
91939 _ACEOF
91941 cat >>confdefs.h <<\_ACEOF
91942 #define HAVE_SINF 1
91943 _ACEOF
91945 cat >>confdefs.h <<\_ACEOF
91946 #define HAVE_SINL 1
91947 _ACEOF
91949 cat >>confdefs.h <<\_ACEOF
91950 #define HAVE_SINHF 1
91951 _ACEOF
91953 cat >>confdefs.h <<\_ACEOF
91954 #define HAVE_SINHL 1
91955 _ACEOF
91958 *-solaris*)
91959 case "$target" in
91960 # *-solaris2.5)
91961 # os_include_dir="os/solaris/solaris2.5"
91962 # ;;
91963 # *-solaris2.6)
91964 # os_include_dir="os/solaris/solaris2.6"
91965 # ;;
91966 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
91967 cat >>confdefs.h <<\_ACEOF
91968 #define HAVE_GETPAGESIZE 1
91969 _ACEOF
91971 cat >>confdefs.h <<\_ACEOF
91972 #define HAVE_SIGSETJMP 1
91973 _ACEOF
91975 cat >>confdefs.h <<\_ACEOF
91976 #define HAVE_MBSTATE_T 1
91977 _ACEOF
91979 cat >>confdefs.h <<\_ACEOF
91980 #define HAVE_POLL 1
91981 _ACEOF
91983 cat >>confdefs.h <<\_ACEOF
91984 #define HAVE_S_ISREG 1
91985 _ACEOF
91987 cat >>confdefs.h <<\_ACEOF
91988 #define HAVE_LC_MESSAGES 1
91989 _ACEOF
91991 cat >>confdefs.h <<\_ACEOF
91992 #define HAVE_BTOWC 1
91993 _ACEOF
91995 cat >>confdefs.h <<\_ACEOF
91996 #define HAVE_FGETWC 1
91997 _ACEOF
91999 cat >>confdefs.h <<\_ACEOF
92000 #define HAVE_FGETWS 1
92001 _ACEOF
92003 cat >>confdefs.h <<\_ACEOF
92004 #define HAVE_FINITE 1
92005 _ACEOF
92007 cat >>confdefs.h <<\_ACEOF
92008 #define HAVE_FPCLASS 1
92009 _ACEOF
92011 cat >>confdefs.h <<\_ACEOF
92012 #define HAVE_FPUTWC 1
92013 _ACEOF
92015 cat >>confdefs.h <<\_ACEOF
92016 #define HAVE_FPUTWS 1
92017 _ACEOF
92019 cat >>confdefs.h <<\_ACEOF
92020 #define HAVE_FWIDE 1
92021 _ACEOF
92023 cat >>confdefs.h <<\_ACEOF
92024 #define HAVE_FWPRINTF 1
92025 _ACEOF
92027 cat >>confdefs.h <<\_ACEOF
92028 #define HAVE_FWSCANF 1
92029 _ACEOF
92031 cat >>confdefs.h <<\_ACEOF
92032 #define HAVE_GETPAGESIZE 1
92033 _ACEOF
92035 cat >>confdefs.h <<\_ACEOF
92036 #define HAVE_GETWC 1
92037 _ACEOF
92039 cat >>confdefs.h <<\_ACEOF
92040 #define HAVE_GETWCHAR 1
92041 _ACEOF
92043 cat >>confdefs.h <<\_ACEOF
92044 #define HAVE_MBRLEN 1
92045 _ACEOF
92047 cat >>confdefs.h <<\_ACEOF
92048 #define HAVE_MBRTOWC 1
92049 _ACEOF
92051 cat >>confdefs.h <<\_ACEOF
92052 #define HAVE_MBSINIT 1
92053 _ACEOF
92055 cat >>confdefs.h <<\_ACEOF
92056 #define HAVE_MBSRTOWCS 1
92057 _ACEOF
92059 cat >>confdefs.h <<\_ACEOF
92060 #define HAVE_NL_LANGINFO 1
92061 _ACEOF
92063 cat >>confdefs.h <<\_ACEOF
92064 #define HAVE_PUTWC 1
92065 _ACEOF
92067 cat >>confdefs.h <<\_ACEOF
92068 #define HAVE_PUTWCHAR 1
92069 _ACEOF
92071 cat >>confdefs.h <<\_ACEOF
92072 #define HAVE_SWPRINTF 1
92073 _ACEOF
92075 cat >>confdefs.h <<\_ACEOF
92076 #define HAVE_SWSCANF 1
92077 _ACEOF
92079 cat >>confdefs.h <<\_ACEOF
92080 #define HAVE_UNGETWC 1
92081 _ACEOF
92083 cat >>confdefs.h <<\_ACEOF
92084 #define HAVE_VFWPRINTF 1
92085 _ACEOF
92087 cat >>confdefs.h <<\_ACEOF
92088 #define HAVE_VSWPRINTF 1
92089 _ACEOF
92091 cat >>confdefs.h <<\_ACEOF
92092 #define HAVE_VWPRINTF 1
92093 _ACEOF
92095 cat >>confdefs.h <<\_ACEOF
92096 #define HAVE_WCRTOMB 1
92097 _ACEOF
92099 cat >>confdefs.h <<\_ACEOF
92100 #define HAVE_WCSCAT 1
92101 _ACEOF
92103 cat >>confdefs.h <<\_ACEOF
92104 #define HAVE_WCSCHR 1
92105 _ACEOF
92107 cat >>confdefs.h <<\_ACEOF
92108 #define HAVE_WCSCMP 1
92109 _ACEOF
92111 cat >>confdefs.h <<\_ACEOF
92112 #define HAVE_WCSCOLL 1
92113 _ACEOF
92115 cat >>confdefs.h <<\_ACEOF
92116 #define HAVE_WCSCPY 1
92117 _ACEOF
92119 cat >>confdefs.h <<\_ACEOF
92120 #define HAVE_WCSCSPN 1
92121 _ACEOF
92123 cat >>confdefs.h <<\_ACEOF
92124 #define HAVE_WCSFTIME 1
92125 _ACEOF
92127 cat >>confdefs.h <<\_ACEOF
92128 #define HAVE_WCSLEN 1
92129 _ACEOF
92131 cat >>confdefs.h <<\_ACEOF
92132 #define HAVE_WCSNCAT 1
92133 _ACEOF
92135 cat >>confdefs.h <<\_ACEOF
92136 #define HAVE_WCSNCMP 1
92137 _ACEOF
92139 cat >>confdefs.h <<\_ACEOF
92140 #define HAVE_WCSNCPY 1
92141 _ACEOF
92143 cat >>confdefs.h <<\_ACEOF
92144 #define HAVE_WCSPBRK 1
92145 _ACEOF
92147 cat >>confdefs.h <<\_ACEOF
92148 #define HAVE_WCSRCHR 1
92149 _ACEOF
92151 cat >>confdefs.h <<\_ACEOF
92152 #define HAVE_WCSRTOMBS 1
92153 _ACEOF
92155 cat >>confdefs.h <<\_ACEOF
92156 #define HAVE_WCSSPN 1
92157 _ACEOF
92159 cat >>confdefs.h <<\_ACEOF
92160 #define HAVE_WCSSTR 1
92161 _ACEOF
92163 cat >>confdefs.h <<\_ACEOF
92164 #define HAVE_WCSTOD 1
92165 _ACEOF
92167 cat >>confdefs.h <<\_ACEOF
92168 #define HAVE_WCSTOK 1
92169 _ACEOF
92171 cat >>confdefs.h <<\_ACEOF
92172 #define HAVE_WCSTOL 1
92173 _ACEOF
92175 cat >>confdefs.h <<\_ACEOF
92176 #define HAVE_WCSTOUL 1
92177 _ACEOF
92179 cat >>confdefs.h <<\_ACEOF
92180 #define HAVE_WCSXFRM 1
92181 _ACEOF
92183 cat >>confdefs.h <<\_ACEOF
92184 #define HAVE_WCTOB 1
92185 _ACEOF
92187 cat >>confdefs.h <<\_ACEOF
92188 #define HAVE_WMEMCHR 1
92189 _ACEOF
92191 cat >>confdefs.h <<\_ACEOF
92192 #define HAVE_WMEMCMP 1
92193 _ACEOF
92195 cat >>confdefs.h <<\_ACEOF
92196 #define HAVE_WMEMCPY 1
92197 _ACEOF
92199 cat >>confdefs.h <<\_ACEOF
92200 #define HAVE_WMEMMOVE 1
92201 _ACEOF
92203 cat >>confdefs.h <<\_ACEOF
92204 #define HAVE_WMEMSET 1
92205 _ACEOF
92207 cat >>confdefs.h <<\_ACEOF
92208 #define HAVE_WPRINTF 1
92209 _ACEOF
92211 cat >>confdefs.h <<\_ACEOF
92212 #define HAVE_WSCANF 1
92213 _ACEOF
92215 cat >>confdefs.h <<\_ACEOF
92216 #define HAVE_ICONV 1
92217 _ACEOF
92219 cat >>confdefs.h <<\_ACEOF
92220 #define HAVE_ICONV_CLOSE 1
92221 _ACEOF
92223 cat >>confdefs.h <<\_ACEOF
92224 #define HAVE_ICONV_OPEN 1
92225 _ACEOF
92227 # Look for the pieces required for wchar_t support in order to
92228 # get all the right HAVE_* macros defined.
92230 # Test wchar.h for mbstate_t, which is needed for char_traits and
92231 # others even if wchar_t support is not on.
92232 echo "$as_me:$LINENO: checking for mbstate_t" >&5
92233 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
92234 cat >conftest.$ac_ext <<_ACEOF
92235 /* confdefs.h. */
92236 _ACEOF
92237 cat confdefs.h >>conftest.$ac_ext
92238 cat >>conftest.$ac_ext <<_ACEOF
92239 /* end confdefs.h. */
92240 #include <wchar.h>
92242 main ()
92244 mbstate_t teststate;
92246 return 0;
92248 _ACEOF
92249 rm -f conftest.$ac_objext
92250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92251 (eval $ac_compile) 2>conftest.er1
92252 ac_status=$?
92253 grep -v '^ *+' conftest.er1 >conftest.err
92254 rm -f conftest.er1
92255 cat conftest.err >&5
92256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92257 (exit $ac_status); } &&
92258 { ac_try='test -z "$ac_c_werror_flag"
92259 || test ! -s conftest.err'
92260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92261 (eval $ac_try) 2>&5
92262 ac_status=$?
92263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92264 (exit $ac_status); }; } &&
92265 { ac_try='test -s conftest.$ac_objext'
92266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92267 (eval $ac_try) 2>&5
92268 ac_status=$?
92269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92270 (exit $ac_status); }; }; then
92271 have_mbstate_t=yes
92272 else
92273 echo "$as_me: failed program was:" >&5
92274 sed 's/^/| /' conftest.$ac_ext >&5
92276 have_mbstate_t=no
92278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92279 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
92280 echo "${ECHO_T}$have_mbstate_t" >&6
92281 if test x"$have_mbstate_t" = xyes; then
92282 cat >>confdefs.h <<\_ACEOF
92283 #define HAVE_MBSTATE_T 1
92284 _ACEOF
92288 # Sanity check for existence of ISO C99 headers for extended encoding.
92290 for ac_header in wchar.h
92292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92294 echo "$as_me:$LINENO: checking for $ac_header" >&5
92295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92297 echo $ECHO_N "(cached) $ECHO_C" >&6
92299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92301 else
92302 # Is the header compilable?
92303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92305 cat >conftest.$ac_ext <<_ACEOF
92306 /* confdefs.h. */
92307 _ACEOF
92308 cat confdefs.h >>conftest.$ac_ext
92309 cat >>conftest.$ac_ext <<_ACEOF
92310 /* end confdefs.h. */
92311 $ac_includes_default
92312 #include <$ac_header>
92313 _ACEOF
92314 rm -f conftest.$ac_objext
92315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92316 (eval $ac_compile) 2>conftest.er1
92317 ac_status=$?
92318 grep -v '^ *+' conftest.er1 >conftest.err
92319 rm -f conftest.er1
92320 cat conftest.err >&5
92321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92322 (exit $ac_status); } &&
92323 { ac_try='test -z "$ac_c_werror_flag"
92324 || test ! -s conftest.err'
92325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92326 (eval $ac_try) 2>&5
92327 ac_status=$?
92328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92329 (exit $ac_status); }; } &&
92330 { ac_try='test -s conftest.$ac_objext'
92331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92332 (eval $ac_try) 2>&5
92333 ac_status=$?
92334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92335 (exit $ac_status); }; }; then
92336 ac_header_compiler=yes
92337 else
92338 echo "$as_me: failed program was:" >&5
92339 sed 's/^/| /' conftest.$ac_ext >&5
92341 ac_header_compiler=no
92343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92345 echo "${ECHO_T}$ac_header_compiler" >&6
92347 # Is the header present?
92348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92350 cat >conftest.$ac_ext <<_ACEOF
92351 /* confdefs.h. */
92352 _ACEOF
92353 cat confdefs.h >>conftest.$ac_ext
92354 cat >>conftest.$ac_ext <<_ACEOF
92355 /* end confdefs.h. */
92356 #include <$ac_header>
92357 _ACEOF
92358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92360 ac_status=$?
92361 grep -v '^ *+' conftest.er1 >conftest.err
92362 rm -f conftest.er1
92363 cat conftest.err >&5
92364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92365 (exit $ac_status); } >/dev/null; then
92366 if test -s conftest.err; then
92367 ac_cpp_err=$ac_c_preproc_warn_flag
92368 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92369 else
92370 ac_cpp_err=
92372 else
92373 ac_cpp_err=yes
92375 if test -z "$ac_cpp_err"; then
92376 ac_header_preproc=yes
92377 else
92378 echo "$as_me: failed program was:" >&5
92379 sed 's/^/| /' conftest.$ac_ext >&5
92381 ac_header_preproc=no
92383 rm -f conftest.err conftest.$ac_ext
92384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92385 echo "${ECHO_T}$ac_header_preproc" >&6
92387 # So? What about this header?
92388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92389 yes:no: )
92390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92394 ac_header_preproc=yes
92396 no:yes:* )
92397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92410 cat <<\_ASBOX
92411 ## ----------------------------------------- ##
92412 ## Report this to the package-unused lists. ##
92413 ## ----------------------------------------- ##
92414 _ASBOX
92416 sed "s/^/$as_me: WARNING: /" >&2
92418 esac
92419 echo "$as_me:$LINENO: checking for $ac_header" >&5
92420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92422 echo $ECHO_N "(cached) $ECHO_C" >&6
92423 else
92424 eval "$as_ac_Header=\$ac_header_preproc"
92426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92431 cat >>confdefs.h <<_ACEOF
92432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92433 _ACEOF
92434 ac_has_wchar_h=yes
92435 else
92436 ac_has_wchar_h=no
92439 done
92442 for ac_header in wctype.h
92444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92446 echo "$as_me:$LINENO: checking for $ac_header" >&5
92447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92449 echo $ECHO_N "(cached) $ECHO_C" >&6
92451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92453 else
92454 # Is the header compilable?
92455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92457 cat >conftest.$ac_ext <<_ACEOF
92458 /* confdefs.h. */
92459 _ACEOF
92460 cat confdefs.h >>conftest.$ac_ext
92461 cat >>conftest.$ac_ext <<_ACEOF
92462 /* end confdefs.h. */
92463 $ac_includes_default
92464 #include <$ac_header>
92465 _ACEOF
92466 rm -f conftest.$ac_objext
92467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92468 (eval $ac_compile) 2>conftest.er1
92469 ac_status=$?
92470 grep -v '^ *+' conftest.er1 >conftest.err
92471 rm -f conftest.er1
92472 cat conftest.err >&5
92473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92474 (exit $ac_status); } &&
92475 { ac_try='test -z "$ac_c_werror_flag"
92476 || test ! -s conftest.err'
92477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92478 (eval $ac_try) 2>&5
92479 ac_status=$?
92480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92481 (exit $ac_status); }; } &&
92482 { ac_try='test -s conftest.$ac_objext'
92483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92484 (eval $ac_try) 2>&5
92485 ac_status=$?
92486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92487 (exit $ac_status); }; }; then
92488 ac_header_compiler=yes
92489 else
92490 echo "$as_me: failed program was:" >&5
92491 sed 's/^/| /' conftest.$ac_ext >&5
92493 ac_header_compiler=no
92495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92497 echo "${ECHO_T}$ac_header_compiler" >&6
92499 # Is the header present?
92500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92502 cat >conftest.$ac_ext <<_ACEOF
92503 /* confdefs.h. */
92504 _ACEOF
92505 cat confdefs.h >>conftest.$ac_ext
92506 cat >>conftest.$ac_ext <<_ACEOF
92507 /* end confdefs.h. */
92508 #include <$ac_header>
92509 _ACEOF
92510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92512 ac_status=$?
92513 grep -v '^ *+' conftest.er1 >conftest.err
92514 rm -f conftest.er1
92515 cat conftest.err >&5
92516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92517 (exit $ac_status); } >/dev/null; then
92518 if test -s conftest.err; then
92519 ac_cpp_err=$ac_c_preproc_warn_flag
92520 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92521 else
92522 ac_cpp_err=
92524 else
92525 ac_cpp_err=yes
92527 if test -z "$ac_cpp_err"; then
92528 ac_header_preproc=yes
92529 else
92530 echo "$as_me: failed program was:" >&5
92531 sed 's/^/| /' conftest.$ac_ext >&5
92533 ac_header_preproc=no
92535 rm -f conftest.err conftest.$ac_ext
92536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92537 echo "${ECHO_T}$ac_header_preproc" >&6
92539 # So? What about this header?
92540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92541 yes:no: )
92542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92546 ac_header_preproc=yes
92548 no:yes:* )
92549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92562 cat <<\_ASBOX
92563 ## ----------------------------------------- ##
92564 ## Report this to the package-unused lists. ##
92565 ## ----------------------------------------- ##
92566 _ASBOX
92568 sed "s/^/$as_me: WARNING: /" >&2
92570 esac
92571 echo "$as_me:$LINENO: checking for $ac_header" >&5
92572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92574 echo $ECHO_N "(cached) $ECHO_C" >&6
92575 else
92576 eval "$as_ac_Header=\$ac_header_preproc"
92578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92583 cat >>confdefs.h <<_ACEOF
92584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92585 _ACEOF
92586 ac_has_wctype_h=yes
92587 else
92588 ac_has_wctype_h=no
92591 done
92594 # Only continue checking if the ISO C99 headers exist and support is on.
92595 if test x"$ac_has_wchar_h" = xyes &&
92596 test x"$ac_has_wctype_h" = xyes &&
92597 test x"$enable_c_mbchar" != xno; then
92599 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92600 # numeric_limits can instantiate type_traits<wchar_t>
92601 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92602 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92603 cat >conftest.$ac_ext <<_ACEOF
92604 /* confdefs.h. */
92605 _ACEOF
92606 cat confdefs.h >>conftest.$ac_ext
92607 cat >>conftest.$ac_ext <<_ACEOF
92608 /* end confdefs.h. */
92609 #include <wchar.h>
92611 main ()
92613 int i = WCHAR_MIN; int j = WCHAR_MAX;
92615 return 0;
92617 _ACEOF
92618 rm -f conftest.$ac_objext
92619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92620 (eval $ac_compile) 2>conftest.er1
92621 ac_status=$?
92622 grep -v '^ *+' conftest.er1 >conftest.err
92623 rm -f conftest.er1
92624 cat conftest.err >&5
92625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92626 (exit $ac_status); } &&
92627 { ac_try='test -z "$ac_c_werror_flag"
92628 || test ! -s conftest.err'
92629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92630 (eval $ac_try) 2>&5
92631 ac_status=$?
92632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92633 (exit $ac_status); }; } &&
92634 { ac_try='test -s conftest.$ac_objext'
92635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92636 (eval $ac_try) 2>&5
92637 ac_status=$?
92638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92639 (exit $ac_status); }; }; then
92640 has_wchar_minmax=yes
92641 else
92642 echo "$as_me: failed program was:" >&5
92643 sed 's/^/| /' conftest.$ac_ext >&5
92645 has_wchar_minmax=no
92647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92648 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92649 echo "${ECHO_T}$has_wchar_minmax" >&6
92651 # Test wchar.h for WEOF, which is what we use to determine whether
92652 # to specialize for char_traits<wchar_t> or not.
92653 echo "$as_me:$LINENO: checking for WEOF" >&5
92654 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92655 cat >conftest.$ac_ext <<_ACEOF
92656 /* confdefs.h. */
92657 _ACEOF
92658 cat confdefs.h >>conftest.$ac_ext
92659 cat >>conftest.$ac_ext <<_ACEOF
92660 /* end confdefs.h. */
92662 #include <wchar.h>
92663 #include <stddef.h>
92665 main ()
92667 wint_t i = WEOF;
92669 return 0;
92671 _ACEOF
92672 rm -f conftest.$ac_objext
92673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92674 (eval $ac_compile) 2>conftest.er1
92675 ac_status=$?
92676 grep -v '^ *+' conftest.er1 >conftest.err
92677 rm -f conftest.er1
92678 cat conftest.err >&5
92679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92680 (exit $ac_status); } &&
92681 { ac_try='test -z "$ac_c_werror_flag"
92682 || test ! -s conftest.err'
92683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92684 (eval $ac_try) 2>&5
92685 ac_status=$?
92686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92687 (exit $ac_status); }; } &&
92688 { ac_try='test -s conftest.$ac_objext'
92689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92690 (eval $ac_try) 2>&5
92691 ac_status=$?
92692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92693 (exit $ac_status); }; }; then
92694 has_weof=yes
92695 else
92696 echo "$as_me: failed program was:" >&5
92697 sed 's/^/| /' conftest.$ac_ext >&5
92699 has_weof=no
92701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92702 echo "$as_me:$LINENO: result: $has_weof" >&5
92703 echo "${ECHO_T}$has_weof" >&6
92705 # Tests for wide character functions used in char_traits<wchar_t>.
92706 ac_wfuncs=yes
92713 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92716 echo "$as_me:$LINENO: checking for $ac_func" >&5
92717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92718 if eval "test \"\${$as_ac_var+set}\" = set"; then
92719 echo $ECHO_N "(cached) $ECHO_C" >&6
92720 else
92721 if test x$gcc_no_link = xyes; then
92722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92724 { (exit 1); exit 1; }; }
92726 cat >conftest.$ac_ext <<_ACEOF
92727 /* confdefs.h. */
92728 _ACEOF
92729 cat confdefs.h >>conftest.$ac_ext
92730 cat >>conftest.$ac_ext <<_ACEOF
92731 /* end confdefs.h. */
92732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92734 #define $ac_func innocuous_$ac_func
92736 /* System header to define __stub macros and hopefully few prototypes,
92737 which can conflict with char $ac_func (); below.
92738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92739 <limits.h> exists even on freestanding compilers. */
92741 #ifdef __STDC__
92742 # include <limits.h>
92743 #else
92744 # include <assert.h>
92745 #endif
92747 #undef $ac_func
92749 /* Override any gcc2 internal prototype to avoid an error. */
92750 #ifdef __cplusplus
92751 extern "C"
92753 #endif
92754 /* We use char because int might match the return type of a gcc2
92755 builtin and then its argument prototype would still apply. */
92756 char $ac_func ();
92757 /* The GNU C library defines this for functions which it implements
92758 to always fail with ENOSYS. Some functions are actually named
92759 something starting with __ and the normal name is an alias. */
92760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92761 choke me
92762 #else
92763 char (*f) () = $ac_func;
92764 #endif
92765 #ifdef __cplusplus
92767 #endif
92770 main ()
92772 return f != $ac_func;
92774 return 0;
92776 _ACEOF
92777 rm -f conftest.$ac_objext conftest$ac_exeext
92778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92779 (eval $ac_link) 2>conftest.er1
92780 ac_status=$?
92781 grep -v '^ *+' conftest.er1 >conftest.err
92782 rm -f conftest.er1
92783 cat conftest.err >&5
92784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92785 (exit $ac_status); } &&
92786 { ac_try='test -z "$ac_c_werror_flag"
92787 || test ! -s conftest.err'
92788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92789 (eval $ac_try) 2>&5
92790 ac_status=$?
92791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92792 (exit $ac_status); }; } &&
92793 { ac_try='test -s conftest$ac_exeext'
92794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92795 (eval $ac_try) 2>&5
92796 ac_status=$?
92797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92798 (exit $ac_status); }; }; then
92799 eval "$as_ac_var=yes"
92800 else
92801 echo "$as_me: failed program was:" >&5
92802 sed 's/^/| /' conftest.$ac_ext >&5
92804 eval "$as_ac_var=no"
92806 rm -f conftest.err conftest.$ac_objext \
92807 conftest$ac_exeext conftest.$ac_ext
92809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92811 if test `eval echo '${'$as_ac_var'}'` = yes; then
92812 cat >>confdefs.h <<_ACEOF
92813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92814 _ACEOF
92816 else
92817 ac_wfuncs=no
92819 done
92822 # Checks for names injected into std:: by the c_std headers.
92869 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92870 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92871 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92872 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92873 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92874 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92877 echo "$as_me:$LINENO: checking for $ac_func" >&5
92878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92879 if eval "test \"\${$as_ac_var+set}\" = set"; then
92880 echo $ECHO_N "(cached) $ECHO_C" >&6
92881 else
92882 if test x$gcc_no_link = xyes; then
92883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92885 { (exit 1); exit 1; }; }
92887 cat >conftest.$ac_ext <<_ACEOF
92888 /* confdefs.h. */
92889 _ACEOF
92890 cat confdefs.h >>conftest.$ac_ext
92891 cat >>conftest.$ac_ext <<_ACEOF
92892 /* end confdefs.h. */
92893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92895 #define $ac_func innocuous_$ac_func
92897 /* System header to define __stub macros and hopefully few prototypes,
92898 which can conflict with char $ac_func (); below.
92899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92900 <limits.h> exists even on freestanding compilers. */
92902 #ifdef __STDC__
92903 # include <limits.h>
92904 #else
92905 # include <assert.h>
92906 #endif
92908 #undef $ac_func
92910 /* Override any gcc2 internal prototype to avoid an error. */
92911 #ifdef __cplusplus
92912 extern "C"
92914 #endif
92915 /* We use char because int might match the return type of a gcc2
92916 builtin and then its argument prototype would still apply. */
92917 char $ac_func ();
92918 /* The GNU C library defines this for functions which it implements
92919 to always fail with ENOSYS. Some functions are actually named
92920 something starting with __ and the normal name is an alias. */
92921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92922 choke me
92923 #else
92924 char (*f) () = $ac_func;
92925 #endif
92926 #ifdef __cplusplus
92928 #endif
92931 main ()
92933 return f != $ac_func;
92935 return 0;
92937 _ACEOF
92938 rm -f conftest.$ac_objext conftest$ac_exeext
92939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92940 (eval $ac_link) 2>conftest.er1
92941 ac_status=$?
92942 grep -v '^ *+' conftest.er1 >conftest.err
92943 rm -f conftest.er1
92944 cat conftest.err >&5
92945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92946 (exit $ac_status); } &&
92947 { ac_try='test -z "$ac_c_werror_flag"
92948 || test ! -s conftest.err'
92949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92950 (eval $ac_try) 2>&5
92951 ac_status=$?
92952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92953 (exit $ac_status); }; } &&
92954 { ac_try='test -s conftest$ac_exeext'
92955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92956 (eval $ac_try) 2>&5
92957 ac_status=$?
92958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92959 (exit $ac_status); }; }; then
92960 eval "$as_ac_var=yes"
92961 else
92962 echo "$as_me: failed program was:" >&5
92963 sed 's/^/| /' conftest.$ac_ext >&5
92965 eval "$as_ac_var=no"
92967 rm -f conftest.err conftest.$ac_objext \
92968 conftest$ac_exeext conftest.$ac_ext
92970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92972 if test `eval echo '${'$as_ac_var'}'` = yes; then
92973 cat >>confdefs.h <<_ACEOF
92974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92975 _ACEOF
92977 else
92978 ac_wfuncs=no
92980 done
92983 # Checks for wide character functions that are not required
92984 # for basic wchar_t support. Don't disable support if they are missing.
92985 # Injection of these is wrapped with guard macros.
92991 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
92993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92994 echo "$as_me:$LINENO: checking for $ac_func" >&5
92995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92996 if eval "test \"\${$as_ac_var+set}\" = set"; then
92997 echo $ECHO_N "(cached) $ECHO_C" >&6
92998 else
92999 if test x$gcc_no_link = xyes; then
93000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93002 { (exit 1); exit 1; }; }
93004 cat >conftest.$ac_ext <<_ACEOF
93005 /* confdefs.h. */
93006 _ACEOF
93007 cat confdefs.h >>conftest.$ac_ext
93008 cat >>conftest.$ac_ext <<_ACEOF
93009 /* end confdefs.h. */
93010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93012 #define $ac_func innocuous_$ac_func
93014 /* System header to define __stub macros and hopefully few prototypes,
93015 which can conflict with char $ac_func (); below.
93016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93017 <limits.h> exists even on freestanding compilers. */
93019 #ifdef __STDC__
93020 # include <limits.h>
93021 #else
93022 # include <assert.h>
93023 #endif
93025 #undef $ac_func
93027 /* Override any gcc2 internal prototype to avoid an error. */
93028 #ifdef __cplusplus
93029 extern "C"
93031 #endif
93032 /* We use char because int might match the return type of a gcc2
93033 builtin and then its argument prototype would still apply. */
93034 char $ac_func ();
93035 /* The GNU C library defines this for functions which it implements
93036 to always fail with ENOSYS. Some functions are actually named
93037 something starting with __ and the normal name is an alias. */
93038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93039 choke me
93040 #else
93041 char (*f) () = $ac_func;
93042 #endif
93043 #ifdef __cplusplus
93045 #endif
93048 main ()
93050 return f != $ac_func;
93052 return 0;
93054 _ACEOF
93055 rm -f conftest.$ac_objext conftest$ac_exeext
93056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93057 (eval $ac_link) 2>conftest.er1
93058 ac_status=$?
93059 grep -v '^ *+' conftest.er1 >conftest.err
93060 rm -f conftest.er1
93061 cat conftest.err >&5
93062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93063 (exit $ac_status); } &&
93064 { ac_try='test -z "$ac_c_werror_flag"
93065 || test ! -s conftest.err'
93066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93067 (eval $ac_try) 2>&5
93068 ac_status=$?
93069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93070 (exit $ac_status); }; } &&
93071 { ac_try='test -s conftest$ac_exeext'
93072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93073 (eval $ac_try) 2>&5
93074 ac_status=$?
93075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93076 (exit $ac_status); }; }; then
93077 eval "$as_ac_var=yes"
93078 else
93079 echo "$as_me: failed program was:" >&5
93080 sed 's/^/| /' conftest.$ac_ext >&5
93082 eval "$as_ac_var=no"
93084 rm -f conftest.err conftest.$ac_objext \
93085 conftest$ac_exeext conftest.$ac_ext
93087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93089 if test `eval echo '${'$as_ac_var'}'` = yes; then
93090 cat >>confdefs.h <<_ACEOF
93091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93092 _ACEOF
93095 done
93098 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
93099 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
93100 if test x"$has_weof" = xyes &&
93101 test x"$has_wchar_minmax" = xyes &&
93102 test x"$ac_wfuncs" = xyes;
93103 then
93104 ac_isoC99_wchar_t=yes
93105 else
93106 ac_isoC99_wchar_t=no
93108 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
93109 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
93111 # Use iconv for wchar_t to char conversions. As such, check for
93112 # X/Open Portability Guide, version 2 features (XPG2).
93113 if test "${ac_cv_header_iconv_h+set}" = set; then
93114 echo "$as_me:$LINENO: checking for iconv.h" >&5
93115 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93116 if test "${ac_cv_header_iconv_h+set}" = set; then
93117 echo $ECHO_N "(cached) $ECHO_C" >&6
93119 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93120 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93121 else
93122 # Is the header compilable?
93123 echo "$as_me:$LINENO: checking iconv.h usability" >&5
93124 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
93125 cat >conftest.$ac_ext <<_ACEOF
93126 /* confdefs.h. */
93127 _ACEOF
93128 cat confdefs.h >>conftest.$ac_ext
93129 cat >>conftest.$ac_ext <<_ACEOF
93130 /* end confdefs.h. */
93131 $ac_includes_default
93132 #include <iconv.h>
93133 _ACEOF
93134 rm -f conftest.$ac_objext
93135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93136 (eval $ac_compile) 2>conftest.er1
93137 ac_status=$?
93138 grep -v '^ *+' conftest.er1 >conftest.err
93139 rm -f conftest.er1
93140 cat conftest.err >&5
93141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93142 (exit $ac_status); } &&
93143 { ac_try='test -z "$ac_c_werror_flag"
93144 || test ! -s conftest.err'
93145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93146 (eval $ac_try) 2>&5
93147 ac_status=$?
93148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93149 (exit $ac_status); }; } &&
93150 { ac_try='test -s conftest.$ac_objext'
93151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93152 (eval $ac_try) 2>&5
93153 ac_status=$?
93154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93155 (exit $ac_status); }; }; then
93156 ac_header_compiler=yes
93157 else
93158 echo "$as_me: failed program was:" >&5
93159 sed 's/^/| /' conftest.$ac_ext >&5
93161 ac_header_compiler=no
93163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93165 echo "${ECHO_T}$ac_header_compiler" >&6
93167 # Is the header present?
93168 echo "$as_me:$LINENO: checking iconv.h presence" >&5
93169 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
93170 cat >conftest.$ac_ext <<_ACEOF
93171 /* confdefs.h. */
93172 _ACEOF
93173 cat confdefs.h >>conftest.$ac_ext
93174 cat >>conftest.$ac_ext <<_ACEOF
93175 /* end confdefs.h. */
93176 #include <iconv.h>
93177 _ACEOF
93178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93180 ac_status=$?
93181 grep -v '^ *+' conftest.er1 >conftest.err
93182 rm -f conftest.er1
93183 cat conftest.err >&5
93184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93185 (exit $ac_status); } >/dev/null; then
93186 if test -s conftest.err; then
93187 ac_cpp_err=$ac_c_preproc_warn_flag
93188 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93189 else
93190 ac_cpp_err=
93192 else
93193 ac_cpp_err=yes
93195 if test -z "$ac_cpp_err"; then
93196 ac_header_preproc=yes
93197 else
93198 echo "$as_me: failed program was:" >&5
93199 sed 's/^/| /' conftest.$ac_ext >&5
93201 ac_header_preproc=no
93203 rm -f conftest.err conftest.$ac_ext
93204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93205 echo "${ECHO_T}$ac_header_preproc" >&6
93207 # So? What about this header?
93208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93209 yes:no: )
93210 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
93211 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93212 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
93213 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
93214 ac_header_preproc=yes
93216 no:yes:* )
93217 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
93218 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
93219 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
93220 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
93221 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
93222 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
93223 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
93224 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
93225 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
93226 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
93227 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
93228 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
93230 cat <<\_ASBOX
93231 ## ----------------------------------------- ##
93232 ## Report this to the package-unused lists. ##
93233 ## ----------------------------------------- ##
93234 _ASBOX
93236 sed "s/^/$as_me: WARNING: /" >&2
93238 esac
93239 echo "$as_me:$LINENO: checking for iconv.h" >&5
93240 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93241 if test "${ac_cv_header_iconv_h+set}" = set; then
93242 echo $ECHO_N "(cached) $ECHO_C" >&6
93243 else
93244 ac_cv_header_iconv_h=$ac_header_preproc
93246 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93247 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93250 if test $ac_cv_header_iconv_h = yes; then
93251 ac_has_iconv_h=yes
93252 else
93253 ac_has_iconv_h=no
93257 if test "${ac_cv_header_langinfo_h+set}" = set; then
93258 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93259 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93260 if test "${ac_cv_header_langinfo_h+set}" = set; then
93261 echo $ECHO_N "(cached) $ECHO_C" >&6
93263 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93264 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93265 else
93266 # Is the header compilable?
93267 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
93268 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
93269 cat >conftest.$ac_ext <<_ACEOF
93270 /* confdefs.h. */
93271 _ACEOF
93272 cat confdefs.h >>conftest.$ac_ext
93273 cat >>conftest.$ac_ext <<_ACEOF
93274 /* end confdefs.h. */
93275 $ac_includes_default
93276 #include <langinfo.h>
93277 _ACEOF
93278 rm -f conftest.$ac_objext
93279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93280 (eval $ac_compile) 2>conftest.er1
93281 ac_status=$?
93282 grep -v '^ *+' conftest.er1 >conftest.err
93283 rm -f conftest.er1
93284 cat conftest.err >&5
93285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93286 (exit $ac_status); } &&
93287 { ac_try='test -z "$ac_c_werror_flag"
93288 || test ! -s conftest.err'
93289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93290 (eval $ac_try) 2>&5
93291 ac_status=$?
93292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93293 (exit $ac_status); }; } &&
93294 { ac_try='test -s conftest.$ac_objext'
93295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93296 (eval $ac_try) 2>&5
93297 ac_status=$?
93298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93299 (exit $ac_status); }; }; then
93300 ac_header_compiler=yes
93301 else
93302 echo "$as_me: failed program was:" >&5
93303 sed 's/^/| /' conftest.$ac_ext >&5
93305 ac_header_compiler=no
93307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93309 echo "${ECHO_T}$ac_header_compiler" >&6
93311 # Is the header present?
93312 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
93313 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
93314 cat >conftest.$ac_ext <<_ACEOF
93315 /* confdefs.h. */
93316 _ACEOF
93317 cat confdefs.h >>conftest.$ac_ext
93318 cat >>conftest.$ac_ext <<_ACEOF
93319 /* end confdefs.h. */
93320 #include <langinfo.h>
93321 _ACEOF
93322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93324 ac_status=$?
93325 grep -v '^ *+' conftest.er1 >conftest.err
93326 rm -f conftest.er1
93327 cat conftest.err >&5
93328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93329 (exit $ac_status); } >/dev/null; then
93330 if test -s conftest.err; then
93331 ac_cpp_err=$ac_c_preproc_warn_flag
93332 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93333 else
93334 ac_cpp_err=
93336 else
93337 ac_cpp_err=yes
93339 if test -z "$ac_cpp_err"; then
93340 ac_header_preproc=yes
93341 else
93342 echo "$as_me: failed program was:" >&5
93343 sed 's/^/| /' conftest.$ac_ext >&5
93345 ac_header_preproc=no
93347 rm -f conftest.err conftest.$ac_ext
93348 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93349 echo "${ECHO_T}$ac_header_preproc" >&6
93351 # So? What about this header?
93352 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93353 yes:no: )
93354 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
93355 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93356 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
93357 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
93358 ac_header_preproc=yes
93360 no:yes:* )
93361 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
93362 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
93363 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
93364 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
93365 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
93366 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
93367 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
93368 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
93369 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
93370 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
93371 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
93372 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
93374 cat <<\_ASBOX
93375 ## ----------------------------------------- ##
93376 ## Report this to the package-unused lists. ##
93377 ## ----------------------------------------- ##
93378 _ASBOX
93380 sed "s/^/$as_me: WARNING: /" >&2
93382 esac
93383 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93384 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93385 if test "${ac_cv_header_langinfo_h+set}" = set; then
93386 echo $ECHO_N "(cached) $ECHO_C" >&6
93387 else
93388 ac_cv_header_langinfo_h=$ac_header_preproc
93390 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93391 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93394 if test $ac_cv_header_langinfo_h = yes; then
93395 ac_has_langinfo_h=yes
93396 else
93397 ac_has_langinfo_h=no
93402 # Check for existence of libiconv.a providing XPG2 wchar_t support.
93403 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
93404 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
93405 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
93406 echo $ECHO_N "(cached) $ECHO_C" >&6
93407 else
93408 ac_check_lib_save_LIBS=$LIBS
93409 LIBS="-liconv $LIBS"
93410 if test x$gcc_no_link = xyes; then
93411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93413 { (exit 1); exit 1; }; }
93415 cat >conftest.$ac_ext <<_ACEOF
93416 /* confdefs.h. */
93417 _ACEOF
93418 cat confdefs.h >>conftest.$ac_ext
93419 cat >>conftest.$ac_ext <<_ACEOF
93420 /* end confdefs.h. */
93422 /* Override any gcc2 internal prototype to avoid an error. */
93423 #ifdef __cplusplus
93424 extern "C"
93425 #endif
93426 /* We use char because int might match the return type of a gcc2
93427 builtin and then its argument prototype would still apply. */
93428 char iconv ();
93430 main ()
93432 iconv ();
93434 return 0;
93436 _ACEOF
93437 rm -f conftest.$ac_objext conftest$ac_exeext
93438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93439 (eval $ac_link) 2>conftest.er1
93440 ac_status=$?
93441 grep -v '^ *+' conftest.er1 >conftest.err
93442 rm -f conftest.er1
93443 cat conftest.err >&5
93444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93445 (exit $ac_status); } &&
93446 { ac_try='test -z "$ac_c_werror_flag"
93447 || test ! -s conftest.err'
93448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93449 (eval $ac_try) 2>&5
93450 ac_status=$?
93451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93452 (exit $ac_status); }; } &&
93453 { ac_try='test -s conftest$ac_exeext'
93454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93455 (eval $ac_try) 2>&5
93456 ac_status=$?
93457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93458 (exit $ac_status); }; }; then
93459 ac_cv_lib_iconv_iconv=yes
93460 else
93461 echo "$as_me: failed program was:" >&5
93462 sed 's/^/| /' conftest.$ac_ext >&5
93464 ac_cv_lib_iconv_iconv=no
93466 rm -f conftest.err conftest.$ac_objext \
93467 conftest$ac_exeext conftest.$ac_ext
93468 LIBS=$ac_check_lib_save_LIBS
93470 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
93471 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
93472 if test $ac_cv_lib_iconv_iconv = yes; then
93473 LIBICONV="-liconv"
93476 ac_save_LIBS="$LIBS"
93477 LIBS="$LIBS $LIBICONV"
93484 for ac_func in iconv_open iconv_close iconv nl_langinfo
93486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93487 echo "$as_me:$LINENO: checking for $ac_func" >&5
93488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93489 if eval "test \"\${$as_ac_var+set}\" = set"; then
93490 echo $ECHO_N "(cached) $ECHO_C" >&6
93491 else
93492 if test x$gcc_no_link = xyes; then
93493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93495 { (exit 1); exit 1; }; }
93497 cat >conftest.$ac_ext <<_ACEOF
93498 /* confdefs.h. */
93499 _ACEOF
93500 cat confdefs.h >>conftest.$ac_ext
93501 cat >>conftest.$ac_ext <<_ACEOF
93502 /* end confdefs.h. */
93503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93505 #define $ac_func innocuous_$ac_func
93507 /* System header to define __stub macros and hopefully few prototypes,
93508 which can conflict with char $ac_func (); below.
93509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93510 <limits.h> exists even on freestanding compilers. */
93512 #ifdef __STDC__
93513 # include <limits.h>
93514 #else
93515 # include <assert.h>
93516 #endif
93518 #undef $ac_func
93520 /* Override any gcc2 internal prototype to avoid an error. */
93521 #ifdef __cplusplus
93522 extern "C"
93524 #endif
93525 /* We use char because int might match the return type of a gcc2
93526 builtin and then its argument prototype would still apply. */
93527 char $ac_func ();
93528 /* The GNU C library defines this for functions which it implements
93529 to always fail with ENOSYS. Some functions are actually named
93530 something starting with __ and the normal name is an alias. */
93531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93532 choke me
93533 #else
93534 char (*f) () = $ac_func;
93535 #endif
93536 #ifdef __cplusplus
93538 #endif
93541 main ()
93543 return f != $ac_func;
93545 return 0;
93547 _ACEOF
93548 rm -f conftest.$ac_objext conftest$ac_exeext
93549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93550 (eval $ac_link) 2>conftest.er1
93551 ac_status=$?
93552 grep -v '^ *+' conftest.er1 >conftest.err
93553 rm -f conftest.er1
93554 cat conftest.err >&5
93555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93556 (exit $ac_status); } &&
93557 { ac_try='test -z "$ac_c_werror_flag"
93558 || test ! -s conftest.err'
93559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93560 (eval $ac_try) 2>&5
93561 ac_status=$?
93562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93563 (exit $ac_status); }; } &&
93564 { ac_try='test -s conftest$ac_exeext'
93565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93566 (eval $ac_try) 2>&5
93567 ac_status=$?
93568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93569 (exit $ac_status); }; }; then
93570 eval "$as_ac_var=yes"
93571 else
93572 echo "$as_me: failed program was:" >&5
93573 sed 's/^/| /' conftest.$ac_ext >&5
93575 eval "$as_ac_var=no"
93577 rm -f conftest.err conftest.$ac_objext \
93578 conftest$ac_exeext conftest.$ac_ext
93580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93582 if test `eval echo '${'$as_ac_var'}'` = yes; then
93583 cat >>confdefs.h <<_ACEOF
93584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93585 _ACEOF
93586 ac_XPG2funcs=yes
93587 else
93588 ac_XPG2funcs=no
93590 done
93593 LIBS="$ac_save_LIBS"
93595 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93596 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93597 if test x"$ac_has_iconv_h" = xyes &&
93598 test x"$ac_has_langinfo_h" = xyes &&
93599 test x"$ac_XPG2funcs" = xyes;
93600 then
93601 ac_XPG2_wchar_t=yes
93602 else
93603 ac_XPG2_wchar_t=no
93605 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93606 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93608 # At the moment, only enable wchar_t specializations if all the
93609 # above support is present.
93610 if test x"$ac_isoC99_wchar_t" = xyes &&
93611 test x"$ac_XPG2_wchar_t" = xyes;
93612 then
93613 cat >>confdefs.h <<\_ACEOF
93614 #define _GLIBCXX_USE_WCHAR_T 1
93615 _ACEOF
93617 enable_wchar_t=yes
93620 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93621 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93622 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93623 echo "${ECHO_T}$enable_wchar_t" >&6
93625 # All of the dependencies for wide character support are here, so
93626 # turn it on. This requires some syncronization with the
93627 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
93628 cat >>confdefs.h <<\_ACEOF
93629 #define _GLIBCXX_USE_WCHAR_T 1
93630 _ACEOF
93632 # Are these tested for even when cross?
93633 cat >>confdefs.h <<\_ACEOF
93634 #define HAVE_FLOAT_H 1
93635 _ACEOF
93637 cat >>confdefs.h <<\_ACEOF
93638 #define HAVE_IEEEFP_H 1
93639 _ACEOF
93641 cat >>confdefs.h <<\_ACEOF
93642 #define HAVE_INTTYPES_H 1
93643 _ACEOF
93645 cat >>confdefs.h <<\_ACEOF
93646 #define HAVE_LOCALE_H 1
93647 _ACEOF
93649 cat >>confdefs.h <<\_ACEOF
93650 #define HAVE_NAN_H 1
93651 _ACEOF
93653 cat >>confdefs.h <<\_ACEOF
93654 #define HAVE_SYS_FILIO_H 1
93655 _ACEOF
93657 cat >>confdefs.h <<\_ACEOF
93658 #define HAVE_SYS_IOCTL_H 1
93659 _ACEOF
93661 cat >>confdefs.h <<\_ACEOF
93662 #define HAVE_SYS_ISA_DEFS_H 1
93663 _ACEOF
93665 cat >>confdefs.h <<\_ACEOF
93666 #define HAVE_SYS_RESOURCE_H 1
93667 _ACEOF
93669 cat >>confdefs.h <<\_ACEOF
93670 #define HAVE_SYS_TIME_H 1
93671 _ACEOF
93673 cat >>confdefs.h <<\_ACEOF
93674 #define HAVE_SYS_TYPES_H 1
93675 _ACEOF
93677 cat >>confdefs.h <<\_ACEOF
93678 #define HAVE_UNISTD_H 1
93679 _ACEOF
93681 cat >>confdefs.h <<\_ACEOF
93682 #define HAVE_WCHAR_H 1
93683 _ACEOF
93685 cat >>confdefs.h <<\_ACEOF
93686 #define HAVE_WCTYPE_H 1
93687 _ACEOF
93689 cat >>confdefs.h <<\_ACEOF
93690 #define HAVE_LIBM 1
93691 _ACEOF
93694 esac
93695 case "$target" in
93696 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
93697 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
93698 cat >>confdefs.h <<\_ACEOF
93699 #define HAVE___BUILTIN_ABS 1
93700 _ACEOF
93702 cat >>confdefs.h <<\_ACEOF
93703 #define HAVE___BUILTIN_LABS 1
93704 _ACEOF
93706 cat >>confdefs.h <<\_ACEOF
93707 #define HAVE___BUILTIN_FABS 1
93708 _ACEOF
93710 cat >>confdefs.h <<\_ACEOF
93711 #define HAVE___BUILTIN_FABSF 1
93712 _ACEOF
93714 cat >>confdefs.h <<\_ACEOF
93715 #define HAVE___BUILTIN_FABSL 1
93716 _ACEOF
93718 cat >>confdefs.h <<\_ACEOF
93719 #define HAVE___BUILTIN_COS 1
93720 _ACEOF
93722 cat >>confdefs.h <<\_ACEOF
93723 #define HAVE___BUILTIN_COSF 1
93724 _ACEOF
93726 cat >>confdefs.h <<\_ACEOF
93727 #define HAVE___BUILTIN_SIN 1
93728 _ACEOF
93730 cat >>confdefs.h <<\_ACEOF
93731 #define HAVE___BUILTIN_SINF 1
93732 _ACEOF
93735 esac
93736 cat >>confdefs.h <<\_ACEOF
93737 #define HAVE_STRTOF 1
93738 _ACEOF
93740 cat >>confdefs.h <<\_ACEOF
93741 #define HAVE_STRTOLD 1
93742 _ACEOF
93744 cat >>confdefs.h <<\_ACEOF
93745 #define HAVE_MMAP 1
93746 _ACEOF
93748 cat >>confdefs.h <<\_ACEOF
93749 #define HAVE_COPYSIGN 1
93750 _ACEOF
93752 cat >>confdefs.h <<\_ACEOF
93753 #define HAVE_ISNAN 1
93754 _ACEOF
93756 cat >>confdefs.h <<\_ACEOF
93757 #define HAVE_ISNANF 1
93758 _ACEOF
93760 cat >>confdefs.h <<\_ACEOF
93761 #define HAVE_MODFF 1
93762 _ACEOF
93764 cat >>confdefs.h <<\_ACEOF
93765 #define HAVE_HYPOT 1
93766 _ACEOF
93769 *-tpf)
93778 for ac_header in nan.h endian.h machine/endian.h \
93779 sys/param.h sys/types.h locale.h float.h inttypes.h
93781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93783 echo "$as_me:$LINENO: checking for $ac_header" >&5
93784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93786 echo $ECHO_N "(cached) $ECHO_C" >&6
93788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93790 else
93791 # Is the header compilable?
93792 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93794 cat >conftest.$ac_ext <<_ACEOF
93795 /* confdefs.h. */
93796 _ACEOF
93797 cat confdefs.h >>conftest.$ac_ext
93798 cat >>conftest.$ac_ext <<_ACEOF
93799 /* end confdefs.h. */
93800 $ac_includes_default
93801 #include <$ac_header>
93802 _ACEOF
93803 rm -f conftest.$ac_objext
93804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93805 (eval $ac_compile) 2>conftest.er1
93806 ac_status=$?
93807 grep -v '^ *+' conftest.er1 >conftest.err
93808 rm -f conftest.er1
93809 cat conftest.err >&5
93810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93811 (exit $ac_status); } &&
93812 { ac_try='test -z "$ac_c_werror_flag"
93813 || test ! -s conftest.err'
93814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93815 (eval $ac_try) 2>&5
93816 ac_status=$?
93817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93818 (exit $ac_status); }; } &&
93819 { ac_try='test -s conftest.$ac_objext'
93820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93821 (eval $ac_try) 2>&5
93822 ac_status=$?
93823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93824 (exit $ac_status); }; }; then
93825 ac_header_compiler=yes
93826 else
93827 echo "$as_me: failed program was:" >&5
93828 sed 's/^/| /' conftest.$ac_ext >&5
93830 ac_header_compiler=no
93832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93834 echo "${ECHO_T}$ac_header_compiler" >&6
93836 # Is the header present?
93837 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93839 cat >conftest.$ac_ext <<_ACEOF
93840 /* confdefs.h. */
93841 _ACEOF
93842 cat confdefs.h >>conftest.$ac_ext
93843 cat >>conftest.$ac_ext <<_ACEOF
93844 /* end confdefs.h. */
93845 #include <$ac_header>
93846 _ACEOF
93847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93849 ac_status=$?
93850 grep -v '^ *+' conftest.er1 >conftest.err
93851 rm -f conftest.er1
93852 cat conftest.err >&5
93853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93854 (exit $ac_status); } >/dev/null; then
93855 if test -s conftest.err; then
93856 ac_cpp_err=$ac_c_preproc_warn_flag
93857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93858 else
93859 ac_cpp_err=
93861 else
93862 ac_cpp_err=yes
93864 if test -z "$ac_cpp_err"; then
93865 ac_header_preproc=yes
93866 else
93867 echo "$as_me: failed program was:" >&5
93868 sed 's/^/| /' conftest.$ac_ext >&5
93870 ac_header_preproc=no
93872 rm -f conftest.err conftest.$ac_ext
93873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93874 echo "${ECHO_T}$ac_header_preproc" >&6
93876 # So? What about this header?
93877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93878 yes:no: )
93879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93882 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93883 ac_header_preproc=yes
93885 no:yes:* )
93886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
93889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
93890 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93891 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93892 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
93893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
93894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93899 cat <<\_ASBOX
93900 ## ----------------------------------------- ##
93901 ## Report this to the package-unused lists. ##
93902 ## ----------------------------------------- ##
93903 _ASBOX
93905 sed "s/^/$as_me: WARNING: /" >&2
93907 esac
93908 echo "$as_me:$LINENO: checking for $ac_header" >&5
93909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93911 echo $ECHO_N "(cached) $ECHO_C" >&6
93912 else
93913 eval "$as_ac_Header=\$ac_header_preproc"
93915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93920 cat >>confdefs.h <<_ACEOF
93921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93922 _ACEOF
93926 done
93928 SECTION_FLAGS='-ffunction-sections -fdata-sections'
93931 # If we're not using GNU ld, then there's no point in even trying these
93932 # tests. Check for that first. We should have already tested for gld
93933 # by now (in libtool), but require it now just to be safe...
93934 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
93935 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
93939 # The name set by libtool depends on the version of libtool. Shame on us
93940 # for depending on an impl detail, but c'est la vie. Older versions used
93941 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
93942 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
93943 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
93944 # set (hence we're using an older libtool), then set it.
93945 if test x${with_gnu_ld+set} != xset; then
93946 if test x${ac_cv_prog_gnu_ld+set} != xset; then
93947 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
93948 with_gnu_ld=no
93949 else
93950 with_gnu_ld=$ac_cv_prog_gnu_ld
93954 # Start by getting the version number. I think the libtool test already
93955 # does some of this, but throws away the result.
93957 ldver=`$LD --version 2>/dev/null | head -1 | \
93958 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
93960 glibcxx_gnu_ld_version=`echo $ldver | \
93961 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
93963 # Set --gc-sections.
93964 if test "$with_gnu_ld" = "notbroken"; then
93965 # GNU ld it is! Joy and bunny rabbits!
93967 # All these tests are for C++; save the language and the compiler flags.
93968 # Need to do this so that g++ won't try to link in libstdc++
93969 ac_test_CFLAGS="${CFLAGS+set}"
93970 ac_save_CFLAGS="$CFLAGS"
93971 CFLAGS='-x c++ -Wl,--gc-sections'
93973 # Check for -Wl,--gc-sections
93974 # XXX This test is broken at the moment, as symbols required for linking
93975 # are now in libsupc++ (not built yet). In addition, this test has
93976 # cored on solaris in the past. In addition, --gc-sections doesn't
93977 # really work at the moment (keeps on discarding used sections, first
93978 # .eh_frame and now some of the glibc sections for iconv).
93979 # Bzzzzt. Thanks for playing, maybe next time.
93980 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
93981 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
93982 if test "$cross_compiling" = yes; then
93983 ac_sectionLDflags=yes
93984 else
93985 cat >conftest.$ac_ext <<_ACEOF
93986 /* confdefs.h. */
93987 _ACEOF
93988 cat confdefs.h >>conftest.$ac_ext
93989 cat >>conftest.$ac_ext <<_ACEOF
93990 /* end confdefs.h. */
93992 int main(void)
93994 try { throw 1; }
93995 catch (...) { };
93996 return 0;
93999 _ACEOF
94000 rm -f conftest$ac_exeext
94001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94002 (eval $ac_link) 2>&5
94003 ac_status=$?
94004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94007 (eval $ac_try) 2>&5
94008 ac_status=$?
94009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94010 (exit $ac_status); }; }; then
94011 ac_sectionLDflags=yes
94012 else
94013 echo "$as_me: program exited with status $ac_status" >&5
94014 echo "$as_me: failed program was:" >&5
94015 sed 's/^/| /' conftest.$ac_ext >&5
94017 ( exit $ac_status )
94018 ac_sectionLDflags=no
94020 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94022 if test "$ac_test_CFLAGS" = set; then
94023 CFLAGS="$ac_save_CFLAGS"
94024 else
94025 # this is the suspicious part
94026 CFLAGS=''
94028 if test "$ac_sectionLDflags" = "yes"; then
94029 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
94031 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
94032 echo "${ECHO_T}$ac_sectionLDflags" >&6
94035 # Set linker optimization flags.
94036 if test x"$with_gnu_ld" = x"yes"; then
94037 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
94045 echo "$as_me:$LINENO: checking for main in -lm" >&5
94046 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
94047 if test "${ac_cv_lib_m_main+set}" = set; then
94048 echo $ECHO_N "(cached) $ECHO_C" >&6
94049 else
94050 ac_check_lib_save_LIBS=$LIBS
94051 LIBS="-lm $LIBS"
94052 if test x$gcc_no_link = xyes; then
94053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94055 { (exit 1); exit 1; }; }
94057 cat >conftest.$ac_ext <<_ACEOF
94058 /* confdefs.h. */
94059 _ACEOF
94060 cat confdefs.h >>conftest.$ac_ext
94061 cat >>conftest.$ac_ext <<_ACEOF
94062 /* end confdefs.h. */
94066 main ()
94068 main ();
94070 return 0;
94072 _ACEOF
94073 rm -f conftest.$ac_objext conftest$ac_exeext
94074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94075 (eval $ac_link) 2>conftest.er1
94076 ac_status=$?
94077 grep -v '^ *+' conftest.er1 >conftest.err
94078 rm -f conftest.er1
94079 cat conftest.err >&5
94080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94081 (exit $ac_status); } &&
94082 { ac_try='test -z "$ac_c_werror_flag"
94083 || test ! -s conftest.err'
94084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94085 (eval $ac_try) 2>&5
94086 ac_status=$?
94087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94088 (exit $ac_status); }; } &&
94089 { ac_try='test -s conftest$ac_exeext'
94090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94091 (eval $ac_try) 2>&5
94092 ac_status=$?
94093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94094 (exit $ac_status); }; }; then
94095 ac_cv_lib_m_main=yes
94096 else
94097 echo "$as_me: failed program was:" >&5
94098 sed 's/^/| /' conftest.$ac_ext >&5
94100 ac_cv_lib_m_main=no
94102 rm -f conftest.err conftest.$ac_objext \
94103 conftest$ac_exeext conftest.$ac_ext
94104 LIBS=$ac_check_lib_save_LIBS
94106 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
94107 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
94108 if test $ac_cv_lib_m_main = yes; then
94109 cat >>confdefs.h <<_ACEOF
94110 #define HAVE_LIBM 1
94111 _ACEOF
94113 LIBS="-lm $LIBS"
94118 for ac_func in copysignf
94120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94121 echo "$as_me:$LINENO: checking for $ac_func" >&5
94122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94123 if eval "test \"\${$as_ac_var+set}\" = set"; then
94124 echo $ECHO_N "(cached) $ECHO_C" >&6
94125 else
94126 if test x$gcc_no_link = xyes; then
94127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94129 { (exit 1); exit 1; }; }
94131 cat >conftest.$ac_ext <<_ACEOF
94132 /* confdefs.h. */
94133 _ACEOF
94134 cat confdefs.h >>conftest.$ac_ext
94135 cat >>conftest.$ac_ext <<_ACEOF
94136 /* end confdefs.h. */
94137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94139 #define $ac_func innocuous_$ac_func
94141 /* System header to define __stub macros and hopefully few prototypes,
94142 which can conflict with char $ac_func (); below.
94143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94144 <limits.h> exists even on freestanding compilers. */
94146 #ifdef __STDC__
94147 # include <limits.h>
94148 #else
94149 # include <assert.h>
94150 #endif
94152 #undef $ac_func
94154 /* Override any gcc2 internal prototype to avoid an error. */
94155 #ifdef __cplusplus
94156 extern "C"
94158 #endif
94159 /* We use char because int might match the return type of a gcc2
94160 builtin and then its argument prototype would still apply. */
94161 char $ac_func ();
94162 /* The GNU C library defines this for functions which it implements
94163 to always fail with ENOSYS. Some functions are actually named
94164 something starting with __ and the normal name is an alias. */
94165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94166 choke me
94167 #else
94168 char (*f) () = $ac_func;
94169 #endif
94170 #ifdef __cplusplus
94172 #endif
94175 main ()
94177 return f != $ac_func;
94179 return 0;
94181 _ACEOF
94182 rm -f conftest.$ac_objext conftest$ac_exeext
94183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94184 (eval $ac_link) 2>conftest.er1
94185 ac_status=$?
94186 grep -v '^ *+' conftest.er1 >conftest.err
94187 rm -f conftest.er1
94188 cat conftest.err >&5
94189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94190 (exit $ac_status); } &&
94191 { ac_try='test -z "$ac_c_werror_flag"
94192 || test ! -s conftest.err'
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); }; } &&
94198 { ac_try='test -s conftest$ac_exeext'
94199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94200 (eval $ac_try) 2>&5
94201 ac_status=$?
94202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94203 (exit $ac_status); }; }; then
94204 eval "$as_ac_var=yes"
94205 else
94206 echo "$as_me: failed program was:" >&5
94207 sed 's/^/| /' conftest.$ac_ext >&5
94209 eval "$as_ac_var=no"
94211 rm -f conftest.err conftest.$ac_objext \
94212 conftest$ac_exeext conftest.$ac_ext
94214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94216 if test `eval echo '${'$as_ac_var'}'` = yes; then
94217 cat >>confdefs.h <<_ACEOF
94218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94219 _ACEOF
94221 else
94222 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
94224 done
94228 for ac_func in __signbit
94230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94231 echo "$as_me:$LINENO: checking for $ac_func" >&5
94232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94233 if eval "test \"\${$as_ac_var+set}\" = set"; then
94234 echo $ECHO_N "(cached) $ECHO_C" >&6
94235 else
94236 if test x$gcc_no_link = xyes; then
94237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94239 { (exit 1); exit 1; }; }
94241 cat >conftest.$ac_ext <<_ACEOF
94242 /* confdefs.h. */
94243 _ACEOF
94244 cat confdefs.h >>conftest.$ac_ext
94245 cat >>conftest.$ac_ext <<_ACEOF
94246 /* end confdefs.h. */
94247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94249 #define $ac_func innocuous_$ac_func
94251 /* System header to define __stub macros and hopefully few prototypes,
94252 which can conflict with char $ac_func (); below.
94253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94254 <limits.h> exists even on freestanding compilers. */
94256 #ifdef __STDC__
94257 # include <limits.h>
94258 #else
94259 # include <assert.h>
94260 #endif
94262 #undef $ac_func
94264 /* Override any gcc2 internal prototype to avoid an error. */
94265 #ifdef __cplusplus
94266 extern "C"
94268 #endif
94269 /* We use char because int might match the return type of a gcc2
94270 builtin and then its argument prototype would still apply. */
94271 char $ac_func ();
94272 /* The GNU C library defines this for functions which it implements
94273 to always fail with ENOSYS. Some functions are actually named
94274 something starting with __ and the normal name is an alias. */
94275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94276 choke me
94277 #else
94278 char (*f) () = $ac_func;
94279 #endif
94280 #ifdef __cplusplus
94282 #endif
94285 main ()
94287 return f != $ac_func;
94289 return 0;
94291 _ACEOF
94292 rm -f conftest.$ac_objext conftest$ac_exeext
94293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94294 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
94315 else
94316 echo "$as_me: failed program was:" >&5
94317 sed 's/^/| /' conftest.$ac_ext >&5
94319 eval "$as_ac_var=no"
94321 rm -f conftest.err conftest.$ac_objext \
94322 conftest$ac_exeext conftest.$ac_ext
94324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94326 if test `eval echo '${'$as_ac_var'}'` = yes; then
94327 cat >>confdefs.h <<_ACEOF
94328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94329 _ACEOF
94331 else
94332 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
94334 done
94338 for ac_func in __signbitf
94340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94341 echo "$as_me:$LINENO: checking for $ac_func" >&5
94342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94343 if eval "test \"\${$as_ac_var+set}\" = set"; then
94344 echo $ECHO_N "(cached) $ECHO_C" >&6
94345 else
94346 if test x$gcc_no_link = xyes; then
94347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94349 { (exit 1); exit 1; }; }
94351 cat >conftest.$ac_ext <<_ACEOF
94352 /* confdefs.h. */
94353 _ACEOF
94354 cat confdefs.h >>conftest.$ac_ext
94355 cat >>conftest.$ac_ext <<_ACEOF
94356 /* end confdefs.h. */
94357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94359 #define $ac_func innocuous_$ac_func
94361 /* System header to define __stub macros and hopefully few prototypes,
94362 which can conflict with char $ac_func (); below.
94363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94364 <limits.h> exists even on freestanding compilers. */
94366 #ifdef __STDC__
94367 # include <limits.h>
94368 #else
94369 # include <assert.h>
94370 #endif
94372 #undef $ac_func
94374 /* Override any gcc2 internal prototype to avoid an error. */
94375 #ifdef __cplusplus
94376 extern "C"
94378 #endif
94379 /* We use char because int might match the return type of a gcc2
94380 builtin and then its argument prototype would still apply. */
94381 char $ac_func ();
94382 /* The GNU C library defines this for functions which it implements
94383 to always fail with ENOSYS. Some functions are actually named
94384 something starting with __ and the normal name is an alias. */
94385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94386 choke me
94387 #else
94388 char (*f) () = $ac_func;
94389 #endif
94390 #ifdef __cplusplus
94392 #endif
94395 main ()
94397 return f != $ac_func;
94399 return 0;
94401 _ACEOF
94402 rm -f conftest.$ac_objext conftest$ac_exeext
94403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94404 (eval $ac_link) 2>conftest.er1
94405 ac_status=$?
94406 grep -v '^ *+' conftest.er1 >conftest.err
94407 rm -f conftest.er1
94408 cat conftest.err >&5
94409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94410 (exit $ac_status); } &&
94411 { ac_try='test -z "$ac_c_werror_flag"
94412 || test ! -s conftest.err'
94413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94414 (eval $ac_try) 2>&5
94415 ac_status=$?
94416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94417 (exit $ac_status); }; } &&
94418 { ac_try='test -s conftest$ac_exeext'
94419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94420 (eval $ac_try) 2>&5
94421 ac_status=$?
94422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94423 (exit $ac_status); }; }; then
94424 eval "$as_ac_var=yes"
94425 else
94426 echo "$as_me: failed program was:" >&5
94427 sed 's/^/| /' conftest.$ac_ext >&5
94429 eval "$as_ac_var=no"
94431 rm -f conftest.err conftest.$ac_objext \
94432 conftest$ac_exeext conftest.$ac_ext
94434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94436 if test `eval echo '${'$as_ac_var'}'` = yes; then
94437 cat >>confdefs.h <<_ACEOF
94438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94439 _ACEOF
94441 else
94442 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
94444 done
94447 if test x$ac_cv_func_copysignl = x"yes"; then
94449 for ac_func in __signbitl
94451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94452 echo "$as_me:$LINENO: checking for $ac_func" >&5
94453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94454 if eval "test \"\${$as_ac_var+set}\" = set"; then
94455 echo $ECHO_N "(cached) $ECHO_C" >&6
94456 else
94457 if test x$gcc_no_link = xyes; then
94458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94460 { (exit 1); exit 1; }; }
94462 cat >conftest.$ac_ext <<_ACEOF
94463 /* confdefs.h. */
94464 _ACEOF
94465 cat confdefs.h >>conftest.$ac_ext
94466 cat >>conftest.$ac_ext <<_ACEOF
94467 /* end confdefs.h. */
94468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94470 #define $ac_func innocuous_$ac_func
94472 /* System header to define __stub macros and hopefully few prototypes,
94473 which can conflict with char $ac_func (); below.
94474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94475 <limits.h> exists even on freestanding compilers. */
94477 #ifdef __STDC__
94478 # include <limits.h>
94479 #else
94480 # include <assert.h>
94481 #endif
94483 #undef $ac_func
94485 /* Override any gcc2 internal prototype to avoid an error. */
94486 #ifdef __cplusplus
94487 extern "C"
94489 #endif
94490 /* We use char because int might match the return type of a gcc2
94491 builtin and then its argument prototype would still apply. */
94492 char $ac_func ();
94493 /* The GNU C library defines this for functions which it implements
94494 to always fail with ENOSYS. Some functions are actually named
94495 something starting with __ and the normal name is an alias. */
94496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94497 choke me
94498 #else
94499 char (*f) () = $ac_func;
94500 #endif
94501 #ifdef __cplusplus
94503 #endif
94506 main ()
94508 return f != $ac_func;
94510 return 0;
94512 _ACEOF
94513 rm -f conftest.$ac_objext conftest$ac_exeext
94514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94515 (eval $ac_link) 2>conftest.er1
94516 ac_status=$?
94517 grep -v '^ *+' conftest.er1 >conftest.err
94518 rm -f conftest.er1
94519 cat conftest.err >&5
94520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94521 (exit $ac_status); } &&
94522 { ac_try='test -z "$ac_c_werror_flag"
94523 || test ! -s conftest.err'
94524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94525 (eval $ac_try) 2>&5
94526 ac_status=$?
94527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94528 (exit $ac_status); }; } &&
94529 { ac_try='test -s conftest$ac_exeext'
94530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94531 (eval $ac_try) 2>&5
94532 ac_status=$?
94533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94534 (exit $ac_status); }; }; then
94535 eval "$as_ac_var=yes"
94536 else
94537 echo "$as_me: failed program was:" >&5
94538 sed 's/^/| /' conftest.$ac_ext >&5
94540 eval "$as_ac_var=no"
94542 rm -f conftest.err conftest.$ac_objext \
94543 conftest$ac_exeext conftest.$ac_ext
94545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94547 if test `eval echo '${'$as_ac_var'}'` = yes; then
94548 cat >>confdefs.h <<_ACEOF
94549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94550 _ACEOF
94552 else
94553 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
94555 done
94559 # Used in libmath/Makefile.am.
94560 if test -n "$LIBMATHOBJS"; then
94561 need_libmath=yes
94566 # Test wchar.h for mbstate_t, which is needed for char_traits and
94567 # others even if wchar_t support is not on.
94568 echo "$as_me:$LINENO: checking for mbstate_t" >&5
94569 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
94570 cat >conftest.$ac_ext <<_ACEOF
94571 /* confdefs.h. */
94572 _ACEOF
94573 cat confdefs.h >>conftest.$ac_ext
94574 cat >>conftest.$ac_ext <<_ACEOF
94575 /* end confdefs.h. */
94576 #include <wchar.h>
94578 main ()
94580 mbstate_t teststate;
94582 return 0;
94584 _ACEOF
94585 rm -f conftest.$ac_objext
94586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94587 (eval $ac_compile) 2>conftest.er1
94588 ac_status=$?
94589 grep -v '^ *+' conftest.er1 >conftest.err
94590 rm -f conftest.er1
94591 cat conftest.err >&5
94592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94593 (exit $ac_status); } &&
94594 { ac_try='test -z "$ac_c_werror_flag"
94595 || test ! -s conftest.err'
94596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94597 (eval $ac_try) 2>&5
94598 ac_status=$?
94599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94600 (exit $ac_status); }; } &&
94601 { ac_try='test -s conftest.$ac_objext'
94602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94603 (eval $ac_try) 2>&5
94604 ac_status=$?
94605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94606 (exit $ac_status); }; }; then
94607 have_mbstate_t=yes
94608 else
94609 echo "$as_me: failed program was:" >&5
94610 sed 's/^/| /' conftest.$ac_ext >&5
94612 have_mbstate_t=no
94614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94615 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
94616 echo "${ECHO_T}$have_mbstate_t" >&6
94617 if test x"$have_mbstate_t" = xyes; then
94618 cat >>confdefs.h <<\_ACEOF
94619 #define HAVE_MBSTATE_T 1
94620 _ACEOF
94624 # Sanity check for existence of ISO C99 headers for extended encoding.
94626 for ac_header in wchar.h
94628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94630 echo "$as_me:$LINENO: checking for $ac_header" >&5
94631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94633 echo $ECHO_N "(cached) $ECHO_C" >&6
94635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94637 else
94638 # Is the header compilable?
94639 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94640 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94641 cat >conftest.$ac_ext <<_ACEOF
94642 /* confdefs.h. */
94643 _ACEOF
94644 cat confdefs.h >>conftest.$ac_ext
94645 cat >>conftest.$ac_ext <<_ACEOF
94646 /* end confdefs.h. */
94647 $ac_includes_default
94648 #include <$ac_header>
94649 _ACEOF
94650 rm -f conftest.$ac_objext
94651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94652 (eval $ac_compile) 2>conftest.er1
94653 ac_status=$?
94654 grep -v '^ *+' conftest.er1 >conftest.err
94655 rm -f conftest.er1
94656 cat conftest.err >&5
94657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94658 (exit $ac_status); } &&
94659 { ac_try='test -z "$ac_c_werror_flag"
94660 || test ! -s conftest.err'
94661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94662 (eval $ac_try) 2>&5
94663 ac_status=$?
94664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94665 (exit $ac_status); }; } &&
94666 { ac_try='test -s conftest.$ac_objext'
94667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94668 (eval $ac_try) 2>&5
94669 ac_status=$?
94670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94671 (exit $ac_status); }; }; then
94672 ac_header_compiler=yes
94673 else
94674 echo "$as_me: failed program was:" >&5
94675 sed 's/^/| /' conftest.$ac_ext >&5
94677 ac_header_compiler=no
94679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94681 echo "${ECHO_T}$ac_header_compiler" >&6
94683 # Is the header present?
94684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94686 cat >conftest.$ac_ext <<_ACEOF
94687 /* confdefs.h. */
94688 _ACEOF
94689 cat confdefs.h >>conftest.$ac_ext
94690 cat >>conftest.$ac_ext <<_ACEOF
94691 /* end confdefs.h. */
94692 #include <$ac_header>
94693 _ACEOF
94694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94696 ac_status=$?
94697 grep -v '^ *+' conftest.er1 >conftest.err
94698 rm -f conftest.er1
94699 cat conftest.err >&5
94700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94701 (exit $ac_status); } >/dev/null; then
94702 if test -s conftest.err; then
94703 ac_cpp_err=$ac_c_preproc_warn_flag
94704 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94705 else
94706 ac_cpp_err=
94708 else
94709 ac_cpp_err=yes
94711 if test -z "$ac_cpp_err"; then
94712 ac_header_preproc=yes
94713 else
94714 echo "$as_me: failed program was:" >&5
94715 sed 's/^/| /' conftest.$ac_ext >&5
94717 ac_header_preproc=no
94719 rm -f conftest.err conftest.$ac_ext
94720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94721 echo "${ECHO_T}$ac_header_preproc" >&6
94723 # So? What about this header?
94724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94725 yes:no: )
94726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94730 ac_header_preproc=yes
94732 no:yes:* )
94733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94746 cat <<\_ASBOX
94747 ## ----------------------------------------- ##
94748 ## Report this to the package-unused lists. ##
94749 ## ----------------------------------------- ##
94750 _ASBOX
94752 sed "s/^/$as_me: WARNING: /" >&2
94754 esac
94755 echo "$as_me:$LINENO: checking for $ac_header" >&5
94756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94758 echo $ECHO_N "(cached) $ECHO_C" >&6
94759 else
94760 eval "$as_ac_Header=\$ac_header_preproc"
94762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94767 cat >>confdefs.h <<_ACEOF
94768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94769 _ACEOF
94770 ac_has_wchar_h=yes
94771 else
94772 ac_has_wchar_h=no
94775 done
94778 for ac_header in wctype.h
94780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94782 echo "$as_me:$LINENO: checking for $ac_header" >&5
94783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94785 echo $ECHO_N "(cached) $ECHO_C" >&6
94787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94789 else
94790 # Is the header compilable?
94791 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94792 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94793 cat >conftest.$ac_ext <<_ACEOF
94794 /* confdefs.h. */
94795 _ACEOF
94796 cat confdefs.h >>conftest.$ac_ext
94797 cat >>conftest.$ac_ext <<_ACEOF
94798 /* end confdefs.h. */
94799 $ac_includes_default
94800 #include <$ac_header>
94801 _ACEOF
94802 rm -f conftest.$ac_objext
94803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94804 (eval $ac_compile) 2>conftest.er1
94805 ac_status=$?
94806 grep -v '^ *+' conftest.er1 >conftest.err
94807 rm -f conftest.er1
94808 cat conftest.err >&5
94809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94810 (exit $ac_status); } &&
94811 { ac_try='test -z "$ac_c_werror_flag"
94812 || test ! -s conftest.err'
94813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94814 (eval $ac_try) 2>&5
94815 ac_status=$?
94816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94817 (exit $ac_status); }; } &&
94818 { ac_try='test -s conftest.$ac_objext'
94819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94820 (eval $ac_try) 2>&5
94821 ac_status=$?
94822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94823 (exit $ac_status); }; }; then
94824 ac_header_compiler=yes
94825 else
94826 echo "$as_me: failed program was:" >&5
94827 sed 's/^/| /' conftest.$ac_ext >&5
94829 ac_header_compiler=no
94831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94833 echo "${ECHO_T}$ac_header_compiler" >&6
94835 # Is the header present?
94836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94838 cat >conftest.$ac_ext <<_ACEOF
94839 /* confdefs.h. */
94840 _ACEOF
94841 cat confdefs.h >>conftest.$ac_ext
94842 cat >>conftest.$ac_ext <<_ACEOF
94843 /* end confdefs.h. */
94844 #include <$ac_header>
94845 _ACEOF
94846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94847 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94848 ac_status=$?
94849 grep -v '^ *+' conftest.er1 >conftest.err
94850 rm -f conftest.er1
94851 cat conftest.err >&5
94852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94853 (exit $ac_status); } >/dev/null; then
94854 if test -s conftest.err; then
94855 ac_cpp_err=$ac_c_preproc_warn_flag
94856 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94857 else
94858 ac_cpp_err=
94860 else
94861 ac_cpp_err=yes
94863 if test -z "$ac_cpp_err"; then
94864 ac_header_preproc=yes
94865 else
94866 echo "$as_me: failed program was:" >&5
94867 sed 's/^/| /' conftest.$ac_ext >&5
94869 ac_header_preproc=no
94871 rm -f conftest.err conftest.$ac_ext
94872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94873 echo "${ECHO_T}$ac_header_preproc" >&6
94875 # So? What about this header?
94876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94877 yes:no: )
94878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94882 ac_header_preproc=yes
94884 no:yes:* )
94885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94898 cat <<\_ASBOX
94899 ## ----------------------------------------- ##
94900 ## Report this to the package-unused lists. ##
94901 ## ----------------------------------------- ##
94902 _ASBOX
94904 sed "s/^/$as_me: WARNING: /" >&2
94906 esac
94907 echo "$as_me:$LINENO: checking for $ac_header" >&5
94908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94910 echo $ECHO_N "(cached) $ECHO_C" >&6
94911 else
94912 eval "$as_ac_Header=\$ac_header_preproc"
94914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94919 cat >>confdefs.h <<_ACEOF
94920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94921 _ACEOF
94922 ac_has_wctype_h=yes
94923 else
94924 ac_has_wctype_h=no
94927 done
94930 # Only continue checking if the ISO C99 headers exist and support is on.
94931 if test x"$ac_has_wchar_h" = xyes &&
94932 test x"$ac_has_wctype_h" = xyes &&
94933 test x"$enable_c_mbchar" != xno; then
94935 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
94936 # numeric_limits can instantiate type_traits<wchar_t>
94937 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
94938 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
94939 cat >conftest.$ac_ext <<_ACEOF
94940 /* confdefs.h. */
94941 _ACEOF
94942 cat confdefs.h >>conftest.$ac_ext
94943 cat >>conftest.$ac_ext <<_ACEOF
94944 /* end confdefs.h. */
94945 #include <wchar.h>
94947 main ()
94949 int i = WCHAR_MIN; int j = WCHAR_MAX;
94951 return 0;
94953 _ACEOF
94954 rm -f conftest.$ac_objext
94955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94956 (eval $ac_compile) 2>conftest.er1
94957 ac_status=$?
94958 grep -v '^ *+' conftest.er1 >conftest.err
94959 rm -f conftest.er1
94960 cat conftest.err >&5
94961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94962 (exit $ac_status); } &&
94963 { ac_try='test -z "$ac_c_werror_flag"
94964 || test ! -s conftest.err'
94965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94966 (eval $ac_try) 2>&5
94967 ac_status=$?
94968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94969 (exit $ac_status); }; } &&
94970 { ac_try='test -s conftest.$ac_objext'
94971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94972 (eval $ac_try) 2>&5
94973 ac_status=$?
94974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94975 (exit $ac_status); }; }; then
94976 has_wchar_minmax=yes
94977 else
94978 echo "$as_me: failed program was:" >&5
94979 sed 's/^/| /' conftest.$ac_ext >&5
94981 has_wchar_minmax=no
94983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94984 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
94985 echo "${ECHO_T}$has_wchar_minmax" >&6
94987 # Test wchar.h for WEOF, which is what we use to determine whether
94988 # to specialize for char_traits<wchar_t> or not.
94989 echo "$as_me:$LINENO: checking for WEOF" >&5
94990 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
94991 cat >conftest.$ac_ext <<_ACEOF
94992 /* confdefs.h. */
94993 _ACEOF
94994 cat confdefs.h >>conftest.$ac_ext
94995 cat >>conftest.$ac_ext <<_ACEOF
94996 /* end confdefs.h. */
94998 #include <wchar.h>
94999 #include <stddef.h>
95001 main ()
95003 wint_t i = WEOF;
95005 return 0;
95007 _ACEOF
95008 rm -f conftest.$ac_objext
95009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95010 (eval $ac_compile) 2>conftest.er1
95011 ac_status=$?
95012 grep -v '^ *+' conftest.er1 >conftest.err
95013 rm -f conftest.er1
95014 cat conftest.err >&5
95015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95016 (exit $ac_status); } &&
95017 { ac_try='test -z "$ac_c_werror_flag"
95018 || test ! -s conftest.err'
95019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95020 (eval $ac_try) 2>&5
95021 ac_status=$?
95022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95023 (exit $ac_status); }; } &&
95024 { ac_try='test -s conftest.$ac_objext'
95025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95026 (eval $ac_try) 2>&5
95027 ac_status=$?
95028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95029 (exit $ac_status); }; }; then
95030 has_weof=yes
95031 else
95032 echo "$as_me: failed program was:" >&5
95033 sed 's/^/| /' conftest.$ac_ext >&5
95035 has_weof=no
95037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95038 echo "$as_me:$LINENO: result: $has_weof" >&5
95039 echo "${ECHO_T}$has_weof" >&6
95041 # Tests for wide character functions used in char_traits<wchar_t>.
95042 ac_wfuncs=yes
95049 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
95051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95052 echo "$as_me:$LINENO: checking for $ac_func" >&5
95053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95054 if eval "test \"\${$as_ac_var+set}\" = set"; then
95055 echo $ECHO_N "(cached) $ECHO_C" >&6
95056 else
95057 if test x$gcc_no_link = xyes; then
95058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95060 { (exit 1); exit 1; }; }
95062 cat >conftest.$ac_ext <<_ACEOF
95063 /* confdefs.h. */
95064 _ACEOF
95065 cat confdefs.h >>conftest.$ac_ext
95066 cat >>conftest.$ac_ext <<_ACEOF
95067 /* end confdefs.h. */
95068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95070 #define $ac_func innocuous_$ac_func
95072 /* System header to define __stub macros and hopefully few prototypes,
95073 which can conflict with char $ac_func (); below.
95074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95075 <limits.h> exists even on freestanding compilers. */
95077 #ifdef __STDC__
95078 # include <limits.h>
95079 #else
95080 # include <assert.h>
95081 #endif
95083 #undef $ac_func
95085 /* Override any gcc2 internal prototype to avoid an error. */
95086 #ifdef __cplusplus
95087 extern "C"
95089 #endif
95090 /* We use char because int might match the return type of a gcc2
95091 builtin and then its argument prototype would still apply. */
95092 char $ac_func ();
95093 /* The GNU C library defines this for functions which it implements
95094 to always fail with ENOSYS. Some functions are actually named
95095 something starting with __ and the normal name is an alias. */
95096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95097 choke me
95098 #else
95099 char (*f) () = $ac_func;
95100 #endif
95101 #ifdef __cplusplus
95103 #endif
95106 main ()
95108 return f != $ac_func;
95110 return 0;
95112 _ACEOF
95113 rm -f conftest.$ac_objext conftest$ac_exeext
95114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95115 (eval $ac_link) 2>conftest.er1
95116 ac_status=$?
95117 grep -v '^ *+' conftest.er1 >conftest.err
95118 rm -f conftest.er1
95119 cat conftest.err >&5
95120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95121 (exit $ac_status); } &&
95122 { ac_try='test -z "$ac_c_werror_flag"
95123 || test ! -s conftest.err'
95124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95125 (eval $ac_try) 2>&5
95126 ac_status=$?
95127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95128 (exit $ac_status); }; } &&
95129 { ac_try='test -s conftest$ac_exeext'
95130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95131 (eval $ac_try) 2>&5
95132 ac_status=$?
95133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95134 (exit $ac_status); }; }; then
95135 eval "$as_ac_var=yes"
95136 else
95137 echo "$as_me: failed program was:" >&5
95138 sed 's/^/| /' conftest.$ac_ext >&5
95140 eval "$as_ac_var=no"
95142 rm -f conftest.err conftest.$ac_objext \
95143 conftest$ac_exeext conftest.$ac_ext
95145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95147 if test `eval echo '${'$as_ac_var'}'` = yes; then
95148 cat >>confdefs.h <<_ACEOF
95149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95150 _ACEOF
95152 else
95153 ac_wfuncs=no
95155 done
95158 # Checks for names injected into std:: by the c_std headers.
95205 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
95206 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
95207 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
95208 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
95209 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
95210 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
95212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95213 echo "$as_me:$LINENO: checking for $ac_func" >&5
95214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95215 if eval "test \"\${$as_ac_var+set}\" = set"; then
95216 echo $ECHO_N "(cached) $ECHO_C" >&6
95217 else
95218 if test x$gcc_no_link = xyes; then
95219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95221 { (exit 1); exit 1; }; }
95223 cat >conftest.$ac_ext <<_ACEOF
95224 /* confdefs.h. */
95225 _ACEOF
95226 cat confdefs.h >>conftest.$ac_ext
95227 cat >>conftest.$ac_ext <<_ACEOF
95228 /* end confdefs.h. */
95229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95231 #define $ac_func innocuous_$ac_func
95233 /* System header to define __stub macros and hopefully few prototypes,
95234 which can conflict with char $ac_func (); below.
95235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95236 <limits.h> exists even on freestanding compilers. */
95238 #ifdef __STDC__
95239 # include <limits.h>
95240 #else
95241 # include <assert.h>
95242 #endif
95244 #undef $ac_func
95246 /* Override any gcc2 internal prototype to avoid an error. */
95247 #ifdef __cplusplus
95248 extern "C"
95250 #endif
95251 /* We use char because int might match the return type of a gcc2
95252 builtin and then its argument prototype would still apply. */
95253 char $ac_func ();
95254 /* The GNU C library defines this for functions which it implements
95255 to always fail with ENOSYS. Some functions are actually named
95256 something starting with __ and the normal name is an alias. */
95257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95258 choke me
95259 #else
95260 char (*f) () = $ac_func;
95261 #endif
95262 #ifdef __cplusplus
95264 #endif
95267 main ()
95269 return f != $ac_func;
95271 return 0;
95273 _ACEOF
95274 rm -f conftest.$ac_objext conftest$ac_exeext
95275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95276 (eval $ac_link) 2>conftest.er1
95277 ac_status=$?
95278 grep -v '^ *+' conftest.er1 >conftest.err
95279 rm -f conftest.er1
95280 cat conftest.err >&5
95281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95282 (exit $ac_status); } &&
95283 { ac_try='test -z "$ac_c_werror_flag"
95284 || test ! -s conftest.err'
95285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95286 (eval $ac_try) 2>&5
95287 ac_status=$?
95288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95289 (exit $ac_status); }; } &&
95290 { ac_try='test -s conftest$ac_exeext'
95291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95292 (eval $ac_try) 2>&5
95293 ac_status=$?
95294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95295 (exit $ac_status); }; }; then
95296 eval "$as_ac_var=yes"
95297 else
95298 echo "$as_me: failed program was:" >&5
95299 sed 's/^/| /' conftest.$ac_ext >&5
95301 eval "$as_ac_var=no"
95303 rm -f conftest.err conftest.$ac_objext \
95304 conftest$ac_exeext conftest.$ac_ext
95306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95308 if test `eval echo '${'$as_ac_var'}'` = yes; then
95309 cat >>confdefs.h <<_ACEOF
95310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95311 _ACEOF
95313 else
95314 ac_wfuncs=no
95316 done
95319 # Checks for wide character functions that are not required
95320 # for basic wchar_t support. Don't disable support if they are missing.
95321 # Injection of these is wrapped with guard macros.
95327 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
95329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95330 echo "$as_me:$LINENO: checking for $ac_func" >&5
95331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95332 if eval "test \"\${$as_ac_var+set}\" = set"; then
95333 echo $ECHO_N "(cached) $ECHO_C" >&6
95334 else
95335 if test x$gcc_no_link = xyes; then
95336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95338 { (exit 1); exit 1; }; }
95340 cat >conftest.$ac_ext <<_ACEOF
95341 /* confdefs.h. */
95342 _ACEOF
95343 cat confdefs.h >>conftest.$ac_ext
95344 cat >>conftest.$ac_ext <<_ACEOF
95345 /* end confdefs.h. */
95346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95348 #define $ac_func innocuous_$ac_func
95350 /* System header to define __stub macros and hopefully few prototypes,
95351 which can conflict with char $ac_func (); below.
95352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95353 <limits.h> exists even on freestanding compilers. */
95355 #ifdef __STDC__
95356 # include <limits.h>
95357 #else
95358 # include <assert.h>
95359 #endif
95361 #undef $ac_func
95363 /* Override any gcc2 internal prototype to avoid an error. */
95364 #ifdef __cplusplus
95365 extern "C"
95367 #endif
95368 /* We use char because int might match the return type of a gcc2
95369 builtin and then its argument prototype would still apply. */
95370 char $ac_func ();
95371 /* The GNU C library defines this for functions which it implements
95372 to always fail with ENOSYS. Some functions are actually named
95373 something starting with __ and the normal name is an alias. */
95374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95375 choke me
95376 #else
95377 char (*f) () = $ac_func;
95378 #endif
95379 #ifdef __cplusplus
95381 #endif
95384 main ()
95386 return f != $ac_func;
95388 return 0;
95390 _ACEOF
95391 rm -f conftest.$ac_objext conftest$ac_exeext
95392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95393 (eval $ac_link) 2>conftest.er1
95394 ac_status=$?
95395 grep -v '^ *+' conftest.er1 >conftest.err
95396 rm -f conftest.er1
95397 cat conftest.err >&5
95398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95399 (exit $ac_status); } &&
95400 { ac_try='test -z "$ac_c_werror_flag"
95401 || test ! -s conftest.err'
95402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95403 (eval $ac_try) 2>&5
95404 ac_status=$?
95405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95406 (exit $ac_status); }; } &&
95407 { ac_try='test -s conftest$ac_exeext'
95408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95409 (eval $ac_try) 2>&5
95410 ac_status=$?
95411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95412 (exit $ac_status); }; }; then
95413 eval "$as_ac_var=yes"
95414 else
95415 echo "$as_me: failed program was:" >&5
95416 sed 's/^/| /' conftest.$ac_ext >&5
95418 eval "$as_ac_var=no"
95420 rm -f conftest.err conftest.$ac_objext \
95421 conftest$ac_exeext conftest.$ac_ext
95423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95425 if test `eval echo '${'$as_ac_var'}'` = yes; then
95426 cat >>confdefs.h <<_ACEOF
95427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95428 _ACEOF
95431 done
95434 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
95435 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
95436 if test x"$has_weof" = xyes &&
95437 test x"$has_wchar_minmax" = xyes &&
95438 test x"$ac_wfuncs" = xyes;
95439 then
95440 ac_isoC99_wchar_t=yes
95441 else
95442 ac_isoC99_wchar_t=no
95444 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
95445 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
95447 # Use iconv for wchar_t to char conversions. As such, check for
95448 # X/Open Portability Guide, version 2 features (XPG2).
95449 if test "${ac_cv_header_iconv_h+set}" = set; then
95450 echo "$as_me:$LINENO: checking for iconv.h" >&5
95451 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95452 if test "${ac_cv_header_iconv_h+set}" = set; then
95453 echo $ECHO_N "(cached) $ECHO_C" >&6
95455 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95456 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95457 else
95458 # Is the header compilable?
95459 echo "$as_me:$LINENO: checking iconv.h usability" >&5
95460 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
95461 cat >conftest.$ac_ext <<_ACEOF
95462 /* confdefs.h. */
95463 _ACEOF
95464 cat confdefs.h >>conftest.$ac_ext
95465 cat >>conftest.$ac_ext <<_ACEOF
95466 /* end confdefs.h. */
95467 $ac_includes_default
95468 #include <iconv.h>
95469 _ACEOF
95470 rm -f conftest.$ac_objext
95471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95472 (eval $ac_compile) 2>conftest.er1
95473 ac_status=$?
95474 grep -v '^ *+' conftest.er1 >conftest.err
95475 rm -f conftest.er1
95476 cat conftest.err >&5
95477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95478 (exit $ac_status); } &&
95479 { ac_try='test -z "$ac_c_werror_flag"
95480 || test ! -s conftest.err'
95481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95482 (eval $ac_try) 2>&5
95483 ac_status=$?
95484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95485 (exit $ac_status); }; } &&
95486 { ac_try='test -s conftest.$ac_objext'
95487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95488 (eval $ac_try) 2>&5
95489 ac_status=$?
95490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95491 (exit $ac_status); }; }; then
95492 ac_header_compiler=yes
95493 else
95494 echo "$as_me: failed program was:" >&5
95495 sed 's/^/| /' conftest.$ac_ext >&5
95497 ac_header_compiler=no
95499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95501 echo "${ECHO_T}$ac_header_compiler" >&6
95503 # Is the header present?
95504 echo "$as_me:$LINENO: checking iconv.h presence" >&5
95505 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
95506 cat >conftest.$ac_ext <<_ACEOF
95507 /* confdefs.h. */
95508 _ACEOF
95509 cat confdefs.h >>conftest.$ac_ext
95510 cat >>conftest.$ac_ext <<_ACEOF
95511 /* end confdefs.h. */
95512 #include <iconv.h>
95513 _ACEOF
95514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95515 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95516 ac_status=$?
95517 grep -v '^ *+' conftest.er1 >conftest.err
95518 rm -f conftest.er1
95519 cat conftest.err >&5
95520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95521 (exit $ac_status); } >/dev/null; then
95522 if test -s conftest.err; then
95523 ac_cpp_err=$ac_c_preproc_warn_flag
95524 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95525 else
95526 ac_cpp_err=
95528 else
95529 ac_cpp_err=yes
95531 if test -z "$ac_cpp_err"; then
95532 ac_header_preproc=yes
95533 else
95534 echo "$as_me: failed program was:" >&5
95535 sed 's/^/| /' conftest.$ac_ext >&5
95537 ac_header_preproc=no
95539 rm -f conftest.err conftest.$ac_ext
95540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95541 echo "${ECHO_T}$ac_header_preproc" >&6
95543 # So? What about this header?
95544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95545 yes:no: )
95546 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
95547 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95548 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
95549 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
95550 ac_header_preproc=yes
95552 no:yes:* )
95553 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
95554 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
95555 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
95556 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
95557 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
95558 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
95559 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
95560 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
95561 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
95562 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
95563 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
95564 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
95566 cat <<\_ASBOX
95567 ## ----------------------------------------- ##
95568 ## Report this to the package-unused lists. ##
95569 ## ----------------------------------------- ##
95570 _ASBOX
95572 sed "s/^/$as_me: WARNING: /" >&2
95574 esac
95575 echo "$as_me:$LINENO: checking for iconv.h" >&5
95576 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95577 if test "${ac_cv_header_iconv_h+set}" = set; then
95578 echo $ECHO_N "(cached) $ECHO_C" >&6
95579 else
95580 ac_cv_header_iconv_h=$ac_header_preproc
95582 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95583 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95586 if test $ac_cv_header_iconv_h = yes; then
95587 ac_has_iconv_h=yes
95588 else
95589 ac_has_iconv_h=no
95593 if test "${ac_cv_header_langinfo_h+set}" = set; then
95594 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95595 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95596 if test "${ac_cv_header_langinfo_h+set}" = set; then
95597 echo $ECHO_N "(cached) $ECHO_C" >&6
95599 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95600 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95601 else
95602 # Is the header compilable?
95603 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
95604 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
95605 cat >conftest.$ac_ext <<_ACEOF
95606 /* confdefs.h. */
95607 _ACEOF
95608 cat confdefs.h >>conftest.$ac_ext
95609 cat >>conftest.$ac_ext <<_ACEOF
95610 /* end confdefs.h. */
95611 $ac_includes_default
95612 #include <langinfo.h>
95613 _ACEOF
95614 rm -f conftest.$ac_objext
95615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95616 (eval $ac_compile) 2>conftest.er1
95617 ac_status=$?
95618 grep -v '^ *+' conftest.er1 >conftest.err
95619 rm -f conftest.er1
95620 cat conftest.err >&5
95621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95622 (exit $ac_status); } &&
95623 { ac_try='test -z "$ac_c_werror_flag"
95624 || test ! -s conftest.err'
95625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95626 (eval $ac_try) 2>&5
95627 ac_status=$?
95628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95629 (exit $ac_status); }; } &&
95630 { ac_try='test -s conftest.$ac_objext'
95631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95632 (eval $ac_try) 2>&5
95633 ac_status=$?
95634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95635 (exit $ac_status); }; }; then
95636 ac_header_compiler=yes
95637 else
95638 echo "$as_me: failed program was:" >&5
95639 sed 's/^/| /' conftest.$ac_ext >&5
95641 ac_header_compiler=no
95643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95644 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95645 echo "${ECHO_T}$ac_header_compiler" >&6
95647 # Is the header present?
95648 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
95649 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
95650 cat >conftest.$ac_ext <<_ACEOF
95651 /* confdefs.h. */
95652 _ACEOF
95653 cat confdefs.h >>conftest.$ac_ext
95654 cat >>conftest.$ac_ext <<_ACEOF
95655 /* end confdefs.h. */
95656 #include <langinfo.h>
95657 _ACEOF
95658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95659 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95660 ac_status=$?
95661 grep -v '^ *+' conftest.er1 >conftest.err
95662 rm -f conftest.er1
95663 cat conftest.err >&5
95664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95665 (exit $ac_status); } >/dev/null; then
95666 if test -s conftest.err; then
95667 ac_cpp_err=$ac_c_preproc_warn_flag
95668 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95669 else
95670 ac_cpp_err=
95672 else
95673 ac_cpp_err=yes
95675 if test -z "$ac_cpp_err"; then
95676 ac_header_preproc=yes
95677 else
95678 echo "$as_me: failed program was:" >&5
95679 sed 's/^/| /' conftest.$ac_ext >&5
95681 ac_header_preproc=no
95683 rm -f conftest.err conftest.$ac_ext
95684 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95685 echo "${ECHO_T}$ac_header_preproc" >&6
95687 # So? What about this header?
95688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95689 yes:no: )
95690 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
95691 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95692 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
95693 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
95694 ac_header_preproc=yes
95696 no:yes:* )
95697 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
95698 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
95699 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
95700 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
95701 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
95702 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
95703 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
95704 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
95705 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
95706 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
95707 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
95708 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
95710 cat <<\_ASBOX
95711 ## ----------------------------------------- ##
95712 ## Report this to the package-unused lists. ##
95713 ## ----------------------------------------- ##
95714 _ASBOX
95716 sed "s/^/$as_me: WARNING: /" >&2
95718 esac
95719 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95720 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95721 if test "${ac_cv_header_langinfo_h+set}" = set; then
95722 echo $ECHO_N "(cached) $ECHO_C" >&6
95723 else
95724 ac_cv_header_langinfo_h=$ac_header_preproc
95726 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95727 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95730 if test $ac_cv_header_langinfo_h = yes; then
95731 ac_has_langinfo_h=yes
95732 else
95733 ac_has_langinfo_h=no
95738 # Check for existence of libiconv.a providing XPG2 wchar_t support.
95739 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
95740 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
95741 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
95742 echo $ECHO_N "(cached) $ECHO_C" >&6
95743 else
95744 ac_check_lib_save_LIBS=$LIBS
95745 LIBS="-liconv $LIBS"
95746 if test x$gcc_no_link = xyes; then
95747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95749 { (exit 1); exit 1; }; }
95751 cat >conftest.$ac_ext <<_ACEOF
95752 /* confdefs.h. */
95753 _ACEOF
95754 cat confdefs.h >>conftest.$ac_ext
95755 cat >>conftest.$ac_ext <<_ACEOF
95756 /* end confdefs.h. */
95758 /* Override any gcc2 internal prototype to avoid an error. */
95759 #ifdef __cplusplus
95760 extern "C"
95761 #endif
95762 /* We use char because int might match the return type of a gcc2
95763 builtin and then its argument prototype would still apply. */
95764 char iconv ();
95766 main ()
95768 iconv ();
95770 return 0;
95772 _ACEOF
95773 rm -f conftest.$ac_objext conftest$ac_exeext
95774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95775 (eval $ac_link) 2>conftest.er1
95776 ac_status=$?
95777 grep -v '^ *+' conftest.er1 >conftest.err
95778 rm -f conftest.er1
95779 cat conftest.err >&5
95780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95781 (exit $ac_status); } &&
95782 { ac_try='test -z "$ac_c_werror_flag"
95783 || test ! -s conftest.err'
95784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95785 (eval $ac_try) 2>&5
95786 ac_status=$?
95787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95788 (exit $ac_status); }; } &&
95789 { ac_try='test -s conftest$ac_exeext'
95790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95791 (eval $ac_try) 2>&5
95792 ac_status=$?
95793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95794 (exit $ac_status); }; }; then
95795 ac_cv_lib_iconv_iconv=yes
95796 else
95797 echo "$as_me: failed program was:" >&5
95798 sed 's/^/| /' conftest.$ac_ext >&5
95800 ac_cv_lib_iconv_iconv=no
95802 rm -f conftest.err conftest.$ac_objext \
95803 conftest$ac_exeext conftest.$ac_ext
95804 LIBS=$ac_check_lib_save_LIBS
95806 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
95807 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
95808 if test $ac_cv_lib_iconv_iconv = yes; then
95809 LIBICONV="-liconv"
95812 ac_save_LIBS="$LIBS"
95813 LIBS="$LIBS $LIBICONV"
95820 for ac_func in iconv_open iconv_close iconv nl_langinfo
95822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95823 echo "$as_me:$LINENO: checking for $ac_func" >&5
95824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95825 if eval "test \"\${$as_ac_var+set}\" = set"; then
95826 echo $ECHO_N "(cached) $ECHO_C" >&6
95827 else
95828 if test x$gcc_no_link = xyes; then
95829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95831 { (exit 1); exit 1; }; }
95833 cat >conftest.$ac_ext <<_ACEOF
95834 /* confdefs.h. */
95835 _ACEOF
95836 cat confdefs.h >>conftest.$ac_ext
95837 cat >>conftest.$ac_ext <<_ACEOF
95838 /* end confdefs.h. */
95839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95841 #define $ac_func innocuous_$ac_func
95843 /* System header to define __stub macros and hopefully few prototypes,
95844 which can conflict with char $ac_func (); below.
95845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95846 <limits.h> exists even on freestanding compilers. */
95848 #ifdef __STDC__
95849 # include <limits.h>
95850 #else
95851 # include <assert.h>
95852 #endif
95854 #undef $ac_func
95856 /* Override any gcc2 internal prototype to avoid an error. */
95857 #ifdef __cplusplus
95858 extern "C"
95860 #endif
95861 /* We use char because int might match the return type of a gcc2
95862 builtin and then its argument prototype would still apply. */
95863 char $ac_func ();
95864 /* The GNU C library defines this for functions which it implements
95865 to always fail with ENOSYS. Some functions are actually named
95866 something starting with __ and the normal name is an alias. */
95867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95868 choke me
95869 #else
95870 char (*f) () = $ac_func;
95871 #endif
95872 #ifdef __cplusplus
95874 #endif
95877 main ()
95879 return f != $ac_func;
95881 return 0;
95883 _ACEOF
95884 rm -f conftest.$ac_objext conftest$ac_exeext
95885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95886 (eval $ac_link) 2>conftest.er1
95887 ac_status=$?
95888 grep -v '^ *+' conftest.er1 >conftest.err
95889 rm -f conftest.er1
95890 cat conftest.err >&5
95891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95892 (exit $ac_status); } &&
95893 { ac_try='test -z "$ac_c_werror_flag"
95894 || test ! -s conftest.err'
95895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95896 (eval $ac_try) 2>&5
95897 ac_status=$?
95898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95899 (exit $ac_status); }; } &&
95900 { ac_try='test -s conftest$ac_exeext'
95901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95902 (eval $ac_try) 2>&5
95903 ac_status=$?
95904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95905 (exit $ac_status); }; }; then
95906 eval "$as_ac_var=yes"
95907 else
95908 echo "$as_me: failed program was:" >&5
95909 sed 's/^/| /' conftest.$ac_ext >&5
95911 eval "$as_ac_var=no"
95913 rm -f conftest.err conftest.$ac_objext \
95914 conftest$ac_exeext conftest.$ac_ext
95916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95918 if test `eval echo '${'$as_ac_var'}'` = yes; then
95919 cat >>confdefs.h <<_ACEOF
95920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95921 _ACEOF
95922 ac_XPG2funcs=yes
95923 else
95924 ac_XPG2funcs=no
95926 done
95929 LIBS="$ac_save_LIBS"
95931 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
95932 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
95933 if test x"$ac_has_iconv_h" = xyes &&
95934 test x"$ac_has_langinfo_h" = xyes &&
95935 test x"$ac_XPG2funcs" = xyes;
95936 then
95937 ac_XPG2_wchar_t=yes
95938 else
95939 ac_XPG2_wchar_t=no
95941 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
95942 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
95944 # At the moment, only enable wchar_t specializations if all the
95945 # above support is present.
95946 if test x"$ac_isoC99_wchar_t" = xyes &&
95947 test x"$ac_XPG2_wchar_t" = xyes;
95948 then
95949 cat >>confdefs.h <<\_ACEOF
95950 #define _GLIBCXX_USE_WCHAR_T 1
95951 _ACEOF
95953 enable_wchar_t=yes
95956 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
95957 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
95958 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
95959 echo "${ECHO_T}$enable_wchar_t" >&6
95961 cat >>confdefs.h <<\_ACEOF
95962 #define HAVE_COPYSIGN 1
95963 _ACEOF
95965 cat >>confdefs.h <<\_ACEOF
95966 #define HAVE_COPYSIGNF 1
95967 _ACEOF
95969 cat >>confdefs.h <<\_ACEOF
95970 #define HAVE_FINITE 1
95971 _ACEOF
95973 cat >>confdefs.h <<\_ACEOF
95974 #define HAVE_FINITEF 1
95975 _ACEOF
95977 cat >>confdefs.h <<\_ACEOF
95978 #define HAVE_FREXPF 1
95979 _ACEOF
95981 cat >>confdefs.h <<\_ACEOF
95982 #define HAVE_HYPOTF 1
95983 _ACEOF
95985 cat >>confdefs.h <<\_ACEOF
95986 #define HAVE_ISINF 1
95987 _ACEOF
95989 cat >>confdefs.h <<\_ACEOF
95990 #define HAVE_ISINFF 1
95991 _ACEOF
95993 cat >>confdefs.h <<\_ACEOF
95994 #define HAVE_ISNAN 1
95995 _ACEOF
95997 cat >>confdefs.h <<\_ACEOF
95998 #define HAVE_ISNANF 1
95999 _ACEOF
96001 cat >>confdefs.h <<\_ACEOF
96002 #define HAVE_SINCOS 1
96003 _ACEOF
96005 cat >>confdefs.h <<\_ACEOF
96006 #define HAVE_SINCOSF 1
96007 _ACEOF
96009 if test x"long_double_math_on_this_cpu" = x"yes"; then
96010 cat >>confdefs.h <<\_ACEOF
96011 #define HAVE_FINITEL 1
96012 _ACEOF
96014 cat >>confdefs.h <<\_ACEOF
96015 #define HAVE_HYPOTL 1
96016 _ACEOF
96018 cat >>confdefs.h <<\_ACEOF
96019 #define HAVE_ISINFL 1
96020 _ACEOF
96022 cat >>confdefs.h <<\_ACEOF
96023 #define HAVE_ISNANL 1
96024 _ACEOF
96028 *-vxworks)
96029 cat >>confdefs.h <<\_ACEOF
96030 #define HAVE_MMAP 1
96031 _ACEOF
96033 cat >>confdefs.h <<\_ACEOF
96034 #define HAVE_ACOSF 1
96035 _ACEOF
96037 cat >>confdefs.h <<\_ACEOF
96038 #define HAVE_ASINF 1
96039 _ACEOF
96041 cat >>confdefs.h <<\_ACEOF
96042 #define HAVE_ATAN2F 1
96043 _ACEOF
96045 cat >>confdefs.h <<\_ACEOF
96046 #define HAVE_ATANF 1
96047 _ACEOF
96049 cat >>confdefs.h <<\_ACEOF
96050 #define HAVE_CEILF 1
96051 _ACEOF
96053 cat >>confdefs.h <<\_ACEOF
96054 #define HAVE_COSF 1
96055 _ACEOF
96057 cat >>confdefs.h <<\_ACEOF
96058 #define HAVE_COSHF 1
96059 _ACEOF
96061 cat >>confdefs.h <<\_ACEOF
96062 #define HAVE_EXPF 1
96063 _ACEOF
96065 cat >>confdefs.h <<\_ACEOF
96066 #define HAVE_FABSF 1
96067 _ACEOF
96069 cat >>confdefs.h <<\_ACEOF
96070 #define HAVE_FLOORF 1
96071 _ACEOF
96073 cat >>confdefs.h <<\_ACEOF
96074 #define HAVE_FMODF 1
96075 _ACEOF
96077 cat >>confdefs.h <<\_ACEOF
96078 #define HAVE_HYPOT 1
96079 _ACEOF
96081 cat >>confdefs.h <<\_ACEOF
96082 #define HAVE_LOG10F 1
96083 _ACEOF
96085 cat >>confdefs.h <<\_ACEOF
96086 #define HAVE_LOGF 1
96087 _ACEOF
96089 cat >>confdefs.h <<\_ACEOF
96090 #define HAVE_POWF 1
96091 _ACEOF
96093 cat >>confdefs.h <<\_ACEOF
96094 #define HAVE_SINF 1
96095 _ACEOF
96097 cat >>confdefs.h <<\_ACEOF
96098 #define HAVE_SINHF 1
96099 _ACEOF
96101 cat >>confdefs.h <<\_ACEOF
96102 #define HAVE_SQRTF 1
96103 _ACEOF
96105 cat >>confdefs.h <<\_ACEOF
96106 #define HAVE_TANF 1
96107 _ACEOF
96109 cat >>confdefs.h <<\_ACEOF
96110 #define HAVE_TANHF 1
96111 _ACEOF
96114 *-windiss*)
96115 cat >>confdefs.h <<\_ACEOF
96116 #define HAVE_ACOSF 1
96117 _ACEOF
96119 cat >>confdefs.h <<\_ACEOF
96120 #define HAVE_ACOSL 1
96121 _ACEOF
96123 cat >>confdefs.h <<\_ACEOF
96124 #define HAVE_ASINF 1
96125 _ACEOF
96127 cat >>confdefs.h <<\_ACEOF
96128 #define HAVE_ASINL 1
96129 _ACEOF
96131 cat >>confdefs.h <<\_ACEOF
96132 #define HAVE_ATAN2F 1
96133 _ACEOF
96135 cat >>confdefs.h <<\_ACEOF
96136 #define HAVE_ATAN2L 1
96137 _ACEOF
96139 cat >>confdefs.h <<\_ACEOF
96140 #define HAVE_ATANF 1
96141 _ACEOF
96143 cat >>confdefs.h <<\_ACEOF
96144 #define HAVE_ATANL 1
96145 _ACEOF
96147 cat >>confdefs.h <<\_ACEOF
96148 #define HAVE_CEILF 1
96149 _ACEOF
96151 cat >>confdefs.h <<\_ACEOF
96152 #define HAVE_CEILL 1
96153 _ACEOF
96155 cat >>confdefs.h <<\_ACEOF
96156 #define HAVE_COPYSIGN 1
96157 _ACEOF
96159 cat >>confdefs.h <<\_ACEOF
96160 #define HAVE_COPYSIGNF 1
96161 _ACEOF
96163 cat >>confdefs.h <<\_ACEOF
96164 #define HAVE_COSF 1
96165 _ACEOF
96167 cat >>confdefs.h <<\_ACEOF
96168 #define HAVE_COSL 1
96169 _ACEOF
96171 cat >>confdefs.h <<\_ACEOF
96172 #define HAVE_COSHF 1
96173 _ACEOF
96175 cat >>confdefs.h <<\_ACEOF
96176 #define HAVE_COSHL 1
96177 _ACEOF
96179 cat >>confdefs.h <<\_ACEOF
96180 #define HAVE_EXPF 1
96181 _ACEOF
96183 cat >>confdefs.h <<\_ACEOF
96184 #define HAVE_EXPL 1
96185 _ACEOF
96187 cat >>confdefs.h <<\_ACEOF
96188 #define HAVE_FABSF 1
96189 _ACEOF
96191 cat >>confdefs.h <<\_ACEOF
96192 #define HAVE_FABSL 1
96193 _ACEOF
96195 cat >>confdefs.h <<\_ACEOF
96196 #define HAVE_FLOORF 1
96197 _ACEOF
96199 cat >>confdefs.h <<\_ACEOF
96200 #define HAVE_FLOORL 1
96201 _ACEOF
96203 cat >>confdefs.h <<\_ACEOF
96204 #define HAVE_FMODF 1
96205 _ACEOF
96207 cat >>confdefs.h <<\_ACEOF
96208 #define HAVE_FMODL 1
96209 _ACEOF
96211 cat >>confdefs.h <<\_ACEOF
96212 #define HAVE_FREXPF 1
96213 _ACEOF
96215 cat >>confdefs.h <<\_ACEOF
96216 #define HAVE_FREXPL 1
96217 _ACEOF
96219 cat >>confdefs.h <<\_ACEOF
96220 #define HAVE_LDEXPF 1
96221 _ACEOF
96223 cat >>confdefs.h <<\_ACEOF
96224 #define HAVE_LDEXPL 1
96225 _ACEOF
96227 cat >>confdefs.h <<\_ACEOF
96228 #define HAVE_LOG10F 1
96229 _ACEOF
96231 cat >>confdefs.h <<\_ACEOF
96232 #define HAVE_LOG10L 1
96233 _ACEOF
96235 cat >>confdefs.h <<\_ACEOF
96236 #define HAVE_LOGF 1
96237 _ACEOF
96239 cat >>confdefs.h <<\_ACEOF
96240 #define HAVE_MODFF 1
96241 _ACEOF
96243 cat >>confdefs.h <<\_ACEOF
96244 #define HAVE_MODFL 1
96245 _ACEOF
96247 cat >>confdefs.h <<\_ACEOF
96248 #define HAVE_POWF 1
96249 _ACEOF
96251 cat >>confdefs.h <<\_ACEOF
96252 #define HAVE_POWL 1
96253 _ACEOF
96255 cat >>confdefs.h <<\_ACEOF
96256 #define HAVE_SINF 1
96257 _ACEOF
96259 cat >>confdefs.h <<\_ACEOF
96260 #define HAVE_SINL 1
96261 _ACEOF
96263 cat >>confdefs.h <<\_ACEOF
96264 #define HAVE_SINHF 1
96265 _ACEOF
96267 cat >>confdefs.h <<\_ACEOF
96268 #define HAVE_SINHL 1
96269 _ACEOF
96271 cat >>confdefs.h <<\_ACEOF
96272 #define HAVE_SQRTF 1
96273 _ACEOF
96275 cat >>confdefs.h <<\_ACEOF
96276 #define HAVE_SQRTL 1
96277 _ACEOF
96279 cat >>confdefs.h <<\_ACEOF
96280 #define HAVE_TANF 1
96281 _ACEOF
96283 cat >>confdefs.h <<\_ACEOF
96284 #define HAVE_TANL 1
96285 _ACEOF
96287 cat >>confdefs.h <<\_ACEOF
96288 #define HAVE_TANHF 1
96289 _ACEOF
96291 cat >>confdefs.h <<\_ACEOF
96292 #define HAVE_TANHL 1
96293 _ACEOF
96297 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
96298 echo "$as_me: error: No support for this host/target combination." >&2;}
96299 { (exit 1); exit 1; }; }
96301 esac
96306 # At some point, we should differentiate between architectures
96307 # like x86, which have long double versions, and alpha/powerpc/etc.,
96308 # which don't. For the time being, punt.
96309 if test x"long_double_math_on_this_cpu" = x"yes"; then
96310 cat >>confdefs.h <<\_ACEOF
96311 #define HAVE_ACOSL 1
96312 _ACEOF
96314 cat >>confdefs.h <<\_ACEOF
96315 #define HAVE_ASINL 1
96316 _ACEOF
96318 cat >>confdefs.h <<\_ACEOF
96319 #define HAVE_ATAN2L 1
96320 _ACEOF
96322 cat >>confdefs.h <<\_ACEOF
96323 #define HAVE_ATANL 1
96324 _ACEOF
96326 cat >>confdefs.h <<\_ACEOF
96327 #define HAVE_CEILL 1
96328 _ACEOF
96330 cat >>confdefs.h <<\_ACEOF
96331 #define HAVE_COPYSIGNL 1
96332 _ACEOF
96334 cat >>confdefs.h <<\_ACEOF
96335 #define HAVE_COSL 1
96336 _ACEOF
96338 cat >>confdefs.h <<\_ACEOF
96339 #define HAVE_COSHL 1
96340 _ACEOF
96342 cat >>confdefs.h <<\_ACEOF
96343 #define HAVE_EXPL 1
96344 _ACEOF
96346 cat >>confdefs.h <<\_ACEOF
96347 #define HAVE_FABSL 1
96348 _ACEOF
96350 cat >>confdefs.h <<\_ACEOF
96351 #define HAVE_FLOORL 1
96352 _ACEOF
96354 cat >>confdefs.h <<\_ACEOF
96355 #define HAVE_FMODL 1
96356 _ACEOF
96358 cat >>confdefs.h <<\_ACEOF
96359 #define HAVE_FREXPL 1
96360 _ACEOF
96362 cat >>confdefs.h <<\_ACEOF
96363 #define HAVE_LDEXPL 1
96364 _ACEOF
96366 cat >>confdefs.h <<\_ACEOF
96367 #define HAVE_LOG10L 1
96368 _ACEOF
96370 cat >>confdefs.h <<\_ACEOF
96371 #define HAVE_LOGL 1
96372 _ACEOF
96374 cat >>confdefs.h <<\_ACEOF
96375 #define HAVE_MODFL 1
96376 _ACEOF
96378 cat >>confdefs.h <<\_ACEOF
96379 #define HAVE_POWL 1
96380 _ACEOF
96382 cat >>confdefs.h <<\_ACEOF
96383 #define HAVE_SINCOSL 1
96384 _ACEOF
96386 cat >>confdefs.h <<\_ACEOF
96387 #define HAVE_SINL 1
96388 _ACEOF
96390 cat >>confdefs.h <<\_ACEOF
96391 #define HAVE_SINHL 1
96392 _ACEOF
96394 cat >>confdefs.h <<\_ACEOF
96395 #define HAVE_SQRTL 1
96396 _ACEOF
96398 cat >>confdefs.h <<\_ACEOF
96399 #define HAVE_TANL 1
96400 _ACEOF
96402 cat >>confdefs.h <<\_ACEOF
96403 #define HAVE_TANHL 1
96404 _ACEOF
96410 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
96413 # Check whether --enable-symvers or --disable-symvers was given.
96414 if test "${enable_symvers+set}" = set; then
96415 enableval="$enable_symvers"
96417 case "$enableval" in
96418 yes|no|gnu) ;;
96419 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
96420 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
96421 { (exit 1); exit 1; }; } ;;
96422 esac
96424 else
96425 enable_symvers=yes
96429 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
96430 # don't know enough about $LD to do tricks...
96432 # FIXME The following test is too strict, in theory.
96433 if test $enable_shared = no ||
96434 test "x$LD" = x ||
96435 test x$glibcxx_gnu_ld_version = x; then
96436 enable_symvers=no
96439 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
96440 if test $enable_symvers != no; then
96441 echo "$as_me:$LINENO: checking for shared libgcc" >&5
96442 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
96443 ac_save_CFLAGS="$CFLAGS"
96444 CFLAGS=' -lgcc_s'
96445 if test x$gcc_no_link = xyes; then
96446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96448 { (exit 1); exit 1; }; }
96450 cat >conftest.$ac_ext <<_ACEOF
96451 /* confdefs.h. */
96452 _ACEOF
96453 cat confdefs.h >>conftest.$ac_ext
96454 cat >>conftest.$ac_ext <<_ACEOF
96455 /* end confdefs.h. */
96458 main ()
96460 return 0;
96462 return 0;
96464 _ACEOF
96465 rm -f conftest.$ac_objext conftest$ac_exeext
96466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96467 (eval $ac_link) 2>conftest.er1
96468 ac_status=$?
96469 grep -v '^ *+' conftest.er1 >conftest.err
96470 rm -f conftest.er1
96471 cat conftest.err >&5
96472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96473 (exit $ac_status); } &&
96474 { ac_try='test -z "$ac_c_werror_flag"
96475 || test ! -s conftest.err'
96476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96477 (eval $ac_try) 2>&5
96478 ac_status=$?
96479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96480 (exit $ac_status); }; } &&
96481 { ac_try='test -s conftest$ac_exeext'
96482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96483 (eval $ac_try) 2>&5
96484 ac_status=$?
96485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96486 (exit $ac_status); }; }; then
96487 glibcxx_shared_libgcc=yes
96488 else
96489 echo "$as_me: failed program was:" >&5
96490 sed 's/^/| /' conftest.$ac_ext >&5
96492 glibcxx_shared_libgcc=no
96494 rm -f conftest.err conftest.$ac_objext \
96495 conftest$ac_exeext conftest.$ac_ext
96496 CFLAGS="$ac_save_CFLAGS"
96497 if test $glibcxx_shared_libgcc = no; then
96498 cat > conftest.c <<EOF
96499 int main (void) { return 0; }
96501 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
96502 -shared -shared-libgcc -o conftest.so \
96503 conftest.c -v 2>&1 >/dev/null \
96504 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
96505 rm -f conftest.c conftest.so
96506 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
96507 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
96508 if test x$gcc_no_link = xyes; then
96509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96511 { (exit 1); exit 1; }; }
96513 cat >conftest.$ac_ext <<_ACEOF
96514 /* confdefs.h. */
96515 _ACEOF
96516 cat confdefs.h >>conftest.$ac_ext
96517 cat >>conftest.$ac_ext <<_ACEOF
96518 /* end confdefs.h. */
96521 main ()
96523 return 0;
96525 return 0;
96527 _ACEOF
96528 rm -f conftest.$ac_objext conftest$ac_exeext
96529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96530 (eval $ac_link) 2>conftest.er1
96531 ac_status=$?
96532 grep -v '^ *+' conftest.er1 >conftest.err
96533 rm -f conftest.er1
96534 cat conftest.err >&5
96535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96536 (exit $ac_status); } &&
96537 { ac_try='test -z "$ac_c_werror_flag"
96538 || test ! -s conftest.err'
96539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96540 (eval $ac_try) 2>&5
96541 ac_status=$?
96542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96543 (exit $ac_status); }; } &&
96544 { ac_try='test -s conftest$ac_exeext'
96545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96546 (eval $ac_try) 2>&5
96547 ac_status=$?
96548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96549 (exit $ac_status); }; }; then
96550 glibcxx_shared_libgcc=yes
96551 else
96552 echo "$as_me: failed program was:" >&5
96553 sed 's/^/| /' conftest.$ac_ext >&5
96556 rm -f conftest.err conftest.$ac_objext \
96557 conftest$ac_exeext conftest.$ac_ext
96558 CFLAGS="$ac_save_CFLAGS"
96561 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
96562 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
96565 # For GNU ld, we need at least this version. The format is described in
96566 # GLIBCXX_CHECK_LINKER_FEATURES above.
96567 glibcxx_min_gnu_ld_version=21400
96568 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
96570 # Check to see if unspecified "yes" value can win, given results above.
96571 # Change "yes" into either "no" or a style name.
96572 if test $enable_symvers = yes; then
96573 if test $with_gnu_ld = yes &&
96574 test $glibcxx_shared_libgcc = yes;
96575 then
96576 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
96577 enable_symvers=gnu
96578 else
96579 # The right tools, the right setup, but too old. Fallbacks?
96580 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
96581 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
96582 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
96583 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
96584 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
96585 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
96586 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
96587 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
96588 if test $glibcxx_gnu_ld_version -ge 21200 ; then
96589 # Globbing fix is present, proper block support is not.
96590 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96591 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96592 enable_symvers=no
96593 else
96594 # 2.11 or older.
96595 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96596 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96597 enable_symvers=no
96600 else
96601 # just fail for now
96602 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
96603 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
96604 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
96605 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
96606 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
96607 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
96608 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96609 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96610 enable_symvers=no
96614 # Everything parsed; figure out what file to use.
96615 case $enable_symvers in
96617 SYMVER_MAP=config/linker-map.dummy
96619 gnu)
96620 SYMVER_MAP=config/linker-map.gnu
96621 cat >>confdefs.h <<\_ACEOF
96622 #define _GLIBCXX_SYMVER 1
96623 _ACEOF
96626 esac
96631 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
96632 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
96635 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
96637 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
96638 # Do checks for resource limit functions.
96640 setrlimit_have_headers=yes
96644 for ac_header in unistd.h sys/time.h sys/resource.h
96646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96648 echo "$as_me:$LINENO: checking for $ac_header" >&5
96649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96651 echo $ECHO_N "(cached) $ECHO_C" >&6
96653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96655 else
96656 # Is the header compilable?
96657 echo "$as_me:$LINENO: checking $ac_header usability" >&5
96658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96659 cat >conftest.$ac_ext <<_ACEOF
96660 /* confdefs.h. */
96661 _ACEOF
96662 cat confdefs.h >>conftest.$ac_ext
96663 cat >>conftest.$ac_ext <<_ACEOF
96664 /* end confdefs.h. */
96665 $ac_includes_default
96666 #include <$ac_header>
96667 _ACEOF
96668 rm -f conftest.$ac_objext
96669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96670 (eval $ac_compile) 2>conftest.er1
96671 ac_status=$?
96672 grep -v '^ *+' conftest.er1 >conftest.err
96673 rm -f conftest.er1
96674 cat conftest.err >&5
96675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96676 (exit $ac_status); } &&
96677 { ac_try='test -z "$ac_c_werror_flag"
96678 || test ! -s conftest.err'
96679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96680 (eval $ac_try) 2>&5
96681 ac_status=$?
96682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96683 (exit $ac_status); }; } &&
96684 { ac_try='test -s conftest.$ac_objext'
96685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96686 (eval $ac_try) 2>&5
96687 ac_status=$?
96688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96689 (exit $ac_status); }; }; then
96690 ac_header_compiler=yes
96691 else
96692 echo "$as_me: failed program was:" >&5
96693 sed 's/^/| /' conftest.$ac_ext >&5
96695 ac_header_compiler=no
96697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96699 echo "${ECHO_T}$ac_header_compiler" >&6
96701 # Is the header present?
96702 echo "$as_me:$LINENO: checking $ac_header presence" >&5
96703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96704 cat >conftest.$ac_ext <<_ACEOF
96705 /* confdefs.h. */
96706 _ACEOF
96707 cat confdefs.h >>conftest.$ac_ext
96708 cat >>conftest.$ac_ext <<_ACEOF
96709 /* end confdefs.h. */
96710 #include <$ac_header>
96711 _ACEOF
96712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96713 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96714 ac_status=$?
96715 grep -v '^ *+' conftest.er1 >conftest.err
96716 rm -f conftest.er1
96717 cat conftest.err >&5
96718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96719 (exit $ac_status); } >/dev/null; then
96720 if test -s conftest.err; then
96721 ac_cpp_err=$ac_c_preproc_warn_flag
96722 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96723 else
96724 ac_cpp_err=
96726 else
96727 ac_cpp_err=yes
96729 if test -z "$ac_cpp_err"; then
96730 ac_header_preproc=yes
96731 else
96732 echo "$as_me: failed program was:" >&5
96733 sed 's/^/| /' conftest.$ac_ext >&5
96735 ac_header_preproc=no
96737 rm -f conftest.err conftest.$ac_ext
96738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96739 echo "${ECHO_T}$ac_header_preproc" >&6
96741 # So? What about this header?
96742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96743 yes:no: )
96744 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
96745 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
96746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
96747 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
96748 ac_header_preproc=yes
96750 no:yes:* )
96751 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
96752 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
96753 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
96754 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
96755 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
96756 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
96757 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
96758 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
96759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
96760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96761 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96762 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96764 cat <<\_ASBOX
96765 ## ----------------------------------------- ##
96766 ## Report this to the package-unused lists. ##
96767 ## ----------------------------------------- ##
96768 _ASBOX
96770 sed "s/^/$as_me: WARNING: /" >&2
96772 esac
96773 echo "$as_me:$LINENO: checking for $ac_header" >&5
96774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96776 echo $ECHO_N "(cached) $ECHO_C" >&6
96777 else
96778 eval "$as_ac_Header=\$ac_header_preproc"
96780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96785 cat >>confdefs.h <<_ACEOF
96786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
96787 _ACEOF
96789 else
96790 setrlimit_have_headers=no
96793 done
96795 # If don't have the headers, then we can't run the tests now, and we
96796 # won't be seeing any of these during testsuite compilation.
96797 if test $setrlimit_have_headers = yes; then
96798 # Can't do these in a loop, else the resulting syntax is wrong.
96800 cat >conftest.$ac_ext <<_ACEOF
96801 /* confdefs.h. */
96802 _ACEOF
96803 cat confdefs.h >>conftest.$ac_ext
96804 cat >>conftest.$ac_ext <<_ACEOF
96805 /* end confdefs.h. */
96806 #include <unistd.h>
96807 #include <sys/time.h>
96808 #include <sys/resource.h>
96811 main ()
96813 int f = RLIMIT_DATA ;
96815 return 0;
96817 _ACEOF
96818 rm -f conftest.$ac_objext
96819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96820 (eval $ac_compile) 2>conftest.er1
96821 ac_status=$?
96822 grep -v '^ *+' conftest.er1 >conftest.err
96823 rm -f conftest.er1
96824 cat conftest.err >&5
96825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96826 (exit $ac_status); } &&
96827 { ac_try='test -z "$ac_c_werror_flag"
96828 || test ! -s conftest.err'
96829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96830 (eval $ac_try) 2>&5
96831 ac_status=$?
96832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96833 (exit $ac_status); }; } &&
96834 { ac_try='test -s conftest.$ac_objext'
96835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96836 (eval $ac_try) 2>&5
96837 ac_status=$?
96838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96839 (exit $ac_status); }; }; then
96840 glibcxx_mresult=1
96841 else
96842 echo "$as_me: failed program was:" >&5
96843 sed 's/^/| /' conftest.$ac_ext >&5
96845 glibcxx_mresult=0
96847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96849 cat >>confdefs.h <<_ACEOF
96850 #define HAVE_LIMIT_DATA $glibcxx_mresult
96851 _ACEOF
96855 cat >conftest.$ac_ext <<_ACEOF
96856 /* confdefs.h. */
96857 _ACEOF
96858 cat confdefs.h >>conftest.$ac_ext
96859 cat >>conftest.$ac_ext <<_ACEOF
96860 /* end confdefs.h. */
96861 #include <unistd.h>
96862 #include <sys/time.h>
96863 #include <sys/resource.h>
96866 main ()
96868 int f = RLIMIT_RSS ;
96870 return 0;
96872 _ACEOF
96873 rm -f conftest.$ac_objext
96874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96875 (eval $ac_compile) 2>conftest.er1
96876 ac_status=$?
96877 grep -v '^ *+' conftest.er1 >conftest.err
96878 rm -f conftest.er1
96879 cat conftest.err >&5
96880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96881 (exit $ac_status); } &&
96882 { ac_try='test -z "$ac_c_werror_flag"
96883 || test ! -s conftest.err'
96884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96885 (eval $ac_try) 2>&5
96886 ac_status=$?
96887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96888 (exit $ac_status); }; } &&
96889 { ac_try='test -s conftest.$ac_objext'
96890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96891 (eval $ac_try) 2>&5
96892 ac_status=$?
96893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96894 (exit $ac_status); }; }; then
96895 glibcxx_mresult=1
96896 else
96897 echo "$as_me: failed program was:" >&5
96898 sed 's/^/| /' conftest.$ac_ext >&5
96900 glibcxx_mresult=0
96902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96904 cat >>confdefs.h <<_ACEOF
96905 #define HAVE_LIMIT_RSS $glibcxx_mresult
96906 _ACEOF
96910 cat >conftest.$ac_ext <<_ACEOF
96911 /* confdefs.h. */
96912 _ACEOF
96913 cat confdefs.h >>conftest.$ac_ext
96914 cat >>conftest.$ac_ext <<_ACEOF
96915 /* end confdefs.h. */
96916 #include <unistd.h>
96917 #include <sys/time.h>
96918 #include <sys/resource.h>
96921 main ()
96923 int f = RLIMIT_VMEM ;
96925 return 0;
96927 _ACEOF
96928 rm -f conftest.$ac_objext
96929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96930 (eval $ac_compile) 2>conftest.er1
96931 ac_status=$?
96932 grep -v '^ *+' conftest.er1 >conftest.err
96933 rm -f conftest.er1
96934 cat conftest.err >&5
96935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96936 (exit $ac_status); } &&
96937 { ac_try='test -z "$ac_c_werror_flag"
96938 || test ! -s conftest.err'
96939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96940 (eval $ac_try) 2>&5
96941 ac_status=$?
96942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96943 (exit $ac_status); }; } &&
96944 { ac_try='test -s conftest.$ac_objext'
96945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96946 (eval $ac_try) 2>&5
96947 ac_status=$?
96948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96949 (exit $ac_status); }; }; then
96950 glibcxx_mresult=1
96951 else
96952 echo "$as_me: failed program was:" >&5
96953 sed 's/^/| /' conftest.$ac_ext >&5
96955 glibcxx_mresult=0
96957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96959 cat >>confdefs.h <<_ACEOF
96960 #define HAVE_LIMIT_VMEM $glibcxx_mresult
96961 _ACEOF
96965 cat >conftest.$ac_ext <<_ACEOF
96966 /* confdefs.h. */
96967 _ACEOF
96968 cat confdefs.h >>conftest.$ac_ext
96969 cat >>conftest.$ac_ext <<_ACEOF
96970 /* end confdefs.h. */
96971 #include <unistd.h>
96972 #include <sys/time.h>
96973 #include <sys/resource.h>
96976 main ()
96978 int f = RLIMIT_AS ;
96980 return 0;
96982 _ACEOF
96983 rm -f conftest.$ac_objext
96984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96985 (eval $ac_compile) 2>conftest.er1
96986 ac_status=$?
96987 grep -v '^ *+' conftest.er1 >conftest.err
96988 rm -f conftest.er1
96989 cat conftest.err >&5
96990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96991 (exit $ac_status); } &&
96992 { ac_try='test -z "$ac_c_werror_flag"
96993 || test ! -s conftest.err'
96994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96995 (eval $ac_try) 2>&5
96996 ac_status=$?
96997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96998 (exit $ac_status); }; } &&
96999 { ac_try='test -s conftest.$ac_objext'
97000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97001 (eval $ac_try) 2>&5
97002 ac_status=$?
97003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97004 (exit $ac_status); }; }; then
97005 glibcxx_mresult=1
97006 else
97007 echo "$as_me: failed program was:" >&5
97008 sed 's/^/| /' conftest.$ac_ext >&5
97010 glibcxx_mresult=0
97012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97014 cat >>confdefs.h <<_ACEOF
97015 #define HAVE_LIMIT_AS $glibcxx_mresult
97016 _ACEOF
97020 cat >conftest.$ac_ext <<_ACEOF
97021 /* confdefs.h. */
97022 _ACEOF
97023 cat confdefs.h >>conftest.$ac_ext
97024 cat >>conftest.$ac_ext <<_ACEOF
97025 /* end confdefs.h. */
97026 #include <unistd.h>
97027 #include <sys/time.h>
97028 #include <sys/resource.h>
97031 main ()
97033 int f = RLIMIT_FSIZE ;
97035 return 0;
97037 _ACEOF
97038 rm -f conftest.$ac_objext
97039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97040 (eval $ac_compile) 2>conftest.er1
97041 ac_status=$?
97042 grep -v '^ *+' conftest.er1 >conftest.err
97043 rm -f conftest.er1
97044 cat conftest.err >&5
97045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97046 (exit $ac_status); } &&
97047 { ac_try='test -z "$ac_c_werror_flag"
97048 || test ! -s conftest.err'
97049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97050 (eval $ac_try) 2>&5
97051 ac_status=$?
97052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97053 (exit $ac_status); }; } &&
97054 { ac_try='test -s conftest.$ac_objext'
97055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97056 (eval $ac_try) 2>&5
97057 ac_status=$?
97058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97059 (exit $ac_status); }; }; then
97060 glibcxx_mresult=1
97061 else
97062 echo "$as_me: failed program was:" >&5
97063 sed 's/^/| /' conftest.$ac_ext >&5
97065 glibcxx_mresult=0
97067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97069 cat >>confdefs.h <<_ACEOF
97070 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
97071 _ACEOF
97075 # Check for rlimit, setrlimit.
97076 if test "${ac_setrlimit+set}" = set; then
97077 echo $ECHO_N "(cached) $ECHO_C" >&6
97078 else
97080 cat >conftest.$ac_ext <<_ACEOF
97081 /* confdefs.h. */
97082 _ACEOF
97083 cat confdefs.h >>conftest.$ac_ext
97084 cat >>conftest.$ac_ext <<_ACEOF
97085 /* end confdefs.h. */
97086 #include <unistd.h>
97087 #include <sys/time.h>
97088 #include <sys/resource.h>
97091 main ()
97093 struct rlimit r;
97094 setrlimit(0, &r);
97096 return 0;
97098 _ACEOF
97099 rm -f conftest.$ac_objext
97100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97101 (eval $ac_compile) 2>conftest.er1
97102 ac_status=$?
97103 grep -v '^ *+' conftest.er1 >conftest.err
97104 rm -f conftest.er1
97105 cat conftest.err >&5
97106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97107 (exit $ac_status); } &&
97108 { ac_try='test -z "$ac_c_werror_flag"
97109 || test ! -s conftest.err'
97110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97111 (eval $ac_try) 2>&5
97112 ac_status=$?
97113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97114 (exit $ac_status); }; } &&
97115 { ac_try='test -s conftest.$ac_objext'
97116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97117 (eval $ac_try) 2>&5
97118 ac_status=$?
97119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97120 (exit $ac_status); }; }; then
97121 ac_setrlimit=yes
97122 else
97123 echo "$as_me: failed program was:" >&5
97124 sed 's/^/| /' conftest.$ac_ext >&5
97126 ac_setrlimit=no
97128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97134 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
97135 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
97136 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
97137 ac_res_limits=yes
97138 cat >>confdefs.h <<\_ACEOF
97139 #define _GLIBCXX_RES_LIMITS 1
97140 _ACEOF
97142 else
97143 ac_res_limits=no
97145 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
97146 echo "${ECHO_T}$ac_res_limits" >&6
97149 # Look for setenv, so that extended locale tests can be performed.
97151 echo "$as_me:$LINENO: checking for setenv declaration" >&5
97152 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
97153 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
97154 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
97155 echo $ECHO_N "(cached) $ECHO_C" >&6
97156 else
97160 ac_ext=cc
97161 ac_cpp='$CXXCPP $CPPFLAGS'
97162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97166 cat >conftest.$ac_ext <<_ACEOF
97167 /* confdefs.h. */
97168 _ACEOF
97169 cat confdefs.h >>conftest.$ac_ext
97170 cat >>conftest.$ac_ext <<_ACEOF
97171 /* end confdefs.h. */
97172 #include <stdlib.h>
97174 main ()
97176 setenv(0, 0, 0);
97178 return 0;
97180 _ACEOF
97181 rm -f conftest.$ac_objext
97182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97183 (eval $ac_compile) 2>conftest.er1
97184 ac_status=$?
97185 grep -v '^ *+' conftest.er1 >conftest.err
97186 rm -f conftest.er1
97187 cat conftest.err >&5
97188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97189 (exit $ac_status); } &&
97190 { ac_try='test -z "$ac_cxx_werror_flag"
97191 || test ! -s conftest.err'
97192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97193 (eval $ac_try) 2>&5
97194 ac_status=$?
97195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97196 (exit $ac_status); }; } &&
97197 { ac_try='test -s conftest.$ac_objext'
97198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97199 (eval $ac_try) 2>&5
97200 ac_status=$?
97201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97202 (exit $ac_status); }; }; then
97203 glibcxx_cv_func_setenv_use=yes
97204 else
97205 echo "$as_me: failed program was:" >&5
97206 sed 's/^/| /' conftest.$ac_ext >&5
97208 glibcxx_cv_func_setenv_use=no
97210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97211 ac_ext=c
97212 ac_cpp='$CPP $CPPFLAGS'
97213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
97222 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
97223 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
97225 for ac_func in setenv
97227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97228 echo "$as_me:$LINENO: checking for $ac_func" >&5
97229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97230 if eval "test \"\${$as_ac_var+set}\" = set"; then
97231 echo $ECHO_N "(cached) $ECHO_C" >&6
97232 else
97233 if test x$gcc_no_link = xyes; then
97234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97236 { (exit 1); exit 1; }; }
97238 cat >conftest.$ac_ext <<_ACEOF
97239 /* confdefs.h. */
97240 _ACEOF
97241 cat confdefs.h >>conftest.$ac_ext
97242 cat >>conftest.$ac_ext <<_ACEOF
97243 /* end confdefs.h. */
97244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97246 #define $ac_func innocuous_$ac_func
97248 /* System header to define __stub macros and hopefully few prototypes,
97249 which can conflict with char $ac_func (); below.
97250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97251 <limits.h> exists even on freestanding compilers. */
97253 #ifdef __STDC__
97254 # include <limits.h>
97255 #else
97256 # include <assert.h>
97257 #endif
97259 #undef $ac_func
97261 /* Override any gcc2 internal prototype to avoid an error. */
97262 #ifdef __cplusplus
97263 extern "C"
97265 #endif
97266 /* We use char because int might match the return type of a gcc2
97267 builtin and then its argument prototype would still apply. */
97268 char $ac_func ();
97269 /* The GNU C library defines this for functions which it implements
97270 to always fail with ENOSYS. Some functions are actually named
97271 something starting with __ and the normal name is an alias. */
97272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97273 choke me
97274 #else
97275 char (*f) () = $ac_func;
97276 #endif
97277 #ifdef __cplusplus
97279 #endif
97282 main ()
97284 return f != $ac_func;
97286 return 0;
97288 _ACEOF
97289 rm -f conftest.$ac_objext conftest$ac_exeext
97290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97291 (eval $ac_link) 2>conftest.er1
97292 ac_status=$?
97293 grep -v '^ *+' conftest.er1 >conftest.err
97294 rm -f conftest.er1
97295 cat conftest.err >&5
97296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97297 (exit $ac_status); } &&
97298 { ac_try='test -z "$ac_c_werror_flag"
97299 || test ! -s conftest.err'
97300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97301 (eval $ac_try) 2>&5
97302 ac_status=$?
97303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97304 (exit $ac_status); }; } &&
97305 { ac_try='test -s conftest$ac_exeext'
97306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97307 (eval $ac_try) 2>&5
97308 ac_status=$?
97309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97310 (exit $ac_status); }; }; then
97311 eval "$as_ac_var=yes"
97312 else
97313 echo "$as_me: failed program was:" >&5
97314 sed 's/^/| /' conftest.$ac_ext >&5
97316 eval "$as_ac_var=no"
97318 rm -f conftest.err conftest.$ac_objext \
97319 conftest$ac_exeext conftest.$ac_ext
97321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97323 if test `eval echo '${'$as_ac_var'}'` = yes; then
97324 cat >>confdefs.h <<_ACEOF
97325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97326 _ACEOF
97329 done
97334 if test $enable_symvers = no; then
97335 enable_abi_check=no
97336 else
97337 case "$host" in
97338 *-*-cygwin*)
97339 enable_abi_check=no ;;
97341 enable_abi_check=yes ;;
97342 esac
97344 else
97345 # Only build this as native, since automake does not understand
97346 # CXX_FOR_BUILD.
97347 enable_abi_check=no
97350 # Export file names for ABI checking.
97351 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
97358 # Propagate the target-specific source directories through the build chain.
97359 ATOMICITY_SRCDIR=config/${atomicity_dir}
97360 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
97361 OS_INC_SRCDIR=config/${os_include_dir}
97362 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
97368 # Determine cross-compile flags and AM_CONDITIONALs.
97369 #AC_SUBST(GLIBCXX_IS_NATIVE)
97370 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
97371 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
97372 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
97375 if test $is_hosted = yes; then
97376 GLIBCXX_HOSTED_TRUE=
97377 GLIBCXX_HOSTED_FALSE='#'
97378 else
97379 GLIBCXX_HOSTED_TRUE='#'
97380 GLIBCXX_HOSTED_FALSE=
97386 if test $enable_libstdcxx_pch = yes; then
97387 GLIBCXX_BUILD_PCH_TRUE=
97388 GLIBCXX_BUILD_PCH_FALSE='#'
97389 else
97390 GLIBCXX_BUILD_PCH_TRUE='#'
97391 GLIBCXX_BUILD_PCH_FALSE=
97397 if test $enable_cheaders = c; then
97398 GLIBCXX_C_HEADERS_C_TRUE=
97399 GLIBCXX_C_HEADERS_C_FALSE='#'
97400 else
97401 GLIBCXX_C_HEADERS_C_TRUE='#'
97402 GLIBCXX_C_HEADERS_C_FALSE=
97408 if test $enable_cheaders = c_std; then
97409 GLIBCXX_C_HEADERS_C_STD_TRUE=
97410 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
97411 else
97412 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
97413 GLIBCXX_C_HEADERS_C_STD_FALSE=
97419 if test $c_compatibility = yes; then
97420 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
97421 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
97422 else
97423 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
97424 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
97430 if test $enable_libstdcxx_debug = yes; then
97431 GLIBCXX_BUILD_DEBUG_TRUE=
97432 GLIBCXX_BUILD_DEBUG_FALSE='#'
97433 else
97434 GLIBCXX_BUILD_DEBUG_TRUE='#'
97435 GLIBCXX_BUILD_DEBUG_FALSE=
97441 if test $enable_symvers != no; then
97442 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
97443 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
97444 else
97445 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
97446 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
97452 if test $enable_wchar_t = yes; then
97453 GLIBCXX_TEST_WCHAR_T_TRUE=
97454 GLIBCXX_TEST_WCHAR_T_FALSE='#'
97455 else
97456 GLIBCXX_TEST_WCHAR_T_TRUE='#'
97457 GLIBCXX_TEST_WCHAR_T_FALSE=
97463 if test $enable_abi_check = yes; then
97464 GLIBCXX_TEST_ABI_TRUE=
97465 GLIBCXX_TEST_ABI_FALSE='#'
97466 else
97467 GLIBCXX_TEST_ABI_TRUE='#'
97468 GLIBCXX_TEST_ABI_FALSE=
97474 cat >confcache <<\_ACEOF
97475 # This file is a shell script that caches the results of configure
97476 # tests run on this system so they can be shared between configure
97477 # scripts and configure runs, see configure's option --config-cache.
97478 # It is not useful on other systems. If it contains results you don't
97479 # want to keep, you may remove or edit it.
97481 # config.status only pays attention to the cache file if you give it
97482 # the --recheck option to rerun configure.
97484 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97485 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97486 # following values.
97488 _ACEOF
97490 # The following way of writing the cache mishandles newlines in values,
97491 # but we know of no workaround that is simple, portable, and efficient.
97492 # So, don't put newlines in cache variables' values.
97493 # Ultrix sh set writes to stderr and can't be redirected directly,
97494 # and sets the high bit in the cache file unless we assign to the vars.
97496 (set) 2>&1 |
97497 case `(ac_space=' '; set | grep ac_space) 2>&1` in
97498 *ac_space=\ *)
97499 # `set' does not quote correctly, so add quotes (double-quote
97500 # substitution turns \\\\ into \\, and sed turns \\ into \).
97501 sed -n \
97502 "s/'/'\\\\''/g;
97503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97506 # `set' quotes correctly as required by POSIX, so do not add quotes.
97507 sed -n \
97508 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97510 esac;
97512 sed '
97513 t clear
97514 : clear
97515 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97516 t end
97517 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97518 : end' >>confcache
97519 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97520 if test -w $cache_file; then
97521 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97522 cat confcache >$cache_file
97523 else
97524 echo "not updating unwritable cache $cache_file"
97527 rm -f confcache
97529 if test ${multilib} = yes; then
97530 multilib_arg="--enable-multilib"
97531 else
97532 multilib_arg=
97535 # Export all the install information.
97537 glibcxx_toolexecdir=no
97538 glibcxx_toolexeclibdir=no
97539 glibcxx_prefixdir=$prefix
97541 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
97542 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
97544 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
97545 if test "${with_gxx_include_dir+set}" = set; then
97546 withval="$with_gxx_include_dir"
97547 case "$withval" in
97548 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
97549 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
97550 { (exit 1); exit 1; }; } ;;
97551 no) gxx_include_dir=no ;;
97552 *) gxx_include_dir=$withval ;;
97553 esac
97554 else
97555 gxx_include_dir=no
97557 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97558 echo "${ECHO_T}$gxx_include_dir" >&6
97560 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
97561 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
97562 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
97563 if test "${enable_version_specific_runtime_libs+set}" = set; then
97564 enableval="$enable_version_specific_runtime_libs"
97565 case "$enableval" in
97566 yes) version_specific_libs=yes ;;
97567 no) version_specific_libs=no ;;
97568 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
97569 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
97570 { (exit 1); exit 1; }; };;
97571 esac
97572 else
97573 version_specific_libs=no
97575 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
97576 echo "${ECHO_T}$version_specific_libs" >&6
97578 # Default case for install directory for include files.
97579 if test $version_specific_libs = no && test $gxx_include_dir = no; then
97580 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
97583 # Version-specific runtime libs processing.
97584 if test $version_specific_libs = yes; then
97585 # Need the gcc compiler version to know where to install libraries
97586 # and header files if --enable-version-specific-runtime-libs option
97587 # is selected. FIXME: these variables are misnamed, there are
97588 # no executables installed in _toolexecdir or _toolexeclibdir.
97589 if test x"$gxx_include_dir" = x"no"; then
97590 gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
97592 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97593 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
97596 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
97597 # Install a library built with a cross compiler in tooldir, not libdir.
97598 if test x"$glibcxx_toolexecdir" = x"no"; then
97599 if test -n "$with_cross_host" &&
97600 test x"$with_cross_host" != x"no"; then
97601 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
97602 glibcxx_toolexeclibdir='${toolexecdir}/lib'
97603 else
97604 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97605 glibcxx_toolexeclibdir='${libdir}'
97607 multi_os_directory=`$CXX -print-multi-os-directory`
97608 case $multi_os_directory in
97609 .) ;; # Avoid trailing /.
97610 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
97611 esac
97614 echo "$as_me:$LINENO: checking for install location" >&5
97615 echo $ECHO_N "checking for install location... $ECHO_C" >&6
97616 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97617 echo "${ECHO_T}$gxx_include_dir" >&6
97625 # Export all the include and flag information to Makefiles.
97627 # Used for every C++ compile we perform.
97628 GLIBCXX_INCLUDES="\
97629 -I$glibcxx_builddir/include/$host_alias \
97630 -I$glibcxx_builddir/include \
97631 -I$glibcxx_srcdir/libsupc++"
97633 # For Canadian crosses, pick this up too.
97634 if test $CANADIAN = yes; then
97635 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
97638 # Stuff in the actual top level. Currently only used by libsupc++ to
97639 # get unwind* headers from the gcc dir.
97640 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
97641 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
97643 # Now, export this to all the little Makefiles....
97648 # Optimization flags that are probably a good idea for thrill-seekers. Just
97649 # uncomment the lines below and make, everything else is ready to go...
97650 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
97651 OPTIMIZE_CXXFLAGS=
97654 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
97658 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
97659 grep "enable shared" > /dev/null;
97660 then
97661 LIBSUPCXX_PICFLAGS=-prefer-pic
97662 else
97663 LIBSUPCXX_PICFLAGS=
97667 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
97669 ac_config_files="$ac_config_files scripts/check_survey"
97671 ac_config_files="$ac_config_files scripts/testsuite_flags"
97674 ac_config_commands="$ac_config_commands default"
97677 cat >confcache <<\_ACEOF
97678 # This file is a shell script that caches the results of configure
97679 # tests run on this system so they can be shared between configure
97680 # scripts and configure runs, see configure's option --config-cache.
97681 # It is not useful on other systems. If it contains results you don't
97682 # want to keep, you may remove or edit it.
97684 # config.status only pays attention to the cache file if you give it
97685 # the --recheck option to rerun configure.
97687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97689 # following values.
97691 _ACEOF
97693 # The following way of writing the cache mishandles newlines in values,
97694 # but we know of no workaround that is simple, portable, and efficient.
97695 # So, don't put newlines in cache variables' values.
97696 # Ultrix sh set writes to stderr and can't be redirected directly,
97697 # and sets the high bit in the cache file unless we assign to the vars.
97699 (set) 2>&1 |
97700 case `(ac_space=' '; set | grep ac_space) 2>&1` in
97701 *ac_space=\ *)
97702 # `set' does not quote correctly, so add quotes (double-quote
97703 # substitution turns \\\\ into \\, and sed turns \\ into \).
97704 sed -n \
97705 "s/'/'\\\\''/g;
97706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97709 # `set' quotes correctly as required by POSIX, so do not add quotes.
97710 sed -n \
97711 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97713 esac;
97715 sed '
97716 t clear
97717 : clear
97718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97719 t end
97720 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97721 : end' >>confcache
97722 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97723 if test -w $cache_file; then
97724 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97725 cat confcache >$cache_file
97726 else
97727 echo "not updating unwritable cache $cache_file"
97730 rm -f confcache
97732 test "x$prefix" = xNONE && prefix=$ac_default_prefix
97733 # Let make expand exec_prefix.
97734 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
97736 # VPATH may cause trouble with some makes, so we remove $(srcdir),
97737 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
97738 # trailing colons and then remove the whole line if VPATH becomes empty
97739 # (actually we leave an empty line to preserve line numbers).
97740 if test "x$srcdir" = x.; then
97741 ac_vpsub='/^[ ]*VPATH[ ]*=/{
97742 s/:*\$(srcdir):*/:/;
97743 s/:*\${srcdir}:*/:/;
97744 s/:*@srcdir@:*/:/;
97745 s/^\([^=]*=[ ]*\):*/\1/;
97746 s/:*$//;
97747 s/^[^=]*=[ ]*$//;
97751 DEFS=-DHAVE_CONFIG_H
97753 ac_libobjs=
97754 ac_ltlibobjs=
97755 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
97756 # 1. Remove the extension, and $U if already installed.
97757 ac_i=`echo "$ac_i" |
97758 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
97759 # 2. Add them.
97760 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
97761 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
97762 done
97763 LIBOBJS=$ac_libobjs
97765 LTLIBOBJS=$ac_ltlibobjs
97768 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
97769 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
97770 Usually this means the macro was only invoked conditionally." >&5
97771 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
97772 Usually this means the macro was only invoked conditionally." >&2;}
97773 { (exit 1); exit 1; }; }
97775 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
97776 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97777 Usually this means the macro was only invoked conditionally." >&5
97778 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97779 Usually this means the macro was only invoked conditionally." >&2;}
97780 { (exit 1); exit 1; }; }
97782 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
97783 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97784 Usually this means the macro was only invoked conditionally." >&5
97785 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97786 Usually this means the macro was only invoked conditionally." >&2;}
97787 { (exit 1); exit 1; }; }
97789 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
97790 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97791 Usually this means the macro was only invoked conditionally." >&5
97792 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97793 Usually this means the macro was only invoked conditionally." >&2;}
97794 { (exit 1); exit 1; }; }
97796 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
97797 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97798 Usually this means the macro was only invoked conditionally." >&5
97799 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97800 Usually this means the macro was only invoked conditionally." >&2;}
97801 { (exit 1); exit 1; }; }
97803 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
97804 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97805 Usually this means the macro was only invoked conditionally." >&5
97806 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97807 Usually this means the macro was only invoked conditionally." >&2;}
97808 { (exit 1); exit 1; }; }
97810 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
97811 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97812 Usually this means the macro was only invoked conditionally." >&5
97813 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97814 Usually this means the macro was only invoked conditionally." >&2;}
97815 { (exit 1); exit 1; }; }
97817 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
97818 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97819 Usually this means the macro was only invoked conditionally." >&5
97820 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97821 Usually this means the macro was only invoked conditionally." >&2;}
97822 { (exit 1); exit 1; }; }
97824 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
97825 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97826 Usually this means the macro was only invoked conditionally." >&5
97827 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97828 Usually this means the macro was only invoked conditionally." >&2;}
97829 { (exit 1); exit 1; }; }
97831 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
97832 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97833 Usually this means the macro was only invoked conditionally." >&5
97834 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97835 Usually this means the macro was only invoked conditionally." >&2;}
97836 { (exit 1); exit 1; }; }
97839 : ${CONFIG_STATUS=./config.status}
97840 ac_clean_files_save=$ac_clean_files
97841 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
97842 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
97843 echo "$as_me: creating $CONFIG_STATUS" >&6;}
97844 cat >$CONFIG_STATUS <<_ACEOF
97845 #! $SHELL
97846 # Generated by $as_me.
97847 # Run this file to recreate the current configuration.
97848 # Compiler output produced by configure, useful for debugging
97849 # configure, is in config.log if it exists.
97851 debug=false
97852 ac_cs_recheck=false
97853 ac_cs_silent=false
97854 SHELL=\${CONFIG_SHELL-$SHELL}
97855 _ACEOF
97857 cat >>$CONFIG_STATUS <<\_ACEOF
97858 ## --------------------- ##
97859 ## M4sh Initialization. ##
97860 ## --------------------- ##
97862 # Be Bourne compatible
97863 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
97864 emulate sh
97865 NULLCMD=:
97866 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
97867 # is contrary to our usage. Disable this feature.
97868 alias -g '${1+"$@"}'='"$@"'
97869 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
97870 set -o posix
97872 DUALCASE=1; export DUALCASE # for MKS sh
97874 # Support unset when possible.
97875 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
97876 as_unset=unset
97877 else
97878 as_unset=false
97882 # Work around bugs in pre-3.0 UWIN ksh.
97883 $as_unset ENV MAIL MAILPATH
97884 PS1='$ '
97885 PS2='> '
97886 PS4='+ '
97888 # NLS nuisances.
97889 for as_var in \
97890 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
97891 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
97892 LC_TELEPHONE LC_TIME
97894 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
97895 eval $as_var=C; export $as_var
97896 else
97897 $as_unset $as_var
97899 done
97901 # Required to use basename.
97902 if expr a : '\(a\)' >/dev/null 2>&1; then
97903 as_expr=expr
97904 else
97905 as_expr=false
97908 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
97909 as_basename=basename
97910 else
97911 as_basename=false
97915 # Name of the executable.
97916 as_me=`$as_basename "$0" ||
97917 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
97918 X"$0" : 'X\(//\)$' \| \
97919 X"$0" : 'X\(/\)$' \| \
97920 . : '\(.\)' 2>/dev/null ||
97921 echo X/"$0" |
97922 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
97923 /^X\/\(\/\/\)$/{ s//\1/; q; }
97924 /^X\/\(\/\).*/{ s//\1/; q; }
97925 s/.*/./; q'`
97928 # PATH needs CR, and LINENO needs CR and PATH.
97929 # Avoid depending upon Character Ranges.
97930 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
97931 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
97932 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
97933 as_cr_digits='0123456789'
97934 as_cr_alnum=$as_cr_Letters$as_cr_digits
97936 # The user is always right.
97937 if test "${PATH_SEPARATOR+set}" != set; then
97938 echo "#! /bin/sh" >conf$$.sh
97939 echo "exit 0" >>conf$$.sh
97940 chmod +x conf$$.sh
97941 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
97942 PATH_SEPARATOR=';'
97943 else
97944 PATH_SEPARATOR=:
97946 rm -f conf$$.sh
97950 as_lineno_1=$LINENO
97951 as_lineno_2=$LINENO
97952 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
97953 test "x$as_lineno_1" != "x$as_lineno_2" &&
97954 test "x$as_lineno_3" = "x$as_lineno_2" || {
97955 # Find who we are. Look in the path if we contain no path at all
97956 # relative or not.
97957 case $0 in
97958 *[\\/]* ) as_myself=$0 ;;
97959 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97960 for as_dir in $PATH
97962 IFS=$as_save_IFS
97963 test -z "$as_dir" && as_dir=.
97964 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
97965 done
97968 esac
97969 # We did not find ourselves, most probably we were run as `sh COMMAND'
97970 # in which case we are not to be found in the path.
97971 if test "x$as_myself" = x; then
97972 as_myself=$0
97974 if test ! -f "$as_myself"; then
97975 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
97976 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
97977 { (exit 1); exit 1; }; }
97979 case $CONFIG_SHELL in
97981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97982 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
97984 IFS=$as_save_IFS
97985 test -z "$as_dir" && as_dir=.
97986 for as_base in sh bash ksh sh5; do
97987 case $as_dir in
97989 if ("$as_dir/$as_base" -c '
97990 as_lineno_1=$LINENO
97991 as_lineno_2=$LINENO
97992 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
97993 test "x$as_lineno_1" != "x$as_lineno_2" &&
97994 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
97995 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
97996 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
97997 CONFIG_SHELL=$as_dir/$as_base
97998 export CONFIG_SHELL
97999 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
98000 fi;;
98001 esac
98002 done
98003 done
98005 esac
98007 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
98008 # uniformly replaced by the line number. The first 'sed' inserts a
98009 # line-number line before each line; the second 'sed' does the real
98010 # work. The second script uses 'N' to pair each line-number line
98011 # with the numbered line, and appends trailing '-' during
98012 # substitution so that $LINENO is not a special case at line end.
98013 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
98014 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
98015 sed '=' <$as_myself |
98016 sed '
98018 s,$,-,
98019 : loop
98020 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
98021 t loop
98022 s,-$,,
98023 s,^['$as_cr_digits']*\n,,
98024 ' >$as_me.lineno &&
98025 chmod +x $as_me.lineno ||
98026 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
98027 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
98028 { (exit 1); exit 1; }; }
98030 # Don't try to exec as it changes $[0], causing all sort of problems
98031 # (the dirname of $[0] is not the place where we might find the
98032 # original and so on. Autoconf is especially sensible to this).
98033 . ./$as_me.lineno
98034 # Exit status is that of the last command.
98035 exit
98039 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
98040 *c*,-n*) ECHO_N= ECHO_C='
98041 ' ECHO_T=' ' ;;
98042 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
98043 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
98044 esac
98046 if expr a : '\(a\)' >/dev/null 2>&1; then
98047 as_expr=expr
98048 else
98049 as_expr=false
98052 rm -f conf$$ conf$$.exe conf$$.file
98053 echo >conf$$.file
98054 if ln -s conf$$.file conf$$ 2>/dev/null; then
98055 # We could just check for DJGPP; but this test a) works b) is more generic
98056 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
98057 if test -f conf$$.exe; then
98058 # Don't use ln at all; we don't have any links
98059 as_ln_s='cp -p'
98060 else
98061 as_ln_s='ln -s'
98063 elif ln conf$$.file conf$$ 2>/dev/null; then
98064 as_ln_s=ln
98065 else
98066 as_ln_s='cp -p'
98068 rm -f conf$$ conf$$.exe conf$$.file
98070 if mkdir -p . 2>/dev/null; then
98071 as_mkdir_p=:
98072 else
98073 test -d ./-p && rmdir ./-p
98074 as_mkdir_p=false
98077 as_executable_p="test -f"
98079 # Sed expression to map a string onto a valid CPP name.
98080 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
98082 # Sed expression to map a string onto a valid variable name.
98083 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
98086 # IFS
98087 # We need space, tab and new line, in precisely that order.
98088 as_nl='
98090 IFS=" $as_nl"
98092 # CDPATH.
98093 $as_unset CDPATH
98095 exec 6>&1
98097 # Open the log real soon, to keep \$[0] and so on meaningful, and to
98098 # report actual input values of CONFIG_FILES etc. instead of their
98099 # values after options handling. Logging --version etc. is OK.
98100 exec 5>>config.log
98102 echo
98103 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
98104 ## Running $as_me. ##
98105 _ASBOX
98106 } >&5
98107 cat >&5 <<_CSEOF
98109 This file was extended by package-unused $as_me version-unused, which was
98110 generated by GNU Autoconf 2.59. Invocation command line was
98112 CONFIG_FILES = $CONFIG_FILES
98113 CONFIG_HEADERS = $CONFIG_HEADERS
98114 CONFIG_LINKS = $CONFIG_LINKS
98115 CONFIG_COMMANDS = $CONFIG_COMMANDS
98116 $ $0 $@
98118 _CSEOF
98119 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
98120 echo >&5
98121 _ACEOF
98123 # Files that config.status was made for.
98124 if test -n "$ac_config_files"; then
98125 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
98128 if test -n "$ac_config_headers"; then
98129 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
98132 if test -n "$ac_config_links"; then
98133 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
98136 if test -n "$ac_config_commands"; then
98137 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
98140 cat >>$CONFIG_STATUS <<\_ACEOF
98142 ac_cs_usage="\
98143 \`$as_me' instantiates files from templates according to the
98144 current configuration.
98146 Usage: $0 [OPTIONS] [FILE]...
98148 -h, --help print this help, then exit
98149 -V, --version print version number, then exit
98150 -q, --quiet do not print progress messages
98151 -d, --debug don't remove temporary files
98152 --recheck update $as_me by reconfiguring in the same conditions
98153 --file=FILE[:TEMPLATE]
98154 instantiate the configuration file FILE
98155 --header=FILE[:TEMPLATE]
98156 instantiate the configuration header FILE
98158 Configuration files:
98159 $config_files
98161 Configuration headers:
98162 $config_headers
98164 Configuration commands:
98165 $config_commands
98167 Report bugs to <bug-autoconf@gnu.org>."
98168 _ACEOF
98170 cat >>$CONFIG_STATUS <<_ACEOF
98171 ac_cs_version="\\
98172 package-unused config.status version-unused
98173 configured by $0, generated by GNU Autoconf 2.59,
98174 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
98176 Copyright (C) 2003 Free Software Foundation, Inc.
98177 This config.status script is free software; the Free Software Foundation
98178 gives unlimited permission to copy, distribute and modify it."
98179 srcdir=$srcdir
98180 INSTALL="$INSTALL"
98181 _ACEOF
98183 cat >>$CONFIG_STATUS <<\_ACEOF
98184 # If no file are specified by the user, then we need to provide default
98185 # value. By we need to know if files were specified by the user.
98186 ac_need_defaults=:
98187 while test $# != 0
98189 case $1 in
98190 --*=*)
98191 ac_option=`expr "x$1" : 'x\([^=]*\)='`
98192 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
98193 ac_shift=:
98196 ac_option=$1
98197 ac_optarg=$2
98198 ac_shift=shift
98200 *) # This is not an option, so the user has probably given explicit
98201 # arguments.
98202 ac_option=$1
98203 ac_need_defaults=false;;
98204 esac
98206 case $ac_option in
98207 # Handling of the options.
98208 _ACEOF
98209 cat >>$CONFIG_STATUS <<\_ACEOF
98210 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
98211 ac_cs_recheck=: ;;
98212 --version | --vers* | -V )
98213 echo "$ac_cs_version"; exit 0 ;;
98214 --he | --h)
98215 # Conflict between --help and --header
98216 { { echo "$as_me:$LINENO: error: ambiguous option: $1
98217 Try \`$0 --help' for more information." >&5
98218 echo "$as_me: error: ambiguous option: $1
98219 Try \`$0 --help' for more information." >&2;}
98220 { (exit 1); exit 1; }; };;
98221 --help | --hel | -h )
98222 echo "$ac_cs_usage"; exit 0 ;;
98223 --debug | --d* | -d )
98224 debug=: ;;
98225 --file | --fil | --fi | --f )
98226 $ac_shift
98227 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
98228 ac_need_defaults=false;;
98229 --header | --heade | --head | --hea )
98230 $ac_shift
98231 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
98232 ac_need_defaults=false;;
98233 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
98234 | -silent | --silent | --silen | --sile | --sil | --si | --s)
98235 ac_cs_silent=: ;;
98237 # This is an error.
98238 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
98239 Try \`$0 --help' for more information." >&5
98240 echo "$as_me: error: unrecognized option: $1
98241 Try \`$0 --help' for more information." >&2;}
98242 { (exit 1); exit 1; }; } ;;
98244 *) ac_config_targets="$ac_config_targets $1" ;;
98246 esac
98247 shift
98248 done
98250 ac_configure_extra_args=
98252 if $ac_cs_silent; then
98253 exec 6>/dev/null
98254 ac_configure_extra_args="$ac_configure_extra_args --silent"
98257 _ACEOF
98258 cat >>$CONFIG_STATUS <<_ACEOF
98259 if \$ac_cs_recheck; then
98260 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
98261 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
98264 _ACEOF
98266 cat >>$CONFIG_STATUS <<_ACEOF
98268 # INIT-COMMANDS section.
98272 srcdir="$srcdir"
98273 host="$host"
98274 target="$target"
98275 with_multisubdir="$with_multisubdir"
98276 with_multisrctop="$with_multisrctop"
98277 with_target_subdir="$with_target_subdir"
98278 ac_configure_args="${multilib_arg} ${ac_configure_args}"
98279 multi_basedir="$multi_basedir"
98280 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
98281 CC="$CC"
98283 # Variables needed in config.status (file generation) which aren't already
98284 # passed by autoconf.
98285 SUBDIRS="$SUBDIRS"
98288 _ACEOF
98292 cat >>$CONFIG_STATUS <<\_ACEOF
98293 for ac_config_target in $ac_config_targets
98295 case "$ac_config_target" in
98296 # Handling of arguments.
98297 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
98298 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
98299 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
98300 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
98301 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
98302 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
98303 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
98304 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
98305 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
98306 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
98307 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
98308 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
98309 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
98310 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
98311 { (exit 1); exit 1; }; };;
98312 esac
98313 done
98315 # If the user did not use the arguments to specify the items to instantiate,
98316 # then the envvar interface is used. Set only those that are not.
98317 # We use the long form for the default assignment because of an extremely
98318 # bizarre bug on SunOS 4.1.3.
98319 if $ac_need_defaults; then
98320 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
98321 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
98322 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
98325 # Have a temporary directory for convenience. Make it in the build tree
98326 # simply because there is no reason to put it here, and in addition,
98327 # creating and moving files from /tmp can sometimes cause problems.
98328 # Create a temporary directory, and hook for its removal unless debugging.
98329 $debug ||
98331 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
98332 trap '{ (exit 1); exit 1; }' 1 2 13 15
98335 # Create a (secure) tmp directory for tmp files.
98338 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
98339 test -n "$tmp" && test -d "$tmp"
98340 } ||
98342 tmp=./confstat$$-$RANDOM
98343 (umask 077 && mkdir $tmp)
98344 } ||
98346 echo "$me: cannot create a temporary directory in ." >&2
98347 { (exit 1); exit 1; }
98350 _ACEOF
98352 cat >>$CONFIG_STATUS <<_ACEOF
98355 # CONFIG_FILES section.
98358 # No need to generate the scripts if there are no CONFIG_FILES.
98359 # This happens for instance when ./config.status config.h
98360 if test -n "\$CONFIG_FILES"; then
98361 # Protect against being on the right side of a sed subst in config.status.
98362 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
98363 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
98364 s,@SHELL@,$SHELL,;t t
98365 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
98366 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
98367 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
98368 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
98369 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
98370 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
98371 s,@exec_prefix@,$exec_prefix,;t t
98372 s,@prefix@,$prefix,;t t
98373 s,@program_transform_name@,$program_transform_name,;t t
98374 s,@bindir@,$bindir,;t t
98375 s,@sbindir@,$sbindir,;t t
98376 s,@libexecdir@,$libexecdir,;t t
98377 s,@datadir@,$datadir,;t t
98378 s,@sysconfdir@,$sysconfdir,;t t
98379 s,@sharedstatedir@,$sharedstatedir,;t t
98380 s,@localstatedir@,$localstatedir,;t t
98381 s,@libdir@,$libdir,;t t
98382 s,@includedir@,$includedir,;t t
98383 s,@oldincludedir@,$oldincludedir,;t t
98384 s,@infodir@,$infodir,;t t
98385 s,@mandir@,$mandir,;t t
98386 s,@build_alias@,$build_alias,;t t
98387 s,@host_alias@,$host_alias,;t t
98388 s,@target_alias@,$target_alias,;t t
98389 s,@DEFS@,$DEFS,;t t
98390 s,@ECHO_C@,$ECHO_C,;t t
98391 s,@ECHO_N@,$ECHO_N,;t t
98392 s,@ECHO_T@,$ECHO_T,;t t
98393 s,@LIBS@,$LIBS,;t t
98394 s,@libtool_VERSION@,$libtool_VERSION,;t t
98395 s,@multi_basedir@,$multi_basedir,;t t
98396 s,@build@,$build,;t t
98397 s,@build_cpu@,$build_cpu,;t t
98398 s,@build_vendor@,$build_vendor,;t t
98399 s,@build_os@,$build_os,;t t
98400 s,@host@,$host,;t t
98401 s,@host_cpu@,$host_cpu,;t t
98402 s,@host_vendor@,$host_vendor,;t t
98403 s,@host_os@,$host_os,;t t
98404 s,@target@,$target,;t t
98405 s,@target_cpu@,$target_cpu,;t t
98406 s,@target_vendor@,$target_vendor,;t t
98407 s,@target_os@,$target_os,;t t
98408 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
98409 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
98410 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
98411 s,@CYGPATH_W@,$CYGPATH_W,;t t
98412 s,@PACKAGE@,$PACKAGE,;t t
98413 s,@VERSION@,$VERSION,;t t
98414 s,@ACLOCAL@,$ACLOCAL,;t t
98415 s,@AUTOCONF@,$AUTOCONF,;t t
98416 s,@AUTOMAKE@,$AUTOMAKE,;t t
98417 s,@AUTOHEADER@,$AUTOHEADER,;t t
98418 s,@MAKEINFO@,$MAKEINFO,;t t
98419 s,@install_sh@,$install_sh,;t t
98420 s,@STRIP@,$STRIP,;t t
98421 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
98422 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
98423 s,@mkdir_p@,$mkdir_p,;t t
98424 s,@AWK@,$AWK,;t t
98425 s,@SET_MAKE@,$SET_MAKE,;t t
98426 s,@am__leading_dot@,$am__leading_dot,;t t
98427 s,@AMTAR@,$AMTAR,;t t
98428 s,@am__tar@,$am__tar,;t t
98429 s,@am__untar@,$am__untar,;t t
98430 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
98431 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
98432 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
98433 s,@CC@,$CC,;t t
98434 s,@ac_ct_CC@,$ac_ct_CC,;t t
98435 s,@EXEEXT@,$EXEEXT,;t t
98436 s,@OBJEXT@,$OBJEXT,;t t
98437 s,@CXX@,$CXX,;t t
98438 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
98439 s,@CFLAGS@,$CFLAGS,;t t
98440 s,@CXXFLAGS@,$CXXFLAGS,;t t
98441 s,@LN_S@,$LN_S,;t t
98442 s,@AS@,$AS,;t t
98443 s,@ac_ct_AS@,$ac_ct_AS,;t t
98444 s,@AR@,$AR,;t t
98445 s,@ac_ct_AR@,$ac_ct_AR,;t t
98446 s,@RANLIB@,$RANLIB,;t t
98447 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
98448 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
98449 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
98450 s,@MAINT@,$MAINT,;t t
98451 s,@LIBTOOL@,$LIBTOOL,;t t
98452 s,@CXXCPP@,$CXXCPP,;t t
98453 s,@CPPFLAGS@,$CPPFLAGS,;t t
98454 s,@enable_shared@,$enable_shared,;t t
98455 s,@enable_static@,$enable_static,;t t
98456 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
98457 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
98458 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
98459 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
98460 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
98461 s,@CSTDIO_H@,$CSTDIO_H,;t t
98462 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
98463 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
98464 s,@CPP@,$CPP,;t t
98465 s,@EGREP@,$EGREP,;t t
98466 s,@check_msgfmt@,$check_msgfmt,;t t
98467 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
98468 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
98469 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
98470 s,@USE_NLS@,$USE_NLS,;t t
98471 s,@CLOCALE_H@,$CLOCALE_H,;t t
98472 s,@CCODECVT_H@,$CCODECVT_H,;t t
98473 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
98474 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
98475 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
98476 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
98477 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
98478 s,@CMONEY_CC@,$CMONEY_CC,;t t
98479 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
98480 s,@CTIME_H@,$CTIME_H,;t t
98481 s,@CTIME_CC@,$CTIME_CC,;t t
98482 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
98483 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
98484 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
98485 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
98486 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
98487 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
98488 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
98489 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
98490 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
98491 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
98492 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
98493 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
98494 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
98495 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
98496 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
98497 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
98498 s,@WERROR@,$WERROR,;t t
98499 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
98500 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
98501 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
98502 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
98503 s,@LIBICONV@,$LIBICONV,;t t
98504 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
98505 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
98506 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
98507 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
98508 s,@baseline_dir@,$baseline_dir,;t t
98509 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
98510 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
98511 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
98512 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
98513 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
98514 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
98515 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
98516 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
98517 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
98518 s,@gxx_include_dir@,$gxx_include_dir,;t t
98519 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
98520 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
98521 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
98522 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
98523 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
98524 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
98525 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
98526 s,@LIBOBJS@,$LIBOBJS,;t t
98527 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
98528 CEOF
98530 _ACEOF
98532 cat >>$CONFIG_STATUS <<\_ACEOF
98533 # Split the substitutions into bite-sized pieces for seds with
98534 # small command number limits, like on Digital OSF/1 and HP-UX.
98535 ac_max_sed_lines=48
98536 ac_sed_frag=1 # Number of current file.
98537 ac_beg=1 # First line for current file.
98538 ac_end=$ac_max_sed_lines # Line after last line for current file.
98539 ac_more_lines=:
98540 ac_sed_cmds=
98541 while $ac_more_lines; do
98542 if test $ac_beg -gt 1; then
98543 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98544 else
98545 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98547 if test ! -s $tmp/subs.frag; then
98548 ac_more_lines=false
98549 else
98550 # The purpose of the label and of the branching condition is to
98551 # speed up the sed processing (if there are no `@' at all, there
98552 # is no need to browse any of the substitutions).
98553 # These are the two extra sed commands mentioned above.
98554 (echo ':t
98555 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
98556 if test -z "$ac_sed_cmds"; then
98557 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
98558 else
98559 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
98561 ac_sed_frag=`expr $ac_sed_frag + 1`
98562 ac_beg=$ac_end
98563 ac_end=`expr $ac_end + $ac_max_sed_lines`
98565 done
98566 if test -z "$ac_sed_cmds"; then
98567 ac_sed_cmds=cat
98569 fi # test -n "$CONFIG_FILES"
98571 _ACEOF
98572 cat >>$CONFIG_STATUS <<\_ACEOF
98573 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
98574 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98575 case $ac_file in
98576 - | *:- | *:-:* ) # input from stdin
98577 cat >$tmp/stdin
98578 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98579 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98580 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98581 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98582 * ) ac_file_in=$ac_file.in ;;
98583 esac
98585 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
98586 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98587 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98588 X"$ac_file" : 'X\(//\)[^/]' \| \
98589 X"$ac_file" : 'X\(//\)$' \| \
98590 X"$ac_file" : 'X\(/\)' \| \
98591 . : '\(.\)' 2>/dev/null ||
98592 echo X"$ac_file" |
98593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98594 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98595 /^X\(\/\/\)$/{ s//\1/; q; }
98596 /^X\(\/\).*/{ s//\1/; q; }
98597 s/.*/./; q'`
98598 { if $as_mkdir_p; then
98599 mkdir -p "$ac_dir"
98600 else
98601 as_dir="$ac_dir"
98602 as_dirs=
98603 while test ! -d "$as_dir"; do
98604 as_dirs="$as_dir $as_dirs"
98605 as_dir=`(dirname "$as_dir") 2>/dev/null ||
98606 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98607 X"$as_dir" : 'X\(//\)[^/]' \| \
98608 X"$as_dir" : 'X\(//\)$' \| \
98609 X"$as_dir" : 'X\(/\)' \| \
98610 . : '\(.\)' 2>/dev/null ||
98611 echo X"$as_dir" |
98612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98613 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98614 /^X\(\/\/\)$/{ s//\1/; q; }
98615 /^X\(\/\).*/{ s//\1/; q; }
98616 s/.*/./; q'`
98617 done
98618 test ! -n "$as_dirs" || mkdir $as_dirs
98619 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
98620 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
98621 { (exit 1); exit 1; }; }; }
98623 ac_builddir=.
98625 if test "$ac_dir" != .; then
98626 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
98627 # A "../" for each directory in $ac_dir_suffix.
98628 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
98629 else
98630 ac_dir_suffix= ac_top_builddir=
98633 case $srcdir in
98634 .) # No --srcdir option. We are building in place.
98635 ac_srcdir=.
98636 if test -z "$ac_top_builddir"; then
98637 ac_top_srcdir=.
98638 else
98639 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
98640 fi ;;
98641 [\\/]* | ?:[\\/]* ) # Absolute path.
98642 ac_srcdir=$srcdir$ac_dir_suffix;
98643 ac_top_srcdir=$srcdir ;;
98644 *) # Relative path.
98645 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
98646 ac_top_srcdir=$ac_top_builddir$srcdir ;;
98647 esac
98649 # Do not use `cd foo && pwd` to compute absolute paths, because
98650 # the directories may not exist.
98651 case `pwd` in
98652 .) ac_abs_builddir="$ac_dir";;
98654 case "$ac_dir" in
98655 .) ac_abs_builddir=`pwd`;;
98656 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
98657 *) ac_abs_builddir=`pwd`/"$ac_dir";;
98658 esac;;
98659 esac
98660 case $ac_abs_builddir in
98661 .) ac_abs_top_builddir=${ac_top_builddir}.;;
98663 case ${ac_top_builddir}. in
98664 .) ac_abs_top_builddir=$ac_abs_builddir;;
98665 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
98666 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
98667 esac;;
98668 esac
98669 case $ac_abs_builddir in
98670 .) ac_abs_srcdir=$ac_srcdir;;
98672 case $ac_srcdir in
98673 .) ac_abs_srcdir=$ac_abs_builddir;;
98674 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
98675 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
98676 esac;;
98677 esac
98678 case $ac_abs_builddir in
98679 .) ac_abs_top_srcdir=$ac_top_srcdir;;
98681 case $ac_top_srcdir in
98682 .) ac_abs_top_srcdir=$ac_abs_builddir;;
98683 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
98684 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
98685 esac;;
98686 esac
98689 case $INSTALL in
98690 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
98691 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
98692 esac
98694 if test x"$ac_file" != x-; then
98695 { echo "$as_me:$LINENO: creating $ac_file" >&5
98696 echo "$as_me: creating $ac_file" >&6;}
98697 rm -f "$ac_file"
98699 # Let's still pretend it is `configure' which instantiates (i.e., don't
98700 # use $as_me), people would be surprised to read:
98701 # /* config.h. Generated by config.status. */
98702 if test x"$ac_file" = x-; then
98703 configure_input=
98704 else
98705 configure_input="$ac_file. "
98707 configure_input=$configure_input"Generated from `echo $ac_file_in |
98708 sed 's,.*/,,'` by configure."
98710 # First look for the input files in the build tree, otherwise in the
98711 # src tree.
98712 ac_file_inputs=`IFS=:
98713 for f in $ac_file_in; do
98714 case $f in
98715 -) echo $tmp/stdin ;;
98716 [\\/$]*)
98717 # Absolute (can't be DOS-style, as IFS=:)
98718 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98719 echo "$as_me: error: cannot find input file: $f" >&2;}
98720 { (exit 1); exit 1; }; }
98721 echo "$f";;
98722 *) # Relative
98723 if test -f "$f"; then
98724 # Build tree
98725 echo "$f"
98726 elif test -f "$srcdir/$f"; then
98727 # Source tree
98728 echo "$srcdir/$f"
98729 else
98730 # /dev/null tree
98731 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98732 echo "$as_me: error: cannot find input file: $f" >&2;}
98733 { (exit 1); exit 1; }; }
98734 fi;;
98735 esac
98736 done` || { (exit 1); exit 1; }
98737 _ACEOF
98738 cat >>$CONFIG_STATUS <<_ACEOF
98739 sed "$ac_vpsub
98740 $extrasub
98741 _ACEOF
98742 cat >>$CONFIG_STATUS <<\_ACEOF
98744 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
98745 s,@configure_input@,$configure_input,;t t
98746 s,@srcdir@,$ac_srcdir,;t t
98747 s,@abs_srcdir@,$ac_abs_srcdir,;t t
98748 s,@top_srcdir@,$ac_top_srcdir,;t t
98749 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
98750 s,@builddir@,$ac_builddir,;t t
98751 s,@abs_builddir@,$ac_abs_builddir,;t t
98752 s,@top_builddir@,$ac_top_builddir,;t t
98753 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
98754 s,@INSTALL@,$ac_INSTALL,;t t
98755 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
98756 rm -f $tmp/stdin
98757 if test x"$ac_file" != x-; then
98758 mv $tmp/out $ac_file
98759 else
98760 cat $tmp/out
98761 rm -f $tmp/out
98764 # Run the commands associated with the file.
98765 case $ac_file in
98766 scripts/check_survey ) chmod +x scripts/check_survey ;;
98767 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
98768 esac
98769 done
98770 _ACEOF
98771 cat >>$CONFIG_STATUS <<\_ACEOF
98774 # CONFIG_HEADER section.
98777 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
98778 # NAME is the cpp macro being defined and VALUE is the value it is being given.
98780 # ac_d sets the value in "#define NAME VALUE" lines.
98781 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
98782 ac_dB='[ ].*$,\1#\2'
98783 ac_dC=' '
98784 ac_dD=',;t'
98785 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
98786 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
98787 ac_uB='$,\1#\2define\3'
98788 ac_uC=' '
98789 ac_uD=',;t'
98791 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
98792 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98793 case $ac_file in
98794 - | *:- | *:-:* ) # input from stdin
98795 cat >$tmp/stdin
98796 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98797 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98798 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98799 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98800 * ) ac_file_in=$ac_file.in ;;
98801 esac
98803 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
98804 echo "$as_me: creating $ac_file" >&6;}
98806 # First look for the input files in the build tree, otherwise in the
98807 # src tree.
98808 ac_file_inputs=`IFS=:
98809 for f in $ac_file_in; do
98810 case $f in
98811 -) echo $tmp/stdin ;;
98812 [\\/$]*)
98813 # Absolute (can't be DOS-style, as IFS=:)
98814 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98815 echo "$as_me: error: cannot find input file: $f" >&2;}
98816 { (exit 1); exit 1; }; }
98817 # Do quote $f, to prevent DOS paths from being IFS'd.
98818 echo "$f";;
98819 *) # Relative
98820 if test -f "$f"; then
98821 # Build tree
98822 echo "$f"
98823 elif test -f "$srcdir/$f"; then
98824 # Source tree
98825 echo "$srcdir/$f"
98826 else
98827 # /dev/null tree
98828 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98829 echo "$as_me: error: cannot find input file: $f" >&2;}
98830 { (exit 1); exit 1; }; }
98831 fi;;
98832 esac
98833 done` || { (exit 1); exit 1; }
98834 # Remove the trailing spaces.
98835 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
98837 _ACEOF
98839 # Transform confdefs.h into two sed scripts, `conftest.defines' and
98840 # `conftest.undefs', that substitutes the proper values into
98841 # config.h.in to produce config.h. The first handles `#define'
98842 # templates, and the second `#undef' templates.
98843 # And first: Protect against being on the right side of a sed subst in
98844 # config.status. Protect against being in an unquoted here document
98845 # in config.status.
98846 rm -f conftest.defines conftest.undefs
98847 # Using a here document instead of a string reduces the quoting nightmare.
98848 # Putting comments in sed scripts is not portable.
98850 # `end' is used to avoid that the second main sed command (meant for
98851 # 0-ary CPP macros) applies to n-ary macro definitions.
98852 # See the Autoconf documentation for `clear'.
98853 cat >confdef2sed.sed <<\_ACEOF
98854 s/[\\&,]/\\&/g
98855 s,[\\$`],\\&,g
98856 t clear
98857 : clear
98858 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
98859 t end
98860 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
98861 : end
98862 _ACEOF
98863 # If some macros were called several times there might be several times
98864 # the same #defines, which is useless. Nevertheless, we may not want to
98865 # sort them, since we want the *last* AC-DEFINE to be honored.
98866 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
98867 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
98868 rm -f confdef2sed.sed
98870 # This sed command replaces #undef with comments. This is necessary, for
98871 # example, in the case of _POSIX_SOURCE, which is predefined and required
98872 # on some systems where configure will not decide to define it.
98873 cat >>conftest.undefs <<\_ACEOF
98874 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
98875 _ACEOF
98877 # Break up conftest.defines because some shells have a limit on the size
98878 # of here documents, and old seds have small limits too (100 cmds).
98879 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
98880 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
98881 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
98882 echo ' :' >>$CONFIG_STATUS
98883 rm -f conftest.tail
98884 while grep . conftest.defines >/dev/null
98886 # Write a limited-size here document to $tmp/defines.sed.
98887 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
98888 # Speed up: don't consider the non `#define' lines.
98889 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
98890 # Work around the forget-to-reset-the-flag bug.
98891 echo 't clr' >>$CONFIG_STATUS
98892 echo ': clr' >>$CONFIG_STATUS
98893 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
98894 echo 'CEOF
98895 sed -f $tmp/defines.sed $tmp/in >$tmp/out
98896 rm -f $tmp/in
98897 mv $tmp/out $tmp/in
98898 ' >>$CONFIG_STATUS
98899 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
98900 rm -f conftest.defines
98901 mv conftest.tail conftest.defines
98902 done
98903 rm -f conftest.defines
98904 echo ' fi # grep' >>$CONFIG_STATUS
98905 echo >>$CONFIG_STATUS
98907 # Break up conftest.undefs because some shells have a limit on the size
98908 # of here documents, and old seds have small limits too (100 cmds).
98909 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
98910 rm -f conftest.tail
98911 while grep . conftest.undefs >/dev/null
98913 # Write a limited-size here document to $tmp/undefs.sed.
98914 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
98915 # Speed up: don't consider the non `#undef'
98916 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
98917 # Work around the forget-to-reset-the-flag bug.
98918 echo 't clr' >>$CONFIG_STATUS
98919 echo ': clr' >>$CONFIG_STATUS
98920 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
98921 echo 'CEOF
98922 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
98923 rm -f $tmp/in
98924 mv $tmp/out $tmp/in
98925 ' >>$CONFIG_STATUS
98926 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
98927 rm -f conftest.undefs
98928 mv conftest.tail conftest.undefs
98929 done
98930 rm -f conftest.undefs
98932 cat >>$CONFIG_STATUS <<\_ACEOF
98933 # Let's still pretend it is `configure' which instantiates (i.e., don't
98934 # use $as_me), people would be surprised to read:
98935 # /* config.h. Generated by config.status. */
98936 if test x"$ac_file" = x-; then
98937 echo "/* Generated by configure. */" >$tmp/config.h
98938 else
98939 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
98941 cat $tmp/in >>$tmp/config.h
98942 rm -f $tmp/in
98943 if test x"$ac_file" != x-; then
98944 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
98945 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
98946 echo "$as_me: $ac_file is unchanged" >&6;}
98947 else
98948 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98949 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98950 X"$ac_file" : 'X\(//\)[^/]' \| \
98951 X"$ac_file" : 'X\(//\)$' \| \
98952 X"$ac_file" : 'X\(/\)' \| \
98953 . : '\(.\)' 2>/dev/null ||
98954 echo X"$ac_file" |
98955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98956 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98957 /^X\(\/\/\)$/{ s//\1/; q; }
98958 /^X\(\/\).*/{ s//\1/; q; }
98959 s/.*/./; q'`
98960 { if $as_mkdir_p; then
98961 mkdir -p "$ac_dir"
98962 else
98963 as_dir="$ac_dir"
98964 as_dirs=
98965 while test ! -d "$as_dir"; do
98966 as_dirs="$as_dir $as_dirs"
98967 as_dir=`(dirname "$as_dir") 2>/dev/null ||
98968 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98969 X"$as_dir" : 'X\(//\)[^/]' \| \
98970 X"$as_dir" : 'X\(//\)$' \| \
98971 X"$as_dir" : 'X\(/\)' \| \
98972 . : '\(.\)' 2>/dev/null ||
98973 echo X"$as_dir" |
98974 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98975 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98976 /^X\(\/\/\)$/{ s//\1/; q; }
98977 /^X\(\/\).*/{ s//\1/; q; }
98978 s/.*/./; q'`
98979 done
98980 test ! -n "$as_dirs" || mkdir $as_dirs
98981 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
98982 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
98983 { (exit 1); exit 1; }; }; }
98985 rm -f $ac_file
98986 mv $tmp/config.h $ac_file
98988 else
98989 cat $tmp/config.h
98990 rm -f $tmp/config.h
98992 # Compute $ac_file's index in $config_headers.
98993 _am_stamp_count=1
98994 for _am_header in $config_headers :; do
98995 case $_am_header in
98996 $ac_file | $ac_file:* )
98997 break ;;
98999 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
99000 esac
99001 done
99002 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
99003 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99004 X$ac_file : 'X\(//\)[^/]' \| \
99005 X$ac_file : 'X\(//\)$' \| \
99006 X$ac_file : 'X\(/\)' \| \
99007 . : '\(.\)' 2>/dev/null ||
99008 echo X$ac_file |
99009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99010 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99011 /^X\(\/\/\)$/{ s//\1/; q; }
99012 /^X\(\/\).*/{ s//\1/; q; }
99013 s/.*/./; q'`/stamp-h$_am_stamp_count
99014 done
99015 _ACEOF
99016 cat >>$CONFIG_STATUS <<\_ACEOF
99019 # CONFIG_COMMANDS section.
99021 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
99022 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
99023 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
99024 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
99025 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99026 X"$ac_dest" : 'X\(//\)[^/]' \| \
99027 X"$ac_dest" : 'X\(//\)$' \| \
99028 X"$ac_dest" : 'X\(/\)' \| \
99029 . : '\(.\)' 2>/dev/null ||
99030 echo X"$ac_dest" |
99031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99032 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99033 /^X\(\/\/\)$/{ s//\1/; q; }
99034 /^X\(\/\).*/{ s//\1/; q; }
99035 s/.*/./; q'`
99036 { if $as_mkdir_p; then
99037 mkdir -p "$ac_dir"
99038 else
99039 as_dir="$ac_dir"
99040 as_dirs=
99041 while test ! -d "$as_dir"; do
99042 as_dirs="$as_dir $as_dirs"
99043 as_dir=`(dirname "$as_dir") 2>/dev/null ||
99044 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99045 X"$as_dir" : 'X\(//\)[^/]' \| \
99046 X"$as_dir" : 'X\(//\)$' \| \
99047 X"$as_dir" : 'X\(/\)' \| \
99048 . : '\(.\)' 2>/dev/null ||
99049 echo X"$as_dir" |
99050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99051 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99052 /^X\(\/\/\)$/{ s//\1/; q; }
99053 /^X\(\/\).*/{ s//\1/; q; }
99054 s/.*/./; q'`
99055 done
99056 test ! -n "$as_dirs" || mkdir $as_dirs
99057 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99058 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99059 { (exit 1); exit 1; }; }; }
99061 ac_builddir=.
99063 if test "$ac_dir" != .; then
99064 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
99065 # A "../" for each directory in $ac_dir_suffix.
99066 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
99067 else
99068 ac_dir_suffix= ac_top_builddir=
99071 case $srcdir in
99072 .) # No --srcdir option. We are building in place.
99073 ac_srcdir=.
99074 if test -z "$ac_top_builddir"; then
99075 ac_top_srcdir=.
99076 else
99077 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
99078 fi ;;
99079 [\\/]* | ?:[\\/]* ) # Absolute path.
99080 ac_srcdir=$srcdir$ac_dir_suffix;
99081 ac_top_srcdir=$srcdir ;;
99082 *) # Relative path.
99083 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
99084 ac_top_srcdir=$ac_top_builddir$srcdir ;;
99085 esac
99087 # Do not use `cd foo && pwd` to compute absolute paths, because
99088 # the directories may not exist.
99089 case `pwd` in
99090 .) ac_abs_builddir="$ac_dir";;
99092 case "$ac_dir" in
99093 .) ac_abs_builddir=`pwd`;;
99094 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
99095 *) ac_abs_builddir=`pwd`/"$ac_dir";;
99096 esac;;
99097 esac
99098 case $ac_abs_builddir in
99099 .) ac_abs_top_builddir=${ac_top_builddir}.;;
99101 case ${ac_top_builddir}. in
99102 .) ac_abs_top_builddir=$ac_abs_builddir;;
99103 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
99104 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
99105 esac;;
99106 esac
99107 case $ac_abs_builddir in
99108 .) ac_abs_srcdir=$ac_srcdir;;
99110 case $ac_srcdir in
99111 .) ac_abs_srcdir=$ac_abs_builddir;;
99112 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
99113 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
99114 esac;;
99115 esac
99116 case $ac_abs_builddir in
99117 .) ac_abs_top_srcdir=$ac_top_srcdir;;
99119 case $ac_top_srcdir in
99120 .) ac_abs_top_srcdir=$ac_abs_builddir;;
99121 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
99122 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
99123 esac;;
99124 esac
99127 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
99128 echo "$as_me: executing $ac_dest commands" >&6;}
99129 case $ac_dest in
99130 default-1 )
99131 # Only add multilib support code if we just rebuilt the top-level
99132 # Makefile.
99133 case " $CONFIG_FILES " in
99134 *" Makefile "*)
99135 ac_file=Makefile . ${multi_basedir}/config-ml.in
99137 esac ;;
99138 default ) if test -n "$CONFIG_FILES"; then
99139 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
99140 # that multilib installs will end up installed in the correct place.
99141 # The testsuite needs it for multilib-aware ABI baseline files.
99142 # To work around this not being passed down from config-ml.in ->
99143 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
99144 # append it here. Only modify Makefiles that have just been created.
99146 # Also, get rid of this simulated-VPATH thing that automake does.
99147 cat > vpsed << \_EOF
99148 s!`test -f '$<' || echo '$(srcdir)/'`!!
99149 _EOF
99150 for i in $SUBDIRS; do
99151 case $CONFIG_FILES in
99152 *${i}/Makefile*)
99153 #echo "Adding MULTISUBDIR to $i/Makefile"
99154 sed -f vpsed $i/Makefile > tmp
99155 grep '^MULTISUBDIR =' Makefile >> tmp
99156 mv tmp $i/Makefile
99158 esac
99159 done
99160 rm vpsed
99162 (cd include && ${MAKE-make})
99164 esac
99165 done
99166 _ACEOF
99168 cat >>$CONFIG_STATUS <<\_ACEOF
99170 { (exit 0); exit 0; }
99171 _ACEOF
99172 chmod +x $CONFIG_STATUS
99173 ac_clean_files=$ac_clean_files_save
99176 # configure is writing to config.log, and then calls config.status.
99177 # config.status does its own redirection, appending to config.log.
99178 # Unfortunately, on DOS this fails, as config.log is still kept open
99179 # by configure, so config.status won't be able to write to it; its
99180 # output is simply discarded. So we exec the FD to /dev/null,
99181 # effectively closing config.log, so it can be properly (re)opened and
99182 # appended to by config.status. When coming back to configure, we
99183 # need to make the FD available again.
99184 if test "$no_create" != yes; then
99185 ac_cs_success=:
99186 ac_config_status_args=
99187 test "$silent" = yes &&
99188 ac_config_status_args="$ac_config_status_args --quiet"
99189 exec 5>/dev/null
99190 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
99191 exec 5>>config.log
99192 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
99193 # would make configure fail if this is the last instruction.
99194 $ac_cs_success || { (exit 1); exit 1; }