2004-10-06 Benjamin Kosnik <bkoz@redhat.com>
[official-gcc.git] / libstdc++-v3 / configure
blob8fe56ec5981a1b39623fd3bef65d37689e09e629
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CCODECVT_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_THREAD_TRUE GLIBCXX_TEST_THREAD_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-c-mbchar enable multibyte (wide) characters
873 [default=yes]
874 --enable-c99 turns on ISO/IEC 9899:1999 support
875 [default=yes]
876 --enable-long-long enables I/O support for 'long long'
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-fully-dynamic-string
888 do not put empty strings in per-process static
889 memory [default=no]
890 --enable-symvers=STYLE enables symbol versioning of the shared library
891 [default=yes]
892 --enable-version-specific-runtime-libs
893 Specify that runtime libraries should be installed
894 in a compiler-specific directory
896 Optional Packages:
897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
899 --with-target-subdir=SUBDIR
900 configuring in a subdirectory
901 --with-cross-host=HOST configuring with a cross compiler
902 --with-newlib assume newlib as a system C library
903 --with-gnu-ld assume the C compiler uses GNU ld default=no
904 --with-pic try to use only PIC/non-PIC objects default=use both
905 --with-gxx-include-dir=DIR
906 installation directory for include files
908 Some influential environment variables:
909 CC C compiler command
910 CFLAGS C compiler flags
911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
912 nonstandard directory <lib dir>
913 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
914 headers in a nonstandard directory <include dir>
915 CXX C++ compiler command
916 CXXFLAGS C++ compiler flags
917 CXXCPP C++ preprocessor
918 CPP C preprocessor
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
923 _ACEOF
926 if test "$ac_init_help" = "recursive"; then
927 # If there are subdirs, report their specific --help.
928 ac_popdir=`pwd`
929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930 test -d $ac_dir || continue
931 ac_builddir=.
933 if test "$ac_dir" != .; then
934 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935 # A "../" for each directory in $ac_dir_suffix.
936 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938 ac_dir_suffix= ac_top_builddir=
941 case $srcdir in
942 .) # No --srcdir option. We are building in place.
943 ac_srcdir=.
944 if test -z "$ac_top_builddir"; then
945 ac_top_srcdir=.
946 else
947 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948 fi ;;
949 [\\/]* | ?:[\\/]* ) # Absolute path.
950 ac_srcdir=$srcdir$ac_dir_suffix;
951 ac_top_srcdir=$srcdir ;;
952 *) # Relative path.
953 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954 ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
962 case "$ac_dir" in
963 .) ac_abs_builddir=`pwd`;;
964 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965 *) ac_abs_builddir=`pwd`/"$ac_dir";;
966 esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
971 case ${ac_top_builddir}. in
972 .) ac_abs_top_builddir=$ac_abs_builddir;;
973 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975 esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
980 case $ac_srcdir in
981 .) ac_abs_srcdir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984 esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
989 case $ac_top_srcdir in
990 .) ac_abs_top_srcdir=$ac_abs_builddir;;
991 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993 esac;;
994 esac
996 cd $ac_dir
997 # Check for guested configure; otherwise get Cygnus style configure.
998 if test -f $ac_srcdir/configure.gnu; then
999 echo
1000 $SHELL $ac_srcdir/configure.gnu --help=recursive
1001 elif test -f $ac_srcdir/configure; then
1002 echo
1003 $SHELL $ac_srcdir/configure --help=recursive
1004 elif test -f $ac_srcdir/configure.ac ||
1005 test -f $ac_srcdir/configure.in; then
1006 echo
1007 $ac_configure --help
1008 else
1009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1011 cd $ac_popdir
1012 done
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017 cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025 exit 0
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59. Invocation command line was
1035 $ $0 $@
1037 _ACEOF
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1061 _ASUNAME
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1066 IFS=$as_save_IFS
1067 test -z "$as_dir" && as_dir=.
1068 echo "PATH: $as_dir"
1069 done
1071 } >&5
1073 cat >&5 <<_ACEOF
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1080 _ACEOF
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1095 for ac_arg
1097 case $ac_arg in
1098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100 | -silent | --silent | --silen | --sile | --sil)
1101 continue ;;
1102 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104 esac
1105 case $ac_pass in
1106 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1108 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109 if test $ac_must_keep_next = true; then
1110 ac_must_keep_next=false # Got value, back to normal.
1111 else
1112 case $ac_arg in
1113 *=* | --config-cache | -C | -disable-* | --disable-* \
1114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116 | -with-* | --with-* | -without-* | --without-* | --x)
1117 case "$ac_configure_args0 " in
1118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119 esac
1121 -* ) ac_must_keep_next=true ;;
1122 esac
1124 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125 # Get rid of the leading space.
1126 ac_sep=" "
1128 esac
1129 done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log. We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140 # Save into config.log some information that might help in debugging.
1142 echo
1144 cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149 echo
1150 # The following way of writing the cache mishandles newlines in values,
1152 (set) 2>&1 |
1153 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154 *ac_space=\ *)
1155 sed -n \
1156 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160 sed -n \
1161 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1163 esac;
1165 echo
1167 cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172 echo
1173 for ac_var in $ac_subst_vars
1175 eval ac_val=$`echo $ac_var`
1176 echo "$ac_var='"'"'$ac_val'"'"'"
1177 done | sort
1178 echo
1180 if test -n "$ac_subst_files"; then
1181 cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186 echo
1187 for ac_var in $ac_subst_files
1189 eval ac_val=$`echo $ac_var`
1190 echo "$ac_var='"'"'$ac_val'"'"'"
1191 done | sort
1192 echo
1195 if test -s confdefs.h; then
1196 cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201 echo
1202 sed "/^$/d" confdefs.h | sort
1203 echo
1205 test "$ac_signal" != 0 &&
1206 echo "$as_me: caught signal $ac_signal"
1207 echo "$as_me: exit $exit_status"
1208 } >&5
1209 rm -f core *.core &&
1210 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211 exit $exit_status
1213 for ac_signal in 1 2 13 15; do
1214 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1223 # Predefined preprocessor variables.
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253 if test "x$prefix" != xNONE; then
1254 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255 else
1256 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259 for ac_site_file in $CONFIG_SITE; do
1260 if test -r "$ac_site_file"; then
1261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263 sed 's/^/| /' "$ac_site_file" >&5
1264 . "$ac_site_file"
1266 done
1268 if test -r "$cache_file"; then
1269 # Some versions of bash will fail to source /dev/null (special
1270 # files actually), so we avoid doing that.
1271 if test -f "$cache_file"; then
1272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274 case $cache_file in
1275 [\\/]* | ?:[\\/]* ) . $cache_file;;
1276 *) . ./$cache_file;;
1277 esac
1279 else
1280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282 >$cache_file
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291 eval ac_new_set=\$ac_env_${ac_var}_set
1292 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293 eval ac_new_val="\$ac_env_${ac_var}_value"
1294 case $ac_old_set,$ac_new_set in
1295 set,)
1296 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298 ac_cache_corrupted=: ;;
1299 ,set)
1300 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302 ac_cache_corrupted=: ;;
1303 ,);;
1305 if test "x$ac_old_val" != "x$ac_new_val"; then
1306 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1309 echo "$as_me: former value: $ac_old_val" >&2;}
1310 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1311 echo "$as_me: current value: $ac_new_val" >&2;}
1312 ac_cache_corrupted=:
1313 fi;;
1314 esac
1315 # Pass precious variables to config.status.
1316 if test "$ac_new_set" = set; then
1317 case $ac_new_val in
1318 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320 *) ac_arg=$ac_var=$ac_new_val ;;
1321 esac
1322 case " $ac_configure_args " in
1323 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1324 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325 esac
1327 done
1328 if $ac_cache_corrupted; then
1329 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333 { (exit 1); exit 1; }; }
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1369 ac_config_headers="$ac_config_headers config.h"
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported. Only used at the end of this file.
1376 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:3:0
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386 enableval="$enable_multilib"
1387 case "$enableval" in
1388 yes) multilib=yes ;;
1389 no) multilib=no ;;
1390 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392 { (exit 1); exit 1; }; } ;;
1393 esac
1394 else
1395 multilib=yes
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1402 if test "$srcdir" = "."; then
1403 if test "$with_target_subdir" != "."; then
1404 multi_basedir="$srcdir/$with_multisrctop../.."
1405 else
1406 multi_basedir="$srcdir/$with_multisrctop.."
1408 else
1409 multi_basedir="$srcdir/.."
1413 ac_config_commands="$ac_config_commands default-1"
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1418 # You will slowly go insane if you do not grok the following fact: when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/. configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf. Therefore, 'target' and
1422 # 'host' will always be the same. This makes sense both for native and
1423 # cross compilers, just think about it for a little while. :-)
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1428 # Do not delete or change the following two lines. For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432 if test -f $ac_dir/install-sh; then
1433 ac_aux_dir=$ac_dir
1434 ac_install_sh="$ac_aux_dir/install-sh -c"
1435 break
1436 elif test -f $ac_dir/install.sh; then
1437 ac_aux_dir=$ac_dir
1438 ac_install_sh="$ac_aux_dir/install.sh -c"
1439 break
1440 elif test -f $ac_dir/shtool; then
1441 ac_aux_dir=$ac_dir
1442 ac_install_sh="$ac_aux_dir/shtool install -c"
1443 break
1445 done
1446 if test -z "$ac_aux_dir"; then
1447 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449 { (exit 1); exit 1; }; }
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459 { (exit 1); exit 1; }; }
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466 ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468 ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472 { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476 { (exit 1); exit 1; }; }
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492 ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494 ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514 ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516 ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534 test "$program_prefix$program_suffix$program_transform_name" = \
1535 NONENONEs,x,x, &&
1536 program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1542 if test "$build" != "$host"; then
1543 # We are being configured with some form of cross compiler.
1544 GLIBCXX_IS_NATIVE=false
1546 else
1547 GLIBCXX_IS_NATIVE=true
1550 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 # 1.x: minimum required version
1553 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 # of other PACKAGE_* variables will, however, and there's nothing
1555 # we can do about that; they come from AC_INIT).
1556 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1557 # file in the top srcdir, etc, etc), so stop complaining.
1558 # no-dependencies: turns off auto dependency generation (just for now)
1559 # -Wall: turns on all automake warnings...
1560 # -Wno-portability: ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program. We prefer a C program (faster),
1563 # so one script is as good as another. But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1584 IFS=$as_save_IFS
1585 test -z "$as_dir" && as_dir=.
1586 # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588 ./ | .// | /cC/* | \
1589 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591 /usr/ucb/* ) ;;
1593 # OSF1 and SCO ODT 3.0 have their own names for install.
1594 # Don't use installbsd from OSF since it installs stuff as root
1595 # by default.
1596 for ac_prog in ginstall scoinst install; do
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599 if test $ac_prog = install &&
1600 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601 # AIX install. It has an incompatible calling convention.
1603 elif test $ac_prog = install &&
1604 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # program-specific install script used by HP pwplus--don't use.
1607 else
1608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609 break 3
1612 done
1613 done
1615 esac
1616 done
1620 if test "${ac_cv_path_install+set}" = set; then
1621 INSTALL=$ac_cv_path_install
1622 else
1623 # As a last resort, use the slow shell script. We don't cache a
1624 # path for INSTALL within a source directory, because that will
1625 # break other packages using the cache if that directory is
1626 # removed, or if the path is relative.
1627 INSTALL=$ac_install_sh
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments. Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653 if test "$*" = "X"; then
1654 # -L didn't work.
1655 set X `ls -t $srcdir/configure conftest.file`
1657 rm -f conftest.file
1658 if test "$*" != "X $srcdir/configure conftest.file" \
1659 && test "$*" != "X conftest.file $srcdir/configure"; then
1661 # If neither matched, then we have a broken ls. This can happen
1662 # if, for instance, CONFIG_SHELL is bash and it inherits a
1663 # broken ls alias from the environment. This has actually
1664 # happened. Such a system could not be considered "sane".
1665 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&2;}
1669 { (exit 1); exit 1; }; }
1672 test "$2" = conftest.file
1674 then
1675 # Ok.
1677 else
1678 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682 { (exit 1); exit 1; }; }
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $. echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705 am_missing_run="$MISSING --run "
1706 else
1707 am_missing_run=
1708 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713 # We used to keeping the `.' as first argument, in order to
1714 # allow $(mkdir_p) to be used without argument. As in
1715 # $(mkdir_p) $(somedir)
1716 # where $(somedir) is conditionally defined. However this is wrong
1717 # for two reasons:
1718 # 1. if the package is installed by a user who cannot write `.'
1719 # make install will fail,
1720 # 2. the above comment should most certainly read
1721 # $(mkdir_p) $(DESTDIR)$(somedir)
1722 # so it does not work when $(somedir) is undefined and
1723 # $(DESTDIR) is not.
1724 # To support the latter case, we have to write
1725 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726 # so the `.' trick is pointless.
1727 mkdir_p='mkdir -p --'
1728 else
1729 # On NextStep and OpenStep, the `mkdir' command does not
1730 # recognize any option. It will interpret all options as
1731 # directories to create, and then abort because `.' already
1732 # exists.
1733 for d in ./-p ./--version;
1735 test -d $d && rmdir $d
1736 done
1737 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738 if test -f "$ac_aux_dir/mkinstalldirs"; then
1739 mkdir_p='$(mkinstalldirs)'
1740 else
1741 mkdir_p='$(install_sh) -d'
1745 for ac_prog in gawk mawk nawk awk
1747 # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 if test -n "$AWK"; then
1755 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1760 IFS=$as_save_IFS
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_AWK="$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 break 2
1768 done
1769 done
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775 echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1782 test -n "$AWK" && break
1783 done
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791 cat >conftest.make <<\_ACEOF
1792 all:
1793 @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798 eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800 eval ac_cv_prog_make_${ac_make}_set=no
1802 rm -f conftest.make
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805 echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807 SET_MAKE=
1808 else
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811 SET_MAKE="MAKE=${MAKE-make}"
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817 am__leading_dot=.
1818 else
1819 am__leading_dot=_
1821 rmdir .tst 2>/dev/null
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825 test -f $srcdir/config.status; then
1826 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828 { (exit 1); exit 1; }; }
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833 if (cygpath --version) >/dev/null 2>/dev/null; then
1834 CYGPATH_W='cygpath -w'
1835 else
1836 CYGPATH_W=echo
1841 # Define the identity of the package.
1842 PACKAGE='libstdc++'
1843 VERSION='version-unused'
1846 # Some tools Automake needs.
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'. However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869 if test -n "$ac_tool_prefix"; then
1870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 if test -n "$STRIP"; then
1878 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1883 IFS=$as_save_IFS
1884 test -z "$as_dir" && as_dir=.
1885 for ac_exec_ext in '' $ac_executable_extensions; do
1886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 break 2
1891 done
1892 done
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898 echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1906 if test -z "$ac_cv_prog_STRIP"; then
1907 ac_ct_STRIP=$STRIP
1908 # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915 if test -n "$ac_ct_STRIP"; then
1916 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1921 IFS=$as_save_IFS
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_ac_ct_STRIP="strip"
1926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 break 2
1929 done
1930 done
1932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1944 STRIP=$ac_ct_STRIP
1945 else
1946 STRIP="$ac_cv_prog_STRIP"
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1952 # We need awk for the "check" target. The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1965 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1966 # up critical shell variables.
1968 # Keep these sync'd with the list in Makefile.am. The first provides an
1969 # expandable list at autoconf time; the second provides an expandable list
1970 # (i.e., shell variable) at configure time.
1972 SUBDIRS='include libmath libsupc++ src po testsuite'
1974 # These need to be absolute paths, yet at the same time need to
1975 # canonicalize only relative paths, because then amd will not unmount
1976 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1977 glibcxx_builddir=`${PWDCMD-pwd}`
1978 case $srcdir in
1979 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1980 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1981 esac
1982 toplevel_srcdir=${glibcxx_srcdir}/..
1987 # We use these options to decide which functions to include. They are
1988 # set from the top level.
1990 # Check whether --with-target-subdir or --without-target-subdir was given.
1991 if test "${with_target_subdir+set}" = set; then
1992 withval="$with_target_subdir"
1997 # Check whether --with-cross-host or --without-cross-host was given.
1998 if test "${with_cross_host+set}" = set; then
1999 withval="$with_cross_host"
2004 # Check whether --with-newlib or --without-newlib was given.
2005 if test "${with_newlib+set}" = set; then
2006 withval="$with_newlib"
2010 # We're almost certainly being configured before anything else which uses
2011 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2012 # we not cache the value of CXX that we "discover" here, because it's set
2013 # to something unique for us and libjava. Other target libraries need to
2014 # find CXX for themselves. We yank the rug out from under the normal AC_*
2015 # process by sneakily renaming the cache variable. This also lets us debug
2016 # the value of "our" CXX in postmortems.
2018 # We must also force CXX to /not/ be a precious variable, otherwise the
2019 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2020 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2021 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2022 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2024 # -fno-builtin must be present here so that a non-conflicting form of
2025 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2030 save_CXXFLAGS="$CXXFLAGS"
2031 CXXFLAGS="$CXXFLAGS -fno-builtin"
2032 ac_ext=c
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 if test -n "$ac_tool_prefix"; then
2038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_CC+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045 if test -n "$CC"; then
2046 ac_cv_prog_CC="$CC" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2051 IFS=$as_save_IFS
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 break 2
2059 done
2060 done
2064 CC=$ac_cv_prog_CC
2065 if test -n "$CC"; then
2066 echo "$as_me:$LINENO: result: $CC" >&5
2067 echo "${ECHO_T}$CC" >&6
2068 else
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2074 if test -z "$ac_cv_prog_CC"; then
2075 ac_ct_CC=$CC
2076 # Extract the first word of "gcc", so it can be a program name with args.
2077 set dummy gcc; ac_word=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083 if test -n "$ac_ct_CC"; then
2084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2089 IFS=$as_save_IFS
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093 ac_cv_prog_ac_ct_CC="gcc"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 break 2
2097 done
2098 done
2102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2105 echo "${ECHO_T}$ac_ct_CC" >&6
2106 else
2107 echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2111 CC=$ac_ct_CC
2112 else
2113 CC="$ac_cv_prog_CC"
2116 if test -z "$CC"; then
2117 if test -n "$ac_tool_prefix"; then
2118 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2119 set dummy ${ac_tool_prefix}cc; ac_word=$2
2120 echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2122 if test "${ac_cv_prog_CC+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 else
2125 if test -n "$CC"; then
2126 ac_cv_prog_CC="$CC" # Let the user override the test.
2127 else
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2131 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135 ac_cv_prog_CC="${ac_tool_prefix}cc"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 break 2
2139 done
2140 done
2144 CC=$ac_cv_prog_CC
2145 if test -n "$CC"; then
2146 echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2148 else
2149 echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2154 if test -z "$ac_cv_prog_CC"; then
2155 ac_ct_CC=$CC
2156 # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc; ac_word=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 else
2163 if test -n "$ac_ct_CC"; then
2164 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2169 IFS=$as_save_IFS
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_ac_ct_CC="cc"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 break 2
2177 done
2178 done
2182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2185 echo "${ECHO_T}$ac_ct_CC" >&6
2186 else
2187 echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2191 CC=$ac_ct_CC
2192 else
2193 CC="$ac_cv_prog_CC"
2197 if test -z "$CC"; then
2198 # Extract the first word of "cc", so it can be a program name with args.
2199 set dummy cc; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC="$CC" # Let the user override the test.
2207 else
2208 ac_prog_rejected=no
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 for as_dir in $PATH
2212 IFS=$as_save_IFS
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2217 ac_prog_rejected=yes
2218 continue
2220 ac_cv_prog_CC="cc"
2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 break 2
2224 done
2225 done
2227 if test $ac_prog_rejected = yes; then
2228 # We found a bogon in the path, so make sure we never use it.
2229 set dummy $ac_cv_prog_CC
2230 shift
2231 if test $# != 0; then
2232 # We chose a different compiler from the bogus one.
2233 # However, it has the same basename, so the bogon will be chosen
2234 # first if we set CC to just the basename; use the full file name.
2235 shift
2236 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2241 CC=$ac_cv_prog_CC
2242 if test -n "$CC"; then
2243 echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2245 else
2246 echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2251 if test -z "$CC"; then
2252 if test -n "$ac_tool_prefix"; then
2253 for ac_prog in cl
2255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC="$CC" # Let the user override the test.
2264 else
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2268 IFS=$as_save_IFS
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 break 2
2276 done
2277 done
2281 CC=$ac_cv_prog_CC
2282 if test -n "$CC"; then
2283 echo "$as_me:$LINENO: result: $CC" >&5
2284 echo "${ECHO_T}$CC" >&6
2285 else
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2290 test -n "$CC" && break
2291 done
2293 if test -z "$CC"; then
2294 ac_ct_CC=$CC
2295 for ac_prog in cl
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 else
2304 if test -n "$ac_ct_CC"; then
2305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_ac_ct_CC="$ac_prog"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2318 done
2319 done
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324 if test -n "$ac_ct_CC"; then
2325 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2326 echo "${ECHO_T}$ac_ct_CC" >&6
2327 else
2328 echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2332 test -n "$ac_ct_CC" && break
2333 done
2335 CC=$ac_ct_CC
2341 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: no acceptable C compiler found in \$PATH
2344 See \`config.log' for more details." >&2;}
2345 { (exit 1); exit 1; }; }
2347 # Provide some information about the compiler.
2348 echo "$as_me:$LINENO:" \
2349 "checking for C compiler version" >&5
2350 ac_compiler=`set X $ac_compile; echo $2`
2351 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2352 (eval $ac_compiler --version </dev/null >&5) 2>&5
2353 ac_status=$?
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }
2356 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2357 (eval $ac_compiler -v </dev/null >&5) 2>&5
2358 ac_status=$?
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }
2361 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2362 (eval $ac_compiler -V </dev/null >&5) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h. */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2375 main ()
2379 return 0;
2381 _ACEOF
2382 # FIXME: Cleanup?
2383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2384 (eval $ac_link) 2>&5
2385 ac_status=$?
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; then
2388 gcc_no_link=no
2389 else
2390 gcc_no_link=yes
2393 if test x$gcc_no_link = xyes; then
2394 # Setting cross_compile will disable run tests; it will
2395 # also disable AC_CHECK_FILE but that's generally
2396 # correct if we can't link.
2397 cross_compiling=yes
2398 EXEEXT=
2399 else
2400 cat >conftest.$ac_ext <<_ACEOF
2401 /* confdefs.h. */
2402 _ACEOF
2403 cat confdefs.h >>conftest.$ac_ext
2404 cat >>conftest.$ac_ext <<_ACEOF
2405 /* end confdefs.h. */
2408 main ()
2412 return 0;
2414 _ACEOF
2415 ac_clean_files_save=$ac_clean_files
2416 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2417 # Try to create an executable without -o first, disregard a.out.
2418 # It will help us diagnose broken compilers, and finding out an intuition
2419 # of exeext.
2420 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2421 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2422 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2423 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2424 (eval $ac_link_default) 2>&5
2425 ac_status=$?
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; then
2428 # Find the output, starting from the most likely. This scheme is
2429 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2430 # resort.
2432 # Be careful to initialize this variable, since it used to be cached.
2433 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2434 ac_cv_exeext=
2435 # b.out is created by i960 compilers.
2436 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2438 test -f "$ac_file" || continue
2439 case $ac_file in
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2442 conftest.$ac_ext )
2443 # This is the source file.
2445 [ab].out )
2446 # We found the default executable, but exeext='' is most
2447 # certainly right.
2448 break;;
2449 *.* )
2450 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2451 # FIXME: I believe we export ac_cv_exeext for Libtool,
2452 # but it would be cool to find out if it's true. Does anybody
2453 # maintain Libtool? --akim.
2454 export ac_cv_exeext
2455 break;;
2457 break;;
2458 esac
2459 done
2460 else
2461 echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&2;}
2468 { (exit 77); exit 77; }; }
2471 ac_exeext=$ac_cv_exeext
2472 echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6
2475 # Check the compiler produces executables we can run. If not, either
2476 # the compiler is broken, or we cross compile.
2477 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2478 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2479 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2480 # If not cross compiling, check that we can run a simple program.
2481 if test "$cross_compiling" != yes; then
2482 if { ac_try='./$ac_file'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 (eval $ac_try) 2>&5
2485 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 cross_compiling=no
2489 else
2490 if test "$cross_compiling" = maybe; then
2491 cross_compiling=yes
2492 else
2493 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&2;}
2499 { (exit 1); exit 1; }; }
2503 echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6
2506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2507 ac_clean_files=$ac_clean_files_save
2508 # Check the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2512 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2513 echo "${ECHO_T}$cross_compiling" >&6
2515 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2518 (eval $ac_link) 2>&5
2519 ac_status=$?
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; then
2522 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2523 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2524 # work properly (i.e., refer to `conftest.exe'), while it won't with
2525 # `rm'.
2526 for ac_file in conftest.exe conftest conftest.*; do
2527 test -f "$ac_file" || continue
2528 case $ac_file in
2529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2530 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2531 export ac_cv_exeext
2532 break;;
2533 * ) break;;
2534 esac
2535 done
2536 else
2537 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541 { (exit 1); exit 1; }; }
2544 rm -f conftest$ac_cv_exeext
2545 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6
2548 rm -f conftest.$ac_ext
2549 EXEEXT=$ac_cv_exeext
2550 ac_exeext=$EXEEXT
2552 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2554 if test "${ac_cv_objext+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 else
2557 cat >conftest.$ac_ext <<_ACEOF
2558 /* confdefs.h. */
2559 _ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2565 main ()
2569 return 0;
2571 _ACEOF
2572 rm -f conftest.o conftest.obj
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>&5
2575 ac_status=$?
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; then
2578 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2579 case $ac_file in
2580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2582 break;;
2583 esac
2584 done
2585 else
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2589 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2590 See \`config.log' for more details." >&5
2591 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&2;}
2593 { (exit 1); exit 1; }; }
2596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2598 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2599 echo "${ECHO_T}$ac_cv_objext" >&6
2600 OBJEXT=$ac_cv_objext
2601 ac_objext=$OBJEXT
2602 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2603 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 else
2607 cat >conftest.$ac_ext <<_ACEOF
2608 /* confdefs.h. */
2609 _ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2615 main ()
2617 #ifndef __GNUC__
2618 choke me
2619 #endif
2622 return 0;
2624 _ACEOF
2625 rm -f conftest.$ac_objext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627 (eval $ac_compile) 2>conftest.er1
2628 ac_status=$?
2629 grep -v '^ *+' conftest.er1 >conftest.err
2630 rm -f conftest.er1
2631 cat conftest.err >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try='test -z "$ac_c_werror_flag"
2635 || test ! -s conftest.err'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 (eval $ac_try) 2>&5
2638 ac_status=$?
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try='test -s conftest.$ac_objext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 (eval $ac_try) 2>&5
2644 ac_status=$?
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2647 ac_compiler_gnu=yes
2648 else
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 ac_compiler_gnu=no
2654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2658 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2659 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2660 GCC=`test $ac_compiler_gnu = yes && echo yes`
2661 ac_test_CFLAGS=${CFLAGS+set}
2662 ac_save_CFLAGS=$CFLAGS
2663 CFLAGS="-g"
2664 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2665 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2666 if test "${ac_cv_prog_cc_g+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 else
2669 cat >conftest.$ac_ext <<_ACEOF
2670 /* confdefs.h. */
2671 _ACEOF
2672 cat confdefs.h >>conftest.$ac_ext
2673 cat >>conftest.$ac_ext <<_ACEOF
2674 /* end confdefs.h. */
2677 main ()
2681 return 0;
2683 _ACEOF
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>conftest.er1
2687 ac_status=$?
2688 grep -v '^ *+' conftest.er1 >conftest.err
2689 rm -f conftest.er1
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try='test -z "$ac_c_werror_flag"
2694 || test ! -s conftest.err'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 (eval $ac_try) 2>&5
2697 ac_status=$?
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; } &&
2700 { ac_try='test -s conftest.$ac_objext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 (eval $ac_try) 2>&5
2703 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2706 ac_cv_prog_cc_g=yes
2707 else
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 ac_cv_prog_cc_g=no
2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2715 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2716 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2717 if test "$ac_test_CFLAGS" = set; then
2718 CFLAGS=$ac_save_CFLAGS
2719 elif test $ac_cv_prog_cc_g = yes; then
2720 if test "$GCC" = yes; then
2721 CFLAGS="-g -O2"
2722 else
2723 CFLAGS="-g"
2725 else
2726 if test "$GCC" = yes; then
2727 CFLAGS="-O2"
2728 else
2729 CFLAGS=
2732 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2733 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2734 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2735 echo $ECHO_N "(cached) $ECHO_C" >&6
2736 else
2737 ac_cv_prog_cc_stdc=no
2738 ac_save_CC=$CC
2739 cat >conftest.$ac_ext <<_ACEOF
2740 /* confdefs.h. */
2741 _ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2745 #include <stdarg.h>
2746 #include <stdio.h>
2747 #include <sys/types.h>
2748 #include <sys/stat.h>
2749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2750 struct buf { int x; };
2751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2752 static char *e (p, i)
2753 char **p;
2754 int i;
2756 return p[i];
2758 static char *f (char * (*g) (char **, int), char **p, ...)
2760 char *s;
2761 va_list v;
2762 va_start (v,p);
2763 s = g (p, va_arg (v,int));
2764 va_end (v);
2765 return s;
2768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2769 function prototypes and stuff, but not '\xHH' hex character constants.
2770 These don't provoke an error unfortunately, instead are silently treated
2771 as 'x'. The following induces an error, until -std1 is added to get
2772 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2773 array size at least. It's necessary to write '\x00'==0 to get something
2774 that's true only with -std1. */
2775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2777 int test (int i, double x);
2778 struct s1 {int (*f) (int a);};
2779 struct s2 {int (*f) (double a);};
2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2781 int argc;
2782 char **argv;
2784 main ()
2786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2788 return 0;
2790 _ACEOF
2791 # Don't try gcc -ansi; that turns off useful extensions and
2792 # breaks some systems' header files.
2793 # AIX -qlanglvl=ansi
2794 # Ultrix and OSF/1 -std1
2795 # HP-UX 10.20 and later -Ae
2796 # HP-UX older versions -Aa -D_HPUX_SOURCE
2797 # SVR4 -Xc -D__EXTENSIONS__
2798 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2800 CC="$ac_save_CC $ac_arg"
2801 rm -f conftest.$ac_objext
2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2803 (eval $ac_compile) 2>conftest.er1
2804 ac_status=$?
2805 grep -v '^ *+' conftest.er1 >conftest.err
2806 rm -f conftest.er1
2807 cat conftest.err >&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } &&
2810 { ac_try='test -z "$ac_c_werror_flag"
2811 || test ! -s conftest.err'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 (eval $ac_try) 2>&5
2814 ac_status=$?
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; } &&
2817 { ac_try='test -s conftest.$ac_objext'
2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819 (eval $ac_try) 2>&5
2820 ac_status=$?
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); }; }; then
2823 ac_cv_prog_cc_stdc=$ac_arg
2824 break
2825 else
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2830 rm -f conftest.err conftest.$ac_objext
2831 done
2832 rm -f conftest.$ac_ext conftest.$ac_objext
2833 CC=$ac_save_CC
2837 case "x$ac_cv_prog_cc_stdc" in
2838 x|xno)
2839 echo "$as_me:$LINENO: result: none needed" >&5
2840 echo "${ECHO_T}none needed" >&6 ;;
2842 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2844 CC="$CC $ac_cv_prog_cc_stdc" ;;
2845 esac
2847 # Some people use a C++ compiler to compile C. Since we use `exit',
2848 # in C++ we need to declare it. In case someone uses the same compiler
2849 # for both compiling C and C++ we need to have the C++ compiler decide
2850 # the declaration of exit, since it's the most demanding environment.
2851 cat >conftest.$ac_ext <<_ACEOF
2852 #ifndef __cplusplus
2853 choke me
2854 #endif
2855 _ACEOF
2856 rm -f conftest.$ac_objext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>conftest.er1
2859 ac_status=$?
2860 grep -v '^ *+' conftest.er1 >conftest.err
2861 rm -f conftest.er1
2862 cat conftest.err >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } &&
2865 { ac_try='test -z "$ac_c_werror_flag"
2866 || test ! -s conftest.err'
2867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868 (eval $ac_try) 2>&5
2869 ac_status=$?
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; } &&
2872 { ac_try='test -s conftest.$ac_objext'
2873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 (eval $ac_try) 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; }; then
2878 for ac_declaration in \
2879 '' \
2880 'extern "C" void std::exit (int) throw (); using std::exit;' \
2881 'extern "C" void std::exit (int); using std::exit;' \
2882 'extern "C" void exit (int) throw ();' \
2883 'extern "C" void exit (int);' \
2884 'void exit (int);'
2886 cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h. */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2892 $ac_declaration
2893 #include <stdlib.h>
2895 main ()
2897 exit (42);
2899 return 0;
2901 _ACEOF
2902 rm -f conftest.$ac_objext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2904 (eval $ac_compile) 2>conftest.er1
2905 ac_status=$?
2906 grep -v '^ *+' conftest.er1 >conftest.err
2907 rm -f conftest.er1
2908 cat conftest.err >&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } &&
2911 { ac_try='test -z "$ac_c_werror_flag"
2912 || test ! -s conftest.err'
2913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 (eval $ac_try) 2>&5
2915 ac_status=$?
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; } &&
2918 { ac_try='test -s conftest.$ac_objext'
2919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 (eval $ac_try) 2>&5
2921 ac_status=$?
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; }; then
2925 else
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 continue
2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2932 cat >conftest.$ac_ext <<_ACEOF
2933 /* confdefs.h. */
2934 _ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2938 $ac_declaration
2940 main ()
2942 exit (42);
2944 return 0;
2946 _ACEOF
2947 rm -f conftest.$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949 (eval $ac_compile) 2>conftest.er1
2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } &&
2956 { ac_try='test -z "$ac_c_werror_flag"
2957 || test ! -s conftest.err'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 (eval $ac_try) 2>&5
2960 ac_status=$?
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; } &&
2963 { ac_try='test -s conftest.$ac_objext'
2964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965 (eval $ac_try) 2>&5
2966 ac_status=$?
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; }; then
2969 break
2970 else
2971 echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2976 done
2977 rm -f conftest*
2978 if test -n "$ac_declaration"; then
2979 echo '#ifdef __cplusplus' >>confdefs.h
2980 echo $ac_declaration >>confdefs.h
2981 echo '#endif' >>confdefs.h
2984 else
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990 ac_ext=c
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2996 ac_ext=cc
2997 ac_cpp='$CXXCPP $CPPFLAGS'
2998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3001 if test -n "$ac_tool_prefix"; then
3002 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3006 echo "$as_me:$LINENO: checking for $ac_word" >&5
3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3008 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011 if test -n "$CXX"; then
3012 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3017 IFS=$as_save_IFS
3018 test -z "$as_dir" && as_dir=.
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3021 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 break 2
3025 done
3026 done
3030 CXX=$glibcxx_cv_prog_CXX
3031 if test -n "$CXX"; then
3032 echo "$as_me:$LINENO: result: $CXX" >&5
3033 echo "${ECHO_T}$CXX" >&6
3034 else
3035 echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3039 test -n "$CXX" && break
3040 done
3042 if test -z "$CXX"; then
3043 ac_ct_CXX=$CXX
3044 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3046 # Extract the first word of "$ac_prog", so it can be a program name with args.
3047 set dummy $ac_prog; ac_word=$2
3048 echo "$as_me:$LINENO: checking for $ac_word" >&5
3049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 else
3053 if test -n "$ac_ct_CXX"; then
3054 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3059 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_ac_ct_CXX="$ac_prog"
3064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 break 2
3067 done
3068 done
3072 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3073 if test -n "$ac_ct_CXX"; then
3074 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3075 echo "${ECHO_T}$ac_ct_CXX" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3081 test -n "$ac_ct_CXX" && break
3082 done
3083 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3085 CXX=$ac_ct_CXX
3089 # Provide some information about the compiler.
3090 echo "$as_me:$LINENO:" \
3091 "checking for C++ compiler version" >&5
3092 ac_compiler=`set X $ac_compile; echo $2`
3093 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3094 (eval $ac_compiler --version </dev/null >&5) 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }
3098 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3099 (eval $ac_compiler -v </dev/null >&5) 2>&5
3100 ac_status=$?
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); }
3103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3104 (eval $ac_compiler -V </dev/null >&5) 2>&5
3105 ac_status=$?
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }
3109 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 else
3114 cat >conftest.$ac_ext <<_ACEOF
3115 /* confdefs.h. */
3116 _ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3122 main ()
3124 #ifndef __GNUC__
3125 choke me
3126 #endif
3129 return 0;
3131 _ACEOF
3132 rm -f conftest.$ac_objext
3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3134 (eval $ac_compile) 2>conftest.er1
3135 ac_status=$?
3136 grep -v '^ *+' conftest.er1 >conftest.err
3137 rm -f conftest.er1
3138 cat conftest.err >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } &&
3141 { ac_try='test -z "$ac_cxx_werror_flag"
3142 || test ! -s conftest.err'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 (eval $ac_try) 2>&5
3145 ac_status=$?
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; } &&
3148 { ac_try='test -s conftest.$ac_objext'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 (eval $ac_try) 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3154 ac_compiler_gnu=yes
3155 else
3156 echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3159 ac_compiler_gnu=no
3161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3165 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3166 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3167 GXX=`test $ac_compiler_gnu = yes && echo yes`
3168 ac_test_CXXFLAGS=${CXXFLAGS+set}
3169 ac_save_CXXFLAGS=$CXXFLAGS
3170 CXXFLAGS="-g"
3171 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3172 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3173 if test "${ac_cv_prog_cxx_g+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176 cat >conftest.$ac_ext <<_ACEOF
3177 /* confdefs.h. */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3184 main ()
3188 return 0;
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193 (eval $ac_compile) 2>conftest.er1
3194 ac_status=$?
3195 grep -v '^ *+' conftest.er1 >conftest.err
3196 rm -f conftest.er1
3197 cat conftest.err >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); } &&
3200 { ac_try='test -z "$ac_cxx_werror_flag"
3201 || test ! -s conftest.err'
3202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 (eval $ac_try) 2>&5
3204 ac_status=$?
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); }; } &&
3207 { ac_try='test -s conftest.$ac_objext'
3208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 (eval $ac_try) 2>&5
3210 ac_status=$?
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); }; }; then
3213 ac_cv_prog_cxx_g=yes
3214 else
3215 echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3218 ac_cv_prog_cxx_g=no
3220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3222 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3223 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3224 if test "$ac_test_CXXFLAGS" = set; then
3225 CXXFLAGS=$ac_save_CXXFLAGS
3226 elif test $ac_cv_prog_cxx_g = yes; then
3227 if test "$GXX" = yes; then
3228 CXXFLAGS="-g -O2"
3229 else
3230 CXXFLAGS="-g"
3232 else
3233 if test "$GXX" = yes; then
3234 CXXFLAGS="-O2"
3235 else
3236 CXXFLAGS=
3239 for ac_declaration in \
3240 '' \
3241 'extern "C" void std::exit (int) throw (); using std::exit;' \
3242 'extern "C" void std::exit (int); using std::exit;' \
3243 'extern "C" void exit (int) throw ();' \
3244 'extern "C" void exit (int);' \
3245 'void exit (int);'
3247 cat >conftest.$ac_ext <<_ACEOF
3248 /* confdefs.h. */
3249 _ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h. */
3253 $ac_declaration
3254 #include <stdlib.h>
3256 main ()
3258 exit (42);
3260 return 0;
3262 _ACEOF
3263 rm -f conftest.$ac_objext
3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3265 (eval $ac_compile) 2>conftest.er1
3266 ac_status=$?
3267 grep -v '^ *+' conftest.er1 >conftest.err
3268 rm -f conftest.er1
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } &&
3272 { ac_try='test -z "$ac_cxx_werror_flag"
3273 || test ! -s conftest.err'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 (eval $ac_try) 2>&5
3276 ac_status=$?
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; } &&
3279 { ac_try='test -s conftest.$ac_objext'
3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281 (eval $ac_try) 2>&5
3282 ac_status=$?
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }; }; then
3286 else
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3290 continue
3292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3293 cat >conftest.$ac_ext <<_ACEOF
3294 /* confdefs.h. */
3295 _ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3299 $ac_declaration
3301 main ()
3303 exit (42);
3305 return 0;
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310 (eval $ac_compile) 2>conftest.er1
3311 ac_status=$?
3312 grep -v '^ *+' conftest.er1 >conftest.err
3313 rm -f conftest.er1
3314 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try='test -z "$ac_cxx_werror_flag"
3318 || test ! -s conftest.err'
3319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 (eval $ac_try) 2>&5
3321 ac_status=$?
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; } &&
3324 { ac_try='test -s conftest.$ac_objext'
3325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 (eval $ac_try) 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }; }; then
3330 break
3331 else
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3337 done
3338 rm -f conftest*
3339 if test -n "$ac_declaration"; then
3340 echo '#ifdef __cplusplus' >>confdefs.h
3341 echo $ac_declaration >>confdefs.h
3342 echo '#endif' >>confdefs.h
3345 ac_ext=c
3346 ac_cpp='$CPP $CPPFLAGS'
3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3351 CXXFLAGS="$save_CXXFLAGS"
3356 # For directory versioning (e.g., headers) and other variables.
3357 echo "$as_me:$LINENO: checking for GCC version number" >&5
3358 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3359 gcc_version=`$CXX -dumpversion`
3360 echo "$as_me:$LINENO: result: $gcc_version" >&5
3361 echo "${ECHO_T}$gcc_version" >&6
3363 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3364 # available). Uncomment the next line to force a particular method.
3365 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3366 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3367 LN_S=$as_ln_s
3368 if test "$LN_S" = "ln -s"; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3371 else
3372 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3373 echo "${ECHO_T}no, using $LN_S" >&6
3376 #LN_S='cp -p'
3378 if test -n "$ac_tool_prefix"; then
3379 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3380 set dummy ${ac_tool_prefix}as; ac_word=$2
3381 echo "$as_me:$LINENO: checking for $ac_word" >&5
3382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3383 if test "${ac_cv_prog_AS+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 else
3386 if test -n "$AS"; then
3387 ac_cv_prog_AS="$AS" # Let the user override the test.
3388 else
3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 for as_dir in $PATH
3392 IFS=$as_save_IFS
3393 test -z "$as_dir" && as_dir=.
3394 for ac_exec_ext in '' $ac_executable_extensions; do
3395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3396 ac_cv_prog_AS="${ac_tool_prefix}as"
3397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 break 2
3400 done
3401 done
3405 AS=$ac_cv_prog_AS
3406 if test -n "$AS"; then
3407 echo "$as_me:$LINENO: result: $AS" >&5
3408 echo "${ECHO_T}$AS" >&6
3409 else
3410 echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3415 if test -z "$ac_cv_prog_AS"; then
3416 ac_ct_AS=$AS
3417 # Extract the first word of "as", so it can be a program name with args.
3418 set dummy as; ac_word=$2
3419 echo "$as_me:$LINENO: checking for $ac_word" >&5
3420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3421 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424 if test -n "$ac_ct_AS"; then
3425 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3430 IFS=$as_save_IFS
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3434 ac_cv_prog_ac_ct_AS="as"
3435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 break 2
3438 done
3439 done
3443 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3444 if test -n "$ac_ct_AS"; then
3445 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3446 echo "${ECHO_T}$ac_ct_AS" >&6
3447 else
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3452 AS=$ac_ct_AS
3453 else
3454 AS="$ac_cv_prog_AS"
3457 if test -n "$ac_tool_prefix"; then
3458 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3459 set dummy ${ac_tool_prefix}ar; ac_word=$2
3460 echo "$as_me:$LINENO: checking for $ac_word" >&5
3461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3462 if test "${ac_cv_prog_AR+set}" = set; then
3463 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 else
3465 if test -n "$AR"; then
3466 ac_cv_prog_AR="$AR" # Let the user override the test.
3467 else
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 for as_dir in $PATH
3471 IFS=$as_save_IFS
3472 test -z "$as_dir" && as_dir=.
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3475 ac_cv_prog_AR="${ac_tool_prefix}ar"
3476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3477 break 2
3479 done
3480 done
3484 AR=$ac_cv_prog_AR
3485 if test -n "$AR"; then
3486 echo "$as_me:$LINENO: result: $AR" >&5
3487 echo "${ECHO_T}$AR" >&6
3488 else
3489 echo "$as_me:$LINENO: result: no" >&5
3490 echo "${ECHO_T}no" >&6
3494 if test -z "$ac_cv_prog_AR"; then
3495 ac_ct_AR=$AR
3496 # Extract the first word of "ar", so it can be a program name with args.
3497 set dummy ar; ac_word=$2
3498 echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503 if test -n "$ac_ct_AR"; then
3504 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_ac_ct_AR="ar"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3517 done
3518 done
3522 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3523 if test -n "$ac_ct_AR"; then
3524 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3525 echo "${ECHO_T}$ac_ct_AR" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3531 AR=$ac_ct_AR
3532 else
3533 AR="$ac_cv_prog_AR"
3536 if test -n "$ac_tool_prefix"; then
3537 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3538 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3539 echo "$as_me:$LINENO: checking for $ac_word" >&5
3540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3541 if test "${ac_cv_prog_RANLIB+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 else
3544 if test -n "$RANLIB"; then
3545 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3554 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 break 2
3558 done
3559 done
3563 RANLIB=$ac_cv_prog_RANLIB
3564 if test -n "$RANLIB"; then
3565 echo "$as_me:$LINENO: result: $RANLIB" >&5
3566 echo "${ECHO_T}$RANLIB" >&6
3567 else
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3573 if test -z "$ac_cv_prog_RANLIB"; then
3574 ac_ct_RANLIB=$RANLIB
3575 # Extract the first word of "ranlib", so it can be a program name with args.
3576 set dummy ranlib; ac_word=$2
3577 echo "$as_me:$LINENO: checking for $ac_word" >&5
3578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3579 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 else
3582 if test -n "$ac_ct_RANLIB"; then
3583 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3588 IFS=$as_save_IFS
3589 test -z "$as_dir" && as_dir=.
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3592 ac_cv_prog_ac_ct_RANLIB="ranlib"
3593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 break 2
3596 done
3597 done
3599 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3602 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3603 if test -n "$ac_ct_RANLIB"; then
3604 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3605 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3606 else
3607 echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6
3611 RANLIB=$ac_ct_RANLIB
3612 else
3613 RANLIB="$ac_cv_prog_RANLIB"
3617 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3618 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3619 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3620 if test "${enable_maintainer_mode+set}" = set; then
3621 enableval="$enable_maintainer_mode"
3622 USE_MAINTAINER_MODE=$enableval
3623 else
3624 USE_MAINTAINER_MODE=no
3626 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3627 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3630 if test $USE_MAINTAINER_MODE = yes; then
3631 MAINTAINER_MODE_TRUE=
3632 MAINTAINER_MODE_FALSE='#'
3633 else
3634 MAINTAINER_MODE_TRUE='#'
3635 MAINTAINER_MODE_FALSE=
3638 MAINT=$MAINTAINER_MODE_TRUE
3642 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3643 # which are themselves conditionally expanded.
3644 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3645 ## other macros from doing the same. This should be automated.) -pme
3646 need_libmath=no
3647 enable_wchar_t=no
3648 #enable_libstdcxx_debug=no
3649 #enable_libstdcxx_pch=no
3650 #enable_cheaders=c
3651 #c_compatibility=no
3652 #enable_abi_check=no
3653 #enable_symvers=no
3654 #enable_hosted_libstdcxx=yes
3656 # Find platform-specific directories containing configuration info.
3657 # Also possibly modify flags used elsewhere, as needed by the platform.
3659 . $glibcxx_srcdir/configure.host
3660 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3661 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3662 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3663 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3667 #AC_MSG_NOTICE([====== Starting libtool configuration])
3669 # Check whether --enable-shared or --disable-shared was given.
3670 if test "${enable_shared+set}" = set; then
3671 enableval="$enable_shared"
3672 p=${PACKAGE-default}
3673 case $enableval in
3674 yes) enable_shared=yes ;;
3675 no) enable_shared=no ;;
3677 enable_shared=no
3678 # Look at the argument we got. We use all the common list separators.
3679 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3680 for pkg in $enableval; do
3681 if test "X$pkg" = "X$p"; then
3682 enable_shared=yes
3684 done
3685 IFS="$ac_save_ifs"
3687 esac
3688 else
3689 enable_shared=yes
3691 # Check whether --enable-static or --disable-static was given.
3692 if test "${enable_static+set}" = set; then
3693 enableval="$enable_static"
3694 p=${PACKAGE-default}
3695 case $enableval in
3696 yes) enable_static=yes ;;
3697 no) enable_static=no ;;
3699 enable_static=no
3700 # Look at the argument we got. We use all the common list separators.
3701 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3702 for pkg in $enableval; do
3703 if test "X$pkg" = "X$p"; then
3704 enable_static=yes
3706 done
3707 IFS="$ac_save_ifs"
3709 esac
3710 else
3711 enable_static=yes
3713 # Check whether --enable-fast-install or --disable-fast-install was given.
3714 if test "${enable_fast_install+set}" = set; then
3715 enableval="$enable_fast_install"
3716 p=${PACKAGE-default}
3717 case $enableval in
3718 yes) enable_fast_install=yes ;;
3719 no) enable_fast_install=no ;;
3721 enable_fast_install=no
3722 # Look at the argument we got. We use all the common list separators.
3723 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3724 for pkg in $enableval; do
3725 if test "X$pkg" = "X$p"; then
3726 enable_fast_install=yes
3728 done
3729 IFS="$ac_save_ifs"
3731 esac
3732 else
3733 enable_fast_install=yes
3736 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3737 if test "${with_gnu_ld+set}" = set; then
3738 withval="$with_gnu_ld"
3739 test "$withval" = no || with_gnu_ld=yes
3740 else
3741 with_gnu_ld=no
3743 ac_prog=ld
3744 if test "$GCC" = yes; then
3745 # Check if gcc -print-prog-name=ld gives a path.
3746 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3747 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3748 case $host in
3749 *-*-mingw*)
3750 # gcc leaves a trailing carriage return which upsets mingw
3751 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3753 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3754 esac
3755 case $ac_prog in
3756 # Accept absolute paths.
3757 [\\/]* | [A-Za-z]:[\\/]*)
3758 re_direlt='/[^/][^/]*/\.\./'
3759 # Canonicalize the path of ld
3760 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3761 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3762 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3763 done
3764 test -z "$LD" && LD="$ac_prog"
3767 # If it fails, then pretend we aren't using GCC.
3768 ac_prog=ld
3771 # If it is relative, then search for the first ld in PATH.
3772 with_gnu_ld=unknown
3774 esac
3775 elif test "$with_gnu_ld" = yes; then
3776 echo "$as_me:$LINENO: checking for GNU ld" >&5
3777 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3778 else
3779 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3780 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3782 if test "${lt_cv_path_LD+set}" = set; then
3783 echo $ECHO_N "(cached) $ECHO_C" >&6
3784 else
3785 if test -z "$LD"; then
3786 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3787 for ac_dir in $PATH; do
3788 test -z "$ac_dir" && ac_dir=.
3789 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3790 lt_cv_path_LD="$ac_dir/$ac_prog"
3791 # Check to see if the program is GNU ld. I'd rather use --version,
3792 # but apparently some GNU ld's only accept -v.
3793 # Break only if it was the GNU/non-GNU ld that we prefer.
3794 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3795 test "$with_gnu_ld" != no && break
3796 else
3797 test "$with_gnu_ld" != yes && break
3800 done
3801 IFS="$ac_save_ifs"
3802 else
3803 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3807 LD="$lt_cv_path_LD"
3808 if test -n "$LD"; then
3809 echo "$as_me:$LINENO: result: $LD" >&5
3810 echo "${ECHO_T}$LD" >&6
3811 else
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3815 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3816 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3817 { (exit 1); exit 1; }; }
3818 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3819 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3820 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 else
3823 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3824 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3825 lt_cv_prog_gnu_ld=yes
3826 else
3827 lt_cv_prog_gnu_ld=no
3830 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3831 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3832 with_gnu_ld=$lt_cv_prog_gnu_ld
3835 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3836 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3837 if test "${lt_cv_ld_reload_flag+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3839 else
3840 lt_cv_ld_reload_flag='-r'
3842 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3843 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3844 reload_flag=$lt_cv_ld_reload_flag
3845 test -n "$reload_flag" && reload_flag=" $reload_flag"
3847 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3848 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3849 if test "${lt_cv_path_NM+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 else
3852 if test -n "$NM"; then
3853 # Let the user override the test.
3854 lt_cv_path_NM="$NM"
3855 else
3856 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3857 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3858 test -z "$ac_dir" && ac_dir=.
3859 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3860 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3861 # Check to see if the nm accepts a BSD-compat flag.
3862 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3863 # nm: unknown option "B" ignored
3864 # Tru64's nm complains that /dev/null is an invalid object file
3865 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3866 lt_cv_path_NM="$tmp_nm -B"
3867 break
3868 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3869 lt_cv_path_NM="$tmp_nm -p"
3870 break
3871 else
3872 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3873 continue # so that we can try to find one that supports BSD flags
3876 done
3877 IFS="$ac_save_ifs"
3878 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3882 NM="$lt_cv_path_NM"
3883 echo "$as_me:$LINENO: result: $NM" >&5
3884 echo "${ECHO_T}$NM" >&6
3886 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3887 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3888 if test "${lt_cv_deplibs_check_method+set}" = set; then
3889 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 else
3891 lt_cv_file_magic_cmd='$MAGIC_CMD'
3892 lt_cv_file_magic_test_file=
3893 lt_cv_deplibs_check_method='unknown'
3894 # Need to set the preceding variable on all platforms that support
3895 # interlibrary dependencies.
3896 # 'none' -- dependencies not supported.
3897 # `unknown' -- same as none, but documents that we really don't know.
3898 # 'pass_all' -- all dependencies passed with no checks.
3899 # 'test_compile' -- check by making test program.
3900 # 'file_magic [regex]' -- check by looking for files in library path
3901 # which responds to the $file_magic_cmd with a given egrep regex.
3902 # If you have `file' or equivalent on your system and you're not sure
3903 # whether `pass_all' will *always* work, you probably want this one.
3905 case $host_os in
3906 aix*)
3907 lt_cv_deplibs_check_method=pass_all
3910 beos*)
3911 lt_cv_deplibs_check_method=pass_all
3914 bsdi4*)
3915 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3916 lt_cv_file_magic_cmd='/usr/bin/file -L'
3917 lt_cv_file_magic_test_file=/shlib/libc.so
3920 cygwin* | mingw* |pw32*)
3921 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3922 lt_cv_file_magic_cmd='$OBJDUMP -f'
3925 darwin* | rhapsody*)
3926 # this will be overwritten by pass_all, but leave it in just in case
3927 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3928 lt_cv_file_magic_cmd='/usr/bin/file -L'
3929 case "$host_os" in
3930 rhapsody* | darwin1.012)
3931 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3933 *) # Darwin 1.3 on
3934 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3936 esac
3937 lt_cv_deplibs_check_method=pass_all
3940 freebsd* | kfreebsd*-gnu)
3941 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3942 case $host_cpu in
3943 i*86 )
3944 # Not sure whether the presence of OpenBSD here was a mistake.
3945 # Let's accept both of them until this is cleared up.
3946 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3947 lt_cv_file_magic_cmd=/usr/bin/file
3948 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3950 esac
3951 else
3952 lt_cv_deplibs_check_method=pass_all
3956 gnu*)
3957 lt_cv_deplibs_check_method=pass_all
3960 hpux10.20*|hpux11*)
3961 case $host_cpu in
3962 hppa*)
3963 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3964 lt_cv_file_magic_cmd=/usr/bin/file
3965 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3967 ia64*)
3968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3969 lt_cv_file_magic_cmd=/usr/bin/file
3970 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3972 esac
3975 irix5* | irix6*)
3976 case $host_os in
3977 irix5*)
3978 # this will be overridden with pass_all, but let us keep it just in case
3979 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3982 case $LD in
3983 *-32|*"-32 ") libmagic=32-bit;;
3984 *-n32|*"-n32 ") libmagic=N32;;
3985 *-64|*"-64 ") libmagic=64-bit;;
3986 *) libmagic=never-match;;
3987 esac
3988 # this will be overridden with pass_all, but let us keep it just in case
3989 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3991 esac
3992 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3993 lt_cv_deplibs_check_method=pass_all
3996 # This must be Linux ELF.
3997 linux-gnu*)
3998 case $host_cpu in
3999 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
4000 lt_cv_deplibs_check_method=pass_all ;;
4002 # glibc up to 2.1.1 does not perform some relocations on ARM
4003 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4004 esac
4005 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4008 netbsd* | knetbsd*-gnu)
4009 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4010 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4011 else
4012 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4016 newsos6)
4017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4018 lt_cv_file_magic_cmd=/usr/bin/file
4019 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4022 osf3* | osf4* | osf5*)
4023 # this will be overridden with pass_all, but let us keep it just in case
4024 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4025 lt_cv_file_magic_test_file=/shlib/libc.so
4026 lt_cv_deplibs_check_method=pass_all
4029 sco3.2v5*)
4030 lt_cv_deplibs_check_method=pass_all
4033 solaris*)
4034 lt_cv_deplibs_check_method=pass_all
4035 lt_cv_file_magic_test_file=/lib/libc.so
4038 sysv5uw[78]* | sysv4*uw2*)
4039 lt_cv_deplibs_check_method=pass_all
4042 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4043 case $host_vendor in
4044 ncr)
4045 lt_cv_deplibs_check_method=pass_all
4047 motorola)
4048 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4051 esac
4053 esac
4056 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4057 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4058 file_magic_cmd=$lt_cv_file_magic_cmd
4059 deplibs_check_method=$lt_cv_deplibs_check_method
4065 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4067 # Only perform the check for file, if the check method requires it
4068 case $deplibs_check_method in
4069 file_magic*)
4070 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4071 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4072 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4073 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4074 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 else
4076 case $MAGIC_CMD in
4078 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4080 ?:/*)
4081 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4084 ac_save_MAGIC_CMD="$MAGIC_CMD"
4085 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4086 ac_dummy="/usr/bin:$PATH"
4087 for ac_dir in $ac_dummy; do
4088 test -z "$ac_dir" && ac_dir=.
4089 if test -f $ac_dir/${ac_tool_prefix}file; then
4090 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4091 if test -n "$file_magic_test_file"; then
4092 case $deplibs_check_method in
4093 "file_magic "*)
4094 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4095 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4096 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4097 egrep "$file_magic_regex" > /dev/null; then
4099 else
4100 cat <<EOF 1>&2
4102 *** Warning: the command libtool uses to detect shared libraries,
4103 *** $file_magic_cmd, produces output that libtool cannot recognize.
4104 *** The result is that libtool may fail to recognize shared libraries
4105 *** as such. This will affect the creation of libtool libraries that
4106 *** depend on shared libraries, but programs linked with such libtool
4107 *** libraries will work regardless of this problem. Nevertheless, you
4108 *** may want to report the problem to your system manager and/or to
4109 *** bug-libtool@gnu.org
4112 fi ;;
4113 esac
4115 break
4117 done
4118 IFS="$ac_save_ifs"
4119 MAGIC_CMD="$ac_save_MAGIC_CMD"
4121 esac
4124 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4125 if test -n "$MAGIC_CMD"; then
4126 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4127 echo "${ECHO_T}$MAGIC_CMD" >&6
4128 else
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4133 if test -z "$lt_cv_path_MAGIC_CMD"; then
4134 if test -n "$ac_tool_prefix"; then
4135 echo "$as_me:$LINENO: checking for file" >&5
4136 echo $ECHO_N "checking for file... $ECHO_C" >&6
4137 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 else
4140 case $MAGIC_CMD in
4142 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4144 ?:/*)
4145 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4148 ac_save_MAGIC_CMD="$MAGIC_CMD"
4149 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4150 ac_dummy="/usr/bin:$PATH"
4151 for ac_dir in $ac_dummy; do
4152 test -z "$ac_dir" && ac_dir=.
4153 if test -f $ac_dir/file; then
4154 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4155 if test -n "$file_magic_test_file"; then
4156 case $deplibs_check_method in
4157 "file_magic "*)
4158 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4159 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4160 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4161 egrep "$file_magic_regex" > /dev/null; then
4163 else
4164 cat <<EOF 1>&2
4166 *** Warning: the command libtool uses to detect shared libraries,
4167 *** $file_magic_cmd, produces output that libtool cannot recognize.
4168 *** The result is that libtool may fail to recognize shared libraries
4169 *** as such. This will affect the creation of libtool libraries that
4170 *** depend on shared libraries, but programs linked with such libtool
4171 *** libraries will work regardless of this problem. Nevertheless, you
4172 *** may want to report the problem to your system manager and/or to
4173 *** bug-libtool@gnu.org
4176 fi ;;
4177 esac
4179 break
4181 done
4182 IFS="$ac_save_ifs"
4183 MAGIC_CMD="$ac_save_MAGIC_CMD"
4185 esac
4188 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4189 if test -n "$MAGIC_CMD"; then
4190 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4191 echo "${ECHO_T}$MAGIC_CMD" >&6
4192 else
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4197 else
4198 MAGIC_CMD=:
4204 esac
4206 if test -n "$ac_tool_prefix"; then
4207 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4208 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4209 echo "$as_me:$LINENO: checking for $ac_word" >&5
4210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4211 if test "${ac_cv_prog_RANLIB+set}" = set; then
4212 echo $ECHO_N "(cached) $ECHO_C" >&6
4213 else
4214 if test -n "$RANLIB"; then
4215 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4216 else
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4218 for as_dir in $PATH
4220 IFS=$as_save_IFS
4221 test -z "$as_dir" && as_dir=.
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4224 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4226 break 2
4228 done
4229 done
4233 RANLIB=$ac_cv_prog_RANLIB
4234 if test -n "$RANLIB"; then
4235 echo "$as_me:$LINENO: result: $RANLIB" >&5
4236 echo "${ECHO_T}$RANLIB" >&6
4237 else
4238 echo "$as_me:$LINENO: result: no" >&5
4239 echo "${ECHO_T}no" >&6
4243 if test -z "$ac_cv_prog_RANLIB"; then
4244 ac_ct_RANLIB=$RANLIB
4245 # Extract the first word of "ranlib", so it can be a program name with args.
4246 set dummy ranlib; ac_word=$2
4247 echo "$as_me:$LINENO: checking for $ac_word" >&5
4248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4249 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4250 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 else
4252 if test -n "$ac_ct_RANLIB"; then
4253 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4254 else
4255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 for as_dir in $PATH
4258 IFS=$as_save_IFS
4259 test -z "$as_dir" && as_dir=.
4260 for ac_exec_ext in '' $ac_executable_extensions; do
4261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262 ac_cv_prog_ac_ct_RANLIB="ranlib"
4263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 break 2
4266 done
4267 done
4269 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4272 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4273 if test -n "$ac_ct_RANLIB"; then
4274 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4275 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4276 else
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4281 RANLIB=$ac_ct_RANLIB
4282 else
4283 RANLIB="$ac_cv_prog_RANLIB"
4286 if test -n "$ac_tool_prefix"; then
4287 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4288 set dummy ${ac_tool_prefix}strip; ac_word=$2
4289 echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291 if test "${ac_cv_prog_STRIP+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294 if test -n "$STRIP"; then
4295 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4296 else
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 for as_dir in $PATH
4300 IFS=$as_save_IFS
4301 test -z "$as_dir" && as_dir=.
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306 break 2
4308 done
4309 done
4313 STRIP=$ac_cv_prog_STRIP
4314 if test -n "$STRIP"; then
4315 echo "$as_me:$LINENO: result: $STRIP" >&5
4316 echo "${ECHO_T}$STRIP" >&6
4317 else
4318 echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6
4323 if test -z "$ac_cv_prog_STRIP"; then
4324 ac_ct_STRIP=$STRIP
4325 # Extract the first word of "strip", so it can be a program name with args.
4326 set dummy strip; ac_word=$2
4327 echo "$as_me:$LINENO: checking for $ac_word" >&5
4328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4329 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 else
4332 if test -n "$ac_ct_STRIP"; then
4333 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4334 else
4335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336 for as_dir in $PATH
4338 IFS=$as_save_IFS
4339 test -z "$as_dir" && as_dir=.
4340 for ac_exec_ext in '' $ac_executable_extensions; do
4341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4342 ac_cv_prog_ac_ct_STRIP="strip"
4343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4344 break 2
4346 done
4347 done
4349 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4352 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4353 if test -n "$ac_ct_STRIP"; then
4354 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4355 echo "${ECHO_T}$ac_ct_STRIP" >&6
4356 else
4357 echo "$as_me:$LINENO: result: no" >&5
4358 echo "${ECHO_T}no" >&6
4361 STRIP=$ac_ct_STRIP
4362 else
4363 STRIP="$ac_cv_prog_STRIP"
4367 # Check for any special flags to pass to ltconfig.
4368 libtool_flags="--cache-file=$cache_file"
4369 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4370 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4371 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4372 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4373 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4376 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4377 if test "${enable_libtool_lock+set}" = set; then
4378 enableval="$enable_libtool_lock"
4381 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4382 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4385 # Check whether --with-pic or --without-pic was given.
4386 if test "${with_pic+set}" = set; then
4387 withval="$with_pic"
4388 pic_mode="$withval"
4389 else
4390 pic_mode=default
4392 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4393 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4395 # Some flags need to be propagated to the compiler or linker for good
4396 # libtool support.
4397 case $host in
4398 *-*-irix6*)
4399 # Find out which ABI we are using.
4400 echo '#line 4400 "configure"' > conftest.$ac_ext
4401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4402 (eval $ac_compile) 2>&5
4403 ac_status=$?
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; then
4406 if test "$lt_cv_prog_gnu_ld" = yes; then
4407 case `/usr/bin/file conftest.$ac_objext` in
4408 *32-bit*)
4409 LD="${LD-ld} -melf32bsmip"
4411 *N32*)
4412 LD="${LD-ld} -melf32bmipn32"
4414 *64-bit*)
4415 LD="${LD-ld} -melf64bmip"
4417 esac
4418 else
4419 case `/usr/bin/file conftest.$ac_objext` in
4420 *32-bit*)
4421 LD="${LD-ld} -32"
4423 *N32*)
4424 LD="${LD-ld} -n32"
4426 *64-bit*)
4427 LD="${LD-ld} -64"
4429 esac
4432 rm -rf conftest*
4435 ia64-*-hpux*)
4436 # Find out which ABI we are using.
4437 echo 'int i;' > conftest.$ac_ext
4438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4439 (eval $ac_compile) 2>&5
4440 ac_status=$?
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; then
4443 case "`/usr/bin/file conftest.o`" in
4444 *ELF-32*)
4445 HPUX_IA64_MODE="32"
4447 *ELF-64*)
4448 HPUX_IA64_MODE="64"
4450 esac
4452 rm -rf conftest*
4455 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4456 # Find out which ABI we are using.
4457 echo 'int i;' > conftest.$ac_ext
4458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4459 (eval $ac_compile) 2>&5
4460 ac_status=$?
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; then
4463 case "`/usr/bin/file conftest.o`" in
4464 *32-bit*)
4465 case $host in
4466 x86_64-*linux*)
4467 LD="${LD-ld} -m elf_i386"
4469 ppc64-*linux*|powerpc64-*linux*)
4470 LD="${LD-ld} -m elf32ppclinux"
4472 s390x-*linux*)
4473 LD="${LD-ld} -m elf_s390"
4475 sparc64-*linux*)
4476 LD="${LD-ld} -m elf32_sparc"
4478 esac
4480 *64-bit*)
4481 case $host in
4482 x86_64-*linux*)
4483 LD="${LD-ld} -m elf_x86_64"
4485 ppc*-*linux*|powerpc*-*linux*)
4486 LD="${LD-ld} -m elf64ppc"
4488 s390*-*linux*)
4489 LD="${LD-ld} -m elf64_s390"
4491 sparc*-*linux*)
4492 LD="${LD-ld} -m elf64_sparc"
4494 esac
4496 esac
4498 rm -rf conftest*
4501 *-*-sco3.2v5*)
4502 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4503 SAVE_CFLAGS="$CFLAGS"
4504 CFLAGS="$CFLAGS -belf"
4505 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4506 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4507 if test "${lt_cv_cc_needs_belf+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 else
4512 ac_ext=c
4513 ac_cpp='$CPP $CPPFLAGS'
4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4518 if test x$gcc_no_link = xyes; then
4519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4521 { (exit 1); exit 1; }; }
4523 cat >conftest.$ac_ext <<_ACEOF
4524 /* confdefs.h. */
4525 _ACEOF
4526 cat confdefs.h >>conftest.$ac_ext
4527 cat >>conftest.$ac_ext <<_ACEOF
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 rm -f conftest.$ac_objext conftest$ac_exeext
4539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4540 (eval $ac_link) 2>conftest.er1
4541 ac_status=$?
4542 grep -v '^ *+' conftest.er1 >conftest.err
4543 rm -f conftest.er1
4544 cat conftest.err >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } &&
4547 { ac_try='test -z "$ac_c_werror_flag"
4548 || test ! -s conftest.err'
4549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4550 (eval $ac_try) 2>&5
4551 ac_status=$?
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); }; } &&
4554 { ac_try='test -s conftest$ac_exeext'
4555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4556 (eval $ac_try) 2>&5
4557 ac_status=$?
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); }; }; then
4560 lt_cv_cc_needs_belf=yes
4561 else
4562 echo "$as_me: failed program was:" >&5
4563 sed 's/^/| /' conftest.$ac_ext >&5
4565 lt_cv_cc_needs_belf=no
4567 rm -f conftest.err conftest.$ac_objext \
4568 conftest$ac_exeext conftest.$ac_ext
4569 ac_ext=c
4570 ac_cpp='$CPP $CPPFLAGS'
4571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4576 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4577 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4578 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4579 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4580 CFLAGS="$SAVE_CFLAGS"
4585 esac
4588 # Save cache, so that ltconfig can load it
4589 cat >confcache <<\_ACEOF
4590 # This file is a shell script that caches the results of configure
4591 # tests run on this system so they can be shared between configure
4592 # scripts and configure runs, see configure's option --config-cache.
4593 # It is not useful on other systems. If it contains results you don't
4594 # want to keep, you may remove or edit it.
4596 # config.status only pays attention to the cache file if you give it
4597 # the --recheck option to rerun configure.
4599 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4600 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4601 # following values.
4603 _ACEOF
4605 # The following way of writing the cache mishandles newlines in values,
4606 # but we know of no workaround that is simple, portable, and efficient.
4607 # So, don't put newlines in cache variables' values.
4608 # Ultrix sh set writes to stderr and can't be redirected directly,
4609 # and sets the high bit in the cache file unless we assign to the vars.
4611 (set) 2>&1 |
4612 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4613 *ac_space=\ *)
4614 # `set' does not quote correctly, so add quotes (double-quote
4615 # substitution turns \\\\ into \\, and sed turns \\ into \).
4616 sed -n \
4617 "s/'/'\\\\''/g;
4618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4621 # `set' quotes correctly as required by POSIX, so do not add quotes.
4622 sed -n \
4623 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4625 esac;
4627 sed '
4628 t clear
4629 : clear
4630 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4631 t end
4632 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4633 : end' >>confcache
4634 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4635 if test -w $cache_file; then
4636 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4637 cat confcache >$cache_file
4638 else
4639 echo "not updating unwritable cache $cache_file"
4642 rm -f confcache
4644 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4645 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4646 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4647 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4648 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4649 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4650 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4651 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4652 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4653 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4654 echo "$as_me: error: libtool configure failed" >&2;}
4655 { (exit 1); exit 1; }; }
4657 # Reload cache, that may have been modified by ltconfig
4658 if test -r "$cache_file"; then
4659 # Some versions of bash will fail to source /dev/null (special
4660 # files actually), so we avoid doing that.
4661 if test -f "$cache_file"; then
4662 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4663 echo "$as_me: loading cache $cache_file" >&6;}
4664 case $cache_file in
4665 [\\/]* | ?:[\\/]* ) . $cache_file;;
4666 *) . ./$cache_file;;
4667 esac
4669 else
4670 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4671 echo "$as_me: creating cache $cache_file" >&6;}
4672 >$cache_file
4676 # This can be used to rebuild libtool when needed
4677 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4679 # Always use our own libtool.
4680 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4682 # Redirect the config.log output again, so that the ltconfig log is not
4683 # clobbered by the next message.
4684 exec 5>>./config.log
4686 ac_ext=cc
4687 ac_cpp='$CXXCPP $CPPFLAGS'
4688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4691 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4692 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4693 if test -z "$CXXCPP"; then
4694 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 else
4697 # Double quotes because CXXCPP needs to be expanded
4698 for CXXCPP in "$CXX -E" "/lib/cpp"
4700 ac_preproc_ok=false
4701 for ac_cxx_preproc_warn_flag in '' yes
4703 # Use a header file that comes with gcc, so configuring glibc
4704 # with a fresh cross-compiler works.
4705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706 # <limits.h> exists even on freestanding compilers.
4707 # On the NeXT, cc -E runs the code through the compiler's parser,
4708 # not just through cpp. "Syntax error" is here to catch this case.
4709 cat >conftest.$ac_ext <<_ACEOF
4710 /* confdefs.h. */
4711 _ACEOF
4712 cat confdefs.h >>conftest.$ac_ext
4713 cat >>conftest.$ac_ext <<_ACEOF
4714 /* end confdefs.h. */
4715 #ifdef __STDC__
4716 # include <limits.h>
4717 #else
4718 # include <assert.h>
4719 #endif
4720 Syntax error
4721 _ACEOF
4722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4724 ac_status=$?
4725 grep -v '^ *+' conftest.er1 >conftest.err
4726 rm -f conftest.er1
4727 cat conftest.err >&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } >/dev/null; then
4730 if test -s conftest.err; then
4731 ac_cpp_err=$ac_cxx_preproc_warn_flag
4732 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4733 else
4734 ac_cpp_err=
4736 else
4737 ac_cpp_err=yes
4739 if test -z "$ac_cpp_err"; then
4741 else
4742 echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.$ac_ext >&5
4745 # Broken: fails on valid input.
4746 continue
4748 rm -f conftest.err conftest.$ac_ext
4750 # OK, works on sane cases. Now check whether non-existent headers
4751 # can be detected and how.
4752 cat >conftest.$ac_ext <<_ACEOF
4753 /* confdefs.h. */
4754 _ACEOF
4755 cat confdefs.h >>conftest.$ac_ext
4756 cat >>conftest.$ac_ext <<_ACEOF
4757 /* end confdefs.h. */
4758 #include <ac_nonexistent.h>
4759 _ACEOF
4760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4762 ac_status=$?
4763 grep -v '^ *+' conftest.er1 >conftest.err
4764 rm -f conftest.er1
4765 cat conftest.err >&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); } >/dev/null; then
4768 if test -s conftest.err; then
4769 ac_cpp_err=$ac_cxx_preproc_warn_flag
4770 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4771 else
4772 ac_cpp_err=
4774 else
4775 ac_cpp_err=yes
4777 if test -z "$ac_cpp_err"; then
4778 # Broken: success on invalid input.
4779 continue
4780 else
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4784 # Passes both tests.
4785 ac_preproc_ok=:
4786 break
4788 rm -f conftest.err conftest.$ac_ext
4790 done
4791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4792 rm -f conftest.err conftest.$ac_ext
4793 if $ac_preproc_ok; then
4794 break
4797 done
4798 ac_cv_prog_CXXCPP=$CXXCPP
4801 CXXCPP=$ac_cv_prog_CXXCPP
4802 else
4803 ac_cv_prog_CXXCPP=$CXXCPP
4805 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4806 echo "${ECHO_T}$CXXCPP" >&6
4807 ac_preproc_ok=false
4808 for ac_cxx_preproc_warn_flag in '' yes
4810 # Use a header file that comes with gcc, so configuring glibc
4811 # with a fresh cross-compiler works.
4812 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4813 # <limits.h> exists even on freestanding compilers.
4814 # On the NeXT, cc -E runs the code through the compiler's parser,
4815 # not just through cpp. "Syntax error" is here to catch this case.
4816 cat >conftest.$ac_ext <<_ACEOF
4817 /* confdefs.h. */
4818 _ACEOF
4819 cat confdefs.h >>conftest.$ac_ext
4820 cat >>conftest.$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4822 #ifdef __STDC__
4823 # include <limits.h>
4824 #else
4825 # include <assert.h>
4826 #endif
4827 Syntax error
4828 _ACEOF
4829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4831 ac_status=$?
4832 grep -v '^ *+' conftest.er1 >conftest.err
4833 rm -f conftest.er1
4834 cat conftest.err >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); } >/dev/null; then
4837 if test -s conftest.err; then
4838 ac_cpp_err=$ac_cxx_preproc_warn_flag
4839 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4840 else
4841 ac_cpp_err=
4843 else
4844 ac_cpp_err=yes
4846 if test -z "$ac_cpp_err"; then
4848 else
4849 echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.$ac_ext >&5
4852 # Broken: fails on valid input.
4853 continue
4855 rm -f conftest.err conftest.$ac_ext
4857 # OK, works on sane cases. Now check whether non-existent headers
4858 # can be detected and how.
4859 cat >conftest.$ac_ext <<_ACEOF
4860 /* confdefs.h. */
4861 _ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4865 #include <ac_nonexistent.h>
4866 _ACEOF
4867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4869 ac_status=$?
4870 grep -v '^ *+' conftest.er1 >conftest.err
4871 rm -f conftest.er1
4872 cat conftest.err >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } >/dev/null; then
4875 if test -s conftest.err; then
4876 ac_cpp_err=$ac_cxx_preproc_warn_flag
4877 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4878 else
4879 ac_cpp_err=
4881 else
4882 ac_cpp_err=yes
4884 if test -z "$ac_cpp_err"; then
4885 # Broken: success on invalid input.
4886 continue
4887 else
4888 echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4891 # Passes both tests.
4892 ac_preproc_ok=:
4893 break
4895 rm -f conftest.err conftest.$ac_ext
4897 done
4898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4899 rm -f conftest.err conftest.$ac_ext
4900 if $ac_preproc_ok; then
4902 else
4903 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4904 See \`config.log' for more details." >&5
4905 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4906 See \`config.log' for more details." >&2;}
4907 { (exit 1); exit 1; }; }
4910 ac_ext=c
4911 ac_cpp='$CPP $CPPFLAGS'
4912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4918 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4919 lt_save_CC="$CC"
4920 lt_save_CFLAGS="$CFLAGS"
4921 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4922 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4923 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4924 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4925 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4926 deplibs_check_method="$deplibs_check_method" \
4927 file_magic_cmd="$file_magic_cmd" \
4928 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4929 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4930 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4931 echo "$as_me: error: libtool tag configuration failed" >&2;}
4932 { (exit 1); exit 1; }; }
4933 CC="$lt_save_CC"
4934 CFLAGS="$lt_save_CFLAGS"
4936 # Redirect the config.log output again, so that the ltconfig log is not
4937 # clobbered by the next message.
4938 exec 5>>./config.log
4947 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4949 # Possibly disable most of the library.
4950 ## XXX Consider skipping unncessary tests altogether in this case, rather
4951 ## than just ignoring the results. Faster /and/ more correct, win win.
4953 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4954 if test "${enable_hosted_libstdcxx+set}" = set; then
4955 enableval="$enable_hosted_libstdcxx"
4957 else
4958 case "$host" in
4959 arm*-*-symbianelf*)
4960 enable_hosted_libstdcxx=no
4963 enable_hosted_libstdcxx=yes
4965 esac
4967 if test "$enable_hosted_libstdcxx" = no; then
4968 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4969 echo "$as_me: Only freestanding libraries will be built" >&6;}
4970 is_hosted=no
4971 hosted_define=0
4972 enable_abi_check=no
4973 enable_libstdcxx_pch=no
4974 else
4975 is_hosted=yes
4976 hosted_define=1
4980 cat >>confdefs.h <<_ACEOF
4981 #define _GLIBCXX_HOSTED $hosted_define
4982 _ACEOF
4986 # Check for support bits and g++ features that don't require linking.
4988 echo "$as_me:$LINENO: checking for exception model to use" >&5
4989 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4992 ac_ext=cc
4993 ac_cpp='$CXXCPP $CPPFLAGS'
4994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4998 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4999 if test "${enable_sjlj_exceptions+set}" = set; then
5000 enableval="$enable_sjlj_exceptions"
5002 case "$enableval" in
5003 yes|no|auto) ;;
5004 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5005 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5006 { (exit 1); exit 1; }; } ;;
5007 esac
5009 else
5010 enable_sjlj_exceptions=auto
5014 if test $enable_sjlj_exceptions = auto; then
5015 # Botheration. Now we've got to detect the exception model. Link tests
5016 # against libgcc.a are problematic since we've not been given proper -L
5017 # bits for single-tree newlib and libgloss.
5019 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5020 cat > conftest.$ac_ext << EOF
5021 #line 5021 "configure"
5022 struct S { ~S(); };
5023 void bar();
5024 void foo()
5026 S s;
5027 bar();
5030 old_CXXFLAGS="$CXXFLAGS"
5031 CXXFLAGS=-S
5032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5033 (eval $ac_compile) 2>&5
5034 ac_status=$?
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; then
5037 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5038 enable_sjlj_exceptions=yes
5039 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5040 enable_sjlj_exceptions=no
5043 CXXFLAGS="$old_CXXFLAGS"
5044 rm -f conftest*
5047 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5048 # to two different models.
5049 case $enable_sjlj_exceptions in
5050 yes)
5052 cat >>confdefs.h <<\_ACEOF
5053 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5054 _ACEOF
5056 ac_exception_model_name=sjlj
5059 ac_exception_model_name="call frame"
5062 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5063 echo "$as_me: error: unable to detect exception model" >&2;}
5064 { (exit 1); exit 1; }; }
5066 esac
5067 ac_ext=c
5068 ac_cpp='$CPP $CPPFLAGS'
5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5073 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5074 echo "${ECHO_T}$ac_exception_model_name" >&6
5077 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5078 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5079 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5080 if test "${enable_libstdcxx_pch+set}" = set; then
5081 enableval="$enable_libstdcxx_pch"
5083 case "$enableval" in
5084 yes|no) ;;
5085 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5086 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5087 { (exit 1); exit 1; }; } ;;
5088 esac
5090 else
5091 enable_libstdcxx_pch=$is_hosted
5094 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5095 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5097 if test $enable_libstdcxx_pch = yes; then
5098 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5099 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5100 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103 ac_save_CXXFLAGS="$CXXFLAGS"
5104 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5107 ac_ext=cc
5108 ac_cpp='$CXXCPP $CPPFLAGS'
5109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5113 echo '#include <math.h>' > conftest.h
5114 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5115 -o conftest.h.gch 1>&5 2>&1 &&
5116 echo '#error "pch failed"' > conftest.h &&
5117 echo '#include "conftest.h"' > conftest.cc &&
5118 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5119 then
5120 glibcxx_cv_prog_CXX_pch=yes
5121 else
5122 glibcxx_cv_prog_CXX_pch=no
5124 rm -f conftest*
5125 CXXFLAGS=$ac_save_CXXFLAGS
5126 ac_ext=c
5127 ac_cpp='$CPP $CPPFLAGS'
5128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5134 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5135 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5136 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5140 if test $enable_libstdcxx_pch = yes; then
5141 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5142 else
5143 glibcxx_PCHFLAGS=""
5148 # Enable all the variable C++ runtime options.
5149 # NB: C_MBCHAR must come early.
5151 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5152 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5153 # Check whether --enable-cstdio or --disable-cstdio was given.
5154 if test "${enable_cstdio+set}" = set; then
5155 enableval="$enable_cstdio"
5157 case "$enableval" in
5158 stdio) ;;
5159 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5160 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5161 { (exit 1); exit 1; }; } ;;
5162 esac
5164 else
5165 enable_cstdio=stdio
5169 # Now that libio has been removed, you can have any color you want as long
5170 # as it's black. This is one big no-op until other packages are added, but
5171 # showing the framework never hurts.
5172 case ${enable_cstdio} in
5173 stdio)
5174 CSTDIO_H=config/io/c_io_stdio.h
5175 BASIC_FILE_H=config/io/basic_file_stdio.h
5176 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5177 echo "$as_me:$LINENO: result: stdio" >&5
5178 echo "${ECHO_T}stdio" >&6
5180 esac
5186 ac_ext=c
5187 ac_cpp='$CPP $CPPFLAGS'
5188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5191 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5192 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5193 # On Suns, sometimes $CPP names a directory.
5194 if test -n "$CPP" && test -d "$CPP"; then
5195 CPP=
5197 if test -z "$CPP"; then
5198 if test "${ac_cv_prog_CPP+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 else
5201 # Double quotes because CPP needs to be expanded
5202 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5204 ac_preproc_ok=false
5205 for ac_c_preproc_warn_flag in '' yes
5207 # Use a header file that comes with gcc, so configuring glibc
5208 # with a fresh cross-compiler works.
5209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5210 # <limits.h> exists even on freestanding compilers.
5211 # On the NeXT, cc -E runs the code through the compiler's parser,
5212 # not just through cpp. "Syntax error" is here to catch this case.
5213 cat >conftest.$ac_ext <<_ACEOF
5214 /* confdefs.h. */
5215 _ACEOF
5216 cat confdefs.h >>conftest.$ac_ext
5217 cat >>conftest.$ac_ext <<_ACEOF
5218 /* end confdefs.h. */
5219 #ifdef __STDC__
5220 # include <limits.h>
5221 #else
5222 # include <assert.h>
5223 #endif
5224 Syntax error
5225 _ACEOF
5226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5228 ac_status=$?
5229 grep -v '^ *+' conftest.er1 >conftest.err
5230 rm -f conftest.er1
5231 cat conftest.err >&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); } >/dev/null; then
5234 if test -s conftest.err; then
5235 ac_cpp_err=$ac_c_preproc_warn_flag
5236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5237 else
5238 ac_cpp_err=
5240 else
5241 ac_cpp_err=yes
5243 if test -z "$ac_cpp_err"; then
5245 else
5246 echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.$ac_ext >&5
5249 # Broken: fails on valid input.
5250 continue
5252 rm -f conftest.err conftest.$ac_ext
5254 # OK, works on sane cases. Now check whether non-existent headers
5255 # can be detected and how.
5256 cat >conftest.$ac_ext <<_ACEOF
5257 /* confdefs.h. */
5258 _ACEOF
5259 cat confdefs.h >>conftest.$ac_ext
5260 cat >>conftest.$ac_ext <<_ACEOF
5261 /* end confdefs.h. */
5262 #include <ac_nonexistent.h>
5263 _ACEOF
5264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5266 ac_status=$?
5267 grep -v '^ *+' conftest.er1 >conftest.err
5268 rm -f conftest.er1
5269 cat conftest.err >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } >/dev/null; then
5272 if test -s conftest.err; then
5273 ac_cpp_err=$ac_c_preproc_warn_flag
5274 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5275 else
5276 ac_cpp_err=
5278 else
5279 ac_cpp_err=yes
5281 if test -z "$ac_cpp_err"; then
5282 # Broken: success on invalid input.
5283 continue
5284 else
5285 echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.$ac_ext >&5
5288 # Passes both tests.
5289 ac_preproc_ok=:
5290 break
5292 rm -f conftest.err conftest.$ac_ext
5294 done
5295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5296 rm -f conftest.err conftest.$ac_ext
5297 if $ac_preproc_ok; then
5298 break
5301 done
5302 ac_cv_prog_CPP=$CPP
5305 CPP=$ac_cv_prog_CPP
5306 else
5307 ac_cv_prog_CPP=$CPP
5309 echo "$as_me:$LINENO: result: $CPP" >&5
5310 echo "${ECHO_T}$CPP" >&6
5311 ac_preproc_ok=false
5312 for ac_c_preproc_warn_flag in '' yes
5314 # Use a header file that comes with gcc, so configuring glibc
5315 # with a fresh cross-compiler works.
5316 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5317 # <limits.h> exists even on freestanding compilers.
5318 # On the NeXT, cc -E runs the code through the compiler's parser,
5319 # not just through cpp. "Syntax error" is here to catch this case.
5320 cat >conftest.$ac_ext <<_ACEOF
5321 /* confdefs.h. */
5322 _ACEOF
5323 cat confdefs.h >>conftest.$ac_ext
5324 cat >>conftest.$ac_ext <<_ACEOF
5325 /* end confdefs.h. */
5326 #ifdef __STDC__
5327 # include <limits.h>
5328 #else
5329 # include <assert.h>
5330 #endif
5331 Syntax error
5332 _ACEOF
5333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5334 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5335 ac_status=$?
5336 grep -v '^ *+' conftest.er1 >conftest.err
5337 rm -f conftest.er1
5338 cat conftest.err >&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); } >/dev/null; then
5341 if test -s conftest.err; then
5342 ac_cpp_err=$ac_c_preproc_warn_flag
5343 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5344 else
5345 ac_cpp_err=
5347 else
5348 ac_cpp_err=yes
5350 if test -z "$ac_cpp_err"; then
5352 else
5353 echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5356 # Broken: fails on valid input.
5357 continue
5359 rm -f conftest.err conftest.$ac_ext
5361 # OK, works on sane cases. Now check whether non-existent headers
5362 # can be detected and how.
5363 cat >conftest.$ac_ext <<_ACEOF
5364 /* confdefs.h. */
5365 _ACEOF
5366 cat confdefs.h >>conftest.$ac_ext
5367 cat >>conftest.$ac_ext <<_ACEOF
5368 /* end confdefs.h. */
5369 #include <ac_nonexistent.h>
5370 _ACEOF
5371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5373 ac_status=$?
5374 grep -v '^ *+' conftest.er1 >conftest.err
5375 rm -f conftest.er1
5376 cat conftest.err >&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } >/dev/null; then
5379 if test -s conftest.err; then
5380 ac_cpp_err=$ac_c_preproc_warn_flag
5381 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5382 else
5383 ac_cpp_err=
5385 else
5386 ac_cpp_err=yes
5388 if test -z "$ac_cpp_err"; then
5389 # Broken: success on invalid input.
5390 continue
5391 else
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.$ac_ext >&5
5395 # Passes both tests.
5396 ac_preproc_ok=:
5397 break
5399 rm -f conftest.err conftest.$ac_ext
5401 done
5402 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5403 rm -f conftest.err conftest.$ac_ext
5404 if $ac_preproc_ok; then
5406 else
5407 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5408 See \`config.log' for more details." >&5
5409 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5410 See \`config.log' for more details." >&2;}
5411 { (exit 1); exit 1; }; }
5414 ac_ext=c
5415 ac_cpp='$CPP $CPPFLAGS'
5416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5421 echo "$as_me:$LINENO: checking for egrep" >&5
5422 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5423 if test "${ac_cv_prog_egrep+set}" = set; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 else
5426 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5427 then ac_cv_prog_egrep='grep -E'
5428 else ac_cv_prog_egrep='egrep'
5431 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5432 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5433 EGREP=$ac_cv_prog_egrep
5436 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5437 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5438 if test "${ac_cv_header_stdc+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441 cat >conftest.$ac_ext <<_ACEOF
5442 /* confdefs.h. */
5443 _ACEOF
5444 cat confdefs.h >>conftest.$ac_ext
5445 cat >>conftest.$ac_ext <<_ACEOF
5446 /* end confdefs.h. */
5447 #include <stdlib.h>
5448 #include <stdarg.h>
5449 #include <string.h>
5450 #include <float.h>
5453 main ()
5457 return 0;
5459 _ACEOF
5460 rm -f conftest.$ac_objext
5461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5462 (eval $ac_compile) 2>conftest.er1
5463 ac_status=$?
5464 grep -v '^ *+' conftest.er1 >conftest.err
5465 rm -f conftest.er1
5466 cat conftest.err >&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } &&
5469 { ac_try='test -z "$ac_c_werror_flag"
5470 || test ! -s conftest.err'
5471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 (eval $ac_try) 2>&5
5473 ac_status=$?
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); }; } &&
5476 { ac_try='test -s conftest.$ac_objext'
5477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478 (eval $ac_try) 2>&5
5479 ac_status=$?
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); }; }; then
5482 ac_cv_header_stdc=yes
5483 else
5484 echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.$ac_ext >&5
5487 ac_cv_header_stdc=no
5489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5491 if test $ac_cv_header_stdc = yes; then
5492 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5493 cat >conftest.$ac_ext <<_ACEOF
5494 /* confdefs.h. */
5495 _ACEOF
5496 cat confdefs.h >>conftest.$ac_ext
5497 cat >>conftest.$ac_ext <<_ACEOF
5498 /* end confdefs.h. */
5499 #include <string.h>
5501 _ACEOF
5502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5503 $EGREP "memchr" >/dev/null 2>&1; then
5505 else
5506 ac_cv_header_stdc=no
5508 rm -f conftest*
5512 if test $ac_cv_header_stdc = yes; then
5513 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5514 cat >conftest.$ac_ext <<_ACEOF
5515 /* confdefs.h. */
5516 _ACEOF
5517 cat confdefs.h >>conftest.$ac_ext
5518 cat >>conftest.$ac_ext <<_ACEOF
5519 /* end confdefs.h. */
5520 #include <stdlib.h>
5522 _ACEOF
5523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5524 $EGREP "free" >/dev/null 2>&1; then
5526 else
5527 ac_cv_header_stdc=no
5529 rm -f conftest*
5533 if test $ac_cv_header_stdc = yes; then
5534 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5535 if test "$cross_compiling" = yes; then
5537 else
5538 cat >conftest.$ac_ext <<_ACEOF
5539 /* confdefs.h. */
5540 _ACEOF
5541 cat confdefs.h >>conftest.$ac_ext
5542 cat >>conftest.$ac_ext <<_ACEOF
5543 /* end confdefs.h. */
5544 #include <ctype.h>
5545 #if ((' ' & 0x0FF) == 0x020)
5546 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5547 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5548 #else
5549 # define ISLOWER(c) \
5550 (('a' <= (c) && (c) <= 'i') \
5551 || ('j' <= (c) && (c) <= 'r') \
5552 || ('s' <= (c) && (c) <= 'z'))
5553 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5554 #endif
5556 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5558 main ()
5560 int i;
5561 for (i = 0; i < 256; i++)
5562 if (XOR (islower (i), ISLOWER (i))
5563 || toupper (i) != TOUPPER (i))
5564 exit(2);
5565 exit (0);
5567 _ACEOF
5568 rm -f conftest$ac_exeext
5569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5570 (eval $ac_link) 2>&5
5571 ac_status=$?
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 (eval $ac_try) 2>&5
5576 ac_status=$?
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; }; then
5580 else
5581 echo "$as_me: program exited with status $ac_status" >&5
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.$ac_ext >&5
5585 ( exit $ac_status )
5586 ac_cv_header_stdc=no
5588 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5592 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5593 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5594 if test $ac_cv_header_stdc = yes; then
5596 cat >>confdefs.h <<\_ACEOF
5597 #define STDC_HEADERS 1
5598 _ACEOF
5602 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5612 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5613 inttypes.h stdint.h unistd.h
5615 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5616 echo "$as_me:$LINENO: checking for $ac_header" >&5
5617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5619 echo $ECHO_N "(cached) $ECHO_C" >&6
5620 else
5621 cat >conftest.$ac_ext <<_ACEOF
5622 /* confdefs.h. */
5623 _ACEOF
5624 cat confdefs.h >>conftest.$ac_ext
5625 cat >>conftest.$ac_ext <<_ACEOF
5626 /* end confdefs.h. */
5627 $ac_includes_default
5629 #include <$ac_header>
5630 _ACEOF
5631 rm -f conftest.$ac_objext
5632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5633 (eval $ac_compile) 2>conftest.er1
5634 ac_status=$?
5635 grep -v '^ *+' conftest.er1 >conftest.err
5636 rm -f conftest.er1
5637 cat conftest.err >&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } &&
5640 { ac_try='test -z "$ac_c_werror_flag"
5641 || test ! -s conftest.err'
5642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643 (eval $ac_try) 2>&5
5644 ac_status=$?
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; } &&
5647 { ac_try='test -s conftest.$ac_objext'
5648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5649 (eval $ac_try) 2>&5
5650 ac_status=$?
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); }; }; then
5653 eval "$as_ac_Header=yes"
5654 else
5655 echo "$as_me: failed program was:" >&5
5656 sed 's/^/| /' conftest.$ac_ext >&5
5658 eval "$as_ac_Header=no"
5660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5665 cat >>confdefs.h <<_ACEOF
5666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5667 _ACEOF
5671 done
5675 echo "$as_me:$LINENO: checking for C locale to use" >&5
5676 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5677 # Check whether --enable-clocale or --disable-clocale was given.
5678 if test "${enable_clocale+set}" = set; then
5679 enableval="$enable_clocale"
5681 case "$enableval" in
5682 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5683 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5684 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5685 { (exit 1); exit 1; }; } ;;
5686 esac
5688 else
5689 enable_clocale=auto
5693 # If they didn't use this option switch, or if they specified --enable
5694 # with no specific model, we'll have to look for one. If they
5695 # specified --disable (???), do likewise.
5696 if test $enable_clocale = no || test $enable_clocale = yes; then
5697 enable_clocale=auto
5700 # Either a known package, or "auto"
5701 enable_clocale_flag=$enable_clocale
5703 # Probe for locale support if no specific model is specified.
5704 # Default to "generic".
5705 if test $enable_clocale_flag = auto; then
5706 case ${target_os} in
5707 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5708 cat >conftest.$ac_ext <<_ACEOF
5709 /* confdefs.h. */
5710 _ACEOF
5711 cat confdefs.h >>conftest.$ac_ext
5712 cat >>conftest.$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5715 #include <features.h>
5716 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5717 _GLIBCXX_ok
5718 #endif
5720 _ACEOF
5721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5722 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5723 enable_clocale_flag=gnu
5724 else
5725 enable_clocale_flag=generic
5727 rm -f conftest*
5730 # Test for bugs early in glibc-2.2.x series
5731 if test $enable_clocale_flag = gnu; then
5732 if test "$cross_compiling" = yes; then
5733 enable_clocale_flag=generic
5734 else
5735 cat >conftest.$ac_ext <<_ACEOF
5736 /* confdefs.h. */
5737 _ACEOF
5738 cat confdefs.h >>conftest.$ac_ext
5739 cat >>conftest.$ac_ext <<_ACEOF
5740 /* end confdefs.h. */
5742 #define _GNU_SOURCE 1
5743 #include <locale.h>
5744 #include <string.h>
5745 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5746 extern __typeof(newlocale) __newlocale;
5747 extern __typeof(duplocale) __duplocale;
5748 extern __typeof(strcoll_l) __strcoll_l;
5749 #endif
5750 int main()
5752 const char __one[] = "Äuglein Augmen";
5753 const char __two[] = "Äuglein";
5754 int i;
5755 int j;
5756 __locale_t loc;
5757 __locale_t loc_dup;
5758 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5759 loc_dup = __duplocale(loc);
5760 i = __strcoll_l(__one, __two, loc);
5761 j = __strcoll_l(__one, __two, loc_dup);
5762 return 0;
5765 _ACEOF
5766 rm -f conftest$ac_exeext
5767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5768 (eval $ac_link) 2>&5
5769 ac_status=$?
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 (eval $ac_try) 2>&5
5774 ac_status=$?
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then
5777 enable_clocale_flag=gnu
5778 else
5779 echo "$as_me: program exited with status $ac_status" >&5
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5783 ( exit $ac_status )
5784 enable_clocale_flag=generic
5786 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5790 # ... at some point put __strxfrm_l tests in as well.
5793 enable_clocale_flag=generic
5795 esac
5798 # Deal with gettext issues. Default to not using it (=no) until we detect
5799 # support for it later. Let the user turn it off via --e/d, but let that
5800 # default to on for easier handling.
5801 USE_NLS=no
5802 # Check whether --enable-nls or --disable-nls was given.
5803 if test "${enable_nls+set}" = set; then
5804 enableval="$enable_nls"
5806 else
5807 enable_nls=yes
5810 # Set configure bits for specified locale package
5811 case ${enable_clocale_flag} in
5812 generic)
5813 echo "$as_me:$LINENO: result: generic" >&5
5814 echo "${ECHO_T}generic" >&6
5816 CLOCALE_H=config/locale/generic/c_locale.h
5817 CLOCALE_CC=config/locale/generic/c_locale.cc
5818 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5819 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5820 CCOLLATE_CC=config/locale/generic/collate_members.cc
5821 CCTYPE_CC=config/locale/generic/ctype_members.cc
5822 CMESSAGES_H=config/locale/generic/messages_members.h
5823 CMESSAGES_CC=config/locale/generic/messages_members.cc
5824 CMONEY_CC=config/locale/generic/monetary_members.cc
5825 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5826 CTIME_H=config/locale/generic/time_members.h
5827 CTIME_CC=config/locale/generic/time_members.cc
5828 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5830 gnu)
5831 echo "$as_me:$LINENO: result: gnu" >&5
5832 echo "${ECHO_T}gnu" >&6
5834 # Declare intention to use gettext, and add support for specific
5835 # languages.
5836 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5837 ALL_LINGUAS="de fr"
5839 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5840 # Extract the first word of "msgfmt", so it can be a program name with args.
5841 set dummy msgfmt; ac_word=$2
5842 echo "$as_me:$LINENO: checking for $ac_word" >&5
5843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5844 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5845 echo $ECHO_N "(cached) $ECHO_C" >&6
5846 else
5847 if test -n "$check_msgfmt"; then
5848 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5849 else
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH
5853 IFS=$as_save_IFS
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_check_msgfmt="yes"
5858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 break 2
5861 done
5862 done
5864 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5867 check_msgfmt=$ac_cv_prog_check_msgfmt
5868 if test -n "$check_msgfmt"; then
5869 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5870 echo "${ECHO_T}$check_msgfmt" >&6
5871 else
5872 echo "$as_me:$LINENO: result: no" >&5
5873 echo "${ECHO_T}no" >&6
5876 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5877 USE_NLS=yes
5879 # Export the build objects.
5880 for ling in $ALL_LINGUAS; do \
5881 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5882 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5883 done
5887 CLOCALE_H=config/locale/gnu/c_locale.h
5888 CLOCALE_CC=config/locale/gnu/c_locale.cc
5889 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5890 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5891 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5892 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5893 CMESSAGES_H=config/locale/gnu/messages_members.h
5894 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5895 CMONEY_CC=config/locale/gnu/monetary_members.cc
5896 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5897 CTIME_H=config/locale/gnu/time_members.h
5898 CTIME_CC=config/locale/gnu/time_members.cc
5899 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5901 ieee_1003.1-2001)
5902 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5903 echo "${ECHO_T}IEEE 1003.1" >&6
5905 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5906 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5907 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5908 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5909 CCOLLATE_CC=config/locale/generic/collate_members.cc
5910 CCTYPE_CC=config/locale/generic/ctype_members.cc
5911 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5912 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5913 CMONEY_CC=config/locale/generic/monetary_members.cc
5914 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5915 CTIME_H=config/locale/generic/time_members.h
5916 CTIME_CC=config/locale/generic/time_members.cc
5917 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5919 esac
5921 # This is where the testsuite looks for locale catalogs, using the
5922 # -DLOCALEDIR define during testsuite compilation.
5923 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5926 # A standalone libintl (e.g., GNU libintl) may be in use.
5927 if test $USE_NLS = yes; then
5929 for ac_header in libintl.h
5931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5933 echo "$as_me:$LINENO: checking for $ac_header" >&5
5934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5936 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5940 else
5941 # Is the header compilable?
5942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5944 cat >conftest.$ac_ext <<_ACEOF
5945 /* confdefs.h. */
5946 _ACEOF
5947 cat confdefs.h >>conftest.$ac_ext
5948 cat >>conftest.$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5950 $ac_includes_default
5951 #include <$ac_header>
5952 _ACEOF
5953 rm -f conftest.$ac_objext
5954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5955 (eval $ac_compile) 2>conftest.er1
5956 ac_status=$?
5957 grep -v '^ *+' conftest.er1 >conftest.err
5958 rm -f conftest.er1
5959 cat conftest.err >&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); } &&
5962 { ac_try='test -z "$ac_c_werror_flag"
5963 || test ! -s conftest.err'
5964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5965 (eval $ac_try) 2>&5
5966 ac_status=$?
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); }; } &&
5969 { ac_try='test -s conftest.$ac_objext'
5970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5971 (eval $ac_try) 2>&5
5972 ac_status=$?
5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 (exit $ac_status); }; }; then
5975 ac_header_compiler=yes
5976 else
5977 echo "$as_me: failed program was:" >&5
5978 sed 's/^/| /' conftest.$ac_ext >&5
5980 ac_header_compiler=no
5982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5984 echo "${ECHO_T}$ac_header_compiler" >&6
5986 # Is the header present?
5987 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5989 cat >conftest.$ac_ext <<_ACEOF
5990 /* confdefs.h. */
5991 _ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #include <$ac_header>
5996 _ACEOF
5997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5999 ac_status=$?
6000 grep -v '^ *+' conftest.er1 >conftest.err
6001 rm -f conftest.er1
6002 cat conftest.err >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); } >/dev/null; then
6005 if test -s conftest.err; then
6006 ac_cpp_err=$ac_c_preproc_warn_flag
6007 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6008 else
6009 ac_cpp_err=
6011 else
6012 ac_cpp_err=yes
6014 if test -z "$ac_cpp_err"; then
6015 ac_header_preproc=yes
6016 else
6017 echo "$as_me: failed program was:" >&5
6018 sed 's/^/| /' conftest.$ac_ext >&5
6020 ac_header_preproc=no
6022 rm -f conftest.err conftest.$ac_ext
6023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6024 echo "${ECHO_T}$ac_header_preproc" >&6
6026 # So? What about this header?
6027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6028 yes:no: )
6029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6033 ac_header_preproc=yes
6035 no:yes:* )
6036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6049 cat <<\_ASBOX
6050 ## ----------------------------------------- ##
6051 ## Report this to the package-unused lists. ##
6052 ## ----------------------------------------- ##
6053 _ASBOX
6055 sed "s/^/$as_me: WARNING: /" >&2
6057 esac
6058 echo "$as_me:$LINENO: checking for $ac_header" >&5
6059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 else
6063 eval "$as_ac_Header=\$ac_header_preproc"
6065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6070 cat >>confdefs.h <<_ACEOF
6071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6072 _ACEOF
6074 else
6075 USE_NLS=no
6078 done
6080 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6081 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6082 if test "${ac_cv_search_gettext+set}" = set; then
6083 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 else
6085 ac_func_search_save_LIBS=$LIBS
6086 ac_cv_search_gettext=no
6087 if test x$gcc_no_link = xyes; then
6088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6090 { (exit 1); exit 1; }; }
6092 cat >conftest.$ac_ext <<_ACEOF
6093 /* confdefs.h. */
6094 _ACEOF
6095 cat confdefs.h >>conftest.$ac_ext
6096 cat >>conftest.$ac_ext <<_ACEOF
6097 /* end confdefs.h. */
6099 /* Override any gcc2 internal prototype to avoid an error. */
6100 #ifdef __cplusplus
6101 extern "C"
6102 #endif
6103 /* We use char because int might match the return type of a gcc2
6104 builtin and then its argument prototype would still apply. */
6105 char gettext ();
6107 main ()
6109 gettext ();
6111 return 0;
6113 _ACEOF
6114 rm -f conftest.$ac_objext conftest$ac_exeext
6115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6116 (eval $ac_link) 2>conftest.er1
6117 ac_status=$?
6118 grep -v '^ *+' conftest.er1 >conftest.err
6119 rm -f conftest.er1
6120 cat conftest.err >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); } &&
6123 { ac_try='test -z "$ac_c_werror_flag"
6124 || test ! -s conftest.err'
6125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6126 (eval $ac_try) 2>&5
6127 ac_status=$?
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); }; } &&
6130 { ac_try='test -s conftest$ac_exeext'
6131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6132 (eval $ac_try) 2>&5
6133 ac_status=$?
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); }; }; then
6136 ac_cv_search_gettext="none required"
6137 else
6138 echo "$as_me: failed program was:" >&5
6139 sed 's/^/| /' conftest.$ac_ext >&5
6142 rm -f conftest.err conftest.$ac_objext \
6143 conftest$ac_exeext conftest.$ac_ext
6144 if test "$ac_cv_search_gettext" = no; then
6145 for ac_lib in intl; do
6146 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6147 if test x$gcc_no_link = xyes; then
6148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6150 { (exit 1); exit 1; }; }
6152 cat >conftest.$ac_ext <<_ACEOF
6153 /* confdefs.h. */
6154 _ACEOF
6155 cat confdefs.h >>conftest.$ac_ext
6156 cat >>conftest.$ac_ext <<_ACEOF
6157 /* end confdefs.h. */
6159 /* Override any gcc2 internal prototype to avoid an error. */
6160 #ifdef __cplusplus
6161 extern "C"
6162 #endif
6163 /* We use char because int might match the return type of a gcc2
6164 builtin and then its argument prototype would still apply. */
6165 char gettext ();
6167 main ()
6169 gettext ();
6171 return 0;
6173 _ACEOF
6174 rm -f conftest.$ac_objext conftest$ac_exeext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6176 (eval $ac_link) 2>conftest.er1
6177 ac_status=$?
6178 grep -v '^ *+' conftest.er1 >conftest.err
6179 rm -f conftest.er1
6180 cat conftest.err >&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); } &&
6183 { ac_try='test -z "$ac_c_werror_flag"
6184 || test ! -s conftest.err'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6186 (eval $ac_try) 2>&5
6187 ac_status=$?
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; } &&
6190 { ac_try='test -s conftest$ac_exeext'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6192 (eval $ac_try) 2>&5
6193 ac_status=$?
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then
6196 ac_cv_search_gettext="-l$ac_lib"
6197 break
6198 else
6199 echo "$as_me: failed program was:" >&5
6200 sed 's/^/| /' conftest.$ac_ext >&5
6203 rm -f conftest.err conftest.$ac_objext \
6204 conftest$ac_exeext conftest.$ac_ext
6205 done
6207 LIBS=$ac_func_search_save_LIBS
6209 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6210 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6211 if test "$ac_cv_search_gettext" != no; then
6212 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6214 else
6215 USE_NLS=no
6219 if test $USE_NLS = yes; then
6220 cat >>confdefs.h <<\_ACEOF
6221 #define _GLIBCXX_USE_NLS 1
6222 _ACEOF
6242 echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6243 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6244 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6245 if test "${enable_libstdcxx_allocator+set}" = set; then
6246 enableval="$enable_libstdcxx_allocator"
6248 case "$enableval" in
6249 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6250 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6251 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6252 { (exit 1); exit 1; }; } ;;
6253 esac
6255 else
6256 enable_libstdcxx_allocator=auto
6260 # If they didn't use this option switch, or if they specified --enable
6261 # with no specific model, we'll have to look for one. If they
6262 # specified --disable (???), do likewise.
6263 if test $enable_libstdcxx_allocator = no ||
6264 test $enable_libstdcxx_allocator = yes;
6265 then
6266 enable_libstdcxx_allocator=auto
6269 # Either a known package, or "auto". Auto implies the default choice
6270 # for a particular platform.
6271 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6273 # Probe for host-specific support if no specific model is specified.
6274 # Default to "new".
6275 if test $enable_libstdcxx_allocator_flag = auto; then
6276 case ${target_os} in
6277 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6278 enable_libstdcxx_allocator_flag=mt
6281 enable_libstdcxx_allocator_flag=new
6283 esac
6285 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6286 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6289 # Set configure bits for specified locale package
6290 case ${enable_libstdcxx_allocator_flag} in
6291 bitmap)
6292 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6293 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6295 malloc)
6296 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6297 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6300 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6301 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6303 new)
6304 ALLOCATOR_H=config/allocator/new_allocator_base.h
6305 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6307 pool)
6308 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6309 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6311 esac
6317 # Check whether --enable-cheaders or --disable-cheaders was given.
6318 if test "${enable_cheaders+set}" = set; then
6319 enableval="$enable_cheaders"
6321 case "$enableval" in
6322 c|c_std) ;;
6323 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6324 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6325 { (exit 1); exit 1; }; } ;;
6326 esac
6328 else
6329 enable_cheaders=$c_model
6332 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6333 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6335 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6342 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6343 if test "${enable_c_mbchar+set}" = set; then
6344 enableval="$enable_c_mbchar"
6346 case "$enableval" in
6347 yes|no) ;;
6348 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6349 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6350 { (exit 1); exit 1; }; } ;;
6351 esac
6353 else
6354 enable_c_mbchar=yes
6357 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6361 # Check whether --enable-c99 or --disable-c99 was given.
6362 if test "${enable_c99+set}" = set; then
6363 enableval="$enable_c99"
6365 case "$enableval" in
6366 yes|no) ;;
6367 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6368 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6369 { (exit 1); exit 1; }; } ;;
6370 esac
6372 else
6373 enable_c99=yes
6379 ac_ext=cc
6380 ac_cpp='$CXXCPP $CPPFLAGS'
6381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6386 # Check for the existence of <math.h> functions used if C99 is enabled.
6387 ac_c99_math=yes;
6388 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6389 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6390 cat >conftest.$ac_ext <<_ACEOF
6391 /* confdefs.h. */
6392 _ACEOF
6393 cat confdefs.h >>conftest.$ac_ext
6394 cat >>conftest.$ac_ext <<_ACEOF
6395 /* end confdefs.h. */
6396 #include <math.h>
6398 main ()
6400 fpclassify(0.0);
6402 return 0;
6404 _ACEOF
6405 rm -f conftest.$ac_objext
6406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6407 (eval $ac_compile) 2>conftest.er1
6408 ac_status=$?
6409 grep -v '^ *+' conftest.er1 >conftest.err
6410 rm -f conftest.er1
6411 cat conftest.err >&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); } &&
6414 { ac_try='test -z "$ac_cxx_werror_flag"
6415 || test ! -s conftest.err'
6416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6417 (eval $ac_try) 2>&5
6418 ac_status=$?
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); }; } &&
6421 { ac_try='test -s conftest.$ac_objext'
6422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423 (eval $ac_try) 2>&5
6424 ac_status=$?
6425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426 (exit $ac_status); }; }; then
6428 else
6429 echo "$as_me: failed program was:" >&5
6430 sed 's/^/| /' conftest.$ac_ext >&5
6432 ac_c99_math=no
6434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6435 cat >conftest.$ac_ext <<_ACEOF
6436 /* confdefs.h. */
6437 _ACEOF
6438 cat confdefs.h >>conftest.$ac_ext
6439 cat >>conftest.$ac_ext <<_ACEOF
6440 /* end confdefs.h. */
6441 #include <math.h>
6443 main ()
6445 isfinite(0.0);
6447 return 0;
6449 _ACEOF
6450 rm -f conftest.$ac_objext
6451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6452 (eval $ac_compile) 2>conftest.er1
6453 ac_status=$?
6454 grep -v '^ *+' conftest.er1 >conftest.err
6455 rm -f conftest.er1
6456 cat conftest.err >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } &&
6459 { ac_try='test -z "$ac_cxx_werror_flag"
6460 || test ! -s conftest.err'
6461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 (eval $ac_try) 2>&5
6463 ac_status=$?
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); }; } &&
6466 { ac_try='test -s conftest.$ac_objext'
6467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 (eval $ac_try) 2>&5
6469 ac_status=$?
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); }; }; then
6473 else
6474 echo "$as_me: failed program was:" >&5
6475 sed 's/^/| /' conftest.$ac_ext >&5
6477 ac_c99_math=no
6479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6480 cat >conftest.$ac_ext <<_ACEOF
6481 /* confdefs.h. */
6482 _ACEOF
6483 cat confdefs.h >>conftest.$ac_ext
6484 cat >>conftest.$ac_ext <<_ACEOF
6485 /* end confdefs.h. */
6486 #include <math.h>
6488 main ()
6490 isinf(0.0);
6492 return 0;
6494 _ACEOF
6495 rm -f conftest.$ac_objext
6496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6497 (eval $ac_compile) 2>conftest.er1
6498 ac_status=$?
6499 grep -v '^ *+' conftest.er1 >conftest.err
6500 rm -f conftest.er1
6501 cat conftest.err >&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); } &&
6504 { ac_try='test -z "$ac_cxx_werror_flag"
6505 || test ! -s conftest.err'
6506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6507 (eval $ac_try) 2>&5
6508 ac_status=$?
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); }; } &&
6511 { ac_try='test -s conftest.$ac_objext'
6512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 (eval $ac_try) 2>&5
6514 ac_status=$?
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); }; }; then
6518 else
6519 echo "$as_me: failed program was:" >&5
6520 sed 's/^/| /' conftest.$ac_ext >&5
6522 ac_c99_math=no
6524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6525 cat >conftest.$ac_ext <<_ACEOF
6526 /* confdefs.h. */
6527 _ACEOF
6528 cat confdefs.h >>conftest.$ac_ext
6529 cat >>conftest.$ac_ext <<_ACEOF
6530 /* end confdefs.h. */
6531 #include <math.h>
6533 main ()
6535 isnan(0.0);
6537 return 0;
6539 _ACEOF
6540 rm -f conftest.$ac_objext
6541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6542 (eval $ac_compile) 2>conftest.er1
6543 ac_status=$?
6544 grep -v '^ *+' conftest.er1 >conftest.err
6545 rm -f conftest.er1
6546 cat conftest.err >&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); } &&
6549 { ac_try='test -z "$ac_cxx_werror_flag"
6550 || test ! -s conftest.err'
6551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 (eval $ac_try) 2>&5
6553 ac_status=$?
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); }; } &&
6556 { ac_try='test -s conftest.$ac_objext'
6557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6558 (eval $ac_try) 2>&5
6559 ac_status=$?
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); }; }; then
6563 else
6564 echo "$as_me: failed program was:" >&5
6565 sed 's/^/| /' conftest.$ac_ext >&5
6567 ac_c99_math=no
6569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6570 cat >conftest.$ac_ext <<_ACEOF
6571 /* confdefs.h. */
6572 _ACEOF
6573 cat confdefs.h >>conftest.$ac_ext
6574 cat >>conftest.$ac_ext <<_ACEOF
6575 /* end confdefs.h. */
6576 #include <math.h>
6578 main ()
6580 isnormal(0.0);
6582 return 0;
6584 _ACEOF
6585 rm -f conftest.$ac_objext
6586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6587 (eval $ac_compile) 2>conftest.er1
6588 ac_status=$?
6589 grep -v '^ *+' conftest.er1 >conftest.err
6590 rm -f conftest.er1
6591 cat conftest.err >&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); } &&
6594 { ac_try='test -z "$ac_cxx_werror_flag"
6595 || test ! -s conftest.err'
6596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6597 (eval $ac_try) 2>&5
6598 ac_status=$?
6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600 (exit $ac_status); }; } &&
6601 { ac_try='test -s conftest.$ac_objext'
6602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603 (eval $ac_try) 2>&5
6604 ac_status=$?
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }; }; then
6608 else
6609 echo "$as_me: failed program was:" >&5
6610 sed 's/^/| /' conftest.$ac_ext >&5
6612 ac_c99_math=no
6614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6615 cat >conftest.$ac_ext <<_ACEOF
6616 /* confdefs.h. */
6617 _ACEOF
6618 cat confdefs.h >>conftest.$ac_ext
6619 cat >>conftest.$ac_ext <<_ACEOF
6620 /* end confdefs.h. */
6621 #include <math.h>
6623 main ()
6625 signbit(0.0);
6627 return 0;
6629 _ACEOF
6630 rm -f conftest.$ac_objext
6631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>conftest.er1
6633 ac_status=$?
6634 grep -v '^ *+' conftest.er1 >conftest.err
6635 rm -f conftest.er1
6636 cat conftest.err >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } &&
6639 { ac_try='test -z "$ac_cxx_werror_flag"
6640 || test ! -s conftest.err'
6641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 (eval $ac_try) 2>&5
6643 ac_status=$?
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); }; } &&
6646 { ac_try='test -s conftest.$ac_objext'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 (eval $ac_try) 2>&5
6649 ac_status=$?
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; }; then
6653 else
6654 echo "$as_me: failed program was:" >&5
6655 sed 's/^/| /' conftest.$ac_ext >&5
6657 ac_c99_math=no
6659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6660 cat >conftest.$ac_ext <<_ACEOF
6661 /* confdefs.h. */
6662 _ACEOF
6663 cat confdefs.h >>conftest.$ac_ext
6664 cat >>conftest.$ac_ext <<_ACEOF
6665 /* end confdefs.h. */
6666 #include <math.h>
6668 main ()
6670 isgreater(0.0,0.0);
6672 return 0;
6674 _ACEOF
6675 rm -f conftest.$ac_objext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6677 (eval $ac_compile) 2>conftest.er1
6678 ac_status=$?
6679 grep -v '^ *+' conftest.er1 >conftest.err
6680 rm -f conftest.er1
6681 cat conftest.err >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } &&
6684 { ac_try='test -z "$ac_cxx_werror_flag"
6685 || test ! -s conftest.err'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6687 (eval $ac_try) 2>&5
6688 ac_status=$?
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; } &&
6691 { ac_try='test -s conftest.$ac_objext'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 (eval $ac_try) 2>&5
6694 ac_status=$?
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; }; then
6698 else
6699 echo "$as_me: failed program was:" >&5
6700 sed 's/^/| /' conftest.$ac_ext >&5
6702 ac_c99_math=no
6704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6705 cat >conftest.$ac_ext <<_ACEOF
6706 /* confdefs.h. */
6707 _ACEOF
6708 cat confdefs.h >>conftest.$ac_ext
6709 cat >>conftest.$ac_ext <<_ACEOF
6710 /* end confdefs.h. */
6711 #include <math.h>
6713 main ()
6715 isgreaterequal(0.0,0.0);
6717 return 0;
6719 _ACEOF
6720 rm -f conftest.$ac_objext
6721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6722 (eval $ac_compile) 2>conftest.er1
6723 ac_status=$?
6724 grep -v '^ *+' conftest.er1 >conftest.err
6725 rm -f conftest.er1
6726 cat conftest.err >&5
6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 (exit $ac_status); } &&
6729 { ac_try='test -z "$ac_cxx_werror_flag"
6730 || test ! -s conftest.err'
6731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6732 (eval $ac_try) 2>&5
6733 ac_status=$?
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); }; } &&
6736 { ac_try='test -s conftest.$ac_objext'
6737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6738 (eval $ac_try) 2>&5
6739 ac_status=$?
6740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); }; }; then
6743 else
6744 echo "$as_me: failed program was:" >&5
6745 sed 's/^/| /' conftest.$ac_ext >&5
6747 ac_c99_math=no
6749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6750 cat >conftest.$ac_ext <<_ACEOF
6751 /* confdefs.h. */
6752 _ACEOF
6753 cat confdefs.h >>conftest.$ac_ext
6754 cat >>conftest.$ac_ext <<_ACEOF
6755 /* end confdefs.h. */
6756 #include <math.h>
6758 main ()
6760 isless(0.0,0.0);
6762 return 0;
6764 _ACEOF
6765 rm -f conftest.$ac_objext
6766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6767 (eval $ac_compile) 2>conftest.er1
6768 ac_status=$?
6769 grep -v '^ *+' conftest.er1 >conftest.err
6770 rm -f conftest.er1
6771 cat conftest.err >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); } &&
6774 { ac_try='test -z "$ac_cxx_werror_flag"
6775 || test ! -s conftest.err'
6776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6777 (eval $ac_try) 2>&5
6778 ac_status=$?
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); }; } &&
6781 { ac_try='test -s conftest.$ac_objext'
6782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 (eval $ac_try) 2>&5
6784 ac_status=$?
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); }; }; then
6788 else
6789 echo "$as_me: failed program was:" >&5
6790 sed 's/^/| /' conftest.$ac_ext >&5
6792 ac_c99_math=no
6794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6795 cat >conftest.$ac_ext <<_ACEOF
6796 /* confdefs.h. */
6797 _ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6801 #include <math.h>
6803 main ()
6805 islessequal(0.0,0.0);
6807 return 0;
6809 _ACEOF
6810 rm -f conftest.$ac_objext
6811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6812 (eval $ac_compile) 2>conftest.er1
6813 ac_status=$?
6814 grep -v '^ *+' conftest.er1 >conftest.err
6815 rm -f conftest.er1
6816 cat conftest.err >&5
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); } &&
6819 { ac_try='test -z "$ac_cxx_werror_flag"
6820 || test ! -s conftest.err'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6822 (eval $ac_try) 2>&5
6823 ac_status=$?
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; } &&
6826 { ac_try='test -s conftest.$ac_objext'
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828 (eval $ac_try) 2>&5
6829 ac_status=$?
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; }; then
6833 else
6834 echo "$as_me: failed program was:" >&5
6835 sed 's/^/| /' conftest.$ac_ext >&5
6837 ac_c99_math=no
6839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6840 cat >conftest.$ac_ext <<_ACEOF
6841 /* confdefs.h. */
6842 _ACEOF
6843 cat confdefs.h >>conftest.$ac_ext
6844 cat >>conftest.$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6846 #include <math.h>
6848 main ()
6850 islessgreater(0.0,0.0);
6852 return 0;
6854 _ACEOF
6855 rm -f conftest.$ac_objext
6856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6857 (eval $ac_compile) 2>conftest.er1
6858 ac_status=$?
6859 grep -v '^ *+' conftest.er1 >conftest.err
6860 rm -f conftest.er1
6861 cat conftest.err >&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); } &&
6864 { ac_try='test -z "$ac_cxx_werror_flag"
6865 || test ! -s conftest.err'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6867 (eval $ac_try) 2>&5
6868 ac_status=$?
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; } &&
6871 { ac_try='test -s conftest.$ac_objext'
6872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6873 (eval $ac_try) 2>&5
6874 ac_status=$?
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); }; }; then
6878 else
6879 echo "$as_me: failed program was:" >&5
6880 sed 's/^/| /' conftest.$ac_ext >&5
6882 ac_c99_math=no
6884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6885 cat >conftest.$ac_ext <<_ACEOF
6886 /* confdefs.h. */
6887 _ACEOF
6888 cat confdefs.h >>conftest.$ac_ext
6889 cat >>conftest.$ac_ext <<_ACEOF
6890 /* end confdefs.h. */
6891 #include <math.h>
6893 main ()
6895 isunordered(0.0,0.0);
6897 return 0;
6899 _ACEOF
6900 rm -f conftest.$ac_objext
6901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6902 (eval $ac_compile) 2>conftest.er1
6903 ac_status=$?
6904 grep -v '^ *+' conftest.er1 >conftest.err
6905 rm -f conftest.er1
6906 cat conftest.err >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); } &&
6909 { ac_try='test -z "$ac_cxx_werror_flag"
6910 || test ! -s conftest.err'
6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 (eval $ac_try) 2>&5
6913 ac_status=$?
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); }; } &&
6916 { ac_try='test -s conftest.$ac_objext'
6917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918 (eval $ac_try) 2>&5
6919 ac_status=$?
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 (exit $ac_status); }; }; then
6923 else
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.$ac_ext >&5
6927 ac_c99_math=no
6929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6930 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6931 echo "${ECHO_T}$ac_c99_math" >&6
6933 if test x"$ac_c99_math" = x"yes"; then
6934 cat >>confdefs.h <<\_ACEOF
6935 #define _GLIBCXX_USE_C99_MATH 1
6936 _ACEOF
6940 # Check for the existence in <stdio.h> of vscanf, et. al.
6941 ac_c99_stdio=yes;
6942 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6943 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6944 cat >conftest.$ac_ext <<_ACEOF
6945 /* confdefs.h. */
6946 _ACEOF
6947 cat confdefs.h >>conftest.$ac_ext
6948 cat >>conftest.$ac_ext <<_ACEOF
6949 /* end confdefs.h. */
6950 #include <stdio.h>
6952 main ()
6954 snprintf("12", 0, "%i");
6956 return 0;
6958 _ACEOF
6959 rm -f conftest.$ac_objext
6960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6961 (eval $ac_compile) 2>conftest.er1
6962 ac_status=$?
6963 grep -v '^ *+' conftest.er1 >conftest.err
6964 rm -f conftest.er1
6965 cat conftest.err >&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); } &&
6968 { ac_try='test -z "$ac_cxx_werror_flag"
6969 || test ! -s conftest.err'
6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6971 (eval $ac_try) 2>&5
6972 ac_status=$?
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; } &&
6975 { ac_try='test -s conftest.$ac_objext'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6977 (eval $ac_try) 2>&5
6978 ac_status=$?
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; }; then
6982 else
6983 echo "$as_me: failed program was:" >&5
6984 sed 's/^/| /' conftest.$ac_ext >&5
6986 ac_c99_stdio=no
6988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6989 cat >conftest.$ac_ext <<_ACEOF
6990 /* confdefs.h. */
6991 _ACEOF
6992 cat confdefs.h >>conftest.$ac_ext
6993 cat >>conftest.$ac_ext <<_ACEOF
6994 /* end confdefs.h. */
6995 #include <stdio.h>
6996 #include <stdarg.h>
6997 void foo(char* fmt, ...)
6998 {va_list args; va_start(args, fmt);
6999 vfscanf(stderr, "%i", args);}
7001 main ()
7005 return 0;
7007 _ACEOF
7008 rm -f conftest.$ac_objext
7009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7010 (eval $ac_compile) 2>conftest.er1
7011 ac_status=$?
7012 grep -v '^ *+' conftest.er1 >conftest.err
7013 rm -f conftest.er1
7014 cat conftest.err >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); } &&
7017 { ac_try='test -z "$ac_cxx_werror_flag"
7018 || test ! -s conftest.err'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 (eval $ac_try) 2>&5
7021 ac_status=$?
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; } &&
7024 { ac_try='test -s conftest.$ac_objext'
7025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7026 (eval $ac_try) 2>&5
7027 ac_status=$?
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); }; }; then
7031 else
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.$ac_ext >&5
7035 ac_c99_stdio=no
7037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7038 cat >conftest.$ac_ext <<_ACEOF
7039 /* confdefs.h. */
7040 _ACEOF
7041 cat confdefs.h >>conftest.$ac_ext
7042 cat >>conftest.$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7044 #include <stdio.h>
7045 #include <stdarg.h>
7046 void foo(char* fmt, ...)
7047 {va_list args; va_start(args, fmt);
7048 vscanf("%i", args);}
7050 main ()
7054 return 0;
7056 _ACEOF
7057 rm -f conftest.$ac_objext
7058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7059 (eval $ac_compile) 2>conftest.er1
7060 ac_status=$?
7061 grep -v '^ *+' conftest.er1 >conftest.err
7062 rm -f conftest.er1
7063 cat conftest.err >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); } &&
7066 { ac_try='test -z "$ac_cxx_werror_flag"
7067 || test ! -s conftest.err'
7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7069 (eval $ac_try) 2>&5
7070 ac_status=$?
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; } &&
7073 { ac_try='test -s conftest.$ac_objext'
7074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7075 (eval $ac_try) 2>&5
7076 ac_status=$?
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }; }; then
7080 else
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7084 ac_c99_stdio=no
7086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7087 cat >conftest.$ac_ext <<_ACEOF
7088 /* confdefs.h. */
7089 _ACEOF
7090 cat confdefs.h >>conftest.$ac_ext
7091 cat >>conftest.$ac_ext <<_ACEOF
7092 /* end confdefs.h. */
7093 #include <stdio.h>
7094 #include <stdarg.h>
7095 void foo(char* fmt, ...)
7096 {va_list args; va_start(args, fmt);
7097 vsnprintf(fmt, 0, "%i", args);}
7099 main ()
7103 return 0;
7105 _ACEOF
7106 rm -f conftest.$ac_objext
7107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7108 (eval $ac_compile) 2>conftest.er1
7109 ac_status=$?
7110 grep -v '^ *+' conftest.er1 >conftest.err
7111 rm -f conftest.er1
7112 cat conftest.err >&5
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); } &&
7115 { ac_try='test -z "$ac_cxx_werror_flag"
7116 || test ! -s conftest.err'
7117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118 (eval $ac_try) 2>&5
7119 ac_status=$?
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); }; } &&
7122 { ac_try='test -s conftest.$ac_objext'
7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7124 (eval $ac_try) 2>&5
7125 ac_status=$?
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); }; }; then
7129 else
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.$ac_ext >&5
7133 ac_c99_stdio=no
7135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7136 cat >conftest.$ac_ext <<_ACEOF
7137 /* confdefs.h. */
7138 _ACEOF
7139 cat confdefs.h >>conftest.$ac_ext
7140 cat >>conftest.$ac_ext <<_ACEOF
7141 /* end confdefs.h. */
7142 #include <stdio.h>
7143 #include <stdarg.h>
7144 void foo(char* fmt, ...)
7145 {va_list args; va_start(args, fmt);
7146 vsscanf(fmt, "%i", args);}
7148 main ()
7152 return 0;
7154 _ACEOF
7155 rm -f conftest.$ac_objext
7156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7157 (eval $ac_compile) 2>conftest.er1
7158 ac_status=$?
7159 grep -v '^ *+' conftest.er1 >conftest.err
7160 rm -f conftest.er1
7161 cat conftest.err >&5
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); } &&
7164 { ac_try='test -z "$ac_cxx_werror_flag"
7165 || test ! -s conftest.err'
7166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7167 (eval $ac_try) 2>&5
7168 ac_status=$?
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); }; } &&
7171 { ac_try='test -s conftest.$ac_objext'
7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7173 (eval $ac_try) 2>&5
7174 ac_status=$?
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }; }; then
7178 else
7179 echo "$as_me: failed program was:" >&5
7180 sed 's/^/| /' conftest.$ac_ext >&5
7182 ac_c99_stdio=no
7184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7185 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7186 echo "${ECHO_T}$ac_c99_stdio" >&6
7188 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7189 ac_c99_stdlib=yes;
7190 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7191 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7192 if test "${ac_c99_lldiv_t+set}" = set; then
7193 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 else
7196 cat >conftest.$ac_ext <<_ACEOF
7197 /* confdefs.h. */
7198 _ACEOF
7199 cat confdefs.h >>conftest.$ac_ext
7200 cat >>conftest.$ac_ext <<_ACEOF
7201 /* end confdefs.h. */
7202 #include <stdlib.h>
7204 main ()
7206 lldiv_t mydivt;
7208 return 0;
7210 _ACEOF
7211 rm -f conftest.$ac_objext
7212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7213 (eval $ac_compile) 2>conftest.er1
7214 ac_status=$?
7215 grep -v '^ *+' conftest.er1 >conftest.err
7216 rm -f conftest.er1
7217 cat conftest.err >&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); } &&
7220 { ac_try='test -z "$ac_cxx_werror_flag"
7221 || test ! -s conftest.err'
7222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7223 (eval $ac_try) 2>&5
7224 ac_status=$?
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); }; } &&
7227 { ac_try='test -s conftest.$ac_objext'
7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 (eval $ac_try) 2>&5
7230 ac_status=$?
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }; }; then
7233 ac_c99_lldiv_t=yes
7234 else
7235 echo "$as_me: failed program was:" >&5
7236 sed 's/^/| /' conftest.$ac_ext >&5
7238 ac_c99_lldiv_t=no
7240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7244 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7245 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7247 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7248 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7249 cat >conftest.$ac_ext <<_ACEOF
7250 /* confdefs.h. */
7251 _ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 #include <stdlib.h>
7257 main ()
7259 char* tmp; strtof("gnu", &tmp);
7261 return 0;
7263 _ACEOF
7264 rm -f conftest.$ac_objext
7265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7266 (eval $ac_compile) 2>conftest.er1
7267 ac_status=$?
7268 grep -v '^ *+' conftest.er1 >conftest.err
7269 rm -f conftest.er1
7270 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } &&
7273 { ac_try='test -z "$ac_cxx_werror_flag"
7274 || test ! -s conftest.err'
7275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7276 (eval $ac_try) 2>&5
7277 ac_status=$?
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); }; } &&
7280 { ac_try='test -s conftest.$ac_objext'
7281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7282 (eval $ac_try) 2>&5
7283 ac_status=$?
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); }; }; then
7287 else
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7291 ac_c99_stdlib=no
7293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7294 cat >conftest.$ac_ext <<_ACEOF
7295 /* confdefs.h. */
7296 _ACEOF
7297 cat confdefs.h >>conftest.$ac_ext
7298 cat >>conftest.$ac_ext <<_ACEOF
7299 /* end confdefs.h. */
7300 #include <stdlib.h>
7302 main ()
7304 char* tmp; strtold("gnu", &tmp);
7306 return 0;
7308 _ACEOF
7309 rm -f conftest.$ac_objext
7310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7311 (eval $ac_compile) 2>conftest.er1
7312 ac_status=$?
7313 grep -v '^ *+' conftest.er1 >conftest.err
7314 rm -f conftest.er1
7315 cat conftest.err >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); } &&
7318 { ac_try='test -z "$ac_cxx_werror_flag"
7319 || test ! -s conftest.err'
7320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7321 (eval $ac_try) 2>&5
7322 ac_status=$?
7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); }; } &&
7325 { ac_try='test -s conftest.$ac_objext'
7326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7327 (eval $ac_try) 2>&5
7328 ac_status=$?
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); }; }; then
7332 else
7333 echo "$as_me: failed program was:" >&5
7334 sed 's/^/| /' conftest.$ac_ext >&5
7336 ac_c99_stdlib=no
7338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7339 cat >conftest.$ac_ext <<_ACEOF
7340 /* confdefs.h. */
7341 _ACEOF
7342 cat confdefs.h >>conftest.$ac_ext
7343 cat >>conftest.$ac_ext <<_ACEOF
7344 /* end confdefs.h. */
7345 #include <stdlib.h>
7347 main ()
7349 llabs(10);
7351 return 0;
7353 _ACEOF
7354 rm -f conftest.$ac_objext
7355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7356 (eval $ac_compile) 2>conftest.er1
7357 ac_status=$?
7358 grep -v '^ *+' conftest.er1 >conftest.err
7359 rm -f conftest.er1
7360 cat conftest.err >&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } &&
7363 { ac_try='test -z "$ac_cxx_werror_flag"
7364 || test ! -s conftest.err'
7365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7366 (eval $ac_try) 2>&5
7367 ac_status=$?
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); }; } &&
7370 { ac_try='test -s conftest.$ac_objext'
7371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7372 (eval $ac_try) 2>&5
7373 ac_status=$?
7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); }; }; then
7377 else
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.$ac_ext >&5
7381 ac_c99_stdlib=no
7383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7384 cat >conftest.$ac_ext <<_ACEOF
7385 /* confdefs.h. */
7386 _ACEOF
7387 cat confdefs.h >>conftest.$ac_ext
7388 cat >>conftest.$ac_ext <<_ACEOF
7389 /* end confdefs.h. */
7390 #include <stdlib.h>
7392 main ()
7394 lldiv(10,1);
7396 return 0;
7398 _ACEOF
7399 rm -f conftest.$ac_objext
7400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7401 (eval $ac_compile) 2>conftest.er1
7402 ac_status=$?
7403 grep -v '^ *+' conftest.er1 >conftest.err
7404 rm -f conftest.er1
7405 cat conftest.err >&5
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); } &&
7408 { ac_try='test -z "$ac_cxx_werror_flag"
7409 || test ! -s conftest.err'
7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 (eval $ac_try) 2>&5
7412 ac_status=$?
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); }; } &&
7415 { ac_try='test -s conftest.$ac_objext'
7416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417 (eval $ac_try) 2>&5
7418 ac_status=$?
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); }; }; then
7422 else
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7426 ac_c99_stdlib=no
7428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7429 cat >conftest.$ac_ext <<_ACEOF
7430 /* confdefs.h. */
7431 _ACEOF
7432 cat confdefs.h >>conftest.$ac_ext
7433 cat >>conftest.$ac_ext <<_ACEOF
7434 /* end confdefs.h. */
7435 #include <stdlib.h>
7437 main ()
7439 atoll("10");
7441 return 0;
7443 _ACEOF
7444 rm -f conftest.$ac_objext
7445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7446 (eval $ac_compile) 2>conftest.er1
7447 ac_status=$?
7448 grep -v '^ *+' conftest.er1 >conftest.err
7449 rm -f conftest.er1
7450 cat conftest.err >&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); } &&
7453 { ac_try='test -z "$ac_cxx_werror_flag"
7454 || test ! -s conftest.err'
7455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456 (eval $ac_try) 2>&5
7457 ac_status=$?
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); }; } &&
7460 { ac_try='test -s conftest.$ac_objext'
7461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462 (eval $ac_try) 2>&5
7463 ac_status=$?
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); }; }; then
7467 else
7468 echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.$ac_ext >&5
7471 ac_c99_stdlib=no
7473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7474 cat >conftest.$ac_ext <<_ACEOF
7475 /* confdefs.h. */
7476 _ACEOF
7477 cat confdefs.h >>conftest.$ac_ext
7478 cat >>conftest.$ac_ext <<_ACEOF
7479 /* end confdefs.h. */
7480 #include <stdlib.h>
7482 main ()
7484 _Exit(0);
7486 return 0;
7488 _ACEOF
7489 rm -f conftest.$ac_objext
7490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7491 (eval $ac_compile) 2>conftest.er1
7492 ac_status=$?
7493 grep -v '^ *+' conftest.er1 >conftest.err
7494 rm -f conftest.er1
7495 cat conftest.err >&5
7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497 (exit $ac_status); } &&
7498 { ac_try='test -z "$ac_cxx_werror_flag"
7499 || test ! -s conftest.err'
7500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7501 (eval $ac_try) 2>&5
7502 ac_status=$?
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); }; } &&
7505 { ac_try='test -s conftest.$ac_objext'
7506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507 (eval $ac_try) 2>&5
7508 ac_status=$?
7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); }; }; then
7512 else
7513 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7516 ac_c99_stdlib=no
7518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7519 if test x"$ac_c99_lldiv_t" = x"no"; then
7520 ac_c99_stdlib=no;
7522 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7523 echo "${ECHO_T}$ac_c99_stdlib" >&6
7525 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7526 # XXX the wchar.h checks should be rolled into the general C99 bits.
7527 ac_c99_wchar=yes;
7528 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7529 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7530 cat >conftest.$ac_ext <<_ACEOF
7531 /* confdefs.h. */
7532 _ACEOF
7533 cat confdefs.h >>conftest.$ac_ext
7534 cat >>conftest.$ac_ext <<_ACEOF
7535 /* end confdefs.h. */
7536 #include <wchar.h>
7538 main ()
7540 wcstold(L"10.0", NULL);
7542 return 0;
7544 _ACEOF
7545 rm -f conftest.$ac_objext
7546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7547 (eval $ac_compile) 2>conftest.er1
7548 ac_status=$?
7549 grep -v '^ *+' conftest.er1 >conftest.err
7550 rm -f conftest.er1
7551 cat conftest.err >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } &&
7554 { ac_try='test -z "$ac_cxx_werror_flag"
7555 || test ! -s conftest.err'
7556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7557 (eval $ac_try) 2>&5
7558 ac_status=$?
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); }; } &&
7561 { ac_try='test -s conftest.$ac_objext'
7562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563 (eval $ac_try) 2>&5
7564 ac_status=$?
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); }; }; then
7568 else
7569 echo "$as_me: failed program was:" >&5
7570 sed 's/^/| /' conftest.$ac_ext >&5
7572 ac_c99_wchar=no
7574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7575 cat >conftest.$ac_ext <<_ACEOF
7576 /* confdefs.h. */
7577 _ACEOF
7578 cat confdefs.h >>conftest.$ac_ext
7579 cat >>conftest.$ac_ext <<_ACEOF
7580 /* end confdefs.h. */
7581 #include <wchar.h>
7583 main ()
7585 wcstoll(L"10", NULL, 10);
7587 return 0;
7589 _ACEOF
7590 rm -f conftest.$ac_objext
7591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7592 (eval $ac_compile) 2>conftest.er1
7593 ac_status=$?
7594 grep -v '^ *+' conftest.er1 >conftest.err
7595 rm -f conftest.er1
7596 cat conftest.err >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } &&
7599 { ac_try='test -z "$ac_cxx_werror_flag"
7600 || test ! -s conftest.err'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 (eval $ac_try) 2>&5
7603 ac_status=$?
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; } &&
7606 { ac_try='test -s conftest.$ac_objext'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 (eval $ac_try) 2>&5
7609 ac_status=$?
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; }; then
7613 else
7614 echo "$as_me: failed program was:" >&5
7615 sed 's/^/| /' conftest.$ac_ext >&5
7617 ac_c99_wchar=no
7619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7620 cat >conftest.$ac_ext <<_ACEOF
7621 /* confdefs.h. */
7622 _ACEOF
7623 cat confdefs.h >>conftest.$ac_ext
7624 cat >>conftest.$ac_ext <<_ACEOF
7625 /* end confdefs.h. */
7626 #include <wchar.h>
7628 main ()
7630 wcstoull(L"10", NULL, 10);
7632 return 0;
7634 _ACEOF
7635 rm -f conftest.$ac_objext
7636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7637 (eval $ac_compile) 2>conftest.er1
7638 ac_status=$?
7639 grep -v '^ *+' conftest.er1 >conftest.err
7640 rm -f conftest.er1
7641 cat conftest.err >&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } &&
7644 { ac_try='test -z "$ac_cxx_werror_flag"
7645 || test ! -s conftest.err'
7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7647 (eval $ac_try) 2>&5
7648 ac_status=$?
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }; } &&
7651 { ac_try='test -s conftest.$ac_objext'
7652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7653 (eval $ac_try) 2>&5
7654 ac_status=$?
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); }; }; then
7658 else
7659 echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5
7662 ac_c99_wchar=no
7664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7665 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7666 echo "${ECHO_T}$ac_c99_wchar" >&6
7668 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7669 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7670 if test x"$ac_c99_math" = x"no" ||
7671 test x"$ac_c99_stdio" = x"no" ||
7672 test x"$ac_c99_stdlib" = x"no" ||
7673 test x"$ac_c99_wchar" = x"no"; then
7674 enable_c99=no;
7676 echo "$as_me:$LINENO: result: $enable_c99" >&5
7677 echo "${ECHO_T}$enable_c99" >&6
7679 if test x"$ac_99_math" = x"yes"; then
7680 cat >>confdefs.h <<\_ACEOF
7681 #define _GLIBCXX_USE_C99_MATH 1
7682 _ACEOF
7686 # Option parsed, now set things appropriately
7687 if test x"$enable_c99" = x"yes"; then
7688 cat >>confdefs.h <<\_ACEOF
7689 #define _GLIBCXX_USE_C99 1
7690 _ACEOF
7694 ac_ext=c
7695 ac_cpp='$CPP $CPPFLAGS'
7696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7702 # Check whether --enable-long-long or --disable-long-long was given.
7703 if test "${enable_long_long+set}" = set; then
7704 enableval="$enable_long_long"
7706 case "$enableval" in
7707 yes|no) ;;
7708 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7709 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7710 { (exit 1); exit 1; }; } ;;
7711 esac
7713 else
7714 enable_long_long=yes
7717 if test $enable_long_long = yes; then
7718 cat >>confdefs.h <<\_ACEOF
7719 #define _GLIBCXX_USE_LONG_LONG 1
7720 _ACEOF
7725 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7726 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7727 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7728 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7729 echo "${ECHO_T}$target_thread_file" >&6
7731 enable_thread=no
7732 if test $target_thread_file != single; then
7733 cat >>confdefs.h <<\_ACEOF
7734 #define HAVE_GTHR_DEFAULT 1
7735 _ACEOF
7737 enable_thread=yes
7740 glibcxx_thread_h=gthr-$target_thread_file.h
7744 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7745 if test "${enable_concept_checks+set}" = set; then
7746 enableval="$enable_concept_checks"
7748 case "$enableval" in
7749 yes|no) ;;
7750 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7751 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7752 { (exit 1); exit 1; }; } ;;
7753 esac
7755 else
7756 enable_concept_checks=no
7759 if test $enable_concept_checks = yes; then
7760 cat >>confdefs.h <<\_ACEOF
7761 #define _GLIBCXX_CONCEPT_CHECKS 1
7762 _ACEOF
7767 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7768 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7769 enableval="$enable_libstdcxx_debug_flags"
7770 case "x$enable_libstdcxx_debug_flags" in
7771 xno | x) enable_libstdcxx_debug_flags= ;;
7772 x-*) ;;
7773 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7774 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7775 { (exit 1); exit 1; }; } ;;
7776 esac
7777 else
7778 enable_libstdcxx_debug_flags="-g3 -O0"
7782 # Option parsed, now set things appropriately
7783 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7786 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7787 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7790 echo "$as_me:$LINENO: checking for additional debug build" >&5
7791 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7792 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7793 if test "${enable_libstdcxx_debug+set}" = set; then
7794 enableval="$enable_libstdcxx_debug"
7796 case "$enableval" in
7797 yes|no) ;;
7798 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7799 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7800 { (exit 1); exit 1; }; } ;;
7801 esac
7803 else
7804 enable_libstdcxx_debug=no
7807 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7808 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7811 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7812 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7813 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7814 if test "${enable_cxx_flags+set}" = set; then
7815 enableval="$enable_cxx_flags"
7816 case "x$enable_cxx_flags" in
7817 xno | x) enable_cxx_flags= ;;
7818 x-*) ;;
7819 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7820 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7821 { (exit 1); exit 1; }; } ;;
7822 esac
7823 else
7824 enable_cxx_flags=
7828 # Run through flags (either default or command-line) and set anything
7829 # extra (e.g., #defines) that must accompany particular g++ options.
7830 if test -n "$enable_cxx_flags"; then
7831 for f in $enable_cxx_flags; do
7832 case "$f" in
7833 -fhonor-std) ;;
7834 -*) ;;
7835 *) # and we're trying to pass /what/ exactly?
7836 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7837 echo "$as_me: error: compiler flags start with a -" >&2;}
7838 { (exit 1); exit 1; }; } ;;
7839 esac
7840 done
7843 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7844 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7845 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7849 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7850 if test "${enable_fully_dynamic_string+set}" = set; then
7851 enableval="$enable_fully_dynamic_string"
7853 case "$enableval" in
7854 yes|no) ;;
7855 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7856 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7857 { (exit 1); exit 1; }; } ;;
7858 esac
7860 else
7861 enable_fully_dynamic_string=no
7864 if test $enable_fully_dynamic_string = yes; then
7865 cat >>confdefs.h <<\_ACEOF
7866 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7867 _ACEOF
7872 # No surprises, no surprises...
7873 if test $atomicity_dir = cpu/generic ; then
7874 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7875 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7876 if test $target_thread_file = single; then
7877 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7878 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7879 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7880 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7881 else
7882 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7883 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7884 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7885 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7890 if $GLIBCXX_IS_NATIVE; then
7892 # We can do more elaborate tests that assume a working linker.
7893 CANADIAN=no
7895 # Check for available headers.
7909 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7910 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7911 sys/types.h
7913 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7915 echo "$as_me:$LINENO: checking for $ac_header" >&5
7916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7918 echo $ECHO_N "(cached) $ECHO_C" >&6
7920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7922 else
7923 # Is the header compilable?
7924 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7926 cat >conftest.$ac_ext <<_ACEOF
7927 /* confdefs.h. */
7928 _ACEOF
7929 cat confdefs.h >>conftest.$ac_ext
7930 cat >>conftest.$ac_ext <<_ACEOF
7931 /* end confdefs.h. */
7932 $ac_includes_default
7933 #include <$ac_header>
7934 _ACEOF
7935 rm -f conftest.$ac_objext
7936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7937 (eval $ac_compile) 2>conftest.er1
7938 ac_status=$?
7939 grep -v '^ *+' conftest.er1 >conftest.err
7940 rm -f conftest.er1
7941 cat conftest.err >&5
7942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943 (exit $ac_status); } &&
7944 { ac_try='test -z "$ac_c_werror_flag"
7945 || test ! -s conftest.err'
7946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7947 (eval $ac_try) 2>&5
7948 ac_status=$?
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); }; } &&
7951 { ac_try='test -s conftest.$ac_objext'
7952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7953 (eval $ac_try) 2>&5
7954 ac_status=$?
7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); }; }; then
7957 ac_header_compiler=yes
7958 else
7959 echo "$as_me: failed program was:" >&5
7960 sed 's/^/| /' conftest.$ac_ext >&5
7962 ac_header_compiler=no
7964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7966 echo "${ECHO_T}$ac_header_compiler" >&6
7968 # Is the header present?
7969 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7970 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7971 cat >conftest.$ac_ext <<_ACEOF
7972 /* confdefs.h. */
7973 _ACEOF
7974 cat confdefs.h >>conftest.$ac_ext
7975 cat >>conftest.$ac_ext <<_ACEOF
7976 /* end confdefs.h. */
7977 #include <$ac_header>
7978 _ACEOF
7979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7981 ac_status=$?
7982 grep -v '^ *+' conftest.er1 >conftest.err
7983 rm -f conftest.er1
7984 cat conftest.err >&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); } >/dev/null; then
7987 if test -s conftest.err; then
7988 ac_cpp_err=$ac_c_preproc_warn_flag
7989 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7990 else
7991 ac_cpp_err=
7993 else
7994 ac_cpp_err=yes
7996 if test -z "$ac_cpp_err"; then
7997 ac_header_preproc=yes
7998 else
7999 echo "$as_me: failed program was:" >&5
8000 sed 's/^/| /' conftest.$ac_ext >&5
8002 ac_header_preproc=no
8004 rm -f conftest.err conftest.$ac_ext
8005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8006 echo "${ECHO_T}$ac_header_preproc" >&6
8008 # So? What about this header?
8009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8010 yes:no: )
8011 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8014 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8015 ac_header_preproc=yes
8017 no:yes:* )
8018 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8020 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8021 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8022 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8023 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8024 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8025 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8028 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8029 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8031 cat <<\_ASBOX
8032 ## ----------------------------------------- ##
8033 ## Report this to the package-unused lists. ##
8034 ## ----------------------------------------- ##
8035 _ASBOX
8037 sed "s/^/$as_me: WARNING: /" >&2
8039 esac
8040 echo "$as_me:$LINENO: checking for $ac_header" >&5
8041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8043 echo $ECHO_N "(cached) $ECHO_C" >&6
8044 else
8045 eval "$as_ac_Header=\$ac_header_preproc"
8047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8051 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8052 cat >>confdefs.h <<_ACEOF
8053 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8054 _ACEOF
8058 done
8062 # All these tests are for C++; save the language and the compiler flags.
8063 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8064 # found in GLIBCXX_CONFIGURE.
8067 ac_ext=cc
8068 ac_cpp='$CXXCPP $CPPFLAGS'
8069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8073 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8074 ac_save_CXXFLAGS="$CXXFLAGS"
8076 # Check for maintainer-mode bits.
8077 if test x"$USE_MAINTAINER_MODE" = xno; then
8078 WERROR=''
8079 else
8080 WERROR='-Werror'
8083 # Check for -ffunction-sections -fdata-sections
8084 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8085 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8086 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8087 cat >conftest.$ac_ext <<_ACEOF
8088 /* confdefs.h. */
8089 _ACEOF
8090 cat confdefs.h >>conftest.$ac_ext
8091 cat >>conftest.$ac_ext <<_ACEOF
8092 /* end confdefs.h. */
8095 main ()
8097 int foo;
8099 return 0;
8101 _ACEOF
8102 rm -f conftest.$ac_objext
8103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8104 (eval $ac_compile) 2>conftest.er1
8105 ac_status=$?
8106 grep -v '^ *+' conftest.er1 >conftest.err
8107 rm -f conftest.er1
8108 cat conftest.err >&5
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); } &&
8111 { ac_try='test -z "$ac_cxx_werror_flag"
8112 || test ! -s conftest.err'
8113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8114 (eval $ac_try) 2>&5
8115 ac_status=$?
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); }; } &&
8118 { ac_try='test -s conftest.$ac_objext'
8119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8120 (eval $ac_try) 2>&5
8121 ac_status=$?
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; }; then
8124 ac_fdsections=yes
8125 else
8126 echo "$as_me: failed program was:" >&5
8127 sed 's/^/| /' conftest.$ac_ext >&5
8129 ac_fdsections=no
8131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8132 if test "$ac_test_CXXFLAGS" = set; then
8133 CXXFLAGS="$ac_save_CXXFLAGS"
8134 else
8135 # this is the suspicious part
8136 CXXFLAGS=''
8138 if test x"$ac_fdsections" = x"yes"; then
8139 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8141 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8142 echo "${ECHO_T}$ac_fdsections" >&6
8144 ac_ext=c
8145 ac_cpp='$CPP $CPPFLAGS'
8146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8154 # If we're not using GNU ld, then there's no point in even trying these
8155 # tests. Check for that first. We should have already tested for gld
8156 # by now (in libtool), but require it now just to be safe...
8157 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8158 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8162 # The name set by libtool depends on the version of libtool. Shame on us
8163 # for depending on an impl detail, but c'est la vie. Older versions used
8164 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8165 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8166 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8167 # set (hence we're using an older libtool), then set it.
8168 if test x${with_gnu_ld+set} != xset; then
8169 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8170 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8171 with_gnu_ld=no
8172 else
8173 with_gnu_ld=$ac_cv_prog_gnu_ld
8177 # Start by getting the version number. I think the libtool test already
8178 # does some of this, but throws away the result.
8180 ldver=`$LD --version 2>/dev/null | head -1 | \
8181 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8183 glibcxx_gnu_ld_version=`echo $ldver | \
8184 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8186 # Set --gc-sections.
8187 if test "$with_gnu_ld" = "notbroken"; then
8188 # GNU ld it is! Joy and bunny rabbits!
8190 # All these tests are for C++; save the language and the compiler flags.
8191 # Need to do this so that g++ won't try to link in libstdc++
8192 ac_test_CFLAGS="${CFLAGS+set}"
8193 ac_save_CFLAGS="$CFLAGS"
8194 CFLAGS='-x c++ -Wl,--gc-sections'
8196 # Check for -Wl,--gc-sections
8197 # XXX This test is broken at the moment, as symbols required for linking
8198 # are now in libsupc++ (not built yet). In addition, this test has
8199 # cored on solaris in the past. In addition, --gc-sections doesn't
8200 # really work at the moment (keeps on discarding used sections, first
8201 # .eh_frame and now some of the glibc sections for iconv).
8202 # Bzzzzt. Thanks for playing, maybe next time.
8203 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8204 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8205 if test "$cross_compiling" = yes; then
8206 ac_sectionLDflags=yes
8207 else
8208 cat >conftest.$ac_ext <<_ACEOF
8209 /* confdefs.h. */
8210 _ACEOF
8211 cat confdefs.h >>conftest.$ac_ext
8212 cat >>conftest.$ac_ext <<_ACEOF
8213 /* end confdefs.h. */
8215 int main(void)
8217 try { throw 1; }
8218 catch (...) { };
8219 return 0;
8222 _ACEOF
8223 rm -f conftest$ac_exeext
8224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8225 (eval $ac_link) 2>&5
8226 ac_status=$?
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8230 (eval $ac_try) 2>&5
8231 ac_status=$?
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); }; }; then
8234 ac_sectionLDflags=yes
8235 else
8236 echo "$as_me: program exited with status $ac_status" >&5
8237 echo "$as_me: failed program was:" >&5
8238 sed 's/^/| /' conftest.$ac_ext >&5
8240 ( exit $ac_status )
8241 ac_sectionLDflags=no
8243 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8245 if test "$ac_test_CFLAGS" = set; then
8246 CFLAGS="$ac_save_CFLAGS"
8247 else
8248 # this is the suspicious part
8249 CFLAGS=''
8251 if test "$ac_sectionLDflags" = "yes"; then
8252 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8254 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8255 echo "${ECHO_T}$ac_sectionLDflags" >&6
8258 # Set linker optimization flags.
8259 if test x"$with_gnu_ld" = x"yes"; then
8260 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8267 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8268 ac_save_CXXFLAGS="$CXXFLAGS"
8269 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8271 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8272 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8273 if test "${ac_cv_lib_m_sin+set}" = set; then
8274 echo $ECHO_N "(cached) $ECHO_C" >&6
8275 else
8276 ac_check_lib_save_LIBS=$LIBS
8277 LIBS="-lm $LIBS"
8278 if test x$gcc_no_link = xyes; then
8279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8281 { (exit 1); exit 1; }; }
8283 cat >conftest.$ac_ext <<_ACEOF
8284 /* confdefs.h. */
8285 _ACEOF
8286 cat confdefs.h >>conftest.$ac_ext
8287 cat >>conftest.$ac_ext <<_ACEOF
8288 /* end confdefs.h. */
8290 /* Override any gcc2 internal prototype to avoid an error. */
8291 #ifdef __cplusplus
8292 extern "C"
8293 #endif
8294 /* We use char because int might match the return type of a gcc2
8295 builtin and then its argument prototype would still apply. */
8296 char sin ();
8298 main ()
8300 sin ();
8302 return 0;
8304 _ACEOF
8305 rm -f conftest.$ac_objext conftest$ac_exeext
8306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8307 (eval $ac_link) 2>conftest.er1
8308 ac_status=$?
8309 grep -v '^ *+' conftest.er1 >conftest.err
8310 rm -f conftest.er1
8311 cat conftest.err >&5
8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8313 (exit $ac_status); } &&
8314 { ac_try='test -z "$ac_c_werror_flag"
8315 || test ! -s conftest.err'
8316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8317 (eval $ac_try) 2>&5
8318 ac_status=$?
8319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8320 (exit $ac_status); }; } &&
8321 { ac_try='test -s conftest$ac_exeext'
8322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323 (eval $ac_try) 2>&5
8324 ac_status=$?
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); }; }; then
8327 ac_cv_lib_m_sin=yes
8328 else
8329 echo "$as_me: failed program was:" >&5
8330 sed 's/^/| /' conftest.$ac_ext >&5
8332 ac_cv_lib_m_sin=no
8334 rm -f conftest.err conftest.$ac_objext \
8335 conftest$ac_exeext conftest.$ac_ext
8336 LIBS=$ac_check_lib_save_LIBS
8338 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8339 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8340 if test $ac_cv_lib_m_sin = yes; then
8341 libm="-lm"
8344 ac_save_LIBS="$LIBS"
8345 LIBS="$LIBS $libm"
8349 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8350 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8351 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8352 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8353 echo $ECHO_N "(cached) $ECHO_C" >&6
8354 else
8358 ac_ext=cc
8359 ac_cpp='$CXXCPP $CPPFLAGS'
8360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8364 cat >conftest.$ac_ext <<_ACEOF
8365 /* confdefs.h. */
8366 _ACEOF
8367 cat confdefs.h >>conftest.$ac_ext
8368 cat >>conftest.$ac_ext <<_ACEOF
8369 /* end confdefs.h. */
8370 #include <math.h>
8371 #ifdef HAVE_IEEEFP_H
8372 #include <ieeefp.h>
8373 #endif
8376 main ()
8378 isinf(0);
8380 return 0;
8382 _ACEOF
8383 rm -f conftest.$ac_objext
8384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8385 (eval $ac_compile) 2>conftest.er1
8386 ac_status=$?
8387 grep -v '^ *+' conftest.er1 >conftest.err
8388 rm -f conftest.er1
8389 cat conftest.err >&5
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); } &&
8392 { ac_try='test -z "$ac_cxx_werror_flag"
8393 || test ! -s conftest.err'
8394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8395 (eval $ac_try) 2>&5
8396 ac_status=$?
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); }; } &&
8399 { ac_try='test -s conftest.$ac_objext'
8400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 (eval $ac_try) 2>&5
8402 ac_status=$?
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); }; }; then
8405 glibcxx_cv_func_isinf_use=yes
8406 else
8407 echo "$as_me: failed program was:" >&5
8408 sed 's/^/| /' conftest.$ac_ext >&5
8410 glibcxx_cv_func_isinf_use=no
8412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8413 ac_ext=c
8414 ac_cpp='$CPP $CPPFLAGS'
8415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8423 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8424 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8426 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8428 for ac_func in isinf
8430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8431 echo "$as_me:$LINENO: checking for $ac_func" >&5
8432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8433 if eval "test \"\${$as_ac_var+set}\" = set"; then
8434 echo $ECHO_N "(cached) $ECHO_C" >&6
8435 else
8436 if test x$gcc_no_link = xyes; then
8437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8439 { (exit 1); exit 1; }; }
8441 cat >conftest.$ac_ext <<_ACEOF
8442 /* confdefs.h. */
8443 _ACEOF
8444 cat confdefs.h >>conftest.$ac_ext
8445 cat >>conftest.$ac_ext <<_ACEOF
8446 /* end confdefs.h. */
8447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8449 #define $ac_func innocuous_$ac_func
8451 /* System header to define __stub macros and hopefully few prototypes,
8452 which can conflict with char $ac_func (); below.
8453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8454 <limits.h> exists even on freestanding compilers. */
8456 #ifdef __STDC__
8457 # include <limits.h>
8458 #else
8459 # include <assert.h>
8460 #endif
8462 #undef $ac_func
8464 /* Override any gcc2 internal prototype to avoid an error. */
8465 #ifdef __cplusplus
8466 extern "C"
8468 #endif
8469 /* We use char because int might match the return type of a gcc2
8470 builtin and then its argument prototype would still apply. */
8471 char $ac_func ();
8472 /* The GNU C library defines this for functions which it implements
8473 to always fail with ENOSYS. Some functions are actually named
8474 something starting with __ and the normal name is an alias. */
8475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8476 choke me
8477 #else
8478 char (*f) () = $ac_func;
8479 #endif
8480 #ifdef __cplusplus
8482 #endif
8485 main ()
8487 return f != $ac_func;
8489 return 0;
8491 _ACEOF
8492 rm -f conftest.$ac_objext conftest$ac_exeext
8493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8494 (eval $ac_link) 2>conftest.er1
8495 ac_status=$?
8496 grep -v '^ *+' conftest.er1 >conftest.err
8497 rm -f conftest.er1
8498 cat conftest.err >&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); } &&
8501 { ac_try='test -z "$ac_c_werror_flag"
8502 || test ! -s conftest.err'
8503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8504 (eval $ac_try) 2>&5
8505 ac_status=$?
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); }; } &&
8508 { ac_try='test -s conftest$ac_exeext'
8509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8510 (eval $ac_try) 2>&5
8511 ac_status=$?
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }; }; then
8514 eval "$as_ac_var=yes"
8515 else
8516 echo "$as_me: failed program was:" >&5
8517 sed 's/^/| /' conftest.$ac_ext >&5
8519 eval "$as_ac_var=no"
8521 rm -f conftest.err conftest.$ac_objext \
8522 conftest$ac_exeext conftest.$ac_ext
8524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8526 if test `eval echo '${'$as_ac_var'}'` = yes; then
8527 cat >>confdefs.h <<_ACEOF
8528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8529 _ACEOF
8532 done
8534 else
8536 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8537 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8538 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8539 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8540 echo $ECHO_N "(cached) $ECHO_C" >&6
8541 else
8545 ac_ext=cc
8546 ac_cpp='$CXXCPP $CPPFLAGS'
8547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8551 cat >conftest.$ac_ext <<_ACEOF
8552 /* confdefs.h. */
8553 _ACEOF
8554 cat confdefs.h >>conftest.$ac_ext
8555 cat >>conftest.$ac_ext <<_ACEOF
8556 /* end confdefs.h. */
8557 #include <math.h>
8558 #ifdef HAVE_IEEEFP_H
8559 #include <ieeefp.h>
8560 #endif
8563 main ()
8565 _isinf(0);
8567 return 0;
8569 _ACEOF
8570 rm -f conftest.$ac_objext
8571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8572 (eval $ac_compile) 2>conftest.er1
8573 ac_status=$?
8574 grep -v '^ *+' conftest.er1 >conftest.err
8575 rm -f conftest.er1
8576 cat conftest.err >&5
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); } &&
8579 { ac_try='test -z "$ac_cxx_werror_flag"
8580 || test ! -s conftest.err'
8581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8582 (eval $ac_try) 2>&5
8583 ac_status=$?
8584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585 (exit $ac_status); }; } &&
8586 { ac_try='test -s conftest.$ac_objext'
8587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8588 (eval $ac_try) 2>&5
8589 ac_status=$?
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 (exit $ac_status); }; }; then
8592 glibcxx_cv_func__isinf_use=yes
8593 else
8594 echo "$as_me: failed program was:" >&5
8595 sed 's/^/| /' conftest.$ac_ext >&5
8597 glibcxx_cv_func__isinf_use=no
8599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8600 ac_ext=c
8601 ac_cpp='$CPP $CPPFLAGS'
8602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8610 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8611 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8613 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8615 for ac_func in _isinf
8617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8618 echo "$as_me:$LINENO: checking for $ac_func" >&5
8619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8620 if eval "test \"\${$as_ac_var+set}\" = set"; then
8621 echo $ECHO_N "(cached) $ECHO_C" >&6
8622 else
8623 if test x$gcc_no_link = xyes; then
8624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8626 { (exit 1); exit 1; }; }
8628 cat >conftest.$ac_ext <<_ACEOF
8629 /* confdefs.h. */
8630 _ACEOF
8631 cat confdefs.h >>conftest.$ac_ext
8632 cat >>conftest.$ac_ext <<_ACEOF
8633 /* end confdefs.h. */
8634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8636 #define $ac_func innocuous_$ac_func
8638 /* System header to define __stub macros and hopefully few prototypes,
8639 which can conflict with char $ac_func (); below.
8640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8641 <limits.h> exists even on freestanding compilers. */
8643 #ifdef __STDC__
8644 # include <limits.h>
8645 #else
8646 # include <assert.h>
8647 #endif
8649 #undef $ac_func
8651 /* Override any gcc2 internal prototype to avoid an error. */
8652 #ifdef __cplusplus
8653 extern "C"
8655 #endif
8656 /* We use char because int might match the return type of a gcc2
8657 builtin and then its argument prototype would still apply. */
8658 char $ac_func ();
8659 /* The GNU C library defines this for functions which it implements
8660 to always fail with ENOSYS. Some functions are actually named
8661 something starting with __ and the normal name is an alias. */
8662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8663 choke me
8664 #else
8665 char (*f) () = $ac_func;
8666 #endif
8667 #ifdef __cplusplus
8669 #endif
8672 main ()
8674 return f != $ac_func;
8676 return 0;
8678 _ACEOF
8679 rm -f conftest.$ac_objext conftest$ac_exeext
8680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8681 (eval $ac_link) 2>conftest.er1
8682 ac_status=$?
8683 grep -v '^ *+' conftest.er1 >conftest.err
8684 rm -f conftest.er1
8685 cat conftest.err >&5
8686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687 (exit $ac_status); } &&
8688 { ac_try='test -z "$ac_c_werror_flag"
8689 || test ! -s conftest.err'
8690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8691 (eval $ac_try) 2>&5
8692 ac_status=$?
8693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8694 (exit $ac_status); }; } &&
8695 { ac_try='test -s conftest$ac_exeext'
8696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8697 (eval $ac_try) 2>&5
8698 ac_status=$?
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); }; }; then
8701 eval "$as_ac_var=yes"
8702 else
8703 echo "$as_me: failed program was:" >&5
8704 sed 's/^/| /' conftest.$ac_ext >&5
8706 eval "$as_ac_var=no"
8708 rm -f conftest.err conftest.$ac_objext \
8709 conftest$ac_exeext conftest.$ac_ext
8711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8713 if test `eval echo '${'$as_ac_var'}'` = yes; then
8714 cat >>confdefs.h <<_ACEOF
8715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8716 _ACEOF
8719 done
8726 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8727 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8728 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8729 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8730 echo $ECHO_N "(cached) $ECHO_C" >&6
8731 else
8735 ac_ext=cc
8736 ac_cpp='$CXXCPP $CPPFLAGS'
8737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8741 cat >conftest.$ac_ext <<_ACEOF
8742 /* confdefs.h. */
8743 _ACEOF
8744 cat confdefs.h >>conftest.$ac_ext
8745 cat >>conftest.$ac_ext <<_ACEOF
8746 /* end confdefs.h. */
8747 #include <math.h>
8748 #ifdef HAVE_IEEEFP_H
8749 #include <ieeefp.h>
8750 #endif
8753 main ()
8755 isnan(0);
8757 return 0;
8759 _ACEOF
8760 rm -f conftest.$ac_objext
8761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8762 (eval $ac_compile) 2>conftest.er1
8763 ac_status=$?
8764 grep -v '^ *+' conftest.er1 >conftest.err
8765 rm -f conftest.er1
8766 cat conftest.err >&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); } &&
8769 { ac_try='test -z "$ac_cxx_werror_flag"
8770 || test ! -s conftest.err'
8771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8772 (eval $ac_try) 2>&5
8773 ac_status=$?
8774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775 (exit $ac_status); }; } &&
8776 { ac_try='test -s conftest.$ac_objext'
8777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8778 (eval $ac_try) 2>&5
8779 ac_status=$?
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); }; }; then
8782 glibcxx_cv_func_isnan_use=yes
8783 else
8784 echo "$as_me: failed program was:" >&5
8785 sed 's/^/| /' conftest.$ac_ext >&5
8787 glibcxx_cv_func_isnan_use=no
8789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8790 ac_ext=c
8791 ac_cpp='$CPP $CPPFLAGS'
8792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8800 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8801 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8803 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8805 for ac_func in isnan
8807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8808 echo "$as_me:$LINENO: checking for $ac_func" >&5
8809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8810 if eval "test \"\${$as_ac_var+set}\" = set"; then
8811 echo $ECHO_N "(cached) $ECHO_C" >&6
8812 else
8813 if test x$gcc_no_link = xyes; then
8814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8816 { (exit 1); exit 1; }; }
8818 cat >conftest.$ac_ext <<_ACEOF
8819 /* confdefs.h. */
8820 _ACEOF
8821 cat confdefs.h >>conftest.$ac_ext
8822 cat >>conftest.$ac_ext <<_ACEOF
8823 /* end confdefs.h. */
8824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8826 #define $ac_func innocuous_$ac_func
8828 /* System header to define __stub macros and hopefully few prototypes,
8829 which can conflict with char $ac_func (); below.
8830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8831 <limits.h> exists even on freestanding compilers. */
8833 #ifdef __STDC__
8834 # include <limits.h>
8835 #else
8836 # include <assert.h>
8837 #endif
8839 #undef $ac_func
8841 /* Override any gcc2 internal prototype to avoid an error. */
8842 #ifdef __cplusplus
8843 extern "C"
8845 #endif
8846 /* We use char because int might match the return type of a gcc2
8847 builtin and then its argument prototype would still apply. */
8848 char $ac_func ();
8849 /* The GNU C library defines this for functions which it implements
8850 to always fail with ENOSYS. Some functions are actually named
8851 something starting with __ and the normal name is an alias. */
8852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8853 choke me
8854 #else
8855 char (*f) () = $ac_func;
8856 #endif
8857 #ifdef __cplusplus
8859 #endif
8862 main ()
8864 return f != $ac_func;
8866 return 0;
8868 _ACEOF
8869 rm -f conftest.$ac_objext conftest$ac_exeext
8870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8871 (eval $ac_link) 2>conftest.er1
8872 ac_status=$?
8873 grep -v '^ *+' conftest.er1 >conftest.err
8874 rm -f conftest.er1
8875 cat conftest.err >&5
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); } &&
8878 { ac_try='test -z "$ac_c_werror_flag"
8879 || test ! -s conftest.err'
8880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8881 (eval $ac_try) 2>&5
8882 ac_status=$?
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); }; } &&
8885 { ac_try='test -s conftest$ac_exeext'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 (eval $ac_try) 2>&5
8888 ac_status=$?
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; }; then
8891 eval "$as_ac_var=yes"
8892 else
8893 echo "$as_me: failed program was:" >&5
8894 sed 's/^/| /' conftest.$ac_ext >&5
8896 eval "$as_ac_var=no"
8898 rm -f conftest.err conftest.$ac_objext \
8899 conftest$ac_exeext conftest.$ac_ext
8901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8903 if test `eval echo '${'$as_ac_var'}'` = yes; then
8904 cat >>confdefs.h <<_ACEOF
8905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8906 _ACEOF
8909 done
8911 else
8913 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8914 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8915 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8916 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8917 echo $ECHO_N "(cached) $ECHO_C" >&6
8918 else
8922 ac_ext=cc
8923 ac_cpp='$CXXCPP $CPPFLAGS'
8924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8928 cat >conftest.$ac_ext <<_ACEOF
8929 /* confdefs.h. */
8930 _ACEOF
8931 cat confdefs.h >>conftest.$ac_ext
8932 cat >>conftest.$ac_ext <<_ACEOF
8933 /* end confdefs.h. */
8934 #include <math.h>
8935 #ifdef HAVE_IEEEFP_H
8936 #include <ieeefp.h>
8937 #endif
8940 main ()
8942 _isnan(0);
8944 return 0;
8946 _ACEOF
8947 rm -f conftest.$ac_objext
8948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8949 (eval $ac_compile) 2>conftest.er1
8950 ac_status=$?
8951 grep -v '^ *+' conftest.er1 >conftest.err
8952 rm -f conftest.er1
8953 cat conftest.err >&5
8954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 (exit $ac_status); } &&
8956 { ac_try='test -z "$ac_cxx_werror_flag"
8957 || test ! -s conftest.err'
8958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8959 (eval $ac_try) 2>&5
8960 ac_status=$?
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); }; } &&
8963 { ac_try='test -s conftest.$ac_objext'
8964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 (eval $ac_try) 2>&5
8966 ac_status=$?
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); }; }; then
8969 glibcxx_cv_func__isnan_use=yes
8970 else
8971 echo "$as_me: failed program was:" >&5
8972 sed 's/^/| /' conftest.$ac_ext >&5
8974 glibcxx_cv_func__isnan_use=no
8976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8977 ac_ext=c
8978 ac_cpp='$CPP $CPPFLAGS'
8979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8987 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8988 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8990 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8992 for ac_func in _isnan
8994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8995 echo "$as_me:$LINENO: checking for $ac_func" >&5
8996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8997 if eval "test \"\${$as_ac_var+set}\" = set"; then
8998 echo $ECHO_N "(cached) $ECHO_C" >&6
8999 else
9000 if test x$gcc_no_link = xyes; then
9001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9003 { (exit 1); exit 1; }; }
9005 cat >conftest.$ac_ext <<_ACEOF
9006 /* confdefs.h. */
9007 _ACEOF
9008 cat confdefs.h >>conftest.$ac_ext
9009 cat >>conftest.$ac_ext <<_ACEOF
9010 /* end confdefs.h. */
9011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9013 #define $ac_func innocuous_$ac_func
9015 /* System header to define __stub macros and hopefully few prototypes,
9016 which can conflict with char $ac_func (); below.
9017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9018 <limits.h> exists even on freestanding compilers. */
9020 #ifdef __STDC__
9021 # include <limits.h>
9022 #else
9023 # include <assert.h>
9024 #endif
9026 #undef $ac_func
9028 /* Override any gcc2 internal prototype to avoid an error. */
9029 #ifdef __cplusplus
9030 extern "C"
9032 #endif
9033 /* We use char because int might match the return type of a gcc2
9034 builtin and then its argument prototype would still apply. */
9035 char $ac_func ();
9036 /* The GNU C library defines this for functions which it implements
9037 to always fail with ENOSYS. Some functions are actually named
9038 something starting with __ and the normal name is an alias. */
9039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9040 choke me
9041 #else
9042 char (*f) () = $ac_func;
9043 #endif
9044 #ifdef __cplusplus
9046 #endif
9049 main ()
9051 return f != $ac_func;
9053 return 0;
9055 _ACEOF
9056 rm -f conftest.$ac_objext conftest$ac_exeext
9057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9058 (eval $ac_link) 2>conftest.er1
9059 ac_status=$?
9060 grep -v '^ *+' conftest.er1 >conftest.err
9061 rm -f conftest.er1
9062 cat conftest.err >&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); } &&
9065 { ac_try='test -z "$ac_c_werror_flag"
9066 || test ! -s conftest.err'
9067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9068 (eval $ac_try) 2>&5
9069 ac_status=$?
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); }; } &&
9072 { ac_try='test -s conftest$ac_exeext'
9073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9074 (eval $ac_try) 2>&5
9075 ac_status=$?
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); }; }; then
9078 eval "$as_ac_var=yes"
9079 else
9080 echo "$as_me: failed program was:" >&5
9081 sed 's/^/| /' conftest.$ac_ext >&5
9083 eval "$as_ac_var=no"
9085 rm -f conftest.err conftest.$ac_objext \
9086 conftest$ac_exeext conftest.$ac_ext
9088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9090 if test `eval echo '${'$as_ac_var'}'` = yes; then
9091 cat >>confdefs.h <<_ACEOF
9092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9093 _ACEOF
9096 done
9103 echo "$as_me:$LINENO: checking for finite declaration" >&5
9104 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9105 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9106 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9107 echo $ECHO_N "(cached) $ECHO_C" >&6
9108 else
9112 ac_ext=cc
9113 ac_cpp='$CXXCPP $CPPFLAGS'
9114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9118 cat >conftest.$ac_ext <<_ACEOF
9119 /* confdefs.h. */
9120 _ACEOF
9121 cat confdefs.h >>conftest.$ac_ext
9122 cat >>conftest.$ac_ext <<_ACEOF
9123 /* end confdefs.h. */
9124 #include <math.h>
9125 #ifdef HAVE_IEEEFP_H
9126 #include <ieeefp.h>
9127 #endif
9130 main ()
9132 finite(0);
9134 return 0;
9136 _ACEOF
9137 rm -f conftest.$ac_objext
9138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9139 (eval $ac_compile) 2>conftest.er1
9140 ac_status=$?
9141 grep -v '^ *+' conftest.er1 >conftest.err
9142 rm -f conftest.er1
9143 cat conftest.err >&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); } &&
9146 { ac_try='test -z "$ac_cxx_werror_flag"
9147 || test ! -s conftest.err'
9148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9149 (eval $ac_try) 2>&5
9150 ac_status=$?
9151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152 (exit $ac_status); }; } &&
9153 { ac_try='test -s conftest.$ac_objext'
9154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9155 (eval $ac_try) 2>&5
9156 ac_status=$?
9157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 (exit $ac_status); }; }; then
9159 glibcxx_cv_func_finite_use=yes
9160 else
9161 echo "$as_me: failed program was:" >&5
9162 sed 's/^/| /' conftest.$ac_ext >&5
9164 glibcxx_cv_func_finite_use=no
9166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9167 ac_ext=c
9168 ac_cpp='$CPP $CPPFLAGS'
9169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9177 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9178 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9180 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9182 for ac_func in finite
9184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9185 echo "$as_me:$LINENO: checking for $ac_func" >&5
9186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9187 if eval "test \"\${$as_ac_var+set}\" = set"; then
9188 echo $ECHO_N "(cached) $ECHO_C" >&6
9189 else
9190 if test x$gcc_no_link = xyes; then
9191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9193 { (exit 1); exit 1; }; }
9195 cat >conftest.$ac_ext <<_ACEOF
9196 /* confdefs.h. */
9197 _ACEOF
9198 cat confdefs.h >>conftest.$ac_ext
9199 cat >>conftest.$ac_ext <<_ACEOF
9200 /* end confdefs.h. */
9201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9203 #define $ac_func innocuous_$ac_func
9205 /* System header to define __stub macros and hopefully few prototypes,
9206 which can conflict with char $ac_func (); below.
9207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9208 <limits.h> exists even on freestanding compilers. */
9210 #ifdef __STDC__
9211 # include <limits.h>
9212 #else
9213 # include <assert.h>
9214 #endif
9216 #undef $ac_func
9218 /* Override any gcc2 internal prototype to avoid an error. */
9219 #ifdef __cplusplus
9220 extern "C"
9222 #endif
9223 /* We use char because int might match the return type of a gcc2
9224 builtin and then its argument prototype would still apply. */
9225 char $ac_func ();
9226 /* The GNU C library defines this for functions which it implements
9227 to always fail with ENOSYS. Some functions are actually named
9228 something starting with __ and the normal name is an alias. */
9229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9230 choke me
9231 #else
9232 char (*f) () = $ac_func;
9233 #endif
9234 #ifdef __cplusplus
9236 #endif
9239 main ()
9241 return f != $ac_func;
9243 return 0;
9245 _ACEOF
9246 rm -f conftest.$ac_objext conftest$ac_exeext
9247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9248 (eval $ac_link) 2>conftest.er1
9249 ac_status=$?
9250 grep -v '^ *+' conftest.er1 >conftest.err
9251 rm -f conftest.er1
9252 cat conftest.err >&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); } &&
9255 { ac_try='test -z "$ac_c_werror_flag"
9256 || test ! -s conftest.err'
9257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9258 (eval $ac_try) 2>&5
9259 ac_status=$?
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); }; } &&
9262 { ac_try='test -s conftest$ac_exeext'
9263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 (eval $ac_try) 2>&5
9265 ac_status=$?
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); }; }; then
9268 eval "$as_ac_var=yes"
9269 else
9270 echo "$as_me: failed program was:" >&5
9271 sed 's/^/| /' conftest.$ac_ext >&5
9273 eval "$as_ac_var=no"
9275 rm -f conftest.err conftest.$ac_objext \
9276 conftest$ac_exeext conftest.$ac_ext
9278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9280 if test `eval echo '${'$as_ac_var'}'` = yes; then
9281 cat >>confdefs.h <<_ACEOF
9282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9283 _ACEOF
9286 done
9288 else
9290 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9291 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9292 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9293 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9294 echo $ECHO_N "(cached) $ECHO_C" >&6
9295 else
9299 ac_ext=cc
9300 ac_cpp='$CXXCPP $CPPFLAGS'
9301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9305 cat >conftest.$ac_ext <<_ACEOF
9306 /* confdefs.h. */
9307 _ACEOF
9308 cat confdefs.h >>conftest.$ac_ext
9309 cat >>conftest.$ac_ext <<_ACEOF
9310 /* end confdefs.h. */
9311 #include <math.h>
9312 #ifdef HAVE_IEEEFP_H
9313 #include <ieeefp.h>
9314 #endif
9317 main ()
9319 _finite(0);
9321 return 0;
9323 _ACEOF
9324 rm -f conftest.$ac_objext
9325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9326 (eval $ac_compile) 2>conftest.er1
9327 ac_status=$?
9328 grep -v '^ *+' conftest.er1 >conftest.err
9329 rm -f conftest.er1
9330 cat conftest.err >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); } &&
9333 { ac_try='test -z "$ac_cxx_werror_flag"
9334 || test ! -s conftest.err'
9335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9336 (eval $ac_try) 2>&5
9337 ac_status=$?
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; } &&
9340 { ac_try='test -s conftest.$ac_objext'
9341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9342 (eval $ac_try) 2>&5
9343 ac_status=$?
9344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345 (exit $ac_status); }; }; then
9346 glibcxx_cv_func__finite_use=yes
9347 else
9348 echo "$as_me: failed program was:" >&5
9349 sed 's/^/| /' conftest.$ac_ext >&5
9351 glibcxx_cv_func__finite_use=no
9353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9354 ac_ext=c
9355 ac_cpp='$CPP $CPPFLAGS'
9356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9364 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9365 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9367 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9369 for ac_func in _finite
9371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9372 echo "$as_me:$LINENO: checking for $ac_func" >&5
9373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9374 if eval "test \"\${$as_ac_var+set}\" = set"; then
9375 echo $ECHO_N "(cached) $ECHO_C" >&6
9376 else
9377 if test x$gcc_no_link = xyes; then
9378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9380 { (exit 1); exit 1; }; }
9382 cat >conftest.$ac_ext <<_ACEOF
9383 /* confdefs.h. */
9384 _ACEOF
9385 cat confdefs.h >>conftest.$ac_ext
9386 cat >>conftest.$ac_ext <<_ACEOF
9387 /* end confdefs.h. */
9388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9390 #define $ac_func innocuous_$ac_func
9392 /* System header to define __stub macros and hopefully few prototypes,
9393 which can conflict with char $ac_func (); below.
9394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9395 <limits.h> exists even on freestanding compilers. */
9397 #ifdef __STDC__
9398 # include <limits.h>
9399 #else
9400 # include <assert.h>
9401 #endif
9403 #undef $ac_func
9405 /* Override any gcc2 internal prototype to avoid an error. */
9406 #ifdef __cplusplus
9407 extern "C"
9409 #endif
9410 /* We use char because int might match the return type of a gcc2
9411 builtin and then its argument prototype would still apply. */
9412 char $ac_func ();
9413 /* The GNU C library defines this for functions which it implements
9414 to always fail with ENOSYS. Some functions are actually named
9415 something starting with __ and the normal name is an alias. */
9416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9417 choke me
9418 #else
9419 char (*f) () = $ac_func;
9420 #endif
9421 #ifdef __cplusplus
9423 #endif
9426 main ()
9428 return f != $ac_func;
9430 return 0;
9432 _ACEOF
9433 rm -f conftest.$ac_objext conftest$ac_exeext
9434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9435 (eval $ac_link) 2>conftest.er1
9436 ac_status=$?
9437 grep -v '^ *+' conftest.er1 >conftest.err
9438 rm -f conftest.er1
9439 cat conftest.err >&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); } &&
9442 { ac_try='test -z "$ac_c_werror_flag"
9443 || test ! -s conftest.err'
9444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9445 (eval $ac_try) 2>&5
9446 ac_status=$?
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); }; } &&
9449 { ac_try='test -s conftest$ac_exeext'
9450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9451 (eval $ac_try) 2>&5
9452 ac_status=$?
9453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); }; }; then
9455 eval "$as_ac_var=yes"
9456 else
9457 echo "$as_me: failed program was:" >&5
9458 sed 's/^/| /' conftest.$ac_ext >&5
9460 eval "$as_ac_var=no"
9462 rm -f conftest.err conftest.$ac_objext \
9463 conftest$ac_exeext conftest.$ac_ext
9465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9467 if test `eval echo '${'$as_ac_var'}'` = yes; then
9468 cat >>confdefs.h <<_ACEOF
9469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9470 _ACEOF
9473 done
9480 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9481 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9482 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9483 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9484 echo $ECHO_N "(cached) $ECHO_C" >&6
9485 else
9489 ac_ext=cc
9490 ac_cpp='$CXXCPP $CPPFLAGS'
9491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9495 cat >conftest.$ac_ext <<_ACEOF
9496 /* confdefs.h. */
9497 _ACEOF
9498 cat confdefs.h >>conftest.$ac_ext
9499 cat >>conftest.$ac_ext <<_ACEOF
9500 /* end confdefs.h. */
9501 #include <math.h>
9503 main ()
9505 copysign(0, 0);
9507 return 0;
9509 _ACEOF
9510 rm -f conftest.$ac_objext
9511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9512 (eval $ac_compile) 2>conftest.er1
9513 ac_status=$?
9514 grep -v '^ *+' conftest.er1 >conftest.err
9515 rm -f conftest.er1
9516 cat conftest.err >&5
9517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9518 (exit $ac_status); } &&
9519 { ac_try='test -z "$ac_cxx_werror_flag"
9520 || test ! -s conftest.err'
9521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9522 (eval $ac_try) 2>&5
9523 ac_status=$?
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); }; } &&
9526 { ac_try='test -s conftest.$ac_objext'
9527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9528 (eval $ac_try) 2>&5
9529 ac_status=$?
9530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531 (exit $ac_status); }; }; then
9532 glibcxx_cv_func_copysign_use=yes
9533 else
9534 echo "$as_me: failed program was:" >&5
9535 sed 's/^/| /' conftest.$ac_ext >&5
9537 glibcxx_cv_func_copysign_use=no
9539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9540 ac_ext=c
9541 ac_cpp='$CPP $CPPFLAGS'
9542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9550 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9551 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9553 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9555 for ac_func in copysign
9557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9558 echo "$as_me:$LINENO: checking for $ac_func" >&5
9559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9560 if eval "test \"\${$as_ac_var+set}\" = set"; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9562 else
9563 if test x$gcc_no_link = xyes; then
9564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9566 { (exit 1); exit 1; }; }
9568 cat >conftest.$ac_ext <<_ACEOF
9569 /* confdefs.h. */
9570 _ACEOF
9571 cat confdefs.h >>conftest.$ac_ext
9572 cat >>conftest.$ac_ext <<_ACEOF
9573 /* end confdefs.h. */
9574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9576 #define $ac_func innocuous_$ac_func
9578 /* System header to define __stub macros and hopefully few prototypes,
9579 which can conflict with char $ac_func (); below.
9580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9581 <limits.h> exists even on freestanding compilers. */
9583 #ifdef __STDC__
9584 # include <limits.h>
9585 #else
9586 # include <assert.h>
9587 #endif
9589 #undef $ac_func
9591 /* Override any gcc2 internal prototype to avoid an error. */
9592 #ifdef __cplusplus
9593 extern "C"
9595 #endif
9596 /* We use char because int might match the return type of a gcc2
9597 builtin and then its argument prototype would still apply. */
9598 char $ac_func ();
9599 /* The GNU C library defines this for functions which it implements
9600 to always fail with ENOSYS. Some functions are actually named
9601 something starting with __ and the normal name is an alias. */
9602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9603 choke me
9604 #else
9605 char (*f) () = $ac_func;
9606 #endif
9607 #ifdef __cplusplus
9609 #endif
9612 main ()
9614 return f != $ac_func;
9616 return 0;
9618 _ACEOF
9619 rm -f conftest.$ac_objext conftest$ac_exeext
9620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9621 (eval $ac_link) 2>conftest.er1
9622 ac_status=$?
9623 grep -v '^ *+' conftest.er1 >conftest.err
9624 rm -f conftest.er1
9625 cat conftest.err >&5
9626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9627 (exit $ac_status); } &&
9628 { ac_try='test -z "$ac_c_werror_flag"
9629 || test ! -s conftest.err'
9630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9631 (eval $ac_try) 2>&5
9632 ac_status=$?
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); }; } &&
9635 { ac_try='test -s conftest$ac_exeext'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9637 (eval $ac_try) 2>&5
9638 ac_status=$?
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; }; then
9641 eval "$as_ac_var=yes"
9642 else
9643 echo "$as_me: failed program was:" >&5
9644 sed 's/^/| /' conftest.$ac_ext >&5
9646 eval "$as_ac_var=no"
9648 rm -f conftest.err conftest.$ac_objext \
9649 conftest$ac_exeext conftest.$ac_ext
9651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9653 if test `eval echo '${'$as_ac_var'}'` = yes; then
9654 cat >>confdefs.h <<_ACEOF
9655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9656 _ACEOF
9659 done
9661 else
9663 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9664 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9665 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9666 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9667 echo $ECHO_N "(cached) $ECHO_C" >&6
9668 else
9672 ac_ext=cc
9673 ac_cpp='$CXXCPP $CPPFLAGS'
9674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9678 cat >conftest.$ac_ext <<_ACEOF
9679 /* confdefs.h. */
9680 _ACEOF
9681 cat confdefs.h >>conftest.$ac_ext
9682 cat >>conftest.$ac_ext <<_ACEOF
9683 /* end confdefs.h. */
9684 #include <math.h>
9686 main ()
9688 _copysign(0, 0);
9690 return 0;
9692 _ACEOF
9693 rm -f conftest.$ac_objext
9694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9695 (eval $ac_compile) 2>conftest.er1
9696 ac_status=$?
9697 grep -v '^ *+' conftest.er1 >conftest.err
9698 rm -f conftest.er1
9699 cat conftest.err >&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); } &&
9702 { ac_try='test -z "$ac_cxx_werror_flag"
9703 || test ! -s conftest.err'
9704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9705 (eval $ac_try) 2>&5
9706 ac_status=$?
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); }; } &&
9709 { ac_try='test -s conftest.$ac_objext'
9710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9711 (eval $ac_try) 2>&5
9712 ac_status=$?
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); }; }; then
9715 glibcxx_cv_func__copysign_use=yes
9716 else
9717 echo "$as_me: failed program was:" >&5
9718 sed 's/^/| /' conftest.$ac_ext >&5
9720 glibcxx_cv_func__copysign_use=no
9722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9723 ac_ext=c
9724 ac_cpp='$CPP $CPPFLAGS'
9725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9733 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9734 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9736 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9738 for ac_func in _copysign
9740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9741 echo "$as_me:$LINENO: checking for $ac_func" >&5
9742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9743 if eval "test \"\${$as_ac_var+set}\" = set"; then
9744 echo $ECHO_N "(cached) $ECHO_C" >&6
9745 else
9746 if test x$gcc_no_link = xyes; then
9747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9749 { (exit 1); exit 1; }; }
9751 cat >conftest.$ac_ext <<_ACEOF
9752 /* confdefs.h. */
9753 _ACEOF
9754 cat confdefs.h >>conftest.$ac_ext
9755 cat >>conftest.$ac_ext <<_ACEOF
9756 /* end confdefs.h. */
9757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9759 #define $ac_func innocuous_$ac_func
9761 /* System header to define __stub macros and hopefully few prototypes,
9762 which can conflict with char $ac_func (); below.
9763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9764 <limits.h> exists even on freestanding compilers. */
9766 #ifdef __STDC__
9767 # include <limits.h>
9768 #else
9769 # include <assert.h>
9770 #endif
9772 #undef $ac_func
9774 /* Override any gcc2 internal prototype to avoid an error. */
9775 #ifdef __cplusplus
9776 extern "C"
9778 #endif
9779 /* We use char because int might match the return type of a gcc2
9780 builtin and then its argument prototype would still apply. */
9781 char $ac_func ();
9782 /* The GNU C library defines this for functions which it implements
9783 to always fail with ENOSYS. Some functions are actually named
9784 something starting with __ and the normal name is an alias. */
9785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9786 choke me
9787 #else
9788 char (*f) () = $ac_func;
9789 #endif
9790 #ifdef __cplusplus
9792 #endif
9795 main ()
9797 return f != $ac_func;
9799 return 0;
9801 _ACEOF
9802 rm -f conftest.$ac_objext conftest$ac_exeext
9803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9804 (eval $ac_link) 2>conftest.er1
9805 ac_status=$?
9806 grep -v '^ *+' conftest.er1 >conftest.err
9807 rm -f conftest.er1
9808 cat conftest.err >&5
9809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9810 (exit $ac_status); } &&
9811 { ac_try='test -z "$ac_c_werror_flag"
9812 || test ! -s conftest.err'
9813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9814 (eval $ac_try) 2>&5
9815 ac_status=$?
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); }; } &&
9818 { ac_try='test -s conftest$ac_exeext'
9819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9820 (eval $ac_try) 2>&5
9821 ac_status=$?
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); }; }; then
9824 eval "$as_ac_var=yes"
9825 else
9826 echo "$as_me: failed program was:" >&5
9827 sed 's/^/| /' conftest.$ac_ext >&5
9829 eval "$as_ac_var=no"
9831 rm -f conftest.err conftest.$ac_objext \
9832 conftest$ac_exeext conftest.$ac_ext
9834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9836 if test `eval echo '${'$as_ac_var'}'` = yes; then
9837 cat >>confdefs.h <<_ACEOF
9838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9839 _ACEOF
9842 done
9849 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9850 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9851 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9852 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9853 echo $ECHO_N "(cached) $ECHO_C" >&6
9854 else
9858 ac_ext=cc
9859 ac_cpp='$CXXCPP $CPPFLAGS'
9860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9864 cat >conftest.$ac_ext <<_ACEOF
9865 /* confdefs.h. */
9866 _ACEOF
9867 cat confdefs.h >>conftest.$ac_ext
9868 cat >>conftest.$ac_ext <<_ACEOF
9869 /* end confdefs.h. */
9870 #include <math.h>
9872 main ()
9874 sincos(0, 0, 0);
9876 return 0;
9878 _ACEOF
9879 rm -f conftest.$ac_objext
9880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9881 (eval $ac_compile) 2>conftest.er1
9882 ac_status=$?
9883 grep -v '^ *+' conftest.er1 >conftest.err
9884 rm -f conftest.er1
9885 cat conftest.err >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); } &&
9888 { ac_try='test -z "$ac_cxx_werror_flag"
9889 || test ! -s conftest.err'
9890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9891 (eval $ac_try) 2>&5
9892 ac_status=$?
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); }; } &&
9895 { ac_try='test -s conftest.$ac_objext'
9896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9897 (eval $ac_try) 2>&5
9898 ac_status=$?
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); }; }; then
9901 glibcxx_cv_func_sincos_use=yes
9902 else
9903 echo "$as_me: failed program was:" >&5
9904 sed 's/^/| /' conftest.$ac_ext >&5
9906 glibcxx_cv_func_sincos_use=no
9908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9909 ac_ext=c
9910 ac_cpp='$CPP $CPPFLAGS'
9911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9920 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9922 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9924 for ac_func in sincos
9926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9927 echo "$as_me:$LINENO: checking for $ac_func" >&5
9928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9929 if eval "test \"\${$as_ac_var+set}\" = set"; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9931 else
9932 if test x$gcc_no_link = xyes; then
9933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9935 { (exit 1); exit 1; }; }
9937 cat >conftest.$ac_ext <<_ACEOF
9938 /* confdefs.h. */
9939 _ACEOF
9940 cat confdefs.h >>conftest.$ac_ext
9941 cat >>conftest.$ac_ext <<_ACEOF
9942 /* end confdefs.h. */
9943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9945 #define $ac_func innocuous_$ac_func
9947 /* System header to define __stub macros and hopefully few prototypes,
9948 which can conflict with char $ac_func (); below.
9949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9950 <limits.h> exists even on freestanding compilers. */
9952 #ifdef __STDC__
9953 # include <limits.h>
9954 #else
9955 # include <assert.h>
9956 #endif
9958 #undef $ac_func
9960 /* Override any gcc2 internal prototype to avoid an error. */
9961 #ifdef __cplusplus
9962 extern "C"
9964 #endif
9965 /* We use char because int might match the return type of a gcc2
9966 builtin and then its argument prototype would still apply. */
9967 char $ac_func ();
9968 /* The GNU C library defines this for functions which it implements
9969 to always fail with ENOSYS. Some functions are actually named
9970 something starting with __ and the normal name is an alias. */
9971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9972 choke me
9973 #else
9974 char (*f) () = $ac_func;
9975 #endif
9976 #ifdef __cplusplus
9978 #endif
9981 main ()
9983 return f != $ac_func;
9985 return 0;
9987 _ACEOF
9988 rm -f conftest.$ac_objext conftest$ac_exeext
9989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9990 (eval $ac_link) 2>conftest.er1
9991 ac_status=$?
9992 grep -v '^ *+' conftest.er1 >conftest.err
9993 rm -f conftest.er1
9994 cat conftest.err >&5
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996 (exit $ac_status); } &&
9997 { ac_try='test -z "$ac_c_werror_flag"
9998 || test ! -s conftest.err'
9999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10000 (eval $ac_try) 2>&5
10001 ac_status=$?
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 (exit $ac_status); }; } &&
10004 { ac_try='test -s conftest$ac_exeext'
10005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10006 (eval $ac_try) 2>&5
10007 ac_status=$?
10008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10009 (exit $ac_status); }; }; then
10010 eval "$as_ac_var=yes"
10011 else
10012 echo "$as_me: failed program was:" >&5
10013 sed 's/^/| /' conftest.$ac_ext >&5
10015 eval "$as_ac_var=no"
10017 rm -f conftest.err conftest.$ac_objext \
10018 conftest$ac_exeext conftest.$ac_ext
10020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10022 if test `eval echo '${'$as_ac_var'}'` = yes; then
10023 cat >>confdefs.h <<_ACEOF
10024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10025 _ACEOF
10028 done
10030 else
10032 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10033 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10034 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10035 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10036 echo $ECHO_N "(cached) $ECHO_C" >&6
10037 else
10041 ac_ext=cc
10042 ac_cpp='$CXXCPP $CPPFLAGS'
10043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10047 cat >conftest.$ac_ext <<_ACEOF
10048 /* confdefs.h. */
10049 _ACEOF
10050 cat confdefs.h >>conftest.$ac_ext
10051 cat >>conftest.$ac_ext <<_ACEOF
10052 /* end confdefs.h. */
10053 #include <math.h>
10055 main ()
10057 _sincos(0, 0, 0);
10059 return 0;
10061 _ACEOF
10062 rm -f conftest.$ac_objext
10063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10064 (eval $ac_compile) 2>conftest.er1
10065 ac_status=$?
10066 grep -v '^ *+' conftest.er1 >conftest.err
10067 rm -f conftest.er1
10068 cat conftest.err >&5
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); } &&
10071 { ac_try='test -z "$ac_cxx_werror_flag"
10072 || test ! -s conftest.err'
10073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10074 (eval $ac_try) 2>&5
10075 ac_status=$?
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); }; } &&
10078 { ac_try='test -s conftest.$ac_objext'
10079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10080 (eval $ac_try) 2>&5
10081 ac_status=$?
10082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083 (exit $ac_status); }; }; then
10084 glibcxx_cv_func__sincos_use=yes
10085 else
10086 echo "$as_me: failed program was:" >&5
10087 sed 's/^/| /' conftest.$ac_ext >&5
10089 glibcxx_cv_func__sincos_use=no
10091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10092 ac_ext=c
10093 ac_cpp='$CPP $CPPFLAGS'
10094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10103 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10105 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10107 for ac_func in _sincos
10109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10110 echo "$as_me:$LINENO: checking for $ac_func" >&5
10111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10112 if eval "test \"\${$as_ac_var+set}\" = set"; then
10113 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 else
10115 if test x$gcc_no_link = xyes; then
10116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10118 { (exit 1); exit 1; }; }
10120 cat >conftest.$ac_ext <<_ACEOF
10121 /* confdefs.h. */
10122 _ACEOF
10123 cat confdefs.h >>conftest.$ac_ext
10124 cat >>conftest.$ac_ext <<_ACEOF
10125 /* end confdefs.h. */
10126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10128 #define $ac_func innocuous_$ac_func
10130 /* System header to define __stub macros and hopefully few prototypes,
10131 which can conflict with char $ac_func (); below.
10132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10133 <limits.h> exists even on freestanding compilers. */
10135 #ifdef __STDC__
10136 # include <limits.h>
10137 #else
10138 # include <assert.h>
10139 #endif
10141 #undef $ac_func
10143 /* Override any gcc2 internal prototype to avoid an error. */
10144 #ifdef __cplusplus
10145 extern "C"
10147 #endif
10148 /* We use char because int might match the return type of a gcc2
10149 builtin and then its argument prototype would still apply. */
10150 char $ac_func ();
10151 /* The GNU C library defines this for functions which it implements
10152 to always fail with ENOSYS. Some functions are actually named
10153 something starting with __ and the normal name is an alias. */
10154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10155 choke me
10156 #else
10157 char (*f) () = $ac_func;
10158 #endif
10159 #ifdef __cplusplus
10161 #endif
10164 main ()
10166 return f != $ac_func;
10168 return 0;
10170 _ACEOF
10171 rm -f conftest.$ac_objext conftest$ac_exeext
10172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10173 (eval $ac_link) 2>conftest.er1
10174 ac_status=$?
10175 grep -v '^ *+' conftest.er1 >conftest.err
10176 rm -f conftest.er1
10177 cat conftest.err >&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); } &&
10180 { ac_try='test -z "$ac_c_werror_flag"
10181 || test ! -s conftest.err'
10182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10183 (eval $ac_try) 2>&5
10184 ac_status=$?
10185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); }; } &&
10187 { ac_try='test -s conftest$ac_exeext'
10188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10189 (eval $ac_try) 2>&5
10190 ac_status=$?
10191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 (exit $ac_status); }; }; then
10193 eval "$as_ac_var=yes"
10194 else
10195 echo "$as_me: failed program was:" >&5
10196 sed 's/^/| /' conftest.$ac_ext >&5
10198 eval "$as_ac_var=no"
10200 rm -f conftest.err conftest.$ac_objext \
10201 conftest$ac_exeext conftest.$ac_ext
10203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10205 if test `eval echo '${'$as_ac_var'}'` = yes; then
10206 cat >>confdefs.h <<_ACEOF
10207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10208 _ACEOF
10211 done
10218 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10219 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10220 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10221 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10222 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 else
10227 ac_ext=cc
10228 ac_cpp='$CXXCPP $CPPFLAGS'
10229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10233 cat >conftest.$ac_ext <<_ACEOF
10234 /* confdefs.h. */
10235 _ACEOF
10236 cat confdefs.h >>conftest.$ac_ext
10237 cat >>conftest.$ac_ext <<_ACEOF
10238 /* end confdefs.h. */
10239 #include <math.h>
10240 #ifdef HAVE_IEEEFP_H
10241 #include <ieeefp.h>
10242 #endif
10245 main ()
10247 fpclass(0);
10249 return 0;
10251 _ACEOF
10252 rm -f conftest.$ac_objext
10253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10254 (eval $ac_compile) 2>conftest.er1
10255 ac_status=$?
10256 grep -v '^ *+' conftest.er1 >conftest.err
10257 rm -f conftest.er1
10258 cat conftest.err >&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); } &&
10261 { ac_try='test -z "$ac_cxx_werror_flag"
10262 || test ! -s conftest.err'
10263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10264 (eval $ac_try) 2>&5
10265 ac_status=$?
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); }; } &&
10268 { ac_try='test -s conftest.$ac_objext'
10269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10270 (eval $ac_try) 2>&5
10271 ac_status=$?
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; }; then
10274 glibcxx_cv_func_fpclass_use=yes
10275 else
10276 echo "$as_me: failed program was:" >&5
10277 sed 's/^/| /' conftest.$ac_ext >&5
10279 glibcxx_cv_func_fpclass_use=no
10281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10282 ac_ext=c
10283 ac_cpp='$CPP $CPPFLAGS'
10284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10293 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10295 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10297 for ac_func in fpclass
10299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10300 echo "$as_me:$LINENO: checking for $ac_func" >&5
10301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10302 if eval "test \"\${$as_ac_var+set}\" = set"; then
10303 echo $ECHO_N "(cached) $ECHO_C" >&6
10304 else
10305 if test x$gcc_no_link = xyes; then
10306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10308 { (exit 1); exit 1; }; }
10310 cat >conftest.$ac_ext <<_ACEOF
10311 /* confdefs.h. */
10312 _ACEOF
10313 cat confdefs.h >>conftest.$ac_ext
10314 cat >>conftest.$ac_ext <<_ACEOF
10315 /* end confdefs.h. */
10316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10318 #define $ac_func innocuous_$ac_func
10320 /* System header to define __stub macros and hopefully few prototypes,
10321 which can conflict with char $ac_func (); below.
10322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10323 <limits.h> exists even on freestanding compilers. */
10325 #ifdef __STDC__
10326 # include <limits.h>
10327 #else
10328 # include <assert.h>
10329 #endif
10331 #undef $ac_func
10333 /* Override any gcc2 internal prototype to avoid an error. */
10334 #ifdef __cplusplus
10335 extern "C"
10337 #endif
10338 /* We use char because int might match the return type of a gcc2
10339 builtin and then its argument prototype would still apply. */
10340 char $ac_func ();
10341 /* The GNU C library defines this for functions which it implements
10342 to always fail with ENOSYS. Some functions are actually named
10343 something starting with __ and the normal name is an alias. */
10344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10345 choke me
10346 #else
10347 char (*f) () = $ac_func;
10348 #endif
10349 #ifdef __cplusplus
10351 #endif
10354 main ()
10356 return f != $ac_func;
10358 return 0;
10360 _ACEOF
10361 rm -f conftest.$ac_objext conftest$ac_exeext
10362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10363 (eval $ac_link) 2>conftest.er1
10364 ac_status=$?
10365 grep -v '^ *+' conftest.er1 >conftest.err
10366 rm -f conftest.er1
10367 cat conftest.err >&5
10368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 (exit $ac_status); } &&
10370 { ac_try='test -z "$ac_c_werror_flag"
10371 || test ! -s conftest.err'
10372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10373 (eval $ac_try) 2>&5
10374 ac_status=$?
10375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376 (exit $ac_status); }; } &&
10377 { ac_try='test -s conftest$ac_exeext'
10378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10379 (eval $ac_try) 2>&5
10380 ac_status=$?
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); }; }; then
10383 eval "$as_ac_var=yes"
10384 else
10385 echo "$as_me: failed program was:" >&5
10386 sed 's/^/| /' conftest.$ac_ext >&5
10388 eval "$as_ac_var=no"
10390 rm -f conftest.err conftest.$ac_objext \
10391 conftest$ac_exeext conftest.$ac_ext
10393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10395 if test `eval echo '${'$as_ac_var'}'` = yes; then
10396 cat >>confdefs.h <<_ACEOF
10397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10398 _ACEOF
10401 done
10403 else
10405 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10406 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10407 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10408 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10409 echo $ECHO_N "(cached) $ECHO_C" >&6
10410 else
10414 ac_ext=cc
10415 ac_cpp='$CXXCPP $CPPFLAGS'
10416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10420 cat >conftest.$ac_ext <<_ACEOF
10421 /* confdefs.h. */
10422 _ACEOF
10423 cat confdefs.h >>conftest.$ac_ext
10424 cat >>conftest.$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10426 #include <math.h>
10427 #ifdef HAVE_IEEEFP_H
10428 #include <ieeefp.h>
10429 #endif
10432 main ()
10434 _fpclass(0);
10436 return 0;
10438 _ACEOF
10439 rm -f conftest.$ac_objext
10440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10441 (eval $ac_compile) 2>conftest.er1
10442 ac_status=$?
10443 grep -v '^ *+' conftest.er1 >conftest.err
10444 rm -f conftest.er1
10445 cat conftest.err >&5
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); } &&
10448 { ac_try='test -z "$ac_cxx_werror_flag"
10449 || test ! -s conftest.err'
10450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10451 (eval $ac_try) 2>&5
10452 ac_status=$?
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); }; } &&
10455 { ac_try='test -s conftest.$ac_objext'
10456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10457 (eval $ac_try) 2>&5
10458 ac_status=$?
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); }; }; then
10461 glibcxx_cv_func__fpclass_use=yes
10462 else
10463 echo "$as_me: failed program was:" >&5
10464 sed 's/^/| /' conftest.$ac_ext >&5
10466 glibcxx_cv_func__fpclass_use=no
10468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10469 ac_ext=c
10470 ac_cpp='$CPP $CPPFLAGS'
10471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10479 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10480 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10482 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10484 for ac_func in _fpclass
10486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10487 echo "$as_me:$LINENO: checking for $ac_func" >&5
10488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10489 if eval "test \"\${$as_ac_var+set}\" = set"; then
10490 echo $ECHO_N "(cached) $ECHO_C" >&6
10491 else
10492 if test x$gcc_no_link = xyes; then
10493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10495 { (exit 1); exit 1; }; }
10497 cat >conftest.$ac_ext <<_ACEOF
10498 /* confdefs.h. */
10499 _ACEOF
10500 cat confdefs.h >>conftest.$ac_ext
10501 cat >>conftest.$ac_ext <<_ACEOF
10502 /* end confdefs.h. */
10503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10505 #define $ac_func innocuous_$ac_func
10507 /* System header to define __stub macros and hopefully few prototypes,
10508 which can conflict with char $ac_func (); below.
10509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10510 <limits.h> exists even on freestanding compilers. */
10512 #ifdef __STDC__
10513 # include <limits.h>
10514 #else
10515 # include <assert.h>
10516 #endif
10518 #undef $ac_func
10520 /* Override any gcc2 internal prototype to avoid an error. */
10521 #ifdef __cplusplus
10522 extern "C"
10524 #endif
10525 /* We use char because int might match the return type of a gcc2
10526 builtin and then its argument prototype would still apply. */
10527 char $ac_func ();
10528 /* The GNU C library defines this for functions which it implements
10529 to always fail with ENOSYS. Some functions are actually named
10530 something starting with __ and the normal name is an alias. */
10531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10532 choke me
10533 #else
10534 char (*f) () = $ac_func;
10535 #endif
10536 #ifdef __cplusplus
10538 #endif
10541 main ()
10543 return f != $ac_func;
10545 return 0;
10547 _ACEOF
10548 rm -f conftest.$ac_objext conftest$ac_exeext
10549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10550 (eval $ac_link) 2>conftest.er1
10551 ac_status=$?
10552 grep -v '^ *+' conftest.er1 >conftest.err
10553 rm -f conftest.er1
10554 cat conftest.err >&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); } &&
10557 { ac_try='test -z "$ac_c_werror_flag"
10558 || test ! -s conftest.err'
10559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10560 (eval $ac_try) 2>&5
10561 ac_status=$?
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); }; } &&
10564 { ac_try='test -s conftest$ac_exeext'
10565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10566 (eval $ac_try) 2>&5
10567 ac_status=$?
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); }; }; then
10570 eval "$as_ac_var=yes"
10571 else
10572 echo "$as_me: failed program was:" >&5
10573 sed 's/^/| /' conftest.$ac_ext >&5
10575 eval "$as_ac_var=no"
10577 rm -f conftest.err conftest.$ac_objext \
10578 conftest$ac_exeext conftest.$ac_ext
10580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10582 if test `eval echo '${'$as_ac_var'}'` = yes; then
10583 cat >>confdefs.h <<_ACEOF
10584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10585 _ACEOF
10588 done
10595 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10596 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10597 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10598 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10599 echo $ECHO_N "(cached) $ECHO_C" >&6
10600 else
10604 ac_ext=cc
10605 ac_cpp='$CXXCPP $CPPFLAGS'
10606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10610 cat >conftest.$ac_ext <<_ACEOF
10611 /* confdefs.h. */
10612 _ACEOF
10613 cat confdefs.h >>conftest.$ac_ext
10614 cat >>conftest.$ac_ext <<_ACEOF
10615 /* end confdefs.h. */
10616 #include <math.h>
10617 #ifdef HAVE_IEEEFP_H
10618 #include <ieeefp.h>
10619 #endif
10622 main ()
10624 qfpclass(0);
10626 return 0;
10628 _ACEOF
10629 rm -f conftest.$ac_objext
10630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10631 (eval $ac_compile) 2>conftest.er1
10632 ac_status=$?
10633 grep -v '^ *+' conftest.er1 >conftest.err
10634 rm -f conftest.er1
10635 cat conftest.err >&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } &&
10638 { ac_try='test -z "$ac_cxx_werror_flag"
10639 || test ! -s conftest.err'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10642 ac_status=$?
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; } &&
10645 { ac_try='test -s conftest.$ac_objext'
10646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10647 (eval $ac_try) 2>&5
10648 ac_status=$?
10649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 (exit $ac_status); }; }; then
10651 glibcxx_cv_func_qfpclass_use=yes
10652 else
10653 echo "$as_me: failed program was:" >&5
10654 sed 's/^/| /' conftest.$ac_ext >&5
10656 glibcxx_cv_func_qfpclass_use=no
10658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10659 ac_ext=c
10660 ac_cpp='$CPP $CPPFLAGS'
10661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10669 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10670 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10672 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10674 for ac_func in qfpclass
10676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10677 echo "$as_me:$LINENO: checking for $ac_func" >&5
10678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10679 if eval "test \"\${$as_ac_var+set}\" = set"; then
10680 echo $ECHO_N "(cached) $ECHO_C" >&6
10681 else
10682 if test x$gcc_no_link = xyes; then
10683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10685 { (exit 1); exit 1; }; }
10687 cat >conftest.$ac_ext <<_ACEOF
10688 /* confdefs.h. */
10689 _ACEOF
10690 cat confdefs.h >>conftest.$ac_ext
10691 cat >>conftest.$ac_ext <<_ACEOF
10692 /* end confdefs.h. */
10693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10695 #define $ac_func innocuous_$ac_func
10697 /* System header to define __stub macros and hopefully few prototypes,
10698 which can conflict with char $ac_func (); below.
10699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10700 <limits.h> exists even on freestanding compilers. */
10702 #ifdef __STDC__
10703 # include <limits.h>
10704 #else
10705 # include <assert.h>
10706 #endif
10708 #undef $ac_func
10710 /* Override any gcc2 internal prototype to avoid an error. */
10711 #ifdef __cplusplus
10712 extern "C"
10714 #endif
10715 /* We use char because int might match the return type of a gcc2
10716 builtin and then its argument prototype would still apply. */
10717 char $ac_func ();
10718 /* The GNU C library defines this for functions which it implements
10719 to always fail with ENOSYS. Some functions are actually named
10720 something starting with __ and the normal name is an alias. */
10721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10722 choke me
10723 #else
10724 char (*f) () = $ac_func;
10725 #endif
10726 #ifdef __cplusplus
10728 #endif
10731 main ()
10733 return f != $ac_func;
10735 return 0;
10737 _ACEOF
10738 rm -f conftest.$ac_objext conftest$ac_exeext
10739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10740 (eval $ac_link) 2>conftest.er1
10741 ac_status=$?
10742 grep -v '^ *+' conftest.er1 >conftest.err
10743 rm -f conftest.er1
10744 cat conftest.err >&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); } &&
10747 { ac_try='test -z "$ac_c_werror_flag"
10748 || test ! -s conftest.err'
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5
10751 ac_status=$?
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; } &&
10754 { ac_try='test -s conftest$ac_exeext'
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5
10757 ac_status=$?
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; }; then
10760 eval "$as_ac_var=yes"
10761 else
10762 echo "$as_me: failed program was:" >&5
10763 sed 's/^/| /' conftest.$ac_ext >&5
10765 eval "$as_ac_var=no"
10767 rm -f conftest.err conftest.$ac_objext \
10768 conftest$ac_exeext conftest.$ac_ext
10770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10772 if test `eval echo '${'$as_ac_var'}'` = yes; then
10773 cat >>confdefs.h <<_ACEOF
10774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10775 _ACEOF
10778 done
10780 else
10782 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10783 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10784 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10785 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10786 echo $ECHO_N "(cached) $ECHO_C" >&6
10787 else
10791 ac_ext=cc
10792 ac_cpp='$CXXCPP $CPPFLAGS'
10793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10797 cat >conftest.$ac_ext <<_ACEOF
10798 /* confdefs.h. */
10799 _ACEOF
10800 cat confdefs.h >>conftest.$ac_ext
10801 cat >>conftest.$ac_ext <<_ACEOF
10802 /* end confdefs.h. */
10803 #include <math.h>
10804 #ifdef HAVE_IEEEFP_H
10805 #include <ieeefp.h>
10806 #endif
10809 main ()
10811 _qfpclass(0);
10813 return 0;
10815 _ACEOF
10816 rm -f conftest.$ac_objext
10817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10818 (eval $ac_compile) 2>conftest.er1
10819 ac_status=$?
10820 grep -v '^ *+' conftest.er1 >conftest.err
10821 rm -f conftest.er1
10822 cat conftest.err >&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); } &&
10825 { ac_try='test -z "$ac_cxx_werror_flag"
10826 || test ! -s conftest.err'
10827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10828 (eval $ac_try) 2>&5
10829 ac_status=$?
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); }; } &&
10832 { ac_try='test -s conftest.$ac_objext'
10833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10834 (eval $ac_try) 2>&5
10835 ac_status=$?
10836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837 (exit $ac_status); }; }; then
10838 glibcxx_cv_func__qfpclass_use=yes
10839 else
10840 echo "$as_me: failed program was:" >&5
10841 sed 's/^/| /' conftest.$ac_ext >&5
10843 glibcxx_cv_func__qfpclass_use=no
10845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10846 ac_ext=c
10847 ac_cpp='$CPP $CPPFLAGS'
10848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10856 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10857 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10859 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10861 for ac_func in _qfpclass
10863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10864 echo "$as_me:$LINENO: checking for $ac_func" >&5
10865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10866 if eval "test \"\${$as_ac_var+set}\" = set"; then
10867 echo $ECHO_N "(cached) $ECHO_C" >&6
10868 else
10869 if test x$gcc_no_link = xyes; then
10870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10872 { (exit 1); exit 1; }; }
10874 cat >conftest.$ac_ext <<_ACEOF
10875 /* confdefs.h. */
10876 _ACEOF
10877 cat confdefs.h >>conftest.$ac_ext
10878 cat >>conftest.$ac_ext <<_ACEOF
10879 /* end confdefs.h. */
10880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10882 #define $ac_func innocuous_$ac_func
10884 /* System header to define __stub macros and hopefully few prototypes,
10885 which can conflict with char $ac_func (); below.
10886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10887 <limits.h> exists even on freestanding compilers. */
10889 #ifdef __STDC__
10890 # include <limits.h>
10891 #else
10892 # include <assert.h>
10893 #endif
10895 #undef $ac_func
10897 /* Override any gcc2 internal prototype to avoid an error. */
10898 #ifdef __cplusplus
10899 extern "C"
10901 #endif
10902 /* We use char because int might match the return type of a gcc2
10903 builtin and then its argument prototype would still apply. */
10904 char $ac_func ();
10905 /* The GNU C library defines this for functions which it implements
10906 to always fail with ENOSYS. Some functions are actually named
10907 something starting with __ and the normal name is an alias. */
10908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10909 choke me
10910 #else
10911 char (*f) () = $ac_func;
10912 #endif
10913 #ifdef __cplusplus
10915 #endif
10918 main ()
10920 return f != $ac_func;
10922 return 0;
10924 _ACEOF
10925 rm -f conftest.$ac_objext conftest$ac_exeext
10926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10927 (eval $ac_link) 2>conftest.er1
10928 ac_status=$?
10929 grep -v '^ *+' conftest.er1 >conftest.err
10930 rm -f conftest.er1
10931 cat conftest.err >&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } &&
10934 { ac_try='test -z "$ac_c_werror_flag"
10935 || test ! -s conftest.err'
10936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10937 (eval $ac_try) 2>&5
10938 ac_status=$?
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); }; } &&
10941 { ac_try='test -s conftest$ac_exeext'
10942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10943 (eval $ac_try) 2>&5
10944 ac_status=$?
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }; }; then
10947 eval "$as_ac_var=yes"
10948 else
10949 echo "$as_me: failed program was:" >&5
10950 sed 's/^/| /' conftest.$ac_ext >&5
10952 eval "$as_ac_var=no"
10954 rm -f conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10959 if test `eval echo '${'$as_ac_var'}'` = yes; then
10960 cat >>confdefs.h <<_ACEOF
10961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10962 _ACEOF
10965 done
10972 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10973 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10974 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10975 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10976 echo $ECHO_N "(cached) $ECHO_C" >&6
10977 else
10981 ac_ext=cc
10982 ac_cpp='$CXXCPP $CPPFLAGS'
10983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10987 cat >conftest.$ac_ext <<_ACEOF
10988 /* confdefs.h. */
10989 _ACEOF
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10993 #include <math.h>
10995 main ()
10997 hypot(0, 0);
10999 return 0;
11001 _ACEOF
11002 rm -f conftest.$ac_objext
11003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11004 (eval $ac_compile) 2>conftest.er1
11005 ac_status=$?
11006 grep -v '^ *+' conftest.er1 >conftest.err
11007 rm -f conftest.er1
11008 cat conftest.err >&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } &&
11011 { ac_try='test -z "$ac_cxx_werror_flag"
11012 || test ! -s conftest.err'
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5
11015 ac_status=$?
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; } &&
11018 { ac_try='test -s conftest.$ac_objext'
11019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11020 (eval $ac_try) 2>&5
11021 ac_status=$?
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; }; then
11024 glibcxx_cv_func_hypot_use=yes
11025 else
11026 echo "$as_me: failed program was:" >&5
11027 sed 's/^/| /' conftest.$ac_ext >&5
11029 glibcxx_cv_func_hypot_use=no
11031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11032 ac_ext=c
11033 ac_cpp='$CPP $CPPFLAGS'
11034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11042 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11043 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11045 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11047 for ac_func in hypot
11049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11050 echo "$as_me:$LINENO: checking for $ac_func" >&5
11051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11052 if eval "test \"\${$as_ac_var+set}\" = set"; then
11053 echo $ECHO_N "(cached) $ECHO_C" >&6
11054 else
11055 if test x$gcc_no_link = xyes; then
11056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11058 { (exit 1); exit 1; }; }
11060 cat >conftest.$ac_ext <<_ACEOF
11061 /* confdefs.h. */
11062 _ACEOF
11063 cat confdefs.h >>conftest.$ac_ext
11064 cat >>conftest.$ac_ext <<_ACEOF
11065 /* end confdefs.h. */
11066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11068 #define $ac_func innocuous_$ac_func
11070 /* System header to define __stub macros and hopefully few prototypes,
11071 which can conflict with char $ac_func (); below.
11072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11073 <limits.h> exists even on freestanding compilers. */
11075 #ifdef __STDC__
11076 # include <limits.h>
11077 #else
11078 # include <assert.h>
11079 #endif
11081 #undef $ac_func
11083 /* Override any gcc2 internal prototype to avoid an error. */
11084 #ifdef __cplusplus
11085 extern "C"
11087 #endif
11088 /* We use char because int might match the return type of a gcc2
11089 builtin and then its argument prototype would still apply. */
11090 char $ac_func ();
11091 /* The GNU C library defines this for functions which it implements
11092 to always fail with ENOSYS. Some functions are actually named
11093 something starting with __ and the normal name is an alias. */
11094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11095 choke me
11096 #else
11097 char (*f) () = $ac_func;
11098 #endif
11099 #ifdef __cplusplus
11101 #endif
11104 main ()
11106 return f != $ac_func;
11108 return 0;
11110 _ACEOF
11111 rm -f conftest.$ac_objext conftest$ac_exeext
11112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11113 (eval $ac_link) 2>conftest.er1
11114 ac_status=$?
11115 grep -v '^ *+' conftest.er1 >conftest.err
11116 rm -f conftest.er1
11117 cat conftest.err >&5
11118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11119 (exit $ac_status); } &&
11120 { ac_try='test -z "$ac_c_werror_flag"
11121 || test ! -s conftest.err'
11122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11123 (eval $ac_try) 2>&5
11124 ac_status=$?
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); }; } &&
11127 { ac_try='test -s conftest$ac_exeext'
11128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129 (eval $ac_try) 2>&5
11130 ac_status=$?
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); }; }; then
11133 eval "$as_ac_var=yes"
11134 else
11135 echo "$as_me: failed program was:" >&5
11136 sed 's/^/| /' conftest.$ac_ext >&5
11138 eval "$as_ac_var=no"
11140 rm -f conftest.err conftest.$ac_objext \
11141 conftest$ac_exeext conftest.$ac_ext
11143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11145 if test `eval echo '${'$as_ac_var'}'` = yes; then
11146 cat >>confdefs.h <<_ACEOF
11147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11148 _ACEOF
11151 done
11153 else
11155 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11156 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11157 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11158 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11159 echo $ECHO_N "(cached) $ECHO_C" >&6
11160 else
11164 ac_ext=cc
11165 ac_cpp='$CXXCPP $CPPFLAGS'
11166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11170 cat >conftest.$ac_ext <<_ACEOF
11171 /* confdefs.h. */
11172 _ACEOF
11173 cat confdefs.h >>conftest.$ac_ext
11174 cat >>conftest.$ac_ext <<_ACEOF
11175 /* end confdefs.h. */
11176 #include <math.h>
11178 main ()
11180 _hypot(0, 0);
11182 return 0;
11184 _ACEOF
11185 rm -f conftest.$ac_objext
11186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11187 (eval $ac_compile) 2>conftest.er1
11188 ac_status=$?
11189 grep -v '^ *+' conftest.er1 >conftest.err
11190 rm -f conftest.er1
11191 cat conftest.err >&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } &&
11194 { ac_try='test -z "$ac_cxx_werror_flag"
11195 || test ! -s conftest.err'
11196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5
11198 ac_status=$?
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; } &&
11201 { ac_try='test -s conftest.$ac_objext'
11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203 (eval $ac_try) 2>&5
11204 ac_status=$?
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }; }; then
11207 glibcxx_cv_func__hypot_use=yes
11208 else
11209 echo "$as_me: failed program was:" >&5
11210 sed 's/^/| /' conftest.$ac_ext >&5
11212 glibcxx_cv_func__hypot_use=no
11214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11215 ac_ext=c
11216 ac_cpp='$CPP $CPPFLAGS'
11217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11226 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11228 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11230 for ac_func in _hypot
11232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11233 echo "$as_me:$LINENO: checking for $ac_func" >&5
11234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11235 if eval "test \"\${$as_ac_var+set}\" = set"; then
11236 echo $ECHO_N "(cached) $ECHO_C" >&6
11237 else
11238 if test x$gcc_no_link = xyes; then
11239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11241 { (exit 1); exit 1; }; }
11243 cat >conftest.$ac_ext <<_ACEOF
11244 /* confdefs.h. */
11245 _ACEOF
11246 cat confdefs.h >>conftest.$ac_ext
11247 cat >>conftest.$ac_ext <<_ACEOF
11248 /* end confdefs.h. */
11249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11251 #define $ac_func innocuous_$ac_func
11253 /* System header to define __stub macros and hopefully few prototypes,
11254 which can conflict with char $ac_func (); below.
11255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11256 <limits.h> exists even on freestanding compilers. */
11258 #ifdef __STDC__
11259 # include <limits.h>
11260 #else
11261 # include <assert.h>
11262 #endif
11264 #undef $ac_func
11266 /* Override any gcc2 internal prototype to avoid an error. */
11267 #ifdef __cplusplus
11268 extern "C"
11270 #endif
11271 /* We use char because int might match the return type of a gcc2
11272 builtin and then its argument prototype would still apply. */
11273 char $ac_func ();
11274 /* The GNU C library defines this for functions which it implements
11275 to always fail with ENOSYS. Some functions are actually named
11276 something starting with __ and the normal name is an alias. */
11277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11278 choke me
11279 #else
11280 char (*f) () = $ac_func;
11281 #endif
11282 #ifdef __cplusplus
11284 #endif
11287 main ()
11289 return f != $ac_func;
11291 return 0;
11293 _ACEOF
11294 rm -f conftest.$ac_objext conftest$ac_exeext
11295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11296 (eval $ac_link) 2>conftest.er1
11297 ac_status=$?
11298 grep -v '^ *+' conftest.er1 >conftest.err
11299 rm -f conftest.er1
11300 cat conftest.err >&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); } &&
11303 { ac_try='test -z "$ac_c_werror_flag"
11304 || test ! -s conftest.err'
11305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11306 (eval $ac_try) 2>&5
11307 ac_status=$?
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); }; } &&
11310 { ac_try='test -s conftest$ac_exeext'
11311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11312 (eval $ac_try) 2>&5
11313 ac_status=$?
11314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315 (exit $ac_status); }; }; then
11316 eval "$as_ac_var=yes"
11317 else
11318 echo "$as_me: failed program was:" >&5
11319 sed 's/^/| /' conftest.$ac_ext >&5
11321 eval "$as_ac_var=no"
11323 rm -f conftest.err conftest.$ac_objext \
11324 conftest$ac_exeext conftest.$ac_ext
11326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11328 if test `eval echo '${'$as_ac_var'}'` = yes; then
11329 cat >>confdefs.h <<_ACEOF
11330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11331 _ACEOF
11334 done
11341 echo "$as_me:$LINENO: checking for float trig functions" >&5
11342 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11343 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11344 echo $ECHO_N "(cached) $ECHO_C" >&6
11345 else
11349 ac_ext=cc
11350 ac_cpp='$CXXCPP $CPPFLAGS'
11351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11355 cat >conftest.$ac_ext <<_ACEOF
11356 /* confdefs.h. */
11357 _ACEOF
11358 cat confdefs.h >>conftest.$ac_ext
11359 cat >>conftest.$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361 #include <math.h>
11363 main ()
11365 `for x in acosf asinf atanf \
11366 cosf sinf tanf \
11367 coshf sinhf tanhf; do echo "$x (0);"; done`
11369 return 0;
11371 _ACEOF
11372 rm -f conftest.$ac_objext
11373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11374 (eval $ac_compile) 2>conftest.er1
11375 ac_status=$?
11376 grep -v '^ *+' conftest.er1 >conftest.err
11377 rm -f conftest.er1
11378 cat conftest.err >&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); } &&
11381 { ac_try='test -z "$ac_cxx_werror_flag"
11382 || test ! -s conftest.err'
11383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11384 (eval $ac_try) 2>&5
11385 ac_status=$?
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); }; } &&
11388 { ac_try='test -s conftest.$ac_objext'
11389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390 (eval $ac_try) 2>&5
11391 ac_status=$?
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }; }; then
11394 glibcxx_cv_func_float_trig_use=yes
11395 else
11396 echo "$as_me: failed program was:" >&5
11397 sed 's/^/| /' conftest.$ac_ext >&5
11399 glibcxx_cv_func_float_trig_use=no
11401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11402 ac_ext=c
11403 ac_cpp='$CPP $CPPFLAGS'
11404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11410 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11411 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11412 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11422 for ac_func in acosf asinf atanf \
11423 cosf sinf tanf \
11424 coshf sinhf tanhf
11426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11427 echo "$as_me:$LINENO: checking for $ac_func" >&5
11428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11429 if eval "test \"\${$as_ac_var+set}\" = set"; then
11430 echo $ECHO_N "(cached) $ECHO_C" >&6
11431 else
11432 if test x$gcc_no_link = xyes; then
11433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11435 { (exit 1); exit 1; }; }
11437 cat >conftest.$ac_ext <<_ACEOF
11438 /* confdefs.h. */
11439 _ACEOF
11440 cat confdefs.h >>conftest.$ac_ext
11441 cat >>conftest.$ac_ext <<_ACEOF
11442 /* end confdefs.h. */
11443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11445 #define $ac_func innocuous_$ac_func
11447 /* System header to define __stub macros and hopefully few prototypes,
11448 which can conflict with char $ac_func (); below.
11449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11450 <limits.h> exists even on freestanding compilers. */
11452 #ifdef __STDC__
11453 # include <limits.h>
11454 #else
11455 # include <assert.h>
11456 #endif
11458 #undef $ac_func
11460 /* Override any gcc2 internal prototype to avoid an error. */
11461 #ifdef __cplusplus
11462 extern "C"
11464 #endif
11465 /* We use char because int might match the return type of a gcc2
11466 builtin and then its argument prototype would still apply. */
11467 char $ac_func ();
11468 /* The GNU C library defines this for functions which it implements
11469 to always fail with ENOSYS. Some functions are actually named
11470 something starting with __ and the normal name is an alias. */
11471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11472 choke me
11473 #else
11474 char (*f) () = $ac_func;
11475 #endif
11476 #ifdef __cplusplus
11478 #endif
11481 main ()
11483 return f != $ac_func;
11485 return 0;
11487 _ACEOF
11488 rm -f conftest.$ac_objext conftest$ac_exeext
11489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11490 (eval $ac_link) 2>conftest.er1
11491 ac_status=$?
11492 grep -v '^ *+' conftest.er1 >conftest.err
11493 rm -f conftest.er1
11494 cat conftest.err >&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); } &&
11497 { ac_try='test -z "$ac_c_werror_flag"
11498 || test ! -s conftest.err'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11501 ac_status=$?
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; } &&
11504 { ac_try='test -s conftest$ac_exeext'
11505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11506 (eval $ac_try) 2>&5
11507 ac_status=$?
11508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509 (exit $ac_status); }; }; then
11510 eval "$as_ac_var=yes"
11511 else
11512 echo "$as_me: failed program was:" >&5
11513 sed 's/^/| /' conftest.$ac_ext >&5
11515 eval "$as_ac_var=no"
11517 rm -f conftest.err conftest.$ac_objext \
11518 conftest$ac_exeext conftest.$ac_ext
11520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11522 if test `eval echo '${'$as_ac_var'}'` = yes; then
11523 cat >>confdefs.h <<_ACEOF
11524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11525 _ACEOF
11528 done
11533 echo "$as_me:$LINENO: checking for float round functions" >&5
11534 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11535 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11536 echo $ECHO_N "(cached) $ECHO_C" >&6
11537 else
11541 ac_ext=cc
11542 ac_cpp='$CXXCPP $CPPFLAGS'
11543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11547 cat >conftest.$ac_ext <<_ACEOF
11548 /* confdefs.h. */
11549 _ACEOF
11550 cat confdefs.h >>conftest.$ac_ext
11551 cat >>conftest.$ac_ext <<_ACEOF
11552 /* end confdefs.h. */
11553 #include <math.h>
11555 main ()
11557 `for x in ceilf floorf; do echo "$x (0);"; done`
11559 return 0;
11561 _ACEOF
11562 rm -f conftest.$ac_objext
11563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11564 (eval $ac_compile) 2>conftest.er1
11565 ac_status=$?
11566 grep -v '^ *+' conftest.er1 >conftest.err
11567 rm -f conftest.er1
11568 cat conftest.err >&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); } &&
11571 { ac_try='test -z "$ac_cxx_werror_flag"
11572 || test ! -s conftest.err'
11573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11575 ac_status=$?
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; } &&
11578 { ac_try='test -s conftest.$ac_objext'
11579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11580 (eval $ac_try) 2>&5
11581 ac_status=$?
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); }; }; then
11584 glibcxx_cv_func_float_round_use=yes
11585 else
11586 echo "$as_me: failed program was:" >&5
11587 sed 's/^/| /' conftest.$ac_ext >&5
11589 glibcxx_cv_func_float_round_use=no
11591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11592 ac_ext=c
11593 ac_cpp='$CPP $CPPFLAGS'
11594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11600 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11601 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11602 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11605 for ac_func in ceilf floorf
11607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11608 echo "$as_me:$LINENO: checking for $ac_func" >&5
11609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11610 if eval "test \"\${$as_ac_var+set}\" = set"; then
11611 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 else
11613 if test x$gcc_no_link = xyes; then
11614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11616 { (exit 1); exit 1; }; }
11618 cat >conftest.$ac_ext <<_ACEOF
11619 /* confdefs.h. */
11620 _ACEOF
11621 cat confdefs.h >>conftest.$ac_ext
11622 cat >>conftest.$ac_ext <<_ACEOF
11623 /* end confdefs.h. */
11624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11626 #define $ac_func innocuous_$ac_func
11628 /* System header to define __stub macros and hopefully few prototypes,
11629 which can conflict with char $ac_func (); below.
11630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11631 <limits.h> exists even on freestanding compilers. */
11633 #ifdef __STDC__
11634 # include <limits.h>
11635 #else
11636 # include <assert.h>
11637 #endif
11639 #undef $ac_func
11641 /* Override any gcc2 internal prototype to avoid an error. */
11642 #ifdef __cplusplus
11643 extern "C"
11645 #endif
11646 /* We use char because int might match the return type of a gcc2
11647 builtin and then its argument prototype would still apply. */
11648 char $ac_func ();
11649 /* The GNU C library defines this for functions which it implements
11650 to always fail with ENOSYS. Some functions are actually named
11651 something starting with __ and the normal name is an alias. */
11652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11653 choke me
11654 #else
11655 char (*f) () = $ac_func;
11656 #endif
11657 #ifdef __cplusplus
11659 #endif
11662 main ()
11664 return f != $ac_func;
11666 return 0;
11668 _ACEOF
11669 rm -f conftest.$ac_objext conftest$ac_exeext
11670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11671 (eval $ac_link) 2>conftest.er1
11672 ac_status=$?
11673 grep -v '^ *+' conftest.er1 >conftest.err
11674 rm -f conftest.er1
11675 cat conftest.err >&5
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); } &&
11678 { ac_try='test -z "$ac_c_werror_flag"
11679 || test ! -s conftest.err'
11680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11681 (eval $ac_try) 2>&5
11682 ac_status=$?
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); }; } &&
11685 { ac_try='test -s conftest$ac_exeext'
11686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11687 (eval $ac_try) 2>&5
11688 ac_status=$?
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); }; }; then
11691 eval "$as_ac_var=yes"
11692 else
11693 echo "$as_me: failed program was:" >&5
11694 sed 's/^/| /' conftest.$ac_ext >&5
11696 eval "$as_ac_var=no"
11698 rm -f conftest.err conftest.$ac_objext \
11699 conftest$ac_exeext conftest.$ac_ext
11701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11703 if test `eval echo '${'$as_ac_var'}'` = yes; then
11704 cat >>confdefs.h <<_ACEOF
11705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11706 _ACEOF
11709 done
11715 echo "$as_me:$LINENO: checking for expf declaration" >&5
11716 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11717 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11718 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11719 echo $ECHO_N "(cached) $ECHO_C" >&6
11720 else
11724 ac_ext=cc
11725 ac_cpp='$CXXCPP $CPPFLAGS'
11726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11730 cat >conftest.$ac_ext <<_ACEOF
11731 /* confdefs.h. */
11732 _ACEOF
11733 cat confdefs.h >>conftest.$ac_ext
11734 cat >>conftest.$ac_ext <<_ACEOF
11735 /* end confdefs.h. */
11736 #include <math.h>
11737 #ifdef HAVE_IEEEFP_H
11738 #include <ieeefp.h>
11739 #endif
11742 main ()
11744 expf(0);
11746 return 0;
11748 _ACEOF
11749 rm -f conftest.$ac_objext
11750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11751 (eval $ac_compile) 2>conftest.er1
11752 ac_status=$?
11753 grep -v '^ *+' conftest.er1 >conftest.err
11754 rm -f conftest.er1
11755 cat conftest.err >&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } &&
11758 { ac_try='test -z "$ac_cxx_werror_flag"
11759 || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11762 ac_status=$?
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11768 ac_status=$?
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 glibcxx_cv_func_expf_use=yes
11772 else
11773 echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.$ac_ext >&5
11776 glibcxx_cv_func_expf_use=no
11778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11779 ac_ext=c
11780 ac_cpp='$CPP $CPPFLAGS'
11781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11789 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11790 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11792 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11794 for ac_func in expf
11796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11797 echo "$as_me:$LINENO: checking for $ac_func" >&5
11798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11799 if eval "test \"\${$as_ac_var+set}\" = set"; then
11800 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 else
11802 if test x$gcc_no_link = xyes; then
11803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11805 { (exit 1); exit 1; }; }
11807 cat >conftest.$ac_ext <<_ACEOF
11808 /* confdefs.h. */
11809 _ACEOF
11810 cat confdefs.h >>conftest.$ac_ext
11811 cat >>conftest.$ac_ext <<_ACEOF
11812 /* end confdefs.h. */
11813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11815 #define $ac_func innocuous_$ac_func
11817 /* System header to define __stub macros and hopefully few prototypes,
11818 which can conflict with char $ac_func (); below.
11819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11820 <limits.h> exists even on freestanding compilers. */
11822 #ifdef __STDC__
11823 # include <limits.h>
11824 #else
11825 # include <assert.h>
11826 #endif
11828 #undef $ac_func
11830 /* Override any gcc2 internal prototype to avoid an error. */
11831 #ifdef __cplusplus
11832 extern "C"
11834 #endif
11835 /* We use char because int might match the return type of a gcc2
11836 builtin and then its argument prototype would still apply. */
11837 char $ac_func ();
11838 /* The GNU C library defines this for functions which it implements
11839 to always fail with ENOSYS. Some functions are actually named
11840 something starting with __ and the normal name is an alias. */
11841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11842 choke me
11843 #else
11844 char (*f) () = $ac_func;
11845 #endif
11846 #ifdef __cplusplus
11848 #endif
11851 main ()
11853 return f != $ac_func;
11855 return 0;
11857 _ACEOF
11858 rm -f conftest.$ac_objext conftest$ac_exeext
11859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11860 (eval $ac_link) 2>conftest.er1
11861 ac_status=$?
11862 grep -v '^ *+' conftest.er1 >conftest.err
11863 rm -f conftest.er1
11864 cat conftest.err >&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); } &&
11867 { ac_try='test -z "$ac_c_werror_flag"
11868 || test ! -s conftest.err'
11869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11870 (eval $ac_try) 2>&5
11871 ac_status=$?
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); }; } &&
11874 { ac_try='test -s conftest$ac_exeext'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11877 ac_status=$?
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; }; then
11880 eval "$as_ac_var=yes"
11881 else
11882 echo "$as_me: failed program was:" >&5
11883 sed 's/^/| /' conftest.$ac_ext >&5
11885 eval "$as_ac_var=no"
11887 rm -f conftest.err conftest.$ac_objext \
11888 conftest$ac_exeext conftest.$ac_ext
11890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11892 if test `eval echo '${'$as_ac_var'}'` = yes; then
11893 cat >>confdefs.h <<_ACEOF
11894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11895 _ACEOF
11898 done
11900 else
11902 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11903 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11904 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11905 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11906 echo $ECHO_N "(cached) $ECHO_C" >&6
11907 else
11911 ac_ext=cc
11912 ac_cpp='$CXXCPP $CPPFLAGS'
11913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11917 cat >conftest.$ac_ext <<_ACEOF
11918 /* confdefs.h. */
11919 _ACEOF
11920 cat confdefs.h >>conftest.$ac_ext
11921 cat >>conftest.$ac_ext <<_ACEOF
11922 /* end confdefs.h. */
11923 #include <math.h>
11924 #ifdef HAVE_IEEEFP_H
11925 #include <ieeefp.h>
11926 #endif
11929 main ()
11931 _expf(0);
11933 return 0;
11935 _ACEOF
11936 rm -f conftest.$ac_objext
11937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11938 (eval $ac_compile) 2>conftest.er1
11939 ac_status=$?
11940 grep -v '^ *+' conftest.er1 >conftest.err
11941 rm -f conftest.er1
11942 cat conftest.err >&5
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); } &&
11945 { ac_try='test -z "$ac_cxx_werror_flag"
11946 || test ! -s conftest.err'
11947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11949 ac_status=$?
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; } &&
11952 { ac_try='test -s conftest.$ac_objext'
11953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954 (eval $ac_try) 2>&5
11955 ac_status=$?
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); }; }; then
11958 glibcxx_cv_func__expf_use=yes
11959 else
11960 echo "$as_me: failed program was:" >&5
11961 sed 's/^/| /' conftest.$ac_ext >&5
11963 glibcxx_cv_func__expf_use=no
11965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11966 ac_ext=c
11967 ac_cpp='$CPP $CPPFLAGS'
11968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11976 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11977 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11979 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11981 for ac_func in _expf
11983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11984 echo "$as_me:$LINENO: checking for $ac_func" >&5
11985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11986 if eval "test \"\${$as_ac_var+set}\" = set"; then
11987 echo $ECHO_N "(cached) $ECHO_C" >&6
11988 else
11989 if test x$gcc_no_link = xyes; then
11990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11992 { (exit 1); exit 1; }; }
11994 cat >conftest.$ac_ext <<_ACEOF
11995 /* confdefs.h. */
11996 _ACEOF
11997 cat confdefs.h >>conftest.$ac_ext
11998 cat >>conftest.$ac_ext <<_ACEOF
11999 /* end confdefs.h. */
12000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12002 #define $ac_func innocuous_$ac_func
12004 /* System header to define __stub macros and hopefully few prototypes,
12005 which can conflict with char $ac_func (); below.
12006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12007 <limits.h> exists even on freestanding compilers. */
12009 #ifdef __STDC__
12010 # include <limits.h>
12011 #else
12012 # include <assert.h>
12013 #endif
12015 #undef $ac_func
12017 /* Override any gcc2 internal prototype to avoid an error. */
12018 #ifdef __cplusplus
12019 extern "C"
12021 #endif
12022 /* We use char because int might match the return type of a gcc2
12023 builtin and then its argument prototype would still apply. */
12024 char $ac_func ();
12025 /* The GNU C library defines this for functions which it implements
12026 to always fail with ENOSYS. Some functions are actually named
12027 something starting with __ and the normal name is an alias. */
12028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12029 choke me
12030 #else
12031 char (*f) () = $ac_func;
12032 #endif
12033 #ifdef __cplusplus
12035 #endif
12038 main ()
12040 return f != $ac_func;
12042 return 0;
12044 _ACEOF
12045 rm -f conftest.$ac_objext conftest$ac_exeext
12046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12047 (eval $ac_link) 2>conftest.er1
12048 ac_status=$?
12049 grep -v '^ *+' conftest.er1 >conftest.err
12050 rm -f conftest.er1
12051 cat conftest.err >&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); } &&
12054 { ac_try='test -z "$ac_c_werror_flag"
12055 || test ! -s conftest.err'
12056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12057 (eval $ac_try) 2>&5
12058 ac_status=$?
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); }; } &&
12061 { ac_try='test -s conftest$ac_exeext'
12062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12063 (eval $ac_try) 2>&5
12064 ac_status=$?
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; }; then
12067 eval "$as_ac_var=yes"
12068 else
12069 echo "$as_me: failed program was:" >&5
12070 sed 's/^/| /' conftest.$ac_ext >&5
12072 eval "$as_ac_var=no"
12074 rm -f conftest.err conftest.$ac_objext \
12075 conftest$ac_exeext conftest.$ac_ext
12077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12079 if test `eval echo '${'$as_ac_var'}'` = yes; then
12080 cat >>confdefs.h <<_ACEOF
12081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12082 _ACEOF
12085 done
12092 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12093 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12094 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12095 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12097 else
12101 ac_ext=cc
12102 ac_cpp='$CXXCPP $CPPFLAGS'
12103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12107 cat >conftest.$ac_ext <<_ACEOF
12108 /* confdefs.h. */
12109 _ACEOF
12110 cat confdefs.h >>conftest.$ac_ext
12111 cat >>conftest.$ac_ext <<_ACEOF
12112 /* end confdefs.h. */
12113 #include <math.h>
12114 #ifdef HAVE_IEEEFP_H
12115 #include <ieeefp.h>
12116 #endif
12119 main ()
12121 isnanf(0);
12123 return 0;
12125 _ACEOF
12126 rm -f conftest.$ac_objext
12127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12128 (eval $ac_compile) 2>conftest.er1
12129 ac_status=$?
12130 grep -v '^ *+' conftest.er1 >conftest.err
12131 rm -f conftest.er1
12132 cat conftest.err >&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } &&
12135 { ac_try='test -z "$ac_cxx_werror_flag"
12136 || test ! -s conftest.err'
12137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12138 (eval $ac_try) 2>&5
12139 ac_status=$?
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); }; } &&
12142 { ac_try='test -s conftest.$ac_objext'
12143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12144 (eval $ac_try) 2>&5
12145 ac_status=$?
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); }; }; then
12148 glibcxx_cv_func_isnanf_use=yes
12149 else
12150 echo "$as_me: failed program was:" >&5
12151 sed 's/^/| /' conftest.$ac_ext >&5
12153 glibcxx_cv_func_isnanf_use=no
12155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12156 ac_ext=c
12157 ac_cpp='$CPP $CPPFLAGS'
12158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12166 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12167 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12169 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12171 for ac_func in isnanf
12173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12174 echo "$as_me:$LINENO: checking for $ac_func" >&5
12175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12176 if eval "test \"\${$as_ac_var+set}\" = set"; then
12177 echo $ECHO_N "(cached) $ECHO_C" >&6
12178 else
12179 if test x$gcc_no_link = xyes; then
12180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12182 { (exit 1); exit 1; }; }
12184 cat >conftest.$ac_ext <<_ACEOF
12185 /* confdefs.h. */
12186 _ACEOF
12187 cat confdefs.h >>conftest.$ac_ext
12188 cat >>conftest.$ac_ext <<_ACEOF
12189 /* end confdefs.h. */
12190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12192 #define $ac_func innocuous_$ac_func
12194 /* System header to define __stub macros and hopefully few prototypes,
12195 which can conflict with char $ac_func (); below.
12196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12197 <limits.h> exists even on freestanding compilers. */
12199 #ifdef __STDC__
12200 # include <limits.h>
12201 #else
12202 # include <assert.h>
12203 #endif
12205 #undef $ac_func
12207 /* Override any gcc2 internal prototype to avoid an error. */
12208 #ifdef __cplusplus
12209 extern "C"
12211 #endif
12212 /* We use char because int might match the return type of a gcc2
12213 builtin and then its argument prototype would still apply. */
12214 char $ac_func ();
12215 /* The GNU C library defines this for functions which it implements
12216 to always fail with ENOSYS. Some functions are actually named
12217 something starting with __ and the normal name is an alias. */
12218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12219 choke me
12220 #else
12221 char (*f) () = $ac_func;
12222 #endif
12223 #ifdef __cplusplus
12225 #endif
12228 main ()
12230 return f != $ac_func;
12232 return 0;
12234 _ACEOF
12235 rm -f conftest.$ac_objext conftest$ac_exeext
12236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12237 (eval $ac_link) 2>conftest.er1
12238 ac_status=$?
12239 grep -v '^ *+' conftest.er1 >conftest.err
12240 rm -f conftest.er1
12241 cat conftest.err >&5
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); } &&
12244 { ac_try='test -z "$ac_c_werror_flag"
12245 || test ! -s conftest.err'
12246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12247 (eval $ac_try) 2>&5
12248 ac_status=$?
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); }; } &&
12251 { ac_try='test -s conftest$ac_exeext'
12252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 (eval $ac_try) 2>&5
12254 ac_status=$?
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; }; then
12257 eval "$as_ac_var=yes"
12258 else
12259 echo "$as_me: failed program was:" >&5
12260 sed 's/^/| /' conftest.$ac_ext >&5
12262 eval "$as_ac_var=no"
12264 rm -f conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12269 if test `eval echo '${'$as_ac_var'}'` = yes; then
12270 cat >>confdefs.h <<_ACEOF
12271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12272 _ACEOF
12275 done
12277 else
12279 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12280 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12281 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12282 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12283 echo $ECHO_N "(cached) $ECHO_C" >&6
12284 else
12288 ac_ext=cc
12289 ac_cpp='$CXXCPP $CPPFLAGS'
12290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12294 cat >conftest.$ac_ext <<_ACEOF
12295 /* confdefs.h. */
12296 _ACEOF
12297 cat confdefs.h >>conftest.$ac_ext
12298 cat >>conftest.$ac_ext <<_ACEOF
12299 /* end confdefs.h. */
12300 #include <math.h>
12301 #ifdef HAVE_IEEEFP_H
12302 #include <ieeefp.h>
12303 #endif
12306 main ()
12308 _isnanf(0);
12310 return 0;
12312 _ACEOF
12313 rm -f conftest.$ac_objext
12314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12315 (eval $ac_compile) 2>conftest.er1
12316 ac_status=$?
12317 grep -v '^ *+' conftest.er1 >conftest.err
12318 rm -f conftest.er1
12319 cat conftest.err >&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); } &&
12322 { ac_try='test -z "$ac_cxx_werror_flag"
12323 || test ! -s conftest.err'
12324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12325 (eval $ac_try) 2>&5
12326 ac_status=$?
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }; } &&
12329 { ac_try='test -s conftest.$ac_objext'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12332 ac_status=$?
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; }; then
12335 glibcxx_cv_func__isnanf_use=yes
12336 else
12337 echo "$as_me: failed program was:" >&5
12338 sed 's/^/| /' conftest.$ac_ext >&5
12340 glibcxx_cv_func__isnanf_use=no
12342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12343 ac_ext=c
12344 ac_cpp='$CPP $CPPFLAGS'
12345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12353 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12354 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12356 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12358 for ac_func in _isnanf
12360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12361 echo "$as_me:$LINENO: checking for $ac_func" >&5
12362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12363 if eval "test \"\${$as_ac_var+set}\" = set"; then
12364 echo $ECHO_N "(cached) $ECHO_C" >&6
12365 else
12366 if test x$gcc_no_link = xyes; then
12367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12369 { (exit 1); exit 1; }; }
12371 cat >conftest.$ac_ext <<_ACEOF
12372 /* confdefs.h. */
12373 _ACEOF
12374 cat confdefs.h >>conftest.$ac_ext
12375 cat >>conftest.$ac_ext <<_ACEOF
12376 /* end confdefs.h. */
12377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12379 #define $ac_func innocuous_$ac_func
12381 /* System header to define __stub macros and hopefully few prototypes,
12382 which can conflict with char $ac_func (); below.
12383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12384 <limits.h> exists even on freestanding compilers. */
12386 #ifdef __STDC__
12387 # include <limits.h>
12388 #else
12389 # include <assert.h>
12390 #endif
12392 #undef $ac_func
12394 /* Override any gcc2 internal prototype to avoid an error. */
12395 #ifdef __cplusplus
12396 extern "C"
12398 #endif
12399 /* We use char because int might match the return type of a gcc2
12400 builtin and then its argument prototype would still apply. */
12401 char $ac_func ();
12402 /* The GNU C library defines this for functions which it implements
12403 to always fail with ENOSYS. Some functions are actually named
12404 something starting with __ and the normal name is an alias. */
12405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12406 choke me
12407 #else
12408 char (*f) () = $ac_func;
12409 #endif
12410 #ifdef __cplusplus
12412 #endif
12415 main ()
12417 return f != $ac_func;
12419 return 0;
12421 _ACEOF
12422 rm -f conftest.$ac_objext conftest$ac_exeext
12423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12424 (eval $ac_link) 2>conftest.er1
12425 ac_status=$?
12426 grep -v '^ *+' conftest.er1 >conftest.err
12427 rm -f conftest.er1
12428 cat conftest.err >&5
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); } &&
12431 { ac_try='test -z "$ac_c_werror_flag"
12432 || test ! -s conftest.err'
12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12434 (eval $ac_try) 2>&5
12435 ac_status=$?
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; } &&
12438 { ac_try='test -s conftest$ac_exeext'
12439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12440 (eval $ac_try) 2>&5
12441 ac_status=$?
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); }; }; then
12444 eval "$as_ac_var=yes"
12445 else
12446 echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.$ac_ext >&5
12449 eval "$as_ac_var=no"
12451 rm -f conftest.err conftest.$ac_objext \
12452 conftest$ac_exeext conftest.$ac_ext
12454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12456 if test `eval echo '${'$as_ac_var'}'` = yes; then
12457 cat >>confdefs.h <<_ACEOF
12458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12459 _ACEOF
12462 done
12469 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12470 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12471 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12472 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12473 echo $ECHO_N "(cached) $ECHO_C" >&6
12474 else
12478 ac_ext=cc
12479 ac_cpp='$CXXCPP $CPPFLAGS'
12480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12484 cat >conftest.$ac_ext <<_ACEOF
12485 /* confdefs.h. */
12486 _ACEOF
12487 cat confdefs.h >>conftest.$ac_ext
12488 cat >>conftest.$ac_ext <<_ACEOF
12489 /* end confdefs.h. */
12490 #include <math.h>
12491 #ifdef HAVE_IEEEFP_H
12492 #include <ieeefp.h>
12493 #endif
12496 main ()
12498 isinff(0);
12500 return 0;
12502 _ACEOF
12503 rm -f conftest.$ac_objext
12504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12505 (eval $ac_compile) 2>conftest.er1
12506 ac_status=$?
12507 grep -v '^ *+' conftest.er1 >conftest.err
12508 rm -f conftest.er1
12509 cat conftest.err >&5
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); } &&
12512 { ac_try='test -z "$ac_cxx_werror_flag"
12513 || test ! -s conftest.err'
12514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12515 (eval $ac_try) 2>&5
12516 ac_status=$?
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); }; } &&
12519 { ac_try='test -s conftest.$ac_objext'
12520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12521 (eval $ac_try) 2>&5
12522 ac_status=$?
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; }; then
12525 glibcxx_cv_func_isinff_use=yes
12526 else
12527 echo "$as_me: failed program was:" >&5
12528 sed 's/^/| /' conftest.$ac_ext >&5
12530 glibcxx_cv_func_isinff_use=no
12532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12533 ac_ext=c
12534 ac_cpp='$CPP $CPPFLAGS'
12535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12544 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12546 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12548 for ac_func in isinff
12550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12551 echo "$as_me:$LINENO: checking for $ac_func" >&5
12552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12553 if eval "test \"\${$as_ac_var+set}\" = set"; then
12554 echo $ECHO_N "(cached) $ECHO_C" >&6
12555 else
12556 if test x$gcc_no_link = xyes; then
12557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12559 { (exit 1); exit 1; }; }
12561 cat >conftest.$ac_ext <<_ACEOF
12562 /* confdefs.h. */
12563 _ACEOF
12564 cat confdefs.h >>conftest.$ac_ext
12565 cat >>conftest.$ac_ext <<_ACEOF
12566 /* end confdefs.h. */
12567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12569 #define $ac_func innocuous_$ac_func
12571 /* System header to define __stub macros and hopefully few prototypes,
12572 which can conflict with char $ac_func (); below.
12573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12574 <limits.h> exists even on freestanding compilers. */
12576 #ifdef __STDC__
12577 # include <limits.h>
12578 #else
12579 # include <assert.h>
12580 #endif
12582 #undef $ac_func
12584 /* Override any gcc2 internal prototype to avoid an error. */
12585 #ifdef __cplusplus
12586 extern "C"
12588 #endif
12589 /* We use char because int might match the return type of a gcc2
12590 builtin and then its argument prototype would still apply. */
12591 char $ac_func ();
12592 /* The GNU C library defines this for functions which it implements
12593 to always fail with ENOSYS. Some functions are actually named
12594 something starting with __ and the normal name is an alias. */
12595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12596 choke me
12597 #else
12598 char (*f) () = $ac_func;
12599 #endif
12600 #ifdef __cplusplus
12602 #endif
12605 main ()
12607 return f != $ac_func;
12609 return 0;
12611 _ACEOF
12612 rm -f conftest.$ac_objext conftest$ac_exeext
12613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12614 (eval $ac_link) 2>conftest.er1
12615 ac_status=$?
12616 grep -v '^ *+' conftest.er1 >conftest.err
12617 rm -f conftest.er1
12618 cat conftest.err >&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); } &&
12621 { ac_try='test -z "$ac_c_werror_flag"
12622 || test ! -s conftest.err'
12623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624 (eval $ac_try) 2>&5
12625 ac_status=$?
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; } &&
12628 { ac_try='test -s conftest$ac_exeext'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12631 ac_status=$?
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; }; then
12634 eval "$as_ac_var=yes"
12635 else
12636 echo "$as_me: failed program was:" >&5
12637 sed 's/^/| /' conftest.$ac_ext >&5
12639 eval "$as_ac_var=no"
12641 rm -f conftest.err conftest.$ac_objext \
12642 conftest$ac_exeext conftest.$ac_ext
12644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12646 if test `eval echo '${'$as_ac_var'}'` = yes; then
12647 cat >>confdefs.h <<_ACEOF
12648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12649 _ACEOF
12652 done
12654 else
12656 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12657 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12658 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12659 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12660 echo $ECHO_N "(cached) $ECHO_C" >&6
12661 else
12665 ac_ext=cc
12666 ac_cpp='$CXXCPP $CPPFLAGS'
12667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12671 cat >conftest.$ac_ext <<_ACEOF
12672 /* confdefs.h. */
12673 _ACEOF
12674 cat confdefs.h >>conftest.$ac_ext
12675 cat >>conftest.$ac_ext <<_ACEOF
12676 /* end confdefs.h. */
12677 #include <math.h>
12678 #ifdef HAVE_IEEEFP_H
12679 #include <ieeefp.h>
12680 #endif
12683 main ()
12685 _isinff(0);
12687 return 0;
12689 _ACEOF
12690 rm -f conftest.$ac_objext
12691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12692 (eval $ac_compile) 2>conftest.er1
12693 ac_status=$?
12694 grep -v '^ *+' conftest.er1 >conftest.err
12695 rm -f conftest.er1
12696 cat conftest.err >&5
12697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12698 (exit $ac_status); } &&
12699 { ac_try='test -z "$ac_cxx_werror_flag"
12700 || test ! -s conftest.err'
12701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12702 (eval $ac_try) 2>&5
12703 ac_status=$?
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); }; } &&
12706 { ac_try='test -s conftest.$ac_objext'
12707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12708 (eval $ac_try) 2>&5
12709 ac_status=$?
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; }; then
12712 glibcxx_cv_func__isinff_use=yes
12713 else
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.$ac_ext >&5
12717 glibcxx_cv_func__isinff_use=no
12719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12720 ac_ext=c
12721 ac_cpp='$CPP $CPPFLAGS'
12722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12731 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12733 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12735 for ac_func in _isinff
12737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12738 echo "$as_me:$LINENO: checking for $ac_func" >&5
12739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12740 if eval "test \"\${$as_ac_var+set}\" = set"; then
12741 echo $ECHO_N "(cached) $ECHO_C" >&6
12742 else
12743 if test x$gcc_no_link = xyes; then
12744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12746 { (exit 1); exit 1; }; }
12748 cat >conftest.$ac_ext <<_ACEOF
12749 /* confdefs.h. */
12750 _ACEOF
12751 cat confdefs.h >>conftest.$ac_ext
12752 cat >>conftest.$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12756 #define $ac_func innocuous_$ac_func
12758 /* System header to define __stub macros and hopefully few prototypes,
12759 which can conflict with char $ac_func (); below.
12760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12761 <limits.h> exists even on freestanding compilers. */
12763 #ifdef __STDC__
12764 # include <limits.h>
12765 #else
12766 # include <assert.h>
12767 #endif
12769 #undef $ac_func
12771 /* Override any gcc2 internal prototype to avoid an error. */
12772 #ifdef __cplusplus
12773 extern "C"
12775 #endif
12776 /* We use char because int might match the return type of a gcc2
12777 builtin and then its argument prototype would still apply. */
12778 char $ac_func ();
12779 /* The GNU C library defines this for functions which it implements
12780 to always fail with ENOSYS. Some functions are actually named
12781 something starting with __ and the normal name is an alias. */
12782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12783 choke me
12784 #else
12785 char (*f) () = $ac_func;
12786 #endif
12787 #ifdef __cplusplus
12789 #endif
12792 main ()
12794 return f != $ac_func;
12796 return 0;
12798 _ACEOF
12799 rm -f conftest.$ac_objext conftest$ac_exeext
12800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12801 (eval $ac_link) 2>conftest.er1
12802 ac_status=$?
12803 grep -v '^ *+' conftest.er1 >conftest.err
12804 rm -f conftest.er1
12805 cat conftest.err >&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try='test -z "$ac_c_werror_flag"
12809 || test ! -s conftest.err'
12810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12811 (eval $ac_try) 2>&5
12812 ac_status=$?
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); }; } &&
12815 { ac_try='test -s conftest$ac_exeext'
12816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12817 (eval $ac_try) 2>&5
12818 ac_status=$?
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); }; }; then
12821 eval "$as_ac_var=yes"
12822 else
12823 echo "$as_me: failed program was:" >&5
12824 sed 's/^/| /' conftest.$ac_ext >&5
12826 eval "$as_ac_var=no"
12828 rm -f conftest.err conftest.$ac_objext \
12829 conftest$ac_exeext conftest.$ac_ext
12831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12833 if test `eval echo '${'$as_ac_var'}'` = yes; then
12834 cat >>confdefs.h <<_ACEOF
12835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12836 _ACEOF
12839 done
12846 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12847 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12848 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12849 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12850 echo $ECHO_N "(cached) $ECHO_C" >&6
12851 else
12855 ac_ext=cc
12856 ac_cpp='$CXXCPP $CPPFLAGS'
12857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12861 cat >conftest.$ac_ext <<_ACEOF
12862 /* confdefs.h. */
12863 _ACEOF
12864 cat confdefs.h >>conftest.$ac_ext
12865 cat >>conftest.$ac_ext <<_ACEOF
12866 /* end confdefs.h. */
12867 #include <math.h>
12869 main ()
12871 atan2f(0, 0);
12873 return 0;
12875 _ACEOF
12876 rm -f conftest.$ac_objext
12877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12878 (eval $ac_compile) 2>conftest.er1
12879 ac_status=$?
12880 grep -v '^ *+' conftest.er1 >conftest.err
12881 rm -f conftest.er1
12882 cat conftest.err >&5
12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); } &&
12885 { ac_try='test -z "$ac_cxx_werror_flag"
12886 || test ! -s conftest.err'
12887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12888 (eval $ac_try) 2>&5
12889 ac_status=$?
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); }; } &&
12892 { ac_try='test -s conftest.$ac_objext'
12893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12894 (eval $ac_try) 2>&5
12895 ac_status=$?
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; }; then
12898 glibcxx_cv_func_atan2f_use=yes
12899 else
12900 echo "$as_me: failed program was:" >&5
12901 sed 's/^/| /' conftest.$ac_ext >&5
12903 glibcxx_cv_func_atan2f_use=no
12905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12906 ac_ext=c
12907 ac_cpp='$CPP $CPPFLAGS'
12908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12916 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12917 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12919 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12921 for ac_func in atan2f
12923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12924 echo "$as_me:$LINENO: checking for $ac_func" >&5
12925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12926 if eval "test \"\${$as_ac_var+set}\" = set"; then
12927 echo $ECHO_N "(cached) $ECHO_C" >&6
12928 else
12929 if test x$gcc_no_link = xyes; then
12930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12932 { (exit 1); exit 1; }; }
12934 cat >conftest.$ac_ext <<_ACEOF
12935 /* confdefs.h. */
12936 _ACEOF
12937 cat confdefs.h >>conftest.$ac_ext
12938 cat >>conftest.$ac_ext <<_ACEOF
12939 /* end confdefs.h. */
12940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12942 #define $ac_func innocuous_$ac_func
12944 /* System header to define __stub macros and hopefully few prototypes,
12945 which can conflict with char $ac_func (); below.
12946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12947 <limits.h> exists even on freestanding compilers. */
12949 #ifdef __STDC__
12950 # include <limits.h>
12951 #else
12952 # include <assert.h>
12953 #endif
12955 #undef $ac_func
12957 /* Override any gcc2 internal prototype to avoid an error. */
12958 #ifdef __cplusplus
12959 extern "C"
12961 #endif
12962 /* We use char because int might match the return type of a gcc2
12963 builtin and then its argument prototype would still apply. */
12964 char $ac_func ();
12965 /* The GNU C library defines this for functions which it implements
12966 to always fail with ENOSYS. Some functions are actually named
12967 something starting with __ and the normal name is an alias. */
12968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12969 choke me
12970 #else
12971 char (*f) () = $ac_func;
12972 #endif
12973 #ifdef __cplusplus
12975 #endif
12978 main ()
12980 return f != $ac_func;
12982 return 0;
12984 _ACEOF
12985 rm -f conftest.$ac_objext conftest$ac_exeext
12986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12987 (eval $ac_link) 2>conftest.er1
12988 ac_status=$?
12989 grep -v '^ *+' conftest.er1 >conftest.err
12990 rm -f conftest.er1
12991 cat conftest.err >&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); } &&
12994 { ac_try='test -z "$ac_c_werror_flag"
12995 || test ! -s conftest.err'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12998 ac_status=$?
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; } &&
13001 { ac_try='test -s conftest$ac_exeext'
13002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13003 (eval $ac_try) 2>&5
13004 ac_status=$?
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; }; then
13007 eval "$as_ac_var=yes"
13008 else
13009 echo "$as_me: failed program was:" >&5
13010 sed 's/^/| /' conftest.$ac_ext >&5
13012 eval "$as_ac_var=no"
13014 rm -f conftest.err conftest.$ac_objext \
13015 conftest$ac_exeext conftest.$ac_ext
13017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13019 if test `eval echo '${'$as_ac_var'}'` = yes; then
13020 cat >>confdefs.h <<_ACEOF
13021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13022 _ACEOF
13025 done
13027 else
13029 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13030 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13031 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13032 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13034 else
13038 ac_ext=cc
13039 ac_cpp='$CXXCPP $CPPFLAGS'
13040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13044 cat >conftest.$ac_ext <<_ACEOF
13045 /* confdefs.h. */
13046 _ACEOF
13047 cat confdefs.h >>conftest.$ac_ext
13048 cat >>conftest.$ac_ext <<_ACEOF
13049 /* end confdefs.h. */
13050 #include <math.h>
13052 main ()
13054 _atan2f(0, 0);
13056 return 0;
13058 _ACEOF
13059 rm -f conftest.$ac_objext
13060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13061 (eval $ac_compile) 2>conftest.er1
13062 ac_status=$?
13063 grep -v '^ *+' conftest.er1 >conftest.err
13064 rm -f conftest.er1
13065 cat conftest.err >&5
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); } &&
13068 { ac_try='test -z "$ac_cxx_werror_flag"
13069 || test ! -s conftest.err'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13072 ac_status=$?
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; } &&
13075 { ac_try='test -s conftest.$ac_objext'
13076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13077 (eval $ac_try) 2>&5
13078 ac_status=$?
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); }; }; then
13081 glibcxx_cv_func__atan2f_use=yes
13082 else
13083 echo "$as_me: failed program was:" >&5
13084 sed 's/^/| /' conftest.$ac_ext >&5
13086 glibcxx_cv_func__atan2f_use=no
13088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13089 ac_ext=c
13090 ac_cpp='$CPP $CPPFLAGS'
13091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13099 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13100 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13102 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13104 for ac_func in _atan2f
13106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13107 echo "$as_me:$LINENO: checking for $ac_func" >&5
13108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13109 if eval "test \"\${$as_ac_var+set}\" = set"; then
13110 echo $ECHO_N "(cached) $ECHO_C" >&6
13111 else
13112 if test x$gcc_no_link = xyes; then
13113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13115 { (exit 1); exit 1; }; }
13117 cat >conftest.$ac_ext <<_ACEOF
13118 /* confdefs.h. */
13119 _ACEOF
13120 cat confdefs.h >>conftest.$ac_ext
13121 cat >>conftest.$ac_ext <<_ACEOF
13122 /* end confdefs.h. */
13123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13125 #define $ac_func innocuous_$ac_func
13127 /* System header to define __stub macros and hopefully few prototypes,
13128 which can conflict with char $ac_func (); below.
13129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13130 <limits.h> exists even on freestanding compilers. */
13132 #ifdef __STDC__
13133 # include <limits.h>
13134 #else
13135 # include <assert.h>
13136 #endif
13138 #undef $ac_func
13140 /* Override any gcc2 internal prototype to avoid an error. */
13141 #ifdef __cplusplus
13142 extern "C"
13144 #endif
13145 /* We use char because int might match the return type of a gcc2
13146 builtin and then its argument prototype would still apply. */
13147 char $ac_func ();
13148 /* The GNU C library defines this for functions which it implements
13149 to always fail with ENOSYS. Some functions are actually named
13150 something starting with __ and the normal name is an alias. */
13151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13152 choke me
13153 #else
13154 char (*f) () = $ac_func;
13155 #endif
13156 #ifdef __cplusplus
13158 #endif
13161 main ()
13163 return f != $ac_func;
13165 return 0;
13167 _ACEOF
13168 rm -f conftest.$ac_objext conftest$ac_exeext
13169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13170 (eval $ac_link) 2>conftest.er1
13171 ac_status=$?
13172 grep -v '^ *+' conftest.er1 >conftest.err
13173 rm -f conftest.er1
13174 cat conftest.err >&5
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); } &&
13177 { ac_try='test -z "$ac_c_werror_flag"
13178 || test ! -s conftest.err'
13179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13180 (eval $ac_try) 2>&5
13181 ac_status=$?
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); }; } &&
13184 { ac_try='test -s conftest$ac_exeext'
13185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13186 (eval $ac_try) 2>&5
13187 ac_status=$?
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); }; }; then
13190 eval "$as_ac_var=yes"
13191 else
13192 echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.$ac_ext >&5
13195 eval "$as_ac_var=no"
13197 rm -f conftest.err conftest.$ac_objext \
13198 conftest$ac_exeext conftest.$ac_ext
13200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13202 if test `eval echo '${'$as_ac_var'}'` = yes; then
13203 cat >>confdefs.h <<_ACEOF
13204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13205 _ACEOF
13208 done
13215 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13216 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13217 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13218 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13219 echo $ECHO_N "(cached) $ECHO_C" >&6
13220 else
13224 ac_ext=cc
13225 ac_cpp='$CXXCPP $CPPFLAGS'
13226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13230 cat >conftest.$ac_ext <<_ACEOF
13231 /* confdefs.h. */
13232 _ACEOF
13233 cat confdefs.h >>conftest.$ac_ext
13234 cat >>conftest.$ac_ext <<_ACEOF
13235 /* end confdefs.h. */
13236 #include <math.h>
13237 #ifdef HAVE_IEEEFP_H
13238 #include <ieeefp.h>
13239 #endif
13242 main ()
13244 fabsf(0);
13246 return 0;
13248 _ACEOF
13249 rm -f conftest.$ac_objext
13250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13251 (eval $ac_compile) 2>conftest.er1
13252 ac_status=$?
13253 grep -v '^ *+' conftest.er1 >conftest.err
13254 rm -f conftest.er1
13255 cat conftest.err >&5
13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); } &&
13258 { ac_try='test -z "$ac_cxx_werror_flag"
13259 || test ! -s conftest.err'
13260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13261 (eval $ac_try) 2>&5
13262 ac_status=$?
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }; } &&
13265 { ac_try='test -s conftest.$ac_objext'
13266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13267 (eval $ac_try) 2>&5
13268 ac_status=$?
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); }; }; then
13271 glibcxx_cv_func_fabsf_use=yes
13272 else
13273 echo "$as_me: failed program was:" >&5
13274 sed 's/^/| /' conftest.$ac_ext >&5
13276 glibcxx_cv_func_fabsf_use=no
13278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13279 ac_ext=c
13280 ac_cpp='$CPP $CPPFLAGS'
13281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13289 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13290 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13292 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13294 for ac_func in fabsf
13296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13297 echo "$as_me:$LINENO: checking for $ac_func" >&5
13298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13299 if eval "test \"\${$as_ac_var+set}\" = set"; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13301 else
13302 if test x$gcc_no_link = xyes; then
13303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13305 { (exit 1); exit 1; }; }
13307 cat >conftest.$ac_ext <<_ACEOF
13308 /* confdefs.h. */
13309 _ACEOF
13310 cat confdefs.h >>conftest.$ac_ext
13311 cat >>conftest.$ac_ext <<_ACEOF
13312 /* end confdefs.h. */
13313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13315 #define $ac_func innocuous_$ac_func
13317 /* System header to define __stub macros and hopefully few prototypes,
13318 which can conflict with char $ac_func (); below.
13319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13320 <limits.h> exists even on freestanding compilers. */
13322 #ifdef __STDC__
13323 # include <limits.h>
13324 #else
13325 # include <assert.h>
13326 #endif
13328 #undef $ac_func
13330 /* Override any gcc2 internal prototype to avoid an error. */
13331 #ifdef __cplusplus
13332 extern "C"
13334 #endif
13335 /* We use char because int might match the return type of a gcc2
13336 builtin and then its argument prototype would still apply. */
13337 char $ac_func ();
13338 /* The GNU C library defines this for functions which it implements
13339 to always fail with ENOSYS. Some functions are actually named
13340 something starting with __ and the normal name is an alias. */
13341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13342 choke me
13343 #else
13344 char (*f) () = $ac_func;
13345 #endif
13346 #ifdef __cplusplus
13348 #endif
13351 main ()
13353 return f != $ac_func;
13355 return 0;
13357 _ACEOF
13358 rm -f conftest.$ac_objext conftest$ac_exeext
13359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13360 (eval $ac_link) 2>conftest.er1
13361 ac_status=$?
13362 grep -v '^ *+' conftest.er1 >conftest.err
13363 rm -f conftest.er1
13364 cat conftest.err >&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); } &&
13367 { ac_try='test -z "$ac_c_werror_flag"
13368 || test ! -s conftest.err'
13369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13370 (eval $ac_try) 2>&5
13371 ac_status=$?
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; } &&
13374 { ac_try='test -s conftest$ac_exeext'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13377 ac_status=$?
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; }; then
13380 eval "$as_ac_var=yes"
13381 else
13382 echo "$as_me: failed program was:" >&5
13383 sed 's/^/| /' conftest.$ac_ext >&5
13385 eval "$as_ac_var=no"
13387 rm -f conftest.err conftest.$ac_objext \
13388 conftest$ac_exeext conftest.$ac_ext
13390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13392 if test `eval echo '${'$as_ac_var'}'` = yes; then
13393 cat >>confdefs.h <<_ACEOF
13394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13395 _ACEOF
13398 done
13400 else
13402 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13403 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13404 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13405 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13406 echo $ECHO_N "(cached) $ECHO_C" >&6
13407 else
13411 ac_ext=cc
13412 ac_cpp='$CXXCPP $CPPFLAGS'
13413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13417 cat >conftest.$ac_ext <<_ACEOF
13418 /* confdefs.h. */
13419 _ACEOF
13420 cat confdefs.h >>conftest.$ac_ext
13421 cat >>conftest.$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13423 #include <math.h>
13424 #ifdef HAVE_IEEEFP_H
13425 #include <ieeefp.h>
13426 #endif
13429 main ()
13431 _fabsf(0);
13433 return 0;
13435 _ACEOF
13436 rm -f conftest.$ac_objext
13437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13438 (eval $ac_compile) 2>conftest.er1
13439 ac_status=$?
13440 grep -v '^ *+' conftest.er1 >conftest.err
13441 rm -f conftest.er1
13442 cat conftest.err >&5
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); } &&
13445 { ac_try='test -z "$ac_cxx_werror_flag"
13446 || test ! -s conftest.err'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13449 ac_status=$?
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; } &&
13452 { ac_try='test -s conftest.$ac_objext'
13453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13454 (eval $ac_try) 2>&5
13455 ac_status=$?
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); }; }; then
13458 glibcxx_cv_func__fabsf_use=yes
13459 else
13460 echo "$as_me: failed program was:" >&5
13461 sed 's/^/| /' conftest.$ac_ext >&5
13463 glibcxx_cv_func__fabsf_use=no
13465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13466 ac_ext=c
13467 ac_cpp='$CPP $CPPFLAGS'
13468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13476 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13477 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13479 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13481 for ac_func in _fabsf
13483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13484 echo "$as_me:$LINENO: checking for $ac_func" >&5
13485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13486 if eval "test \"\${$as_ac_var+set}\" = set"; then
13487 echo $ECHO_N "(cached) $ECHO_C" >&6
13488 else
13489 if test x$gcc_no_link = xyes; then
13490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13492 { (exit 1); exit 1; }; }
13494 cat >conftest.$ac_ext <<_ACEOF
13495 /* confdefs.h. */
13496 _ACEOF
13497 cat confdefs.h >>conftest.$ac_ext
13498 cat >>conftest.$ac_ext <<_ACEOF
13499 /* end confdefs.h. */
13500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13502 #define $ac_func innocuous_$ac_func
13504 /* System header to define __stub macros and hopefully few prototypes,
13505 which can conflict with char $ac_func (); below.
13506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13507 <limits.h> exists even on freestanding compilers. */
13509 #ifdef __STDC__
13510 # include <limits.h>
13511 #else
13512 # include <assert.h>
13513 #endif
13515 #undef $ac_func
13517 /* Override any gcc2 internal prototype to avoid an error. */
13518 #ifdef __cplusplus
13519 extern "C"
13521 #endif
13522 /* We use char because int might match the return type of a gcc2
13523 builtin and then its argument prototype would still apply. */
13524 char $ac_func ();
13525 /* The GNU C library defines this for functions which it implements
13526 to always fail with ENOSYS. Some functions are actually named
13527 something starting with __ and the normal name is an alias. */
13528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13529 choke me
13530 #else
13531 char (*f) () = $ac_func;
13532 #endif
13533 #ifdef __cplusplus
13535 #endif
13538 main ()
13540 return f != $ac_func;
13542 return 0;
13544 _ACEOF
13545 rm -f conftest.$ac_objext conftest$ac_exeext
13546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13547 (eval $ac_link) 2>conftest.er1
13548 ac_status=$?
13549 grep -v '^ *+' conftest.er1 >conftest.err
13550 rm -f conftest.er1
13551 cat conftest.err >&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); } &&
13554 { ac_try='test -z "$ac_c_werror_flag"
13555 || test ! -s conftest.err'
13556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13557 (eval $ac_try) 2>&5
13558 ac_status=$?
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); }; } &&
13561 { ac_try='test -s conftest$ac_exeext'
13562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13563 (eval $ac_try) 2>&5
13564 ac_status=$?
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); }; }; then
13567 eval "$as_ac_var=yes"
13568 else
13569 echo "$as_me: failed program was:" >&5
13570 sed 's/^/| /' conftest.$ac_ext >&5
13572 eval "$as_ac_var=no"
13574 rm -f conftest.err conftest.$ac_objext \
13575 conftest$ac_exeext conftest.$ac_ext
13577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13579 if test `eval echo '${'$as_ac_var'}'` = yes; then
13580 cat >>confdefs.h <<_ACEOF
13581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13582 _ACEOF
13585 done
13592 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13593 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13594 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13595 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13596 echo $ECHO_N "(cached) $ECHO_C" >&6
13597 else
13601 ac_ext=cc
13602 ac_cpp='$CXXCPP $CPPFLAGS'
13603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13607 cat >conftest.$ac_ext <<_ACEOF
13608 /* confdefs.h. */
13609 _ACEOF
13610 cat confdefs.h >>conftest.$ac_ext
13611 cat >>conftest.$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13613 #include <math.h>
13615 main ()
13617 fmodf(0, 0);
13619 return 0;
13621 _ACEOF
13622 rm -f conftest.$ac_objext
13623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13624 (eval $ac_compile) 2>conftest.er1
13625 ac_status=$?
13626 grep -v '^ *+' conftest.er1 >conftest.err
13627 rm -f conftest.er1
13628 cat conftest.err >&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); } &&
13631 { ac_try='test -z "$ac_cxx_werror_flag"
13632 || test ! -s conftest.err'
13633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13634 (eval $ac_try) 2>&5
13635 ac_status=$?
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); }; } &&
13638 { ac_try='test -s conftest.$ac_objext'
13639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13640 (eval $ac_try) 2>&5
13641 ac_status=$?
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); }; }; then
13644 glibcxx_cv_func_fmodf_use=yes
13645 else
13646 echo "$as_me: failed program was:" >&5
13647 sed 's/^/| /' conftest.$ac_ext >&5
13649 glibcxx_cv_func_fmodf_use=no
13651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13652 ac_ext=c
13653 ac_cpp='$CPP $CPPFLAGS'
13654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13662 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13663 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13665 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13667 for ac_func in fmodf
13669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13670 echo "$as_me:$LINENO: checking for $ac_func" >&5
13671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13672 if eval "test \"\${$as_ac_var+set}\" = set"; then
13673 echo $ECHO_N "(cached) $ECHO_C" >&6
13674 else
13675 if test x$gcc_no_link = xyes; then
13676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13678 { (exit 1); exit 1; }; }
13680 cat >conftest.$ac_ext <<_ACEOF
13681 /* confdefs.h. */
13682 _ACEOF
13683 cat confdefs.h >>conftest.$ac_ext
13684 cat >>conftest.$ac_ext <<_ACEOF
13685 /* end confdefs.h. */
13686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13688 #define $ac_func innocuous_$ac_func
13690 /* System header to define __stub macros and hopefully few prototypes,
13691 which can conflict with char $ac_func (); below.
13692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13693 <limits.h> exists even on freestanding compilers. */
13695 #ifdef __STDC__
13696 # include <limits.h>
13697 #else
13698 # include <assert.h>
13699 #endif
13701 #undef $ac_func
13703 /* Override any gcc2 internal prototype to avoid an error. */
13704 #ifdef __cplusplus
13705 extern "C"
13707 #endif
13708 /* We use char because int might match the return type of a gcc2
13709 builtin and then its argument prototype would still apply. */
13710 char $ac_func ();
13711 /* The GNU C library defines this for functions which it implements
13712 to always fail with ENOSYS. Some functions are actually named
13713 something starting with __ and the normal name is an alias. */
13714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13715 choke me
13716 #else
13717 char (*f) () = $ac_func;
13718 #endif
13719 #ifdef __cplusplus
13721 #endif
13724 main ()
13726 return f != $ac_func;
13728 return 0;
13730 _ACEOF
13731 rm -f conftest.$ac_objext conftest$ac_exeext
13732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13733 (eval $ac_link) 2>conftest.er1
13734 ac_status=$?
13735 grep -v '^ *+' conftest.er1 >conftest.err
13736 rm -f conftest.er1
13737 cat conftest.err >&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try='test -z "$ac_c_werror_flag"
13741 || test ! -s conftest.err'
13742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13743 (eval $ac_try) 2>&5
13744 ac_status=$?
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; } &&
13747 { ac_try='test -s conftest$ac_exeext'
13748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13749 (eval $ac_try) 2>&5
13750 ac_status=$?
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); }; }; then
13753 eval "$as_ac_var=yes"
13754 else
13755 echo "$as_me: failed program was:" >&5
13756 sed 's/^/| /' conftest.$ac_ext >&5
13758 eval "$as_ac_var=no"
13760 rm -f conftest.err conftest.$ac_objext \
13761 conftest$ac_exeext conftest.$ac_ext
13763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13765 if test `eval echo '${'$as_ac_var'}'` = yes; then
13766 cat >>confdefs.h <<_ACEOF
13767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13768 _ACEOF
13771 done
13773 else
13775 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13776 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13777 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13778 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13779 echo $ECHO_N "(cached) $ECHO_C" >&6
13780 else
13784 ac_ext=cc
13785 ac_cpp='$CXXCPP $CPPFLAGS'
13786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13790 cat >conftest.$ac_ext <<_ACEOF
13791 /* confdefs.h. */
13792 _ACEOF
13793 cat confdefs.h >>conftest.$ac_ext
13794 cat >>conftest.$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13796 #include <math.h>
13798 main ()
13800 _fmodf(0, 0);
13802 return 0;
13804 _ACEOF
13805 rm -f conftest.$ac_objext
13806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13807 (eval $ac_compile) 2>conftest.er1
13808 ac_status=$?
13809 grep -v '^ *+' conftest.er1 >conftest.err
13810 rm -f conftest.er1
13811 cat conftest.err >&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); } &&
13814 { ac_try='test -z "$ac_cxx_werror_flag"
13815 || test ! -s conftest.err'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13818 ac_status=$?
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; } &&
13821 { ac_try='test -s conftest.$ac_objext'
13822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13823 (eval $ac_try) 2>&5
13824 ac_status=$?
13825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13826 (exit $ac_status); }; }; then
13827 glibcxx_cv_func__fmodf_use=yes
13828 else
13829 echo "$as_me: failed program was:" >&5
13830 sed 's/^/| /' conftest.$ac_ext >&5
13832 glibcxx_cv_func__fmodf_use=no
13834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13835 ac_ext=c
13836 ac_cpp='$CPP $CPPFLAGS'
13837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13845 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13846 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13848 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13850 for ac_func in _fmodf
13852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13853 echo "$as_me:$LINENO: checking for $ac_func" >&5
13854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13855 if eval "test \"\${$as_ac_var+set}\" = set"; then
13856 echo $ECHO_N "(cached) $ECHO_C" >&6
13857 else
13858 if test x$gcc_no_link = xyes; then
13859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13861 { (exit 1); exit 1; }; }
13863 cat >conftest.$ac_ext <<_ACEOF
13864 /* confdefs.h. */
13865 _ACEOF
13866 cat confdefs.h >>conftest.$ac_ext
13867 cat >>conftest.$ac_ext <<_ACEOF
13868 /* end confdefs.h. */
13869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13871 #define $ac_func innocuous_$ac_func
13873 /* System header to define __stub macros and hopefully few prototypes,
13874 which can conflict with char $ac_func (); below.
13875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13876 <limits.h> exists even on freestanding compilers. */
13878 #ifdef __STDC__
13879 # include <limits.h>
13880 #else
13881 # include <assert.h>
13882 #endif
13884 #undef $ac_func
13886 /* Override any gcc2 internal prototype to avoid an error. */
13887 #ifdef __cplusplus
13888 extern "C"
13890 #endif
13891 /* We use char because int might match the return type of a gcc2
13892 builtin and then its argument prototype would still apply. */
13893 char $ac_func ();
13894 /* The GNU C library defines this for functions which it implements
13895 to always fail with ENOSYS. Some functions are actually named
13896 something starting with __ and the normal name is an alias. */
13897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13898 choke me
13899 #else
13900 char (*f) () = $ac_func;
13901 #endif
13902 #ifdef __cplusplus
13904 #endif
13907 main ()
13909 return f != $ac_func;
13911 return 0;
13913 _ACEOF
13914 rm -f conftest.$ac_objext conftest$ac_exeext
13915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13916 (eval $ac_link) 2>conftest.er1
13917 ac_status=$?
13918 grep -v '^ *+' conftest.er1 >conftest.err
13919 rm -f conftest.er1
13920 cat conftest.err >&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); } &&
13923 { ac_try='test -z "$ac_c_werror_flag"
13924 || test ! -s conftest.err'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13927 ac_status=$?
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; } &&
13930 { ac_try='test -s conftest$ac_exeext'
13931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13932 (eval $ac_try) 2>&5
13933 ac_status=$?
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); }; }; then
13936 eval "$as_ac_var=yes"
13937 else
13938 echo "$as_me: failed program was:" >&5
13939 sed 's/^/| /' conftest.$ac_ext >&5
13941 eval "$as_ac_var=no"
13943 rm -f conftest.err conftest.$ac_objext \
13944 conftest$ac_exeext conftest.$ac_ext
13946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13948 if test `eval echo '${'$as_ac_var'}'` = yes; then
13949 cat >>confdefs.h <<_ACEOF
13950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13951 _ACEOF
13954 done
13961 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13962 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13963 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13964 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13965 echo $ECHO_N "(cached) $ECHO_C" >&6
13966 else
13970 ac_ext=cc
13971 ac_cpp='$CXXCPP $CPPFLAGS'
13972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13976 cat >conftest.$ac_ext <<_ACEOF
13977 /* confdefs.h. */
13978 _ACEOF
13979 cat confdefs.h >>conftest.$ac_ext
13980 cat >>conftest.$ac_ext <<_ACEOF
13981 /* end confdefs.h. */
13982 #include <math.h>
13984 main ()
13986 frexpf(0, 0);
13988 return 0;
13990 _ACEOF
13991 rm -f conftest.$ac_objext
13992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13993 (eval $ac_compile) 2>conftest.er1
13994 ac_status=$?
13995 grep -v '^ *+' conftest.er1 >conftest.err
13996 rm -f conftest.er1
13997 cat conftest.err >&5
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 (exit $ac_status); } &&
14000 { ac_try='test -z "$ac_cxx_werror_flag"
14001 || test ! -s conftest.err'
14002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003 (eval $ac_try) 2>&5
14004 ac_status=$?
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }; } &&
14007 { ac_try='test -s conftest.$ac_objext'
14008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14009 (eval $ac_try) 2>&5
14010 ac_status=$?
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); }; }; then
14013 glibcxx_cv_func_frexpf_use=yes
14014 else
14015 echo "$as_me: failed program was:" >&5
14016 sed 's/^/| /' conftest.$ac_ext >&5
14018 glibcxx_cv_func_frexpf_use=no
14020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14021 ac_ext=c
14022 ac_cpp='$CPP $CPPFLAGS'
14023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14031 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14032 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14034 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14036 for ac_func in frexpf
14038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14039 echo "$as_me:$LINENO: checking for $ac_func" >&5
14040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14041 if eval "test \"\${$as_ac_var+set}\" = set"; then
14042 echo $ECHO_N "(cached) $ECHO_C" >&6
14043 else
14044 if test x$gcc_no_link = xyes; then
14045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14047 { (exit 1); exit 1; }; }
14049 cat >conftest.$ac_ext <<_ACEOF
14050 /* confdefs.h. */
14051 _ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14057 #define $ac_func innocuous_$ac_func
14059 /* System header to define __stub macros and hopefully few prototypes,
14060 which can conflict with char $ac_func (); below.
14061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14062 <limits.h> exists even on freestanding compilers. */
14064 #ifdef __STDC__
14065 # include <limits.h>
14066 #else
14067 # include <assert.h>
14068 #endif
14070 #undef $ac_func
14072 /* Override any gcc2 internal prototype to avoid an error. */
14073 #ifdef __cplusplus
14074 extern "C"
14076 #endif
14077 /* We use char because int might match the return type of a gcc2
14078 builtin and then its argument prototype would still apply. */
14079 char $ac_func ();
14080 /* The GNU C library defines this for functions which it implements
14081 to always fail with ENOSYS. Some functions are actually named
14082 something starting with __ and the normal name is an alias. */
14083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14084 choke me
14085 #else
14086 char (*f) () = $ac_func;
14087 #endif
14088 #ifdef __cplusplus
14090 #endif
14093 main ()
14095 return f != $ac_func;
14097 return 0;
14099 _ACEOF
14100 rm -f conftest.$ac_objext conftest$ac_exeext
14101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14102 (eval $ac_link) 2>conftest.er1
14103 ac_status=$?
14104 grep -v '^ *+' conftest.er1 >conftest.err
14105 rm -f conftest.er1
14106 cat conftest.err >&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } &&
14109 { ac_try='test -z "$ac_c_werror_flag"
14110 || test ! -s conftest.err'
14111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14112 (eval $ac_try) 2>&5
14113 ac_status=$?
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); }; } &&
14116 { ac_try='test -s conftest$ac_exeext'
14117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14118 (eval $ac_try) 2>&5
14119 ac_status=$?
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); }; }; then
14122 eval "$as_ac_var=yes"
14123 else
14124 echo "$as_me: failed program was:" >&5
14125 sed 's/^/| /' conftest.$ac_ext >&5
14127 eval "$as_ac_var=no"
14129 rm -f conftest.err conftest.$ac_objext \
14130 conftest$ac_exeext conftest.$ac_ext
14132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14134 if test `eval echo '${'$as_ac_var'}'` = yes; then
14135 cat >>confdefs.h <<_ACEOF
14136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14137 _ACEOF
14140 done
14142 else
14144 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14145 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14146 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14147 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 else
14153 ac_ext=cc
14154 ac_cpp='$CXXCPP $CPPFLAGS'
14155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14159 cat >conftest.$ac_ext <<_ACEOF
14160 /* confdefs.h. */
14161 _ACEOF
14162 cat confdefs.h >>conftest.$ac_ext
14163 cat >>conftest.$ac_ext <<_ACEOF
14164 /* end confdefs.h. */
14165 #include <math.h>
14167 main ()
14169 _frexpf(0, 0);
14171 return 0;
14173 _ACEOF
14174 rm -f conftest.$ac_objext
14175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14176 (eval $ac_compile) 2>conftest.er1
14177 ac_status=$?
14178 grep -v '^ *+' conftest.er1 >conftest.err
14179 rm -f conftest.er1
14180 cat conftest.err >&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); } &&
14183 { ac_try='test -z "$ac_cxx_werror_flag"
14184 || test ! -s conftest.err'
14185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186 (eval $ac_try) 2>&5
14187 ac_status=$?
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 (exit $ac_status); }; } &&
14190 { ac_try='test -s conftest.$ac_objext'
14191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192 (eval $ac_try) 2>&5
14193 ac_status=$?
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); }; }; then
14196 glibcxx_cv_func__frexpf_use=yes
14197 else
14198 echo "$as_me: failed program was:" >&5
14199 sed 's/^/| /' conftest.$ac_ext >&5
14201 glibcxx_cv_func__frexpf_use=no
14203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14204 ac_ext=c
14205 ac_cpp='$CPP $CPPFLAGS'
14206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14215 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14217 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14219 for ac_func in _frexpf
14221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14222 echo "$as_me:$LINENO: checking for $ac_func" >&5
14223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14224 if eval "test \"\${$as_ac_var+set}\" = set"; then
14225 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 else
14227 if test x$gcc_no_link = xyes; then
14228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14230 { (exit 1); exit 1; }; }
14232 cat >conftest.$ac_ext <<_ACEOF
14233 /* confdefs.h. */
14234 _ACEOF
14235 cat confdefs.h >>conftest.$ac_ext
14236 cat >>conftest.$ac_ext <<_ACEOF
14237 /* end confdefs.h. */
14238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14240 #define $ac_func innocuous_$ac_func
14242 /* System header to define __stub macros and hopefully few prototypes,
14243 which can conflict with char $ac_func (); below.
14244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14245 <limits.h> exists even on freestanding compilers. */
14247 #ifdef __STDC__
14248 # include <limits.h>
14249 #else
14250 # include <assert.h>
14251 #endif
14253 #undef $ac_func
14255 /* Override any gcc2 internal prototype to avoid an error. */
14256 #ifdef __cplusplus
14257 extern "C"
14259 #endif
14260 /* We use char because int might match the return type of a gcc2
14261 builtin and then its argument prototype would still apply. */
14262 char $ac_func ();
14263 /* The GNU C library defines this for functions which it implements
14264 to always fail with ENOSYS. Some functions are actually named
14265 something starting with __ and the normal name is an alias. */
14266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14267 choke me
14268 #else
14269 char (*f) () = $ac_func;
14270 #endif
14271 #ifdef __cplusplus
14273 #endif
14276 main ()
14278 return f != $ac_func;
14280 return 0;
14282 _ACEOF
14283 rm -f conftest.$ac_objext conftest$ac_exeext
14284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14285 (eval $ac_link) 2>conftest.er1
14286 ac_status=$?
14287 grep -v '^ *+' conftest.er1 >conftest.err
14288 rm -f conftest.er1
14289 cat conftest.err >&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); } &&
14292 { ac_try='test -z "$ac_c_werror_flag"
14293 || test ! -s conftest.err'
14294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295 (eval $ac_try) 2>&5
14296 ac_status=$?
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; } &&
14299 { ac_try='test -s conftest$ac_exeext'
14300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14301 (eval $ac_try) 2>&5
14302 ac_status=$?
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); }; }; then
14305 eval "$as_ac_var=yes"
14306 else
14307 echo "$as_me: failed program was:" >&5
14308 sed 's/^/| /' conftest.$ac_ext >&5
14310 eval "$as_ac_var=no"
14312 rm -f conftest.err conftest.$ac_objext \
14313 conftest$ac_exeext conftest.$ac_ext
14315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14317 if test `eval echo '${'$as_ac_var'}'` = yes; then
14318 cat >>confdefs.h <<_ACEOF
14319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14320 _ACEOF
14323 done
14330 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14331 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14332 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14333 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14334 echo $ECHO_N "(cached) $ECHO_C" >&6
14335 else
14339 ac_ext=cc
14340 ac_cpp='$CXXCPP $CPPFLAGS'
14341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14345 cat >conftest.$ac_ext <<_ACEOF
14346 /* confdefs.h. */
14347 _ACEOF
14348 cat confdefs.h >>conftest.$ac_ext
14349 cat >>conftest.$ac_ext <<_ACEOF
14350 /* end confdefs.h. */
14351 #include <math.h>
14353 main ()
14355 hypotf(0, 0);
14357 return 0;
14359 _ACEOF
14360 rm -f conftest.$ac_objext
14361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14362 (eval $ac_compile) 2>conftest.er1
14363 ac_status=$?
14364 grep -v '^ *+' conftest.er1 >conftest.err
14365 rm -f conftest.er1
14366 cat conftest.err >&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); } &&
14369 { ac_try='test -z "$ac_cxx_werror_flag"
14370 || test ! -s conftest.err'
14371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14372 (eval $ac_try) 2>&5
14373 ac_status=$?
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); }; } &&
14376 { ac_try='test -s conftest.$ac_objext'
14377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14378 (eval $ac_try) 2>&5
14379 ac_status=$?
14380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); }; }; then
14382 glibcxx_cv_func_hypotf_use=yes
14383 else
14384 echo "$as_me: failed program was:" >&5
14385 sed 's/^/| /' conftest.$ac_ext >&5
14387 glibcxx_cv_func_hypotf_use=no
14389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14390 ac_ext=c
14391 ac_cpp='$CPP $CPPFLAGS'
14392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14401 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14403 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14405 for ac_func in hypotf
14407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14408 echo "$as_me:$LINENO: checking for $ac_func" >&5
14409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14410 if eval "test \"\${$as_ac_var+set}\" = set"; then
14411 echo $ECHO_N "(cached) $ECHO_C" >&6
14412 else
14413 if test x$gcc_no_link = xyes; then
14414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14416 { (exit 1); exit 1; }; }
14418 cat >conftest.$ac_ext <<_ACEOF
14419 /* confdefs.h. */
14420 _ACEOF
14421 cat confdefs.h >>conftest.$ac_ext
14422 cat >>conftest.$ac_ext <<_ACEOF
14423 /* end confdefs.h. */
14424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14426 #define $ac_func innocuous_$ac_func
14428 /* System header to define __stub macros and hopefully few prototypes,
14429 which can conflict with char $ac_func (); below.
14430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14431 <limits.h> exists even on freestanding compilers. */
14433 #ifdef __STDC__
14434 # include <limits.h>
14435 #else
14436 # include <assert.h>
14437 #endif
14439 #undef $ac_func
14441 /* Override any gcc2 internal prototype to avoid an error. */
14442 #ifdef __cplusplus
14443 extern "C"
14445 #endif
14446 /* We use char because int might match the return type of a gcc2
14447 builtin and then its argument prototype would still apply. */
14448 char $ac_func ();
14449 /* The GNU C library defines this for functions which it implements
14450 to always fail with ENOSYS. Some functions are actually named
14451 something starting with __ and the normal name is an alias. */
14452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14453 choke me
14454 #else
14455 char (*f) () = $ac_func;
14456 #endif
14457 #ifdef __cplusplus
14459 #endif
14462 main ()
14464 return f != $ac_func;
14466 return 0;
14468 _ACEOF
14469 rm -f conftest.$ac_objext conftest$ac_exeext
14470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14471 (eval $ac_link) 2>conftest.er1
14472 ac_status=$?
14473 grep -v '^ *+' conftest.er1 >conftest.err
14474 rm -f conftest.er1
14475 cat conftest.err >&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); } &&
14478 { ac_try='test -z "$ac_c_werror_flag"
14479 || test ! -s conftest.err'
14480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14481 (eval $ac_try) 2>&5
14482 ac_status=$?
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); }; } &&
14485 { ac_try='test -s conftest$ac_exeext'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14488 ac_status=$?
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; }; then
14491 eval "$as_ac_var=yes"
14492 else
14493 echo "$as_me: failed program was:" >&5
14494 sed 's/^/| /' conftest.$ac_ext >&5
14496 eval "$as_ac_var=no"
14498 rm -f conftest.err conftest.$ac_objext \
14499 conftest$ac_exeext conftest.$ac_ext
14501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14503 if test `eval echo '${'$as_ac_var'}'` = yes; then
14504 cat >>confdefs.h <<_ACEOF
14505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14506 _ACEOF
14509 done
14511 else
14513 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14514 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14515 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14516 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14518 else
14522 ac_ext=cc
14523 ac_cpp='$CXXCPP $CPPFLAGS'
14524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14528 cat >conftest.$ac_ext <<_ACEOF
14529 /* confdefs.h. */
14530 _ACEOF
14531 cat confdefs.h >>conftest.$ac_ext
14532 cat >>conftest.$ac_ext <<_ACEOF
14533 /* end confdefs.h. */
14534 #include <math.h>
14536 main ()
14538 _hypotf(0, 0);
14540 return 0;
14542 _ACEOF
14543 rm -f conftest.$ac_objext
14544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14545 (eval $ac_compile) 2>conftest.er1
14546 ac_status=$?
14547 grep -v '^ *+' conftest.er1 >conftest.err
14548 rm -f conftest.er1
14549 cat conftest.err >&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); } &&
14552 { ac_try='test -z "$ac_cxx_werror_flag"
14553 || test ! -s conftest.err'
14554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14555 (eval $ac_try) 2>&5
14556 ac_status=$?
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); }; } &&
14559 { ac_try='test -s conftest.$ac_objext'
14560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14561 (eval $ac_try) 2>&5
14562 ac_status=$?
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); }; }; then
14565 glibcxx_cv_func__hypotf_use=yes
14566 else
14567 echo "$as_me: failed program was:" >&5
14568 sed 's/^/| /' conftest.$ac_ext >&5
14570 glibcxx_cv_func__hypotf_use=no
14572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14573 ac_ext=c
14574 ac_cpp='$CPP $CPPFLAGS'
14575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14583 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14584 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14586 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14588 for ac_func in _hypotf
14590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14591 echo "$as_me:$LINENO: checking for $ac_func" >&5
14592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14593 if eval "test \"\${$as_ac_var+set}\" = set"; then
14594 echo $ECHO_N "(cached) $ECHO_C" >&6
14595 else
14596 if test x$gcc_no_link = xyes; then
14597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14599 { (exit 1); exit 1; }; }
14601 cat >conftest.$ac_ext <<_ACEOF
14602 /* confdefs.h. */
14603 _ACEOF
14604 cat confdefs.h >>conftest.$ac_ext
14605 cat >>conftest.$ac_ext <<_ACEOF
14606 /* end confdefs.h. */
14607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14609 #define $ac_func innocuous_$ac_func
14611 /* System header to define __stub macros and hopefully few prototypes,
14612 which can conflict with char $ac_func (); below.
14613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14614 <limits.h> exists even on freestanding compilers. */
14616 #ifdef __STDC__
14617 # include <limits.h>
14618 #else
14619 # include <assert.h>
14620 #endif
14622 #undef $ac_func
14624 /* Override any gcc2 internal prototype to avoid an error. */
14625 #ifdef __cplusplus
14626 extern "C"
14628 #endif
14629 /* We use char because int might match the return type of a gcc2
14630 builtin and then its argument prototype would still apply. */
14631 char $ac_func ();
14632 /* The GNU C library defines this for functions which it implements
14633 to always fail with ENOSYS. Some functions are actually named
14634 something starting with __ and the normal name is an alias. */
14635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14636 choke me
14637 #else
14638 char (*f) () = $ac_func;
14639 #endif
14640 #ifdef __cplusplus
14642 #endif
14645 main ()
14647 return f != $ac_func;
14649 return 0;
14651 _ACEOF
14652 rm -f conftest.$ac_objext conftest$ac_exeext
14653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14654 (eval $ac_link) 2>conftest.er1
14655 ac_status=$?
14656 grep -v '^ *+' conftest.er1 >conftest.err
14657 rm -f conftest.er1
14658 cat conftest.err >&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); } &&
14661 { ac_try='test -z "$ac_c_werror_flag"
14662 || test ! -s conftest.err'
14663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14664 (eval $ac_try) 2>&5
14665 ac_status=$?
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); }; } &&
14668 { ac_try='test -s conftest$ac_exeext'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14671 ac_status=$?
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; }; then
14674 eval "$as_ac_var=yes"
14675 else
14676 echo "$as_me: failed program was:" >&5
14677 sed 's/^/| /' conftest.$ac_ext >&5
14679 eval "$as_ac_var=no"
14681 rm -f conftest.err conftest.$ac_objext \
14682 conftest$ac_exeext conftest.$ac_ext
14684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14686 if test `eval echo '${'$as_ac_var'}'` = yes; then
14687 cat >>confdefs.h <<_ACEOF
14688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14689 _ACEOF
14692 done
14699 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14700 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14701 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14702 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14703 echo $ECHO_N "(cached) $ECHO_C" >&6
14704 else
14708 ac_ext=cc
14709 ac_cpp='$CXXCPP $CPPFLAGS'
14710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14714 cat >conftest.$ac_ext <<_ACEOF
14715 /* confdefs.h. */
14716 _ACEOF
14717 cat confdefs.h >>conftest.$ac_ext
14718 cat >>conftest.$ac_ext <<_ACEOF
14719 /* end confdefs.h. */
14720 #include <math.h>
14722 main ()
14724 ldexpf(0, 0);
14726 return 0;
14728 _ACEOF
14729 rm -f conftest.$ac_objext
14730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14731 (eval $ac_compile) 2>conftest.er1
14732 ac_status=$?
14733 grep -v '^ *+' conftest.er1 >conftest.err
14734 rm -f conftest.er1
14735 cat conftest.err >&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } &&
14738 { ac_try='test -z "$ac_cxx_werror_flag"
14739 || test ! -s conftest.err'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14742 ac_status=$?
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; } &&
14745 { ac_try='test -s conftest.$ac_objext'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14748 ac_status=$?
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 glibcxx_cv_func_ldexpf_use=yes
14752 else
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.$ac_ext >&5
14756 glibcxx_cv_func_ldexpf_use=no
14758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14759 ac_ext=c
14760 ac_cpp='$CPP $CPPFLAGS'
14761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14769 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14770 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14772 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14774 for ac_func in ldexpf
14776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14777 echo "$as_me:$LINENO: checking for $ac_func" >&5
14778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14779 if eval "test \"\${$as_ac_var+set}\" = set"; then
14780 echo $ECHO_N "(cached) $ECHO_C" >&6
14781 else
14782 if test x$gcc_no_link = xyes; then
14783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14785 { (exit 1); exit 1; }; }
14787 cat >conftest.$ac_ext <<_ACEOF
14788 /* confdefs.h. */
14789 _ACEOF
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14795 #define $ac_func innocuous_$ac_func
14797 /* System header to define __stub macros and hopefully few prototypes,
14798 which can conflict with char $ac_func (); below.
14799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14800 <limits.h> exists even on freestanding compilers. */
14802 #ifdef __STDC__
14803 # include <limits.h>
14804 #else
14805 # include <assert.h>
14806 #endif
14808 #undef $ac_func
14810 /* Override any gcc2 internal prototype to avoid an error. */
14811 #ifdef __cplusplus
14812 extern "C"
14814 #endif
14815 /* We use char because int might match the return type of a gcc2
14816 builtin and then its argument prototype would still apply. */
14817 char $ac_func ();
14818 /* The GNU C library defines this for functions which it implements
14819 to always fail with ENOSYS. Some functions are actually named
14820 something starting with __ and the normal name is an alias. */
14821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14822 choke me
14823 #else
14824 char (*f) () = $ac_func;
14825 #endif
14826 #ifdef __cplusplus
14828 #endif
14831 main ()
14833 return f != $ac_func;
14835 return 0;
14837 _ACEOF
14838 rm -f conftest.$ac_objext conftest$ac_exeext
14839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14840 (eval $ac_link) 2>conftest.er1
14841 ac_status=$?
14842 grep -v '^ *+' conftest.er1 >conftest.err
14843 rm -f conftest.er1
14844 cat conftest.err >&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } &&
14847 { ac_try='test -z "$ac_c_werror_flag"
14848 || test ! -s conftest.err'
14849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850 (eval $ac_try) 2>&5
14851 ac_status=$?
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; } &&
14854 { ac_try='test -s conftest$ac_exeext'
14855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14856 (eval $ac_try) 2>&5
14857 ac_status=$?
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); }; }; then
14860 eval "$as_ac_var=yes"
14861 else
14862 echo "$as_me: failed program was:" >&5
14863 sed 's/^/| /' conftest.$ac_ext >&5
14865 eval "$as_ac_var=no"
14867 rm -f conftest.err conftest.$ac_objext \
14868 conftest$ac_exeext conftest.$ac_ext
14870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14872 if test `eval echo '${'$as_ac_var'}'` = yes; then
14873 cat >>confdefs.h <<_ACEOF
14874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14875 _ACEOF
14878 done
14880 else
14882 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14883 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14884 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14885 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14887 else
14891 ac_ext=cc
14892 ac_cpp='$CXXCPP $CPPFLAGS'
14893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14897 cat >conftest.$ac_ext <<_ACEOF
14898 /* confdefs.h. */
14899 _ACEOF
14900 cat confdefs.h >>conftest.$ac_ext
14901 cat >>conftest.$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14903 #include <math.h>
14905 main ()
14907 _ldexpf(0, 0);
14909 return 0;
14911 _ACEOF
14912 rm -f conftest.$ac_objext
14913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14914 (eval $ac_compile) 2>conftest.er1
14915 ac_status=$?
14916 grep -v '^ *+' conftest.er1 >conftest.err
14917 rm -f conftest.er1
14918 cat conftest.err >&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } &&
14921 { ac_try='test -z "$ac_cxx_werror_flag"
14922 || test ! -s conftest.err'
14923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924 (eval $ac_try) 2>&5
14925 ac_status=$?
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); }; } &&
14928 { ac_try='test -s conftest.$ac_objext'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14931 ac_status=$?
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; }; then
14934 glibcxx_cv_func__ldexpf_use=yes
14935 else
14936 echo "$as_me: failed program was:" >&5
14937 sed 's/^/| /' conftest.$ac_ext >&5
14939 glibcxx_cv_func__ldexpf_use=no
14941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14942 ac_ext=c
14943 ac_cpp='$CPP $CPPFLAGS'
14944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14952 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14953 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14955 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14957 for ac_func in _ldexpf
14959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14960 echo "$as_me:$LINENO: checking for $ac_func" >&5
14961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14962 if eval "test \"\${$as_ac_var+set}\" = set"; then
14963 echo $ECHO_N "(cached) $ECHO_C" >&6
14964 else
14965 if test x$gcc_no_link = xyes; then
14966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14968 { (exit 1); exit 1; }; }
14970 cat >conftest.$ac_ext <<_ACEOF
14971 /* confdefs.h. */
14972 _ACEOF
14973 cat confdefs.h >>conftest.$ac_ext
14974 cat >>conftest.$ac_ext <<_ACEOF
14975 /* end confdefs.h. */
14976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14978 #define $ac_func innocuous_$ac_func
14980 /* System header to define __stub macros and hopefully few prototypes,
14981 which can conflict with char $ac_func (); below.
14982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14983 <limits.h> exists even on freestanding compilers. */
14985 #ifdef __STDC__
14986 # include <limits.h>
14987 #else
14988 # include <assert.h>
14989 #endif
14991 #undef $ac_func
14993 /* Override any gcc2 internal prototype to avoid an error. */
14994 #ifdef __cplusplus
14995 extern "C"
14997 #endif
14998 /* We use char because int might match the return type of a gcc2
14999 builtin and then its argument prototype would still apply. */
15000 char $ac_func ();
15001 /* The GNU C library defines this for functions which it implements
15002 to always fail with ENOSYS. Some functions are actually named
15003 something starting with __ and the normal name is an alias. */
15004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15005 choke me
15006 #else
15007 char (*f) () = $ac_func;
15008 #endif
15009 #ifdef __cplusplus
15011 #endif
15014 main ()
15016 return f != $ac_func;
15018 return 0;
15020 _ACEOF
15021 rm -f conftest.$ac_objext conftest$ac_exeext
15022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15023 (eval $ac_link) 2>conftest.er1
15024 ac_status=$?
15025 grep -v '^ *+' conftest.er1 >conftest.err
15026 rm -f conftest.er1
15027 cat conftest.err >&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); } &&
15030 { ac_try='test -z "$ac_c_werror_flag"
15031 || test ! -s conftest.err'
15032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15033 (eval $ac_try) 2>&5
15034 ac_status=$?
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; } &&
15037 { ac_try='test -s conftest$ac_exeext'
15038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15039 (eval $ac_try) 2>&5
15040 ac_status=$?
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); }; }; then
15043 eval "$as_ac_var=yes"
15044 else
15045 echo "$as_me: failed program was:" >&5
15046 sed 's/^/| /' conftest.$ac_ext >&5
15048 eval "$as_ac_var=no"
15050 rm -f conftest.err conftest.$ac_objext \
15051 conftest$ac_exeext conftest.$ac_ext
15053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15055 if test `eval echo '${'$as_ac_var'}'` = yes; then
15056 cat >>confdefs.h <<_ACEOF
15057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15058 _ACEOF
15061 done
15068 echo "$as_me:$LINENO: checking for logf declaration" >&5
15069 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15070 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15071 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15072 echo $ECHO_N "(cached) $ECHO_C" >&6
15073 else
15077 ac_ext=cc
15078 ac_cpp='$CXXCPP $CPPFLAGS'
15079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15083 cat >conftest.$ac_ext <<_ACEOF
15084 /* confdefs.h. */
15085 _ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15089 #include <math.h>
15090 #ifdef HAVE_IEEEFP_H
15091 #include <ieeefp.h>
15092 #endif
15095 main ()
15097 logf(0);
15099 return 0;
15101 _ACEOF
15102 rm -f conftest.$ac_objext
15103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15104 (eval $ac_compile) 2>conftest.er1
15105 ac_status=$?
15106 grep -v '^ *+' conftest.er1 >conftest.err
15107 rm -f conftest.er1
15108 cat conftest.err >&5
15109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15110 (exit $ac_status); } &&
15111 { ac_try='test -z "$ac_cxx_werror_flag"
15112 || test ! -s conftest.err'
15113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15114 (eval $ac_try) 2>&5
15115 ac_status=$?
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); }; } &&
15118 { ac_try='test -s conftest.$ac_objext'
15119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15120 (eval $ac_try) 2>&5
15121 ac_status=$?
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }; }; then
15124 glibcxx_cv_func_logf_use=yes
15125 else
15126 echo "$as_me: failed program was:" >&5
15127 sed 's/^/| /' conftest.$ac_ext >&5
15129 glibcxx_cv_func_logf_use=no
15131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15132 ac_ext=c
15133 ac_cpp='$CPP $CPPFLAGS'
15134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15142 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15143 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15145 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15147 for ac_func in logf
15149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15150 echo "$as_me:$LINENO: checking for $ac_func" >&5
15151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15152 if eval "test \"\${$as_ac_var+set}\" = set"; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 else
15155 if test x$gcc_no_link = xyes; then
15156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15158 { (exit 1); exit 1; }; }
15160 cat >conftest.$ac_ext <<_ACEOF
15161 /* confdefs.h. */
15162 _ACEOF
15163 cat confdefs.h >>conftest.$ac_ext
15164 cat >>conftest.$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15168 #define $ac_func innocuous_$ac_func
15170 /* System header to define __stub macros and hopefully few prototypes,
15171 which can conflict with char $ac_func (); below.
15172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15173 <limits.h> exists even on freestanding compilers. */
15175 #ifdef __STDC__
15176 # include <limits.h>
15177 #else
15178 # include <assert.h>
15179 #endif
15181 #undef $ac_func
15183 /* Override any gcc2 internal prototype to avoid an error. */
15184 #ifdef __cplusplus
15185 extern "C"
15187 #endif
15188 /* We use char because int might match the return type of a gcc2
15189 builtin and then its argument prototype would still apply. */
15190 char $ac_func ();
15191 /* The GNU C library defines this for functions which it implements
15192 to always fail with ENOSYS. Some functions are actually named
15193 something starting with __ and the normal name is an alias. */
15194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15195 choke me
15196 #else
15197 char (*f) () = $ac_func;
15198 #endif
15199 #ifdef __cplusplus
15201 #endif
15204 main ()
15206 return f != $ac_func;
15208 return 0;
15210 _ACEOF
15211 rm -f conftest.$ac_objext conftest$ac_exeext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15213 (eval $ac_link) 2>conftest.er1
15214 ac_status=$?
15215 grep -v '^ *+' conftest.er1 >conftest.err
15216 rm -f conftest.er1
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try='test -z "$ac_c_werror_flag"
15221 || test ! -s conftest.err'
15222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223 (eval $ac_try) 2>&5
15224 ac_status=$?
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); }; } &&
15227 { ac_try='test -s conftest$ac_exeext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15230 ac_status=$?
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15233 eval "$as_ac_var=yes"
15234 else
15235 echo "$as_me: failed program was:" >&5
15236 sed 's/^/| /' conftest.$ac_ext >&5
15238 eval "$as_ac_var=no"
15240 rm -f conftest.err conftest.$ac_objext \
15241 conftest$ac_exeext conftest.$ac_ext
15243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15245 if test `eval echo '${'$as_ac_var'}'` = yes; then
15246 cat >>confdefs.h <<_ACEOF
15247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15248 _ACEOF
15251 done
15253 else
15255 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15256 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15257 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15258 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15260 else
15264 ac_ext=cc
15265 ac_cpp='$CXXCPP $CPPFLAGS'
15266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15270 cat >conftest.$ac_ext <<_ACEOF
15271 /* confdefs.h. */
15272 _ACEOF
15273 cat confdefs.h >>conftest.$ac_ext
15274 cat >>conftest.$ac_ext <<_ACEOF
15275 /* end confdefs.h. */
15276 #include <math.h>
15277 #ifdef HAVE_IEEEFP_H
15278 #include <ieeefp.h>
15279 #endif
15282 main ()
15284 _logf(0);
15286 return 0;
15288 _ACEOF
15289 rm -f conftest.$ac_objext
15290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15291 (eval $ac_compile) 2>conftest.er1
15292 ac_status=$?
15293 grep -v '^ *+' conftest.er1 >conftest.err
15294 rm -f conftest.er1
15295 cat conftest.err >&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); } &&
15298 { ac_try='test -z "$ac_cxx_werror_flag"
15299 || test ! -s conftest.err'
15300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15301 (eval $ac_try) 2>&5
15302 ac_status=$?
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); }; } &&
15305 { ac_try='test -s conftest.$ac_objext'
15306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15307 (eval $ac_try) 2>&5
15308 ac_status=$?
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); }; }; then
15311 glibcxx_cv_func__logf_use=yes
15312 else
15313 echo "$as_me: failed program was:" >&5
15314 sed 's/^/| /' conftest.$ac_ext >&5
15316 glibcxx_cv_func__logf_use=no
15318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15319 ac_ext=c
15320 ac_cpp='$CPP $CPPFLAGS'
15321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15329 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15330 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15332 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15334 for ac_func in _logf
15336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15337 echo "$as_me:$LINENO: checking for $ac_func" >&5
15338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15339 if eval "test \"\${$as_ac_var+set}\" = set"; then
15340 echo $ECHO_N "(cached) $ECHO_C" >&6
15341 else
15342 if test x$gcc_no_link = xyes; then
15343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15345 { (exit 1); exit 1; }; }
15347 cat >conftest.$ac_ext <<_ACEOF
15348 /* confdefs.h. */
15349 _ACEOF
15350 cat confdefs.h >>conftest.$ac_ext
15351 cat >>conftest.$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15355 #define $ac_func innocuous_$ac_func
15357 /* System header to define __stub macros and hopefully few prototypes,
15358 which can conflict with char $ac_func (); below.
15359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15360 <limits.h> exists even on freestanding compilers. */
15362 #ifdef __STDC__
15363 # include <limits.h>
15364 #else
15365 # include <assert.h>
15366 #endif
15368 #undef $ac_func
15370 /* Override any gcc2 internal prototype to avoid an error. */
15371 #ifdef __cplusplus
15372 extern "C"
15374 #endif
15375 /* We use char because int might match the return type of a gcc2
15376 builtin and then its argument prototype would still apply. */
15377 char $ac_func ();
15378 /* The GNU C library defines this for functions which it implements
15379 to always fail with ENOSYS. Some functions are actually named
15380 something starting with __ and the normal name is an alias. */
15381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15382 choke me
15383 #else
15384 char (*f) () = $ac_func;
15385 #endif
15386 #ifdef __cplusplus
15388 #endif
15391 main ()
15393 return f != $ac_func;
15395 return 0;
15397 _ACEOF
15398 rm -f conftest.$ac_objext conftest$ac_exeext
15399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15400 (eval $ac_link) 2>conftest.er1
15401 ac_status=$?
15402 grep -v '^ *+' conftest.er1 >conftest.err
15403 rm -f conftest.er1
15404 cat conftest.err >&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); } &&
15407 { ac_try='test -z "$ac_c_werror_flag"
15408 || test ! -s conftest.err'
15409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15410 (eval $ac_try) 2>&5
15411 ac_status=$?
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }; } &&
15414 { ac_try='test -s conftest$ac_exeext'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15417 ac_status=$?
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; }; then
15420 eval "$as_ac_var=yes"
15421 else
15422 echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.$ac_ext >&5
15425 eval "$as_ac_var=no"
15427 rm -f conftest.err conftest.$ac_objext \
15428 conftest$ac_exeext conftest.$ac_ext
15430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15432 if test `eval echo '${'$as_ac_var'}'` = yes; then
15433 cat >>confdefs.h <<_ACEOF
15434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15435 _ACEOF
15438 done
15445 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15446 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15447 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15448 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15450 else
15454 ac_ext=cc
15455 ac_cpp='$CXXCPP $CPPFLAGS'
15456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15460 cat >conftest.$ac_ext <<_ACEOF
15461 /* confdefs.h. */
15462 _ACEOF
15463 cat confdefs.h >>conftest.$ac_ext
15464 cat >>conftest.$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15466 #include <math.h>
15467 #ifdef HAVE_IEEEFP_H
15468 #include <ieeefp.h>
15469 #endif
15472 main ()
15474 log10f(0);
15476 return 0;
15478 _ACEOF
15479 rm -f conftest.$ac_objext
15480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15481 (eval $ac_compile) 2>conftest.er1
15482 ac_status=$?
15483 grep -v '^ *+' conftest.er1 >conftest.err
15484 rm -f conftest.er1
15485 cat conftest.err >&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } &&
15488 { ac_try='test -z "$ac_cxx_werror_flag"
15489 || test ! -s conftest.err'
15490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15491 (eval $ac_try) 2>&5
15492 ac_status=$?
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); }; } &&
15495 { ac_try='test -s conftest.$ac_objext'
15496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15497 (eval $ac_try) 2>&5
15498 ac_status=$?
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); }; }; then
15501 glibcxx_cv_func_log10f_use=yes
15502 else
15503 echo "$as_me: failed program was:" >&5
15504 sed 's/^/| /' conftest.$ac_ext >&5
15506 glibcxx_cv_func_log10f_use=no
15508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15509 ac_ext=c
15510 ac_cpp='$CPP $CPPFLAGS'
15511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15519 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15520 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15522 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15524 for ac_func in log10f
15526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15527 echo "$as_me:$LINENO: checking for $ac_func" >&5
15528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15529 if eval "test \"\${$as_ac_var+set}\" = set"; then
15530 echo $ECHO_N "(cached) $ECHO_C" >&6
15531 else
15532 if test x$gcc_no_link = xyes; then
15533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15535 { (exit 1); exit 1; }; }
15537 cat >conftest.$ac_ext <<_ACEOF
15538 /* confdefs.h. */
15539 _ACEOF
15540 cat confdefs.h >>conftest.$ac_ext
15541 cat >>conftest.$ac_ext <<_ACEOF
15542 /* end confdefs.h. */
15543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15545 #define $ac_func innocuous_$ac_func
15547 /* System header to define __stub macros and hopefully few prototypes,
15548 which can conflict with char $ac_func (); below.
15549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15550 <limits.h> exists even on freestanding compilers. */
15552 #ifdef __STDC__
15553 # include <limits.h>
15554 #else
15555 # include <assert.h>
15556 #endif
15558 #undef $ac_func
15560 /* Override any gcc2 internal prototype to avoid an error. */
15561 #ifdef __cplusplus
15562 extern "C"
15564 #endif
15565 /* We use char because int might match the return type of a gcc2
15566 builtin and then its argument prototype would still apply. */
15567 char $ac_func ();
15568 /* The GNU C library defines this for functions which it implements
15569 to always fail with ENOSYS. Some functions are actually named
15570 something starting with __ and the normal name is an alias. */
15571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15572 choke me
15573 #else
15574 char (*f) () = $ac_func;
15575 #endif
15576 #ifdef __cplusplus
15578 #endif
15581 main ()
15583 return f != $ac_func;
15585 return 0;
15587 _ACEOF
15588 rm -f conftest.$ac_objext conftest$ac_exeext
15589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15590 (eval $ac_link) 2>conftest.er1
15591 ac_status=$?
15592 grep -v '^ *+' conftest.er1 >conftest.err
15593 rm -f conftest.er1
15594 cat conftest.err >&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); } &&
15597 { ac_try='test -z "$ac_c_werror_flag"
15598 || test ! -s conftest.err'
15599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600 (eval $ac_try) 2>&5
15601 ac_status=$?
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); }; } &&
15604 { ac_try='test -s conftest$ac_exeext'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15607 ac_status=$?
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; }; then
15610 eval "$as_ac_var=yes"
15611 else
15612 echo "$as_me: failed program was:" >&5
15613 sed 's/^/| /' conftest.$ac_ext >&5
15615 eval "$as_ac_var=no"
15617 rm -f conftest.err conftest.$ac_objext \
15618 conftest$ac_exeext conftest.$ac_ext
15620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15622 if test `eval echo '${'$as_ac_var'}'` = yes; then
15623 cat >>confdefs.h <<_ACEOF
15624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15625 _ACEOF
15628 done
15630 else
15632 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15633 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15634 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15635 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15636 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 else
15641 ac_ext=cc
15642 ac_cpp='$CXXCPP $CPPFLAGS'
15643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15647 cat >conftest.$ac_ext <<_ACEOF
15648 /* confdefs.h. */
15649 _ACEOF
15650 cat confdefs.h >>conftest.$ac_ext
15651 cat >>conftest.$ac_ext <<_ACEOF
15652 /* end confdefs.h. */
15653 #include <math.h>
15654 #ifdef HAVE_IEEEFP_H
15655 #include <ieeefp.h>
15656 #endif
15659 main ()
15661 _log10f(0);
15663 return 0;
15665 _ACEOF
15666 rm -f conftest.$ac_objext
15667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15668 (eval $ac_compile) 2>conftest.er1
15669 ac_status=$?
15670 grep -v '^ *+' conftest.er1 >conftest.err
15671 rm -f conftest.er1
15672 cat conftest.err >&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); } &&
15675 { ac_try='test -z "$ac_cxx_werror_flag"
15676 || test ! -s conftest.err'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15679 ac_status=$?
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; } &&
15682 { ac_try='test -s conftest.$ac_objext'
15683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15684 (eval $ac_try) 2>&5
15685 ac_status=$?
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); }; }; then
15688 glibcxx_cv_func__log10f_use=yes
15689 else
15690 echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.$ac_ext >&5
15693 glibcxx_cv_func__log10f_use=no
15695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15696 ac_ext=c
15697 ac_cpp='$CPP $CPPFLAGS'
15698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15706 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15707 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15709 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15711 for ac_func in _log10f
15713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15714 echo "$as_me:$LINENO: checking for $ac_func" >&5
15715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15716 if eval "test \"\${$as_ac_var+set}\" = set"; then
15717 echo $ECHO_N "(cached) $ECHO_C" >&6
15718 else
15719 if test x$gcc_no_link = xyes; then
15720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15722 { (exit 1); exit 1; }; }
15724 cat >conftest.$ac_ext <<_ACEOF
15725 /* confdefs.h. */
15726 _ACEOF
15727 cat confdefs.h >>conftest.$ac_ext
15728 cat >>conftest.$ac_ext <<_ACEOF
15729 /* end confdefs.h. */
15730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15732 #define $ac_func innocuous_$ac_func
15734 /* System header to define __stub macros and hopefully few prototypes,
15735 which can conflict with char $ac_func (); below.
15736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15737 <limits.h> exists even on freestanding compilers. */
15739 #ifdef __STDC__
15740 # include <limits.h>
15741 #else
15742 # include <assert.h>
15743 #endif
15745 #undef $ac_func
15747 /* Override any gcc2 internal prototype to avoid an error. */
15748 #ifdef __cplusplus
15749 extern "C"
15751 #endif
15752 /* We use char because int might match the return type of a gcc2
15753 builtin and then its argument prototype would still apply. */
15754 char $ac_func ();
15755 /* The GNU C library defines this for functions which it implements
15756 to always fail with ENOSYS. Some functions are actually named
15757 something starting with __ and the normal name is an alias. */
15758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15759 choke me
15760 #else
15761 char (*f) () = $ac_func;
15762 #endif
15763 #ifdef __cplusplus
15765 #endif
15768 main ()
15770 return f != $ac_func;
15772 return 0;
15774 _ACEOF
15775 rm -f conftest.$ac_objext conftest$ac_exeext
15776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15777 (eval $ac_link) 2>conftest.er1
15778 ac_status=$?
15779 grep -v '^ *+' conftest.er1 >conftest.err
15780 rm -f conftest.er1
15781 cat conftest.err >&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); } &&
15784 { ac_try='test -z "$ac_c_werror_flag"
15785 || test ! -s conftest.err'
15786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15787 (eval $ac_try) 2>&5
15788 ac_status=$?
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); }; } &&
15791 { ac_try='test -s conftest$ac_exeext'
15792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15793 (eval $ac_try) 2>&5
15794 ac_status=$?
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); }; }; then
15797 eval "$as_ac_var=yes"
15798 else
15799 echo "$as_me: failed program was:" >&5
15800 sed 's/^/| /' conftest.$ac_ext >&5
15802 eval "$as_ac_var=no"
15804 rm -f conftest.err conftest.$ac_objext \
15805 conftest$ac_exeext conftest.$ac_ext
15807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15809 if test `eval echo '${'$as_ac_var'}'` = yes; then
15810 cat >>confdefs.h <<_ACEOF
15811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15812 _ACEOF
15815 done
15822 echo "$as_me:$LINENO: checking for modff declaration" >&5
15823 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15824 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15825 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15826 echo $ECHO_N "(cached) $ECHO_C" >&6
15827 else
15831 ac_ext=cc
15832 ac_cpp='$CXXCPP $CPPFLAGS'
15833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15837 cat >conftest.$ac_ext <<_ACEOF
15838 /* confdefs.h. */
15839 _ACEOF
15840 cat confdefs.h >>conftest.$ac_ext
15841 cat >>conftest.$ac_ext <<_ACEOF
15842 /* end confdefs.h. */
15843 #include <math.h>
15845 main ()
15847 modff(0, 0);
15849 return 0;
15851 _ACEOF
15852 rm -f conftest.$ac_objext
15853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15854 (eval $ac_compile) 2>conftest.er1
15855 ac_status=$?
15856 grep -v '^ *+' conftest.er1 >conftest.err
15857 rm -f conftest.er1
15858 cat conftest.err >&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); } &&
15861 { ac_try='test -z "$ac_cxx_werror_flag"
15862 || test ! -s conftest.err'
15863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15864 (eval $ac_try) 2>&5
15865 ac_status=$?
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); }; } &&
15868 { ac_try='test -s conftest.$ac_objext'
15869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15870 (eval $ac_try) 2>&5
15871 ac_status=$?
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); }; }; then
15874 glibcxx_cv_func_modff_use=yes
15875 else
15876 echo "$as_me: failed program was:" >&5
15877 sed 's/^/| /' conftest.$ac_ext >&5
15879 glibcxx_cv_func_modff_use=no
15881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15882 ac_ext=c
15883 ac_cpp='$CPP $CPPFLAGS'
15884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15892 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15893 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15895 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15897 for ac_func in modff
15899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15900 echo "$as_me:$LINENO: checking for $ac_func" >&5
15901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15902 if eval "test \"\${$as_ac_var+set}\" = set"; then
15903 echo $ECHO_N "(cached) $ECHO_C" >&6
15904 else
15905 if test x$gcc_no_link = xyes; then
15906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15908 { (exit 1); exit 1; }; }
15910 cat >conftest.$ac_ext <<_ACEOF
15911 /* confdefs.h. */
15912 _ACEOF
15913 cat confdefs.h >>conftest.$ac_ext
15914 cat >>conftest.$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15918 #define $ac_func innocuous_$ac_func
15920 /* System header to define __stub macros and hopefully few prototypes,
15921 which can conflict with char $ac_func (); below.
15922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15923 <limits.h> exists even on freestanding compilers. */
15925 #ifdef __STDC__
15926 # include <limits.h>
15927 #else
15928 # include <assert.h>
15929 #endif
15931 #undef $ac_func
15933 /* Override any gcc2 internal prototype to avoid an error. */
15934 #ifdef __cplusplus
15935 extern "C"
15937 #endif
15938 /* We use char because int might match the return type of a gcc2
15939 builtin and then its argument prototype would still apply. */
15940 char $ac_func ();
15941 /* The GNU C library defines this for functions which it implements
15942 to always fail with ENOSYS. Some functions are actually named
15943 something starting with __ and the normal name is an alias. */
15944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15945 choke me
15946 #else
15947 char (*f) () = $ac_func;
15948 #endif
15949 #ifdef __cplusplus
15951 #endif
15954 main ()
15956 return f != $ac_func;
15958 return 0;
15960 _ACEOF
15961 rm -f conftest.$ac_objext conftest$ac_exeext
15962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15963 (eval $ac_link) 2>conftest.er1
15964 ac_status=$?
15965 grep -v '^ *+' conftest.er1 >conftest.err
15966 rm -f conftest.er1
15967 cat conftest.err >&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); } &&
15970 { ac_try='test -z "$ac_c_werror_flag"
15971 || test ! -s conftest.err'
15972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15973 (eval $ac_try) 2>&5
15974 ac_status=$?
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); }; } &&
15977 { ac_try='test -s conftest$ac_exeext'
15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15979 (eval $ac_try) 2>&5
15980 ac_status=$?
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; }; then
15983 eval "$as_ac_var=yes"
15984 else
15985 echo "$as_me: failed program was:" >&5
15986 sed 's/^/| /' conftest.$ac_ext >&5
15988 eval "$as_ac_var=no"
15990 rm -f conftest.err conftest.$ac_objext \
15991 conftest$ac_exeext conftest.$ac_ext
15993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15995 if test `eval echo '${'$as_ac_var'}'` = yes; then
15996 cat >>confdefs.h <<_ACEOF
15997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15998 _ACEOF
16001 done
16003 else
16005 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16006 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16007 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16008 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16009 echo $ECHO_N "(cached) $ECHO_C" >&6
16010 else
16014 ac_ext=cc
16015 ac_cpp='$CXXCPP $CPPFLAGS'
16016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16020 cat >conftest.$ac_ext <<_ACEOF
16021 /* confdefs.h. */
16022 _ACEOF
16023 cat confdefs.h >>conftest.$ac_ext
16024 cat >>conftest.$ac_ext <<_ACEOF
16025 /* end confdefs.h. */
16026 #include <math.h>
16028 main ()
16030 _modff(0, 0);
16032 return 0;
16034 _ACEOF
16035 rm -f conftest.$ac_objext
16036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16037 (eval $ac_compile) 2>conftest.er1
16038 ac_status=$?
16039 grep -v '^ *+' conftest.er1 >conftest.err
16040 rm -f conftest.er1
16041 cat conftest.err >&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); } &&
16044 { ac_try='test -z "$ac_cxx_werror_flag"
16045 || test ! -s conftest.err'
16046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16047 (eval $ac_try) 2>&5
16048 ac_status=$?
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); }; } &&
16051 { ac_try='test -s conftest.$ac_objext'
16052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16053 (eval $ac_try) 2>&5
16054 ac_status=$?
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); }; }; then
16057 glibcxx_cv_func__modff_use=yes
16058 else
16059 echo "$as_me: failed program was:" >&5
16060 sed 's/^/| /' conftest.$ac_ext >&5
16062 glibcxx_cv_func__modff_use=no
16064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16065 ac_ext=c
16066 ac_cpp='$CPP $CPPFLAGS'
16067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16075 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16076 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16078 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16080 for ac_func in _modff
16082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16083 echo "$as_me:$LINENO: checking for $ac_func" >&5
16084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16085 if eval "test \"\${$as_ac_var+set}\" = set"; then
16086 echo $ECHO_N "(cached) $ECHO_C" >&6
16087 else
16088 if test x$gcc_no_link = xyes; then
16089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16091 { (exit 1); exit 1; }; }
16093 cat >conftest.$ac_ext <<_ACEOF
16094 /* confdefs.h. */
16095 _ACEOF
16096 cat confdefs.h >>conftest.$ac_ext
16097 cat >>conftest.$ac_ext <<_ACEOF
16098 /* end confdefs.h. */
16099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16101 #define $ac_func innocuous_$ac_func
16103 /* System header to define __stub macros and hopefully few prototypes,
16104 which can conflict with char $ac_func (); below.
16105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16106 <limits.h> exists even on freestanding compilers. */
16108 #ifdef __STDC__
16109 # include <limits.h>
16110 #else
16111 # include <assert.h>
16112 #endif
16114 #undef $ac_func
16116 /* Override any gcc2 internal prototype to avoid an error. */
16117 #ifdef __cplusplus
16118 extern "C"
16120 #endif
16121 /* We use char because int might match the return type of a gcc2
16122 builtin and then its argument prototype would still apply. */
16123 char $ac_func ();
16124 /* The GNU C library defines this for functions which it implements
16125 to always fail with ENOSYS. Some functions are actually named
16126 something starting with __ and the normal name is an alias. */
16127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16128 choke me
16129 #else
16130 char (*f) () = $ac_func;
16131 #endif
16132 #ifdef __cplusplus
16134 #endif
16137 main ()
16139 return f != $ac_func;
16141 return 0;
16143 _ACEOF
16144 rm -f conftest.$ac_objext conftest$ac_exeext
16145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16146 (eval $ac_link) 2>conftest.er1
16147 ac_status=$?
16148 grep -v '^ *+' conftest.er1 >conftest.err
16149 rm -f conftest.er1
16150 cat conftest.err >&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } &&
16153 { ac_try='test -z "$ac_c_werror_flag"
16154 || test ! -s conftest.err'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; } &&
16160 { ac_try='test -s conftest$ac_exeext'
16161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16162 (eval $ac_try) 2>&5
16163 ac_status=$?
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); }; }; then
16166 eval "$as_ac_var=yes"
16167 else
16168 echo "$as_me: failed program was:" >&5
16169 sed 's/^/| /' conftest.$ac_ext >&5
16171 eval "$as_ac_var=no"
16173 rm -f conftest.err conftest.$ac_objext \
16174 conftest$ac_exeext conftest.$ac_ext
16176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16178 if test `eval echo '${'$as_ac_var'}'` = yes; then
16179 cat >>confdefs.h <<_ACEOF
16180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16181 _ACEOF
16184 done
16191 echo "$as_me:$LINENO: checking for powf declaration" >&5
16192 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16193 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16194 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16195 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 else
16200 ac_ext=cc
16201 ac_cpp='$CXXCPP $CPPFLAGS'
16202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16206 cat >conftest.$ac_ext <<_ACEOF
16207 /* confdefs.h. */
16208 _ACEOF
16209 cat confdefs.h >>conftest.$ac_ext
16210 cat >>conftest.$ac_ext <<_ACEOF
16211 /* end confdefs.h. */
16212 #include <math.h>
16214 main ()
16216 powf(0, 0);
16218 return 0;
16220 _ACEOF
16221 rm -f conftest.$ac_objext
16222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16223 (eval $ac_compile) 2>conftest.er1
16224 ac_status=$?
16225 grep -v '^ *+' conftest.er1 >conftest.err
16226 rm -f conftest.er1
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } &&
16230 { ac_try='test -z "$ac_cxx_werror_flag"
16231 || test ! -s conftest.err'
16232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16233 (eval $ac_try) 2>&5
16234 ac_status=$?
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); }; } &&
16237 { ac_try='test -s conftest.$ac_objext'
16238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16239 (eval $ac_try) 2>&5
16240 ac_status=$?
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); }; }; then
16243 glibcxx_cv_func_powf_use=yes
16244 else
16245 echo "$as_me: failed program was:" >&5
16246 sed 's/^/| /' conftest.$ac_ext >&5
16248 glibcxx_cv_func_powf_use=no
16250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16251 ac_ext=c
16252 ac_cpp='$CPP $CPPFLAGS'
16253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16262 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16264 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16266 for ac_func in powf
16268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16269 echo "$as_me:$LINENO: checking for $ac_func" >&5
16270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16271 if eval "test \"\${$as_ac_var+set}\" = set"; then
16272 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 else
16274 if test x$gcc_no_link = xyes; then
16275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16277 { (exit 1); exit 1; }; }
16279 cat >conftest.$ac_ext <<_ACEOF
16280 /* confdefs.h. */
16281 _ACEOF
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16287 #define $ac_func innocuous_$ac_func
16289 /* System header to define __stub macros and hopefully few prototypes,
16290 which can conflict with char $ac_func (); below.
16291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16292 <limits.h> exists even on freestanding compilers. */
16294 #ifdef __STDC__
16295 # include <limits.h>
16296 #else
16297 # include <assert.h>
16298 #endif
16300 #undef $ac_func
16302 /* Override any gcc2 internal prototype to avoid an error. */
16303 #ifdef __cplusplus
16304 extern "C"
16306 #endif
16307 /* We use char because int might match the return type of a gcc2
16308 builtin and then its argument prototype would still apply. */
16309 char $ac_func ();
16310 /* The GNU C library defines this for functions which it implements
16311 to always fail with ENOSYS. Some functions are actually named
16312 something starting with __ and the normal name is an alias. */
16313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16314 choke me
16315 #else
16316 char (*f) () = $ac_func;
16317 #endif
16318 #ifdef __cplusplus
16320 #endif
16323 main ()
16325 return f != $ac_func;
16327 return 0;
16329 _ACEOF
16330 rm -f conftest.$ac_objext conftest$ac_exeext
16331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16332 (eval $ac_link) 2>conftest.er1
16333 ac_status=$?
16334 grep -v '^ *+' conftest.er1 >conftest.err
16335 rm -f conftest.er1
16336 cat conftest.err >&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); } &&
16339 { ac_try='test -z "$ac_c_werror_flag"
16340 || test ! -s conftest.err'
16341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16342 (eval $ac_try) 2>&5
16343 ac_status=$?
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); }; } &&
16346 { ac_try='test -s conftest$ac_exeext'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16349 ac_status=$?
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; }; then
16352 eval "$as_ac_var=yes"
16353 else
16354 echo "$as_me: failed program was:" >&5
16355 sed 's/^/| /' conftest.$ac_ext >&5
16357 eval "$as_ac_var=no"
16359 rm -f conftest.err conftest.$ac_objext \
16360 conftest$ac_exeext conftest.$ac_ext
16362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16364 if test `eval echo '${'$as_ac_var'}'` = yes; then
16365 cat >>confdefs.h <<_ACEOF
16366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16367 _ACEOF
16370 done
16372 else
16374 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16375 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16376 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16377 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16378 echo $ECHO_N "(cached) $ECHO_C" >&6
16379 else
16383 ac_ext=cc
16384 ac_cpp='$CXXCPP $CPPFLAGS'
16385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16389 cat >conftest.$ac_ext <<_ACEOF
16390 /* confdefs.h. */
16391 _ACEOF
16392 cat confdefs.h >>conftest.$ac_ext
16393 cat >>conftest.$ac_ext <<_ACEOF
16394 /* end confdefs.h. */
16395 #include <math.h>
16397 main ()
16399 _powf(0, 0);
16401 return 0;
16403 _ACEOF
16404 rm -f conftest.$ac_objext
16405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16406 (eval $ac_compile) 2>conftest.er1
16407 ac_status=$?
16408 grep -v '^ *+' conftest.er1 >conftest.err
16409 rm -f conftest.er1
16410 cat conftest.err >&5
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); } &&
16413 { ac_try='test -z "$ac_cxx_werror_flag"
16414 || test ! -s conftest.err'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16417 ac_status=$?
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; } &&
16420 { ac_try='test -s conftest.$ac_objext'
16421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16422 (eval $ac_try) 2>&5
16423 ac_status=$?
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); }; }; then
16426 glibcxx_cv_func__powf_use=yes
16427 else
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.$ac_ext >&5
16431 glibcxx_cv_func__powf_use=no
16433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16434 ac_ext=c
16435 ac_cpp='$CPP $CPPFLAGS'
16436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16445 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16447 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16449 for ac_func in _powf
16451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16452 echo "$as_me:$LINENO: checking for $ac_func" >&5
16453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16454 if eval "test \"\${$as_ac_var+set}\" = set"; then
16455 echo $ECHO_N "(cached) $ECHO_C" >&6
16456 else
16457 if test x$gcc_no_link = xyes; then
16458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16460 { (exit 1); exit 1; }; }
16462 cat >conftest.$ac_ext <<_ACEOF
16463 /* confdefs.h. */
16464 _ACEOF
16465 cat confdefs.h >>conftest.$ac_ext
16466 cat >>conftest.$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16470 #define $ac_func innocuous_$ac_func
16472 /* System header to define __stub macros and hopefully few prototypes,
16473 which can conflict with char $ac_func (); below.
16474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16475 <limits.h> exists even on freestanding compilers. */
16477 #ifdef __STDC__
16478 # include <limits.h>
16479 #else
16480 # include <assert.h>
16481 #endif
16483 #undef $ac_func
16485 /* Override any gcc2 internal prototype to avoid an error. */
16486 #ifdef __cplusplus
16487 extern "C"
16489 #endif
16490 /* We use char because int might match the return type of a gcc2
16491 builtin and then its argument prototype would still apply. */
16492 char $ac_func ();
16493 /* The GNU C library defines this for functions which it implements
16494 to always fail with ENOSYS. Some functions are actually named
16495 something starting with __ and the normal name is an alias. */
16496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16497 choke me
16498 #else
16499 char (*f) () = $ac_func;
16500 #endif
16501 #ifdef __cplusplus
16503 #endif
16506 main ()
16508 return f != $ac_func;
16510 return 0;
16512 _ACEOF
16513 rm -f conftest.$ac_objext conftest$ac_exeext
16514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16515 (eval $ac_link) 2>conftest.er1
16516 ac_status=$?
16517 grep -v '^ *+' conftest.er1 >conftest.err
16518 rm -f conftest.er1
16519 cat conftest.err >&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); } &&
16522 { ac_try='test -z "$ac_c_werror_flag"
16523 || test ! -s conftest.err'
16524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16525 (eval $ac_try) 2>&5
16526 ac_status=$?
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); }; } &&
16529 { ac_try='test -s conftest$ac_exeext'
16530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16531 (eval $ac_try) 2>&5
16532 ac_status=$?
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); }; }; then
16535 eval "$as_ac_var=yes"
16536 else
16537 echo "$as_me: failed program was:" >&5
16538 sed 's/^/| /' conftest.$ac_ext >&5
16540 eval "$as_ac_var=no"
16542 rm -f conftest.err conftest.$ac_objext \
16543 conftest$ac_exeext conftest.$ac_ext
16545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16547 if test `eval echo '${'$as_ac_var'}'` = yes; then
16548 cat >>confdefs.h <<_ACEOF
16549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16550 _ACEOF
16553 done
16560 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16561 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16562 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16563 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16564 echo $ECHO_N "(cached) $ECHO_C" >&6
16565 else
16569 ac_ext=cc
16570 ac_cpp='$CXXCPP $CPPFLAGS'
16571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16575 cat >conftest.$ac_ext <<_ACEOF
16576 /* confdefs.h. */
16577 _ACEOF
16578 cat confdefs.h >>conftest.$ac_ext
16579 cat >>conftest.$ac_ext <<_ACEOF
16580 /* end confdefs.h. */
16581 #include <math.h>
16582 #ifdef HAVE_IEEEFP_H
16583 #include <ieeefp.h>
16584 #endif
16587 main ()
16589 sqrtf(0);
16591 return 0;
16593 _ACEOF
16594 rm -f conftest.$ac_objext
16595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16596 (eval $ac_compile) 2>conftest.er1
16597 ac_status=$?
16598 grep -v '^ *+' conftest.er1 >conftest.err
16599 rm -f conftest.er1
16600 cat conftest.err >&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); } &&
16603 { ac_try='test -z "$ac_cxx_werror_flag"
16604 || test ! -s conftest.err'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16607 ac_status=$?
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; } &&
16610 { ac_try='test -s conftest.$ac_objext'
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16613 ac_status=$?
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; }; then
16616 glibcxx_cv_func_sqrtf_use=yes
16617 else
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16621 glibcxx_cv_func_sqrtf_use=no
16623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16624 ac_ext=c
16625 ac_cpp='$CPP $CPPFLAGS'
16626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16635 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16637 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16639 for ac_func in sqrtf
16641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16642 echo "$as_me:$LINENO: checking for $ac_func" >&5
16643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16644 if eval "test \"\${$as_ac_var+set}\" = set"; then
16645 echo $ECHO_N "(cached) $ECHO_C" >&6
16646 else
16647 if test x$gcc_no_link = xyes; then
16648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16650 { (exit 1); exit 1; }; }
16652 cat >conftest.$ac_ext <<_ACEOF
16653 /* confdefs.h. */
16654 _ACEOF
16655 cat confdefs.h >>conftest.$ac_ext
16656 cat >>conftest.$ac_ext <<_ACEOF
16657 /* end confdefs.h. */
16658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16660 #define $ac_func innocuous_$ac_func
16662 /* System header to define __stub macros and hopefully few prototypes,
16663 which can conflict with char $ac_func (); below.
16664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16665 <limits.h> exists even on freestanding compilers. */
16667 #ifdef __STDC__
16668 # include <limits.h>
16669 #else
16670 # include <assert.h>
16671 #endif
16673 #undef $ac_func
16675 /* Override any gcc2 internal prototype to avoid an error. */
16676 #ifdef __cplusplus
16677 extern "C"
16679 #endif
16680 /* We use char because int might match the return type of a gcc2
16681 builtin and then its argument prototype would still apply. */
16682 char $ac_func ();
16683 /* The GNU C library defines this for functions which it implements
16684 to always fail with ENOSYS. Some functions are actually named
16685 something starting with __ and the normal name is an alias. */
16686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16687 choke me
16688 #else
16689 char (*f) () = $ac_func;
16690 #endif
16691 #ifdef __cplusplus
16693 #endif
16696 main ()
16698 return f != $ac_func;
16700 return 0;
16702 _ACEOF
16703 rm -f conftest.$ac_objext conftest$ac_exeext
16704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16705 (eval $ac_link) 2>conftest.er1
16706 ac_status=$?
16707 grep -v '^ *+' conftest.er1 >conftest.err
16708 rm -f conftest.er1
16709 cat conftest.err >&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); } &&
16712 { ac_try='test -z "$ac_c_werror_flag"
16713 || test ! -s conftest.err'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16716 ac_status=$?
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; } &&
16719 { ac_try='test -s conftest$ac_exeext'
16720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16721 (eval $ac_try) 2>&5
16722 ac_status=$?
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); }; }; then
16725 eval "$as_ac_var=yes"
16726 else
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.$ac_ext >&5
16730 eval "$as_ac_var=no"
16732 rm -f conftest.err conftest.$ac_objext \
16733 conftest$ac_exeext conftest.$ac_ext
16735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16737 if test `eval echo '${'$as_ac_var'}'` = yes; then
16738 cat >>confdefs.h <<_ACEOF
16739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16740 _ACEOF
16743 done
16745 else
16747 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16748 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16749 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16750 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 else
16756 ac_ext=cc
16757 ac_cpp='$CXXCPP $CPPFLAGS'
16758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16762 cat >conftest.$ac_ext <<_ACEOF
16763 /* confdefs.h. */
16764 _ACEOF
16765 cat confdefs.h >>conftest.$ac_ext
16766 cat >>conftest.$ac_ext <<_ACEOF
16767 /* end confdefs.h. */
16768 #include <math.h>
16769 #ifdef HAVE_IEEEFP_H
16770 #include <ieeefp.h>
16771 #endif
16774 main ()
16776 _sqrtf(0);
16778 return 0;
16780 _ACEOF
16781 rm -f conftest.$ac_objext
16782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16783 (eval $ac_compile) 2>conftest.er1
16784 ac_status=$?
16785 grep -v '^ *+' conftest.er1 >conftest.err
16786 rm -f conftest.er1
16787 cat conftest.err >&5
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); } &&
16790 { ac_try='test -z "$ac_cxx_werror_flag"
16791 || test ! -s conftest.err'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16794 ac_status=$?
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; } &&
16797 { ac_try='test -s conftest.$ac_objext'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16800 ac_status=$?
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; }; then
16803 glibcxx_cv_func__sqrtf_use=yes
16804 else
16805 echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.$ac_ext >&5
16808 glibcxx_cv_func__sqrtf_use=no
16810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16811 ac_ext=c
16812 ac_cpp='$CPP $CPPFLAGS'
16813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16822 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16824 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16826 for ac_func in _sqrtf
16828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16829 echo "$as_me:$LINENO: checking for $ac_func" >&5
16830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16831 if eval "test \"\${$as_ac_var+set}\" = set"; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 else
16834 if test x$gcc_no_link = xyes; then
16835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16837 { (exit 1); exit 1; }; }
16839 cat >conftest.$ac_ext <<_ACEOF
16840 /* confdefs.h. */
16841 _ACEOF
16842 cat confdefs.h >>conftest.$ac_ext
16843 cat >>conftest.$ac_ext <<_ACEOF
16844 /* end confdefs.h. */
16845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16847 #define $ac_func innocuous_$ac_func
16849 /* System header to define __stub macros and hopefully few prototypes,
16850 which can conflict with char $ac_func (); below.
16851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16852 <limits.h> exists even on freestanding compilers. */
16854 #ifdef __STDC__
16855 # include <limits.h>
16856 #else
16857 # include <assert.h>
16858 #endif
16860 #undef $ac_func
16862 /* Override any gcc2 internal prototype to avoid an error. */
16863 #ifdef __cplusplus
16864 extern "C"
16866 #endif
16867 /* We use char because int might match the return type of a gcc2
16868 builtin and then its argument prototype would still apply. */
16869 char $ac_func ();
16870 /* The GNU C library defines this for functions which it implements
16871 to always fail with ENOSYS. Some functions are actually named
16872 something starting with __ and the normal name is an alias. */
16873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16874 choke me
16875 #else
16876 char (*f) () = $ac_func;
16877 #endif
16878 #ifdef __cplusplus
16880 #endif
16883 main ()
16885 return f != $ac_func;
16887 return 0;
16889 _ACEOF
16890 rm -f conftest.$ac_objext conftest$ac_exeext
16891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16892 (eval $ac_link) 2>conftest.er1
16893 ac_status=$?
16894 grep -v '^ *+' conftest.er1 >conftest.err
16895 rm -f conftest.er1
16896 cat conftest.err >&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); } &&
16899 { ac_try='test -z "$ac_c_werror_flag"
16900 || test ! -s conftest.err'
16901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16902 (eval $ac_try) 2>&5
16903 ac_status=$?
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); }; } &&
16906 { ac_try='test -s conftest$ac_exeext'
16907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16908 (eval $ac_try) 2>&5
16909 ac_status=$?
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }; }; then
16912 eval "$as_ac_var=yes"
16913 else
16914 echo "$as_me: failed program was:" >&5
16915 sed 's/^/| /' conftest.$ac_ext >&5
16917 eval "$as_ac_var=no"
16919 rm -f conftest.err conftest.$ac_objext \
16920 conftest$ac_exeext conftest.$ac_ext
16922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16924 if test `eval echo '${'$as_ac_var'}'` = yes; then
16925 cat >>confdefs.h <<_ACEOF
16926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16927 _ACEOF
16930 done
16937 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16938 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16939 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16940 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16941 echo $ECHO_N "(cached) $ECHO_C" >&6
16942 else
16946 ac_ext=cc
16947 ac_cpp='$CXXCPP $CPPFLAGS'
16948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16952 cat >conftest.$ac_ext <<_ACEOF
16953 /* confdefs.h. */
16954 _ACEOF
16955 cat confdefs.h >>conftest.$ac_ext
16956 cat >>conftest.$ac_ext <<_ACEOF
16957 /* end confdefs.h. */
16958 #include <math.h>
16960 main ()
16962 sincosf(0, 0, 0);
16964 return 0;
16966 _ACEOF
16967 rm -f conftest.$ac_objext
16968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16969 (eval $ac_compile) 2>conftest.er1
16970 ac_status=$?
16971 grep -v '^ *+' conftest.er1 >conftest.err
16972 rm -f conftest.er1
16973 cat conftest.err >&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); } &&
16976 { ac_try='test -z "$ac_cxx_werror_flag"
16977 || test ! -s conftest.err'
16978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979 (eval $ac_try) 2>&5
16980 ac_status=$?
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }; } &&
16983 { ac_try='test -s conftest.$ac_objext'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16986 ac_status=$?
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; }; then
16989 glibcxx_cv_func_sincosf_use=yes
16990 else
16991 echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.$ac_ext >&5
16994 glibcxx_cv_func_sincosf_use=no
16996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16997 ac_ext=c
16998 ac_cpp='$CPP $CPPFLAGS'
16999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17007 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17008 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17010 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17012 for ac_func in sincosf
17014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17015 echo "$as_me:$LINENO: checking for $ac_func" >&5
17016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17017 if eval "test \"\${$as_ac_var+set}\" = set"; then
17018 echo $ECHO_N "(cached) $ECHO_C" >&6
17019 else
17020 if test x$gcc_no_link = xyes; then
17021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17023 { (exit 1); exit 1; }; }
17025 cat >conftest.$ac_ext <<_ACEOF
17026 /* confdefs.h. */
17027 _ACEOF
17028 cat confdefs.h >>conftest.$ac_ext
17029 cat >>conftest.$ac_ext <<_ACEOF
17030 /* end confdefs.h. */
17031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17033 #define $ac_func innocuous_$ac_func
17035 /* System header to define __stub macros and hopefully few prototypes,
17036 which can conflict with char $ac_func (); below.
17037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17038 <limits.h> exists even on freestanding compilers. */
17040 #ifdef __STDC__
17041 # include <limits.h>
17042 #else
17043 # include <assert.h>
17044 #endif
17046 #undef $ac_func
17048 /* Override any gcc2 internal prototype to avoid an error. */
17049 #ifdef __cplusplus
17050 extern "C"
17052 #endif
17053 /* We use char because int might match the return type of a gcc2
17054 builtin and then its argument prototype would still apply. */
17055 char $ac_func ();
17056 /* The GNU C library defines this for functions which it implements
17057 to always fail with ENOSYS. Some functions are actually named
17058 something starting with __ and the normal name is an alias. */
17059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17060 choke me
17061 #else
17062 char (*f) () = $ac_func;
17063 #endif
17064 #ifdef __cplusplus
17066 #endif
17069 main ()
17071 return f != $ac_func;
17073 return 0;
17075 _ACEOF
17076 rm -f conftest.$ac_objext conftest$ac_exeext
17077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17078 (eval $ac_link) 2>conftest.er1
17079 ac_status=$?
17080 grep -v '^ *+' conftest.er1 >conftest.err
17081 rm -f conftest.er1
17082 cat conftest.err >&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); } &&
17085 { ac_try='test -z "$ac_c_werror_flag"
17086 || test ! -s conftest.err'
17087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17088 (eval $ac_try) 2>&5
17089 ac_status=$?
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); }; } &&
17092 { ac_try='test -s conftest$ac_exeext'
17093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17094 (eval $ac_try) 2>&5
17095 ac_status=$?
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); }; }; then
17098 eval "$as_ac_var=yes"
17099 else
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.$ac_ext >&5
17103 eval "$as_ac_var=no"
17105 rm -f conftest.err conftest.$ac_objext \
17106 conftest$ac_exeext conftest.$ac_ext
17108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17110 if test `eval echo '${'$as_ac_var'}'` = yes; then
17111 cat >>confdefs.h <<_ACEOF
17112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17113 _ACEOF
17116 done
17118 else
17120 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17121 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17122 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17123 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17124 echo $ECHO_N "(cached) $ECHO_C" >&6
17125 else
17129 ac_ext=cc
17130 ac_cpp='$CXXCPP $CPPFLAGS'
17131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17135 cat >conftest.$ac_ext <<_ACEOF
17136 /* confdefs.h. */
17137 _ACEOF
17138 cat confdefs.h >>conftest.$ac_ext
17139 cat >>conftest.$ac_ext <<_ACEOF
17140 /* end confdefs.h. */
17141 #include <math.h>
17143 main ()
17145 _sincosf(0, 0, 0);
17147 return 0;
17149 _ACEOF
17150 rm -f conftest.$ac_objext
17151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17152 (eval $ac_compile) 2>conftest.er1
17153 ac_status=$?
17154 grep -v '^ *+' conftest.er1 >conftest.err
17155 rm -f conftest.er1
17156 cat conftest.err >&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } &&
17159 { ac_try='test -z "$ac_cxx_werror_flag"
17160 || test ! -s conftest.err'
17161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17162 (eval $ac_try) 2>&5
17163 ac_status=$?
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); }; } &&
17166 { ac_try='test -s conftest.$ac_objext'
17167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17168 (eval $ac_try) 2>&5
17169 ac_status=$?
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); }; }; then
17172 glibcxx_cv_func__sincosf_use=yes
17173 else
17174 echo "$as_me: failed program was:" >&5
17175 sed 's/^/| /' conftest.$ac_ext >&5
17177 glibcxx_cv_func__sincosf_use=no
17179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17180 ac_ext=c
17181 ac_cpp='$CPP $CPPFLAGS'
17182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17191 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17193 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17195 for ac_func in _sincosf
17197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17198 echo "$as_me:$LINENO: checking for $ac_func" >&5
17199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17200 if eval "test \"\${$as_ac_var+set}\" = set"; then
17201 echo $ECHO_N "(cached) $ECHO_C" >&6
17202 else
17203 if test x$gcc_no_link = xyes; then
17204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17206 { (exit 1); exit 1; }; }
17208 cat >conftest.$ac_ext <<_ACEOF
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17216 #define $ac_func innocuous_$ac_func
17218 /* System header to define __stub macros and hopefully few prototypes,
17219 which can conflict with char $ac_func (); below.
17220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17221 <limits.h> exists even on freestanding compilers. */
17223 #ifdef __STDC__
17224 # include <limits.h>
17225 #else
17226 # include <assert.h>
17227 #endif
17229 #undef $ac_func
17231 /* Override any gcc2 internal prototype to avoid an error. */
17232 #ifdef __cplusplus
17233 extern "C"
17235 #endif
17236 /* We use char because int might match the return type of a gcc2
17237 builtin and then its argument prototype would still apply. */
17238 char $ac_func ();
17239 /* The GNU C library defines this for functions which it implements
17240 to always fail with ENOSYS. Some functions are actually named
17241 something starting with __ and the normal name is an alias. */
17242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17243 choke me
17244 #else
17245 char (*f) () = $ac_func;
17246 #endif
17247 #ifdef __cplusplus
17249 #endif
17252 main ()
17254 return f != $ac_func;
17256 return 0;
17258 _ACEOF
17259 rm -f conftest.$ac_objext conftest$ac_exeext
17260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17261 (eval $ac_link) 2>conftest.er1
17262 ac_status=$?
17263 grep -v '^ *+' conftest.er1 >conftest.err
17264 rm -f conftest.er1
17265 cat conftest.err >&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } &&
17268 { ac_try='test -z "$ac_c_werror_flag"
17269 || test ! -s conftest.err'
17270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17271 (eval $ac_try) 2>&5
17272 ac_status=$?
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); }; } &&
17275 { ac_try='test -s conftest$ac_exeext'
17276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17277 (eval $ac_try) 2>&5
17278 ac_status=$?
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); }; }; then
17281 eval "$as_ac_var=yes"
17282 else
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.$ac_ext >&5
17286 eval "$as_ac_var=no"
17288 rm -f conftest.err conftest.$ac_objext \
17289 conftest$ac_exeext conftest.$ac_ext
17291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17293 if test `eval echo '${'$as_ac_var'}'` = yes; then
17294 cat >>confdefs.h <<_ACEOF
17295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17296 _ACEOF
17299 done
17306 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17307 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17308 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17309 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 else
17315 ac_ext=cc
17316 ac_cpp='$CXXCPP $CPPFLAGS'
17317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17321 cat >conftest.$ac_ext <<_ACEOF
17322 /* confdefs.h. */
17323 _ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 #include <math.h>
17328 #ifdef HAVE_IEEEFP_H
17329 #include <ieeefp.h>
17330 #endif
17333 main ()
17335 finitef(0);
17337 return 0;
17339 _ACEOF
17340 rm -f conftest.$ac_objext
17341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17342 (eval $ac_compile) 2>conftest.er1
17343 ac_status=$?
17344 grep -v '^ *+' conftest.er1 >conftest.err
17345 rm -f conftest.er1
17346 cat conftest.err >&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } &&
17349 { ac_try='test -z "$ac_cxx_werror_flag"
17350 || test ! -s conftest.err'
17351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17352 (eval $ac_try) 2>&5
17353 ac_status=$?
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); }; } &&
17356 { ac_try='test -s conftest.$ac_objext'
17357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358 (eval $ac_try) 2>&5
17359 ac_status=$?
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; }; then
17362 glibcxx_cv_func_finitef_use=yes
17363 else
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17367 glibcxx_cv_func_finitef_use=no
17369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17370 ac_ext=c
17371 ac_cpp='$CPP $CPPFLAGS'
17372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17381 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17383 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17385 for ac_func in finitef
17387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17388 echo "$as_me:$LINENO: checking for $ac_func" >&5
17389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17390 if eval "test \"\${$as_ac_var+set}\" = set"; then
17391 echo $ECHO_N "(cached) $ECHO_C" >&6
17392 else
17393 if test x$gcc_no_link = xyes; then
17394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17396 { (exit 1); exit 1; }; }
17398 cat >conftest.$ac_ext <<_ACEOF
17399 /* confdefs.h. */
17400 _ACEOF
17401 cat confdefs.h >>conftest.$ac_ext
17402 cat >>conftest.$ac_ext <<_ACEOF
17403 /* end confdefs.h. */
17404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17406 #define $ac_func innocuous_$ac_func
17408 /* System header to define __stub macros and hopefully few prototypes,
17409 which can conflict with char $ac_func (); below.
17410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17411 <limits.h> exists even on freestanding compilers. */
17413 #ifdef __STDC__
17414 # include <limits.h>
17415 #else
17416 # include <assert.h>
17417 #endif
17419 #undef $ac_func
17421 /* Override any gcc2 internal prototype to avoid an error. */
17422 #ifdef __cplusplus
17423 extern "C"
17425 #endif
17426 /* We use char because int might match the return type of a gcc2
17427 builtin and then its argument prototype would still apply. */
17428 char $ac_func ();
17429 /* The GNU C library defines this for functions which it implements
17430 to always fail with ENOSYS. Some functions are actually named
17431 something starting with __ and the normal name is an alias. */
17432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17433 choke me
17434 #else
17435 char (*f) () = $ac_func;
17436 #endif
17437 #ifdef __cplusplus
17439 #endif
17442 main ()
17444 return f != $ac_func;
17446 return 0;
17448 _ACEOF
17449 rm -f conftest.$ac_objext conftest$ac_exeext
17450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17451 (eval $ac_link) 2>conftest.er1
17452 ac_status=$?
17453 grep -v '^ *+' conftest.er1 >conftest.err
17454 rm -f conftest.er1
17455 cat conftest.err >&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } &&
17458 { ac_try='test -z "$ac_c_werror_flag"
17459 || test ! -s conftest.err'
17460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17461 (eval $ac_try) 2>&5
17462 ac_status=$?
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }; } &&
17465 { ac_try='test -s conftest$ac_exeext'
17466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17467 (eval $ac_try) 2>&5
17468 ac_status=$?
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); }; }; then
17471 eval "$as_ac_var=yes"
17472 else
17473 echo "$as_me: failed program was:" >&5
17474 sed 's/^/| /' conftest.$ac_ext >&5
17476 eval "$as_ac_var=no"
17478 rm -f conftest.err conftest.$ac_objext \
17479 conftest$ac_exeext conftest.$ac_ext
17481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17483 if test `eval echo '${'$as_ac_var'}'` = yes; then
17484 cat >>confdefs.h <<_ACEOF
17485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17486 _ACEOF
17489 done
17491 else
17493 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17494 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17495 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17496 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17497 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 else
17502 ac_ext=cc
17503 ac_cpp='$CXXCPP $CPPFLAGS'
17504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17508 cat >conftest.$ac_ext <<_ACEOF
17509 /* confdefs.h. */
17510 _ACEOF
17511 cat confdefs.h >>conftest.$ac_ext
17512 cat >>conftest.$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 #include <math.h>
17515 #ifdef HAVE_IEEEFP_H
17516 #include <ieeefp.h>
17517 #endif
17520 main ()
17522 _finitef(0);
17524 return 0;
17526 _ACEOF
17527 rm -f conftest.$ac_objext
17528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17529 (eval $ac_compile) 2>conftest.er1
17530 ac_status=$?
17531 grep -v '^ *+' conftest.er1 >conftest.err
17532 rm -f conftest.er1
17533 cat conftest.err >&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } &&
17536 { ac_try='test -z "$ac_cxx_werror_flag"
17537 || test ! -s conftest.err'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17540 ac_status=$?
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; } &&
17543 { ac_try='test -s conftest.$ac_objext'
17544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17545 (eval $ac_try) 2>&5
17546 ac_status=$?
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; }; then
17549 glibcxx_cv_func__finitef_use=yes
17550 else
17551 echo "$as_me: failed program was:" >&5
17552 sed 's/^/| /' conftest.$ac_ext >&5
17554 glibcxx_cv_func__finitef_use=no
17556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17557 ac_ext=c
17558 ac_cpp='$CPP $CPPFLAGS'
17559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17567 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17568 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17570 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17572 for ac_func in _finitef
17574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17575 echo "$as_me:$LINENO: checking for $ac_func" >&5
17576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17577 if eval "test \"\${$as_ac_var+set}\" = set"; then
17578 echo $ECHO_N "(cached) $ECHO_C" >&6
17579 else
17580 if test x$gcc_no_link = xyes; then
17581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17583 { (exit 1); exit 1; }; }
17585 cat >conftest.$ac_ext <<_ACEOF
17586 /* confdefs.h. */
17587 _ACEOF
17588 cat confdefs.h >>conftest.$ac_ext
17589 cat >>conftest.$ac_ext <<_ACEOF
17590 /* end confdefs.h. */
17591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17593 #define $ac_func innocuous_$ac_func
17595 /* System header to define __stub macros and hopefully few prototypes,
17596 which can conflict with char $ac_func (); below.
17597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17598 <limits.h> exists even on freestanding compilers. */
17600 #ifdef __STDC__
17601 # include <limits.h>
17602 #else
17603 # include <assert.h>
17604 #endif
17606 #undef $ac_func
17608 /* Override any gcc2 internal prototype to avoid an error. */
17609 #ifdef __cplusplus
17610 extern "C"
17612 #endif
17613 /* We use char because int might match the return type of a gcc2
17614 builtin and then its argument prototype would still apply. */
17615 char $ac_func ();
17616 /* The GNU C library defines this for functions which it implements
17617 to always fail with ENOSYS. Some functions are actually named
17618 something starting with __ and the normal name is an alias. */
17619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17620 choke me
17621 #else
17622 char (*f) () = $ac_func;
17623 #endif
17624 #ifdef __cplusplus
17626 #endif
17629 main ()
17631 return f != $ac_func;
17633 return 0;
17635 _ACEOF
17636 rm -f conftest.$ac_objext conftest$ac_exeext
17637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17638 (eval $ac_link) 2>conftest.er1
17639 ac_status=$?
17640 grep -v '^ *+' conftest.er1 >conftest.err
17641 rm -f conftest.er1
17642 cat conftest.err >&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } &&
17645 { ac_try='test -z "$ac_c_werror_flag"
17646 || test ! -s conftest.err'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17649 ac_status=$?
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; } &&
17652 { ac_try='test -s conftest$ac_exeext'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; }; then
17658 eval "$as_ac_var=yes"
17659 else
17660 echo "$as_me: failed program was:" >&5
17661 sed 's/^/| /' conftest.$ac_ext >&5
17663 eval "$as_ac_var=no"
17665 rm -f conftest.err conftest.$ac_objext \
17666 conftest$ac_exeext conftest.$ac_ext
17668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17670 if test `eval echo '${'$as_ac_var'}'` = yes; then
17671 cat >>confdefs.h <<_ACEOF
17672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17673 _ACEOF
17676 done
17683 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17684 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17685 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17686 echo $ECHO_N "(cached) $ECHO_C" >&6
17687 else
17691 ac_ext=cc
17692 ac_cpp='$CXXCPP $CPPFLAGS'
17693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17697 cat >conftest.$ac_ext <<_ACEOF
17698 /* confdefs.h. */
17699 _ACEOF
17700 cat confdefs.h >>conftest.$ac_ext
17701 cat >>conftest.$ac_ext <<_ACEOF
17702 /* end confdefs.h. */
17703 #include <math.h>
17705 main ()
17707 `for x in acosl asinl atanl \
17708 cosl sinl tanl \
17709 coshl sinhl tanhl; do echo "$x (0);"; done`
17711 return 0;
17713 _ACEOF
17714 rm -f conftest.$ac_objext
17715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17716 (eval $ac_compile) 2>conftest.er1
17717 ac_status=$?
17718 grep -v '^ *+' conftest.er1 >conftest.err
17719 rm -f conftest.er1
17720 cat conftest.err >&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); } &&
17723 { ac_try='test -z "$ac_cxx_werror_flag"
17724 || test ! -s conftest.err'
17725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17726 (eval $ac_try) 2>&5
17727 ac_status=$?
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); }; } &&
17730 { ac_try='test -s conftest.$ac_objext'
17731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17732 (eval $ac_try) 2>&5
17733 ac_status=$?
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; }; then
17736 glibcxx_cv_func_long_double_trig_use=yes
17737 else
17738 echo "$as_me: failed program was:" >&5
17739 sed 's/^/| /' conftest.$ac_ext >&5
17741 glibcxx_cv_func_long_double_trig_use=no
17743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17744 ac_ext=c
17745 ac_cpp='$CPP $CPPFLAGS'
17746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17752 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17753 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17754 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17764 for ac_func in acosl asinl atanl \
17765 cosl sinl tanl \
17766 coshl sinhl tanhl
17768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17769 echo "$as_me:$LINENO: checking for $ac_func" >&5
17770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17771 if eval "test \"\${$as_ac_var+set}\" = set"; then
17772 echo $ECHO_N "(cached) $ECHO_C" >&6
17773 else
17774 if test x$gcc_no_link = xyes; then
17775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17777 { (exit 1); exit 1; }; }
17779 cat >conftest.$ac_ext <<_ACEOF
17780 /* confdefs.h. */
17781 _ACEOF
17782 cat confdefs.h >>conftest.$ac_ext
17783 cat >>conftest.$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17787 #define $ac_func innocuous_$ac_func
17789 /* System header to define __stub macros and hopefully few prototypes,
17790 which can conflict with char $ac_func (); below.
17791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17792 <limits.h> exists even on freestanding compilers. */
17794 #ifdef __STDC__
17795 # include <limits.h>
17796 #else
17797 # include <assert.h>
17798 #endif
17800 #undef $ac_func
17802 /* Override any gcc2 internal prototype to avoid an error. */
17803 #ifdef __cplusplus
17804 extern "C"
17806 #endif
17807 /* We use char because int might match the return type of a gcc2
17808 builtin and then its argument prototype would still apply. */
17809 char $ac_func ();
17810 /* The GNU C library defines this for functions which it implements
17811 to always fail with ENOSYS. Some functions are actually named
17812 something starting with __ and the normal name is an alias. */
17813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17814 choke me
17815 #else
17816 char (*f) () = $ac_func;
17817 #endif
17818 #ifdef __cplusplus
17820 #endif
17823 main ()
17825 return f != $ac_func;
17827 return 0;
17829 _ACEOF
17830 rm -f conftest.$ac_objext conftest$ac_exeext
17831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17832 (eval $ac_link) 2>conftest.er1
17833 ac_status=$?
17834 grep -v '^ *+' conftest.er1 >conftest.err
17835 rm -f conftest.er1
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } &&
17839 { ac_try='test -z "$ac_c_werror_flag"
17840 || test ! -s conftest.err'
17841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17842 (eval $ac_try) 2>&5
17843 ac_status=$?
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); }; } &&
17846 { ac_try='test -s conftest$ac_exeext'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; }; then
17852 eval "$as_ac_var=yes"
17853 else
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.$ac_ext >&5
17857 eval "$as_ac_var=no"
17859 rm -f conftest.err conftest.$ac_objext \
17860 conftest$ac_exeext conftest.$ac_ext
17862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17864 if test `eval echo '${'$as_ac_var'}'` = yes; then
17865 cat >>confdefs.h <<_ACEOF
17866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17867 _ACEOF
17870 done
17875 echo "$as_me:$LINENO: checking for long double round functions" >&5
17876 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17877 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17878 echo $ECHO_N "(cached) $ECHO_C" >&6
17879 else
17883 ac_ext=cc
17884 ac_cpp='$CXXCPP $CPPFLAGS'
17885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17889 cat >conftest.$ac_ext <<_ACEOF
17890 /* confdefs.h. */
17891 _ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17895 #include <math.h>
17897 main ()
17899 `for x in ceill floorl; do echo "$x (0);"; done`
17901 return 0;
17903 _ACEOF
17904 rm -f conftest.$ac_objext
17905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17906 (eval $ac_compile) 2>conftest.er1
17907 ac_status=$?
17908 grep -v '^ *+' conftest.er1 >conftest.err
17909 rm -f conftest.er1
17910 cat conftest.err >&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); } &&
17913 { ac_try='test -z "$ac_cxx_werror_flag"
17914 || test ! -s conftest.err'
17915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916 (eval $ac_try) 2>&5
17917 ac_status=$?
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; } &&
17920 { ac_try='test -s conftest.$ac_objext'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17923 ac_status=$?
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; }; then
17926 glibcxx_cv_func_long_double_round_use=yes
17927 else
17928 echo "$as_me: failed program was:" >&5
17929 sed 's/^/| /' conftest.$ac_ext >&5
17931 glibcxx_cv_func_long_double_round_use=no
17933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17934 ac_ext=c
17935 ac_cpp='$CPP $CPPFLAGS'
17936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17942 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17943 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17944 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17947 for ac_func in ceill floorl
17949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17950 echo "$as_me:$LINENO: checking for $ac_func" >&5
17951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17952 if eval "test \"\${$as_ac_var+set}\" = set"; then
17953 echo $ECHO_N "(cached) $ECHO_C" >&6
17954 else
17955 if test x$gcc_no_link = xyes; then
17956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17958 { (exit 1); exit 1; }; }
17960 cat >conftest.$ac_ext <<_ACEOF
17961 /* confdefs.h. */
17962 _ACEOF
17963 cat confdefs.h >>conftest.$ac_ext
17964 cat >>conftest.$ac_ext <<_ACEOF
17965 /* end confdefs.h. */
17966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17968 #define $ac_func innocuous_$ac_func
17970 /* System header to define __stub macros and hopefully few prototypes,
17971 which can conflict with char $ac_func (); below.
17972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17973 <limits.h> exists even on freestanding compilers. */
17975 #ifdef __STDC__
17976 # include <limits.h>
17977 #else
17978 # include <assert.h>
17979 #endif
17981 #undef $ac_func
17983 /* Override any gcc2 internal prototype to avoid an error. */
17984 #ifdef __cplusplus
17985 extern "C"
17987 #endif
17988 /* We use char because int might match the return type of a gcc2
17989 builtin and then its argument prototype would still apply. */
17990 char $ac_func ();
17991 /* The GNU C library defines this for functions which it implements
17992 to always fail with ENOSYS. Some functions are actually named
17993 something starting with __ and the normal name is an alias. */
17994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17995 choke me
17996 #else
17997 char (*f) () = $ac_func;
17998 #endif
17999 #ifdef __cplusplus
18001 #endif
18004 main ()
18006 return f != $ac_func;
18008 return 0;
18010 _ACEOF
18011 rm -f conftest.$ac_objext conftest$ac_exeext
18012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18013 (eval $ac_link) 2>conftest.er1
18014 ac_status=$?
18015 grep -v '^ *+' conftest.er1 >conftest.err
18016 rm -f conftest.er1
18017 cat conftest.err >&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); } &&
18020 { ac_try='test -z "$ac_c_werror_flag"
18021 || test ! -s conftest.err'
18022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18023 (eval $ac_try) 2>&5
18024 ac_status=$?
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); }; } &&
18027 { ac_try='test -s conftest$ac_exeext'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18030 ac_status=$?
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; }; then
18033 eval "$as_ac_var=yes"
18034 else
18035 echo "$as_me: failed program was:" >&5
18036 sed 's/^/| /' conftest.$ac_ext >&5
18038 eval "$as_ac_var=no"
18040 rm -f conftest.err conftest.$ac_objext \
18041 conftest$ac_exeext conftest.$ac_ext
18043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18045 if test `eval echo '${'$as_ac_var'}'` = yes; then
18046 cat >>confdefs.h <<_ACEOF
18047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18048 _ACEOF
18051 done
18057 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18058 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18059 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18060 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18061 echo $ECHO_N "(cached) $ECHO_C" >&6
18062 else
18066 ac_ext=cc
18067 ac_cpp='$CXXCPP $CPPFLAGS'
18068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18072 cat >conftest.$ac_ext <<_ACEOF
18073 /* confdefs.h. */
18074 _ACEOF
18075 cat confdefs.h >>conftest.$ac_ext
18076 cat >>conftest.$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18078 #include <math.h>
18079 #ifdef HAVE_IEEEFP_H
18080 #include <ieeefp.h>
18081 #endif
18084 main ()
18086 isnanl(0);
18088 return 0;
18090 _ACEOF
18091 rm -f conftest.$ac_objext
18092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18093 (eval $ac_compile) 2>conftest.er1
18094 ac_status=$?
18095 grep -v '^ *+' conftest.er1 >conftest.err
18096 rm -f conftest.er1
18097 cat conftest.err >&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); } &&
18100 { ac_try='test -z "$ac_cxx_werror_flag"
18101 || test ! -s conftest.err'
18102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18103 (eval $ac_try) 2>&5
18104 ac_status=$?
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); }; } &&
18107 { ac_try='test -s conftest.$ac_objext'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18110 ac_status=$?
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; }; then
18113 glibcxx_cv_func_isnanl_use=yes
18114 else
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.$ac_ext >&5
18118 glibcxx_cv_func_isnanl_use=no
18120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18121 ac_ext=c
18122 ac_cpp='$CPP $CPPFLAGS'
18123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18131 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18132 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18134 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18136 for ac_func in isnanl
18138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18139 echo "$as_me:$LINENO: checking for $ac_func" >&5
18140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18141 if eval "test \"\${$as_ac_var+set}\" = set"; then
18142 echo $ECHO_N "(cached) $ECHO_C" >&6
18143 else
18144 if test x$gcc_no_link = xyes; then
18145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18147 { (exit 1); exit 1; }; }
18149 cat >conftest.$ac_ext <<_ACEOF
18150 /* confdefs.h. */
18151 _ACEOF
18152 cat confdefs.h >>conftest.$ac_ext
18153 cat >>conftest.$ac_ext <<_ACEOF
18154 /* end confdefs.h. */
18155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18157 #define $ac_func innocuous_$ac_func
18159 /* System header to define __stub macros and hopefully few prototypes,
18160 which can conflict with char $ac_func (); below.
18161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18162 <limits.h> exists even on freestanding compilers. */
18164 #ifdef __STDC__
18165 # include <limits.h>
18166 #else
18167 # include <assert.h>
18168 #endif
18170 #undef $ac_func
18172 /* Override any gcc2 internal prototype to avoid an error. */
18173 #ifdef __cplusplus
18174 extern "C"
18176 #endif
18177 /* We use char because int might match the return type of a gcc2
18178 builtin and then its argument prototype would still apply. */
18179 char $ac_func ();
18180 /* The GNU C library defines this for functions which it implements
18181 to always fail with ENOSYS. Some functions are actually named
18182 something starting with __ and the normal name is an alias. */
18183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18184 choke me
18185 #else
18186 char (*f) () = $ac_func;
18187 #endif
18188 #ifdef __cplusplus
18190 #endif
18193 main ()
18195 return f != $ac_func;
18197 return 0;
18199 _ACEOF
18200 rm -f conftest.$ac_objext conftest$ac_exeext
18201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18202 (eval $ac_link) 2>conftest.er1
18203 ac_status=$?
18204 grep -v '^ *+' conftest.er1 >conftest.err
18205 rm -f conftest.er1
18206 cat conftest.err >&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); } &&
18209 { ac_try='test -z "$ac_c_werror_flag"
18210 || test ! -s conftest.err'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18213 ac_status=$?
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; } &&
18216 { ac_try='test -s conftest$ac_exeext'
18217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18218 (eval $ac_try) 2>&5
18219 ac_status=$?
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); }; }; then
18222 eval "$as_ac_var=yes"
18223 else
18224 echo "$as_me: failed program was:" >&5
18225 sed 's/^/| /' conftest.$ac_ext >&5
18227 eval "$as_ac_var=no"
18229 rm -f conftest.err conftest.$ac_objext \
18230 conftest$ac_exeext conftest.$ac_ext
18232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18234 if test `eval echo '${'$as_ac_var'}'` = yes; then
18235 cat >>confdefs.h <<_ACEOF
18236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18237 _ACEOF
18240 done
18242 else
18244 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18245 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18246 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18247 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18248 echo $ECHO_N "(cached) $ECHO_C" >&6
18249 else
18253 ac_ext=cc
18254 ac_cpp='$CXXCPP $CPPFLAGS'
18255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18259 cat >conftest.$ac_ext <<_ACEOF
18260 /* confdefs.h. */
18261 _ACEOF
18262 cat confdefs.h >>conftest.$ac_ext
18263 cat >>conftest.$ac_ext <<_ACEOF
18264 /* end confdefs.h. */
18265 #include <math.h>
18266 #ifdef HAVE_IEEEFP_H
18267 #include <ieeefp.h>
18268 #endif
18271 main ()
18273 _isnanl(0);
18275 return 0;
18277 _ACEOF
18278 rm -f conftest.$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18281 ac_status=$?
18282 grep -v '^ *+' conftest.er1 >conftest.err
18283 rm -f conftest.er1
18284 cat conftest.err >&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try='test -z "$ac_cxx_werror_flag"
18288 || test ! -s conftest.err'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18291 ac_status=$?
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; } &&
18294 { ac_try='test -s conftest.$ac_objext'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18297 ac_status=$?
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; }; then
18300 glibcxx_cv_func__isnanl_use=yes
18301 else
18302 echo "$as_me: failed program was:" >&5
18303 sed 's/^/| /' conftest.$ac_ext >&5
18305 glibcxx_cv_func__isnanl_use=no
18307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18308 ac_ext=c
18309 ac_cpp='$CPP $CPPFLAGS'
18310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18318 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18319 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18321 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18323 for ac_func in _isnanl
18325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18326 echo "$as_me:$LINENO: checking for $ac_func" >&5
18327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18328 if eval "test \"\${$as_ac_var+set}\" = set"; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 else
18331 if test x$gcc_no_link = xyes; then
18332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18334 { (exit 1); exit 1; }; }
18336 cat >conftest.$ac_ext <<_ACEOF
18337 /* confdefs.h. */
18338 _ACEOF
18339 cat confdefs.h >>conftest.$ac_ext
18340 cat >>conftest.$ac_ext <<_ACEOF
18341 /* end confdefs.h. */
18342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18344 #define $ac_func innocuous_$ac_func
18346 /* System header to define __stub macros and hopefully few prototypes,
18347 which can conflict with char $ac_func (); below.
18348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18349 <limits.h> exists even on freestanding compilers. */
18351 #ifdef __STDC__
18352 # include <limits.h>
18353 #else
18354 # include <assert.h>
18355 #endif
18357 #undef $ac_func
18359 /* Override any gcc2 internal prototype to avoid an error. */
18360 #ifdef __cplusplus
18361 extern "C"
18363 #endif
18364 /* We use char because int might match the return type of a gcc2
18365 builtin and then its argument prototype would still apply. */
18366 char $ac_func ();
18367 /* The GNU C library defines this for functions which it implements
18368 to always fail with ENOSYS. Some functions are actually named
18369 something starting with __ and the normal name is an alias. */
18370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18371 choke me
18372 #else
18373 char (*f) () = $ac_func;
18374 #endif
18375 #ifdef __cplusplus
18377 #endif
18380 main ()
18382 return f != $ac_func;
18384 return 0;
18386 _ACEOF
18387 rm -f conftest.$ac_objext conftest$ac_exeext
18388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18389 (eval $ac_link) 2>conftest.er1
18390 ac_status=$?
18391 grep -v '^ *+' conftest.er1 >conftest.err
18392 rm -f conftest.er1
18393 cat conftest.err >&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); } &&
18396 { ac_try='test -z "$ac_c_werror_flag"
18397 || test ! -s conftest.err'
18398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399 (eval $ac_try) 2>&5
18400 ac_status=$?
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); }; } &&
18403 { ac_try='test -s conftest$ac_exeext'
18404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 (eval $ac_try) 2>&5
18406 ac_status=$?
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); }; }; then
18409 eval "$as_ac_var=yes"
18410 else
18411 echo "$as_me: failed program was:" >&5
18412 sed 's/^/| /' conftest.$ac_ext >&5
18414 eval "$as_ac_var=no"
18416 rm -f conftest.err conftest.$ac_objext \
18417 conftest$ac_exeext conftest.$ac_ext
18419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18421 if test `eval echo '${'$as_ac_var'}'` = yes; then
18422 cat >>confdefs.h <<_ACEOF
18423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18424 _ACEOF
18427 done
18434 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18435 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18436 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18437 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18438 echo $ECHO_N "(cached) $ECHO_C" >&6
18439 else
18443 ac_ext=cc
18444 ac_cpp='$CXXCPP $CPPFLAGS'
18445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18449 cat >conftest.$ac_ext <<_ACEOF
18450 /* confdefs.h. */
18451 _ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 #include <math.h>
18456 #ifdef HAVE_IEEEFP_H
18457 #include <ieeefp.h>
18458 #endif
18461 main ()
18463 isinfl(0);
18465 return 0;
18467 _ACEOF
18468 rm -f conftest.$ac_objext
18469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18470 (eval $ac_compile) 2>conftest.er1
18471 ac_status=$?
18472 grep -v '^ *+' conftest.er1 >conftest.err
18473 rm -f conftest.er1
18474 cat conftest.err >&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } &&
18477 { ac_try='test -z "$ac_cxx_werror_flag"
18478 || test ! -s conftest.err'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18481 ac_status=$?
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; } &&
18484 { ac_try='test -s conftest.$ac_objext'
18485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18486 (eval $ac_try) 2>&5
18487 ac_status=$?
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); }; }; then
18490 glibcxx_cv_func_isinfl_use=yes
18491 else
18492 echo "$as_me: failed program was:" >&5
18493 sed 's/^/| /' conftest.$ac_ext >&5
18495 glibcxx_cv_func_isinfl_use=no
18497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18498 ac_ext=c
18499 ac_cpp='$CPP $CPPFLAGS'
18500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18509 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18511 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18513 for ac_func in isinfl
18515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18516 echo "$as_me:$LINENO: checking for $ac_func" >&5
18517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18518 if eval "test \"\${$as_ac_var+set}\" = set"; then
18519 echo $ECHO_N "(cached) $ECHO_C" >&6
18520 else
18521 if test x$gcc_no_link = xyes; then
18522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18524 { (exit 1); exit 1; }; }
18526 cat >conftest.$ac_ext <<_ACEOF
18527 /* confdefs.h. */
18528 _ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h. */
18532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18534 #define $ac_func innocuous_$ac_func
18536 /* System header to define __stub macros and hopefully few prototypes,
18537 which can conflict with char $ac_func (); below.
18538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18539 <limits.h> exists even on freestanding compilers. */
18541 #ifdef __STDC__
18542 # include <limits.h>
18543 #else
18544 # include <assert.h>
18545 #endif
18547 #undef $ac_func
18549 /* Override any gcc2 internal prototype to avoid an error. */
18550 #ifdef __cplusplus
18551 extern "C"
18553 #endif
18554 /* We use char because int might match the return type of a gcc2
18555 builtin and then its argument prototype would still apply. */
18556 char $ac_func ();
18557 /* The GNU C library defines this for functions which it implements
18558 to always fail with ENOSYS. Some functions are actually named
18559 something starting with __ and the normal name is an alias. */
18560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18561 choke me
18562 #else
18563 char (*f) () = $ac_func;
18564 #endif
18565 #ifdef __cplusplus
18567 #endif
18570 main ()
18572 return f != $ac_func;
18574 return 0;
18576 _ACEOF
18577 rm -f conftest.$ac_objext conftest$ac_exeext
18578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18579 (eval $ac_link) 2>conftest.er1
18580 ac_status=$?
18581 grep -v '^ *+' conftest.er1 >conftest.err
18582 rm -f conftest.er1
18583 cat conftest.err >&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); } &&
18586 { ac_try='test -z "$ac_c_werror_flag"
18587 || test ! -s conftest.err'
18588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589 (eval $ac_try) 2>&5
18590 ac_status=$?
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; } &&
18593 { ac_try='test -s conftest$ac_exeext'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18596 ac_status=$?
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; }; then
18599 eval "$as_ac_var=yes"
18600 else
18601 echo "$as_me: failed program was:" >&5
18602 sed 's/^/| /' conftest.$ac_ext >&5
18604 eval "$as_ac_var=no"
18606 rm -f conftest.err conftest.$ac_objext \
18607 conftest$ac_exeext conftest.$ac_ext
18609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18611 if test `eval echo '${'$as_ac_var'}'` = yes; then
18612 cat >>confdefs.h <<_ACEOF
18613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18614 _ACEOF
18617 done
18619 else
18621 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18622 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18623 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18624 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18625 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 else
18630 ac_ext=cc
18631 ac_cpp='$CXXCPP $CPPFLAGS'
18632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18636 cat >conftest.$ac_ext <<_ACEOF
18637 /* confdefs.h. */
18638 _ACEOF
18639 cat confdefs.h >>conftest.$ac_ext
18640 cat >>conftest.$ac_ext <<_ACEOF
18641 /* end confdefs.h. */
18642 #include <math.h>
18643 #ifdef HAVE_IEEEFP_H
18644 #include <ieeefp.h>
18645 #endif
18648 main ()
18650 _isinfl(0);
18652 return 0;
18654 _ACEOF
18655 rm -f conftest.$ac_objext
18656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18657 (eval $ac_compile) 2>conftest.er1
18658 ac_status=$?
18659 grep -v '^ *+' conftest.er1 >conftest.err
18660 rm -f conftest.er1
18661 cat conftest.err >&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } &&
18664 { ac_try='test -z "$ac_cxx_werror_flag"
18665 || test ! -s conftest.err'
18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667 (eval $ac_try) 2>&5
18668 ac_status=$?
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; } &&
18671 { ac_try='test -s conftest.$ac_objext'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18674 ac_status=$?
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; }; then
18677 glibcxx_cv_func__isinfl_use=yes
18678 else
18679 echo "$as_me: failed program was:" >&5
18680 sed 's/^/| /' conftest.$ac_ext >&5
18682 glibcxx_cv_func__isinfl_use=no
18684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18685 ac_ext=c
18686 ac_cpp='$CPP $CPPFLAGS'
18687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18696 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18698 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18700 for ac_func in _isinfl
18702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18703 echo "$as_me:$LINENO: checking for $ac_func" >&5
18704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18705 if eval "test \"\${$as_ac_var+set}\" = set"; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 else
18708 if test x$gcc_no_link = xyes; then
18709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18711 { (exit 1); exit 1; }; }
18713 cat >conftest.$ac_ext <<_ACEOF
18714 /* confdefs.h. */
18715 _ACEOF
18716 cat confdefs.h >>conftest.$ac_ext
18717 cat >>conftest.$ac_ext <<_ACEOF
18718 /* end confdefs.h. */
18719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18721 #define $ac_func innocuous_$ac_func
18723 /* System header to define __stub macros and hopefully few prototypes,
18724 which can conflict with char $ac_func (); below.
18725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18726 <limits.h> exists even on freestanding compilers. */
18728 #ifdef __STDC__
18729 # include <limits.h>
18730 #else
18731 # include <assert.h>
18732 #endif
18734 #undef $ac_func
18736 /* Override any gcc2 internal prototype to avoid an error. */
18737 #ifdef __cplusplus
18738 extern "C"
18740 #endif
18741 /* We use char because int might match the return type of a gcc2
18742 builtin and then its argument prototype would still apply. */
18743 char $ac_func ();
18744 /* The GNU C library defines this for functions which it implements
18745 to always fail with ENOSYS. Some functions are actually named
18746 something starting with __ and the normal name is an alias. */
18747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18748 choke me
18749 #else
18750 char (*f) () = $ac_func;
18751 #endif
18752 #ifdef __cplusplus
18754 #endif
18757 main ()
18759 return f != $ac_func;
18761 return 0;
18763 _ACEOF
18764 rm -f conftest.$ac_objext conftest$ac_exeext
18765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18766 (eval $ac_link) 2>conftest.er1
18767 ac_status=$?
18768 grep -v '^ *+' conftest.er1 >conftest.err
18769 rm -f conftest.er1
18770 cat conftest.err >&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); } &&
18773 { ac_try='test -z "$ac_c_werror_flag"
18774 || test ! -s conftest.err'
18775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18776 (eval $ac_try) 2>&5
18777 ac_status=$?
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); }; } &&
18780 { ac_try='test -s conftest$ac_exeext'
18781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18782 (eval $ac_try) 2>&5
18783 ac_status=$?
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); }; }; then
18786 eval "$as_ac_var=yes"
18787 else
18788 echo "$as_me: failed program was:" >&5
18789 sed 's/^/| /' conftest.$ac_ext >&5
18791 eval "$as_ac_var=no"
18793 rm -f conftest.err conftest.$ac_objext \
18794 conftest$ac_exeext conftest.$ac_ext
18796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18798 if test `eval echo '${'$as_ac_var'}'` = yes; then
18799 cat >>confdefs.h <<_ACEOF
18800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18801 _ACEOF
18804 done
18811 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18812 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18813 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18814 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18816 else
18820 ac_ext=cc
18821 ac_cpp='$CXXCPP $CPPFLAGS'
18822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18826 cat >conftest.$ac_ext <<_ACEOF
18827 /* confdefs.h. */
18828 _ACEOF
18829 cat confdefs.h >>conftest.$ac_ext
18830 cat >>conftest.$ac_ext <<_ACEOF
18831 /* end confdefs.h. */
18832 #include <math.h>
18834 main ()
18836 copysignl(0, 0);
18838 return 0;
18840 _ACEOF
18841 rm -f conftest.$ac_objext
18842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18843 (eval $ac_compile) 2>conftest.er1
18844 ac_status=$?
18845 grep -v '^ *+' conftest.er1 >conftest.err
18846 rm -f conftest.er1
18847 cat conftest.err >&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } &&
18850 { ac_try='test -z "$ac_cxx_werror_flag"
18851 || test ! -s conftest.err'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18854 ac_status=$?
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; } &&
18857 { ac_try='test -s conftest.$ac_objext'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; }; then
18863 glibcxx_cv_func_copysignl_use=yes
18864 else
18865 echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18868 glibcxx_cv_func_copysignl_use=no
18870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18871 ac_ext=c
18872 ac_cpp='$CPP $CPPFLAGS'
18873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18882 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18884 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18886 for ac_func in copysignl
18888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18889 echo "$as_me:$LINENO: checking for $ac_func" >&5
18890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18891 if eval "test \"\${$as_ac_var+set}\" = set"; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 else
18894 if test x$gcc_no_link = xyes; then
18895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18897 { (exit 1); exit 1; }; }
18899 cat >conftest.$ac_ext <<_ACEOF
18900 /* confdefs.h. */
18901 _ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18907 #define $ac_func innocuous_$ac_func
18909 /* System header to define __stub macros and hopefully few prototypes,
18910 which can conflict with char $ac_func (); below.
18911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18912 <limits.h> exists even on freestanding compilers. */
18914 #ifdef __STDC__
18915 # include <limits.h>
18916 #else
18917 # include <assert.h>
18918 #endif
18920 #undef $ac_func
18922 /* Override any gcc2 internal prototype to avoid an error. */
18923 #ifdef __cplusplus
18924 extern "C"
18926 #endif
18927 /* We use char because int might match the return type of a gcc2
18928 builtin and then its argument prototype would still apply. */
18929 char $ac_func ();
18930 /* The GNU C library defines this for functions which it implements
18931 to always fail with ENOSYS. Some functions are actually named
18932 something starting with __ and the normal name is an alias. */
18933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18934 choke me
18935 #else
18936 char (*f) () = $ac_func;
18937 #endif
18938 #ifdef __cplusplus
18940 #endif
18943 main ()
18945 return f != $ac_func;
18947 return 0;
18949 _ACEOF
18950 rm -f conftest.$ac_objext conftest$ac_exeext
18951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18952 (eval $ac_link) 2>conftest.er1
18953 ac_status=$?
18954 grep -v '^ *+' conftest.er1 >conftest.err
18955 rm -f conftest.er1
18956 cat conftest.err >&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); } &&
18959 { ac_try='test -z "$ac_c_werror_flag"
18960 || test ! -s conftest.err'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18963 ac_status=$?
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; } &&
18966 { ac_try='test -s conftest$ac_exeext'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18969 ac_status=$?
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; }; then
18972 eval "$as_ac_var=yes"
18973 else
18974 echo "$as_me: failed program was:" >&5
18975 sed 's/^/| /' conftest.$ac_ext >&5
18977 eval "$as_ac_var=no"
18979 rm -f conftest.err conftest.$ac_objext \
18980 conftest$ac_exeext conftest.$ac_ext
18982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18984 if test `eval echo '${'$as_ac_var'}'` = yes; then
18985 cat >>confdefs.h <<_ACEOF
18986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18987 _ACEOF
18990 done
18992 else
18994 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
18995 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
18996 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
18997 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
18998 echo $ECHO_N "(cached) $ECHO_C" >&6
18999 else
19003 ac_ext=cc
19004 ac_cpp='$CXXCPP $CPPFLAGS'
19005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19009 cat >conftest.$ac_ext <<_ACEOF
19010 /* confdefs.h. */
19011 _ACEOF
19012 cat confdefs.h >>conftest.$ac_ext
19013 cat >>conftest.$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19015 #include <math.h>
19017 main ()
19019 _copysignl(0, 0);
19021 return 0;
19023 _ACEOF
19024 rm -f conftest.$ac_objext
19025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19026 (eval $ac_compile) 2>conftest.er1
19027 ac_status=$?
19028 grep -v '^ *+' conftest.er1 >conftest.err
19029 rm -f conftest.er1
19030 cat conftest.err >&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } &&
19033 { ac_try='test -z "$ac_cxx_werror_flag"
19034 || test ! -s conftest.err'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19037 ac_status=$?
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; } &&
19040 { ac_try='test -s conftest.$ac_objext'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19043 ac_status=$?
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; }; then
19046 glibcxx_cv_func__copysignl_use=yes
19047 else
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.$ac_ext >&5
19051 glibcxx_cv_func__copysignl_use=no
19053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19054 ac_ext=c
19055 ac_cpp='$CPP $CPPFLAGS'
19056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19064 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19065 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19067 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19069 for ac_func in _copysignl
19071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19072 echo "$as_me:$LINENO: checking for $ac_func" >&5
19073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19074 if eval "test \"\${$as_ac_var+set}\" = set"; then
19075 echo $ECHO_N "(cached) $ECHO_C" >&6
19076 else
19077 if test x$gcc_no_link = xyes; then
19078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19080 { (exit 1); exit 1; }; }
19082 cat >conftest.$ac_ext <<_ACEOF
19083 /* confdefs.h. */
19084 _ACEOF
19085 cat confdefs.h >>conftest.$ac_ext
19086 cat >>conftest.$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19090 #define $ac_func innocuous_$ac_func
19092 /* System header to define __stub macros and hopefully few prototypes,
19093 which can conflict with char $ac_func (); below.
19094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19095 <limits.h> exists even on freestanding compilers. */
19097 #ifdef __STDC__
19098 # include <limits.h>
19099 #else
19100 # include <assert.h>
19101 #endif
19103 #undef $ac_func
19105 /* Override any gcc2 internal prototype to avoid an error. */
19106 #ifdef __cplusplus
19107 extern "C"
19109 #endif
19110 /* We use char because int might match the return type of a gcc2
19111 builtin and then its argument prototype would still apply. */
19112 char $ac_func ();
19113 /* The GNU C library defines this for functions which it implements
19114 to always fail with ENOSYS. Some functions are actually named
19115 something starting with __ and the normal name is an alias. */
19116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19117 choke me
19118 #else
19119 char (*f) () = $ac_func;
19120 #endif
19121 #ifdef __cplusplus
19123 #endif
19126 main ()
19128 return f != $ac_func;
19130 return 0;
19132 _ACEOF
19133 rm -f conftest.$ac_objext conftest$ac_exeext
19134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19135 (eval $ac_link) 2>conftest.er1
19136 ac_status=$?
19137 grep -v '^ *+' conftest.er1 >conftest.err
19138 rm -f conftest.er1
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } &&
19142 { ac_try='test -z "$ac_c_werror_flag"
19143 || test ! -s conftest.err'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19146 ac_status=$?
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; } &&
19149 { ac_try='test -s conftest$ac_exeext'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19152 ac_status=$?
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; }; then
19155 eval "$as_ac_var=yes"
19156 else
19157 echo "$as_me: failed program was:" >&5
19158 sed 's/^/| /' conftest.$ac_ext >&5
19160 eval "$as_ac_var=no"
19162 rm -f conftest.err conftest.$ac_objext \
19163 conftest$ac_exeext conftest.$ac_ext
19165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19167 if test `eval echo '${'$as_ac_var'}'` = yes; then
19168 cat >>confdefs.h <<_ACEOF
19169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19170 _ACEOF
19173 done
19180 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19181 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19182 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19183 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19184 echo $ECHO_N "(cached) $ECHO_C" >&6
19185 else
19189 ac_ext=cc
19190 ac_cpp='$CXXCPP $CPPFLAGS'
19191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19195 cat >conftest.$ac_ext <<_ACEOF
19196 /* confdefs.h. */
19197 _ACEOF
19198 cat confdefs.h >>conftest.$ac_ext
19199 cat >>conftest.$ac_ext <<_ACEOF
19200 /* end confdefs.h. */
19201 #include <math.h>
19203 main ()
19205 atan2l(0, 0);
19207 return 0;
19209 _ACEOF
19210 rm -f conftest.$ac_objext
19211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19212 (eval $ac_compile) 2>conftest.er1
19213 ac_status=$?
19214 grep -v '^ *+' conftest.er1 >conftest.err
19215 rm -f conftest.er1
19216 cat conftest.err >&5
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); } &&
19219 { ac_try='test -z "$ac_cxx_werror_flag"
19220 || test ! -s conftest.err'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19223 ac_status=$?
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; } &&
19226 { ac_try='test -s conftest.$ac_objext'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19229 ac_status=$?
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; }; then
19232 glibcxx_cv_func_atan2l_use=yes
19233 else
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.$ac_ext >&5
19237 glibcxx_cv_func_atan2l_use=no
19239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19240 ac_ext=c
19241 ac_cpp='$CPP $CPPFLAGS'
19242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19250 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19251 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19253 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19255 for ac_func in atan2l
19257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19258 echo "$as_me:$LINENO: checking for $ac_func" >&5
19259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19260 if eval "test \"\${$as_ac_var+set}\" = set"; then
19261 echo $ECHO_N "(cached) $ECHO_C" >&6
19262 else
19263 if test x$gcc_no_link = xyes; then
19264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19266 { (exit 1); exit 1; }; }
19268 cat >conftest.$ac_ext <<_ACEOF
19269 /* confdefs.h. */
19270 _ACEOF
19271 cat confdefs.h >>conftest.$ac_ext
19272 cat >>conftest.$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19276 #define $ac_func innocuous_$ac_func
19278 /* System header to define __stub macros and hopefully few prototypes,
19279 which can conflict with char $ac_func (); below.
19280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19281 <limits.h> exists even on freestanding compilers. */
19283 #ifdef __STDC__
19284 # include <limits.h>
19285 #else
19286 # include <assert.h>
19287 #endif
19289 #undef $ac_func
19291 /* Override any gcc2 internal prototype to avoid an error. */
19292 #ifdef __cplusplus
19293 extern "C"
19295 #endif
19296 /* We use char because int might match the return type of a gcc2
19297 builtin and then its argument prototype would still apply. */
19298 char $ac_func ();
19299 /* The GNU C library defines this for functions which it implements
19300 to always fail with ENOSYS. Some functions are actually named
19301 something starting with __ and the normal name is an alias. */
19302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19303 choke me
19304 #else
19305 char (*f) () = $ac_func;
19306 #endif
19307 #ifdef __cplusplus
19309 #endif
19312 main ()
19314 return f != $ac_func;
19316 return 0;
19318 _ACEOF
19319 rm -f conftest.$ac_objext conftest$ac_exeext
19320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19321 (eval $ac_link) 2>conftest.er1
19322 ac_status=$?
19323 grep -v '^ *+' conftest.er1 >conftest.err
19324 rm -f conftest.er1
19325 cat conftest.err >&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } &&
19328 { ac_try='test -z "$ac_c_werror_flag"
19329 || test ! -s conftest.err'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19332 ac_status=$?
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; } &&
19335 { ac_try='test -s conftest$ac_exeext'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19338 ac_status=$?
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; }; then
19341 eval "$as_ac_var=yes"
19342 else
19343 echo "$as_me: failed program was:" >&5
19344 sed 's/^/| /' conftest.$ac_ext >&5
19346 eval "$as_ac_var=no"
19348 rm -f conftest.err conftest.$ac_objext \
19349 conftest$ac_exeext conftest.$ac_ext
19351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19353 if test `eval echo '${'$as_ac_var'}'` = yes; then
19354 cat >>confdefs.h <<_ACEOF
19355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19356 _ACEOF
19359 done
19361 else
19363 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19364 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19365 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19366 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19367 echo $ECHO_N "(cached) $ECHO_C" >&6
19368 else
19372 ac_ext=cc
19373 ac_cpp='$CXXCPP $CPPFLAGS'
19374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19378 cat >conftest.$ac_ext <<_ACEOF
19379 /* confdefs.h. */
19380 _ACEOF
19381 cat confdefs.h >>conftest.$ac_ext
19382 cat >>conftest.$ac_ext <<_ACEOF
19383 /* end confdefs.h. */
19384 #include <math.h>
19386 main ()
19388 _atan2l(0, 0);
19390 return 0;
19392 _ACEOF
19393 rm -f conftest.$ac_objext
19394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19395 (eval $ac_compile) 2>conftest.er1
19396 ac_status=$?
19397 grep -v '^ *+' conftest.er1 >conftest.err
19398 rm -f conftest.er1
19399 cat conftest.err >&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } &&
19402 { ac_try='test -z "$ac_cxx_werror_flag"
19403 || test ! -s conftest.err'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19406 ac_status=$?
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; } &&
19409 { ac_try='test -s conftest.$ac_objext'
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411 (eval $ac_try) 2>&5
19412 ac_status=$?
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; }; then
19415 glibcxx_cv_func__atan2l_use=yes
19416 else
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19420 glibcxx_cv_func__atan2l_use=no
19422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19423 ac_ext=c
19424 ac_cpp='$CPP $CPPFLAGS'
19425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19434 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19436 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19438 for ac_func in _atan2l
19440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19441 echo "$as_me:$LINENO: checking for $ac_func" >&5
19442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19443 if eval "test \"\${$as_ac_var+set}\" = set"; then
19444 echo $ECHO_N "(cached) $ECHO_C" >&6
19445 else
19446 if test x$gcc_no_link = xyes; then
19447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19449 { (exit 1); exit 1; }; }
19451 cat >conftest.$ac_ext <<_ACEOF
19452 /* confdefs.h. */
19453 _ACEOF
19454 cat confdefs.h >>conftest.$ac_ext
19455 cat >>conftest.$ac_ext <<_ACEOF
19456 /* end confdefs.h. */
19457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19459 #define $ac_func innocuous_$ac_func
19461 /* System header to define __stub macros and hopefully few prototypes,
19462 which can conflict with char $ac_func (); below.
19463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19464 <limits.h> exists even on freestanding compilers. */
19466 #ifdef __STDC__
19467 # include <limits.h>
19468 #else
19469 # include <assert.h>
19470 #endif
19472 #undef $ac_func
19474 /* Override any gcc2 internal prototype to avoid an error. */
19475 #ifdef __cplusplus
19476 extern "C"
19478 #endif
19479 /* We use char because int might match the return type of a gcc2
19480 builtin and then its argument prototype would still apply. */
19481 char $ac_func ();
19482 /* The GNU C library defines this for functions which it implements
19483 to always fail with ENOSYS. Some functions are actually named
19484 something starting with __ and the normal name is an alias. */
19485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19486 choke me
19487 #else
19488 char (*f) () = $ac_func;
19489 #endif
19490 #ifdef __cplusplus
19492 #endif
19495 main ()
19497 return f != $ac_func;
19499 return 0;
19501 _ACEOF
19502 rm -f conftest.$ac_objext conftest$ac_exeext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19504 (eval $ac_link) 2>conftest.er1
19505 ac_status=$?
19506 grep -v '^ *+' conftest.er1 >conftest.err
19507 rm -f conftest.er1
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try='test -z "$ac_c_werror_flag"
19512 || test ! -s conftest.err'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19515 ac_status=$?
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; } &&
19518 { ac_try='test -s conftest$ac_exeext'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19521 ac_status=$?
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 eval "$as_ac_var=yes"
19525 else
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.$ac_ext >&5
19529 eval "$as_ac_var=no"
19531 rm -f conftest.err conftest.$ac_objext \
19532 conftest$ac_exeext conftest.$ac_ext
19534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19536 if test `eval echo '${'$as_ac_var'}'` = yes; then
19537 cat >>confdefs.h <<_ACEOF
19538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19539 _ACEOF
19542 done
19549 echo "$as_me:$LINENO: checking for expl declaration" >&5
19550 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19551 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19552 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19553 echo $ECHO_N "(cached) $ECHO_C" >&6
19554 else
19558 ac_ext=cc
19559 ac_cpp='$CXXCPP $CPPFLAGS'
19560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19564 cat >conftest.$ac_ext <<_ACEOF
19565 /* confdefs.h. */
19566 _ACEOF
19567 cat confdefs.h >>conftest.$ac_ext
19568 cat >>conftest.$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570 #include <math.h>
19571 #ifdef HAVE_IEEEFP_H
19572 #include <ieeefp.h>
19573 #endif
19576 main ()
19578 expl(0);
19580 return 0;
19582 _ACEOF
19583 rm -f conftest.$ac_objext
19584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19585 (eval $ac_compile) 2>conftest.er1
19586 ac_status=$?
19587 grep -v '^ *+' conftest.er1 >conftest.err
19588 rm -f conftest.er1
19589 cat conftest.err >&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); } &&
19592 { ac_try='test -z "$ac_cxx_werror_flag"
19593 || test ! -s conftest.err'
19594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19595 (eval $ac_try) 2>&5
19596 ac_status=$?
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); }; } &&
19599 { ac_try='test -s conftest.$ac_objext'
19600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19601 (eval $ac_try) 2>&5
19602 ac_status=$?
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); }; }; then
19605 glibcxx_cv_func_expl_use=yes
19606 else
19607 echo "$as_me: failed program was:" >&5
19608 sed 's/^/| /' conftest.$ac_ext >&5
19610 glibcxx_cv_func_expl_use=no
19612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19613 ac_ext=c
19614 ac_cpp='$CPP $CPPFLAGS'
19615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19624 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19626 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19628 for ac_func in expl
19630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19631 echo "$as_me:$LINENO: checking for $ac_func" >&5
19632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19633 if eval "test \"\${$as_ac_var+set}\" = set"; then
19634 echo $ECHO_N "(cached) $ECHO_C" >&6
19635 else
19636 if test x$gcc_no_link = xyes; then
19637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19639 { (exit 1); exit 1; }; }
19641 cat >conftest.$ac_ext <<_ACEOF
19642 /* confdefs.h. */
19643 _ACEOF
19644 cat confdefs.h >>conftest.$ac_ext
19645 cat >>conftest.$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19649 #define $ac_func innocuous_$ac_func
19651 /* System header to define __stub macros and hopefully few prototypes,
19652 which can conflict with char $ac_func (); below.
19653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19654 <limits.h> exists even on freestanding compilers. */
19656 #ifdef __STDC__
19657 # include <limits.h>
19658 #else
19659 # include <assert.h>
19660 #endif
19662 #undef $ac_func
19664 /* Override any gcc2 internal prototype to avoid an error. */
19665 #ifdef __cplusplus
19666 extern "C"
19668 #endif
19669 /* We use char because int might match the return type of a gcc2
19670 builtin and then its argument prototype would still apply. */
19671 char $ac_func ();
19672 /* The GNU C library defines this for functions which it implements
19673 to always fail with ENOSYS. Some functions are actually named
19674 something starting with __ and the normal name is an alias. */
19675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19676 choke me
19677 #else
19678 char (*f) () = $ac_func;
19679 #endif
19680 #ifdef __cplusplus
19682 #endif
19685 main ()
19687 return f != $ac_func;
19689 return 0;
19691 _ACEOF
19692 rm -f conftest.$ac_objext conftest$ac_exeext
19693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19694 (eval $ac_link) 2>conftest.er1
19695 ac_status=$?
19696 grep -v '^ *+' conftest.er1 >conftest.err
19697 rm -f conftest.er1
19698 cat conftest.err >&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } &&
19701 { ac_try='test -z "$ac_c_werror_flag"
19702 || test ! -s conftest.err'
19703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19704 (eval $ac_try) 2>&5
19705 ac_status=$?
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); }; } &&
19708 { ac_try='test -s conftest$ac_exeext'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19711 ac_status=$?
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; }; then
19714 eval "$as_ac_var=yes"
19715 else
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19719 eval "$as_ac_var=no"
19721 rm -f conftest.err conftest.$ac_objext \
19722 conftest$ac_exeext conftest.$ac_ext
19724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19726 if test `eval echo '${'$as_ac_var'}'` = yes; then
19727 cat >>confdefs.h <<_ACEOF
19728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19729 _ACEOF
19732 done
19734 else
19736 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19737 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19738 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19739 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19740 echo $ECHO_N "(cached) $ECHO_C" >&6
19741 else
19745 ac_ext=cc
19746 ac_cpp='$CXXCPP $CPPFLAGS'
19747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19751 cat >conftest.$ac_ext <<_ACEOF
19752 /* confdefs.h. */
19753 _ACEOF
19754 cat confdefs.h >>conftest.$ac_ext
19755 cat >>conftest.$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19757 #include <math.h>
19758 #ifdef HAVE_IEEEFP_H
19759 #include <ieeefp.h>
19760 #endif
19763 main ()
19765 _expl(0);
19767 return 0;
19769 _ACEOF
19770 rm -f conftest.$ac_objext
19771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19772 (eval $ac_compile) 2>conftest.er1
19773 ac_status=$?
19774 grep -v '^ *+' conftest.er1 >conftest.err
19775 rm -f conftest.er1
19776 cat conftest.err >&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try='test -z "$ac_cxx_werror_flag"
19780 || test ! -s conftest.err'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19783 ac_status=$?
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; } &&
19786 { ac_try='test -s conftest.$ac_objext'
19787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788 (eval $ac_try) 2>&5
19789 ac_status=$?
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 glibcxx_cv_func__expl_use=yes
19793 else
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19797 glibcxx_cv_func__expl_use=no
19799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19800 ac_ext=c
19801 ac_cpp='$CPP $CPPFLAGS'
19802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19811 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19813 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19815 for ac_func in _expl
19817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19818 echo "$as_me:$LINENO: checking for $ac_func" >&5
19819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19820 if eval "test \"\${$as_ac_var+set}\" = set"; then
19821 echo $ECHO_N "(cached) $ECHO_C" >&6
19822 else
19823 if test x$gcc_no_link = xyes; then
19824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19826 { (exit 1); exit 1; }; }
19828 cat >conftest.$ac_ext <<_ACEOF
19829 /* confdefs.h. */
19830 _ACEOF
19831 cat confdefs.h >>conftest.$ac_ext
19832 cat >>conftest.$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19836 #define $ac_func innocuous_$ac_func
19838 /* System header to define __stub macros and hopefully few prototypes,
19839 which can conflict with char $ac_func (); below.
19840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19841 <limits.h> exists even on freestanding compilers. */
19843 #ifdef __STDC__
19844 # include <limits.h>
19845 #else
19846 # include <assert.h>
19847 #endif
19849 #undef $ac_func
19851 /* Override any gcc2 internal prototype to avoid an error. */
19852 #ifdef __cplusplus
19853 extern "C"
19855 #endif
19856 /* We use char because int might match the return type of a gcc2
19857 builtin and then its argument prototype would still apply. */
19858 char $ac_func ();
19859 /* The GNU C library defines this for functions which it implements
19860 to always fail with ENOSYS. Some functions are actually named
19861 something starting with __ and the normal name is an alias. */
19862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19863 choke me
19864 #else
19865 char (*f) () = $ac_func;
19866 #endif
19867 #ifdef __cplusplus
19869 #endif
19872 main ()
19874 return f != $ac_func;
19876 return 0;
19878 _ACEOF
19879 rm -f conftest.$ac_objext conftest$ac_exeext
19880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19881 (eval $ac_link) 2>conftest.er1
19882 ac_status=$?
19883 grep -v '^ *+' conftest.er1 >conftest.err
19884 rm -f conftest.er1
19885 cat conftest.err >&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } &&
19888 { ac_try='test -z "$ac_c_werror_flag"
19889 || test ! -s conftest.err'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19892 ac_status=$?
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; } &&
19895 { ac_try='test -s conftest$ac_exeext'
19896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19897 (eval $ac_try) 2>&5
19898 ac_status=$?
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); }; }; then
19901 eval "$as_ac_var=yes"
19902 else
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.$ac_ext >&5
19906 eval "$as_ac_var=no"
19908 rm -f conftest.err conftest.$ac_objext \
19909 conftest$ac_exeext conftest.$ac_ext
19911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19913 if test `eval echo '${'$as_ac_var'}'` = yes; then
19914 cat >>confdefs.h <<_ACEOF
19915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19916 _ACEOF
19919 done
19926 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19927 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19928 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19929 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19930 echo $ECHO_N "(cached) $ECHO_C" >&6
19931 else
19935 ac_ext=cc
19936 ac_cpp='$CXXCPP $CPPFLAGS'
19937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19941 cat >conftest.$ac_ext <<_ACEOF
19942 /* confdefs.h. */
19943 _ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 #include <math.h>
19948 #ifdef HAVE_IEEEFP_H
19949 #include <ieeefp.h>
19950 #endif
19953 main ()
19955 fabsl(0);
19957 return 0;
19959 _ACEOF
19960 rm -f conftest.$ac_objext
19961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19962 (eval $ac_compile) 2>conftest.er1
19963 ac_status=$?
19964 grep -v '^ *+' conftest.er1 >conftest.err
19965 rm -f conftest.er1
19966 cat conftest.err >&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); } &&
19969 { ac_try='test -z "$ac_cxx_werror_flag"
19970 || test ! -s conftest.err'
19971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19972 (eval $ac_try) 2>&5
19973 ac_status=$?
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); }; } &&
19976 { ac_try='test -s conftest.$ac_objext'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19979 ac_status=$?
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; }; then
19982 glibcxx_cv_func_fabsl_use=yes
19983 else
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19987 glibcxx_cv_func_fabsl_use=no
19989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19990 ac_ext=c
19991 ac_cpp='$CPP $CPPFLAGS'
19992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
20001 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
20003 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
20005 for ac_func in fabsl
20007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20008 echo "$as_me:$LINENO: checking for $ac_func" >&5
20009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20010 if eval "test \"\${$as_ac_var+set}\" = set"; then
20011 echo $ECHO_N "(cached) $ECHO_C" >&6
20012 else
20013 if test x$gcc_no_link = xyes; then
20014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20016 { (exit 1); exit 1; }; }
20018 cat >conftest.$ac_ext <<_ACEOF
20019 /* confdefs.h. */
20020 _ACEOF
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20026 #define $ac_func innocuous_$ac_func
20028 /* System header to define __stub macros and hopefully few prototypes,
20029 which can conflict with char $ac_func (); below.
20030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20031 <limits.h> exists even on freestanding compilers. */
20033 #ifdef __STDC__
20034 # include <limits.h>
20035 #else
20036 # include <assert.h>
20037 #endif
20039 #undef $ac_func
20041 /* Override any gcc2 internal prototype to avoid an error. */
20042 #ifdef __cplusplus
20043 extern "C"
20045 #endif
20046 /* We use char because int might match the return type of a gcc2
20047 builtin and then its argument prototype would still apply. */
20048 char $ac_func ();
20049 /* The GNU C library defines this for functions which it implements
20050 to always fail with ENOSYS. Some functions are actually named
20051 something starting with __ and the normal name is an alias. */
20052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20053 choke me
20054 #else
20055 char (*f) () = $ac_func;
20056 #endif
20057 #ifdef __cplusplus
20059 #endif
20062 main ()
20064 return f != $ac_func;
20066 return 0;
20068 _ACEOF
20069 rm -f conftest.$ac_objext conftest$ac_exeext
20070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20071 (eval $ac_link) 2>conftest.er1
20072 ac_status=$?
20073 grep -v '^ *+' conftest.er1 >conftest.err
20074 rm -f conftest.er1
20075 cat conftest.err >&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } &&
20078 { ac_try='test -z "$ac_c_werror_flag"
20079 || test ! -s conftest.err'
20080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20081 (eval $ac_try) 2>&5
20082 ac_status=$?
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); }; } &&
20085 { ac_try='test -s conftest$ac_exeext'
20086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087 (eval $ac_try) 2>&5
20088 ac_status=$?
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); }; }; then
20091 eval "$as_ac_var=yes"
20092 else
20093 echo "$as_me: failed program was:" >&5
20094 sed 's/^/| /' conftest.$ac_ext >&5
20096 eval "$as_ac_var=no"
20098 rm -f conftest.err conftest.$ac_objext \
20099 conftest$ac_exeext conftest.$ac_ext
20101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20103 if test `eval echo '${'$as_ac_var'}'` = yes; then
20104 cat >>confdefs.h <<_ACEOF
20105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20106 _ACEOF
20109 done
20111 else
20113 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20114 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20115 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20116 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20117 echo $ECHO_N "(cached) $ECHO_C" >&6
20118 else
20122 ac_ext=cc
20123 ac_cpp='$CXXCPP $CPPFLAGS'
20124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20128 cat >conftest.$ac_ext <<_ACEOF
20129 /* confdefs.h. */
20130 _ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20134 #include <math.h>
20135 #ifdef HAVE_IEEEFP_H
20136 #include <ieeefp.h>
20137 #endif
20140 main ()
20142 _fabsl(0);
20144 return 0;
20146 _ACEOF
20147 rm -f conftest.$ac_objext
20148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20149 (eval $ac_compile) 2>conftest.er1
20150 ac_status=$?
20151 grep -v '^ *+' conftest.er1 >conftest.err
20152 rm -f conftest.er1
20153 cat conftest.err >&5
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); } &&
20156 { ac_try='test -z "$ac_cxx_werror_flag"
20157 || test ! -s conftest.err'
20158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20159 (eval $ac_try) 2>&5
20160 ac_status=$?
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); }; } &&
20163 { ac_try='test -s conftest.$ac_objext'
20164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20165 (eval $ac_try) 2>&5
20166 ac_status=$?
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); }; }; then
20169 glibcxx_cv_func__fabsl_use=yes
20170 else
20171 echo "$as_me: failed program was:" >&5
20172 sed 's/^/| /' conftest.$ac_ext >&5
20174 glibcxx_cv_func__fabsl_use=no
20176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20177 ac_ext=c
20178 ac_cpp='$CPP $CPPFLAGS'
20179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20188 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20190 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20192 for ac_func in _fabsl
20194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20195 echo "$as_me:$LINENO: checking for $ac_func" >&5
20196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20197 if eval "test \"\${$as_ac_var+set}\" = set"; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20199 else
20200 if test x$gcc_no_link = xyes; then
20201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20203 { (exit 1); exit 1; }; }
20205 cat >conftest.$ac_ext <<_ACEOF
20206 /* confdefs.h. */
20207 _ACEOF
20208 cat confdefs.h >>conftest.$ac_ext
20209 cat >>conftest.$ac_ext <<_ACEOF
20210 /* end confdefs.h. */
20211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20213 #define $ac_func innocuous_$ac_func
20215 /* System header to define __stub macros and hopefully few prototypes,
20216 which can conflict with char $ac_func (); below.
20217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20218 <limits.h> exists even on freestanding compilers. */
20220 #ifdef __STDC__
20221 # include <limits.h>
20222 #else
20223 # include <assert.h>
20224 #endif
20226 #undef $ac_func
20228 /* Override any gcc2 internal prototype to avoid an error. */
20229 #ifdef __cplusplus
20230 extern "C"
20232 #endif
20233 /* We use char because int might match the return type of a gcc2
20234 builtin and then its argument prototype would still apply. */
20235 char $ac_func ();
20236 /* The GNU C library defines this for functions which it implements
20237 to always fail with ENOSYS. Some functions are actually named
20238 something starting with __ and the normal name is an alias. */
20239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20240 choke me
20241 #else
20242 char (*f) () = $ac_func;
20243 #endif
20244 #ifdef __cplusplus
20246 #endif
20249 main ()
20251 return f != $ac_func;
20253 return 0;
20255 _ACEOF
20256 rm -f conftest.$ac_objext conftest$ac_exeext
20257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20258 (eval $ac_link) 2>conftest.er1
20259 ac_status=$?
20260 grep -v '^ *+' conftest.er1 >conftest.err
20261 rm -f conftest.er1
20262 cat conftest.err >&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); } &&
20265 { ac_try='test -z "$ac_c_werror_flag"
20266 || test ! -s conftest.err'
20267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20268 (eval $ac_try) 2>&5
20269 ac_status=$?
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); }; } &&
20272 { ac_try='test -s conftest$ac_exeext'
20273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20274 (eval $ac_try) 2>&5
20275 ac_status=$?
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); }; }; then
20278 eval "$as_ac_var=yes"
20279 else
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20283 eval "$as_ac_var=no"
20285 rm -f conftest.err conftest.$ac_objext \
20286 conftest$ac_exeext conftest.$ac_ext
20288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20290 if test `eval echo '${'$as_ac_var'}'` = yes; then
20291 cat >>confdefs.h <<_ACEOF
20292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20293 _ACEOF
20296 done
20303 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20304 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20305 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20306 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20307 echo $ECHO_N "(cached) $ECHO_C" >&6
20308 else
20312 ac_ext=cc
20313 ac_cpp='$CXXCPP $CPPFLAGS'
20314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20318 cat >conftest.$ac_ext <<_ACEOF
20319 /* confdefs.h. */
20320 _ACEOF
20321 cat confdefs.h >>conftest.$ac_ext
20322 cat >>conftest.$ac_ext <<_ACEOF
20323 /* end confdefs.h. */
20324 #include <math.h>
20326 main ()
20328 fmodl(0, 0);
20330 return 0;
20332 _ACEOF
20333 rm -f conftest.$ac_objext
20334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20335 (eval $ac_compile) 2>conftest.er1
20336 ac_status=$?
20337 grep -v '^ *+' conftest.er1 >conftest.err
20338 rm -f conftest.er1
20339 cat conftest.err >&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); } &&
20342 { ac_try='test -z "$ac_cxx_werror_flag"
20343 || test ! -s conftest.err'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20346 ac_status=$?
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; } &&
20349 { ac_try='test -s conftest.$ac_objext'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20352 ac_status=$?
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; }; then
20355 glibcxx_cv_func_fmodl_use=yes
20356 else
20357 echo "$as_me: failed program was:" >&5
20358 sed 's/^/| /' conftest.$ac_ext >&5
20360 glibcxx_cv_func_fmodl_use=no
20362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20363 ac_ext=c
20364 ac_cpp='$CPP $CPPFLAGS'
20365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20374 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20376 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20378 for ac_func in fmodl
20380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20381 echo "$as_me:$LINENO: checking for $ac_func" >&5
20382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20383 if eval "test \"\${$as_ac_var+set}\" = set"; then
20384 echo $ECHO_N "(cached) $ECHO_C" >&6
20385 else
20386 if test x$gcc_no_link = xyes; then
20387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20389 { (exit 1); exit 1; }; }
20391 cat >conftest.$ac_ext <<_ACEOF
20392 /* confdefs.h. */
20393 _ACEOF
20394 cat confdefs.h >>conftest.$ac_ext
20395 cat >>conftest.$ac_ext <<_ACEOF
20396 /* end confdefs.h. */
20397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20399 #define $ac_func innocuous_$ac_func
20401 /* System header to define __stub macros and hopefully few prototypes,
20402 which can conflict with char $ac_func (); below.
20403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20404 <limits.h> exists even on freestanding compilers. */
20406 #ifdef __STDC__
20407 # include <limits.h>
20408 #else
20409 # include <assert.h>
20410 #endif
20412 #undef $ac_func
20414 /* Override any gcc2 internal prototype to avoid an error. */
20415 #ifdef __cplusplus
20416 extern "C"
20418 #endif
20419 /* We use char because int might match the return type of a gcc2
20420 builtin and then its argument prototype would still apply. */
20421 char $ac_func ();
20422 /* The GNU C library defines this for functions which it implements
20423 to always fail with ENOSYS. Some functions are actually named
20424 something starting with __ and the normal name is an alias. */
20425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20426 choke me
20427 #else
20428 char (*f) () = $ac_func;
20429 #endif
20430 #ifdef __cplusplus
20432 #endif
20435 main ()
20437 return f != $ac_func;
20439 return 0;
20441 _ACEOF
20442 rm -f conftest.$ac_objext conftest$ac_exeext
20443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20444 (eval $ac_link) 2>conftest.er1
20445 ac_status=$?
20446 grep -v '^ *+' conftest.er1 >conftest.err
20447 rm -f conftest.er1
20448 cat conftest.err >&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } &&
20451 { ac_try='test -z "$ac_c_werror_flag"
20452 || test ! -s conftest.err'
20453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20454 (eval $ac_try) 2>&5
20455 ac_status=$?
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); }; } &&
20458 { ac_try='test -s conftest$ac_exeext'
20459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 (eval $ac_try) 2>&5
20461 ac_status=$?
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; }; then
20464 eval "$as_ac_var=yes"
20465 else
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.$ac_ext >&5
20469 eval "$as_ac_var=no"
20471 rm -f conftest.err conftest.$ac_objext \
20472 conftest$ac_exeext conftest.$ac_ext
20474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20476 if test `eval echo '${'$as_ac_var'}'` = yes; then
20477 cat >>confdefs.h <<_ACEOF
20478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20479 _ACEOF
20482 done
20484 else
20486 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20487 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20488 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20489 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20490 echo $ECHO_N "(cached) $ECHO_C" >&6
20491 else
20495 ac_ext=cc
20496 ac_cpp='$CXXCPP $CPPFLAGS'
20497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20501 cat >conftest.$ac_ext <<_ACEOF
20502 /* confdefs.h. */
20503 _ACEOF
20504 cat confdefs.h >>conftest.$ac_ext
20505 cat >>conftest.$ac_ext <<_ACEOF
20506 /* end confdefs.h. */
20507 #include <math.h>
20509 main ()
20511 _fmodl(0, 0);
20513 return 0;
20515 _ACEOF
20516 rm -f conftest.$ac_objext
20517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20518 (eval $ac_compile) 2>conftest.er1
20519 ac_status=$?
20520 grep -v '^ *+' conftest.er1 >conftest.err
20521 rm -f conftest.er1
20522 cat conftest.err >&5
20523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 (exit $ac_status); } &&
20525 { ac_try='test -z "$ac_cxx_werror_flag"
20526 || test ! -s conftest.err'
20527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20528 (eval $ac_try) 2>&5
20529 ac_status=$?
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); }; } &&
20532 { ac_try='test -s conftest.$ac_objext'
20533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534 (eval $ac_try) 2>&5
20535 ac_status=$?
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); }; }; then
20538 glibcxx_cv_func__fmodl_use=yes
20539 else
20540 echo "$as_me: failed program was:" >&5
20541 sed 's/^/| /' conftest.$ac_ext >&5
20543 glibcxx_cv_func__fmodl_use=no
20545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20546 ac_ext=c
20547 ac_cpp='$CPP $CPPFLAGS'
20548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20556 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20557 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20559 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20561 for ac_func in _fmodl
20563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20564 echo "$as_me:$LINENO: checking for $ac_func" >&5
20565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20566 if eval "test \"\${$as_ac_var+set}\" = set"; then
20567 echo $ECHO_N "(cached) $ECHO_C" >&6
20568 else
20569 if test x$gcc_no_link = xyes; then
20570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20572 { (exit 1); exit 1; }; }
20574 cat >conftest.$ac_ext <<_ACEOF
20575 /* confdefs.h. */
20576 _ACEOF
20577 cat confdefs.h >>conftest.$ac_ext
20578 cat >>conftest.$ac_ext <<_ACEOF
20579 /* end confdefs.h. */
20580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20582 #define $ac_func innocuous_$ac_func
20584 /* System header to define __stub macros and hopefully few prototypes,
20585 which can conflict with char $ac_func (); below.
20586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20587 <limits.h> exists even on freestanding compilers. */
20589 #ifdef __STDC__
20590 # include <limits.h>
20591 #else
20592 # include <assert.h>
20593 #endif
20595 #undef $ac_func
20597 /* Override any gcc2 internal prototype to avoid an error. */
20598 #ifdef __cplusplus
20599 extern "C"
20601 #endif
20602 /* We use char because int might match the return type of a gcc2
20603 builtin and then its argument prototype would still apply. */
20604 char $ac_func ();
20605 /* The GNU C library defines this for functions which it implements
20606 to always fail with ENOSYS. Some functions are actually named
20607 something starting with __ and the normal name is an alias. */
20608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20609 choke me
20610 #else
20611 char (*f) () = $ac_func;
20612 #endif
20613 #ifdef __cplusplus
20615 #endif
20618 main ()
20620 return f != $ac_func;
20622 return 0;
20624 _ACEOF
20625 rm -f conftest.$ac_objext conftest$ac_exeext
20626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20627 (eval $ac_link) 2>conftest.er1
20628 ac_status=$?
20629 grep -v '^ *+' conftest.er1 >conftest.err
20630 rm -f conftest.er1
20631 cat conftest.err >&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } &&
20634 { ac_try='test -z "$ac_c_werror_flag"
20635 || test ! -s conftest.err'
20636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20637 (eval $ac_try) 2>&5
20638 ac_status=$?
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); }; } &&
20641 { ac_try='test -s conftest$ac_exeext'
20642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20643 (eval $ac_try) 2>&5
20644 ac_status=$?
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); }; }; then
20647 eval "$as_ac_var=yes"
20648 else
20649 echo "$as_me: failed program was:" >&5
20650 sed 's/^/| /' conftest.$ac_ext >&5
20652 eval "$as_ac_var=no"
20654 rm -f conftest.err conftest.$ac_objext \
20655 conftest$ac_exeext conftest.$ac_ext
20657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20659 if test `eval echo '${'$as_ac_var'}'` = yes; then
20660 cat >>confdefs.h <<_ACEOF
20661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20662 _ACEOF
20665 done
20672 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20673 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20674 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20675 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20676 echo $ECHO_N "(cached) $ECHO_C" >&6
20677 else
20681 ac_ext=cc
20682 ac_cpp='$CXXCPP $CPPFLAGS'
20683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20687 cat >conftest.$ac_ext <<_ACEOF
20688 /* confdefs.h. */
20689 _ACEOF
20690 cat confdefs.h >>conftest.$ac_ext
20691 cat >>conftest.$ac_ext <<_ACEOF
20692 /* end confdefs.h. */
20693 #include <math.h>
20695 main ()
20697 frexpl(0, 0);
20699 return 0;
20701 _ACEOF
20702 rm -f conftest.$ac_objext
20703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20704 (eval $ac_compile) 2>conftest.er1
20705 ac_status=$?
20706 grep -v '^ *+' conftest.er1 >conftest.err
20707 rm -f conftest.er1
20708 cat conftest.err >&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } &&
20711 { ac_try='test -z "$ac_cxx_werror_flag"
20712 || test ! -s conftest.err'
20713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20714 (eval $ac_try) 2>&5
20715 ac_status=$?
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); }; } &&
20718 { ac_try='test -s conftest.$ac_objext'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20721 ac_status=$?
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; }; then
20724 glibcxx_cv_func_frexpl_use=yes
20725 else
20726 echo "$as_me: failed program was:" >&5
20727 sed 's/^/| /' conftest.$ac_ext >&5
20729 glibcxx_cv_func_frexpl_use=no
20731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20732 ac_ext=c
20733 ac_cpp='$CPP $CPPFLAGS'
20734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20742 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20743 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20745 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20747 for ac_func in frexpl
20749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20750 echo "$as_me:$LINENO: checking for $ac_func" >&5
20751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20752 if eval "test \"\${$as_ac_var+set}\" = set"; then
20753 echo $ECHO_N "(cached) $ECHO_C" >&6
20754 else
20755 if test x$gcc_no_link = xyes; then
20756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20758 { (exit 1); exit 1; }; }
20760 cat >conftest.$ac_ext <<_ACEOF
20761 /* confdefs.h. */
20762 _ACEOF
20763 cat confdefs.h >>conftest.$ac_ext
20764 cat >>conftest.$ac_ext <<_ACEOF
20765 /* end confdefs.h. */
20766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20768 #define $ac_func innocuous_$ac_func
20770 /* System header to define __stub macros and hopefully few prototypes,
20771 which can conflict with char $ac_func (); below.
20772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20773 <limits.h> exists even on freestanding compilers. */
20775 #ifdef __STDC__
20776 # include <limits.h>
20777 #else
20778 # include <assert.h>
20779 #endif
20781 #undef $ac_func
20783 /* Override any gcc2 internal prototype to avoid an error. */
20784 #ifdef __cplusplus
20785 extern "C"
20787 #endif
20788 /* We use char because int might match the return type of a gcc2
20789 builtin and then its argument prototype would still apply. */
20790 char $ac_func ();
20791 /* The GNU C library defines this for functions which it implements
20792 to always fail with ENOSYS. Some functions are actually named
20793 something starting with __ and the normal name is an alias. */
20794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20795 choke me
20796 #else
20797 char (*f) () = $ac_func;
20798 #endif
20799 #ifdef __cplusplus
20801 #endif
20804 main ()
20806 return f != $ac_func;
20808 return 0;
20810 _ACEOF
20811 rm -f conftest.$ac_objext conftest$ac_exeext
20812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20813 (eval $ac_link) 2>conftest.er1
20814 ac_status=$?
20815 grep -v '^ *+' conftest.er1 >conftest.err
20816 rm -f conftest.er1
20817 cat conftest.err >&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); } &&
20820 { ac_try='test -z "$ac_c_werror_flag"
20821 || test ! -s conftest.err'
20822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20823 (eval $ac_try) 2>&5
20824 ac_status=$?
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); }; } &&
20827 { ac_try='test -s conftest$ac_exeext'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20830 ac_status=$?
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; }; then
20833 eval "$as_ac_var=yes"
20834 else
20835 echo "$as_me: failed program was:" >&5
20836 sed 's/^/| /' conftest.$ac_ext >&5
20838 eval "$as_ac_var=no"
20840 rm -f conftest.err conftest.$ac_objext \
20841 conftest$ac_exeext conftest.$ac_ext
20843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20845 if test `eval echo '${'$as_ac_var'}'` = yes; then
20846 cat >>confdefs.h <<_ACEOF
20847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20848 _ACEOF
20851 done
20853 else
20855 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20856 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20857 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20858 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20859 echo $ECHO_N "(cached) $ECHO_C" >&6
20860 else
20864 ac_ext=cc
20865 ac_cpp='$CXXCPP $CPPFLAGS'
20866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20870 cat >conftest.$ac_ext <<_ACEOF
20871 /* confdefs.h. */
20872 _ACEOF
20873 cat confdefs.h >>conftest.$ac_ext
20874 cat >>conftest.$ac_ext <<_ACEOF
20875 /* end confdefs.h. */
20876 #include <math.h>
20878 main ()
20880 _frexpl(0, 0);
20882 return 0;
20884 _ACEOF
20885 rm -f conftest.$ac_objext
20886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20887 (eval $ac_compile) 2>conftest.er1
20888 ac_status=$?
20889 grep -v '^ *+' conftest.er1 >conftest.err
20890 rm -f conftest.er1
20891 cat conftest.err >&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); } &&
20894 { ac_try='test -z "$ac_cxx_werror_flag"
20895 || test ! -s conftest.err'
20896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20897 (eval $ac_try) 2>&5
20898 ac_status=$?
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); }; } &&
20901 { ac_try='test -s conftest.$ac_objext'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20904 ac_status=$?
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; }; then
20907 glibcxx_cv_func__frexpl_use=yes
20908 else
20909 echo "$as_me: failed program was:" >&5
20910 sed 's/^/| /' conftest.$ac_ext >&5
20912 glibcxx_cv_func__frexpl_use=no
20914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20915 ac_ext=c
20916 ac_cpp='$CPP $CPPFLAGS'
20917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20925 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20926 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20928 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20930 for ac_func in _frexpl
20932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20933 echo "$as_me:$LINENO: checking for $ac_func" >&5
20934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20935 if eval "test \"\${$as_ac_var+set}\" = set"; then
20936 echo $ECHO_N "(cached) $ECHO_C" >&6
20937 else
20938 if test x$gcc_no_link = xyes; then
20939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20941 { (exit 1); exit 1; }; }
20943 cat >conftest.$ac_ext <<_ACEOF
20944 /* confdefs.h. */
20945 _ACEOF
20946 cat confdefs.h >>conftest.$ac_ext
20947 cat >>conftest.$ac_ext <<_ACEOF
20948 /* end confdefs.h. */
20949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20951 #define $ac_func innocuous_$ac_func
20953 /* System header to define __stub macros and hopefully few prototypes,
20954 which can conflict with char $ac_func (); below.
20955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20956 <limits.h> exists even on freestanding compilers. */
20958 #ifdef __STDC__
20959 # include <limits.h>
20960 #else
20961 # include <assert.h>
20962 #endif
20964 #undef $ac_func
20966 /* Override any gcc2 internal prototype to avoid an error. */
20967 #ifdef __cplusplus
20968 extern "C"
20970 #endif
20971 /* We use char because int might match the return type of a gcc2
20972 builtin and then its argument prototype would still apply. */
20973 char $ac_func ();
20974 /* The GNU C library defines this for functions which it implements
20975 to always fail with ENOSYS. Some functions are actually named
20976 something starting with __ and the normal name is an alias. */
20977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20978 choke me
20979 #else
20980 char (*f) () = $ac_func;
20981 #endif
20982 #ifdef __cplusplus
20984 #endif
20987 main ()
20989 return f != $ac_func;
20991 return 0;
20993 _ACEOF
20994 rm -f conftest.$ac_objext conftest$ac_exeext
20995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20996 (eval $ac_link) 2>conftest.er1
20997 ac_status=$?
20998 grep -v '^ *+' conftest.er1 >conftest.err
20999 rm -f conftest.er1
21000 cat conftest.err >&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); } &&
21003 { ac_try='test -z "$ac_c_werror_flag"
21004 || test ! -s conftest.err'
21005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21006 (eval $ac_try) 2>&5
21007 ac_status=$?
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); }; } &&
21010 { ac_try='test -s conftest$ac_exeext'
21011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012 (eval $ac_try) 2>&5
21013 ac_status=$?
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; }; then
21016 eval "$as_ac_var=yes"
21017 else
21018 echo "$as_me: failed program was:" >&5
21019 sed 's/^/| /' conftest.$ac_ext >&5
21021 eval "$as_ac_var=no"
21023 rm -f conftest.err conftest.$ac_objext \
21024 conftest$ac_exeext conftest.$ac_ext
21026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21028 if test `eval echo '${'$as_ac_var'}'` = yes; then
21029 cat >>confdefs.h <<_ACEOF
21030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21031 _ACEOF
21034 done
21041 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21042 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21043 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21044 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21045 echo $ECHO_N "(cached) $ECHO_C" >&6
21046 else
21050 ac_ext=cc
21051 ac_cpp='$CXXCPP $CPPFLAGS'
21052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21056 cat >conftest.$ac_ext <<_ACEOF
21057 /* confdefs.h. */
21058 _ACEOF
21059 cat confdefs.h >>conftest.$ac_ext
21060 cat >>conftest.$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21062 #include <math.h>
21064 main ()
21066 hypotl(0, 0);
21068 return 0;
21070 _ACEOF
21071 rm -f conftest.$ac_objext
21072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21073 (eval $ac_compile) 2>conftest.er1
21074 ac_status=$?
21075 grep -v '^ *+' conftest.er1 >conftest.err
21076 rm -f conftest.er1
21077 cat conftest.err >&5
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); } &&
21080 { ac_try='test -z "$ac_cxx_werror_flag"
21081 || test ! -s conftest.err'
21082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21083 (eval $ac_try) 2>&5
21084 ac_status=$?
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); }; } &&
21087 { ac_try='test -s conftest.$ac_objext'
21088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21089 (eval $ac_try) 2>&5
21090 ac_status=$?
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; }; then
21093 glibcxx_cv_func_hypotl_use=yes
21094 else
21095 echo "$as_me: failed program was:" >&5
21096 sed 's/^/| /' conftest.$ac_ext >&5
21098 glibcxx_cv_func_hypotl_use=no
21100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21101 ac_ext=c
21102 ac_cpp='$CPP $CPPFLAGS'
21103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21112 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21114 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21116 for ac_func in hypotl
21118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21119 echo "$as_me:$LINENO: checking for $ac_func" >&5
21120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21121 if eval "test \"\${$as_ac_var+set}\" = set"; then
21122 echo $ECHO_N "(cached) $ECHO_C" >&6
21123 else
21124 if test x$gcc_no_link = xyes; then
21125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21127 { (exit 1); exit 1; }; }
21129 cat >conftest.$ac_ext <<_ACEOF
21130 /* confdefs.h. */
21131 _ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21137 #define $ac_func innocuous_$ac_func
21139 /* System header to define __stub macros and hopefully few prototypes,
21140 which can conflict with char $ac_func (); below.
21141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21142 <limits.h> exists even on freestanding compilers. */
21144 #ifdef __STDC__
21145 # include <limits.h>
21146 #else
21147 # include <assert.h>
21148 #endif
21150 #undef $ac_func
21152 /* Override any gcc2 internal prototype to avoid an error. */
21153 #ifdef __cplusplus
21154 extern "C"
21156 #endif
21157 /* We use char because int might match the return type of a gcc2
21158 builtin and then its argument prototype would still apply. */
21159 char $ac_func ();
21160 /* The GNU C library defines this for functions which it implements
21161 to always fail with ENOSYS. Some functions are actually named
21162 something starting with __ and the normal name is an alias. */
21163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21164 choke me
21165 #else
21166 char (*f) () = $ac_func;
21167 #endif
21168 #ifdef __cplusplus
21170 #endif
21173 main ()
21175 return f != $ac_func;
21177 return 0;
21179 _ACEOF
21180 rm -f conftest.$ac_objext conftest$ac_exeext
21181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21182 (eval $ac_link) 2>conftest.er1
21183 ac_status=$?
21184 grep -v '^ *+' conftest.er1 >conftest.err
21185 rm -f conftest.er1
21186 cat conftest.err >&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); } &&
21189 { ac_try='test -z "$ac_c_werror_flag"
21190 || test ! -s conftest.err'
21191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21192 (eval $ac_try) 2>&5
21193 ac_status=$?
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); }; } &&
21196 { ac_try='test -s conftest$ac_exeext'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; }; then
21202 eval "$as_ac_var=yes"
21203 else
21204 echo "$as_me: failed program was:" >&5
21205 sed 's/^/| /' conftest.$ac_ext >&5
21207 eval "$as_ac_var=no"
21209 rm -f conftest.err conftest.$ac_objext \
21210 conftest$ac_exeext conftest.$ac_ext
21212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21214 if test `eval echo '${'$as_ac_var'}'` = yes; then
21215 cat >>confdefs.h <<_ACEOF
21216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21217 _ACEOF
21220 done
21222 else
21224 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21225 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21226 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21227 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21228 echo $ECHO_N "(cached) $ECHO_C" >&6
21229 else
21233 ac_ext=cc
21234 ac_cpp='$CXXCPP $CPPFLAGS'
21235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21239 cat >conftest.$ac_ext <<_ACEOF
21240 /* confdefs.h. */
21241 _ACEOF
21242 cat confdefs.h >>conftest.$ac_ext
21243 cat >>conftest.$ac_ext <<_ACEOF
21244 /* end confdefs.h. */
21245 #include <math.h>
21247 main ()
21249 _hypotl(0, 0);
21251 return 0;
21253 _ACEOF
21254 rm -f conftest.$ac_objext
21255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21256 (eval $ac_compile) 2>conftest.er1
21257 ac_status=$?
21258 grep -v '^ *+' conftest.er1 >conftest.err
21259 rm -f conftest.er1
21260 cat conftest.err >&5
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); } &&
21263 { ac_try='test -z "$ac_cxx_werror_flag"
21264 || test ! -s conftest.err'
21265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21266 (eval $ac_try) 2>&5
21267 ac_status=$?
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); }; } &&
21270 { ac_try='test -s conftest.$ac_objext'
21271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21272 (eval $ac_try) 2>&5
21273 ac_status=$?
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); }; }; then
21276 glibcxx_cv_func__hypotl_use=yes
21277 else
21278 echo "$as_me: failed program was:" >&5
21279 sed 's/^/| /' conftest.$ac_ext >&5
21281 glibcxx_cv_func__hypotl_use=no
21283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21284 ac_ext=c
21285 ac_cpp='$CPP $CPPFLAGS'
21286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21294 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21295 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21297 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21299 for ac_func in _hypotl
21301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21302 echo "$as_me:$LINENO: checking for $ac_func" >&5
21303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21304 if eval "test \"\${$as_ac_var+set}\" = set"; then
21305 echo $ECHO_N "(cached) $ECHO_C" >&6
21306 else
21307 if test x$gcc_no_link = xyes; then
21308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21310 { (exit 1); exit 1; }; }
21312 cat >conftest.$ac_ext <<_ACEOF
21313 /* confdefs.h. */
21314 _ACEOF
21315 cat confdefs.h >>conftest.$ac_ext
21316 cat >>conftest.$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21320 #define $ac_func innocuous_$ac_func
21322 /* System header to define __stub macros and hopefully few prototypes,
21323 which can conflict with char $ac_func (); below.
21324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21325 <limits.h> exists even on freestanding compilers. */
21327 #ifdef __STDC__
21328 # include <limits.h>
21329 #else
21330 # include <assert.h>
21331 #endif
21333 #undef $ac_func
21335 /* Override any gcc2 internal prototype to avoid an error. */
21336 #ifdef __cplusplus
21337 extern "C"
21339 #endif
21340 /* We use char because int might match the return type of a gcc2
21341 builtin and then its argument prototype would still apply. */
21342 char $ac_func ();
21343 /* The GNU C library defines this for functions which it implements
21344 to always fail with ENOSYS. Some functions are actually named
21345 something starting with __ and the normal name is an alias. */
21346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21347 choke me
21348 #else
21349 char (*f) () = $ac_func;
21350 #endif
21351 #ifdef __cplusplus
21353 #endif
21356 main ()
21358 return f != $ac_func;
21360 return 0;
21362 _ACEOF
21363 rm -f conftest.$ac_objext conftest$ac_exeext
21364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21365 (eval $ac_link) 2>conftest.er1
21366 ac_status=$?
21367 grep -v '^ *+' conftest.er1 >conftest.err
21368 rm -f conftest.er1
21369 cat conftest.err >&5
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); } &&
21372 { ac_try='test -z "$ac_c_werror_flag"
21373 || test ! -s conftest.err'
21374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375 (eval $ac_try) 2>&5
21376 ac_status=$?
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); }; } &&
21379 { ac_try='test -s conftest$ac_exeext'
21380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21381 (eval $ac_try) 2>&5
21382 ac_status=$?
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); }; }; then
21385 eval "$as_ac_var=yes"
21386 else
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.$ac_ext >&5
21390 eval "$as_ac_var=no"
21392 rm -f conftest.err conftest.$ac_objext \
21393 conftest$ac_exeext conftest.$ac_ext
21395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21397 if test `eval echo '${'$as_ac_var'}'` = yes; then
21398 cat >>confdefs.h <<_ACEOF
21399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21400 _ACEOF
21403 done
21410 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21411 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21412 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21413 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21414 echo $ECHO_N "(cached) $ECHO_C" >&6
21415 else
21419 ac_ext=cc
21420 ac_cpp='$CXXCPP $CPPFLAGS'
21421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21425 cat >conftest.$ac_ext <<_ACEOF
21426 /* confdefs.h. */
21427 _ACEOF
21428 cat confdefs.h >>conftest.$ac_ext
21429 cat >>conftest.$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21431 #include <math.h>
21433 main ()
21435 ldexpl(0, 0);
21437 return 0;
21439 _ACEOF
21440 rm -f conftest.$ac_objext
21441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21442 (eval $ac_compile) 2>conftest.er1
21443 ac_status=$?
21444 grep -v '^ *+' conftest.er1 >conftest.err
21445 rm -f conftest.er1
21446 cat conftest.err >&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try='test -z "$ac_cxx_werror_flag"
21450 || test ! -s conftest.err'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21453 ac_status=$?
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; } &&
21456 { ac_try='test -s conftest.$ac_objext'
21457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21458 (eval $ac_try) 2>&5
21459 ac_status=$?
21460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461 (exit $ac_status); }; }; then
21462 glibcxx_cv_func_ldexpl_use=yes
21463 else
21464 echo "$as_me: failed program was:" >&5
21465 sed 's/^/| /' conftest.$ac_ext >&5
21467 glibcxx_cv_func_ldexpl_use=no
21469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21470 ac_ext=c
21471 ac_cpp='$CPP $CPPFLAGS'
21472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21480 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21481 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21483 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21485 for ac_func in ldexpl
21487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21488 echo "$as_me:$LINENO: checking for $ac_func" >&5
21489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21490 if eval "test \"\${$as_ac_var+set}\" = set"; then
21491 echo $ECHO_N "(cached) $ECHO_C" >&6
21492 else
21493 if test x$gcc_no_link = xyes; then
21494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21496 { (exit 1); exit 1; }; }
21498 cat >conftest.$ac_ext <<_ACEOF
21499 /* confdefs.h. */
21500 _ACEOF
21501 cat confdefs.h >>conftest.$ac_ext
21502 cat >>conftest.$ac_ext <<_ACEOF
21503 /* end confdefs.h. */
21504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21506 #define $ac_func innocuous_$ac_func
21508 /* System header to define __stub macros and hopefully few prototypes,
21509 which can conflict with char $ac_func (); below.
21510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21511 <limits.h> exists even on freestanding compilers. */
21513 #ifdef __STDC__
21514 # include <limits.h>
21515 #else
21516 # include <assert.h>
21517 #endif
21519 #undef $ac_func
21521 /* Override any gcc2 internal prototype to avoid an error. */
21522 #ifdef __cplusplus
21523 extern "C"
21525 #endif
21526 /* We use char because int might match the return type of a gcc2
21527 builtin and then its argument prototype would still apply. */
21528 char $ac_func ();
21529 /* The GNU C library defines this for functions which it implements
21530 to always fail with ENOSYS. Some functions are actually named
21531 something starting with __ and the normal name is an alias. */
21532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21533 choke me
21534 #else
21535 char (*f) () = $ac_func;
21536 #endif
21537 #ifdef __cplusplus
21539 #endif
21542 main ()
21544 return f != $ac_func;
21546 return 0;
21548 _ACEOF
21549 rm -f conftest.$ac_objext conftest$ac_exeext
21550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21551 (eval $ac_link) 2>conftest.er1
21552 ac_status=$?
21553 grep -v '^ *+' conftest.er1 >conftest.err
21554 rm -f conftest.er1
21555 cat conftest.err >&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); } &&
21558 { ac_try='test -z "$ac_c_werror_flag"
21559 || test ! -s conftest.err'
21560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21561 (eval $ac_try) 2>&5
21562 ac_status=$?
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; } &&
21565 { ac_try='test -s conftest$ac_exeext'
21566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21567 (eval $ac_try) 2>&5
21568 ac_status=$?
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); }; }; then
21571 eval "$as_ac_var=yes"
21572 else
21573 echo "$as_me: failed program was:" >&5
21574 sed 's/^/| /' conftest.$ac_ext >&5
21576 eval "$as_ac_var=no"
21578 rm -f conftest.err conftest.$ac_objext \
21579 conftest$ac_exeext conftest.$ac_ext
21581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21583 if test `eval echo '${'$as_ac_var'}'` = yes; then
21584 cat >>confdefs.h <<_ACEOF
21585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21586 _ACEOF
21589 done
21591 else
21593 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21594 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21595 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21596 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21597 echo $ECHO_N "(cached) $ECHO_C" >&6
21598 else
21602 ac_ext=cc
21603 ac_cpp='$CXXCPP $CPPFLAGS'
21604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21608 cat >conftest.$ac_ext <<_ACEOF
21609 /* confdefs.h. */
21610 _ACEOF
21611 cat confdefs.h >>conftest.$ac_ext
21612 cat >>conftest.$ac_ext <<_ACEOF
21613 /* end confdefs.h. */
21614 #include <math.h>
21616 main ()
21618 _ldexpl(0, 0);
21620 return 0;
21622 _ACEOF
21623 rm -f conftest.$ac_objext
21624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21625 (eval $ac_compile) 2>conftest.er1
21626 ac_status=$?
21627 grep -v '^ *+' conftest.er1 >conftest.err
21628 rm -f conftest.er1
21629 cat conftest.err >&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } &&
21632 { ac_try='test -z "$ac_cxx_werror_flag"
21633 || test ! -s conftest.err'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21636 ac_status=$?
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; } &&
21639 { ac_try='test -s conftest.$ac_objext'
21640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21641 (eval $ac_try) 2>&5
21642 ac_status=$?
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); }; }; then
21645 glibcxx_cv_func__ldexpl_use=yes
21646 else
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.$ac_ext >&5
21650 glibcxx_cv_func__ldexpl_use=no
21652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21653 ac_ext=c
21654 ac_cpp='$CPP $CPPFLAGS'
21655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21663 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21664 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21666 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21668 for ac_func in _ldexpl
21670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21671 echo "$as_me:$LINENO: checking for $ac_func" >&5
21672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21673 if eval "test \"\${$as_ac_var+set}\" = set"; then
21674 echo $ECHO_N "(cached) $ECHO_C" >&6
21675 else
21676 if test x$gcc_no_link = xyes; then
21677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21679 { (exit 1); exit 1; }; }
21681 cat >conftest.$ac_ext <<_ACEOF
21682 /* confdefs.h. */
21683 _ACEOF
21684 cat confdefs.h >>conftest.$ac_ext
21685 cat >>conftest.$ac_ext <<_ACEOF
21686 /* end confdefs.h. */
21687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21689 #define $ac_func innocuous_$ac_func
21691 /* System header to define __stub macros and hopefully few prototypes,
21692 which can conflict with char $ac_func (); below.
21693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21694 <limits.h> exists even on freestanding compilers. */
21696 #ifdef __STDC__
21697 # include <limits.h>
21698 #else
21699 # include <assert.h>
21700 #endif
21702 #undef $ac_func
21704 /* Override any gcc2 internal prototype to avoid an error. */
21705 #ifdef __cplusplus
21706 extern "C"
21708 #endif
21709 /* We use char because int might match the return type of a gcc2
21710 builtin and then its argument prototype would still apply. */
21711 char $ac_func ();
21712 /* The GNU C library defines this for functions which it implements
21713 to always fail with ENOSYS. Some functions are actually named
21714 something starting with __ and the normal name is an alias. */
21715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21716 choke me
21717 #else
21718 char (*f) () = $ac_func;
21719 #endif
21720 #ifdef __cplusplus
21722 #endif
21725 main ()
21727 return f != $ac_func;
21729 return 0;
21731 _ACEOF
21732 rm -f conftest.$ac_objext conftest$ac_exeext
21733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21734 (eval $ac_link) 2>conftest.er1
21735 ac_status=$?
21736 grep -v '^ *+' conftest.er1 >conftest.err
21737 rm -f conftest.er1
21738 cat conftest.err >&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); } &&
21741 { ac_try='test -z "$ac_c_werror_flag"
21742 || test ! -s conftest.err'
21743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21744 (eval $ac_try) 2>&5
21745 ac_status=$?
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; } &&
21748 { ac_try='test -s conftest$ac_exeext'
21749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21750 (eval $ac_try) 2>&5
21751 ac_status=$?
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); }; }; then
21754 eval "$as_ac_var=yes"
21755 else
21756 echo "$as_me: failed program was:" >&5
21757 sed 's/^/| /' conftest.$ac_ext >&5
21759 eval "$as_ac_var=no"
21761 rm -f conftest.err conftest.$ac_objext \
21762 conftest$ac_exeext conftest.$ac_ext
21764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21766 if test `eval echo '${'$as_ac_var'}'` = yes; then
21767 cat >>confdefs.h <<_ACEOF
21768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21769 _ACEOF
21772 done
21779 echo "$as_me:$LINENO: checking for logl declaration" >&5
21780 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21781 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21782 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21783 echo $ECHO_N "(cached) $ECHO_C" >&6
21784 else
21788 ac_ext=cc
21789 ac_cpp='$CXXCPP $CPPFLAGS'
21790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21794 cat >conftest.$ac_ext <<_ACEOF
21795 /* confdefs.h. */
21796 _ACEOF
21797 cat confdefs.h >>conftest.$ac_ext
21798 cat >>conftest.$ac_ext <<_ACEOF
21799 /* end confdefs.h. */
21800 #include <math.h>
21801 #ifdef HAVE_IEEEFP_H
21802 #include <ieeefp.h>
21803 #endif
21806 main ()
21808 logl(0);
21810 return 0;
21812 _ACEOF
21813 rm -f conftest.$ac_objext
21814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21815 (eval $ac_compile) 2>conftest.er1
21816 ac_status=$?
21817 grep -v '^ *+' conftest.er1 >conftest.err
21818 rm -f conftest.er1
21819 cat conftest.err >&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); } &&
21822 { ac_try='test -z "$ac_cxx_werror_flag"
21823 || test ! -s conftest.err'
21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825 (eval $ac_try) 2>&5
21826 ac_status=$?
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); }; } &&
21829 { ac_try='test -s conftest.$ac_objext'
21830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21831 (eval $ac_try) 2>&5
21832 ac_status=$?
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); }; }; then
21835 glibcxx_cv_func_logl_use=yes
21836 else
21837 echo "$as_me: failed program was:" >&5
21838 sed 's/^/| /' conftest.$ac_ext >&5
21840 glibcxx_cv_func_logl_use=no
21842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21843 ac_ext=c
21844 ac_cpp='$CPP $CPPFLAGS'
21845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21854 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21856 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21858 for ac_func in logl
21860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21861 echo "$as_me:$LINENO: checking for $ac_func" >&5
21862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21863 if eval "test \"\${$as_ac_var+set}\" = set"; then
21864 echo $ECHO_N "(cached) $ECHO_C" >&6
21865 else
21866 if test x$gcc_no_link = xyes; then
21867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21869 { (exit 1); exit 1; }; }
21871 cat >conftest.$ac_ext <<_ACEOF
21872 /* confdefs.h. */
21873 _ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21879 #define $ac_func innocuous_$ac_func
21881 /* System header to define __stub macros and hopefully few prototypes,
21882 which can conflict with char $ac_func (); below.
21883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21884 <limits.h> exists even on freestanding compilers. */
21886 #ifdef __STDC__
21887 # include <limits.h>
21888 #else
21889 # include <assert.h>
21890 #endif
21892 #undef $ac_func
21894 /* Override any gcc2 internal prototype to avoid an error. */
21895 #ifdef __cplusplus
21896 extern "C"
21898 #endif
21899 /* We use char because int might match the return type of a gcc2
21900 builtin and then its argument prototype would still apply. */
21901 char $ac_func ();
21902 /* The GNU C library defines this for functions which it implements
21903 to always fail with ENOSYS. Some functions are actually named
21904 something starting with __ and the normal name is an alias. */
21905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21906 choke me
21907 #else
21908 char (*f) () = $ac_func;
21909 #endif
21910 #ifdef __cplusplus
21912 #endif
21915 main ()
21917 return f != $ac_func;
21919 return 0;
21921 _ACEOF
21922 rm -f conftest.$ac_objext conftest$ac_exeext
21923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21924 (eval $ac_link) 2>conftest.er1
21925 ac_status=$?
21926 grep -v '^ *+' conftest.er1 >conftest.err
21927 rm -f conftest.er1
21928 cat conftest.err >&5
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); } &&
21931 { ac_try='test -z "$ac_c_werror_flag"
21932 || test ! -s conftest.err'
21933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21934 (eval $ac_try) 2>&5
21935 ac_status=$?
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); }; } &&
21938 { ac_try='test -s conftest$ac_exeext'
21939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21940 (eval $ac_try) 2>&5
21941 ac_status=$?
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; }; then
21944 eval "$as_ac_var=yes"
21945 else
21946 echo "$as_me: failed program was:" >&5
21947 sed 's/^/| /' conftest.$ac_ext >&5
21949 eval "$as_ac_var=no"
21951 rm -f conftest.err conftest.$ac_objext \
21952 conftest$ac_exeext conftest.$ac_ext
21954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21956 if test `eval echo '${'$as_ac_var'}'` = yes; then
21957 cat >>confdefs.h <<_ACEOF
21958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21959 _ACEOF
21962 done
21964 else
21966 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21967 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21968 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21969 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21970 echo $ECHO_N "(cached) $ECHO_C" >&6
21971 else
21975 ac_ext=cc
21976 ac_cpp='$CXXCPP $CPPFLAGS'
21977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21981 cat >conftest.$ac_ext <<_ACEOF
21982 /* confdefs.h. */
21983 _ACEOF
21984 cat confdefs.h >>conftest.$ac_ext
21985 cat >>conftest.$ac_ext <<_ACEOF
21986 /* end confdefs.h. */
21987 #include <math.h>
21988 #ifdef HAVE_IEEEFP_H
21989 #include <ieeefp.h>
21990 #endif
21993 main ()
21995 _logl(0);
21997 return 0;
21999 _ACEOF
22000 rm -f conftest.$ac_objext
22001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22002 (eval $ac_compile) 2>conftest.er1
22003 ac_status=$?
22004 grep -v '^ *+' conftest.er1 >conftest.err
22005 rm -f conftest.er1
22006 cat conftest.err >&5
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); } &&
22009 { ac_try='test -z "$ac_cxx_werror_flag"
22010 || test ! -s conftest.err'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22013 ac_status=$?
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; } &&
22016 { ac_try='test -s conftest.$ac_objext'
22017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22018 (eval $ac_try) 2>&5
22019 ac_status=$?
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); }; }; then
22022 glibcxx_cv_func__logl_use=yes
22023 else
22024 echo "$as_me: failed program was:" >&5
22025 sed 's/^/| /' conftest.$ac_ext >&5
22027 glibcxx_cv_func__logl_use=no
22029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22030 ac_ext=c
22031 ac_cpp='$CPP $CPPFLAGS'
22032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22041 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22043 if test x$glibcxx_cv_func__logl_use = x"yes"; then
22045 for ac_func in _logl
22047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22048 echo "$as_me:$LINENO: checking for $ac_func" >&5
22049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22050 if eval "test \"\${$as_ac_var+set}\" = set"; then
22051 echo $ECHO_N "(cached) $ECHO_C" >&6
22052 else
22053 if test x$gcc_no_link = xyes; then
22054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22056 { (exit 1); exit 1; }; }
22058 cat >conftest.$ac_ext <<_ACEOF
22059 /* confdefs.h. */
22060 _ACEOF
22061 cat confdefs.h >>conftest.$ac_ext
22062 cat >>conftest.$ac_ext <<_ACEOF
22063 /* end confdefs.h. */
22064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22066 #define $ac_func innocuous_$ac_func
22068 /* System header to define __stub macros and hopefully few prototypes,
22069 which can conflict with char $ac_func (); below.
22070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22071 <limits.h> exists even on freestanding compilers. */
22073 #ifdef __STDC__
22074 # include <limits.h>
22075 #else
22076 # include <assert.h>
22077 #endif
22079 #undef $ac_func
22081 /* Override any gcc2 internal prototype to avoid an error. */
22082 #ifdef __cplusplus
22083 extern "C"
22085 #endif
22086 /* We use char because int might match the return type of a gcc2
22087 builtin and then its argument prototype would still apply. */
22088 char $ac_func ();
22089 /* The GNU C library defines this for functions which it implements
22090 to always fail with ENOSYS. Some functions are actually named
22091 something starting with __ and the normal name is an alias. */
22092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22093 choke me
22094 #else
22095 char (*f) () = $ac_func;
22096 #endif
22097 #ifdef __cplusplus
22099 #endif
22102 main ()
22104 return f != $ac_func;
22106 return 0;
22108 _ACEOF
22109 rm -f conftest.$ac_objext conftest$ac_exeext
22110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22111 (eval $ac_link) 2>conftest.er1
22112 ac_status=$?
22113 grep -v '^ *+' conftest.er1 >conftest.err
22114 rm -f conftest.er1
22115 cat conftest.err >&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } &&
22118 { ac_try='test -z "$ac_c_werror_flag"
22119 || test ! -s conftest.err'
22120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121 (eval $ac_try) 2>&5
22122 ac_status=$?
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; } &&
22125 { ac_try='test -s conftest$ac_exeext'
22126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127 (eval $ac_try) 2>&5
22128 ac_status=$?
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); }; }; then
22131 eval "$as_ac_var=yes"
22132 else
22133 echo "$as_me: failed program was:" >&5
22134 sed 's/^/| /' conftest.$ac_ext >&5
22136 eval "$as_ac_var=no"
22138 rm -f conftest.err conftest.$ac_objext \
22139 conftest$ac_exeext conftest.$ac_ext
22141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22143 if test `eval echo '${'$as_ac_var'}'` = yes; then
22144 cat >>confdefs.h <<_ACEOF
22145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22146 _ACEOF
22149 done
22156 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22157 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22158 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22159 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22160 echo $ECHO_N "(cached) $ECHO_C" >&6
22161 else
22165 ac_ext=cc
22166 ac_cpp='$CXXCPP $CPPFLAGS'
22167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22171 cat >conftest.$ac_ext <<_ACEOF
22172 /* confdefs.h. */
22173 _ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 #include <math.h>
22178 #ifdef HAVE_IEEEFP_H
22179 #include <ieeefp.h>
22180 #endif
22183 main ()
22185 log10l(0);
22187 return 0;
22189 _ACEOF
22190 rm -f conftest.$ac_objext
22191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22192 (eval $ac_compile) 2>conftest.er1
22193 ac_status=$?
22194 grep -v '^ *+' conftest.er1 >conftest.err
22195 rm -f conftest.er1
22196 cat conftest.err >&5
22197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198 (exit $ac_status); } &&
22199 { ac_try='test -z "$ac_cxx_werror_flag"
22200 || test ! -s conftest.err'
22201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22202 (eval $ac_try) 2>&5
22203 ac_status=$?
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); }; } &&
22206 { ac_try='test -s conftest.$ac_objext'
22207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22208 (eval $ac_try) 2>&5
22209 ac_status=$?
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); }; }; then
22212 glibcxx_cv_func_log10l_use=yes
22213 else
22214 echo "$as_me: failed program was:" >&5
22215 sed 's/^/| /' conftest.$ac_ext >&5
22217 glibcxx_cv_func_log10l_use=no
22219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22220 ac_ext=c
22221 ac_cpp='$CPP $CPPFLAGS'
22222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22230 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22231 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22233 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22235 for ac_func in log10l
22237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22238 echo "$as_me:$LINENO: checking for $ac_func" >&5
22239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22240 if eval "test \"\${$as_ac_var+set}\" = set"; then
22241 echo $ECHO_N "(cached) $ECHO_C" >&6
22242 else
22243 if test x$gcc_no_link = xyes; then
22244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22246 { (exit 1); exit 1; }; }
22248 cat >conftest.$ac_ext <<_ACEOF
22249 /* confdefs.h. */
22250 _ACEOF
22251 cat confdefs.h >>conftest.$ac_ext
22252 cat >>conftest.$ac_ext <<_ACEOF
22253 /* end confdefs.h. */
22254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22256 #define $ac_func innocuous_$ac_func
22258 /* System header to define __stub macros and hopefully few prototypes,
22259 which can conflict with char $ac_func (); below.
22260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22261 <limits.h> exists even on freestanding compilers. */
22263 #ifdef __STDC__
22264 # include <limits.h>
22265 #else
22266 # include <assert.h>
22267 #endif
22269 #undef $ac_func
22271 /* Override any gcc2 internal prototype to avoid an error. */
22272 #ifdef __cplusplus
22273 extern "C"
22275 #endif
22276 /* We use char because int might match the return type of a gcc2
22277 builtin and then its argument prototype would still apply. */
22278 char $ac_func ();
22279 /* The GNU C library defines this for functions which it implements
22280 to always fail with ENOSYS. Some functions are actually named
22281 something starting with __ and the normal name is an alias. */
22282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22283 choke me
22284 #else
22285 char (*f) () = $ac_func;
22286 #endif
22287 #ifdef __cplusplus
22289 #endif
22292 main ()
22294 return f != $ac_func;
22296 return 0;
22298 _ACEOF
22299 rm -f conftest.$ac_objext conftest$ac_exeext
22300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22301 (eval $ac_link) 2>conftest.er1
22302 ac_status=$?
22303 grep -v '^ *+' conftest.er1 >conftest.err
22304 rm -f conftest.er1
22305 cat conftest.err >&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); } &&
22308 { ac_try='test -z "$ac_c_werror_flag"
22309 || test ! -s conftest.err'
22310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22311 (eval $ac_try) 2>&5
22312 ac_status=$?
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); }; } &&
22315 { ac_try='test -s conftest$ac_exeext'
22316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22317 (eval $ac_try) 2>&5
22318 ac_status=$?
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); }; }; then
22321 eval "$as_ac_var=yes"
22322 else
22323 echo "$as_me: failed program was:" >&5
22324 sed 's/^/| /' conftest.$ac_ext >&5
22326 eval "$as_ac_var=no"
22328 rm -f conftest.err conftest.$ac_objext \
22329 conftest$ac_exeext conftest.$ac_ext
22331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22333 if test `eval echo '${'$as_ac_var'}'` = yes; then
22334 cat >>confdefs.h <<_ACEOF
22335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22336 _ACEOF
22339 done
22341 else
22343 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22344 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22345 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22346 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22347 echo $ECHO_N "(cached) $ECHO_C" >&6
22348 else
22352 ac_ext=cc
22353 ac_cpp='$CXXCPP $CPPFLAGS'
22354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22358 cat >conftest.$ac_ext <<_ACEOF
22359 /* confdefs.h. */
22360 _ACEOF
22361 cat confdefs.h >>conftest.$ac_ext
22362 cat >>conftest.$ac_ext <<_ACEOF
22363 /* end confdefs.h. */
22364 #include <math.h>
22365 #ifdef HAVE_IEEEFP_H
22366 #include <ieeefp.h>
22367 #endif
22370 main ()
22372 _log10l(0);
22374 return 0;
22376 _ACEOF
22377 rm -f conftest.$ac_objext
22378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22379 (eval $ac_compile) 2>conftest.er1
22380 ac_status=$?
22381 grep -v '^ *+' conftest.er1 >conftest.err
22382 rm -f conftest.er1
22383 cat conftest.err >&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); } &&
22386 { ac_try='test -z "$ac_cxx_werror_flag"
22387 || test ! -s conftest.err'
22388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22389 (eval $ac_try) 2>&5
22390 ac_status=$?
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); }; } &&
22393 { ac_try='test -s conftest.$ac_objext'
22394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395 (eval $ac_try) 2>&5
22396 ac_status=$?
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; }; then
22399 glibcxx_cv_func__log10l_use=yes
22400 else
22401 echo "$as_me: failed program was:" >&5
22402 sed 's/^/| /' conftest.$ac_ext >&5
22404 glibcxx_cv_func__log10l_use=no
22406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22407 ac_ext=c
22408 ac_cpp='$CPP $CPPFLAGS'
22409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22417 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22418 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22420 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22422 for ac_func in _log10l
22424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22425 echo "$as_me:$LINENO: checking for $ac_func" >&5
22426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22427 if eval "test \"\${$as_ac_var+set}\" = set"; then
22428 echo $ECHO_N "(cached) $ECHO_C" >&6
22429 else
22430 if test x$gcc_no_link = xyes; then
22431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22433 { (exit 1); exit 1; }; }
22435 cat >conftest.$ac_ext <<_ACEOF
22436 /* confdefs.h. */
22437 _ACEOF
22438 cat confdefs.h >>conftest.$ac_ext
22439 cat >>conftest.$ac_ext <<_ACEOF
22440 /* end confdefs.h. */
22441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22443 #define $ac_func innocuous_$ac_func
22445 /* System header to define __stub macros and hopefully few prototypes,
22446 which can conflict with char $ac_func (); below.
22447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22448 <limits.h> exists even on freestanding compilers. */
22450 #ifdef __STDC__
22451 # include <limits.h>
22452 #else
22453 # include <assert.h>
22454 #endif
22456 #undef $ac_func
22458 /* Override any gcc2 internal prototype to avoid an error. */
22459 #ifdef __cplusplus
22460 extern "C"
22462 #endif
22463 /* We use char because int might match the return type of a gcc2
22464 builtin and then its argument prototype would still apply. */
22465 char $ac_func ();
22466 /* The GNU C library defines this for functions which it implements
22467 to always fail with ENOSYS. Some functions are actually named
22468 something starting with __ and the normal name is an alias. */
22469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22470 choke me
22471 #else
22472 char (*f) () = $ac_func;
22473 #endif
22474 #ifdef __cplusplus
22476 #endif
22479 main ()
22481 return f != $ac_func;
22483 return 0;
22485 _ACEOF
22486 rm -f conftest.$ac_objext conftest$ac_exeext
22487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22488 (eval $ac_link) 2>conftest.er1
22489 ac_status=$?
22490 grep -v '^ *+' conftest.er1 >conftest.err
22491 rm -f conftest.er1
22492 cat conftest.err >&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } &&
22495 { ac_try='test -z "$ac_c_werror_flag"
22496 || test ! -s conftest.err'
22497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22498 (eval $ac_try) 2>&5
22499 ac_status=$?
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); }; } &&
22502 { ac_try='test -s conftest$ac_exeext'
22503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22504 (eval $ac_try) 2>&5
22505 ac_status=$?
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); }; }; then
22508 eval "$as_ac_var=yes"
22509 else
22510 echo "$as_me: failed program was:" >&5
22511 sed 's/^/| /' conftest.$ac_ext >&5
22513 eval "$as_ac_var=no"
22515 rm -f conftest.err conftest.$ac_objext \
22516 conftest$ac_exeext conftest.$ac_ext
22518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22520 if test `eval echo '${'$as_ac_var'}'` = yes; then
22521 cat >>confdefs.h <<_ACEOF
22522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22523 _ACEOF
22526 done
22533 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22534 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22535 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22536 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22537 echo $ECHO_N "(cached) $ECHO_C" >&6
22538 else
22542 ac_ext=cc
22543 ac_cpp='$CXXCPP $CPPFLAGS'
22544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22548 cat >conftest.$ac_ext <<_ACEOF
22549 /* confdefs.h. */
22550 _ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 #include <math.h>
22556 main ()
22558 modfl(0, 0);
22560 return 0;
22562 _ACEOF
22563 rm -f conftest.$ac_objext
22564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22565 (eval $ac_compile) 2>conftest.er1
22566 ac_status=$?
22567 grep -v '^ *+' conftest.er1 >conftest.err
22568 rm -f conftest.er1
22569 cat conftest.err >&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); } &&
22572 { ac_try='test -z "$ac_cxx_werror_flag"
22573 || test ! -s conftest.err'
22574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22575 (eval $ac_try) 2>&5
22576 ac_status=$?
22577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 (exit $ac_status); }; } &&
22579 { ac_try='test -s conftest.$ac_objext'
22580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22581 (eval $ac_try) 2>&5
22582 ac_status=$?
22583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22584 (exit $ac_status); }; }; then
22585 glibcxx_cv_func_modfl_use=yes
22586 else
22587 echo "$as_me: failed program was:" >&5
22588 sed 's/^/| /' conftest.$ac_ext >&5
22590 glibcxx_cv_func_modfl_use=no
22592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22593 ac_ext=c
22594 ac_cpp='$CPP $CPPFLAGS'
22595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22604 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22606 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22608 for ac_func in modfl
22610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22611 echo "$as_me:$LINENO: checking for $ac_func" >&5
22612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22613 if eval "test \"\${$as_ac_var+set}\" = set"; then
22614 echo $ECHO_N "(cached) $ECHO_C" >&6
22615 else
22616 if test x$gcc_no_link = xyes; then
22617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22619 { (exit 1); exit 1; }; }
22621 cat >conftest.$ac_ext <<_ACEOF
22622 /* confdefs.h. */
22623 _ACEOF
22624 cat confdefs.h >>conftest.$ac_ext
22625 cat >>conftest.$ac_ext <<_ACEOF
22626 /* end confdefs.h. */
22627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22629 #define $ac_func innocuous_$ac_func
22631 /* System header to define __stub macros and hopefully few prototypes,
22632 which can conflict with char $ac_func (); below.
22633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22634 <limits.h> exists even on freestanding compilers. */
22636 #ifdef __STDC__
22637 # include <limits.h>
22638 #else
22639 # include <assert.h>
22640 #endif
22642 #undef $ac_func
22644 /* Override any gcc2 internal prototype to avoid an error. */
22645 #ifdef __cplusplus
22646 extern "C"
22648 #endif
22649 /* We use char because int might match the return type of a gcc2
22650 builtin and then its argument prototype would still apply. */
22651 char $ac_func ();
22652 /* The GNU C library defines this for functions which it implements
22653 to always fail with ENOSYS. Some functions are actually named
22654 something starting with __ and the normal name is an alias. */
22655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22656 choke me
22657 #else
22658 char (*f) () = $ac_func;
22659 #endif
22660 #ifdef __cplusplus
22662 #endif
22665 main ()
22667 return f != $ac_func;
22669 return 0;
22671 _ACEOF
22672 rm -f conftest.$ac_objext conftest$ac_exeext
22673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22674 (eval $ac_link) 2>conftest.er1
22675 ac_status=$?
22676 grep -v '^ *+' conftest.er1 >conftest.err
22677 rm -f conftest.er1
22678 cat conftest.err >&5
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); } &&
22681 { ac_try='test -z "$ac_c_werror_flag"
22682 || test ! -s conftest.err'
22683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684 (eval $ac_try) 2>&5
22685 ac_status=$?
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; } &&
22688 { ac_try='test -s conftest$ac_exeext'
22689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22690 (eval $ac_try) 2>&5
22691 ac_status=$?
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); }; }; then
22694 eval "$as_ac_var=yes"
22695 else
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.$ac_ext >&5
22699 eval "$as_ac_var=no"
22701 rm -f conftest.err conftest.$ac_objext \
22702 conftest$ac_exeext conftest.$ac_ext
22704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22706 if test `eval echo '${'$as_ac_var'}'` = yes; then
22707 cat >>confdefs.h <<_ACEOF
22708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22709 _ACEOF
22712 done
22714 else
22716 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22717 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22718 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22719 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22720 echo $ECHO_N "(cached) $ECHO_C" >&6
22721 else
22725 ac_ext=cc
22726 ac_cpp='$CXXCPP $CPPFLAGS'
22727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22731 cat >conftest.$ac_ext <<_ACEOF
22732 /* confdefs.h. */
22733 _ACEOF
22734 cat confdefs.h >>conftest.$ac_ext
22735 cat >>conftest.$ac_ext <<_ACEOF
22736 /* end confdefs.h. */
22737 #include <math.h>
22739 main ()
22741 _modfl(0, 0);
22743 return 0;
22745 _ACEOF
22746 rm -f conftest.$ac_objext
22747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22748 (eval $ac_compile) 2>conftest.er1
22749 ac_status=$?
22750 grep -v '^ *+' conftest.er1 >conftest.err
22751 rm -f conftest.er1
22752 cat conftest.err >&5
22753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22754 (exit $ac_status); } &&
22755 { ac_try='test -z "$ac_cxx_werror_flag"
22756 || test ! -s conftest.err'
22757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22758 (eval $ac_try) 2>&5
22759 ac_status=$?
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); }; } &&
22762 { ac_try='test -s conftest.$ac_objext'
22763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22764 (eval $ac_try) 2>&5
22765 ac_status=$?
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); }; }; then
22768 glibcxx_cv_func__modfl_use=yes
22769 else
22770 echo "$as_me: failed program was:" >&5
22771 sed 's/^/| /' conftest.$ac_ext >&5
22773 glibcxx_cv_func__modfl_use=no
22775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22776 ac_ext=c
22777 ac_cpp='$CPP $CPPFLAGS'
22778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22786 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22787 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22789 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22791 for ac_func in _modfl
22793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22794 echo "$as_me:$LINENO: checking for $ac_func" >&5
22795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22796 if eval "test \"\${$as_ac_var+set}\" = set"; then
22797 echo $ECHO_N "(cached) $ECHO_C" >&6
22798 else
22799 if test x$gcc_no_link = xyes; then
22800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22802 { (exit 1); exit 1; }; }
22804 cat >conftest.$ac_ext <<_ACEOF
22805 /* confdefs.h. */
22806 _ACEOF
22807 cat confdefs.h >>conftest.$ac_ext
22808 cat >>conftest.$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22812 #define $ac_func innocuous_$ac_func
22814 /* System header to define __stub macros and hopefully few prototypes,
22815 which can conflict with char $ac_func (); below.
22816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22817 <limits.h> exists even on freestanding compilers. */
22819 #ifdef __STDC__
22820 # include <limits.h>
22821 #else
22822 # include <assert.h>
22823 #endif
22825 #undef $ac_func
22827 /* Override any gcc2 internal prototype to avoid an error. */
22828 #ifdef __cplusplus
22829 extern "C"
22831 #endif
22832 /* We use char because int might match the return type of a gcc2
22833 builtin and then its argument prototype would still apply. */
22834 char $ac_func ();
22835 /* The GNU C library defines this for functions which it implements
22836 to always fail with ENOSYS. Some functions are actually named
22837 something starting with __ and the normal name is an alias. */
22838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22839 choke me
22840 #else
22841 char (*f) () = $ac_func;
22842 #endif
22843 #ifdef __cplusplus
22845 #endif
22848 main ()
22850 return f != $ac_func;
22852 return 0;
22854 _ACEOF
22855 rm -f conftest.$ac_objext conftest$ac_exeext
22856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22857 (eval $ac_link) 2>conftest.er1
22858 ac_status=$?
22859 grep -v '^ *+' conftest.er1 >conftest.err
22860 rm -f conftest.er1
22861 cat conftest.err >&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); } &&
22864 { ac_try='test -z "$ac_c_werror_flag"
22865 || test ! -s conftest.err'
22866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22867 (eval $ac_try) 2>&5
22868 ac_status=$?
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); }; } &&
22871 { ac_try='test -s conftest$ac_exeext'
22872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22873 (eval $ac_try) 2>&5
22874 ac_status=$?
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; }; then
22877 eval "$as_ac_var=yes"
22878 else
22879 echo "$as_me: failed program was:" >&5
22880 sed 's/^/| /' conftest.$ac_ext >&5
22882 eval "$as_ac_var=no"
22884 rm -f conftest.err conftest.$ac_objext \
22885 conftest$ac_exeext conftest.$ac_ext
22887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22889 if test `eval echo '${'$as_ac_var'}'` = yes; then
22890 cat >>confdefs.h <<_ACEOF
22891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22892 _ACEOF
22895 done
22902 echo "$as_me:$LINENO: checking for powl declaration" >&5
22903 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22904 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22905 if test "${glibcxx_cv_func_powl_use+set}" = set; then
22906 echo $ECHO_N "(cached) $ECHO_C" >&6
22907 else
22911 ac_ext=cc
22912 ac_cpp='$CXXCPP $CPPFLAGS'
22913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22917 cat >conftest.$ac_ext <<_ACEOF
22918 /* confdefs.h. */
22919 _ACEOF
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h. */
22923 #include <math.h>
22925 main ()
22927 powl(0, 0);
22929 return 0;
22931 _ACEOF
22932 rm -f conftest.$ac_objext
22933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22934 (eval $ac_compile) 2>conftest.er1
22935 ac_status=$?
22936 grep -v '^ *+' conftest.er1 >conftest.err
22937 rm -f conftest.er1
22938 cat conftest.err >&5
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); } &&
22941 { ac_try='test -z "$ac_cxx_werror_flag"
22942 || test ! -s conftest.err'
22943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22944 (eval $ac_try) 2>&5
22945 ac_status=$?
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); }; } &&
22948 { ac_try='test -s conftest.$ac_objext'
22949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22950 (eval $ac_try) 2>&5
22951 ac_status=$?
22952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22953 (exit $ac_status); }; }; then
22954 glibcxx_cv_func_powl_use=yes
22955 else
22956 echo "$as_me: failed program was:" >&5
22957 sed 's/^/| /' conftest.$ac_ext >&5
22959 glibcxx_cv_func_powl_use=no
22961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22962 ac_ext=c
22963 ac_cpp='$CPP $CPPFLAGS'
22964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22973 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22975 if test x$glibcxx_cv_func_powl_use = x"yes"; then
22977 for ac_func in powl
22979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22980 echo "$as_me:$LINENO: checking for $ac_func" >&5
22981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22982 if eval "test \"\${$as_ac_var+set}\" = set"; then
22983 echo $ECHO_N "(cached) $ECHO_C" >&6
22984 else
22985 if test x$gcc_no_link = xyes; then
22986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22988 { (exit 1); exit 1; }; }
22990 cat >conftest.$ac_ext <<_ACEOF
22991 /* confdefs.h. */
22992 _ACEOF
22993 cat confdefs.h >>conftest.$ac_ext
22994 cat >>conftest.$ac_ext <<_ACEOF
22995 /* end confdefs.h. */
22996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22998 #define $ac_func innocuous_$ac_func
23000 /* System header to define __stub macros and hopefully few prototypes,
23001 which can conflict with char $ac_func (); below.
23002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23003 <limits.h> exists even on freestanding compilers. */
23005 #ifdef __STDC__
23006 # include <limits.h>
23007 #else
23008 # include <assert.h>
23009 #endif
23011 #undef $ac_func
23013 /* Override any gcc2 internal prototype to avoid an error. */
23014 #ifdef __cplusplus
23015 extern "C"
23017 #endif
23018 /* We use char because int might match the return type of a gcc2
23019 builtin and then its argument prototype would still apply. */
23020 char $ac_func ();
23021 /* The GNU C library defines this for functions which it implements
23022 to always fail with ENOSYS. Some functions are actually named
23023 something starting with __ and the normal name is an alias. */
23024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23025 choke me
23026 #else
23027 char (*f) () = $ac_func;
23028 #endif
23029 #ifdef __cplusplus
23031 #endif
23034 main ()
23036 return f != $ac_func;
23038 return 0;
23040 _ACEOF
23041 rm -f conftest.$ac_objext conftest$ac_exeext
23042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23043 (eval $ac_link) 2>conftest.er1
23044 ac_status=$?
23045 grep -v '^ *+' conftest.er1 >conftest.err
23046 rm -f conftest.er1
23047 cat conftest.err >&5
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); } &&
23050 { ac_try='test -z "$ac_c_werror_flag"
23051 || test ! -s conftest.err'
23052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23053 (eval $ac_try) 2>&5
23054 ac_status=$?
23055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23056 (exit $ac_status); }; } &&
23057 { ac_try='test -s conftest$ac_exeext'
23058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23059 (eval $ac_try) 2>&5
23060 ac_status=$?
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); }; }; then
23063 eval "$as_ac_var=yes"
23064 else
23065 echo "$as_me: failed program was:" >&5
23066 sed 's/^/| /' conftest.$ac_ext >&5
23068 eval "$as_ac_var=no"
23070 rm -f conftest.err conftest.$ac_objext \
23071 conftest$ac_exeext conftest.$ac_ext
23073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23075 if test `eval echo '${'$as_ac_var'}'` = yes; then
23076 cat >>confdefs.h <<_ACEOF
23077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23078 _ACEOF
23081 done
23083 else
23085 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23086 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23087 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23088 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23089 echo $ECHO_N "(cached) $ECHO_C" >&6
23090 else
23094 ac_ext=cc
23095 ac_cpp='$CXXCPP $CPPFLAGS'
23096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23100 cat >conftest.$ac_ext <<_ACEOF
23101 /* confdefs.h. */
23102 _ACEOF
23103 cat confdefs.h >>conftest.$ac_ext
23104 cat >>conftest.$ac_ext <<_ACEOF
23105 /* end confdefs.h. */
23106 #include <math.h>
23108 main ()
23110 _powl(0, 0);
23112 return 0;
23114 _ACEOF
23115 rm -f conftest.$ac_objext
23116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23117 (eval $ac_compile) 2>conftest.er1
23118 ac_status=$?
23119 grep -v '^ *+' conftest.er1 >conftest.err
23120 rm -f conftest.er1
23121 cat conftest.err >&5
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); } &&
23124 { ac_try='test -z "$ac_cxx_werror_flag"
23125 || test ! -s conftest.err'
23126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23127 (eval $ac_try) 2>&5
23128 ac_status=$?
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); }; } &&
23131 { ac_try='test -s conftest.$ac_objext'
23132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23133 (eval $ac_try) 2>&5
23134 ac_status=$?
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); }; }; then
23137 glibcxx_cv_func__powl_use=yes
23138 else
23139 echo "$as_me: failed program was:" >&5
23140 sed 's/^/| /' conftest.$ac_ext >&5
23142 glibcxx_cv_func__powl_use=no
23144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23145 ac_ext=c
23146 ac_cpp='$CPP $CPPFLAGS'
23147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23155 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23156 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23158 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23160 for ac_func in _powl
23162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23163 echo "$as_me:$LINENO: checking for $ac_func" >&5
23164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23165 if eval "test \"\${$as_ac_var+set}\" = set"; then
23166 echo $ECHO_N "(cached) $ECHO_C" >&6
23167 else
23168 if test x$gcc_no_link = xyes; then
23169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23171 { (exit 1); exit 1; }; }
23173 cat >conftest.$ac_ext <<_ACEOF
23174 /* confdefs.h. */
23175 _ACEOF
23176 cat confdefs.h >>conftest.$ac_ext
23177 cat >>conftest.$ac_ext <<_ACEOF
23178 /* end confdefs.h. */
23179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23181 #define $ac_func innocuous_$ac_func
23183 /* System header to define __stub macros and hopefully few prototypes,
23184 which can conflict with char $ac_func (); below.
23185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23186 <limits.h> exists even on freestanding compilers. */
23188 #ifdef __STDC__
23189 # include <limits.h>
23190 #else
23191 # include <assert.h>
23192 #endif
23194 #undef $ac_func
23196 /* Override any gcc2 internal prototype to avoid an error. */
23197 #ifdef __cplusplus
23198 extern "C"
23200 #endif
23201 /* We use char because int might match the return type of a gcc2
23202 builtin and then its argument prototype would still apply. */
23203 char $ac_func ();
23204 /* The GNU C library defines this for functions which it implements
23205 to always fail with ENOSYS. Some functions are actually named
23206 something starting with __ and the normal name is an alias. */
23207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23208 choke me
23209 #else
23210 char (*f) () = $ac_func;
23211 #endif
23212 #ifdef __cplusplus
23214 #endif
23217 main ()
23219 return f != $ac_func;
23221 return 0;
23223 _ACEOF
23224 rm -f conftest.$ac_objext conftest$ac_exeext
23225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23226 (eval $ac_link) 2>conftest.er1
23227 ac_status=$?
23228 grep -v '^ *+' conftest.er1 >conftest.err
23229 rm -f conftest.er1
23230 cat conftest.err >&5
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } &&
23233 { ac_try='test -z "$ac_c_werror_flag"
23234 || test ! -s conftest.err'
23235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23236 (eval $ac_try) 2>&5
23237 ac_status=$?
23238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23239 (exit $ac_status); }; } &&
23240 { ac_try='test -s conftest$ac_exeext'
23241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23242 (eval $ac_try) 2>&5
23243 ac_status=$?
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); }; }; then
23246 eval "$as_ac_var=yes"
23247 else
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.$ac_ext >&5
23251 eval "$as_ac_var=no"
23253 rm -f conftest.err conftest.$ac_objext \
23254 conftest$ac_exeext conftest.$ac_ext
23256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23258 if test `eval echo '${'$as_ac_var'}'` = yes; then
23259 cat >>confdefs.h <<_ACEOF
23260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23261 _ACEOF
23264 done
23271 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23272 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23273 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23274 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23275 echo $ECHO_N "(cached) $ECHO_C" >&6
23276 else
23280 ac_ext=cc
23281 ac_cpp='$CXXCPP $CPPFLAGS'
23282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23286 cat >conftest.$ac_ext <<_ACEOF
23287 /* confdefs.h. */
23288 _ACEOF
23289 cat confdefs.h >>conftest.$ac_ext
23290 cat >>conftest.$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23292 #include <math.h>
23293 #ifdef HAVE_IEEEFP_H
23294 #include <ieeefp.h>
23295 #endif
23298 main ()
23300 sqrtl(0);
23302 return 0;
23304 _ACEOF
23305 rm -f conftest.$ac_objext
23306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23307 (eval $ac_compile) 2>conftest.er1
23308 ac_status=$?
23309 grep -v '^ *+' conftest.er1 >conftest.err
23310 rm -f conftest.er1
23311 cat conftest.err >&5
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); } &&
23314 { ac_try='test -z "$ac_cxx_werror_flag"
23315 || test ! -s conftest.err'
23316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23317 (eval $ac_try) 2>&5
23318 ac_status=$?
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); }; } &&
23321 { ac_try='test -s conftest.$ac_objext'
23322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23323 (eval $ac_try) 2>&5
23324 ac_status=$?
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; }; then
23327 glibcxx_cv_func_sqrtl_use=yes
23328 else
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23332 glibcxx_cv_func_sqrtl_use=no
23334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23335 ac_ext=c
23336 ac_cpp='$CPP $CPPFLAGS'
23337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23346 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23348 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23350 for ac_func in sqrtl
23352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23353 echo "$as_me:$LINENO: checking for $ac_func" >&5
23354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23355 if eval "test \"\${$as_ac_var+set}\" = set"; then
23356 echo $ECHO_N "(cached) $ECHO_C" >&6
23357 else
23358 if test x$gcc_no_link = xyes; then
23359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23361 { (exit 1); exit 1; }; }
23363 cat >conftest.$ac_ext <<_ACEOF
23364 /* confdefs.h. */
23365 _ACEOF
23366 cat confdefs.h >>conftest.$ac_ext
23367 cat >>conftest.$ac_ext <<_ACEOF
23368 /* end confdefs.h. */
23369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23371 #define $ac_func innocuous_$ac_func
23373 /* System header to define __stub macros and hopefully few prototypes,
23374 which can conflict with char $ac_func (); below.
23375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23376 <limits.h> exists even on freestanding compilers. */
23378 #ifdef __STDC__
23379 # include <limits.h>
23380 #else
23381 # include <assert.h>
23382 #endif
23384 #undef $ac_func
23386 /* Override any gcc2 internal prototype to avoid an error. */
23387 #ifdef __cplusplus
23388 extern "C"
23390 #endif
23391 /* We use char because int might match the return type of a gcc2
23392 builtin and then its argument prototype would still apply. */
23393 char $ac_func ();
23394 /* The GNU C library defines this for functions which it implements
23395 to always fail with ENOSYS. Some functions are actually named
23396 something starting with __ and the normal name is an alias. */
23397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23398 choke me
23399 #else
23400 char (*f) () = $ac_func;
23401 #endif
23402 #ifdef __cplusplus
23404 #endif
23407 main ()
23409 return f != $ac_func;
23411 return 0;
23413 _ACEOF
23414 rm -f conftest.$ac_objext conftest$ac_exeext
23415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23416 (eval $ac_link) 2>conftest.er1
23417 ac_status=$?
23418 grep -v '^ *+' conftest.er1 >conftest.err
23419 rm -f conftest.er1
23420 cat conftest.err >&5
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); } &&
23423 { ac_try='test -z "$ac_c_werror_flag"
23424 || test ! -s conftest.err'
23425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426 (eval $ac_try) 2>&5
23427 ac_status=$?
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); }; } &&
23430 { ac_try='test -s conftest$ac_exeext'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23433 ac_status=$?
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; }; then
23436 eval "$as_ac_var=yes"
23437 else
23438 echo "$as_me: failed program was:" >&5
23439 sed 's/^/| /' conftest.$ac_ext >&5
23441 eval "$as_ac_var=no"
23443 rm -f conftest.err conftest.$ac_objext \
23444 conftest$ac_exeext conftest.$ac_ext
23446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23448 if test `eval echo '${'$as_ac_var'}'` = yes; then
23449 cat >>confdefs.h <<_ACEOF
23450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23451 _ACEOF
23454 done
23456 else
23458 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23459 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23460 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23461 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23462 echo $ECHO_N "(cached) $ECHO_C" >&6
23463 else
23467 ac_ext=cc
23468 ac_cpp='$CXXCPP $CPPFLAGS'
23469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23473 cat >conftest.$ac_ext <<_ACEOF
23474 /* confdefs.h. */
23475 _ACEOF
23476 cat confdefs.h >>conftest.$ac_ext
23477 cat >>conftest.$ac_ext <<_ACEOF
23478 /* end confdefs.h. */
23479 #include <math.h>
23480 #ifdef HAVE_IEEEFP_H
23481 #include <ieeefp.h>
23482 #endif
23485 main ()
23487 _sqrtl(0);
23489 return 0;
23491 _ACEOF
23492 rm -f conftest.$ac_objext
23493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23494 (eval $ac_compile) 2>conftest.er1
23495 ac_status=$?
23496 grep -v '^ *+' conftest.er1 >conftest.err
23497 rm -f conftest.er1
23498 cat conftest.err >&5
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); } &&
23501 { ac_try='test -z "$ac_cxx_werror_flag"
23502 || test ! -s conftest.err'
23503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23504 (eval $ac_try) 2>&5
23505 ac_status=$?
23506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23507 (exit $ac_status); }; } &&
23508 { ac_try='test -s conftest.$ac_objext'
23509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23510 (eval $ac_try) 2>&5
23511 ac_status=$?
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); }; }; then
23514 glibcxx_cv_func__sqrtl_use=yes
23515 else
23516 echo "$as_me: failed program was:" >&5
23517 sed 's/^/| /' conftest.$ac_ext >&5
23519 glibcxx_cv_func__sqrtl_use=no
23521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23522 ac_ext=c
23523 ac_cpp='$CPP $CPPFLAGS'
23524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23532 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23533 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23535 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23537 for ac_func in _sqrtl
23539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23540 echo "$as_me:$LINENO: checking for $ac_func" >&5
23541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23542 if eval "test \"\${$as_ac_var+set}\" = set"; then
23543 echo $ECHO_N "(cached) $ECHO_C" >&6
23544 else
23545 if test x$gcc_no_link = xyes; then
23546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23548 { (exit 1); exit 1; }; }
23550 cat >conftest.$ac_ext <<_ACEOF
23551 /* confdefs.h. */
23552 _ACEOF
23553 cat confdefs.h >>conftest.$ac_ext
23554 cat >>conftest.$ac_ext <<_ACEOF
23555 /* end confdefs.h. */
23556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23558 #define $ac_func innocuous_$ac_func
23560 /* System header to define __stub macros and hopefully few prototypes,
23561 which can conflict with char $ac_func (); below.
23562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23563 <limits.h> exists even on freestanding compilers. */
23565 #ifdef __STDC__
23566 # include <limits.h>
23567 #else
23568 # include <assert.h>
23569 #endif
23571 #undef $ac_func
23573 /* Override any gcc2 internal prototype to avoid an error. */
23574 #ifdef __cplusplus
23575 extern "C"
23577 #endif
23578 /* We use char because int might match the return type of a gcc2
23579 builtin and then its argument prototype would still apply. */
23580 char $ac_func ();
23581 /* The GNU C library defines this for functions which it implements
23582 to always fail with ENOSYS. Some functions are actually named
23583 something starting with __ and the normal name is an alias. */
23584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23585 choke me
23586 #else
23587 char (*f) () = $ac_func;
23588 #endif
23589 #ifdef __cplusplus
23591 #endif
23594 main ()
23596 return f != $ac_func;
23598 return 0;
23600 _ACEOF
23601 rm -f conftest.$ac_objext conftest$ac_exeext
23602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23603 (eval $ac_link) 2>conftest.er1
23604 ac_status=$?
23605 grep -v '^ *+' conftest.er1 >conftest.err
23606 rm -f conftest.er1
23607 cat conftest.err >&5
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); } &&
23610 { ac_try='test -z "$ac_c_werror_flag"
23611 || test ! -s conftest.err'
23612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23613 (eval $ac_try) 2>&5
23614 ac_status=$?
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); }; } &&
23617 { ac_try='test -s conftest$ac_exeext'
23618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23619 (eval $ac_try) 2>&5
23620 ac_status=$?
23621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622 (exit $ac_status); }; }; then
23623 eval "$as_ac_var=yes"
23624 else
23625 echo "$as_me: failed program was:" >&5
23626 sed 's/^/| /' conftest.$ac_ext >&5
23628 eval "$as_ac_var=no"
23630 rm -f conftest.err conftest.$ac_objext \
23631 conftest$ac_exeext conftest.$ac_ext
23633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23635 if test `eval echo '${'$as_ac_var'}'` = yes; then
23636 cat >>confdefs.h <<_ACEOF
23637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23638 _ACEOF
23641 done
23648 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23649 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23650 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23651 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23652 echo $ECHO_N "(cached) $ECHO_C" >&6
23653 else
23657 ac_ext=cc
23658 ac_cpp='$CXXCPP $CPPFLAGS'
23659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23663 cat >conftest.$ac_ext <<_ACEOF
23664 /* confdefs.h. */
23665 _ACEOF
23666 cat confdefs.h >>conftest.$ac_ext
23667 cat >>conftest.$ac_ext <<_ACEOF
23668 /* end confdefs.h. */
23669 #include <math.h>
23671 main ()
23673 sincosl(0, 0, 0);
23675 return 0;
23677 _ACEOF
23678 rm -f conftest.$ac_objext
23679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23680 (eval $ac_compile) 2>conftest.er1
23681 ac_status=$?
23682 grep -v '^ *+' conftest.er1 >conftest.err
23683 rm -f conftest.er1
23684 cat conftest.err >&5
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); } &&
23687 { ac_try='test -z "$ac_cxx_werror_flag"
23688 || test ! -s conftest.err'
23689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23690 (eval $ac_try) 2>&5
23691 ac_status=$?
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; } &&
23694 { ac_try='test -s conftest.$ac_objext'
23695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23696 (eval $ac_try) 2>&5
23697 ac_status=$?
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); }; }; then
23700 glibcxx_cv_func_sincosl_use=yes
23701 else
23702 echo "$as_me: failed program was:" >&5
23703 sed 's/^/| /' conftest.$ac_ext >&5
23705 glibcxx_cv_func_sincosl_use=no
23707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23708 ac_ext=c
23709 ac_cpp='$CPP $CPPFLAGS'
23710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23719 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23721 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23723 for ac_func in sincosl
23725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23726 echo "$as_me:$LINENO: checking for $ac_func" >&5
23727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23728 if eval "test \"\${$as_ac_var+set}\" = set"; then
23729 echo $ECHO_N "(cached) $ECHO_C" >&6
23730 else
23731 if test x$gcc_no_link = xyes; then
23732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23734 { (exit 1); exit 1; }; }
23736 cat >conftest.$ac_ext <<_ACEOF
23737 /* confdefs.h. */
23738 _ACEOF
23739 cat confdefs.h >>conftest.$ac_ext
23740 cat >>conftest.$ac_ext <<_ACEOF
23741 /* end confdefs.h. */
23742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23744 #define $ac_func innocuous_$ac_func
23746 /* System header to define __stub macros and hopefully few prototypes,
23747 which can conflict with char $ac_func (); below.
23748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23749 <limits.h> exists even on freestanding compilers. */
23751 #ifdef __STDC__
23752 # include <limits.h>
23753 #else
23754 # include <assert.h>
23755 #endif
23757 #undef $ac_func
23759 /* Override any gcc2 internal prototype to avoid an error. */
23760 #ifdef __cplusplus
23761 extern "C"
23763 #endif
23764 /* We use char because int might match the return type of a gcc2
23765 builtin and then its argument prototype would still apply. */
23766 char $ac_func ();
23767 /* The GNU C library defines this for functions which it implements
23768 to always fail with ENOSYS. Some functions are actually named
23769 something starting with __ and the normal name is an alias. */
23770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23771 choke me
23772 #else
23773 char (*f) () = $ac_func;
23774 #endif
23775 #ifdef __cplusplus
23777 #endif
23780 main ()
23782 return f != $ac_func;
23784 return 0;
23786 _ACEOF
23787 rm -f conftest.$ac_objext conftest$ac_exeext
23788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23789 (eval $ac_link) 2>conftest.er1
23790 ac_status=$?
23791 grep -v '^ *+' conftest.er1 >conftest.err
23792 rm -f conftest.er1
23793 cat conftest.err >&5
23794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23795 (exit $ac_status); } &&
23796 { ac_try='test -z "$ac_c_werror_flag"
23797 || test ! -s conftest.err'
23798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23799 (eval $ac_try) 2>&5
23800 ac_status=$?
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); }; } &&
23803 { ac_try='test -s conftest$ac_exeext'
23804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23805 (eval $ac_try) 2>&5
23806 ac_status=$?
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); }; }; then
23809 eval "$as_ac_var=yes"
23810 else
23811 echo "$as_me: failed program was:" >&5
23812 sed 's/^/| /' conftest.$ac_ext >&5
23814 eval "$as_ac_var=no"
23816 rm -f conftest.err conftest.$ac_objext \
23817 conftest$ac_exeext conftest.$ac_ext
23819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23821 if test `eval echo '${'$as_ac_var'}'` = yes; then
23822 cat >>confdefs.h <<_ACEOF
23823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23824 _ACEOF
23827 done
23829 else
23831 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23832 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23833 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23834 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23835 echo $ECHO_N "(cached) $ECHO_C" >&6
23836 else
23840 ac_ext=cc
23841 ac_cpp='$CXXCPP $CPPFLAGS'
23842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23846 cat >conftest.$ac_ext <<_ACEOF
23847 /* confdefs.h. */
23848 _ACEOF
23849 cat confdefs.h >>conftest.$ac_ext
23850 cat >>conftest.$ac_ext <<_ACEOF
23851 /* end confdefs.h. */
23852 #include <math.h>
23854 main ()
23856 _sincosl(0, 0, 0);
23858 return 0;
23860 _ACEOF
23861 rm -f conftest.$ac_objext
23862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23863 (eval $ac_compile) 2>conftest.er1
23864 ac_status=$?
23865 grep -v '^ *+' conftest.er1 >conftest.err
23866 rm -f conftest.er1
23867 cat conftest.err >&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); } &&
23870 { ac_try='test -z "$ac_cxx_werror_flag"
23871 || test ! -s conftest.err'
23872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23873 (eval $ac_try) 2>&5
23874 ac_status=$?
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; } &&
23877 { ac_try='test -s conftest.$ac_objext'
23878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23879 (eval $ac_try) 2>&5
23880 ac_status=$?
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); }; }; then
23883 glibcxx_cv_func__sincosl_use=yes
23884 else
23885 echo "$as_me: failed program was:" >&5
23886 sed 's/^/| /' conftest.$ac_ext >&5
23888 glibcxx_cv_func__sincosl_use=no
23890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23891 ac_ext=c
23892 ac_cpp='$CPP $CPPFLAGS'
23893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23901 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23902 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23904 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23906 for ac_func in _sincosl
23908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23909 echo "$as_me:$LINENO: checking for $ac_func" >&5
23910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23911 if eval "test \"\${$as_ac_var+set}\" = set"; then
23912 echo $ECHO_N "(cached) $ECHO_C" >&6
23913 else
23914 if test x$gcc_no_link = xyes; then
23915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23917 { (exit 1); exit 1; }; }
23919 cat >conftest.$ac_ext <<_ACEOF
23920 /* confdefs.h. */
23921 _ACEOF
23922 cat confdefs.h >>conftest.$ac_ext
23923 cat >>conftest.$ac_ext <<_ACEOF
23924 /* end confdefs.h. */
23925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23927 #define $ac_func innocuous_$ac_func
23929 /* System header to define __stub macros and hopefully few prototypes,
23930 which can conflict with char $ac_func (); below.
23931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23932 <limits.h> exists even on freestanding compilers. */
23934 #ifdef __STDC__
23935 # include <limits.h>
23936 #else
23937 # include <assert.h>
23938 #endif
23940 #undef $ac_func
23942 /* Override any gcc2 internal prototype to avoid an error. */
23943 #ifdef __cplusplus
23944 extern "C"
23946 #endif
23947 /* We use char because int might match the return type of a gcc2
23948 builtin and then its argument prototype would still apply. */
23949 char $ac_func ();
23950 /* The GNU C library defines this for functions which it implements
23951 to always fail with ENOSYS. Some functions are actually named
23952 something starting with __ and the normal name is an alias. */
23953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23954 choke me
23955 #else
23956 char (*f) () = $ac_func;
23957 #endif
23958 #ifdef __cplusplus
23960 #endif
23963 main ()
23965 return f != $ac_func;
23967 return 0;
23969 _ACEOF
23970 rm -f conftest.$ac_objext conftest$ac_exeext
23971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23972 (eval $ac_link) 2>conftest.er1
23973 ac_status=$?
23974 grep -v '^ *+' conftest.er1 >conftest.err
23975 rm -f conftest.er1
23976 cat conftest.err >&5
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); } &&
23979 { ac_try='test -z "$ac_c_werror_flag"
23980 || test ! -s conftest.err'
23981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23982 (eval $ac_try) 2>&5
23983 ac_status=$?
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); }; } &&
23986 { ac_try='test -s conftest$ac_exeext'
23987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23988 (eval $ac_try) 2>&5
23989 ac_status=$?
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); }; }; then
23992 eval "$as_ac_var=yes"
23993 else
23994 echo "$as_me: failed program was:" >&5
23995 sed 's/^/| /' conftest.$ac_ext >&5
23997 eval "$as_ac_var=no"
23999 rm -f conftest.err conftest.$ac_objext \
24000 conftest$ac_exeext conftest.$ac_ext
24002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24004 if test `eval echo '${'$as_ac_var'}'` = yes; then
24005 cat >>confdefs.h <<_ACEOF
24006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24007 _ACEOF
24010 done
24017 echo "$as_me:$LINENO: checking for finitel declaration" >&5
24018 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
24019 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24020 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
24021 echo $ECHO_N "(cached) $ECHO_C" >&6
24022 else
24026 ac_ext=cc
24027 ac_cpp='$CXXCPP $CPPFLAGS'
24028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24032 cat >conftest.$ac_ext <<_ACEOF
24033 /* confdefs.h. */
24034 _ACEOF
24035 cat confdefs.h >>conftest.$ac_ext
24036 cat >>conftest.$ac_ext <<_ACEOF
24037 /* end confdefs.h. */
24038 #include <math.h>
24039 #ifdef HAVE_IEEEFP_H
24040 #include <ieeefp.h>
24041 #endif
24044 main ()
24046 finitel(0);
24048 return 0;
24050 _ACEOF
24051 rm -f conftest.$ac_objext
24052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24053 (eval $ac_compile) 2>conftest.er1
24054 ac_status=$?
24055 grep -v '^ *+' conftest.er1 >conftest.err
24056 rm -f conftest.er1
24057 cat conftest.err >&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); } &&
24060 { ac_try='test -z "$ac_cxx_werror_flag"
24061 || test ! -s conftest.err'
24062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24063 (eval $ac_try) 2>&5
24064 ac_status=$?
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); }; } &&
24067 { ac_try='test -s conftest.$ac_objext'
24068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24069 (eval $ac_try) 2>&5
24070 ac_status=$?
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); }; }; then
24073 glibcxx_cv_func_finitel_use=yes
24074 else
24075 echo "$as_me: failed program was:" >&5
24076 sed 's/^/| /' conftest.$ac_ext >&5
24078 glibcxx_cv_func_finitel_use=no
24080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24081 ac_ext=c
24082 ac_cpp='$CPP $CPPFLAGS'
24083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24092 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24094 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24096 for ac_func in finitel
24098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24099 echo "$as_me:$LINENO: checking for $ac_func" >&5
24100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24101 if eval "test \"\${$as_ac_var+set}\" = set"; then
24102 echo $ECHO_N "(cached) $ECHO_C" >&6
24103 else
24104 if test x$gcc_no_link = xyes; then
24105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24107 { (exit 1); exit 1; }; }
24109 cat >conftest.$ac_ext <<_ACEOF
24110 /* confdefs.h. */
24111 _ACEOF
24112 cat confdefs.h >>conftest.$ac_ext
24113 cat >>conftest.$ac_ext <<_ACEOF
24114 /* end confdefs.h. */
24115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24117 #define $ac_func innocuous_$ac_func
24119 /* System header to define __stub macros and hopefully few prototypes,
24120 which can conflict with char $ac_func (); below.
24121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24122 <limits.h> exists even on freestanding compilers. */
24124 #ifdef __STDC__
24125 # include <limits.h>
24126 #else
24127 # include <assert.h>
24128 #endif
24130 #undef $ac_func
24132 /* Override any gcc2 internal prototype to avoid an error. */
24133 #ifdef __cplusplus
24134 extern "C"
24136 #endif
24137 /* We use char because int might match the return type of a gcc2
24138 builtin and then its argument prototype would still apply. */
24139 char $ac_func ();
24140 /* The GNU C library defines this for functions which it implements
24141 to always fail with ENOSYS. Some functions are actually named
24142 something starting with __ and the normal name is an alias. */
24143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24144 choke me
24145 #else
24146 char (*f) () = $ac_func;
24147 #endif
24148 #ifdef __cplusplus
24150 #endif
24153 main ()
24155 return f != $ac_func;
24157 return 0;
24159 _ACEOF
24160 rm -f conftest.$ac_objext conftest$ac_exeext
24161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24162 (eval $ac_link) 2>conftest.er1
24163 ac_status=$?
24164 grep -v '^ *+' conftest.er1 >conftest.err
24165 rm -f conftest.er1
24166 cat conftest.err >&5
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); } &&
24169 { ac_try='test -z "$ac_c_werror_flag"
24170 || test ! -s conftest.err'
24171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24172 (eval $ac_try) 2>&5
24173 ac_status=$?
24174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175 (exit $ac_status); }; } &&
24176 { ac_try='test -s conftest$ac_exeext'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24179 ac_status=$?
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; }; then
24182 eval "$as_ac_var=yes"
24183 else
24184 echo "$as_me: failed program was:" >&5
24185 sed 's/^/| /' conftest.$ac_ext >&5
24187 eval "$as_ac_var=no"
24189 rm -f conftest.err conftest.$ac_objext \
24190 conftest$ac_exeext conftest.$ac_ext
24192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24194 if test `eval echo '${'$as_ac_var'}'` = yes; then
24195 cat >>confdefs.h <<_ACEOF
24196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24197 _ACEOF
24200 done
24202 else
24204 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24205 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24206 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24207 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24208 echo $ECHO_N "(cached) $ECHO_C" >&6
24209 else
24213 ac_ext=cc
24214 ac_cpp='$CXXCPP $CPPFLAGS'
24215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24219 cat >conftest.$ac_ext <<_ACEOF
24220 /* confdefs.h. */
24221 _ACEOF
24222 cat confdefs.h >>conftest.$ac_ext
24223 cat >>conftest.$ac_ext <<_ACEOF
24224 /* end confdefs.h. */
24225 #include <math.h>
24226 #ifdef HAVE_IEEEFP_H
24227 #include <ieeefp.h>
24228 #endif
24231 main ()
24233 _finitel(0);
24235 return 0;
24237 _ACEOF
24238 rm -f conftest.$ac_objext
24239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24240 (eval $ac_compile) 2>conftest.er1
24241 ac_status=$?
24242 grep -v '^ *+' conftest.er1 >conftest.err
24243 rm -f conftest.er1
24244 cat conftest.err >&5
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); } &&
24247 { ac_try='test -z "$ac_cxx_werror_flag"
24248 || test ! -s conftest.err'
24249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24250 (eval $ac_try) 2>&5
24251 ac_status=$?
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); }; } &&
24254 { ac_try='test -s conftest.$ac_objext'
24255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24256 (eval $ac_try) 2>&5
24257 ac_status=$?
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); }; }; then
24260 glibcxx_cv_func__finitel_use=yes
24261 else
24262 echo "$as_me: failed program was:" >&5
24263 sed 's/^/| /' conftest.$ac_ext >&5
24265 glibcxx_cv_func__finitel_use=no
24267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24268 ac_ext=c
24269 ac_cpp='$CPP $CPPFLAGS'
24270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24279 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24281 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24283 for ac_func in _finitel
24285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24286 echo "$as_me:$LINENO: checking for $ac_func" >&5
24287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24288 if eval "test \"\${$as_ac_var+set}\" = set"; then
24289 echo $ECHO_N "(cached) $ECHO_C" >&6
24290 else
24291 if test x$gcc_no_link = xyes; then
24292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24294 { (exit 1); exit 1; }; }
24296 cat >conftest.$ac_ext <<_ACEOF
24297 /* confdefs.h. */
24298 _ACEOF
24299 cat confdefs.h >>conftest.$ac_ext
24300 cat >>conftest.$ac_ext <<_ACEOF
24301 /* end confdefs.h. */
24302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24304 #define $ac_func innocuous_$ac_func
24306 /* System header to define __stub macros and hopefully few prototypes,
24307 which can conflict with char $ac_func (); below.
24308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24309 <limits.h> exists even on freestanding compilers. */
24311 #ifdef __STDC__
24312 # include <limits.h>
24313 #else
24314 # include <assert.h>
24315 #endif
24317 #undef $ac_func
24319 /* Override any gcc2 internal prototype to avoid an error. */
24320 #ifdef __cplusplus
24321 extern "C"
24323 #endif
24324 /* We use char because int might match the return type of a gcc2
24325 builtin and then its argument prototype would still apply. */
24326 char $ac_func ();
24327 /* The GNU C library defines this for functions which it implements
24328 to always fail with ENOSYS. Some functions are actually named
24329 something starting with __ and the normal name is an alias. */
24330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24331 choke me
24332 #else
24333 char (*f) () = $ac_func;
24334 #endif
24335 #ifdef __cplusplus
24337 #endif
24340 main ()
24342 return f != $ac_func;
24344 return 0;
24346 _ACEOF
24347 rm -f conftest.$ac_objext conftest$ac_exeext
24348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24349 (eval $ac_link) 2>conftest.er1
24350 ac_status=$?
24351 grep -v '^ *+' conftest.er1 >conftest.err
24352 rm -f conftest.er1
24353 cat conftest.err >&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); } &&
24356 { ac_try='test -z "$ac_c_werror_flag"
24357 || test ! -s conftest.err'
24358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24359 (eval $ac_try) 2>&5
24360 ac_status=$?
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); }; } &&
24363 { ac_try='test -s conftest$ac_exeext'
24364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24365 (eval $ac_try) 2>&5
24366 ac_status=$?
24367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24368 (exit $ac_status); }; }; then
24369 eval "$as_ac_var=yes"
24370 else
24371 echo "$as_me: failed program was:" >&5
24372 sed 's/^/| /' conftest.$ac_ext >&5
24374 eval "$as_ac_var=no"
24376 rm -f conftest.err conftest.$ac_objext \
24377 conftest$ac_exeext conftest.$ac_ext
24379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24381 if test `eval echo '${'$as_ac_var'}'` = yes; then
24382 cat >>confdefs.h <<_ACEOF
24383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24384 _ACEOF
24387 done
24395 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24396 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24397 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24398 echo $ECHO_N "(cached) $ECHO_C" >&6
24399 else
24403 ac_ext=cc
24404 ac_cpp='$CXXCPP $CPPFLAGS'
24405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24409 cat >conftest.$ac_ext <<_ACEOF
24410 /* confdefs.h. */
24411 _ACEOF
24412 cat confdefs.h >>conftest.$ac_ext
24413 cat >>conftest.$ac_ext <<_ACEOF
24414 /* end confdefs.h. */
24415 #include <math.h>
24417 main ()
24419 `for x in _acosf _asinf _atanf \
24420 _cosf _sinf _tanf \
24421 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24423 return 0;
24425 _ACEOF
24426 rm -f conftest.$ac_objext
24427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24428 (eval $ac_compile) 2>conftest.er1
24429 ac_status=$?
24430 grep -v '^ *+' conftest.er1 >conftest.err
24431 rm -f conftest.er1
24432 cat conftest.err >&5
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); } &&
24435 { ac_try='test -z "$ac_cxx_werror_flag"
24436 || test ! -s conftest.err'
24437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438 (eval $ac_try) 2>&5
24439 ac_status=$?
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); }; } &&
24442 { ac_try='test -s conftest.$ac_objext'
24443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24444 (eval $ac_try) 2>&5
24445 ac_status=$?
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); }; }; then
24448 glibcxx_cv_func__float_trig_use=yes
24449 else
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24453 glibcxx_cv_func__float_trig_use=no
24455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24456 ac_ext=c
24457 ac_cpp='$CPP $CPPFLAGS'
24458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24465 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24466 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24476 for ac_func in _acosf _asinf _atanf \
24477 _cosf _sinf _tanf \
24478 _coshf _sinhf _tanhf
24480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24481 echo "$as_me:$LINENO: checking for $ac_func" >&5
24482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24483 if eval "test \"\${$as_ac_var+set}\" = set"; then
24484 echo $ECHO_N "(cached) $ECHO_C" >&6
24485 else
24486 if test x$gcc_no_link = xyes; then
24487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24489 { (exit 1); exit 1; }; }
24491 cat >conftest.$ac_ext <<_ACEOF
24492 /* confdefs.h. */
24493 _ACEOF
24494 cat confdefs.h >>conftest.$ac_ext
24495 cat >>conftest.$ac_ext <<_ACEOF
24496 /* end confdefs.h. */
24497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24499 #define $ac_func innocuous_$ac_func
24501 /* System header to define __stub macros and hopefully few prototypes,
24502 which can conflict with char $ac_func (); below.
24503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24504 <limits.h> exists even on freestanding compilers. */
24506 #ifdef __STDC__
24507 # include <limits.h>
24508 #else
24509 # include <assert.h>
24510 #endif
24512 #undef $ac_func
24514 /* Override any gcc2 internal prototype to avoid an error. */
24515 #ifdef __cplusplus
24516 extern "C"
24518 #endif
24519 /* We use char because int might match the return type of a gcc2
24520 builtin and then its argument prototype would still apply. */
24521 char $ac_func ();
24522 /* The GNU C library defines this for functions which it implements
24523 to always fail with ENOSYS. Some functions are actually named
24524 something starting with __ and the normal name is an alias. */
24525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24526 choke me
24527 #else
24528 char (*f) () = $ac_func;
24529 #endif
24530 #ifdef __cplusplus
24532 #endif
24535 main ()
24537 return f != $ac_func;
24539 return 0;
24541 _ACEOF
24542 rm -f conftest.$ac_objext conftest$ac_exeext
24543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24544 (eval $ac_link) 2>conftest.er1
24545 ac_status=$?
24546 grep -v '^ *+' conftest.er1 >conftest.err
24547 rm -f conftest.er1
24548 cat conftest.err >&5
24549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550 (exit $ac_status); } &&
24551 { ac_try='test -z "$ac_c_werror_flag"
24552 || test ! -s conftest.err'
24553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24554 (eval $ac_try) 2>&5
24555 ac_status=$?
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); }; } &&
24558 { ac_try='test -s conftest$ac_exeext'
24559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24560 (eval $ac_try) 2>&5
24561 ac_status=$?
24562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24563 (exit $ac_status); }; }; then
24564 eval "$as_ac_var=yes"
24565 else
24566 echo "$as_me: failed program was:" >&5
24567 sed 's/^/| /' conftest.$ac_ext >&5
24569 eval "$as_ac_var=no"
24571 rm -f conftest.err conftest.$ac_objext \
24572 conftest$ac_exeext conftest.$ac_ext
24574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24576 if test `eval echo '${'$as_ac_var'}'` = yes; then
24577 cat >>confdefs.h <<_ACEOF
24578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24579 _ACEOF
24582 done
24587 echo "$as_me:$LINENO: checking for _float round functions" >&5
24588 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24589 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24590 echo $ECHO_N "(cached) $ECHO_C" >&6
24591 else
24595 ac_ext=cc
24596 ac_cpp='$CXXCPP $CPPFLAGS'
24597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24601 cat >conftest.$ac_ext <<_ACEOF
24602 /* confdefs.h. */
24603 _ACEOF
24604 cat confdefs.h >>conftest.$ac_ext
24605 cat >>conftest.$ac_ext <<_ACEOF
24606 /* end confdefs.h. */
24607 #include <math.h>
24609 main ()
24611 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24613 return 0;
24615 _ACEOF
24616 rm -f conftest.$ac_objext
24617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24618 (eval $ac_compile) 2>conftest.er1
24619 ac_status=$?
24620 grep -v '^ *+' conftest.er1 >conftest.err
24621 rm -f conftest.er1
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } &&
24625 { ac_try='test -z "$ac_cxx_werror_flag"
24626 || test ! -s conftest.err'
24627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24628 (eval $ac_try) 2>&5
24629 ac_status=$?
24630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631 (exit $ac_status); }; } &&
24632 { ac_try='test -s conftest.$ac_objext'
24633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24634 (eval $ac_try) 2>&5
24635 ac_status=$?
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); }; }; then
24638 glibcxx_cv_func__float_round_use=yes
24639 else
24640 echo "$as_me: failed program was:" >&5
24641 sed 's/^/| /' conftest.$ac_ext >&5
24643 glibcxx_cv_func__float_round_use=no
24645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24646 ac_ext=c
24647 ac_cpp='$CPP $CPPFLAGS'
24648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24654 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24655 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24656 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24659 for ac_func in _ceilf _floorf
24661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24662 echo "$as_me:$LINENO: checking for $ac_func" >&5
24663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24664 if eval "test \"\${$as_ac_var+set}\" = set"; then
24665 echo $ECHO_N "(cached) $ECHO_C" >&6
24666 else
24667 if test x$gcc_no_link = xyes; then
24668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24670 { (exit 1); exit 1; }; }
24672 cat >conftest.$ac_ext <<_ACEOF
24673 /* confdefs.h. */
24674 _ACEOF
24675 cat confdefs.h >>conftest.$ac_ext
24676 cat >>conftest.$ac_ext <<_ACEOF
24677 /* end confdefs.h. */
24678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24680 #define $ac_func innocuous_$ac_func
24682 /* System header to define __stub macros and hopefully few prototypes,
24683 which can conflict with char $ac_func (); below.
24684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24685 <limits.h> exists even on freestanding compilers. */
24687 #ifdef __STDC__
24688 # include <limits.h>
24689 #else
24690 # include <assert.h>
24691 #endif
24693 #undef $ac_func
24695 /* Override any gcc2 internal prototype to avoid an error. */
24696 #ifdef __cplusplus
24697 extern "C"
24699 #endif
24700 /* We use char because int might match the return type of a gcc2
24701 builtin and then its argument prototype would still apply. */
24702 char $ac_func ();
24703 /* The GNU C library defines this for functions which it implements
24704 to always fail with ENOSYS. Some functions are actually named
24705 something starting with __ and the normal name is an alias. */
24706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24707 choke me
24708 #else
24709 char (*f) () = $ac_func;
24710 #endif
24711 #ifdef __cplusplus
24713 #endif
24716 main ()
24718 return f != $ac_func;
24720 return 0;
24722 _ACEOF
24723 rm -f conftest.$ac_objext conftest$ac_exeext
24724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24725 (eval $ac_link) 2>conftest.er1
24726 ac_status=$?
24727 grep -v '^ *+' conftest.er1 >conftest.err
24728 rm -f conftest.er1
24729 cat conftest.err >&5
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); } &&
24732 { ac_try='test -z "$ac_c_werror_flag"
24733 || test ! -s conftest.err'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24736 ac_status=$?
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; } &&
24739 { ac_try='test -s conftest$ac_exeext'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24742 ac_status=$?
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; }; then
24745 eval "$as_ac_var=yes"
24746 else
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.$ac_ext >&5
24750 eval "$as_ac_var=no"
24752 rm -f conftest.err conftest.$ac_objext \
24753 conftest$ac_exeext conftest.$ac_ext
24755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24757 if test `eval echo '${'$as_ac_var'}'` = yes; then
24758 cat >>confdefs.h <<_ACEOF
24759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24760 _ACEOF
24763 done
24769 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24770 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24771 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24772 echo $ECHO_N "(cached) $ECHO_C" >&6
24773 else
24777 ac_ext=cc
24778 ac_cpp='$CXXCPP $CPPFLAGS'
24779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24783 cat >conftest.$ac_ext <<_ACEOF
24784 /* confdefs.h. */
24785 _ACEOF
24786 cat confdefs.h >>conftest.$ac_ext
24787 cat >>conftest.$ac_ext <<_ACEOF
24788 /* end confdefs.h. */
24789 #include <math.h>
24791 main ()
24793 `for x in _acosl _asinl _atanl \
24794 _cosl _sinl _tanl \
24795 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24797 return 0;
24799 _ACEOF
24800 rm -f conftest.$ac_objext
24801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24802 (eval $ac_compile) 2>conftest.er1
24803 ac_status=$?
24804 grep -v '^ *+' conftest.er1 >conftest.err
24805 rm -f conftest.er1
24806 cat conftest.err >&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); } &&
24809 { ac_try='test -z "$ac_cxx_werror_flag"
24810 || test ! -s conftest.err'
24811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24812 (eval $ac_try) 2>&5
24813 ac_status=$?
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); }; } &&
24816 { ac_try='test -s conftest.$ac_objext'
24817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818 (eval $ac_try) 2>&5
24819 ac_status=$?
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); }; }; then
24822 glibcxx_cv_func__long_double_trig_use=yes
24823 else
24824 echo "$as_me: failed program was:" >&5
24825 sed 's/^/| /' conftest.$ac_ext >&5
24827 glibcxx_cv_func__long_double_trig_use=no
24829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24830 ac_ext=c
24831 ac_cpp='$CPP $CPPFLAGS'
24832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24838 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24839 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24840 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24850 for ac_func in _acosl _asinl _atanl \
24851 _cosl _sinl _tanl \
24852 _coshl _sinhl _tanhl
24854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24855 echo "$as_me:$LINENO: checking for $ac_func" >&5
24856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24857 if eval "test \"\${$as_ac_var+set}\" = set"; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24859 else
24860 if test x$gcc_no_link = xyes; then
24861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24863 { (exit 1); exit 1; }; }
24865 cat >conftest.$ac_ext <<_ACEOF
24866 /* confdefs.h. */
24867 _ACEOF
24868 cat confdefs.h >>conftest.$ac_ext
24869 cat >>conftest.$ac_ext <<_ACEOF
24870 /* end confdefs.h. */
24871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24873 #define $ac_func innocuous_$ac_func
24875 /* System header to define __stub macros and hopefully few prototypes,
24876 which can conflict with char $ac_func (); below.
24877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24878 <limits.h> exists even on freestanding compilers. */
24880 #ifdef __STDC__
24881 # include <limits.h>
24882 #else
24883 # include <assert.h>
24884 #endif
24886 #undef $ac_func
24888 /* Override any gcc2 internal prototype to avoid an error. */
24889 #ifdef __cplusplus
24890 extern "C"
24892 #endif
24893 /* We use char because int might match the return type of a gcc2
24894 builtin and then its argument prototype would still apply. */
24895 char $ac_func ();
24896 /* The GNU C library defines this for functions which it implements
24897 to always fail with ENOSYS. Some functions are actually named
24898 something starting with __ and the normal name is an alias. */
24899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24900 choke me
24901 #else
24902 char (*f) () = $ac_func;
24903 #endif
24904 #ifdef __cplusplus
24906 #endif
24909 main ()
24911 return f != $ac_func;
24913 return 0;
24915 _ACEOF
24916 rm -f conftest.$ac_objext conftest$ac_exeext
24917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24918 (eval $ac_link) 2>conftest.er1
24919 ac_status=$?
24920 grep -v '^ *+' conftest.er1 >conftest.err
24921 rm -f conftest.er1
24922 cat conftest.err >&5
24923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924 (exit $ac_status); } &&
24925 { ac_try='test -z "$ac_c_werror_flag"
24926 || test ! -s conftest.err'
24927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24928 (eval $ac_try) 2>&5
24929 ac_status=$?
24930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24931 (exit $ac_status); }; } &&
24932 { ac_try='test -s conftest$ac_exeext'
24933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24934 (eval $ac_try) 2>&5
24935 ac_status=$?
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); }; }; then
24938 eval "$as_ac_var=yes"
24939 else
24940 echo "$as_me: failed program was:" >&5
24941 sed 's/^/| /' conftest.$ac_ext >&5
24943 eval "$as_ac_var=no"
24945 rm -f conftest.err conftest.$ac_objext \
24946 conftest$ac_exeext conftest.$ac_ext
24948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24950 if test `eval echo '${'$as_ac_var'}'` = yes; then
24951 cat >>confdefs.h <<_ACEOF
24952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24953 _ACEOF
24956 done
24961 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24962 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24963 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24964 echo $ECHO_N "(cached) $ECHO_C" >&6
24965 else
24969 ac_ext=cc
24970 ac_cpp='$CXXCPP $CPPFLAGS'
24971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24975 cat >conftest.$ac_ext <<_ACEOF
24976 /* confdefs.h. */
24977 _ACEOF
24978 cat confdefs.h >>conftest.$ac_ext
24979 cat >>conftest.$ac_ext <<_ACEOF
24980 /* end confdefs.h. */
24981 #include <math.h>
24983 main ()
24985 `for x in _ceill _floorl; do echo "$x (0);"; done`
24987 return 0;
24989 _ACEOF
24990 rm -f conftest.$ac_objext
24991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24992 (eval $ac_compile) 2>conftest.er1
24993 ac_status=$?
24994 grep -v '^ *+' conftest.er1 >conftest.err
24995 rm -f conftest.er1
24996 cat conftest.err >&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } &&
24999 { ac_try='test -z "$ac_cxx_werror_flag"
25000 || test ! -s conftest.err'
25001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25002 (eval $ac_try) 2>&5
25003 ac_status=$?
25004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); }; } &&
25006 { ac_try='test -s conftest.$ac_objext'
25007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25008 (eval $ac_try) 2>&5
25009 ac_status=$?
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); }; }; then
25012 glibcxx_cv_func__long_double_round_use=yes
25013 else
25014 echo "$as_me: failed program was:" >&5
25015 sed 's/^/| /' conftest.$ac_ext >&5
25017 glibcxx_cv_func__long_double_round_use=no
25019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25020 ac_ext=c
25021 ac_cpp='$CPP $CPPFLAGS'
25022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25029 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25030 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25033 for ac_func in _ceill _floorl
25035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25036 echo "$as_me:$LINENO: checking for $ac_func" >&5
25037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25038 if eval "test \"\${$as_ac_var+set}\" = set"; then
25039 echo $ECHO_N "(cached) $ECHO_C" >&6
25040 else
25041 if test x$gcc_no_link = xyes; then
25042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25044 { (exit 1); exit 1; }; }
25046 cat >conftest.$ac_ext <<_ACEOF
25047 /* confdefs.h. */
25048 _ACEOF
25049 cat confdefs.h >>conftest.$ac_ext
25050 cat >>conftest.$ac_ext <<_ACEOF
25051 /* end confdefs.h. */
25052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25054 #define $ac_func innocuous_$ac_func
25056 /* System header to define __stub macros and hopefully few prototypes,
25057 which can conflict with char $ac_func (); below.
25058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25059 <limits.h> exists even on freestanding compilers. */
25061 #ifdef __STDC__
25062 # include <limits.h>
25063 #else
25064 # include <assert.h>
25065 #endif
25067 #undef $ac_func
25069 /* Override any gcc2 internal prototype to avoid an error. */
25070 #ifdef __cplusplus
25071 extern "C"
25073 #endif
25074 /* We use char because int might match the return type of a gcc2
25075 builtin and then its argument prototype would still apply. */
25076 char $ac_func ();
25077 /* The GNU C library defines this for functions which it implements
25078 to always fail with ENOSYS. Some functions are actually named
25079 something starting with __ and the normal name is an alias. */
25080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25081 choke me
25082 #else
25083 char (*f) () = $ac_func;
25084 #endif
25085 #ifdef __cplusplus
25087 #endif
25090 main ()
25092 return f != $ac_func;
25094 return 0;
25096 _ACEOF
25097 rm -f conftest.$ac_objext conftest$ac_exeext
25098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25099 (eval $ac_link) 2>conftest.er1
25100 ac_status=$?
25101 grep -v '^ *+' conftest.er1 >conftest.err
25102 rm -f conftest.er1
25103 cat conftest.err >&5
25104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105 (exit $ac_status); } &&
25106 { ac_try='test -z "$ac_c_werror_flag"
25107 || test ! -s conftest.err'
25108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25109 (eval $ac_try) 2>&5
25110 ac_status=$?
25111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25112 (exit $ac_status); }; } &&
25113 { ac_try='test -s conftest$ac_exeext'
25114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25115 (eval $ac_try) 2>&5
25116 ac_status=$?
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); }; }; then
25119 eval "$as_ac_var=yes"
25120 else
25121 echo "$as_me: failed program was:" >&5
25122 sed 's/^/| /' conftest.$ac_ext >&5
25124 eval "$as_ac_var=no"
25126 rm -f conftest.err conftest.$ac_objext \
25127 conftest$ac_exeext conftest.$ac_ext
25129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25131 if test `eval echo '${'$as_ac_var'}'` = yes; then
25132 cat >>confdefs.h <<_ACEOF
25133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25134 _ACEOF
25137 done
25142 LIBS="$ac_save_LIBS"
25143 CXXFLAGS="$ac_save_CXXFLAGS"
25147 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25148 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25149 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25150 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25151 echo $ECHO_N "(cached) $ECHO_C" >&6
25152 else
25156 ac_ext=cc
25157 ac_cpp='$CXXCPP $CPPFLAGS'
25158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25162 cat >conftest.$ac_ext <<_ACEOF
25163 /* confdefs.h. */
25164 _ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25168 #include <math.h>
25170 main ()
25172 __builtin_abs(0);
25174 return 0;
25176 _ACEOF
25177 rm -f conftest.$ac_objext
25178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25179 (eval $ac_compile) 2>conftest.er1
25180 ac_status=$?
25181 grep -v '^ *+' conftest.er1 >conftest.err
25182 rm -f conftest.er1
25183 cat conftest.err >&5
25184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185 (exit $ac_status); } &&
25186 { ac_try='test -z "$ac_cxx_werror_flag"
25187 || test ! -s conftest.err'
25188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25189 (eval $ac_try) 2>&5
25190 ac_status=$?
25191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192 (exit $ac_status); }; } &&
25193 { ac_try='test -s conftest.$ac_objext'
25194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195 (eval $ac_try) 2>&5
25196 ac_status=$?
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); }; }; then
25199 glibcxx_cv_func___builtin_abs_use=yes
25200 else
25201 echo "$as_me: failed program was:" >&5
25202 sed 's/^/| /' conftest.$ac_ext >&5
25204 glibcxx_cv_func___builtin_abs_use=no
25206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25207 ac_ext=c
25208 ac_cpp='$CPP $CPPFLAGS'
25209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25217 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25218 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25219 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25220 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25221 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25222 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25223 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25224 echo $ECHO_N "(cached) $ECHO_C" >&6
25225 else
25227 if test x$gcc_no_link = xyes; then
25228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25230 { (exit 1); exit 1; }; }
25232 cat >conftest.$ac_ext <<_ACEOF
25233 /* confdefs.h. */
25234 _ACEOF
25235 cat confdefs.h >>conftest.$ac_ext
25236 cat >>conftest.$ac_ext <<_ACEOF
25237 /* end confdefs.h. */
25238 #include <math.h>
25240 main ()
25242 __builtin_abs(0);
25244 return 0;
25246 _ACEOF
25247 rm -f conftest.$ac_objext conftest$ac_exeext
25248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25249 (eval $ac_link) 2>conftest.er1
25250 ac_status=$?
25251 grep -v '^ *+' conftest.er1 >conftest.err
25252 rm -f conftest.er1
25253 cat conftest.err >&5
25254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25255 (exit $ac_status); } &&
25256 { ac_try='test -z "$ac_c_werror_flag"
25257 || test ! -s conftest.err'
25258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25259 (eval $ac_try) 2>&5
25260 ac_status=$?
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); }; } &&
25263 { ac_try='test -s conftest$ac_exeext'
25264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25265 (eval $ac_try) 2>&5
25266 ac_status=$?
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); }; }; then
25269 glibcxx_cv_func___builtin_abs_link=yes
25270 else
25271 echo "$as_me: failed program was:" >&5
25272 sed 's/^/| /' conftest.$ac_ext >&5
25274 glibcxx_cv_func___builtin_abs_link=no
25276 rm -f conftest.err conftest.$ac_objext \
25277 conftest$ac_exeext conftest.$ac_ext
25282 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25283 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25284 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25285 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25287 cat >>confdefs.h <<_ACEOF
25288 #define ${ac_tr_func} 1
25289 _ACEOF
25295 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25296 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25297 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25298 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25299 echo $ECHO_N "(cached) $ECHO_C" >&6
25300 else
25304 ac_ext=cc
25305 ac_cpp='$CXXCPP $CPPFLAGS'
25306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25310 cat >conftest.$ac_ext <<_ACEOF
25311 /* confdefs.h. */
25312 _ACEOF
25313 cat confdefs.h >>conftest.$ac_ext
25314 cat >>conftest.$ac_ext <<_ACEOF
25315 /* end confdefs.h. */
25316 #include <math.h>
25318 main ()
25320 __builtin_fabsf(0);
25322 return 0;
25324 _ACEOF
25325 rm -f conftest.$ac_objext
25326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25327 (eval $ac_compile) 2>conftest.er1
25328 ac_status=$?
25329 grep -v '^ *+' conftest.er1 >conftest.err
25330 rm -f conftest.er1
25331 cat conftest.err >&5
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); } &&
25334 { ac_try='test -z "$ac_cxx_werror_flag"
25335 || test ! -s conftest.err'
25336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25337 (eval $ac_try) 2>&5
25338 ac_status=$?
25339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340 (exit $ac_status); }; } &&
25341 { ac_try='test -s conftest.$ac_objext'
25342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25343 (eval $ac_try) 2>&5
25344 ac_status=$?
25345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346 (exit $ac_status); }; }; then
25347 glibcxx_cv_func___builtin_fabsf_use=yes
25348 else
25349 echo "$as_me: failed program was:" >&5
25350 sed 's/^/| /' conftest.$ac_ext >&5
25352 glibcxx_cv_func___builtin_fabsf_use=no
25354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25355 ac_ext=c
25356 ac_cpp='$CPP $CPPFLAGS'
25357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25365 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25366 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25367 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25368 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25369 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25370 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25371 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25372 echo $ECHO_N "(cached) $ECHO_C" >&6
25373 else
25375 if test x$gcc_no_link = xyes; then
25376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25378 { (exit 1); exit 1; }; }
25380 cat >conftest.$ac_ext <<_ACEOF
25381 /* confdefs.h. */
25382 _ACEOF
25383 cat confdefs.h >>conftest.$ac_ext
25384 cat >>conftest.$ac_ext <<_ACEOF
25385 /* end confdefs.h. */
25386 #include <math.h>
25388 main ()
25390 __builtin_fabsf(0);
25392 return 0;
25394 _ACEOF
25395 rm -f conftest.$ac_objext conftest$ac_exeext
25396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25397 (eval $ac_link) 2>conftest.er1
25398 ac_status=$?
25399 grep -v '^ *+' conftest.er1 >conftest.err
25400 rm -f conftest.er1
25401 cat conftest.err >&5
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); } &&
25404 { ac_try='test -z "$ac_c_werror_flag"
25405 || test ! -s conftest.err'
25406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25407 (eval $ac_try) 2>&5
25408 ac_status=$?
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); }; } &&
25411 { ac_try='test -s conftest$ac_exeext'
25412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25413 (eval $ac_try) 2>&5
25414 ac_status=$?
25415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25416 (exit $ac_status); }; }; then
25417 glibcxx_cv_func___builtin_fabsf_link=yes
25418 else
25419 echo "$as_me: failed program was:" >&5
25420 sed 's/^/| /' conftest.$ac_ext >&5
25422 glibcxx_cv_func___builtin_fabsf_link=no
25424 rm -f conftest.err conftest.$ac_objext \
25425 conftest$ac_exeext conftest.$ac_ext
25430 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25431 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25432 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25433 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25435 cat >>confdefs.h <<_ACEOF
25436 #define ${ac_tr_func} 1
25437 _ACEOF
25443 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25444 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25445 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25446 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25447 echo $ECHO_N "(cached) $ECHO_C" >&6
25448 else
25452 ac_ext=cc
25453 ac_cpp='$CXXCPP $CPPFLAGS'
25454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25458 cat >conftest.$ac_ext <<_ACEOF
25459 /* confdefs.h. */
25460 _ACEOF
25461 cat confdefs.h >>conftest.$ac_ext
25462 cat >>conftest.$ac_ext <<_ACEOF
25463 /* end confdefs.h. */
25464 #include <math.h>
25466 main ()
25468 __builtin_fabs(0);
25470 return 0;
25472 _ACEOF
25473 rm -f conftest.$ac_objext
25474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25475 (eval $ac_compile) 2>conftest.er1
25476 ac_status=$?
25477 grep -v '^ *+' conftest.er1 >conftest.err
25478 rm -f conftest.er1
25479 cat conftest.err >&5
25480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481 (exit $ac_status); } &&
25482 { ac_try='test -z "$ac_cxx_werror_flag"
25483 || test ! -s conftest.err'
25484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25485 (eval $ac_try) 2>&5
25486 ac_status=$?
25487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488 (exit $ac_status); }; } &&
25489 { ac_try='test -s conftest.$ac_objext'
25490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25491 (eval $ac_try) 2>&5
25492 ac_status=$?
25493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25494 (exit $ac_status); }; }; then
25495 glibcxx_cv_func___builtin_fabs_use=yes
25496 else
25497 echo "$as_me: failed program was:" >&5
25498 sed 's/^/| /' conftest.$ac_ext >&5
25500 glibcxx_cv_func___builtin_fabs_use=no
25502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25503 ac_ext=c
25504 ac_cpp='$CPP $CPPFLAGS'
25505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25513 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25514 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25515 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25516 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25517 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25518 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25519 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25520 echo $ECHO_N "(cached) $ECHO_C" >&6
25521 else
25523 if test x$gcc_no_link = xyes; then
25524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25526 { (exit 1); exit 1; }; }
25528 cat >conftest.$ac_ext <<_ACEOF
25529 /* confdefs.h. */
25530 _ACEOF
25531 cat confdefs.h >>conftest.$ac_ext
25532 cat >>conftest.$ac_ext <<_ACEOF
25533 /* end confdefs.h. */
25534 #include <math.h>
25536 main ()
25538 __builtin_fabs(0);
25540 return 0;
25542 _ACEOF
25543 rm -f conftest.$ac_objext conftest$ac_exeext
25544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25545 (eval $ac_link) 2>conftest.er1
25546 ac_status=$?
25547 grep -v '^ *+' conftest.er1 >conftest.err
25548 rm -f conftest.er1
25549 cat conftest.err >&5
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); } &&
25552 { ac_try='test -z "$ac_c_werror_flag"
25553 || test ! -s conftest.err'
25554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25555 (eval $ac_try) 2>&5
25556 ac_status=$?
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); }; } &&
25559 { ac_try='test -s conftest$ac_exeext'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25562 ac_status=$?
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; }; then
25565 glibcxx_cv_func___builtin_fabs_link=yes
25566 else
25567 echo "$as_me: failed program was:" >&5
25568 sed 's/^/| /' conftest.$ac_ext >&5
25570 glibcxx_cv_func___builtin_fabs_link=no
25572 rm -f conftest.err conftest.$ac_objext \
25573 conftest$ac_exeext conftest.$ac_ext
25578 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25579 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25580 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25581 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25583 cat >>confdefs.h <<_ACEOF
25584 #define ${ac_tr_func} 1
25585 _ACEOF
25591 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25592 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25593 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25594 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25595 echo $ECHO_N "(cached) $ECHO_C" >&6
25596 else
25600 ac_ext=cc
25601 ac_cpp='$CXXCPP $CPPFLAGS'
25602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25606 cat >conftest.$ac_ext <<_ACEOF
25607 /* confdefs.h. */
25608 _ACEOF
25609 cat confdefs.h >>conftest.$ac_ext
25610 cat >>conftest.$ac_ext <<_ACEOF
25611 /* end confdefs.h. */
25612 #include <math.h>
25614 main ()
25616 __builtin_fabsl(0);
25618 return 0;
25620 _ACEOF
25621 rm -f conftest.$ac_objext
25622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25623 (eval $ac_compile) 2>conftest.er1
25624 ac_status=$?
25625 grep -v '^ *+' conftest.er1 >conftest.err
25626 rm -f conftest.er1
25627 cat conftest.err >&5
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); } &&
25630 { ac_try='test -z "$ac_cxx_werror_flag"
25631 || test ! -s conftest.err'
25632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25633 (eval $ac_try) 2>&5
25634 ac_status=$?
25635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636 (exit $ac_status); }; } &&
25637 { ac_try='test -s conftest.$ac_objext'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25640 ac_status=$?
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; }; then
25643 glibcxx_cv_func___builtin_fabsl_use=yes
25644 else
25645 echo "$as_me: failed program was:" >&5
25646 sed 's/^/| /' conftest.$ac_ext >&5
25648 glibcxx_cv_func___builtin_fabsl_use=no
25650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25651 ac_ext=c
25652 ac_cpp='$CPP $CPPFLAGS'
25653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25661 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25662 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25663 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25664 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25665 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25666 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25667 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25668 echo $ECHO_N "(cached) $ECHO_C" >&6
25669 else
25671 if test x$gcc_no_link = xyes; then
25672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25674 { (exit 1); exit 1; }; }
25676 cat >conftest.$ac_ext <<_ACEOF
25677 /* confdefs.h. */
25678 _ACEOF
25679 cat confdefs.h >>conftest.$ac_ext
25680 cat >>conftest.$ac_ext <<_ACEOF
25681 /* end confdefs.h. */
25682 #include <math.h>
25684 main ()
25686 __builtin_fabsl(0);
25688 return 0;
25690 _ACEOF
25691 rm -f conftest.$ac_objext conftest$ac_exeext
25692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25693 (eval $ac_link) 2>conftest.er1
25694 ac_status=$?
25695 grep -v '^ *+' conftest.er1 >conftest.err
25696 rm -f conftest.er1
25697 cat conftest.err >&5
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); } &&
25700 { ac_try='test -z "$ac_c_werror_flag"
25701 || test ! -s conftest.err'
25702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25703 (eval $ac_try) 2>&5
25704 ac_status=$?
25705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25706 (exit $ac_status); }; } &&
25707 { ac_try='test -s conftest$ac_exeext'
25708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25709 (eval $ac_try) 2>&5
25710 ac_status=$?
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); }; }; then
25713 glibcxx_cv_func___builtin_fabsl_link=yes
25714 else
25715 echo "$as_me: failed program was:" >&5
25716 sed 's/^/| /' conftest.$ac_ext >&5
25718 glibcxx_cv_func___builtin_fabsl_link=no
25720 rm -f conftest.err conftest.$ac_objext \
25721 conftest$ac_exeext conftest.$ac_ext
25726 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25727 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25728 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25729 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25731 cat >>confdefs.h <<_ACEOF
25732 #define ${ac_tr_func} 1
25733 _ACEOF
25739 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25740 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25741 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25742 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25743 echo $ECHO_N "(cached) $ECHO_C" >&6
25744 else
25748 ac_ext=cc
25749 ac_cpp='$CXXCPP $CPPFLAGS'
25750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25754 cat >conftest.$ac_ext <<_ACEOF
25755 /* confdefs.h. */
25756 _ACEOF
25757 cat confdefs.h >>conftest.$ac_ext
25758 cat >>conftest.$ac_ext <<_ACEOF
25759 /* end confdefs.h. */
25760 #include <math.h>
25762 main ()
25764 __builtin_labs(0);
25766 return 0;
25768 _ACEOF
25769 rm -f conftest.$ac_objext
25770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25771 (eval $ac_compile) 2>conftest.er1
25772 ac_status=$?
25773 grep -v '^ *+' conftest.er1 >conftest.err
25774 rm -f conftest.er1
25775 cat conftest.err >&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); } &&
25778 { ac_try='test -z "$ac_cxx_werror_flag"
25779 || test ! -s conftest.err'
25780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25781 (eval $ac_try) 2>&5
25782 ac_status=$?
25783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25784 (exit $ac_status); }; } &&
25785 { ac_try='test -s conftest.$ac_objext'
25786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25787 (eval $ac_try) 2>&5
25788 ac_status=$?
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); }; }; then
25791 glibcxx_cv_func___builtin_labs_use=yes
25792 else
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.$ac_ext >&5
25796 glibcxx_cv_func___builtin_labs_use=no
25798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25799 ac_ext=c
25800 ac_cpp='$CPP $CPPFLAGS'
25801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25809 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25810 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25811 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25812 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25813 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25814 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25815 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25816 echo $ECHO_N "(cached) $ECHO_C" >&6
25817 else
25819 if test x$gcc_no_link = xyes; then
25820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25822 { (exit 1); exit 1; }; }
25824 cat >conftest.$ac_ext <<_ACEOF
25825 /* confdefs.h. */
25826 _ACEOF
25827 cat confdefs.h >>conftest.$ac_ext
25828 cat >>conftest.$ac_ext <<_ACEOF
25829 /* end confdefs.h. */
25830 #include <math.h>
25832 main ()
25834 __builtin_labs(0);
25836 return 0;
25838 _ACEOF
25839 rm -f conftest.$ac_objext conftest$ac_exeext
25840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25841 (eval $ac_link) 2>conftest.er1
25842 ac_status=$?
25843 grep -v '^ *+' conftest.er1 >conftest.err
25844 rm -f conftest.er1
25845 cat conftest.err >&5
25846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847 (exit $ac_status); } &&
25848 { ac_try='test -z "$ac_c_werror_flag"
25849 || test ! -s conftest.err'
25850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25851 (eval $ac_try) 2>&5
25852 ac_status=$?
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); }; } &&
25855 { ac_try='test -s conftest$ac_exeext'
25856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25857 (eval $ac_try) 2>&5
25858 ac_status=$?
25859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860 (exit $ac_status); }; }; then
25861 glibcxx_cv_func___builtin_labs_link=yes
25862 else
25863 echo "$as_me: failed program was:" >&5
25864 sed 's/^/| /' conftest.$ac_ext >&5
25866 glibcxx_cv_func___builtin_labs_link=no
25868 rm -f conftest.err conftest.$ac_objext \
25869 conftest$ac_exeext conftest.$ac_ext
25874 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25875 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25876 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25877 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25879 cat >>confdefs.h <<_ACEOF
25880 #define ${ac_tr_func} 1
25881 _ACEOF
25888 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25889 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25890 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25891 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25892 echo $ECHO_N "(cached) $ECHO_C" >&6
25893 else
25897 ac_ext=cc
25898 ac_cpp='$CXXCPP $CPPFLAGS'
25899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25903 cat >conftest.$ac_ext <<_ACEOF
25904 /* confdefs.h. */
25905 _ACEOF
25906 cat confdefs.h >>conftest.$ac_ext
25907 cat >>conftest.$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909 #include <math.h>
25911 main ()
25913 __builtin_sqrtf(0);
25915 return 0;
25917 _ACEOF
25918 rm -f conftest.$ac_objext
25919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25920 (eval $ac_compile) 2>conftest.er1
25921 ac_status=$?
25922 grep -v '^ *+' conftest.er1 >conftest.err
25923 rm -f conftest.er1
25924 cat conftest.err >&5
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); } &&
25927 { ac_try='test -z "$ac_cxx_werror_flag"
25928 || test ! -s conftest.err'
25929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25930 (eval $ac_try) 2>&5
25931 ac_status=$?
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); }; } &&
25934 { ac_try='test -s conftest.$ac_objext'
25935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936 (eval $ac_try) 2>&5
25937 ac_status=$?
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); }; }; then
25940 glibcxx_cv_func___builtin_sqrtf_use=yes
25941 else
25942 echo "$as_me: failed program was:" >&5
25943 sed 's/^/| /' conftest.$ac_ext >&5
25945 glibcxx_cv_func___builtin_sqrtf_use=no
25947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25948 ac_ext=c
25949 ac_cpp='$CPP $CPPFLAGS'
25950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25958 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25959 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25960 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25961 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25962 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25963 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25964 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25965 echo $ECHO_N "(cached) $ECHO_C" >&6
25966 else
25968 if test x$gcc_no_link = xyes; then
25969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25971 { (exit 1); exit 1; }; }
25973 cat >conftest.$ac_ext <<_ACEOF
25974 /* confdefs.h. */
25975 _ACEOF
25976 cat confdefs.h >>conftest.$ac_ext
25977 cat >>conftest.$ac_ext <<_ACEOF
25978 /* end confdefs.h. */
25979 #include <math.h>
25981 main ()
25983 __builtin_sqrtf(0);
25985 return 0;
25987 _ACEOF
25988 rm -f conftest.$ac_objext conftest$ac_exeext
25989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25990 (eval $ac_link) 2>conftest.er1
25991 ac_status=$?
25992 grep -v '^ *+' conftest.er1 >conftest.err
25993 rm -f conftest.er1
25994 cat conftest.err >&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } &&
25997 { ac_try='test -z "$ac_c_werror_flag"
25998 || test ! -s conftest.err'
25999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26000 (eval $ac_try) 2>&5
26001 ac_status=$?
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); }; } &&
26004 { ac_try='test -s conftest$ac_exeext'
26005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26006 (eval $ac_try) 2>&5
26007 ac_status=$?
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); }; }; then
26010 glibcxx_cv_func___builtin_sqrtf_link=yes
26011 else
26012 echo "$as_me: failed program was:" >&5
26013 sed 's/^/| /' conftest.$ac_ext >&5
26015 glibcxx_cv_func___builtin_sqrtf_link=no
26017 rm -f conftest.err conftest.$ac_objext \
26018 conftest$ac_exeext conftest.$ac_ext
26023 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26024 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26025 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26026 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26028 cat >>confdefs.h <<_ACEOF
26029 #define ${ac_tr_func} 1
26030 _ACEOF
26036 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26037 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26038 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26039 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26040 echo $ECHO_N "(cached) $ECHO_C" >&6
26041 else
26045 ac_ext=cc
26046 ac_cpp='$CXXCPP $CPPFLAGS'
26047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26051 cat >conftest.$ac_ext <<_ACEOF
26052 /* confdefs.h. */
26053 _ACEOF
26054 cat confdefs.h >>conftest.$ac_ext
26055 cat >>conftest.$ac_ext <<_ACEOF
26056 /* end confdefs.h. */
26057 #include <math.h>
26059 main ()
26061 __builtin_sqrt(0);
26063 return 0;
26065 _ACEOF
26066 rm -f conftest.$ac_objext
26067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26068 (eval $ac_compile) 2>conftest.er1
26069 ac_status=$?
26070 grep -v '^ *+' conftest.er1 >conftest.err
26071 rm -f conftest.er1
26072 cat conftest.err >&5
26073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26074 (exit $ac_status); } &&
26075 { ac_try='test -z "$ac_cxx_werror_flag"
26076 || test ! -s conftest.err'
26077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26078 (eval $ac_try) 2>&5
26079 ac_status=$?
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); }; } &&
26082 { ac_try='test -s conftest.$ac_objext'
26083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084 (eval $ac_try) 2>&5
26085 ac_status=$?
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); }; }; then
26088 glibcxx_cv_func___builtin_sqrt_use=yes
26089 else
26090 echo "$as_me: failed program was:" >&5
26091 sed 's/^/| /' conftest.$ac_ext >&5
26093 glibcxx_cv_func___builtin_sqrt_use=no
26095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26096 ac_ext=c
26097 ac_cpp='$CPP $CPPFLAGS'
26098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26106 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26107 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26108 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26109 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26110 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26111 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26112 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26113 echo $ECHO_N "(cached) $ECHO_C" >&6
26114 else
26116 if test x$gcc_no_link = xyes; then
26117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26119 { (exit 1); exit 1; }; }
26121 cat >conftest.$ac_ext <<_ACEOF
26122 /* confdefs.h. */
26123 _ACEOF
26124 cat confdefs.h >>conftest.$ac_ext
26125 cat >>conftest.$ac_ext <<_ACEOF
26126 /* end confdefs.h. */
26127 #include <math.h>
26129 main ()
26131 __builtin_sqrt(0);
26133 return 0;
26135 _ACEOF
26136 rm -f conftest.$ac_objext conftest$ac_exeext
26137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26138 (eval $ac_link) 2>conftest.er1
26139 ac_status=$?
26140 grep -v '^ *+' conftest.er1 >conftest.err
26141 rm -f conftest.er1
26142 cat conftest.err >&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); } &&
26145 { ac_try='test -z "$ac_c_werror_flag"
26146 || test ! -s conftest.err'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26149 ac_status=$?
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; } &&
26152 { ac_try='test -s conftest$ac_exeext'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26155 ac_status=$?
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; }; then
26158 glibcxx_cv_func___builtin_sqrt_link=yes
26159 else
26160 echo "$as_me: failed program was:" >&5
26161 sed 's/^/| /' conftest.$ac_ext >&5
26163 glibcxx_cv_func___builtin_sqrt_link=no
26165 rm -f conftest.err conftest.$ac_objext \
26166 conftest$ac_exeext conftest.$ac_ext
26171 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26172 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26173 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26174 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26176 cat >>confdefs.h <<_ACEOF
26177 #define ${ac_tr_func} 1
26178 _ACEOF
26184 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26185 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26186 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26187 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26188 echo $ECHO_N "(cached) $ECHO_C" >&6
26189 else
26193 ac_ext=cc
26194 ac_cpp='$CXXCPP $CPPFLAGS'
26195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26199 cat >conftest.$ac_ext <<_ACEOF
26200 /* confdefs.h. */
26201 _ACEOF
26202 cat confdefs.h >>conftest.$ac_ext
26203 cat >>conftest.$ac_ext <<_ACEOF
26204 /* end confdefs.h. */
26205 #include <math.h>
26207 main ()
26209 __builtin_sqrtl(0);
26211 return 0;
26213 _ACEOF
26214 rm -f conftest.$ac_objext
26215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26216 (eval $ac_compile) 2>conftest.er1
26217 ac_status=$?
26218 grep -v '^ *+' conftest.er1 >conftest.err
26219 rm -f conftest.er1
26220 cat conftest.err >&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); } &&
26223 { ac_try='test -z "$ac_cxx_werror_flag"
26224 || test ! -s conftest.err'
26225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26226 (eval $ac_try) 2>&5
26227 ac_status=$?
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); }; } &&
26230 { ac_try='test -s conftest.$ac_objext'
26231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26232 (eval $ac_try) 2>&5
26233 ac_status=$?
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); }; }; then
26236 glibcxx_cv_func___builtin_sqrtl_use=yes
26237 else
26238 echo "$as_me: failed program was:" >&5
26239 sed 's/^/| /' conftest.$ac_ext >&5
26241 glibcxx_cv_func___builtin_sqrtl_use=no
26243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26244 ac_ext=c
26245 ac_cpp='$CPP $CPPFLAGS'
26246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26254 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26255 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26256 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26257 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26258 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26259 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26260 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26261 echo $ECHO_N "(cached) $ECHO_C" >&6
26262 else
26264 if test x$gcc_no_link = xyes; then
26265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26267 { (exit 1); exit 1; }; }
26269 cat >conftest.$ac_ext <<_ACEOF
26270 /* confdefs.h. */
26271 _ACEOF
26272 cat confdefs.h >>conftest.$ac_ext
26273 cat >>conftest.$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26275 #include <math.h>
26277 main ()
26279 __builtin_sqrtl(0);
26281 return 0;
26283 _ACEOF
26284 rm -f conftest.$ac_objext conftest$ac_exeext
26285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26286 (eval $ac_link) 2>conftest.er1
26287 ac_status=$?
26288 grep -v '^ *+' conftest.er1 >conftest.err
26289 rm -f conftest.er1
26290 cat conftest.err >&5
26291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292 (exit $ac_status); } &&
26293 { ac_try='test -z "$ac_c_werror_flag"
26294 || test ! -s conftest.err'
26295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26296 (eval $ac_try) 2>&5
26297 ac_status=$?
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); }; } &&
26300 { ac_try='test -s conftest$ac_exeext'
26301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26302 (eval $ac_try) 2>&5
26303 ac_status=$?
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); }; }; then
26306 glibcxx_cv_func___builtin_sqrtl_link=yes
26307 else
26308 echo "$as_me: failed program was:" >&5
26309 sed 's/^/| /' conftest.$ac_ext >&5
26311 glibcxx_cv_func___builtin_sqrtl_link=no
26313 rm -f conftest.err conftest.$ac_objext \
26314 conftest$ac_exeext conftest.$ac_ext
26319 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26320 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26321 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26322 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26324 cat >>confdefs.h <<_ACEOF
26325 #define ${ac_tr_func} 1
26326 _ACEOF
26333 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26334 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26335 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26336 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26337 echo $ECHO_N "(cached) $ECHO_C" >&6
26338 else
26342 ac_ext=cc
26343 ac_cpp='$CXXCPP $CPPFLAGS'
26344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26348 cat >conftest.$ac_ext <<_ACEOF
26349 /* confdefs.h. */
26350 _ACEOF
26351 cat confdefs.h >>conftest.$ac_ext
26352 cat >>conftest.$ac_ext <<_ACEOF
26353 /* end confdefs.h. */
26354 #include <math.h>
26356 main ()
26358 __builtin_sinf(0);
26360 return 0;
26362 _ACEOF
26363 rm -f conftest.$ac_objext
26364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26365 (eval $ac_compile) 2>conftest.er1
26366 ac_status=$?
26367 grep -v '^ *+' conftest.er1 >conftest.err
26368 rm -f conftest.er1
26369 cat conftest.err >&5
26370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371 (exit $ac_status); } &&
26372 { ac_try='test -z "$ac_cxx_werror_flag"
26373 || test ! -s conftest.err'
26374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26375 (eval $ac_try) 2>&5
26376 ac_status=$?
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); }; } &&
26379 { ac_try='test -s conftest.$ac_objext'
26380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26381 (eval $ac_try) 2>&5
26382 ac_status=$?
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); }; }; then
26385 glibcxx_cv_func___builtin_sinf_use=yes
26386 else
26387 echo "$as_me: failed program was:" >&5
26388 sed 's/^/| /' conftest.$ac_ext >&5
26390 glibcxx_cv_func___builtin_sinf_use=no
26392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26393 ac_ext=c
26394 ac_cpp='$CPP $CPPFLAGS'
26395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26403 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26404 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26405 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26406 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26407 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26408 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26409 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26410 echo $ECHO_N "(cached) $ECHO_C" >&6
26411 else
26413 if test x$gcc_no_link = xyes; then
26414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26416 { (exit 1); exit 1; }; }
26418 cat >conftest.$ac_ext <<_ACEOF
26419 /* confdefs.h. */
26420 _ACEOF
26421 cat confdefs.h >>conftest.$ac_ext
26422 cat >>conftest.$ac_ext <<_ACEOF
26423 /* end confdefs.h. */
26424 #include <math.h>
26426 main ()
26428 __builtin_sinf(0);
26430 return 0;
26432 _ACEOF
26433 rm -f conftest.$ac_objext conftest$ac_exeext
26434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26435 (eval $ac_link) 2>conftest.er1
26436 ac_status=$?
26437 grep -v '^ *+' conftest.er1 >conftest.err
26438 rm -f conftest.er1
26439 cat conftest.err >&5
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); } &&
26442 { ac_try='test -z "$ac_c_werror_flag"
26443 || test ! -s conftest.err'
26444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26445 (eval $ac_try) 2>&5
26446 ac_status=$?
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); }; } &&
26449 { ac_try='test -s conftest$ac_exeext'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26452 ac_status=$?
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; }; then
26455 glibcxx_cv_func___builtin_sinf_link=yes
26456 else
26457 echo "$as_me: failed program was:" >&5
26458 sed 's/^/| /' conftest.$ac_ext >&5
26460 glibcxx_cv_func___builtin_sinf_link=no
26462 rm -f conftest.err conftest.$ac_objext \
26463 conftest$ac_exeext conftest.$ac_ext
26468 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26469 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26470 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26471 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26473 cat >>confdefs.h <<_ACEOF
26474 #define ${ac_tr_func} 1
26475 _ACEOF
26481 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26482 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26483 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26484 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26485 echo $ECHO_N "(cached) $ECHO_C" >&6
26486 else
26490 ac_ext=cc
26491 ac_cpp='$CXXCPP $CPPFLAGS'
26492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26496 cat >conftest.$ac_ext <<_ACEOF
26497 /* confdefs.h. */
26498 _ACEOF
26499 cat confdefs.h >>conftest.$ac_ext
26500 cat >>conftest.$ac_ext <<_ACEOF
26501 /* end confdefs.h. */
26502 #include <math.h>
26504 main ()
26506 __builtin_sin(0);
26508 return 0;
26510 _ACEOF
26511 rm -f conftest.$ac_objext
26512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26513 (eval $ac_compile) 2>conftest.er1
26514 ac_status=$?
26515 grep -v '^ *+' conftest.er1 >conftest.err
26516 rm -f conftest.er1
26517 cat conftest.err >&5
26518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26519 (exit $ac_status); } &&
26520 { ac_try='test -z "$ac_cxx_werror_flag"
26521 || test ! -s conftest.err'
26522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26523 (eval $ac_try) 2>&5
26524 ac_status=$?
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); }; } &&
26527 { ac_try='test -s conftest.$ac_objext'
26528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26529 (eval $ac_try) 2>&5
26530 ac_status=$?
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); }; }; then
26533 glibcxx_cv_func___builtin_sin_use=yes
26534 else
26535 echo "$as_me: failed program was:" >&5
26536 sed 's/^/| /' conftest.$ac_ext >&5
26538 glibcxx_cv_func___builtin_sin_use=no
26540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26541 ac_ext=c
26542 ac_cpp='$CPP $CPPFLAGS'
26543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26551 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26552 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26553 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26554 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26555 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26556 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26557 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26558 echo $ECHO_N "(cached) $ECHO_C" >&6
26559 else
26561 if test x$gcc_no_link = xyes; then
26562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26564 { (exit 1); exit 1; }; }
26566 cat >conftest.$ac_ext <<_ACEOF
26567 /* confdefs.h. */
26568 _ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26572 #include <math.h>
26574 main ()
26576 __builtin_sin(0);
26578 return 0;
26580 _ACEOF
26581 rm -f conftest.$ac_objext conftest$ac_exeext
26582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26583 (eval $ac_link) 2>conftest.er1
26584 ac_status=$?
26585 grep -v '^ *+' conftest.er1 >conftest.err
26586 rm -f conftest.er1
26587 cat conftest.err >&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); } &&
26590 { ac_try='test -z "$ac_c_werror_flag"
26591 || test ! -s conftest.err'
26592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26593 (eval $ac_try) 2>&5
26594 ac_status=$?
26595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596 (exit $ac_status); }; } &&
26597 { ac_try='test -s conftest$ac_exeext'
26598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26599 (eval $ac_try) 2>&5
26600 ac_status=$?
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); }; }; then
26603 glibcxx_cv_func___builtin_sin_link=yes
26604 else
26605 echo "$as_me: failed program was:" >&5
26606 sed 's/^/| /' conftest.$ac_ext >&5
26608 glibcxx_cv_func___builtin_sin_link=no
26610 rm -f conftest.err conftest.$ac_objext \
26611 conftest$ac_exeext conftest.$ac_ext
26616 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26617 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26618 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26619 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26621 cat >>confdefs.h <<_ACEOF
26622 #define ${ac_tr_func} 1
26623 _ACEOF
26629 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26630 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26631 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26632 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26633 echo $ECHO_N "(cached) $ECHO_C" >&6
26634 else
26638 ac_ext=cc
26639 ac_cpp='$CXXCPP $CPPFLAGS'
26640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26644 cat >conftest.$ac_ext <<_ACEOF
26645 /* confdefs.h. */
26646 _ACEOF
26647 cat confdefs.h >>conftest.$ac_ext
26648 cat >>conftest.$ac_ext <<_ACEOF
26649 /* end confdefs.h. */
26650 #include <math.h>
26652 main ()
26654 __builtin_sinl(0);
26656 return 0;
26658 _ACEOF
26659 rm -f conftest.$ac_objext
26660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26661 (eval $ac_compile) 2>conftest.er1
26662 ac_status=$?
26663 grep -v '^ *+' conftest.er1 >conftest.err
26664 rm -f conftest.er1
26665 cat conftest.err >&5
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); } &&
26668 { ac_try='test -z "$ac_cxx_werror_flag"
26669 || test ! -s conftest.err'
26670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26671 (eval $ac_try) 2>&5
26672 ac_status=$?
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); }; } &&
26675 { ac_try='test -s conftest.$ac_objext'
26676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26677 (eval $ac_try) 2>&5
26678 ac_status=$?
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); }; }; then
26681 glibcxx_cv_func___builtin_sinl_use=yes
26682 else
26683 echo "$as_me: failed program was:" >&5
26684 sed 's/^/| /' conftest.$ac_ext >&5
26686 glibcxx_cv_func___builtin_sinl_use=no
26688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26689 ac_ext=c
26690 ac_cpp='$CPP $CPPFLAGS'
26691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26699 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26700 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26701 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26702 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26703 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26704 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26705 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26706 echo $ECHO_N "(cached) $ECHO_C" >&6
26707 else
26709 if test x$gcc_no_link = xyes; then
26710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26712 { (exit 1); exit 1; }; }
26714 cat >conftest.$ac_ext <<_ACEOF
26715 /* confdefs.h. */
26716 _ACEOF
26717 cat confdefs.h >>conftest.$ac_ext
26718 cat >>conftest.$ac_ext <<_ACEOF
26719 /* end confdefs.h. */
26720 #include <math.h>
26722 main ()
26724 __builtin_sinl(0);
26726 return 0;
26728 _ACEOF
26729 rm -f conftest.$ac_objext conftest$ac_exeext
26730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26731 (eval $ac_link) 2>conftest.er1
26732 ac_status=$?
26733 grep -v '^ *+' conftest.er1 >conftest.err
26734 rm -f conftest.er1
26735 cat conftest.err >&5
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); } &&
26738 { ac_try='test -z "$ac_c_werror_flag"
26739 || test ! -s conftest.err'
26740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26741 (eval $ac_try) 2>&5
26742 ac_status=$?
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); }; } &&
26745 { ac_try='test -s conftest$ac_exeext'
26746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26747 (eval $ac_try) 2>&5
26748 ac_status=$?
26749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750 (exit $ac_status); }; }; then
26751 glibcxx_cv_func___builtin_sinl_link=yes
26752 else
26753 echo "$as_me: failed program was:" >&5
26754 sed 's/^/| /' conftest.$ac_ext >&5
26756 glibcxx_cv_func___builtin_sinl_link=no
26758 rm -f conftest.err conftest.$ac_objext \
26759 conftest$ac_exeext conftest.$ac_ext
26764 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26765 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26766 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26767 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26769 cat >>confdefs.h <<_ACEOF
26770 #define ${ac_tr_func} 1
26771 _ACEOF
26778 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26779 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26780 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26781 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26783 else
26787 ac_ext=cc
26788 ac_cpp='$CXXCPP $CPPFLAGS'
26789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26793 cat >conftest.$ac_ext <<_ACEOF
26794 /* confdefs.h. */
26795 _ACEOF
26796 cat confdefs.h >>conftest.$ac_ext
26797 cat >>conftest.$ac_ext <<_ACEOF
26798 /* end confdefs.h. */
26799 #include <math.h>
26801 main ()
26803 __builtin_cosf(0);
26805 return 0;
26807 _ACEOF
26808 rm -f conftest.$ac_objext
26809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26810 (eval $ac_compile) 2>conftest.er1
26811 ac_status=$?
26812 grep -v '^ *+' conftest.er1 >conftest.err
26813 rm -f conftest.er1
26814 cat conftest.err >&5
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); } &&
26817 { ac_try='test -z "$ac_cxx_werror_flag"
26818 || test ! -s conftest.err'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26821 ac_status=$?
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; } &&
26824 { ac_try='test -s conftest.$ac_objext'
26825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26826 (eval $ac_try) 2>&5
26827 ac_status=$?
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); }; }; then
26830 glibcxx_cv_func___builtin_cosf_use=yes
26831 else
26832 echo "$as_me: failed program was:" >&5
26833 sed 's/^/| /' conftest.$ac_ext >&5
26835 glibcxx_cv_func___builtin_cosf_use=no
26837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26838 ac_ext=c
26839 ac_cpp='$CPP $CPPFLAGS'
26840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26848 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26849 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26850 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26851 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26852 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26853 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26854 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26855 echo $ECHO_N "(cached) $ECHO_C" >&6
26856 else
26858 if test x$gcc_no_link = xyes; then
26859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26861 { (exit 1); exit 1; }; }
26863 cat >conftest.$ac_ext <<_ACEOF
26864 /* confdefs.h. */
26865 _ACEOF
26866 cat confdefs.h >>conftest.$ac_ext
26867 cat >>conftest.$ac_ext <<_ACEOF
26868 /* end confdefs.h. */
26869 #include <math.h>
26871 main ()
26873 __builtin_cosf(0);
26875 return 0;
26877 _ACEOF
26878 rm -f conftest.$ac_objext conftest$ac_exeext
26879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26880 (eval $ac_link) 2>conftest.er1
26881 ac_status=$?
26882 grep -v '^ *+' conftest.er1 >conftest.err
26883 rm -f conftest.er1
26884 cat conftest.err >&5
26885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886 (exit $ac_status); } &&
26887 { ac_try='test -z "$ac_c_werror_flag"
26888 || test ! -s conftest.err'
26889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26890 (eval $ac_try) 2>&5
26891 ac_status=$?
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); }; } &&
26894 { ac_try='test -s conftest$ac_exeext'
26895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26896 (eval $ac_try) 2>&5
26897 ac_status=$?
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; }; then
26900 glibcxx_cv_func___builtin_cosf_link=yes
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26905 glibcxx_cv_func___builtin_cosf_link=no
26907 rm -f conftest.err conftest.$ac_objext \
26908 conftest$ac_exeext conftest.$ac_ext
26913 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26914 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26915 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26916 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26918 cat >>confdefs.h <<_ACEOF
26919 #define ${ac_tr_func} 1
26920 _ACEOF
26926 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26927 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26928 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26929 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26930 echo $ECHO_N "(cached) $ECHO_C" >&6
26931 else
26935 ac_ext=cc
26936 ac_cpp='$CXXCPP $CPPFLAGS'
26937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26941 cat >conftest.$ac_ext <<_ACEOF
26942 /* confdefs.h. */
26943 _ACEOF
26944 cat confdefs.h >>conftest.$ac_ext
26945 cat >>conftest.$ac_ext <<_ACEOF
26946 /* end confdefs.h. */
26947 #include <math.h>
26949 main ()
26951 __builtin_cos(0);
26953 return 0;
26955 _ACEOF
26956 rm -f conftest.$ac_objext
26957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26958 (eval $ac_compile) 2>conftest.er1
26959 ac_status=$?
26960 grep -v '^ *+' conftest.er1 >conftest.err
26961 rm -f conftest.er1
26962 cat conftest.err >&5
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); } &&
26965 { ac_try='test -z "$ac_cxx_werror_flag"
26966 || test ! -s conftest.err'
26967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26968 (eval $ac_try) 2>&5
26969 ac_status=$?
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); }; } &&
26972 { ac_try='test -s conftest.$ac_objext'
26973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26974 (eval $ac_try) 2>&5
26975 ac_status=$?
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); }; }; then
26978 glibcxx_cv_func___builtin_cos_use=yes
26979 else
26980 echo "$as_me: failed program was:" >&5
26981 sed 's/^/| /' conftest.$ac_ext >&5
26983 glibcxx_cv_func___builtin_cos_use=no
26985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26986 ac_ext=c
26987 ac_cpp='$CPP $CPPFLAGS'
26988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26996 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
26997 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
26998 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
26999 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27000 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27001 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27002 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27003 echo $ECHO_N "(cached) $ECHO_C" >&6
27004 else
27006 if test x$gcc_no_link = xyes; then
27007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27009 { (exit 1); exit 1; }; }
27011 cat >conftest.$ac_ext <<_ACEOF
27012 /* confdefs.h. */
27013 _ACEOF
27014 cat confdefs.h >>conftest.$ac_ext
27015 cat >>conftest.$ac_ext <<_ACEOF
27016 /* end confdefs.h. */
27017 #include <math.h>
27019 main ()
27021 __builtin_cos(0);
27023 return 0;
27025 _ACEOF
27026 rm -f conftest.$ac_objext conftest$ac_exeext
27027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27028 (eval $ac_link) 2>conftest.er1
27029 ac_status=$?
27030 grep -v '^ *+' conftest.er1 >conftest.err
27031 rm -f conftest.er1
27032 cat conftest.err >&5
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); } &&
27035 { ac_try='test -z "$ac_c_werror_flag"
27036 || test ! -s conftest.err'
27037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27038 (eval $ac_try) 2>&5
27039 ac_status=$?
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); }; } &&
27042 { ac_try='test -s conftest$ac_exeext'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27045 ac_status=$?
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; }; then
27048 glibcxx_cv_func___builtin_cos_link=yes
27049 else
27050 echo "$as_me: failed program was:" >&5
27051 sed 's/^/| /' conftest.$ac_ext >&5
27053 glibcxx_cv_func___builtin_cos_link=no
27055 rm -f conftest.err conftest.$ac_objext \
27056 conftest$ac_exeext conftest.$ac_ext
27061 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27062 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27063 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27064 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27066 cat >>confdefs.h <<_ACEOF
27067 #define ${ac_tr_func} 1
27068 _ACEOF
27074 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27075 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27076 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27077 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27078 echo $ECHO_N "(cached) $ECHO_C" >&6
27079 else
27083 ac_ext=cc
27084 ac_cpp='$CXXCPP $CPPFLAGS'
27085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27089 cat >conftest.$ac_ext <<_ACEOF
27090 /* confdefs.h. */
27091 _ACEOF
27092 cat confdefs.h >>conftest.$ac_ext
27093 cat >>conftest.$ac_ext <<_ACEOF
27094 /* end confdefs.h. */
27095 #include <math.h>
27097 main ()
27099 __builtin_cosl(0);
27101 return 0;
27103 _ACEOF
27104 rm -f conftest.$ac_objext
27105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27106 (eval $ac_compile) 2>conftest.er1
27107 ac_status=$?
27108 grep -v '^ *+' conftest.er1 >conftest.err
27109 rm -f conftest.er1
27110 cat conftest.err >&5
27111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27112 (exit $ac_status); } &&
27113 { ac_try='test -z "$ac_cxx_werror_flag"
27114 || test ! -s conftest.err'
27115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27116 (eval $ac_try) 2>&5
27117 ac_status=$?
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); }; } &&
27120 { ac_try='test -s conftest.$ac_objext'
27121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122 (eval $ac_try) 2>&5
27123 ac_status=$?
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); }; }; then
27126 glibcxx_cv_func___builtin_cosl_use=yes
27127 else
27128 echo "$as_me: failed program was:" >&5
27129 sed 's/^/| /' conftest.$ac_ext >&5
27131 glibcxx_cv_func___builtin_cosl_use=no
27133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27134 ac_ext=c
27135 ac_cpp='$CPP $CPPFLAGS'
27136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27144 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27145 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27146 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27147 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27148 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27149 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27150 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27151 echo $ECHO_N "(cached) $ECHO_C" >&6
27152 else
27154 if test x$gcc_no_link = xyes; then
27155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27157 { (exit 1); exit 1; }; }
27159 cat >conftest.$ac_ext <<_ACEOF
27160 /* confdefs.h. */
27161 _ACEOF
27162 cat confdefs.h >>conftest.$ac_ext
27163 cat >>conftest.$ac_ext <<_ACEOF
27164 /* end confdefs.h. */
27165 #include <math.h>
27167 main ()
27169 __builtin_cosl(0);
27171 return 0;
27173 _ACEOF
27174 rm -f conftest.$ac_objext conftest$ac_exeext
27175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27176 (eval $ac_link) 2>conftest.er1
27177 ac_status=$?
27178 grep -v '^ *+' conftest.er1 >conftest.err
27179 rm -f conftest.er1
27180 cat conftest.err >&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); } &&
27183 { ac_try='test -z "$ac_c_werror_flag"
27184 || test ! -s conftest.err'
27185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27186 (eval $ac_try) 2>&5
27187 ac_status=$?
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); }; } &&
27190 { ac_try='test -s conftest$ac_exeext'
27191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27192 (eval $ac_try) 2>&5
27193 ac_status=$?
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); }; }; then
27196 glibcxx_cv_func___builtin_cosl_link=yes
27197 else
27198 echo "$as_me: failed program was:" >&5
27199 sed 's/^/| /' conftest.$ac_ext >&5
27201 glibcxx_cv_func___builtin_cosl_link=no
27203 rm -f conftest.err conftest.$ac_objext \
27204 conftest$ac_exeext conftest.$ac_ext
27209 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27210 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27211 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27212 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27214 cat >>confdefs.h <<_ACEOF
27215 #define ${ac_tr_func} 1
27216 _ACEOF
27224 echo "$as_me:$LINENO: checking for main in -lm" >&5
27225 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27226 if test "${ac_cv_lib_m_main+set}" = set; then
27227 echo $ECHO_N "(cached) $ECHO_C" >&6
27228 else
27229 ac_check_lib_save_LIBS=$LIBS
27230 LIBS="-lm $LIBS"
27231 if test x$gcc_no_link = xyes; then
27232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27234 { (exit 1); exit 1; }; }
27236 cat >conftest.$ac_ext <<_ACEOF
27237 /* confdefs.h. */
27238 _ACEOF
27239 cat confdefs.h >>conftest.$ac_ext
27240 cat >>conftest.$ac_ext <<_ACEOF
27241 /* end confdefs.h. */
27245 main ()
27247 main ();
27249 return 0;
27251 _ACEOF
27252 rm -f conftest.$ac_objext conftest$ac_exeext
27253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27254 (eval $ac_link) 2>conftest.er1
27255 ac_status=$?
27256 grep -v '^ *+' conftest.er1 >conftest.err
27257 rm -f conftest.er1
27258 cat conftest.err >&5
27259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260 (exit $ac_status); } &&
27261 { ac_try='test -z "$ac_c_werror_flag"
27262 || test ! -s conftest.err'
27263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27264 (eval $ac_try) 2>&5
27265 ac_status=$?
27266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27267 (exit $ac_status); }; } &&
27268 { ac_try='test -s conftest$ac_exeext'
27269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27270 (eval $ac_try) 2>&5
27271 ac_status=$?
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); }; }; then
27274 ac_cv_lib_m_main=yes
27275 else
27276 echo "$as_me: failed program was:" >&5
27277 sed 's/^/| /' conftest.$ac_ext >&5
27279 ac_cv_lib_m_main=no
27281 rm -f conftest.err conftest.$ac_objext \
27282 conftest$ac_exeext conftest.$ac_ext
27283 LIBS=$ac_check_lib_save_LIBS
27285 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27286 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27287 if test $ac_cv_lib_m_main = yes; then
27288 cat >>confdefs.h <<_ACEOF
27289 #define HAVE_LIBM 1
27290 _ACEOF
27292 LIBS="-lm $LIBS"
27297 for ac_func in copysignf
27299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27300 echo "$as_me:$LINENO: checking for $ac_func" >&5
27301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27302 if eval "test \"\${$as_ac_var+set}\" = set"; then
27303 echo $ECHO_N "(cached) $ECHO_C" >&6
27304 else
27305 if test x$gcc_no_link = xyes; then
27306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27308 { (exit 1); exit 1; }; }
27310 cat >conftest.$ac_ext <<_ACEOF
27311 /* confdefs.h. */
27312 _ACEOF
27313 cat confdefs.h >>conftest.$ac_ext
27314 cat >>conftest.$ac_ext <<_ACEOF
27315 /* end confdefs.h. */
27316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27318 #define $ac_func innocuous_$ac_func
27320 /* System header to define __stub macros and hopefully few prototypes,
27321 which can conflict with char $ac_func (); below.
27322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27323 <limits.h> exists even on freestanding compilers. */
27325 #ifdef __STDC__
27326 # include <limits.h>
27327 #else
27328 # include <assert.h>
27329 #endif
27331 #undef $ac_func
27333 /* Override any gcc2 internal prototype to avoid an error. */
27334 #ifdef __cplusplus
27335 extern "C"
27337 #endif
27338 /* We use char because int might match the return type of a gcc2
27339 builtin and then its argument prototype would still apply. */
27340 char $ac_func ();
27341 /* The GNU C library defines this for functions which it implements
27342 to always fail with ENOSYS. Some functions are actually named
27343 something starting with __ and the normal name is an alias. */
27344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27345 choke me
27346 #else
27347 char (*f) () = $ac_func;
27348 #endif
27349 #ifdef __cplusplus
27351 #endif
27354 main ()
27356 return f != $ac_func;
27358 return 0;
27360 _ACEOF
27361 rm -f conftest.$ac_objext conftest$ac_exeext
27362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27363 (eval $ac_link) 2>conftest.er1
27364 ac_status=$?
27365 grep -v '^ *+' conftest.er1 >conftest.err
27366 rm -f conftest.er1
27367 cat conftest.err >&5
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); } &&
27370 { ac_try='test -z "$ac_c_werror_flag"
27371 || test ! -s conftest.err'
27372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27373 (eval $ac_try) 2>&5
27374 ac_status=$?
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); }; } &&
27377 { ac_try='test -s conftest$ac_exeext'
27378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27379 (eval $ac_try) 2>&5
27380 ac_status=$?
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); }; }; then
27383 eval "$as_ac_var=yes"
27384 else
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27388 eval "$as_ac_var=no"
27390 rm -f conftest.err conftest.$ac_objext \
27391 conftest$ac_exeext conftest.$ac_ext
27393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27395 if test `eval echo '${'$as_ac_var'}'` = yes; then
27396 cat >>confdefs.h <<_ACEOF
27397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27398 _ACEOF
27400 else
27401 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27403 done
27407 for ac_func in __signbit
27409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27410 echo "$as_me:$LINENO: checking for $ac_func" >&5
27411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27412 if eval "test \"\${$as_ac_var+set}\" = set"; then
27413 echo $ECHO_N "(cached) $ECHO_C" >&6
27414 else
27415 if test x$gcc_no_link = xyes; then
27416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27418 { (exit 1); exit 1; }; }
27420 cat >conftest.$ac_ext <<_ACEOF
27421 /* confdefs.h. */
27422 _ACEOF
27423 cat confdefs.h >>conftest.$ac_ext
27424 cat >>conftest.$ac_ext <<_ACEOF
27425 /* end confdefs.h. */
27426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27428 #define $ac_func innocuous_$ac_func
27430 /* System header to define __stub macros and hopefully few prototypes,
27431 which can conflict with char $ac_func (); below.
27432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27433 <limits.h> exists even on freestanding compilers. */
27435 #ifdef __STDC__
27436 # include <limits.h>
27437 #else
27438 # include <assert.h>
27439 #endif
27441 #undef $ac_func
27443 /* Override any gcc2 internal prototype to avoid an error. */
27444 #ifdef __cplusplus
27445 extern "C"
27447 #endif
27448 /* We use char because int might match the return type of a gcc2
27449 builtin and then its argument prototype would still apply. */
27450 char $ac_func ();
27451 /* The GNU C library defines this for functions which it implements
27452 to always fail with ENOSYS. Some functions are actually named
27453 something starting with __ and the normal name is an alias. */
27454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27455 choke me
27456 #else
27457 char (*f) () = $ac_func;
27458 #endif
27459 #ifdef __cplusplus
27461 #endif
27464 main ()
27466 return f != $ac_func;
27468 return 0;
27470 _ACEOF
27471 rm -f conftest.$ac_objext conftest$ac_exeext
27472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27473 (eval $ac_link) 2>conftest.er1
27474 ac_status=$?
27475 grep -v '^ *+' conftest.er1 >conftest.err
27476 rm -f conftest.er1
27477 cat conftest.err >&5
27478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479 (exit $ac_status); } &&
27480 { ac_try='test -z "$ac_c_werror_flag"
27481 || test ! -s conftest.err'
27482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27483 (eval $ac_try) 2>&5
27484 ac_status=$?
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); }; } &&
27487 { ac_try='test -s conftest$ac_exeext'
27488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27489 (eval $ac_try) 2>&5
27490 ac_status=$?
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); }; }; then
27493 eval "$as_ac_var=yes"
27494 else
27495 echo "$as_me: failed program was:" >&5
27496 sed 's/^/| /' conftest.$ac_ext >&5
27498 eval "$as_ac_var=no"
27500 rm -f conftest.err conftest.$ac_objext \
27501 conftest$ac_exeext conftest.$ac_ext
27503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27505 if test `eval echo '${'$as_ac_var'}'` = yes; then
27506 cat >>confdefs.h <<_ACEOF
27507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27508 _ACEOF
27510 else
27511 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27513 done
27517 for ac_func in __signbitf
27519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27520 echo "$as_me:$LINENO: checking for $ac_func" >&5
27521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27522 if eval "test \"\${$as_ac_var+set}\" = set"; then
27523 echo $ECHO_N "(cached) $ECHO_C" >&6
27524 else
27525 if test x$gcc_no_link = xyes; then
27526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27528 { (exit 1); exit 1; }; }
27530 cat >conftest.$ac_ext <<_ACEOF
27531 /* confdefs.h. */
27532 _ACEOF
27533 cat confdefs.h >>conftest.$ac_ext
27534 cat >>conftest.$ac_ext <<_ACEOF
27535 /* end confdefs.h. */
27536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27538 #define $ac_func innocuous_$ac_func
27540 /* System header to define __stub macros and hopefully few prototypes,
27541 which can conflict with char $ac_func (); below.
27542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27543 <limits.h> exists even on freestanding compilers. */
27545 #ifdef __STDC__
27546 # include <limits.h>
27547 #else
27548 # include <assert.h>
27549 #endif
27551 #undef $ac_func
27553 /* Override any gcc2 internal prototype to avoid an error. */
27554 #ifdef __cplusplus
27555 extern "C"
27557 #endif
27558 /* We use char because int might match the return type of a gcc2
27559 builtin and then its argument prototype would still apply. */
27560 char $ac_func ();
27561 /* The GNU C library defines this for functions which it implements
27562 to always fail with ENOSYS. Some functions are actually named
27563 something starting with __ and the normal name is an alias. */
27564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27565 choke me
27566 #else
27567 char (*f) () = $ac_func;
27568 #endif
27569 #ifdef __cplusplus
27571 #endif
27574 main ()
27576 return f != $ac_func;
27578 return 0;
27580 _ACEOF
27581 rm -f conftest.$ac_objext conftest$ac_exeext
27582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27583 (eval $ac_link) 2>conftest.er1
27584 ac_status=$?
27585 grep -v '^ *+' conftest.er1 >conftest.err
27586 rm -f conftest.er1
27587 cat conftest.err >&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); } &&
27590 { ac_try='test -z "$ac_c_werror_flag"
27591 || test ! -s conftest.err'
27592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27593 (eval $ac_try) 2>&5
27594 ac_status=$?
27595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27596 (exit $ac_status); }; } &&
27597 { ac_try='test -s conftest$ac_exeext'
27598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27599 (eval $ac_try) 2>&5
27600 ac_status=$?
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); }; }; then
27603 eval "$as_ac_var=yes"
27604 else
27605 echo "$as_me: failed program was:" >&5
27606 sed 's/^/| /' conftest.$ac_ext >&5
27608 eval "$as_ac_var=no"
27610 rm -f conftest.err conftest.$ac_objext \
27611 conftest$ac_exeext conftest.$ac_ext
27613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27615 if test `eval echo '${'$as_ac_var'}'` = yes; then
27616 cat >>confdefs.h <<_ACEOF
27617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27618 _ACEOF
27620 else
27621 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27623 done
27626 if test x$ac_cv_func_copysignl = x"yes"; then
27628 for ac_func in __signbitl
27630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27631 echo "$as_me:$LINENO: checking for $ac_func" >&5
27632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27633 if eval "test \"\${$as_ac_var+set}\" = set"; then
27634 echo $ECHO_N "(cached) $ECHO_C" >&6
27635 else
27636 if test x$gcc_no_link = xyes; then
27637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27639 { (exit 1); exit 1; }; }
27641 cat >conftest.$ac_ext <<_ACEOF
27642 /* confdefs.h. */
27643 _ACEOF
27644 cat confdefs.h >>conftest.$ac_ext
27645 cat >>conftest.$ac_ext <<_ACEOF
27646 /* end confdefs.h. */
27647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27649 #define $ac_func innocuous_$ac_func
27651 /* System header to define __stub macros and hopefully few prototypes,
27652 which can conflict with char $ac_func (); below.
27653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27654 <limits.h> exists even on freestanding compilers. */
27656 #ifdef __STDC__
27657 # include <limits.h>
27658 #else
27659 # include <assert.h>
27660 #endif
27662 #undef $ac_func
27664 /* Override any gcc2 internal prototype to avoid an error. */
27665 #ifdef __cplusplus
27666 extern "C"
27668 #endif
27669 /* We use char because int might match the return type of a gcc2
27670 builtin and then its argument prototype would still apply. */
27671 char $ac_func ();
27672 /* The GNU C library defines this for functions which it implements
27673 to always fail with ENOSYS. Some functions are actually named
27674 something starting with __ and the normal name is an alias. */
27675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27676 choke me
27677 #else
27678 char (*f) () = $ac_func;
27679 #endif
27680 #ifdef __cplusplus
27682 #endif
27685 main ()
27687 return f != $ac_func;
27689 return 0;
27691 _ACEOF
27692 rm -f conftest.$ac_objext conftest$ac_exeext
27693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27694 (eval $ac_link) 2>conftest.er1
27695 ac_status=$?
27696 grep -v '^ *+' conftest.er1 >conftest.err
27697 rm -f conftest.er1
27698 cat conftest.err >&5
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); } &&
27701 { ac_try='test -z "$ac_c_werror_flag"
27702 || test ! -s conftest.err'
27703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27704 (eval $ac_try) 2>&5
27705 ac_status=$?
27706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27707 (exit $ac_status); }; } &&
27708 { ac_try='test -s conftest$ac_exeext'
27709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27710 (eval $ac_try) 2>&5
27711 ac_status=$?
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); }; }; then
27714 eval "$as_ac_var=yes"
27715 else
27716 echo "$as_me: failed program was:" >&5
27717 sed 's/^/| /' conftest.$ac_ext >&5
27719 eval "$as_ac_var=no"
27721 rm -f conftest.err conftest.$ac_objext \
27722 conftest$ac_exeext conftest.$ac_ext
27724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27726 if test `eval echo '${'$as_ac_var'}'` = yes; then
27727 cat >>confdefs.h <<_ACEOF
27728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27729 _ACEOF
27731 else
27732 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27734 done
27738 # Used in libmath/Makefile.am.
27739 if test -n "$LIBMATHOBJS"; then
27740 need_libmath=yes
27745 # Test wchar.h for mbstate_t, which is needed for char_traits and
27746 # others even if wchar_t support is not on.
27747 echo "$as_me:$LINENO: checking for mbstate_t" >&5
27748 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27749 cat >conftest.$ac_ext <<_ACEOF
27750 /* confdefs.h. */
27751 _ACEOF
27752 cat confdefs.h >>conftest.$ac_ext
27753 cat >>conftest.$ac_ext <<_ACEOF
27754 /* end confdefs.h. */
27755 #include <wchar.h>
27757 main ()
27759 mbstate_t teststate;
27761 return 0;
27763 _ACEOF
27764 rm -f conftest.$ac_objext
27765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27766 (eval $ac_compile) 2>conftest.er1
27767 ac_status=$?
27768 grep -v '^ *+' conftest.er1 >conftest.err
27769 rm -f conftest.er1
27770 cat conftest.err >&5
27771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27772 (exit $ac_status); } &&
27773 { ac_try='test -z "$ac_c_werror_flag"
27774 || test ! -s conftest.err'
27775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27776 (eval $ac_try) 2>&5
27777 ac_status=$?
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); }; } &&
27780 { ac_try='test -s conftest.$ac_objext'
27781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27782 (eval $ac_try) 2>&5
27783 ac_status=$?
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); }; }; then
27786 have_mbstate_t=yes
27787 else
27788 echo "$as_me: failed program was:" >&5
27789 sed 's/^/| /' conftest.$ac_ext >&5
27791 have_mbstate_t=no
27793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27794 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27795 echo "${ECHO_T}$have_mbstate_t" >&6
27796 if test x"$have_mbstate_t" = xyes; then
27797 cat >>confdefs.h <<\_ACEOF
27798 #define HAVE_MBSTATE_T 1
27799 _ACEOF
27803 # Sanity check for existence of ISO C99 headers for extended encoding.
27805 for ac_header in wchar.h
27807 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27809 echo "$as_me:$LINENO: checking for $ac_header" >&5
27810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27812 echo $ECHO_N "(cached) $ECHO_C" >&6
27814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27816 else
27817 # Is the header compilable?
27818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27820 cat >conftest.$ac_ext <<_ACEOF
27821 /* confdefs.h. */
27822 _ACEOF
27823 cat confdefs.h >>conftest.$ac_ext
27824 cat >>conftest.$ac_ext <<_ACEOF
27825 /* end confdefs.h. */
27826 $ac_includes_default
27827 #include <$ac_header>
27828 _ACEOF
27829 rm -f conftest.$ac_objext
27830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27831 (eval $ac_compile) 2>conftest.er1
27832 ac_status=$?
27833 grep -v '^ *+' conftest.er1 >conftest.err
27834 rm -f conftest.er1
27835 cat conftest.err >&5
27836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27837 (exit $ac_status); } &&
27838 { ac_try='test -z "$ac_c_werror_flag"
27839 || test ! -s conftest.err'
27840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27841 (eval $ac_try) 2>&5
27842 ac_status=$?
27843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27844 (exit $ac_status); }; } &&
27845 { ac_try='test -s conftest.$ac_objext'
27846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27847 (eval $ac_try) 2>&5
27848 ac_status=$?
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); }; }; then
27851 ac_header_compiler=yes
27852 else
27853 echo "$as_me: failed program was:" >&5
27854 sed 's/^/| /' conftest.$ac_ext >&5
27856 ac_header_compiler=no
27858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27860 echo "${ECHO_T}$ac_header_compiler" >&6
27862 # Is the header present?
27863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27865 cat >conftest.$ac_ext <<_ACEOF
27866 /* confdefs.h. */
27867 _ACEOF
27868 cat confdefs.h >>conftest.$ac_ext
27869 cat >>conftest.$ac_ext <<_ACEOF
27870 /* end confdefs.h. */
27871 #include <$ac_header>
27872 _ACEOF
27873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27875 ac_status=$?
27876 grep -v '^ *+' conftest.er1 >conftest.err
27877 rm -f conftest.er1
27878 cat conftest.err >&5
27879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880 (exit $ac_status); } >/dev/null; then
27881 if test -s conftest.err; then
27882 ac_cpp_err=$ac_c_preproc_warn_flag
27883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27884 else
27885 ac_cpp_err=
27887 else
27888 ac_cpp_err=yes
27890 if test -z "$ac_cpp_err"; then
27891 ac_header_preproc=yes
27892 else
27893 echo "$as_me: failed program was:" >&5
27894 sed 's/^/| /' conftest.$ac_ext >&5
27896 ac_header_preproc=no
27898 rm -f conftest.err conftest.$ac_ext
27899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27900 echo "${ECHO_T}$ac_header_preproc" >&6
27902 # So? What about this header?
27903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27904 yes:no: )
27905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27908 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27909 ac_header_preproc=yes
27911 no:yes:* )
27912 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27914 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27916 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27917 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27918 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27919 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27922 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27923 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27925 cat <<\_ASBOX
27926 ## ----------------------------------------- ##
27927 ## Report this to the package-unused lists. ##
27928 ## ----------------------------------------- ##
27929 _ASBOX
27931 sed "s/^/$as_me: WARNING: /" >&2
27933 esac
27934 echo "$as_me:$LINENO: checking for $ac_header" >&5
27935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27938 else
27939 eval "$as_ac_Header=\$ac_header_preproc"
27941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27946 cat >>confdefs.h <<_ACEOF
27947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27948 _ACEOF
27949 ac_has_wchar_h=yes
27950 else
27951 ac_has_wchar_h=no
27954 done
27957 for ac_header in wctype.h
27959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27961 echo "$as_me:$LINENO: checking for $ac_header" >&5
27962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27964 echo $ECHO_N "(cached) $ECHO_C" >&6
27966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27968 else
27969 # Is the header compilable?
27970 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27972 cat >conftest.$ac_ext <<_ACEOF
27973 /* confdefs.h. */
27974 _ACEOF
27975 cat confdefs.h >>conftest.$ac_ext
27976 cat >>conftest.$ac_ext <<_ACEOF
27977 /* end confdefs.h. */
27978 $ac_includes_default
27979 #include <$ac_header>
27980 _ACEOF
27981 rm -f conftest.$ac_objext
27982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27983 (eval $ac_compile) 2>conftest.er1
27984 ac_status=$?
27985 grep -v '^ *+' conftest.er1 >conftest.err
27986 rm -f conftest.er1
27987 cat conftest.err >&5
27988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27989 (exit $ac_status); } &&
27990 { ac_try='test -z "$ac_c_werror_flag"
27991 || test ! -s conftest.err'
27992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27993 (eval $ac_try) 2>&5
27994 ac_status=$?
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); }; } &&
27997 { ac_try='test -s conftest.$ac_objext'
27998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27999 (eval $ac_try) 2>&5
28000 ac_status=$?
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); }; }; then
28003 ac_header_compiler=yes
28004 else
28005 echo "$as_me: failed program was:" >&5
28006 sed 's/^/| /' conftest.$ac_ext >&5
28008 ac_header_compiler=no
28010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28011 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28012 echo "${ECHO_T}$ac_header_compiler" >&6
28014 # Is the header present?
28015 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28016 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28017 cat >conftest.$ac_ext <<_ACEOF
28018 /* confdefs.h. */
28019 _ACEOF
28020 cat confdefs.h >>conftest.$ac_ext
28021 cat >>conftest.$ac_ext <<_ACEOF
28022 /* end confdefs.h. */
28023 #include <$ac_header>
28024 _ACEOF
28025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28026 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28027 ac_status=$?
28028 grep -v '^ *+' conftest.er1 >conftest.err
28029 rm -f conftest.er1
28030 cat conftest.err >&5
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); } >/dev/null; then
28033 if test -s conftest.err; then
28034 ac_cpp_err=$ac_c_preproc_warn_flag
28035 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28036 else
28037 ac_cpp_err=
28039 else
28040 ac_cpp_err=yes
28042 if test -z "$ac_cpp_err"; then
28043 ac_header_preproc=yes
28044 else
28045 echo "$as_me: failed program was:" >&5
28046 sed 's/^/| /' conftest.$ac_ext >&5
28048 ac_header_preproc=no
28050 rm -f conftest.err conftest.$ac_ext
28051 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28052 echo "${ECHO_T}$ac_header_preproc" >&6
28054 # So? What about this header?
28055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28056 yes:no: )
28057 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28058 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28060 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28061 ac_header_preproc=yes
28063 no:yes:* )
28064 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28066 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28067 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28068 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28069 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28070 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28071 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28074 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28075 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28077 cat <<\_ASBOX
28078 ## ----------------------------------------- ##
28079 ## Report this to the package-unused lists. ##
28080 ## ----------------------------------------- ##
28081 _ASBOX
28083 sed "s/^/$as_me: WARNING: /" >&2
28085 esac
28086 echo "$as_me:$LINENO: checking for $ac_header" >&5
28087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28090 else
28091 eval "$as_ac_Header=\$ac_header_preproc"
28093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28098 cat >>confdefs.h <<_ACEOF
28099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28100 _ACEOF
28101 ac_has_wctype_h=yes
28102 else
28103 ac_has_wctype_h=no
28106 done
28109 # Only continue checking if the ISO C99 headers exist and support is on.
28110 if test x"$ac_has_wchar_h" = xyes &&
28111 test x"$ac_has_wctype_h" = xyes &&
28112 test x"$enable_c_mbchar" != xno; then
28114 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28115 # numeric_limits can instantiate type_traits<wchar_t>
28116 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28117 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28118 cat >conftest.$ac_ext <<_ACEOF
28119 /* confdefs.h. */
28120 _ACEOF
28121 cat confdefs.h >>conftest.$ac_ext
28122 cat >>conftest.$ac_ext <<_ACEOF
28123 /* end confdefs.h. */
28124 #include <wchar.h>
28126 main ()
28128 int i = WCHAR_MIN; int j = WCHAR_MAX;
28130 return 0;
28132 _ACEOF
28133 rm -f conftest.$ac_objext
28134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28135 (eval $ac_compile) 2>conftest.er1
28136 ac_status=$?
28137 grep -v '^ *+' conftest.er1 >conftest.err
28138 rm -f conftest.er1
28139 cat conftest.err >&5
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); } &&
28142 { ac_try='test -z "$ac_c_werror_flag"
28143 || test ! -s conftest.err'
28144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28145 (eval $ac_try) 2>&5
28146 ac_status=$?
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); }; } &&
28149 { ac_try='test -s conftest.$ac_objext'
28150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28151 (eval $ac_try) 2>&5
28152 ac_status=$?
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); }; }; then
28155 has_wchar_minmax=yes
28156 else
28157 echo "$as_me: failed program was:" >&5
28158 sed 's/^/| /' conftest.$ac_ext >&5
28160 has_wchar_minmax=no
28162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28163 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28164 echo "${ECHO_T}$has_wchar_minmax" >&6
28166 # Test wchar.h for WEOF, which is what we use to determine whether
28167 # to specialize for char_traits<wchar_t> or not.
28168 echo "$as_me:$LINENO: checking for WEOF" >&5
28169 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28170 cat >conftest.$ac_ext <<_ACEOF
28171 /* confdefs.h. */
28172 _ACEOF
28173 cat confdefs.h >>conftest.$ac_ext
28174 cat >>conftest.$ac_ext <<_ACEOF
28175 /* end confdefs.h. */
28177 #include <wchar.h>
28178 #include <stddef.h>
28180 main ()
28182 wint_t i = WEOF;
28184 return 0;
28186 _ACEOF
28187 rm -f conftest.$ac_objext
28188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28189 (eval $ac_compile) 2>conftest.er1
28190 ac_status=$?
28191 grep -v '^ *+' conftest.er1 >conftest.err
28192 rm -f conftest.er1
28193 cat conftest.err >&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); } &&
28196 { ac_try='test -z "$ac_c_werror_flag"
28197 || test ! -s conftest.err'
28198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28199 (eval $ac_try) 2>&5
28200 ac_status=$?
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); }; } &&
28203 { ac_try='test -s conftest.$ac_objext'
28204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28205 (eval $ac_try) 2>&5
28206 ac_status=$?
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); }; }; then
28209 has_weof=yes
28210 else
28211 echo "$as_me: failed program was:" >&5
28212 sed 's/^/| /' conftest.$ac_ext >&5
28214 has_weof=no
28216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28217 echo "$as_me:$LINENO: result: $has_weof" >&5
28218 echo "${ECHO_T}$has_weof" >&6
28220 # Tests for wide character functions used in char_traits<wchar_t>.
28221 ac_wfuncs=yes
28228 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28231 echo "$as_me:$LINENO: checking for $ac_func" >&5
28232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28233 if eval "test \"\${$as_ac_var+set}\" = set"; then
28234 echo $ECHO_N "(cached) $ECHO_C" >&6
28235 else
28236 if test x$gcc_no_link = xyes; then
28237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28239 { (exit 1); exit 1; }; }
28241 cat >conftest.$ac_ext <<_ACEOF
28242 /* confdefs.h. */
28243 _ACEOF
28244 cat confdefs.h >>conftest.$ac_ext
28245 cat >>conftest.$ac_ext <<_ACEOF
28246 /* end confdefs.h. */
28247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28249 #define $ac_func innocuous_$ac_func
28251 /* System header to define __stub macros and hopefully few prototypes,
28252 which can conflict with char $ac_func (); below.
28253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28254 <limits.h> exists even on freestanding compilers. */
28256 #ifdef __STDC__
28257 # include <limits.h>
28258 #else
28259 # include <assert.h>
28260 #endif
28262 #undef $ac_func
28264 /* Override any gcc2 internal prototype to avoid an error. */
28265 #ifdef __cplusplus
28266 extern "C"
28268 #endif
28269 /* We use char because int might match the return type of a gcc2
28270 builtin and then its argument prototype would still apply. */
28271 char $ac_func ();
28272 /* The GNU C library defines this for functions which it implements
28273 to always fail with ENOSYS. Some functions are actually named
28274 something starting with __ and the normal name is an alias. */
28275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28276 choke me
28277 #else
28278 char (*f) () = $ac_func;
28279 #endif
28280 #ifdef __cplusplus
28282 #endif
28285 main ()
28287 return f != $ac_func;
28289 return 0;
28291 _ACEOF
28292 rm -f conftest.$ac_objext conftest$ac_exeext
28293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28294 (eval $ac_link) 2>conftest.er1
28295 ac_status=$?
28296 grep -v '^ *+' conftest.er1 >conftest.err
28297 rm -f conftest.er1
28298 cat conftest.err >&5
28299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300 (exit $ac_status); } &&
28301 { ac_try='test -z "$ac_c_werror_flag"
28302 || test ! -s conftest.err'
28303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28304 (eval $ac_try) 2>&5
28305 ac_status=$?
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); }; } &&
28308 { ac_try='test -s conftest$ac_exeext'
28309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28310 (eval $ac_try) 2>&5
28311 ac_status=$?
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); }; }; then
28314 eval "$as_ac_var=yes"
28315 else
28316 echo "$as_me: failed program was:" >&5
28317 sed 's/^/| /' conftest.$ac_ext >&5
28319 eval "$as_ac_var=no"
28321 rm -f conftest.err conftest.$ac_objext \
28322 conftest$ac_exeext conftest.$ac_ext
28324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28326 if test `eval echo '${'$as_ac_var'}'` = yes; then
28327 cat >>confdefs.h <<_ACEOF
28328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28329 _ACEOF
28331 else
28332 ac_wfuncs=no
28334 done
28337 # Checks for names injected into std:: by the c_std headers.
28384 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28385 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28386 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28387 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28388 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28389 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28392 echo "$as_me:$LINENO: checking for $ac_func" >&5
28393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28394 if eval "test \"\${$as_ac_var+set}\" = set"; then
28395 echo $ECHO_N "(cached) $ECHO_C" >&6
28396 else
28397 if test x$gcc_no_link = xyes; then
28398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28400 { (exit 1); exit 1; }; }
28402 cat >conftest.$ac_ext <<_ACEOF
28403 /* confdefs.h. */
28404 _ACEOF
28405 cat confdefs.h >>conftest.$ac_ext
28406 cat >>conftest.$ac_ext <<_ACEOF
28407 /* end confdefs.h. */
28408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28410 #define $ac_func innocuous_$ac_func
28412 /* System header to define __stub macros and hopefully few prototypes,
28413 which can conflict with char $ac_func (); below.
28414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28415 <limits.h> exists even on freestanding compilers. */
28417 #ifdef __STDC__
28418 # include <limits.h>
28419 #else
28420 # include <assert.h>
28421 #endif
28423 #undef $ac_func
28425 /* Override any gcc2 internal prototype to avoid an error. */
28426 #ifdef __cplusplus
28427 extern "C"
28429 #endif
28430 /* We use char because int might match the return type of a gcc2
28431 builtin and then its argument prototype would still apply. */
28432 char $ac_func ();
28433 /* The GNU C library defines this for functions which it implements
28434 to always fail with ENOSYS. Some functions are actually named
28435 something starting with __ and the normal name is an alias. */
28436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28437 choke me
28438 #else
28439 char (*f) () = $ac_func;
28440 #endif
28441 #ifdef __cplusplus
28443 #endif
28446 main ()
28448 return f != $ac_func;
28450 return 0;
28452 _ACEOF
28453 rm -f conftest.$ac_objext conftest$ac_exeext
28454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28455 (eval $ac_link) 2>conftest.er1
28456 ac_status=$?
28457 grep -v '^ *+' conftest.er1 >conftest.err
28458 rm -f conftest.er1
28459 cat conftest.err >&5
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); } &&
28462 { ac_try='test -z "$ac_c_werror_flag"
28463 || test ! -s conftest.err'
28464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28465 (eval $ac_try) 2>&5
28466 ac_status=$?
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); }; } &&
28469 { ac_try='test -s conftest$ac_exeext'
28470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471 (eval $ac_try) 2>&5
28472 ac_status=$?
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); }; }; then
28475 eval "$as_ac_var=yes"
28476 else
28477 echo "$as_me: failed program was:" >&5
28478 sed 's/^/| /' conftest.$ac_ext >&5
28480 eval "$as_ac_var=no"
28482 rm -f conftest.err conftest.$ac_objext \
28483 conftest$ac_exeext conftest.$ac_ext
28485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28487 if test `eval echo '${'$as_ac_var'}'` = yes; then
28488 cat >>confdefs.h <<_ACEOF
28489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28490 _ACEOF
28492 else
28493 ac_wfuncs=no
28495 done
28498 # Checks for wide character functions that are not required
28499 # for basic wchar_t support. Don't disable support if they are missing.
28500 # Injection of these is wrapped with guard macros.
28506 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28509 echo "$as_me:$LINENO: checking for $ac_func" >&5
28510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28511 if eval "test \"\${$as_ac_var+set}\" = set"; then
28512 echo $ECHO_N "(cached) $ECHO_C" >&6
28513 else
28514 if test x$gcc_no_link = xyes; then
28515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28517 { (exit 1); exit 1; }; }
28519 cat >conftest.$ac_ext <<_ACEOF
28520 /* confdefs.h. */
28521 _ACEOF
28522 cat confdefs.h >>conftest.$ac_ext
28523 cat >>conftest.$ac_ext <<_ACEOF
28524 /* end confdefs.h. */
28525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28527 #define $ac_func innocuous_$ac_func
28529 /* System header to define __stub macros and hopefully few prototypes,
28530 which can conflict with char $ac_func (); below.
28531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28532 <limits.h> exists even on freestanding compilers. */
28534 #ifdef __STDC__
28535 # include <limits.h>
28536 #else
28537 # include <assert.h>
28538 #endif
28540 #undef $ac_func
28542 /* Override any gcc2 internal prototype to avoid an error. */
28543 #ifdef __cplusplus
28544 extern "C"
28546 #endif
28547 /* We use char because int might match the return type of a gcc2
28548 builtin and then its argument prototype would still apply. */
28549 char $ac_func ();
28550 /* The GNU C library defines this for functions which it implements
28551 to always fail with ENOSYS. Some functions are actually named
28552 something starting with __ and the normal name is an alias. */
28553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28554 choke me
28555 #else
28556 char (*f) () = $ac_func;
28557 #endif
28558 #ifdef __cplusplus
28560 #endif
28563 main ()
28565 return f != $ac_func;
28567 return 0;
28569 _ACEOF
28570 rm -f conftest.$ac_objext conftest$ac_exeext
28571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28572 (eval $ac_link) 2>conftest.er1
28573 ac_status=$?
28574 grep -v '^ *+' conftest.er1 >conftest.err
28575 rm -f conftest.er1
28576 cat conftest.err >&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); } &&
28579 { ac_try='test -z "$ac_c_werror_flag"
28580 || test ! -s conftest.err'
28581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28582 (eval $ac_try) 2>&5
28583 ac_status=$?
28584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28585 (exit $ac_status); }; } &&
28586 { ac_try='test -s conftest$ac_exeext'
28587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28588 (eval $ac_try) 2>&5
28589 ac_status=$?
28590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591 (exit $ac_status); }; }; then
28592 eval "$as_ac_var=yes"
28593 else
28594 echo "$as_me: failed program was:" >&5
28595 sed 's/^/| /' conftest.$ac_ext >&5
28597 eval "$as_ac_var=no"
28599 rm -f conftest.err conftest.$ac_objext \
28600 conftest$ac_exeext conftest.$ac_ext
28602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28604 if test `eval echo '${'$as_ac_var'}'` = yes; then
28605 cat >>confdefs.h <<_ACEOF
28606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28607 _ACEOF
28610 done
28613 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28614 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28615 if test x"$has_weof" = xyes &&
28616 test x"$has_wchar_minmax" = xyes &&
28617 test x"$ac_wfuncs" = xyes;
28618 then
28619 ac_isoC99_wchar_t=yes
28620 else
28621 ac_isoC99_wchar_t=no
28623 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28624 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28626 # Use iconv for wchar_t to char conversions. As such, check for
28627 # X/Open Portability Guide, version 2 features (XPG2).
28628 if test "${ac_cv_header_iconv_h+set}" = set; then
28629 echo "$as_me:$LINENO: checking for iconv.h" >&5
28630 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28631 if test "${ac_cv_header_iconv_h+set}" = set; then
28632 echo $ECHO_N "(cached) $ECHO_C" >&6
28634 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28635 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28636 else
28637 # Is the header compilable?
28638 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28639 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28640 cat >conftest.$ac_ext <<_ACEOF
28641 /* confdefs.h. */
28642 _ACEOF
28643 cat confdefs.h >>conftest.$ac_ext
28644 cat >>conftest.$ac_ext <<_ACEOF
28645 /* end confdefs.h. */
28646 $ac_includes_default
28647 #include <iconv.h>
28648 _ACEOF
28649 rm -f conftest.$ac_objext
28650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28651 (eval $ac_compile) 2>conftest.er1
28652 ac_status=$?
28653 grep -v '^ *+' conftest.er1 >conftest.err
28654 rm -f conftest.er1
28655 cat conftest.err >&5
28656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28657 (exit $ac_status); } &&
28658 { ac_try='test -z "$ac_c_werror_flag"
28659 || test ! -s conftest.err'
28660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28661 (eval $ac_try) 2>&5
28662 ac_status=$?
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); }; } &&
28665 { ac_try='test -s conftest.$ac_objext'
28666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28667 (eval $ac_try) 2>&5
28668 ac_status=$?
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); }; }; then
28671 ac_header_compiler=yes
28672 else
28673 echo "$as_me: failed program was:" >&5
28674 sed 's/^/| /' conftest.$ac_ext >&5
28676 ac_header_compiler=no
28678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28680 echo "${ECHO_T}$ac_header_compiler" >&6
28682 # Is the header present?
28683 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28684 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28685 cat >conftest.$ac_ext <<_ACEOF
28686 /* confdefs.h. */
28687 _ACEOF
28688 cat confdefs.h >>conftest.$ac_ext
28689 cat >>conftest.$ac_ext <<_ACEOF
28690 /* end confdefs.h. */
28691 #include <iconv.h>
28692 _ACEOF
28693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28695 ac_status=$?
28696 grep -v '^ *+' conftest.er1 >conftest.err
28697 rm -f conftest.er1
28698 cat conftest.err >&5
28699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 (exit $ac_status); } >/dev/null; then
28701 if test -s conftest.err; then
28702 ac_cpp_err=$ac_c_preproc_warn_flag
28703 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28704 else
28705 ac_cpp_err=
28707 else
28708 ac_cpp_err=yes
28710 if test -z "$ac_cpp_err"; then
28711 ac_header_preproc=yes
28712 else
28713 echo "$as_me: failed program was:" >&5
28714 sed 's/^/| /' conftest.$ac_ext >&5
28716 ac_header_preproc=no
28718 rm -f conftest.err conftest.$ac_ext
28719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28720 echo "${ECHO_T}$ac_header_preproc" >&6
28722 # So? What about this header?
28723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28724 yes:no: )
28725 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28726 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28727 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28728 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28729 ac_header_preproc=yes
28731 no:yes:* )
28732 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28733 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28734 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28735 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28736 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28737 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28738 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28739 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28740 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28741 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28742 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28743 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28745 cat <<\_ASBOX
28746 ## ----------------------------------------- ##
28747 ## Report this to the package-unused lists. ##
28748 ## ----------------------------------------- ##
28749 _ASBOX
28751 sed "s/^/$as_me: WARNING: /" >&2
28753 esac
28754 echo "$as_me:$LINENO: checking for iconv.h" >&5
28755 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28756 if test "${ac_cv_header_iconv_h+set}" = set; then
28757 echo $ECHO_N "(cached) $ECHO_C" >&6
28758 else
28759 ac_cv_header_iconv_h=$ac_header_preproc
28761 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28762 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28765 if test $ac_cv_header_iconv_h = yes; then
28766 ac_has_iconv_h=yes
28767 else
28768 ac_has_iconv_h=no
28772 if test "${ac_cv_header_langinfo_h+set}" = set; then
28773 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28774 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28775 if test "${ac_cv_header_langinfo_h+set}" = set; then
28776 echo $ECHO_N "(cached) $ECHO_C" >&6
28778 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28779 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28780 else
28781 # Is the header compilable?
28782 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28783 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28784 cat >conftest.$ac_ext <<_ACEOF
28785 /* confdefs.h. */
28786 _ACEOF
28787 cat confdefs.h >>conftest.$ac_ext
28788 cat >>conftest.$ac_ext <<_ACEOF
28789 /* end confdefs.h. */
28790 $ac_includes_default
28791 #include <langinfo.h>
28792 _ACEOF
28793 rm -f conftest.$ac_objext
28794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28795 (eval $ac_compile) 2>conftest.er1
28796 ac_status=$?
28797 grep -v '^ *+' conftest.er1 >conftest.err
28798 rm -f conftest.er1
28799 cat conftest.err >&5
28800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28801 (exit $ac_status); } &&
28802 { ac_try='test -z "$ac_c_werror_flag"
28803 || test ! -s conftest.err'
28804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28805 (eval $ac_try) 2>&5
28806 ac_status=$?
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); }; } &&
28809 { ac_try='test -s conftest.$ac_objext'
28810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28811 (eval $ac_try) 2>&5
28812 ac_status=$?
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); }; }; then
28815 ac_header_compiler=yes
28816 else
28817 echo "$as_me: failed program was:" >&5
28818 sed 's/^/| /' conftest.$ac_ext >&5
28820 ac_header_compiler=no
28822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28823 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28824 echo "${ECHO_T}$ac_header_compiler" >&6
28826 # Is the header present?
28827 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28828 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28829 cat >conftest.$ac_ext <<_ACEOF
28830 /* confdefs.h. */
28831 _ACEOF
28832 cat confdefs.h >>conftest.$ac_ext
28833 cat >>conftest.$ac_ext <<_ACEOF
28834 /* end confdefs.h. */
28835 #include <langinfo.h>
28836 _ACEOF
28837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28838 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28839 ac_status=$?
28840 grep -v '^ *+' conftest.er1 >conftest.err
28841 rm -f conftest.er1
28842 cat conftest.err >&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } >/dev/null; then
28845 if test -s conftest.err; then
28846 ac_cpp_err=$ac_c_preproc_warn_flag
28847 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28848 else
28849 ac_cpp_err=
28851 else
28852 ac_cpp_err=yes
28854 if test -z "$ac_cpp_err"; then
28855 ac_header_preproc=yes
28856 else
28857 echo "$as_me: failed program was:" >&5
28858 sed 's/^/| /' conftest.$ac_ext >&5
28860 ac_header_preproc=no
28862 rm -f conftest.err conftest.$ac_ext
28863 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28864 echo "${ECHO_T}$ac_header_preproc" >&6
28866 # So? What about this header?
28867 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28868 yes:no: )
28869 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28870 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28871 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28872 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28873 ac_header_preproc=yes
28875 no:yes:* )
28876 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28877 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28878 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28879 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28880 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28881 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28882 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28883 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28884 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28885 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28886 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28887 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28889 cat <<\_ASBOX
28890 ## ----------------------------------------- ##
28891 ## Report this to the package-unused lists. ##
28892 ## ----------------------------------------- ##
28893 _ASBOX
28895 sed "s/^/$as_me: WARNING: /" >&2
28897 esac
28898 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28899 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28900 if test "${ac_cv_header_langinfo_h+set}" = set; then
28901 echo $ECHO_N "(cached) $ECHO_C" >&6
28902 else
28903 ac_cv_header_langinfo_h=$ac_header_preproc
28905 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28906 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28909 if test $ac_cv_header_langinfo_h = yes; then
28910 ac_has_langinfo_h=yes
28911 else
28912 ac_has_langinfo_h=no
28917 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28918 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28919 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28920 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28921 echo $ECHO_N "(cached) $ECHO_C" >&6
28922 else
28923 ac_check_lib_save_LIBS=$LIBS
28924 LIBS="-liconv $LIBS"
28925 if test x$gcc_no_link = xyes; then
28926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28928 { (exit 1); exit 1; }; }
28930 cat >conftest.$ac_ext <<_ACEOF
28931 /* confdefs.h. */
28932 _ACEOF
28933 cat confdefs.h >>conftest.$ac_ext
28934 cat >>conftest.$ac_ext <<_ACEOF
28935 /* end confdefs.h. */
28937 /* Override any gcc2 internal prototype to avoid an error. */
28938 #ifdef __cplusplus
28939 extern "C"
28940 #endif
28941 /* We use char because int might match the return type of a gcc2
28942 builtin and then its argument prototype would still apply. */
28943 char iconv ();
28945 main ()
28947 iconv ();
28949 return 0;
28951 _ACEOF
28952 rm -f conftest.$ac_objext conftest$ac_exeext
28953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28954 (eval $ac_link) 2>conftest.er1
28955 ac_status=$?
28956 grep -v '^ *+' conftest.er1 >conftest.err
28957 rm -f conftest.er1
28958 cat conftest.err >&5
28959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28960 (exit $ac_status); } &&
28961 { ac_try='test -z "$ac_c_werror_flag"
28962 || test ! -s conftest.err'
28963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28964 (eval $ac_try) 2>&5
28965 ac_status=$?
28966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28967 (exit $ac_status); }; } &&
28968 { ac_try='test -s conftest$ac_exeext'
28969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28970 (eval $ac_try) 2>&5
28971 ac_status=$?
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); }; }; then
28974 ac_cv_lib_iconv_iconv=yes
28975 else
28976 echo "$as_me: failed program was:" >&5
28977 sed 's/^/| /' conftest.$ac_ext >&5
28979 ac_cv_lib_iconv_iconv=no
28981 rm -f conftest.err conftest.$ac_objext \
28982 conftest$ac_exeext conftest.$ac_ext
28983 LIBS=$ac_check_lib_save_LIBS
28985 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28986 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28987 if test $ac_cv_lib_iconv_iconv = yes; then
28988 LIBICONV="-liconv"
28991 ac_save_LIBS="$LIBS"
28992 LIBS="$LIBS $LIBICONV"
28999 for ac_func in iconv_open iconv_close iconv nl_langinfo
29001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29002 echo "$as_me:$LINENO: checking for $ac_func" >&5
29003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29004 if eval "test \"\${$as_ac_var+set}\" = set"; then
29005 echo $ECHO_N "(cached) $ECHO_C" >&6
29006 else
29007 if test x$gcc_no_link = xyes; then
29008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29010 { (exit 1); exit 1; }; }
29012 cat >conftest.$ac_ext <<_ACEOF
29013 /* confdefs.h. */
29014 _ACEOF
29015 cat confdefs.h >>conftest.$ac_ext
29016 cat >>conftest.$ac_ext <<_ACEOF
29017 /* end confdefs.h. */
29018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29020 #define $ac_func innocuous_$ac_func
29022 /* System header to define __stub macros and hopefully few prototypes,
29023 which can conflict with char $ac_func (); below.
29024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29025 <limits.h> exists even on freestanding compilers. */
29027 #ifdef __STDC__
29028 # include <limits.h>
29029 #else
29030 # include <assert.h>
29031 #endif
29033 #undef $ac_func
29035 /* Override any gcc2 internal prototype to avoid an error. */
29036 #ifdef __cplusplus
29037 extern "C"
29039 #endif
29040 /* We use char because int might match the return type of a gcc2
29041 builtin and then its argument prototype would still apply. */
29042 char $ac_func ();
29043 /* The GNU C library defines this for functions which it implements
29044 to always fail with ENOSYS. Some functions are actually named
29045 something starting with __ and the normal name is an alias. */
29046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29047 choke me
29048 #else
29049 char (*f) () = $ac_func;
29050 #endif
29051 #ifdef __cplusplus
29053 #endif
29056 main ()
29058 return f != $ac_func;
29060 return 0;
29062 _ACEOF
29063 rm -f conftest.$ac_objext conftest$ac_exeext
29064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29065 (eval $ac_link) 2>conftest.er1
29066 ac_status=$?
29067 grep -v '^ *+' conftest.er1 >conftest.err
29068 rm -f conftest.er1
29069 cat conftest.err >&5
29070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29071 (exit $ac_status); } &&
29072 { ac_try='test -z "$ac_c_werror_flag"
29073 || test ! -s conftest.err'
29074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075 (eval $ac_try) 2>&5
29076 ac_status=$?
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; } &&
29079 { ac_try='test -s conftest$ac_exeext'
29080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29081 (eval $ac_try) 2>&5
29082 ac_status=$?
29083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084 (exit $ac_status); }; }; then
29085 eval "$as_ac_var=yes"
29086 else
29087 echo "$as_me: failed program was:" >&5
29088 sed 's/^/| /' conftest.$ac_ext >&5
29090 eval "$as_ac_var=no"
29092 rm -f conftest.err conftest.$ac_objext \
29093 conftest$ac_exeext conftest.$ac_ext
29095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29097 if test `eval echo '${'$as_ac_var'}'` = yes; then
29098 cat >>confdefs.h <<_ACEOF
29099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29100 _ACEOF
29101 ac_XPG2funcs=yes
29102 else
29103 ac_XPG2funcs=no
29105 done
29108 LIBS="$ac_save_LIBS"
29110 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29111 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29112 if test x"$ac_has_iconv_h" = xyes &&
29113 test x"$ac_has_langinfo_h" = xyes &&
29114 test x"$ac_XPG2funcs" = xyes;
29115 then
29116 ac_XPG2_wchar_t=yes
29117 else
29118 ac_XPG2_wchar_t=no
29120 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29121 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29123 # At the moment, only enable wchar_t specializations if all the
29124 # above support is present.
29125 if test x"$ac_isoC99_wchar_t" = xyes &&
29126 test x"$ac_XPG2_wchar_t" = xyes;
29127 then
29128 cat >>confdefs.h <<\_ACEOF
29129 #define _GLIBCXX_USE_WCHAR_T 1
29130 _ACEOF
29132 enable_wchar_t=yes
29135 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29136 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29137 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29138 echo "${ECHO_T}$enable_wchar_t" >&6
29141 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29142 ac_save_CXXFLAGS="$CXXFLAGS"
29143 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29146 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29147 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29148 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29149 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29150 echo $ECHO_N "(cached) $ECHO_C" >&6
29151 else
29155 ac_ext=cc
29156 ac_cpp='$CXXCPP $CPPFLAGS'
29157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29161 cat >conftest.$ac_ext <<_ACEOF
29162 /* confdefs.h. */
29163 _ACEOF
29164 cat confdefs.h >>conftest.$ac_ext
29165 cat >>conftest.$ac_ext <<_ACEOF
29166 /* end confdefs.h. */
29167 #include <stdlib.h>
29169 main ()
29171 strtold(0, 0);
29173 return 0;
29175 _ACEOF
29176 rm -f conftest.$ac_objext
29177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29178 (eval $ac_compile) 2>conftest.er1
29179 ac_status=$?
29180 grep -v '^ *+' conftest.er1 >conftest.err
29181 rm -f conftest.er1
29182 cat conftest.err >&5
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); } &&
29185 { ac_try='test -z "$ac_cxx_werror_flag"
29186 || test ! -s conftest.err'
29187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29188 (eval $ac_try) 2>&5
29189 ac_status=$?
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); }; } &&
29192 { ac_try='test -s conftest.$ac_objext'
29193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29194 (eval $ac_try) 2>&5
29195 ac_status=$?
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); }; }; then
29198 glibcxx_cv_func_strtold_use=yes
29199 else
29200 echo "$as_me: failed program was:" >&5
29201 sed 's/^/| /' conftest.$ac_ext >&5
29203 glibcxx_cv_func_strtold_use=no
29205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29206 ac_ext=c
29207 ac_cpp='$CPP $CPPFLAGS'
29208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29216 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29217 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29218 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29220 for ac_func in strtold
29222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29223 echo "$as_me:$LINENO: checking for $ac_func" >&5
29224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29225 if eval "test \"\${$as_ac_var+set}\" = set"; then
29226 echo $ECHO_N "(cached) $ECHO_C" >&6
29227 else
29228 if test x$gcc_no_link = xyes; then
29229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29231 { (exit 1); exit 1; }; }
29233 cat >conftest.$ac_ext <<_ACEOF
29234 /* confdefs.h. */
29235 _ACEOF
29236 cat confdefs.h >>conftest.$ac_ext
29237 cat >>conftest.$ac_ext <<_ACEOF
29238 /* end confdefs.h. */
29239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29241 #define $ac_func innocuous_$ac_func
29243 /* System header to define __stub macros and hopefully few prototypes,
29244 which can conflict with char $ac_func (); below.
29245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29246 <limits.h> exists even on freestanding compilers. */
29248 #ifdef __STDC__
29249 # include <limits.h>
29250 #else
29251 # include <assert.h>
29252 #endif
29254 #undef $ac_func
29256 /* Override any gcc2 internal prototype to avoid an error. */
29257 #ifdef __cplusplus
29258 extern "C"
29260 #endif
29261 /* We use char because int might match the return type of a gcc2
29262 builtin and then its argument prototype would still apply. */
29263 char $ac_func ();
29264 /* The GNU C library defines this for functions which it implements
29265 to always fail with ENOSYS. Some functions are actually named
29266 something starting with __ and the normal name is an alias. */
29267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29268 choke me
29269 #else
29270 char (*f) () = $ac_func;
29271 #endif
29272 #ifdef __cplusplus
29274 #endif
29277 main ()
29279 return f != $ac_func;
29281 return 0;
29283 _ACEOF
29284 rm -f conftest.$ac_objext conftest$ac_exeext
29285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29286 (eval $ac_link) 2>conftest.er1
29287 ac_status=$?
29288 grep -v '^ *+' conftest.er1 >conftest.err
29289 rm -f conftest.er1
29290 cat conftest.err >&5
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); } &&
29293 { ac_try='test -z "$ac_c_werror_flag"
29294 || test ! -s conftest.err'
29295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29296 (eval $ac_try) 2>&5
29297 ac_status=$?
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); }; } &&
29300 { ac_try='test -s conftest$ac_exeext'
29301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29302 (eval $ac_try) 2>&5
29303 ac_status=$?
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); }; }; then
29306 eval "$as_ac_var=yes"
29307 else
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.$ac_ext >&5
29311 eval "$as_ac_var=no"
29313 rm -f conftest.err conftest.$ac_objext \
29314 conftest$ac_exeext conftest.$ac_ext
29316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29318 if test `eval echo '${'$as_ac_var'}'` = yes; then
29319 cat >>confdefs.h <<_ACEOF
29320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29321 _ACEOF
29324 done
29329 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29330 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29331 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29332 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29333 echo $ECHO_N "(cached) $ECHO_C" >&6
29334 else
29338 ac_ext=cc
29339 ac_cpp='$CXXCPP $CPPFLAGS'
29340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29344 cat >conftest.$ac_ext <<_ACEOF
29345 /* confdefs.h. */
29346 _ACEOF
29347 cat confdefs.h >>conftest.$ac_ext
29348 cat >>conftest.$ac_ext <<_ACEOF
29349 /* end confdefs.h. */
29350 #include <stdlib.h>
29352 main ()
29354 strtof(0, 0);
29356 return 0;
29358 _ACEOF
29359 rm -f conftest.$ac_objext
29360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29361 (eval $ac_compile) 2>conftest.er1
29362 ac_status=$?
29363 grep -v '^ *+' conftest.er1 >conftest.err
29364 rm -f conftest.er1
29365 cat conftest.err >&5
29366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367 (exit $ac_status); } &&
29368 { ac_try='test -z "$ac_cxx_werror_flag"
29369 || test ! -s conftest.err'
29370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29371 (eval $ac_try) 2>&5
29372 ac_status=$?
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); }; } &&
29375 { ac_try='test -s conftest.$ac_objext'
29376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29377 (eval $ac_try) 2>&5
29378 ac_status=$?
29379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380 (exit $ac_status); }; }; then
29381 glibcxx_cv_func_strtof_use=yes
29382 else
29383 echo "$as_me: failed program was:" >&5
29384 sed 's/^/| /' conftest.$ac_ext >&5
29386 glibcxx_cv_func_strtof_use=no
29388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29389 ac_ext=c
29390 ac_cpp='$CPP $CPPFLAGS'
29391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29399 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29400 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29401 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29403 for ac_func in strtof
29405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29406 echo "$as_me:$LINENO: checking for $ac_func" >&5
29407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29408 if eval "test \"\${$as_ac_var+set}\" = set"; then
29409 echo $ECHO_N "(cached) $ECHO_C" >&6
29410 else
29411 if test x$gcc_no_link = xyes; then
29412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29414 { (exit 1); exit 1; }; }
29416 cat >conftest.$ac_ext <<_ACEOF
29417 /* confdefs.h. */
29418 _ACEOF
29419 cat confdefs.h >>conftest.$ac_ext
29420 cat >>conftest.$ac_ext <<_ACEOF
29421 /* end confdefs.h. */
29422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29424 #define $ac_func innocuous_$ac_func
29426 /* System header to define __stub macros and hopefully few prototypes,
29427 which can conflict with char $ac_func (); below.
29428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29429 <limits.h> exists even on freestanding compilers. */
29431 #ifdef __STDC__
29432 # include <limits.h>
29433 #else
29434 # include <assert.h>
29435 #endif
29437 #undef $ac_func
29439 /* Override any gcc2 internal prototype to avoid an error. */
29440 #ifdef __cplusplus
29441 extern "C"
29443 #endif
29444 /* We use char because int might match the return type of a gcc2
29445 builtin and then its argument prototype would still apply. */
29446 char $ac_func ();
29447 /* The GNU C library defines this for functions which it implements
29448 to always fail with ENOSYS. Some functions are actually named
29449 something starting with __ and the normal name is an alias. */
29450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29451 choke me
29452 #else
29453 char (*f) () = $ac_func;
29454 #endif
29455 #ifdef __cplusplus
29457 #endif
29460 main ()
29462 return f != $ac_func;
29464 return 0;
29466 _ACEOF
29467 rm -f conftest.$ac_objext conftest$ac_exeext
29468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29469 (eval $ac_link) 2>conftest.er1
29470 ac_status=$?
29471 grep -v '^ *+' conftest.er1 >conftest.err
29472 rm -f conftest.er1
29473 cat conftest.err >&5
29474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475 (exit $ac_status); } &&
29476 { ac_try='test -z "$ac_c_werror_flag"
29477 || test ! -s conftest.err'
29478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29479 (eval $ac_try) 2>&5
29480 ac_status=$?
29481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482 (exit $ac_status); }; } &&
29483 { ac_try='test -s conftest$ac_exeext'
29484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29485 (eval $ac_try) 2>&5
29486 ac_status=$?
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); }; }; then
29489 eval "$as_ac_var=yes"
29490 else
29491 echo "$as_me: failed program was:" >&5
29492 sed 's/^/| /' conftest.$ac_ext >&5
29494 eval "$as_ac_var=no"
29496 rm -f conftest.err conftest.$ac_objext \
29497 conftest$ac_exeext conftest.$ac_ext
29499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29501 if test `eval echo '${'$as_ac_var'}'` = yes; then
29502 cat >>confdefs.h <<_ACEOF
29503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29504 _ACEOF
29507 done
29512 CXXFLAGS="$ac_save_CXXFLAGS"
29515 # For showmanyc_helper().
29518 for ac_header in sys/ioctl.h sys/filio.h
29520 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29522 echo "$as_me:$LINENO: checking for $ac_header" >&5
29523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29525 echo $ECHO_N "(cached) $ECHO_C" >&6
29527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29529 else
29530 # Is the header compilable?
29531 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29532 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29533 cat >conftest.$ac_ext <<_ACEOF
29534 /* confdefs.h. */
29535 _ACEOF
29536 cat confdefs.h >>conftest.$ac_ext
29537 cat >>conftest.$ac_ext <<_ACEOF
29538 /* end confdefs.h. */
29539 $ac_includes_default
29540 #include <$ac_header>
29541 _ACEOF
29542 rm -f conftest.$ac_objext
29543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29544 (eval $ac_compile) 2>conftest.er1
29545 ac_status=$?
29546 grep -v '^ *+' conftest.er1 >conftest.err
29547 rm -f conftest.er1
29548 cat conftest.err >&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } &&
29551 { ac_try='test -z "$ac_c_werror_flag"
29552 || test ! -s conftest.err'
29553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29554 (eval $ac_try) 2>&5
29555 ac_status=$?
29556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557 (exit $ac_status); }; } &&
29558 { ac_try='test -s conftest.$ac_objext'
29559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29560 (eval $ac_try) 2>&5
29561 ac_status=$?
29562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29563 (exit $ac_status); }; }; then
29564 ac_header_compiler=yes
29565 else
29566 echo "$as_me: failed program was:" >&5
29567 sed 's/^/| /' conftest.$ac_ext >&5
29569 ac_header_compiler=no
29571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29573 echo "${ECHO_T}$ac_header_compiler" >&6
29575 # Is the header present?
29576 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29578 cat >conftest.$ac_ext <<_ACEOF
29579 /* confdefs.h. */
29580 _ACEOF
29581 cat confdefs.h >>conftest.$ac_ext
29582 cat >>conftest.$ac_ext <<_ACEOF
29583 /* end confdefs.h. */
29584 #include <$ac_header>
29585 _ACEOF
29586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29587 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29588 ac_status=$?
29589 grep -v '^ *+' conftest.er1 >conftest.err
29590 rm -f conftest.er1
29591 cat conftest.err >&5
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); } >/dev/null; then
29594 if test -s conftest.err; then
29595 ac_cpp_err=$ac_c_preproc_warn_flag
29596 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29597 else
29598 ac_cpp_err=
29600 else
29601 ac_cpp_err=yes
29603 if test -z "$ac_cpp_err"; then
29604 ac_header_preproc=yes
29605 else
29606 echo "$as_me: failed program was:" >&5
29607 sed 's/^/| /' conftest.$ac_ext >&5
29609 ac_header_preproc=no
29611 rm -f conftest.err conftest.$ac_ext
29612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29613 echo "${ECHO_T}$ac_header_preproc" >&6
29615 # So? What about this header?
29616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29617 yes:no: )
29618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29622 ac_header_preproc=yes
29624 no:yes:* )
29625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29638 cat <<\_ASBOX
29639 ## ----------------------------------------- ##
29640 ## Report this to the package-unused lists. ##
29641 ## ----------------------------------------- ##
29642 _ASBOX
29644 sed "s/^/$as_me: WARNING: /" >&2
29646 esac
29647 echo "$as_me:$LINENO: checking for $ac_header" >&5
29648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29650 echo $ECHO_N "(cached) $ECHO_C" >&6
29651 else
29652 eval "$as_ac_Header=\$ac_header_preproc"
29654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29659 cat >>confdefs.h <<_ACEOF
29660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29661 _ACEOF
29665 done
29668 if test "${glibcxx_cv_POLL+set}" = set; then
29669 echo $ECHO_N "(cached) $ECHO_C" >&6
29670 else
29672 if test x$gcc_no_link = xyes; then
29673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29675 { (exit 1); exit 1; }; }
29677 cat >conftest.$ac_ext <<_ACEOF
29678 /* confdefs.h. */
29679 _ACEOF
29680 cat confdefs.h >>conftest.$ac_ext
29681 cat >>conftest.$ac_ext <<_ACEOF
29682 /* end confdefs.h. */
29683 #include <poll.h>
29685 main ()
29687 struct pollfd pfd[1];
29688 pfd[0].events = POLLIN;
29689 poll(pfd, 1, 0);
29691 return 0;
29693 _ACEOF
29694 rm -f conftest.$ac_objext conftest$ac_exeext
29695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29696 (eval $ac_link) 2>conftest.er1
29697 ac_status=$?
29698 grep -v '^ *+' conftest.er1 >conftest.err
29699 rm -f conftest.er1
29700 cat conftest.err >&5
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); } &&
29703 { ac_try='test -z "$ac_c_werror_flag"
29704 || test ! -s conftest.err'
29705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29706 (eval $ac_try) 2>&5
29707 ac_status=$?
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; } &&
29710 { ac_try='test -s conftest$ac_exeext'
29711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29712 (eval $ac_try) 2>&5
29713 ac_status=$?
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); }; }; then
29716 glibcxx_cv_POLL=yes
29717 else
29718 echo "$as_me: failed program was:" >&5
29719 sed 's/^/| /' conftest.$ac_ext >&5
29721 glibcxx_cv_POLL=no
29723 rm -f conftest.err conftest.$ac_objext \
29724 conftest$ac_exeext conftest.$ac_ext
29728 if test $glibcxx_cv_POLL = yes; then
29729 cat >>confdefs.h <<\_ACEOF
29730 #define HAVE_POLL 1
29731 _ACEOF
29736 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29737 echo $ECHO_N "(cached) $ECHO_C" >&6
29738 else
29740 if test x$gcc_no_link = xyes; then
29741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29743 { (exit 1); exit 1; }; }
29745 cat >conftest.$ac_ext <<_ACEOF
29746 /* confdefs.h. */
29747 _ACEOF
29748 cat confdefs.h >>conftest.$ac_ext
29749 cat >>conftest.$ac_ext <<_ACEOF
29750 /* end confdefs.h. */
29751 #include <sys/stat.h>
29753 main ()
29755 struct stat buffer;
29756 fstat(0, &buffer);
29757 S_ISREG(buffer.st_mode);
29759 return 0;
29761 _ACEOF
29762 rm -f conftest.$ac_objext conftest$ac_exeext
29763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29764 (eval $ac_link) 2>conftest.er1
29765 ac_status=$?
29766 grep -v '^ *+' conftest.er1 >conftest.err
29767 rm -f conftest.er1
29768 cat conftest.err >&5
29769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29770 (exit $ac_status); } &&
29771 { ac_try='test -z "$ac_c_werror_flag"
29772 || test ! -s conftest.err'
29773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29774 (eval $ac_try) 2>&5
29775 ac_status=$?
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); }; } &&
29778 { ac_try='test -s conftest$ac_exeext'
29779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780 (eval $ac_try) 2>&5
29781 ac_status=$?
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; }; then
29784 glibcxx_cv_S_ISREG=yes
29785 else
29786 echo "$as_me: failed program was:" >&5
29787 sed 's/^/| /' conftest.$ac_ext >&5
29789 glibcxx_cv_S_ISREG=no
29791 rm -f conftest.err conftest.$ac_objext \
29792 conftest$ac_exeext conftest.$ac_ext
29796 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29798 else
29800 if test x$gcc_no_link = xyes; then
29801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29803 { (exit 1); exit 1; }; }
29805 cat >conftest.$ac_ext <<_ACEOF
29806 /* confdefs.h. */
29807 _ACEOF
29808 cat confdefs.h >>conftest.$ac_ext
29809 cat >>conftest.$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29811 #include <sys/stat.h>
29813 main ()
29815 struct stat buffer;
29816 fstat(0, &buffer);
29817 S_IFREG & buffer.st_mode;
29819 return 0;
29821 _ACEOF
29822 rm -f conftest.$ac_objext conftest$ac_exeext
29823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29824 (eval $ac_link) 2>conftest.er1
29825 ac_status=$?
29826 grep -v '^ *+' conftest.er1 >conftest.err
29827 rm -f conftest.er1
29828 cat conftest.err >&5
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); } &&
29831 { ac_try='test -z "$ac_c_werror_flag"
29832 || test ! -s conftest.err'
29833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834 (eval $ac_try) 2>&5
29835 ac_status=$?
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); }; } &&
29838 { ac_try='test -s conftest$ac_exeext'
29839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29840 (eval $ac_try) 2>&5
29841 ac_status=$?
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); }; }; then
29844 glibcxx_cv_S_IFREG=yes
29845 else
29846 echo "$as_me: failed program was:" >&5
29847 sed 's/^/| /' conftest.$ac_ext >&5
29849 glibcxx_cv_S_IFREG=no
29851 rm -f conftest.err conftest.$ac_objext \
29852 conftest$ac_exeext conftest.$ac_ext
29856 if test $glibcxx_cv_S_ISREG = yes; then
29857 cat >>confdefs.h <<\_ACEOF
29858 #define HAVE_S_ISREG 1
29859 _ACEOF
29861 elif test $glibcxx_cv_S_IFREG = yes; then
29862 cat >>confdefs.h <<\_ACEOF
29863 #define HAVE_S_IFREG 1
29864 _ACEOF
29869 # For xsputn_2().
29871 for ac_header in sys/uio.h
29873 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29875 echo "$as_me:$LINENO: checking for $ac_header" >&5
29876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29878 echo $ECHO_N "(cached) $ECHO_C" >&6
29880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29882 else
29883 # Is the header compilable?
29884 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29885 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29886 cat >conftest.$ac_ext <<_ACEOF
29887 /* confdefs.h. */
29888 _ACEOF
29889 cat confdefs.h >>conftest.$ac_ext
29890 cat >>conftest.$ac_ext <<_ACEOF
29891 /* end confdefs.h. */
29892 $ac_includes_default
29893 #include <$ac_header>
29894 _ACEOF
29895 rm -f conftest.$ac_objext
29896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29897 (eval $ac_compile) 2>conftest.er1
29898 ac_status=$?
29899 grep -v '^ *+' conftest.er1 >conftest.err
29900 rm -f conftest.er1
29901 cat conftest.err >&5
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); } &&
29904 { ac_try='test -z "$ac_c_werror_flag"
29905 || test ! -s conftest.err'
29906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29907 (eval $ac_try) 2>&5
29908 ac_status=$?
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); }; } &&
29911 { ac_try='test -s conftest.$ac_objext'
29912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29913 (eval $ac_try) 2>&5
29914 ac_status=$?
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); }; }; then
29917 ac_header_compiler=yes
29918 else
29919 echo "$as_me: failed program was:" >&5
29920 sed 's/^/| /' conftest.$ac_ext >&5
29922 ac_header_compiler=no
29924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29926 echo "${ECHO_T}$ac_header_compiler" >&6
29928 # Is the header present?
29929 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29931 cat >conftest.$ac_ext <<_ACEOF
29932 /* confdefs.h. */
29933 _ACEOF
29934 cat confdefs.h >>conftest.$ac_ext
29935 cat >>conftest.$ac_ext <<_ACEOF
29936 /* end confdefs.h. */
29937 #include <$ac_header>
29938 _ACEOF
29939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29941 ac_status=$?
29942 grep -v '^ *+' conftest.er1 >conftest.err
29943 rm -f conftest.er1
29944 cat conftest.err >&5
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); } >/dev/null; then
29947 if test -s conftest.err; then
29948 ac_cpp_err=$ac_c_preproc_warn_flag
29949 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29950 else
29951 ac_cpp_err=
29953 else
29954 ac_cpp_err=yes
29956 if test -z "$ac_cpp_err"; then
29957 ac_header_preproc=yes
29958 else
29959 echo "$as_me: failed program was:" >&5
29960 sed 's/^/| /' conftest.$ac_ext >&5
29962 ac_header_preproc=no
29964 rm -f conftest.err conftest.$ac_ext
29965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29966 echo "${ECHO_T}$ac_header_preproc" >&6
29968 # So? What about this header?
29969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29970 yes:no: )
29971 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29972 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29974 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29975 ac_header_preproc=yes
29977 no:yes:* )
29978 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29979 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29980 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29981 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29982 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29983 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29984 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29985 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29988 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29989 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29991 cat <<\_ASBOX
29992 ## ----------------------------------------- ##
29993 ## Report this to the package-unused lists. ##
29994 ## ----------------------------------------- ##
29995 _ASBOX
29997 sed "s/^/$as_me: WARNING: /" >&2
29999 esac
30000 echo "$as_me:$LINENO: checking for $ac_header" >&5
30001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30003 echo $ECHO_N "(cached) $ECHO_C" >&6
30004 else
30005 eval "$as_ac_Header=\$ac_header_preproc"
30007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30011 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30012 cat >>confdefs.h <<_ACEOF
30013 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30014 _ACEOF
30018 done
30021 if test "${glibcxx_cv_WRITEV+set}" = set; then
30022 echo $ECHO_N "(cached) $ECHO_C" >&6
30023 else
30025 if test x$gcc_no_link = xyes; then
30026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30028 { (exit 1); exit 1; }; }
30030 cat >conftest.$ac_ext <<_ACEOF
30031 /* confdefs.h. */
30032 _ACEOF
30033 cat confdefs.h >>conftest.$ac_ext
30034 cat >>conftest.$ac_ext <<_ACEOF
30035 /* end confdefs.h. */
30036 #include <sys/uio.h>
30038 main ()
30040 struct iovec iov[2];
30041 writev(0, iov, 0);
30043 return 0;
30045 _ACEOF
30046 rm -f conftest.$ac_objext conftest$ac_exeext
30047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30048 (eval $ac_link) 2>conftest.er1
30049 ac_status=$?
30050 grep -v '^ *+' conftest.er1 >conftest.err
30051 rm -f conftest.er1
30052 cat conftest.err >&5
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); } &&
30055 { ac_try='test -z "$ac_c_werror_flag"
30056 || test ! -s conftest.err'
30057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30058 (eval $ac_try) 2>&5
30059 ac_status=$?
30060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30061 (exit $ac_status); }; } &&
30062 { ac_try='test -s conftest$ac_exeext'
30063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30064 (eval $ac_try) 2>&5
30065 ac_status=$?
30066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067 (exit $ac_status); }; }; then
30068 glibcxx_cv_WRITEV=yes
30069 else
30070 echo "$as_me: failed program was:" >&5
30071 sed 's/^/| /' conftest.$ac_ext >&5
30073 glibcxx_cv_WRITEV=no
30075 rm -f conftest.err conftest.$ac_objext \
30076 conftest$ac_exeext conftest.$ac_ext
30080 if test $glibcxx_cv_WRITEV = yes; then
30081 cat >>confdefs.h <<\_ACEOF
30082 #define HAVE_WRITEV 1
30083 _ACEOF
30088 # For the __streamoff_base_type typedef.
30090 if test "${glibcxx_cv_INT64_T+set}" = set; then
30091 echo $ECHO_N "(cached) $ECHO_C" >&6
30092 else
30094 cat >conftest.$ac_ext <<_ACEOF
30095 /* confdefs.h. */
30096 _ACEOF
30097 cat confdefs.h >>conftest.$ac_ext
30098 cat >>conftest.$ac_ext <<_ACEOF
30099 /* end confdefs.h. */
30100 #include <stdint.h>
30102 main ()
30104 int64_t var;
30106 return 0;
30108 _ACEOF
30109 rm -f conftest.$ac_objext
30110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30111 (eval $ac_compile) 2>conftest.er1
30112 ac_status=$?
30113 grep -v '^ *+' conftest.er1 >conftest.err
30114 rm -f conftest.er1
30115 cat conftest.err >&5
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); } &&
30118 { ac_try='test -z "$ac_c_werror_flag"
30119 || test ! -s conftest.err'
30120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30121 (eval $ac_try) 2>&5
30122 ac_status=$?
30123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124 (exit $ac_status); }; } &&
30125 { ac_try='test -s conftest.$ac_objext'
30126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30127 (eval $ac_try) 2>&5
30128 ac_status=$?
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); }; }; then
30131 glibcxx_cv_INT64_T=yes
30132 else
30133 echo "$as_me: failed program was:" >&5
30134 sed 's/^/| /' conftest.$ac_ext >&5
30136 glibcxx_cv_INT64_T=no
30138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30142 if test $glibcxx_cv_INT64_T = yes; then
30143 cat >>confdefs.h <<\_ACEOF
30144 #define HAVE_INT64_T 1
30145 _ACEOF
30150 # For LFS support.
30154 ac_ext=cc
30155 ac_cpp='$CXXCPP $CPPFLAGS'
30156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30160 ac_save_CXXFLAGS="$CXXFLAGS"
30161 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30162 if test "${glibcxx_cv_LFS+set}" = set; then
30163 echo $ECHO_N "(cached) $ECHO_C" >&6
30164 else
30166 if test x$gcc_no_link = xyes; then
30167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30169 { (exit 1); exit 1; }; }
30171 cat >conftest.$ac_ext <<_ACEOF
30172 /* confdefs.h. */
30173 _ACEOF
30174 cat confdefs.h >>conftest.$ac_ext
30175 cat >>conftest.$ac_ext <<_ACEOF
30176 /* end confdefs.h. */
30177 #include <unistd.h>
30178 #include <stdio.h>
30179 #include <sys/stat.h>
30182 main ()
30184 FILE* fp;
30185 fopen64("t", "w");
30186 fseeko64(fp, 0, SEEK_CUR);
30187 ftello64(fp);
30188 lseek64(1, 0, SEEK_CUR);
30189 struct stat64 buf;
30190 fstat64(1, &buf);
30192 return 0;
30194 _ACEOF
30195 rm -f conftest.$ac_objext conftest$ac_exeext
30196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30197 (eval $ac_link) 2>conftest.er1
30198 ac_status=$?
30199 grep -v '^ *+' conftest.er1 >conftest.err
30200 rm -f conftest.er1
30201 cat conftest.err >&5
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); } &&
30204 { ac_try='test -z "$ac_cxx_werror_flag"
30205 || test ! -s conftest.err'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30208 ac_status=$?
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; } &&
30211 { ac_try='test -s conftest$ac_exeext'
30212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213 (eval $ac_try) 2>&5
30214 ac_status=$?
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); }; }; then
30217 glibcxx_cv_LFS=yes
30218 else
30219 echo "$as_me: failed program was:" >&5
30220 sed 's/^/| /' conftest.$ac_ext >&5
30222 glibcxx_cv_LFS=no
30224 rm -f conftest.err conftest.$ac_objext \
30225 conftest$ac_exeext conftest.$ac_ext
30229 if test $glibcxx_cv_LFS = yes; then
30230 cat >>confdefs.h <<\_ACEOF
30231 #define _GLIBCXX_USE_LFS 1
30232 _ACEOF
30235 CXXFLAGS="$ac_save_CXXFLAGS"
30236 ac_ext=c
30237 ac_cpp='$CPP $CPPFLAGS'
30238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30245 if test "${ac_cv_header_locale_h+set}" = set; then
30246 echo "$as_me:$LINENO: checking for locale.h" >&5
30247 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30248 if test "${ac_cv_header_locale_h+set}" = set; then
30249 echo $ECHO_N "(cached) $ECHO_C" >&6
30251 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30252 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30253 else
30254 # Is the header compilable?
30255 echo "$as_me:$LINENO: checking locale.h usability" >&5
30256 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30257 cat >conftest.$ac_ext <<_ACEOF
30258 /* confdefs.h. */
30259 _ACEOF
30260 cat confdefs.h >>conftest.$ac_ext
30261 cat >>conftest.$ac_ext <<_ACEOF
30262 /* end confdefs.h. */
30263 $ac_includes_default
30264 #include <locale.h>
30265 _ACEOF
30266 rm -f conftest.$ac_objext
30267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30268 (eval $ac_compile) 2>conftest.er1
30269 ac_status=$?
30270 grep -v '^ *+' conftest.er1 >conftest.err
30271 rm -f conftest.er1
30272 cat conftest.err >&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); } &&
30275 { ac_try='test -z "$ac_c_werror_flag"
30276 || test ! -s conftest.err'
30277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30278 (eval $ac_try) 2>&5
30279 ac_status=$?
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); }; } &&
30282 { ac_try='test -s conftest.$ac_objext'
30283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30284 (eval $ac_try) 2>&5
30285 ac_status=$?
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); }; }; then
30288 ac_header_compiler=yes
30289 else
30290 echo "$as_me: failed program was:" >&5
30291 sed 's/^/| /' conftest.$ac_ext >&5
30293 ac_header_compiler=no
30295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30297 echo "${ECHO_T}$ac_header_compiler" >&6
30299 # Is the header present?
30300 echo "$as_me:$LINENO: checking locale.h presence" >&5
30301 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30302 cat >conftest.$ac_ext <<_ACEOF
30303 /* confdefs.h. */
30304 _ACEOF
30305 cat confdefs.h >>conftest.$ac_ext
30306 cat >>conftest.$ac_ext <<_ACEOF
30307 /* end confdefs.h. */
30308 #include <locale.h>
30309 _ACEOF
30310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30312 ac_status=$?
30313 grep -v '^ *+' conftest.er1 >conftest.err
30314 rm -f conftest.er1
30315 cat conftest.err >&5
30316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30317 (exit $ac_status); } >/dev/null; then
30318 if test -s conftest.err; then
30319 ac_cpp_err=$ac_c_preproc_warn_flag
30320 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30321 else
30322 ac_cpp_err=
30324 else
30325 ac_cpp_err=yes
30327 if test -z "$ac_cpp_err"; then
30328 ac_header_preproc=yes
30329 else
30330 echo "$as_me: failed program was:" >&5
30331 sed 's/^/| /' conftest.$ac_ext >&5
30333 ac_header_preproc=no
30335 rm -f conftest.err conftest.$ac_ext
30336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30337 echo "${ECHO_T}$ac_header_preproc" >&6
30339 # So? What about this header?
30340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30341 yes:no: )
30342 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30343 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30344 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30345 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30346 ac_header_preproc=yes
30348 no:yes:* )
30349 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30350 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30351 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30352 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30353 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30354 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30355 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30356 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30357 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30358 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30359 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30360 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30362 cat <<\_ASBOX
30363 ## ----------------------------------------- ##
30364 ## Report this to the package-unused lists. ##
30365 ## ----------------------------------------- ##
30366 _ASBOX
30368 sed "s/^/$as_me: WARNING: /" >&2
30370 esac
30371 echo "$as_me:$LINENO: checking for locale.h" >&5
30372 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30373 if test "${ac_cv_header_locale_h+set}" = set; then
30374 echo $ECHO_N "(cached) $ECHO_C" >&6
30375 else
30376 ac_cv_header_locale_h=$ac_header_preproc
30378 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30379 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30382 if test $ac_cv_header_locale_h = yes; then
30384 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30385 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30386 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30387 echo $ECHO_N "(cached) $ECHO_C" >&6
30388 else
30389 if test x$gcc_no_link = xyes; then
30390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30392 { (exit 1); exit 1; }; }
30394 cat >conftest.$ac_ext <<_ACEOF
30395 /* confdefs.h. */
30396 _ACEOF
30397 cat confdefs.h >>conftest.$ac_ext
30398 cat >>conftest.$ac_ext <<_ACEOF
30399 /* end confdefs.h. */
30400 #include <locale.h>
30402 main ()
30404 return LC_MESSAGES
30406 return 0;
30408 _ACEOF
30409 rm -f conftest.$ac_objext conftest$ac_exeext
30410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30411 (eval $ac_link) 2>conftest.er1
30412 ac_status=$?
30413 grep -v '^ *+' conftest.er1 >conftest.err
30414 rm -f conftest.er1
30415 cat conftest.err >&5
30416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417 (exit $ac_status); } &&
30418 { ac_try='test -z "$ac_c_werror_flag"
30419 || test ! -s conftest.err'
30420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30421 (eval $ac_try) 2>&5
30422 ac_status=$?
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); }; } &&
30425 { ac_try='test -s conftest$ac_exeext'
30426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30427 (eval $ac_try) 2>&5
30428 ac_status=$?
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); }; }; then
30431 ac_cv_val_LC_MESSAGES=yes
30432 else
30433 echo "$as_me: failed program was:" >&5
30434 sed 's/^/| /' conftest.$ac_ext >&5
30436 ac_cv_val_LC_MESSAGES=no
30438 rm -f conftest.err conftest.$ac_objext \
30439 conftest$ac_exeext conftest.$ac_ext
30441 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30442 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30443 if test $ac_cv_val_LC_MESSAGES = yes; then
30444 cat >>confdefs.h <<\_ACEOF
30445 #define HAVE_LC_MESSAGES 1
30446 _ACEOF
30455 cat >conftest.$ac_ext <<_ACEOF
30456 /* confdefs.h. */
30457 _ACEOF
30458 cat confdefs.h >>conftest.$ac_ext
30459 cat >>conftest.$ac_ext <<_ACEOF
30460 /* end confdefs.h. */
30461 #include <setjmp.h>
30463 main ()
30465 sigjmp_buf env;
30466 while (! sigsetjmp (env, 1))
30467 siglongjmp (env, 1);
30470 return 0;
30472 _ACEOF
30473 rm -f conftest.$ac_objext
30474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30475 (eval $ac_compile) 2>conftest.er1
30476 ac_status=$?
30477 grep -v '^ *+' conftest.er1 >conftest.err
30478 rm -f conftest.er1
30479 cat conftest.err >&5
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); } &&
30482 { ac_try='test -z "$ac_c_werror_flag"
30483 || test ! -s conftest.err'
30484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30485 (eval $ac_try) 2>&5
30486 ac_status=$?
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); }; } &&
30489 { ac_try='test -s conftest.$ac_objext'
30490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30491 (eval $ac_try) 2>&5
30492 ac_status=$?
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); }; }; then
30496 cat >>confdefs.h <<\_ACEOF
30497 #define HAVE_SIGSETJMP 1
30498 _ACEOF
30500 else
30501 echo "$as_me: failed program was:" >&5
30502 sed 's/^/| /' conftest.$ac_ext >&5
30505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30507 if test x$gcc_no_link = xyes; then
30508 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30509 ac_cv_func_mmap_fixed_mapped=no
30512 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30515 for ac_header in stdlib.h unistd.h
30517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30519 echo "$as_me:$LINENO: checking for $ac_header" >&5
30520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30522 echo $ECHO_N "(cached) $ECHO_C" >&6
30524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30526 else
30527 # Is the header compilable?
30528 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30530 cat >conftest.$ac_ext <<_ACEOF
30531 /* confdefs.h. */
30532 _ACEOF
30533 cat confdefs.h >>conftest.$ac_ext
30534 cat >>conftest.$ac_ext <<_ACEOF
30535 /* end confdefs.h. */
30536 $ac_includes_default
30537 #include <$ac_header>
30538 _ACEOF
30539 rm -f conftest.$ac_objext
30540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30541 (eval $ac_compile) 2>conftest.er1
30542 ac_status=$?
30543 grep -v '^ *+' conftest.er1 >conftest.err
30544 rm -f conftest.er1
30545 cat conftest.err >&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); } &&
30548 { ac_try='test -z "$ac_c_werror_flag"
30549 || test ! -s conftest.err'
30550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30551 (eval $ac_try) 2>&5
30552 ac_status=$?
30553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30554 (exit $ac_status); }; } &&
30555 { ac_try='test -s conftest.$ac_objext'
30556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30557 (eval $ac_try) 2>&5
30558 ac_status=$?
30559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560 (exit $ac_status); }; }; then
30561 ac_header_compiler=yes
30562 else
30563 echo "$as_me: failed program was:" >&5
30564 sed 's/^/| /' conftest.$ac_ext >&5
30566 ac_header_compiler=no
30568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30570 echo "${ECHO_T}$ac_header_compiler" >&6
30572 # Is the header present?
30573 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30574 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30575 cat >conftest.$ac_ext <<_ACEOF
30576 /* confdefs.h. */
30577 _ACEOF
30578 cat confdefs.h >>conftest.$ac_ext
30579 cat >>conftest.$ac_ext <<_ACEOF
30580 /* end confdefs.h. */
30581 #include <$ac_header>
30582 _ACEOF
30583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30585 ac_status=$?
30586 grep -v '^ *+' conftest.er1 >conftest.err
30587 rm -f conftest.er1
30588 cat conftest.err >&5
30589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30590 (exit $ac_status); } >/dev/null; then
30591 if test -s conftest.err; then
30592 ac_cpp_err=$ac_c_preproc_warn_flag
30593 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30594 else
30595 ac_cpp_err=
30597 else
30598 ac_cpp_err=yes
30600 if test -z "$ac_cpp_err"; then
30601 ac_header_preproc=yes
30602 else
30603 echo "$as_me: failed program was:" >&5
30604 sed 's/^/| /' conftest.$ac_ext >&5
30606 ac_header_preproc=no
30608 rm -f conftest.err conftest.$ac_ext
30609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30610 echo "${ECHO_T}$ac_header_preproc" >&6
30612 # So? What about this header?
30613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30614 yes:no: )
30615 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30616 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30618 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30619 ac_header_preproc=yes
30621 no:yes:* )
30622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30626 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30627 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30628 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30629 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30632 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30633 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30635 cat <<\_ASBOX
30636 ## ----------------------------------------- ##
30637 ## Report this to the package-unused lists. ##
30638 ## ----------------------------------------- ##
30639 _ASBOX
30641 sed "s/^/$as_me: WARNING: /" >&2
30643 esac
30644 echo "$as_me:$LINENO: checking for $ac_header" >&5
30645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30647 echo $ECHO_N "(cached) $ECHO_C" >&6
30648 else
30649 eval "$as_ac_Header=\$ac_header_preproc"
30651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30656 cat >>confdefs.h <<_ACEOF
30657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30658 _ACEOF
30662 done
30665 for ac_func in getpagesize
30667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30668 echo "$as_me:$LINENO: checking for $ac_func" >&5
30669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30670 if eval "test \"\${$as_ac_var+set}\" = set"; then
30671 echo $ECHO_N "(cached) $ECHO_C" >&6
30672 else
30673 if test x$gcc_no_link = xyes; then
30674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30676 { (exit 1); exit 1; }; }
30678 cat >conftest.$ac_ext <<_ACEOF
30679 /* confdefs.h. */
30680 _ACEOF
30681 cat confdefs.h >>conftest.$ac_ext
30682 cat >>conftest.$ac_ext <<_ACEOF
30683 /* end confdefs.h. */
30684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30686 #define $ac_func innocuous_$ac_func
30688 /* System header to define __stub macros and hopefully few prototypes,
30689 which can conflict with char $ac_func (); below.
30690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30691 <limits.h> exists even on freestanding compilers. */
30693 #ifdef __STDC__
30694 # include <limits.h>
30695 #else
30696 # include <assert.h>
30697 #endif
30699 #undef $ac_func
30701 /* Override any gcc2 internal prototype to avoid an error. */
30702 #ifdef __cplusplus
30703 extern "C"
30705 #endif
30706 /* We use char because int might match the return type of a gcc2
30707 builtin and then its argument prototype would still apply. */
30708 char $ac_func ();
30709 /* The GNU C library defines this for functions which it implements
30710 to always fail with ENOSYS. Some functions are actually named
30711 something starting with __ and the normal name is an alias. */
30712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30713 choke me
30714 #else
30715 char (*f) () = $ac_func;
30716 #endif
30717 #ifdef __cplusplus
30719 #endif
30722 main ()
30724 return f != $ac_func;
30726 return 0;
30728 _ACEOF
30729 rm -f conftest.$ac_objext conftest$ac_exeext
30730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30731 (eval $ac_link) 2>conftest.er1
30732 ac_status=$?
30733 grep -v '^ *+' conftest.er1 >conftest.err
30734 rm -f conftest.er1
30735 cat conftest.err >&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); } &&
30738 { ac_try='test -z "$ac_c_werror_flag"
30739 || test ! -s conftest.err'
30740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30741 (eval $ac_try) 2>&5
30742 ac_status=$?
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); }; } &&
30745 { ac_try='test -s conftest$ac_exeext'
30746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30747 (eval $ac_try) 2>&5
30748 ac_status=$?
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); }; }; then
30751 eval "$as_ac_var=yes"
30752 else
30753 echo "$as_me: failed program was:" >&5
30754 sed 's/^/| /' conftest.$ac_ext >&5
30756 eval "$as_ac_var=no"
30758 rm -f conftest.err conftest.$ac_objext \
30759 conftest$ac_exeext conftest.$ac_ext
30761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30763 if test `eval echo '${'$as_ac_var'}'` = yes; then
30764 cat >>confdefs.h <<_ACEOF
30765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30766 _ACEOF
30769 done
30771 echo "$as_me:$LINENO: checking for working mmap" >&5
30772 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30773 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30774 echo $ECHO_N "(cached) $ECHO_C" >&6
30775 else
30776 if test "$cross_compiling" = yes; then
30777 ac_cv_func_mmap_fixed_mapped=no
30778 else
30779 cat >conftest.$ac_ext <<_ACEOF
30780 /* confdefs.h. */
30781 _ACEOF
30782 cat confdefs.h >>conftest.$ac_ext
30783 cat >>conftest.$ac_ext <<_ACEOF
30784 /* end confdefs.h. */
30785 $ac_includes_default
30786 /* malloc might have been renamed as rpl_malloc. */
30787 #undef malloc
30789 /* Thanks to Mike Haertel and Jim Avera for this test.
30790 Here is a matrix of mmap possibilities:
30791 mmap private not fixed
30792 mmap private fixed at somewhere currently unmapped
30793 mmap private fixed at somewhere already mapped
30794 mmap shared not fixed
30795 mmap shared fixed at somewhere currently unmapped
30796 mmap shared fixed at somewhere already mapped
30797 For private mappings, we should verify that changes cannot be read()
30798 back from the file, nor mmap's back from the file at a different
30799 address. (There have been systems where private was not correctly
30800 implemented like the infamous i386 svr4.0, and systems where the
30801 VM page cache was not coherent with the file system buffer cache
30802 like early versions of FreeBSD and possibly contemporary NetBSD.)
30803 For shared mappings, we should conversely verify that changes get
30804 propagated back to all the places they're supposed to be.
30806 Grep wants private fixed already mapped.
30807 The main things grep needs to know about mmap are:
30808 * does it exist and is it safe to write into the mmap'd area
30809 * how to use it (BSD variants) */
30811 #include <fcntl.h>
30812 #include <sys/mman.h>
30814 #if !STDC_HEADERS && !HAVE_STDLIB_H
30815 char *malloc ();
30816 #endif
30818 /* This mess was copied from the GNU getpagesize.h. */
30819 #if !HAVE_GETPAGESIZE
30820 /* Assume that all systems that can run configure have sys/param.h. */
30821 # if !HAVE_SYS_PARAM_H
30822 # define HAVE_SYS_PARAM_H 1
30823 # endif
30825 # ifdef _SC_PAGESIZE
30826 # define getpagesize() sysconf(_SC_PAGESIZE)
30827 # else /* no _SC_PAGESIZE */
30828 # if HAVE_SYS_PARAM_H
30829 # include <sys/param.h>
30830 # ifdef EXEC_PAGESIZE
30831 # define getpagesize() EXEC_PAGESIZE
30832 # else /* no EXEC_PAGESIZE */
30833 # ifdef NBPG
30834 # define getpagesize() NBPG * CLSIZE
30835 # ifndef CLSIZE
30836 # define CLSIZE 1
30837 # endif /* no CLSIZE */
30838 # else /* no NBPG */
30839 # ifdef NBPC
30840 # define getpagesize() NBPC
30841 # else /* no NBPC */
30842 # ifdef PAGESIZE
30843 # define getpagesize() PAGESIZE
30844 # endif /* PAGESIZE */
30845 # endif /* no NBPC */
30846 # endif /* no NBPG */
30847 # endif /* no EXEC_PAGESIZE */
30848 # else /* no HAVE_SYS_PARAM_H */
30849 # define getpagesize() 8192 /* punt totally */
30850 # endif /* no HAVE_SYS_PARAM_H */
30851 # endif /* no _SC_PAGESIZE */
30853 #endif /* no HAVE_GETPAGESIZE */
30856 main ()
30858 char *data, *data2, *data3;
30859 int i, pagesize;
30860 int fd;
30862 pagesize = getpagesize ();
30864 /* First, make a file with some known garbage in it. */
30865 data = (char *) malloc (pagesize);
30866 if (!data)
30867 exit (1);
30868 for (i = 0; i < pagesize; ++i)
30869 *(data + i) = rand ();
30870 umask (0);
30871 fd = creat ("conftest.mmap", 0600);
30872 if (fd < 0)
30873 exit (1);
30874 if (write (fd, data, pagesize) != pagesize)
30875 exit (1);
30876 close (fd);
30878 /* Next, try to mmap the file at a fixed address which already has
30879 something else allocated at it. If we can, also make sure that
30880 we see the same garbage. */
30881 fd = open ("conftest.mmap", O_RDWR);
30882 if (fd < 0)
30883 exit (1);
30884 data2 = (char *) malloc (2 * pagesize);
30885 if (!data2)
30886 exit (1);
30887 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30888 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30889 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30890 exit (1);
30891 for (i = 0; i < pagesize; ++i)
30892 if (*(data + i) != *(data2 + i))
30893 exit (1);
30895 /* Finally, make sure that changes to the mapped area do not
30896 percolate back to the file as seen by read(). (This is a bug on
30897 some variants of i386 svr4.0.) */
30898 for (i = 0; i < pagesize; ++i)
30899 *(data2 + i) = *(data2 + i) + 1;
30900 data3 = (char *) malloc (pagesize);
30901 if (!data3)
30902 exit (1);
30903 if (read (fd, data3, pagesize) != pagesize)
30904 exit (1);
30905 for (i = 0; i < pagesize; ++i)
30906 if (*(data + i) != *(data3 + i))
30907 exit (1);
30908 close (fd);
30909 exit (0);
30911 _ACEOF
30912 rm -f conftest$ac_exeext
30913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30914 (eval $ac_link) 2>&5
30915 ac_status=$?
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30919 (eval $ac_try) 2>&5
30920 ac_status=$?
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); }; }; then
30923 ac_cv_func_mmap_fixed_mapped=yes
30924 else
30925 echo "$as_me: program exited with status $ac_status" >&5
30926 echo "$as_me: failed program was:" >&5
30927 sed 's/^/| /' conftest.$ac_ext >&5
30929 ( exit $ac_status )
30930 ac_cv_func_mmap_fixed_mapped=no
30932 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30935 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30936 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30937 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30939 cat >>confdefs.h <<\_ACEOF
30940 #define HAVE_MMAP 1
30941 _ACEOF
30944 rm -f conftest.mmap
30948 else
30950 # This lets us hard-code the functionality we know we'll have in the cross
30951 # target environment. "Let" is a sugar-coated word placed on an especially
30952 # dull and tedious hack, actually.
30954 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30955 # that involve linking, can't be used:
30956 # "cannot open sim-crt0.o"
30957 # "cannot open crt0.o"
30958 # etc. All this is because there currently exists no unified, consistent
30959 # way for top level CC information to be passed down to target directories:
30960 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30961 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30962 # crosses can be removed.
30964 # If Canadian cross, then don't pick up tools from the build directory.
30965 # Used only in GLIBCXX_EXPORT_INCLUDES.
30966 if test -n "$with_cross_host" &&
30967 test x"$build_alias" != x"$with_cross_host" &&
30968 test x"$build" != x"$target";
30969 then
30970 CANADIAN=yes
30971 else
30972 CANADIAN=no
30975 # Construct crosses by hand, eliminating bits that need ld...
30976 # GLIBCXX_CHECK_COMPILER_FEATURES
30977 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30978 # GLIBCXX_CHECK_MATH_SUPPORT
30980 # First, test for "known" system libraries. We may be using newlib even
30981 # on a hosted environment.
30982 if test "x${with_newlib}" = "xyes"; then
30983 os_include_dir="os/newlib"
30984 cat >>confdefs.h <<\_ACEOF
30985 #define HAVE_HYPOT 1
30986 _ACEOF
30989 # GLIBCXX_CHECK_STDLIB_SUPPORT
30990 cat >>confdefs.h <<\_ACEOF
30991 #define HAVE_STRTOF 1
30992 _ACEOF
30994 cat >>confdefs.h <<\_ACEOF
30995 #define HAVE_STRTOLD 1
30996 _ACEOF
30998 # AC_FUNC_MMAP
30999 cat >>confdefs.h <<\_ACEOF
31000 #define HAVE_MMAP 1
31001 _ACEOF
31004 cat >>confdefs.h <<\_ACEOF
31005 #define HAVE_ACOSF 1
31006 _ACEOF
31008 cat >>confdefs.h <<\_ACEOF
31009 #define HAVE_ASINF 1
31010 _ACEOF
31012 cat >>confdefs.h <<\_ACEOF
31013 #define HAVE_ATAN2F 1
31014 _ACEOF
31016 cat >>confdefs.h <<\_ACEOF
31017 #define HAVE_ATANF 1
31018 _ACEOF
31020 cat >>confdefs.h <<\_ACEOF
31021 #define HAVE_CEILF 1
31022 _ACEOF
31024 cat >>confdefs.h <<\_ACEOF
31025 #define HAVE_COPYSIGN 1
31026 _ACEOF
31028 cat >>confdefs.h <<\_ACEOF
31029 #define HAVE_COPYSIGNF 1
31030 _ACEOF
31032 cat >>confdefs.h <<\_ACEOF
31033 #define HAVE_COSF 1
31034 _ACEOF
31036 cat >>confdefs.h <<\_ACEOF
31037 #define HAVE_COSHF 1
31038 _ACEOF
31040 cat >>confdefs.h <<\_ACEOF
31041 #define HAVE_EXPF 1
31042 _ACEOF
31044 cat >>confdefs.h <<\_ACEOF
31045 #define HAVE_FABSF 1
31046 _ACEOF
31048 cat >>confdefs.h <<\_ACEOF
31049 #define HAVE_FLOORF 1
31050 _ACEOF
31052 cat >>confdefs.h <<\_ACEOF
31053 #define HAVE_FMODF 1
31054 _ACEOF
31056 cat >>confdefs.h <<\_ACEOF
31057 #define HAVE_FREXPF 1
31058 _ACEOF
31060 cat >>confdefs.h <<\_ACEOF
31061 #define HAVE_LDEXPF 1
31062 _ACEOF
31064 cat >>confdefs.h <<\_ACEOF
31065 #define HAVE_LOG10F 1
31066 _ACEOF
31068 cat >>confdefs.h <<\_ACEOF
31069 #define HAVE_LOGF 1
31070 _ACEOF
31072 cat >>confdefs.h <<\_ACEOF
31073 #define HAVE_MODFF 1
31074 _ACEOF
31076 cat >>confdefs.h <<\_ACEOF
31077 #define HAVE_POWF 1
31078 _ACEOF
31080 cat >>confdefs.h <<\_ACEOF
31081 #define HAVE_SINF 1
31082 _ACEOF
31084 cat >>confdefs.h <<\_ACEOF
31085 #define HAVE_SINHF 1
31086 _ACEOF
31088 cat >>confdefs.h <<\_ACEOF
31089 #define HAVE_SQRTF 1
31090 _ACEOF
31092 cat >>confdefs.h <<\_ACEOF
31093 #define HAVE_TANF 1
31094 _ACEOF
31096 cat >>confdefs.h <<\_ACEOF
31097 #define HAVE_TANHF 1
31098 _ACEOF
31101 cat >>confdefs.h <<\_ACEOF
31102 #define HAVE_S_ISREG 1
31103 _ACEOF
31105 cat >>confdefs.h <<\_ACEOF
31106 #define HAVE_S_IFREG 1
31107 _ACEOF
31109 else
31111 # Base decisions on target environment.
31112 case "${host}" in
31113 arm*-*-symbianelf*)
31114 # This is a freestanding configuration; there is nothing to do here.
31117 *-darwin*)
31118 # Darwin versions vary, but the linker should work in a cross environment,
31119 # so we just check for all the features here.
31120 # Check for available headers.
31134 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31135 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31136 sys/types.h
31138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31140 echo "$as_me:$LINENO: checking for $ac_header" >&5
31141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31143 echo $ECHO_N "(cached) $ECHO_C" >&6
31145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31147 else
31148 # Is the header compilable?
31149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31151 cat >conftest.$ac_ext <<_ACEOF
31152 /* confdefs.h. */
31153 _ACEOF
31154 cat confdefs.h >>conftest.$ac_ext
31155 cat >>conftest.$ac_ext <<_ACEOF
31156 /* end confdefs.h. */
31157 $ac_includes_default
31158 #include <$ac_header>
31159 _ACEOF
31160 rm -f conftest.$ac_objext
31161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31162 (eval $ac_compile) 2>conftest.er1
31163 ac_status=$?
31164 grep -v '^ *+' conftest.er1 >conftest.err
31165 rm -f conftest.er1
31166 cat conftest.err >&5
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); } &&
31169 { ac_try='test -z "$ac_c_werror_flag"
31170 || test ! -s conftest.err'
31171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31172 (eval $ac_try) 2>&5
31173 ac_status=$?
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); }; } &&
31176 { ac_try='test -s conftest.$ac_objext'
31177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31178 (eval $ac_try) 2>&5
31179 ac_status=$?
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; }; then
31182 ac_header_compiler=yes
31183 else
31184 echo "$as_me: failed program was:" >&5
31185 sed 's/^/| /' conftest.$ac_ext >&5
31187 ac_header_compiler=no
31189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31191 echo "${ECHO_T}$ac_header_compiler" >&6
31193 # Is the header present?
31194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31196 cat >conftest.$ac_ext <<_ACEOF
31197 /* confdefs.h. */
31198 _ACEOF
31199 cat confdefs.h >>conftest.$ac_ext
31200 cat >>conftest.$ac_ext <<_ACEOF
31201 /* end confdefs.h. */
31202 #include <$ac_header>
31203 _ACEOF
31204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31206 ac_status=$?
31207 grep -v '^ *+' conftest.er1 >conftest.err
31208 rm -f conftest.er1
31209 cat conftest.err >&5
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); } >/dev/null; then
31212 if test -s conftest.err; then
31213 ac_cpp_err=$ac_c_preproc_warn_flag
31214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31215 else
31216 ac_cpp_err=
31218 else
31219 ac_cpp_err=yes
31221 if test -z "$ac_cpp_err"; then
31222 ac_header_preproc=yes
31223 else
31224 echo "$as_me: failed program was:" >&5
31225 sed 's/^/| /' conftest.$ac_ext >&5
31227 ac_header_preproc=no
31229 rm -f conftest.err conftest.$ac_ext
31230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31231 echo "${ECHO_T}$ac_header_preproc" >&6
31233 # So? What about this header?
31234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31235 yes:no: )
31236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31240 ac_header_preproc=yes
31242 no:yes:* )
31243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31256 cat <<\_ASBOX
31257 ## ----------------------------------------- ##
31258 ## Report this to the package-unused lists. ##
31259 ## ----------------------------------------- ##
31260 _ASBOX
31262 sed "s/^/$as_me: WARNING: /" >&2
31264 esac
31265 echo "$as_me:$LINENO: checking for $ac_header" >&5
31266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31268 echo $ECHO_N "(cached) $ECHO_C" >&6
31269 else
31270 eval "$as_ac_Header=\$ac_header_preproc"
31272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31277 cat >>confdefs.h <<_ACEOF
31278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31279 _ACEOF
31283 done
31287 # All these tests are for C++; save the language and the compiler flags.
31288 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31289 # found in GLIBCXX_CONFIGURE.
31292 ac_ext=cc
31293 ac_cpp='$CXXCPP $CPPFLAGS'
31294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31298 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31299 ac_save_CXXFLAGS="$CXXFLAGS"
31301 # Check for maintainer-mode bits.
31302 if test x"$USE_MAINTAINER_MODE" = xno; then
31303 WERROR=''
31304 else
31305 WERROR='-Werror'
31308 # Check for -ffunction-sections -fdata-sections
31309 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31310 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31311 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31312 cat >conftest.$ac_ext <<_ACEOF
31313 /* confdefs.h. */
31314 _ACEOF
31315 cat confdefs.h >>conftest.$ac_ext
31316 cat >>conftest.$ac_ext <<_ACEOF
31317 /* end confdefs.h. */
31320 main ()
31322 int foo;
31324 return 0;
31326 _ACEOF
31327 rm -f conftest.$ac_objext
31328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31329 (eval $ac_compile) 2>conftest.er1
31330 ac_status=$?
31331 grep -v '^ *+' conftest.er1 >conftest.err
31332 rm -f conftest.er1
31333 cat conftest.err >&5
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); } &&
31336 { ac_try='test -z "$ac_cxx_werror_flag"
31337 || test ! -s conftest.err'
31338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31339 (eval $ac_try) 2>&5
31340 ac_status=$?
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); }; } &&
31343 { ac_try='test -s conftest.$ac_objext'
31344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31345 (eval $ac_try) 2>&5
31346 ac_status=$?
31347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31348 (exit $ac_status); }; }; then
31349 ac_fdsections=yes
31350 else
31351 echo "$as_me: failed program was:" >&5
31352 sed 's/^/| /' conftest.$ac_ext >&5
31354 ac_fdsections=no
31356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31357 if test "$ac_test_CXXFLAGS" = set; then
31358 CXXFLAGS="$ac_save_CXXFLAGS"
31359 else
31360 # this is the suspicious part
31361 CXXFLAGS=''
31363 if test x"$ac_fdsections" = x"yes"; then
31364 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31366 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31367 echo "${ECHO_T}$ac_fdsections" >&6
31369 ac_ext=c
31370 ac_cpp='$CPP $CPPFLAGS'
31371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31378 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31380 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31381 ac_save_CXXFLAGS="$CXXFLAGS"
31382 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31384 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31385 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31386 if test "${ac_cv_lib_m_sin+set}" = set; then
31387 echo $ECHO_N "(cached) $ECHO_C" >&6
31388 else
31389 ac_check_lib_save_LIBS=$LIBS
31390 LIBS="-lm $LIBS"
31391 if test x$gcc_no_link = xyes; then
31392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31394 { (exit 1); exit 1; }; }
31396 cat >conftest.$ac_ext <<_ACEOF
31397 /* confdefs.h. */
31398 _ACEOF
31399 cat confdefs.h >>conftest.$ac_ext
31400 cat >>conftest.$ac_ext <<_ACEOF
31401 /* end confdefs.h. */
31403 /* Override any gcc2 internal prototype to avoid an error. */
31404 #ifdef __cplusplus
31405 extern "C"
31406 #endif
31407 /* We use char because int might match the return type of a gcc2
31408 builtin and then its argument prototype would still apply. */
31409 char sin ();
31411 main ()
31413 sin ();
31415 return 0;
31417 _ACEOF
31418 rm -f conftest.$ac_objext conftest$ac_exeext
31419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31420 (eval $ac_link) 2>conftest.er1
31421 ac_status=$?
31422 grep -v '^ *+' conftest.er1 >conftest.err
31423 rm -f conftest.er1
31424 cat conftest.err >&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); } &&
31427 { ac_try='test -z "$ac_c_werror_flag"
31428 || test ! -s conftest.err'
31429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31430 (eval $ac_try) 2>&5
31431 ac_status=$?
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); }; } &&
31434 { ac_try='test -s conftest$ac_exeext'
31435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31436 (eval $ac_try) 2>&5
31437 ac_status=$?
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); }; }; then
31440 ac_cv_lib_m_sin=yes
31441 else
31442 echo "$as_me: failed program was:" >&5
31443 sed 's/^/| /' conftest.$ac_ext >&5
31445 ac_cv_lib_m_sin=no
31447 rm -f conftest.err conftest.$ac_objext \
31448 conftest$ac_exeext conftest.$ac_ext
31449 LIBS=$ac_check_lib_save_LIBS
31451 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31452 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31453 if test $ac_cv_lib_m_sin = yes; then
31454 libm="-lm"
31457 ac_save_LIBS="$LIBS"
31458 LIBS="$LIBS $libm"
31462 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31463 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31464 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31465 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31466 echo $ECHO_N "(cached) $ECHO_C" >&6
31467 else
31471 ac_ext=cc
31472 ac_cpp='$CXXCPP $CPPFLAGS'
31473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31477 cat >conftest.$ac_ext <<_ACEOF
31478 /* confdefs.h. */
31479 _ACEOF
31480 cat confdefs.h >>conftest.$ac_ext
31481 cat >>conftest.$ac_ext <<_ACEOF
31482 /* end confdefs.h. */
31483 #include <math.h>
31484 #ifdef HAVE_IEEEFP_H
31485 #include <ieeefp.h>
31486 #endif
31489 main ()
31491 isinf(0);
31493 return 0;
31495 _ACEOF
31496 rm -f conftest.$ac_objext
31497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31498 (eval $ac_compile) 2>conftest.er1
31499 ac_status=$?
31500 grep -v '^ *+' conftest.er1 >conftest.err
31501 rm -f conftest.er1
31502 cat conftest.err >&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); } &&
31505 { ac_try='test -z "$ac_cxx_werror_flag"
31506 || test ! -s conftest.err'
31507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31508 (eval $ac_try) 2>&5
31509 ac_status=$?
31510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31511 (exit $ac_status); }; } &&
31512 { ac_try='test -s conftest.$ac_objext'
31513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31514 (eval $ac_try) 2>&5
31515 ac_status=$?
31516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31517 (exit $ac_status); }; }; then
31518 glibcxx_cv_func_isinf_use=yes
31519 else
31520 echo "$as_me: failed program was:" >&5
31521 sed 's/^/| /' conftest.$ac_ext >&5
31523 glibcxx_cv_func_isinf_use=no
31525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31526 ac_ext=c
31527 ac_cpp='$CPP $CPPFLAGS'
31528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31536 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31537 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31539 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31541 for ac_func in isinf
31543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31544 echo "$as_me:$LINENO: checking for $ac_func" >&5
31545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31546 if eval "test \"\${$as_ac_var+set}\" = set"; then
31547 echo $ECHO_N "(cached) $ECHO_C" >&6
31548 else
31549 if test x$gcc_no_link = xyes; then
31550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31552 { (exit 1); exit 1; }; }
31554 cat >conftest.$ac_ext <<_ACEOF
31555 /* confdefs.h. */
31556 _ACEOF
31557 cat confdefs.h >>conftest.$ac_ext
31558 cat >>conftest.$ac_ext <<_ACEOF
31559 /* end confdefs.h. */
31560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31562 #define $ac_func innocuous_$ac_func
31564 /* System header to define __stub macros and hopefully few prototypes,
31565 which can conflict with char $ac_func (); below.
31566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31567 <limits.h> exists even on freestanding compilers. */
31569 #ifdef __STDC__
31570 # include <limits.h>
31571 #else
31572 # include <assert.h>
31573 #endif
31575 #undef $ac_func
31577 /* Override any gcc2 internal prototype to avoid an error. */
31578 #ifdef __cplusplus
31579 extern "C"
31581 #endif
31582 /* We use char because int might match the return type of a gcc2
31583 builtin and then its argument prototype would still apply. */
31584 char $ac_func ();
31585 /* The GNU C library defines this for functions which it implements
31586 to always fail with ENOSYS. Some functions are actually named
31587 something starting with __ and the normal name is an alias. */
31588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31589 choke me
31590 #else
31591 char (*f) () = $ac_func;
31592 #endif
31593 #ifdef __cplusplus
31595 #endif
31598 main ()
31600 return f != $ac_func;
31602 return 0;
31604 _ACEOF
31605 rm -f conftest.$ac_objext conftest$ac_exeext
31606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31607 (eval $ac_link) 2>conftest.er1
31608 ac_status=$?
31609 grep -v '^ *+' conftest.er1 >conftest.err
31610 rm -f conftest.er1
31611 cat conftest.err >&5
31612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31613 (exit $ac_status); } &&
31614 { ac_try='test -z "$ac_c_werror_flag"
31615 || test ! -s conftest.err'
31616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31617 (eval $ac_try) 2>&5
31618 ac_status=$?
31619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 (exit $ac_status); }; } &&
31621 { ac_try='test -s conftest$ac_exeext'
31622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31623 (eval $ac_try) 2>&5
31624 ac_status=$?
31625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31626 (exit $ac_status); }; }; then
31627 eval "$as_ac_var=yes"
31628 else
31629 echo "$as_me: failed program was:" >&5
31630 sed 's/^/| /' conftest.$ac_ext >&5
31632 eval "$as_ac_var=no"
31634 rm -f conftest.err conftest.$ac_objext \
31635 conftest$ac_exeext conftest.$ac_ext
31637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31639 if test `eval echo '${'$as_ac_var'}'` = yes; then
31640 cat >>confdefs.h <<_ACEOF
31641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31642 _ACEOF
31645 done
31647 else
31649 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31650 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31651 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31652 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31653 echo $ECHO_N "(cached) $ECHO_C" >&6
31654 else
31658 ac_ext=cc
31659 ac_cpp='$CXXCPP $CPPFLAGS'
31660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31664 cat >conftest.$ac_ext <<_ACEOF
31665 /* confdefs.h. */
31666 _ACEOF
31667 cat confdefs.h >>conftest.$ac_ext
31668 cat >>conftest.$ac_ext <<_ACEOF
31669 /* end confdefs.h. */
31670 #include <math.h>
31671 #ifdef HAVE_IEEEFP_H
31672 #include <ieeefp.h>
31673 #endif
31676 main ()
31678 _isinf(0);
31680 return 0;
31682 _ACEOF
31683 rm -f conftest.$ac_objext
31684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31685 (eval $ac_compile) 2>conftest.er1
31686 ac_status=$?
31687 grep -v '^ *+' conftest.er1 >conftest.err
31688 rm -f conftest.er1
31689 cat conftest.err >&5
31690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31691 (exit $ac_status); } &&
31692 { ac_try='test -z "$ac_cxx_werror_flag"
31693 || test ! -s conftest.err'
31694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31695 (eval $ac_try) 2>&5
31696 ac_status=$?
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); }; } &&
31699 { ac_try='test -s conftest.$ac_objext'
31700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31701 (eval $ac_try) 2>&5
31702 ac_status=$?
31703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31704 (exit $ac_status); }; }; then
31705 glibcxx_cv_func__isinf_use=yes
31706 else
31707 echo "$as_me: failed program was:" >&5
31708 sed 's/^/| /' conftest.$ac_ext >&5
31710 glibcxx_cv_func__isinf_use=no
31712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31713 ac_ext=c
31714 ac_cpp='$CPP $CPPFLAGS'
31715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31723 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31724 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31726 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31728 for ac_func in _isinf
31730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31731 echo "$as_me:$LINENO: checking for $ac_func" >&5
31732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31733 if eval "test \"\${$as_ac_var+set}\" = set"; then
31734 echo $ECHO_N "(cached) $ECHO_C" >&6
31735 else
31736 if test x$gcc_no_link = xyes; then
31737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31739 { (exit 1); exit 1; }; }
31741 cat >conftest.$ac_ext <<_ACEOF
31742 /* confdefs.h. */
31743 _ACEOF
31744 cat confdefs.h >>conftest.$ac_ext
31745 cat >>conftest.$ac_ext <<_ACEOF
31746 /* end confdefs.h. */
31747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31749 #define $ac_func innocuous_$ac_func
31751 /* System header to define __stub macros and hopefully few prototypes,
31752 which can conflict with char $ac_func (); below.
31753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31754 <limits.h> exists even on freestanding compilers. */
31756 #ifdef __STDC__
31757 # include <limits.h>
31758 #else
31759 # include <assert.h>
31760 #endif
31762 #undef $ac_func
31764 /* Override any gcc2 internal prototype to avoid an error. */
31765 #ifdef __cplusplus
31766 extern "C"
31768 #endif
31769 /* We use char because int might match the return type of a gcc2
31770 builtin and then its argument prototype would still apply. */
31771 char $ac_func ();
31772 /* The GNU C library defines this for functions which it implements
31773 to always fail with ENOSYS. Some functions are actually named
31774 something starting with __ and the normal name is an alias. */
31775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31776 choke me
31777 #else
31778 char (*f) () = $ac_func;
31779 #endif
31780 #ifdef __cplusplus
31782 #endif
31785 main ()
31787 return f != $ac_func;
31789 return 0;
31791 _ACEOF
31792 rm -f conftest.$ac_objext conftest$ac_exeext
31793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31794 (eval $ac_link) 2>conftest.er1
31795 ac_status=$?
31796 grep -v '^ *+' conftest.er1 >conftest.err
31797 rm -f conftest.er1
31798 cat conftest.err >&5
31799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31800 (exit $ac_status); } &&
31801 { ac_try='test -z "$ac_c_werror_flag"
31802 || test ! -s conftest.err'
31803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31804 (eval $ac_try) 2>&5
31805 ac_status=$?
31806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31807 (exit $ac_status); }; } &&
31808 { ac_try='test -s conftest$ac_exeext'
31809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31810 (eval $ac_try) 2>&5
31811 ac_status=$?
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); }; }; then
31814 eval "$as_ac_var=yes"
31815 else
31816 echo "$as_me: failed program was:" >&5
31817 sed 's/^/| /' conftest.$ac_ext >&5
31819 eval "$as_ac_var=no"
31821 rm -f conftest.err conftest.$ac_objext \
31822 conftest$ac_exeext conftest.$ac_ext
31824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31826 if test `eval echo '${'$as_ac_var'}'` = yes; then
31827 cat >>confdefs.h <<_ACEOF
31828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31829 _ACEOF
31832 done
31839 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31840 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31841 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31842 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31843 echo $ECHO_N "(cached) $ECHO_C" >&6
31844 else
31848 ac_ext=cc
31849 ac_cpp='$CXXCPP $CPPFLAGS'
31850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31854 cat >conftest.$ac_ext <<_ACEOF
31855 /* confdefs.h. */
31856 _ACEOF
31857 cat confdefs.h >>conftest.$ac_ext
31858 cat >>conftest.$ac_ext <<_ACEOF
31859 /* end confdefs.h. */
31860 #include <math.h>
31861 #ifdef HAVE_IEEEFP_H
31862 #include <ieeefp.h>
31863 #endif
31866 main ()
31868 isnan(0);
31870 return 0;
31872 _ACEOF
31873 rm -f conftest.$ac_objext
31874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31875 (eval $ac_compile) 2>conftest.er1
31876 ac_status=$?
31877 grep -v '^ *+' conftest.er1 >conftest.err
31878 rm -f conftest.er1
31879 cat conftest.err >&5
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); } &&
31882 { ac_try='test -z "$ac_cxx_werror_flag"
31883 || test ! -s conftest.err'
31884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31885 (eval $ac_try) 2>&5
31886 ac_status=$?
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); }; } &&
31889 { ac_try='test -s conftest.$ac_objext'
31890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31891 (eval $ac_try) 2>&5
31892 ac_status=$?
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); }; }; then
31895 glibcxx_cv_func_isnan_use=yes
31896 else
31897 echo "$as_me: failed program was:" >&5
31898 sed 's/^/| /' conftest.$ac_ext >&5
31900 glibcxx_cv_func_isnan_use=no
31902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31903 ac_ext=c
31904 ac_cpp='$CPP $CPPFLAGS'
31905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31913 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31914 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31916 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31918 for ac_func in isnan
31920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31921 echo "$as_me:$LINENO: checking for $ac_func" >&5
31922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31923 if eval "test \"\${$as_ac_var+set}\" = set"; then
31924 echo $ECHO_N "(cached) $ECHO_C" >&6
31925 else
31926 if test x$gcc_no_link = xyes; then
31927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31929 { (exit 1); exit 1; }; }
31931 cat >conftest.$ac_ext <<_ACEOF
31932 /* confdefs.h. */
31933 _ACEOF
31934 cat confdefs.h >>conftest.$ac_ext
31935 cat >>conftest.$ac_ext <<_ACEOF
31936 /* end confdefs.h. */
31937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31939 #define $ac_func innocuous_$ac_func
31941 /* System header to define __stub macros and hopefully few prototypes,
31942 which can conflict with char $ac_func (); below.
31943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31944 <limits.h> exists even on freestanding compilers. */
31946 #ifdef __STDC__
31947 # include <limits.h>
31948 #else
31949 # include <assert.h>
31950 #endif
31952 #undef $ac_func
31954 /* Override any gcc2 internal prototype to avoid an error. */
31955 #ifdef __cplusplus
31956 extern "C"
31958 #endif
31959 /* We use char because int might match the return type of a gcc2
31960 builtin and then its argument prototype would still apply. */
31961 char $ac_func ();
31962 /* The GNU C library defines this for functions which it implements
31963 to always fail with ENOSYS. Some functions are actually named
31964 something starting with __ and the normal name is an alias. */
31965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31966 choke me
31967 #else
31968 char (*f) () = $ac_func;
31969 #endif
31970 #ifdef __cplusplus
31972 #endif
31975 main ()
31977 return f != $ac_func;
31979 return 0;
31981 _ACEOF
31982 rm -f conftest.$ac_objext conftest$ac_exeext
31983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31984 (eval $ac_link) 2>conftest.er1
31985 ac_status=$?
31986 grep -v '^ *+' conftest.er1 >conftest.err
31987 rm -f conftest.er1
31988 cat conftest.err >&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); } &&
31991 { ac_try='test -z "$ac_c_werror_flag"
31992 || test ! -s conftest.err'
31993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31994 (eval $ac_try) 2>&5
31995 ac_status=$?
31996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31997 (exit $ac_status); }; } &&
31998 { ac_try='test -s conftest$ac_exeext'
31999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32000 (eval $ac_try) 2>&5
32001 ac_status=$?
32002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003 (exit $ac_status); }; }; then
32004 eval "$as_ac_var=yes"
32005 else
32006 echo "$as_me: failed program was:" >&5
32007 sed 's/^/| /' conftest.$ac_ext >&5
32009 eval "$as_ac_var=no"
32011 rm -f conftest.err conftest.$ac_objext \
32012 conftest$ac_exeext conftest.$ac_ext
32014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32016 if test `eval echo '${'$as_ac_var'}'` = yes; then
32017 cat >>confdefs.h <<_ACEOF
32018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32019 _ACEOF
32022 done
32024 else
32026 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32027 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32028 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32029 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32030 echo $ECHO_N "(cached) $ECHO_C" >&6
32031 else
32035 ac_ext=cc
32036 ac_cpp='$CXXCPP $CPPFLAGS'
32037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32041 cat >conftest.$ac_ext <<_ACEOF
32042 /* confdefs.h. */
32043 _ACEOF
32044 cat confdefs.h >>conftest.$ac_ext
32045 cat >>conftest.$ac_ext <<_ACEOF
32046 /* end confdefs.h. */
32047 #include <math.h>
32048 #ifdef HAVE_IEEEFP_H
32049 #include <ieeefp.h>
32050 #endif
32053 main ()
32055 _isnan(0);
32057 return 0;
32059 _ACEOF
32060 rm -f conftest.$ac_objext
32061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32062 (eval $ac_compile) 2>conftest.er1
32063 ac_status=$?
32064 grep -v '^ *+' conftest.er1 >conftest.err
32065 rm -f conftest.er1
32066 cat conftest.err >&5
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); } &&
32069 { ac_try='test -z "$ac_cxx_werror_flag"
32070 || test ! -s conftest.err'
32071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32072 (eval $ac_try) 2>&5
32073 ac_status=$?
32074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32075 (exit $ac_status); }; } &&
32076 { ac_try='test -s conftest.$ac_objext'
32077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32078 (eval $ac_try) 2>&5
32079 ac_status=$?
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); }; }; then
32082 glibcxx_cv_func__isnan_use=yes
32083 else
32084 echo "$as_me: failed program was:" >&5
32085 sed 's/^/| /' conftest.$ac_ext >&5
32087 glibcxx_cv_func__isnan_use=no
32089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32090 ac_ext=c
32091 ac_cpp='$CPP $CPPFLAGS'
32092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32100 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32101 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32103 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32105 for ac_func in _isnan
32107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32108 echo "$as_me:$LINENO: checking for $ac_func" >&5
32109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32110 if eval "test \"\${$as_ac_var+set}\" = set"; then
32111 echo $ECHO_N "(cached) $ECHO_C" >&6
32112 else
32113 if test x$gcc_no_link = xyes; then
32114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32116 { (exit 1); exit 1; }; }
32118 cat >conftest.$ac_ext <<_ACEOF
32119 /* confdefs.h. */
32120 _ACEOF
32121 cat confdefs.h >>conftest.$ac_ext
32122 cat >>conftest.$ac_ext <<_ACEOF
32123 /* end confdefs.h. */
32124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32126 #define $ac_func innocuous_$ac_func
32128 /* System header to define __stub macros and hopefully few prototypes,
32129 which can conflict with char $ac_func (); below.
32130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32131 <limits.h> exists even on freestanding compilers. */
32133 #ifdef __STDC__
32134 # include <limits.h>
32135 #else
32136 # include <assert.h>
32137 #endif
32139 #undef $ac_func
32141 /* Override any gcc2 internal prototype to avoid an error. */
32142 #ifdef __cplusplus
32143 extern "C"
32145 #endif
32146 /* We use char because int might match the return type of a gcc2
32147 builtin and then its argument prototype would still apply. */
32148 char $ac_func ();
32149 /* The GNU C library defines this for functions which it implements
32150 to always fail with ENOSYS. Some functions are actually named
32151 something starting with __ and the normal name is an alias. */
32152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32153 choke me
32154 #else
32155 char (*f) () = $ac_func;
32156 #endif
32157 #ifdef __cplusplus
32159 #endif
32162 main ()
32164 return f != $ac_func;
32166 return 0;
32168 _ACEOF
32169 rm -f conftest.$ac_objext conftest$ac_exeext
32170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32171 (eval $ac_link) 2>conftest.er1
32172 ac_status=$?
32173 grep -v '^ *+' conftest.er1 >conftest.err
32174 rm -f conftest.er1
32175 cat conftest.err >&5
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); } &&
32178 { ac_try='test -z "$ac_c_werror_flag"
32179 || test ! -s conftest.err'
32180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32181 (eval $ac_try) 2>&5
32182 ac_status=$?
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); }; } &&
32185 { ac_try='test -s conftest$ac_exeext'
32186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187 (eval $ac_try) 2>&5
32188 ac_status=$?
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); }; }; then
32191 eval "$as_ac_var=yes"
32192 else
32193 echo "$as_me: failed program was:" >&5
32194 sed 's/^/| /' conftest.$ac_ext >&5
32196 eval "$as_ac_var=no"
32198 rm -f conftest.err conftest.$ac_objext \
32199 conftest$ac_exeext conftest.$ac_ext
32201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32203 if test `eval echo '${'$as_ac_var'}'` = yes; then
32204 cat >>confdefs.h <<_ACEOF
32205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32206 _ACEOF
32209 done
32216 echo "$as_me:$LINENO: checking for finite declaration" >&5
32217 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32218 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32219 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32220 echo $ECHO_N "(cached) $ECHO_C" >&6
32221 else
32225 ac_ext=cc
32226 ac_cpp='$CXXCPP $CPPFLAGS'
32227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32231 cat >conftest.$ac_ext <<_ACEOF
32232 /* confdefs.h. */
32233 _ACEOF
32234 cat confdefs.h >>conftest.$ac_ext
32235 cat >>conftest.$ac_ext <<_ACEOF
32236 /* end confdefs.h. */
32237 #include <math.h>
32238 #ifdef HAVE_IEEEFP_H
32239 #include <ieeefp.h>
32240 #endif
32243 main ()
32245 finite(0);
32247 return 0;
32249 _ACEOF
32250 rm -f conftest.$ac_objext
32251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32252 (eval $ac_compile) 2>conftest.er1
32253 ac_status=$?
32254 grep -v '^ *+' conftest.er1 >conftest.err
32255 rm -f conftest.er1
32256 cat conftest.err >&5
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); } &&
32259 { ac_try='test -z "$ac_cxx_werror_flag"
32260 || test ! -s conftest.err'
32261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32262 (eval $ac_try) 2>&5
32263 ac_status=$?
32264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32265 (exit $ac_status); }; } &&
32266 { ac_try='test -s conftest.$ac_objext'
32267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32268 (eval $ac_try) 2>&5
32269 ac_status=$?
32270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32271 (exit $ac_status); }; }; then
32272 glibcxx_cv_func_finite_use=yes
32273 else
32274 echo "$as_me: failed program was:" >&5
32275 sed 's/^/| /' conftest.$ac_ext >&5
32277 glibcxx_cv_func_finite_use=no
32279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32280 ac_ext=c
32281 ac_cpp='$CPP $CPPFLAGS'
32282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32291 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32293 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32295 for ac_func in finite
32297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32298 echo "$as_me:$LINENO: checking for $ac_func" >&5
32299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32300 if eval "test \"\${$as_ac_var+set}\" = set"; then
32301 echo $ECHO_N "(cached) $ECHO_C" >&6
32302 else
32303 if test x$gcc_no_link = xyes; then
32304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32306 { (exit 1); exit 1; }; }
32308 cat >conftest.$ac_ext <<_ACEOF
32309 /* confdefs.h. */
32310 _ACEOF
32311 cat confdefs.h >>conftest.$ac_ext
32312 cat >>conftest.$ac_ext <<_ACEOF
32313 /* end confdefs.h. */
32314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32316 #define $ac_func innocuous_$ac_func
32318 /* System header to define __stub macros and hopefully few prototypes,
32319 which can conflict with char $ac_func (); below.
32320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32321 <limits.h> exists even on freestanding compilers. */
32323 #ifdef __STDC__
32324 # include <limits.h>
32325 #else
32326 # include <assert.h>
32327 #endif
32329 #undef $ac_func
32331 /* Override any gcc2 internal prototype to avoid an error. */
32332 #ifdef __cplusplus
32333 extern "C"
32335 #endif
32336 /* We use char because int might match the return type of a gcc2
32337 builtin and then its argument prototype would still apply. */
32338 char $ac_func ();
32339 /* The GNU C library defines this for functions which it implements
32340 to always fail with ENOSYS. Some functions are actually named
32341 something starting with __ and the normal name is an alias. */
32342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32343 choke me
32344 #else
32345 char (*f) () = $ac_func;
32346 #endif
32347 #ifdef __cplusplus
32349 #endif
32352 main ()
32354 return f != $ac_func;
32356 return 0;
32358 _ACEOF
32359 rm -f conftest.$ac_objext conftest$ac_exeext
32360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32361 (eval $ac_link) 2>conftest.er1
32362 ac_status=$?
32363 grep -v '^ *+' conftest.er1 >conftest.err
32364 rm -f conftest.er1
32365 cat conftest.err >&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); } &&
32368 { ac_try='test -z "$ac_c_werror_flag"
32369 || test ! -s conftest.err'
32370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32371 (eval $ac_try) 2>&5
32372 ac_status=$?
32373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32374 (exit $ac_status); }; } &&
32375 { ac_try='test -s conftest$ac_exeext'
32376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32377 (eval $ac_try) 2>&5
32378 ac_status=$?
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); }; }; then
32381 eval "$as_ac_var=yes"
32382 else
32383 echo "$as_me: failed program was:" >&5
32384 sed 's/^/| /' conftest.$ac_ext >&5
32386 eval "$as_ac_var=no"
32388 rm -f conftest.err conftest.$ac_objext \
32389 conftest$ac_exeext conftest.$ac_ext
32391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32393 if test `eval echo '${'$as_ac_var'}'` = yes; then
32394 cat >>confdefs.h <<_ACEOF
32395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32396 _ACEOF
32399 done
32401 else
32403 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32404 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32405 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32406 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32407 echo $ECHO_N "(cached) $ECHO_C" >&6
32408 else
32412 ac_ext=cc
32413 ac_cpp='$CXXCPP $CPPFLAGS'
32414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32418 cat >conftest.$ac_ext <<_ACEOF
32419 /* confdefs.h. */
32420 _ACEOF
32421 cat confdefs.h >>conftest.$ac_ext
32422 cat >>conftest.$ac_ext <<_ACEOF
32423 /* end confdefs.h. */
32424 #include <math.h>
32425 #ifdef HAVE_IEEEFP_H
32426 #include <ieeefp.h>
32427 #endif
32430 main ()
32432 _finite(0);
32434 return 0;
32436 _ACEOF
32437 rm -f conftest.$ac_objext
32438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32439 (eval $ac_compile) 2>conftest.er1
32440 ac_status=$?
32441 grep -v '^ *+' conftest.er1 >conftest.err
32442 rm -f conftest.er1
32443 cat conftest.err >&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); } &&
32446 { ac_try='test -z "$ac_cxx_werror_flag"
32447 || test ! -s conftest.err'
32448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32449 (eval $ac_try) 2>&5
32450 ac_status=$?
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); }; } &&
32453 { ac_try='test -s conftest.$ac_objext'
32454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32455 (eval $ac_try) 2>&5
32456 ac_status=$?
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); }; }; then
32459 glibcxx_cv_func__finite_use=yes
32460 else
32461 echo "$as_me: failed program was:" >&5
32462 sed 's/^/| /' conftest.$ac_ext >&5
32464 glibcxx_cv_func__finite_use=no
32466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32467 ac_ext=c
32468 ac_cpp='$CPP $CPPFLAGS'
32469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32478 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32480 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32482 for ac_func in _finite
32484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32485 echo "$as_me:$LINENO: checking for $ac_func" >&5
32486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32487 if eval "test \"\${$as_ac_var+set}\" = set"; then
32488 echo $ECHO_N "(cached) $ECHO_C" >&6
32489 else
32490 if test x$gcc_no_link = xyes; then
32491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32493 { (exit 1); exit 1; }; }
32495 cat >conftest.$ac_ext <<_ACEOF
32496 /* confdefs.h. */
32497 _ACEOF
32498 cat confdefs.h >>conftest.$ac_ext
32499 cat >>conftest.$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32503 #define $ac_func innocuous_$ac_func
32505 /* System header to define __stub macros and hopefully few prototypes,
32506 which can conflict with char $ac_func (); below.
32507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32508 <limits.h> exists even on freestanding compilers. */
32510 #ifdef __STDC__
32511 # include <limits.h>
32512 #else
32513 # include <assert.h>
32514 #endif
32516 #undef $ac_func
32518 /* Override any gcc2 internal prototype to avoid an error. */
32519 #ifdef __cplusplus
32520 extern "C"
32522 #endif
32523 /* We use char because int might match the return type of a gcc2
32524 builtin and then its argument prototype would still apply. */
32525 char $ac_func ();
32526 /* The GNU C library defines this for functions which it implements
32527 to always fail with ENOSYS. Some functions are actually named
32528 something starting with __ and the normal name is an alias. */
32529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32530 choke me
32531 #else
32532 char (*f) () = $ac_func;
32533 #endif
32534 #ifdef __cplusplus
32536 #endif
32539 main ()
32541 return f != $ac_func;
32543 return 0;
32545 _ACEOF
32546 rm -f conftest.$ac_objext conftest$ac_exeext
32547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32548 (eval $ac_link) 2>conftest.er1
32549 ac_status=$?
32550 grep -v '^ *+' conftest.er1 >conftest.err
32551 rm -f conftest.er1
32552 cat conftest.err >&5
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); } &&
32555 { ac_try='test -z "$ac_c_werror_flag"
32556 || test ! -s conftest.err'
32557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32558 (eval $ac_try) 2>&5
32559 ac_status=$?
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); }; } &&
32562 { ac_try='test -s conftest$ac_exeext'
32563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32564 (eval $ac_try) 2>&5
32565 ac_status=$?
32566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32567 (exit $ac_status); }; }; then
32568 eval "$as_ac_var=yes"
32569 else
32570 echo "$as_me: failed program was:" >&5
32571 sed 's/^/| /' conftest.$ac_ext >&5
32573 eval "$as_ac_var=no"
32575 rm -f conftest.err conftest.$ac_objext \
32576 conftest$ac_exeext conftest.$ac_ext
32578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32580 if test `eval echo '${'$as_ac_var'}'` = yes; then
32581 cat >>confdefs.h <<_ACEOF
32582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32583 _ACEOF
32586 done
32593 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32594 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32595 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32596 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32597 echo $ECHO_N "(cached) $ECHO_C" >&6
32598 else
32602 ac_ext=cc
32603 ac_cpp='$CXXCPP $CPPFLAGS'
32604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32608 cat >conftest.$ac_ext <<_ACEOF
32609 /* confdefs.h. */
32610 _ACEOF
32611 cat confdefs.h >>conftest.$ac_ext
32612 cat >>conftest.$ac_ext <<_ACEOF
32613 /* end confdefs.h. */
32614 #include <math.h>
32616 main ()
32618 copysign(0, 0);
32620 return 0;
32622 _ACEOF
32623 rm -f conftest.$ac_objext
32624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32625 (eval $ac_compile) 2>conftest.er1
32626 ac_status=$?
32627 grep -v '^ *+' conftest.er1 >conftest.err
32628 rm -f conftest.er1
32629 cat conftest.err >&5
32630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32631 (exit $ac_status); } &&
32632 { ac_try='test -z "$ac_cxx_werror_flag"
32633 || test ! -s conftest.err'
32634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32635 (eval $ac_try) 2>&5
32636 ac_status=$?
32637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32638 (exit $ac_status); }; } &&
32639 { ac_try='test -s conftest.$ac_objext'
32640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32641 (eval $ac_try) 2>&5
32642 ac_status=$?
32643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32644 (exit $ac_status); }; }; then
32645 glibcxx_cv_func_copysign_use=yes
32646 else
32647 echo "$as_me: failed program was:" >&5
32648 sed 's/^/| /' conftest.$ac_ext >&5
32650 glibcxx_cv_func_copysign_use=no
32652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32653 ac_ext=c
32654 ac_cpp='$CPP $CPPFLAGS'
32655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32663 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32664 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32666 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32668 for ac_func in copysign
32670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32671 echo "$as_me:$LINENO: checking for $ac_func" >&5
32672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32673 if eval "test \"\${$as_ac_var+set}\" = set"; then
32674 echo $ECHO_N "(cached) $ECHO_C" >&6
32675 else
32676 if test x$gcc_no_link = xyes; then
32677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32679 { (exit 1); exit 1; }; }
32681 cat >conftest.$ac_ext <<_ACEOF
32682 /* confdefs.h. */
32683 _ACEOF
32684 cat confdefs.h >>conftest.$ac_ext
32685 cat >>conftest.$ac_ext <<_ACEOF
32686 /* end confdefs.h. */
32687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32689 #define $ac_func innocuous_$ac_func
32691 /* System header to define __stub macros and hopefully few prototypes,
32692 which can conflict with char $ac_func (); below.
32693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32694 <limits.h> exists even on freestanding compilers. */
32696 #ifdef __STDC__
32697 # include <limits.h>
32698 #else
32699 # include <assert.h>
32700 #endif
32702 #undef $ac_func
32704 /* Override any gcc2 internal prototype to avoid an error. */
32705 #ifdef __cplusplus
32706 extern "C"
32708 #endif
32709 /* We use char because int might match the return type of a gcc2
32710 builtin and then its argument prototype would still apply. */
32711 char $ac_func ();
32712 /* The GNU C library defines this for functions which it implements
32713 to always fail with ENOSYS. Some functions are actually named
32714 something starting with __ and the normal name is an alias. */
32715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32716 choke me
32717 #else
32718 char (*f) () = $ac_func;
32719 #endif
32720 #ifdef __cplusplus
32722 #endif
32725 main ()
32727 return f != $ac_func;
32729 return 0;
32731 _ACEOF
32732 rm -f conftest.$ac_objext conftest$ac_exeext
32733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32734 (eval $ac_link) 2>conftest.er1
32735 ac_status=$?
32736 grep -v '^ *+' conftest.er1 >conftest.err
32737 rm -f conftest.er1
32738 cat conftest.err >&5
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); } &&
32741 { ac_try='test -z "$ac_c_werror_flag"
32742 || test ! -s conftest.err'
32743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32744 (eval $ac_try) 2>&5
32745 ac_status=$?
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); }; } &&
32748 { ac_try='test -s conftest$ac_exeext'
32749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32750 (eval $ac_try) 2>&5
32751 ac_status=$?
32752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32753 (exit $ac_status); }; }; then
32754 eval "$as_ac_var=yes"
32755 else
32756 echo "$as_me: failed program was:" >&5
32757 sed 's/^/| /' conftest.$ac_ext >&5
32759 eval "$as_ac_var=no"
32761 rm -f conftest.err conftest.$ac_objext \
32762 conftest$ac_exeext conftest.$ac_ext
32764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32766 if test `eval echo '${'$as_ac_var'}'` = yes; then
32767 cat >>confdefs.h <<_ACEOF
32768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32769 _ACEOF
32772 done
32774 else
32776 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32777 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32778 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32779 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32780 echo $ECHO_N "(cached) $ECHO_C" >&6
32781 else
32785 ac_ext=cc
32786 ac_cpp='$CXXCPP $CPPFLAGS'
32787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32791 cat >conftest.$ac_ext <<_ACEOF
32792 /* confdefs.h. */
32793 _ACEOF
32794 cat confdefs.h >>conftest.$ac_ext
32795 cat >>conftest.$ac_ext <<_ACEOF
32796 /* end confdefs.h. */
32797 #include <math.h>
32799 main ()
32801 _copysign(0, 0);
32803 return 0;
32805 _ACEOF
32806 rm -f conftest.$ac_objext
32807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32808 (eval $ac_compile) 2>conftest.er1
32809 ac_status=$?
32810 grep -v '^ *+' conftest.er1 >conftest.err
32811 rm -f conftest.er1
32812 cat conftest.err >&5
32813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32814 (exit $ac_status); } &&
32815 { ac_try='test -z "$ac_cxx_werror_flag"
32816 || test ! -s conftest.err'
32817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32818 (eval $ac_try) 2>&5
32819 ac_status=$?
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); }; } &&
32822 { ac_try='test -s conftest.$ac_objext'
32823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32824 (eval $ac_try) 2>&5
32825 ac_status=$?
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); }; }; then
32828 glibcxx_cv_func__copysign_use=yes
32829 else
32830 echo "$as_me: failed program was:" >&5
32831 sed 's/^/| /' conftest.$ac_ext >&5
32833 glibcxx_cv_func__copysign_use=no
32835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32836 ac_ext=c
32837 ac_cpp='$CPP $CPPFLAGS'
32838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32846 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32847 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32849 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32851 for ac_func in _copysign
32853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32854 echo "$as_me:$LINENO: checking for $ac_func" >&5
32855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32856 if eval "test \"\${$as_ac_var+set}\" = set"; then
32857 echo $ECHO_N "(cached) $ECHO_C" >&6
32858 else
32859 if test x$gcc_no_link = xyes; then
32860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32862 { (exit 1); exit 1; }; }
32864 cat >conftest.$ac_ext <<_ACEOF
32865 /* confdefs.h. */
32866 _ACEOF
32867 cat confdefs.h >>conftest.$ac_ext
32868 cat >>conftest.$ac_ext <<_ACEOF
32869 /* end confdefs.h. */
32870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32872 #define $ac_func innocuous_$ac_func
32874 /* System header to define __stub macros and hopefully few prototypes,
32875 which can conflict with char $ac_func (); below.
32876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32877 <limits.h> exists even on freestanding compilers. */
32879 #ifdef __STDC__
32880 # include <limits.h>
32881 #else
32882 # include <assert.h>
32883 #endif
32885 #undef $ac_func
32887 /* Override any gcc2 internal prototype to avoid an error. */
32888 #ifdef __cplusplus
32889 extern "C"
32891 #endif
32892 /* We use char because int might match the return type of a gcc2
32893 builtin and then its argument prototype would still apply. */
32894 char $ac_func ();
32895 /* The GNU C library defines this for functions which it implements
32896 to always fail with ENOSYS. Some functions are actually named
32897 something starting with __ and the normal name is an alias. */
32898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32899 choke me
32900 #else
32901 char (*f) () = $ac_func;
32902 #endif
32903 #ifdef __cplusplus
32905 #endif
32908 main ()
32910 return f != $ac_func;
32912 return 0;
32914 _ACEOF
32915 rm -f conftest.$ac_objext conftest$ac_exeext
32916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32917 (eval $ac_link) 2>conftest.er1
32918 ac_status=$?
32919 grep -v '^ *+' conftest.er1 >conftest.err
32920 rm -f conftest.er1
32921 cat conftest.err >&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); } &&
32924 { ac_try='test -z "$ac_c_werror_flag"
32925 || test ! -s conftest.err'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32928 ac_status=$?
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; } &&
32931 { ac_try='test -s conftest$ac_exeext'
32932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32933 (eval $ac_try) 2>&5
32934 ac_status=$?
32935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32936 (exit $ac_status); }; }; then
32937 eval "$as_ac_var=yes"
32938 else
32939 echo "$as_me: failed program was:" >&5
32940 sed 's/^/| /' conftest.$ac_ext >&5
32942 eval "$as_ac_var=no"
32944 rm -f conftest.err conftest.$ac_objext \
32945 conftest$ac_exeext conftest.$ac_ext
32947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32949 if test `eval echo '${'$as_ac_var'}'` = yes; then
32950 cat >>confdefs.h <<_ACEOF
32951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32952 _ACEOF
32955 done
32962 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32963 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32964 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32965 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32966 echo $ECHO_N "(cached) $ECHO_C" >&6
32967 else
32971 ac_ext=cc
32972 ac_cpp='$CXXCPP $CPPFLAGS'
32973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32977 cat >conftest.$ac_ext <<_ACEOF
32978 /* confdefs.h. */
32979 _ACEOF
32980 cat confdefs.h >>conftest.$ac_ext
32981 cat >>conftest.$ac_ext <<_ACEOF
32982 /* end confdefs.h. */
32983 #include <math.h>
32985 main ()
32987 sincos(0, 0, 0);
32989 return 0;
32991 _ACEOF
32992 rm -f conftest.$ac_objext
32993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32994 (eval $ac_compile) 2>conftest.er1
32995 ac_status=$?
32996 grep -v '^ *+' conftest.er1 >conftest.err
32997 rm -f conftest.er1
32998 cat conftest.err >&5
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); } &&
33001 { ac_try='test -z "$ac_cxx_werror_flag"
33002 || test ! -s conftest.err'
33003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33004 (eval $ac_try) 2>&5
33005 ac_status=$?
33006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007 (exit $ac_status); }; } &&
33008 { ac_try='test -s conftest.$ac_objext'
33009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010 (eval $ac_try) 2>&5
33011 ac_status=$?
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); }; }; then
33014 glibcxx_cv_func_sincos_use=yes
33015 else
33016 echo "$as_me: failed program was:" >&5
33017 sed 's/^/| /' conftest.$ac_ext >&5
33019 glibcxx_cv_func_sincos_use=no
33021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33022 ac_ext=c
33023 ac_cpp='$CPP $CPPFLAGS'
33024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33032 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33033 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33035 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33037 for ac_func in sincos
33039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33040 echo "$as_me:$LINENO: checking for $ac_func" >&5
33041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33042 if eval "test \"\${$as_ac_var+set}\" = set"; then
33043 echo $ECHO_N "(cached) $ECHO_C" >&6
33044 else
33045 if test x$gcc_no_link = xyes; then
33046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33048 { (exit 1); exit 1; }; }
33050 cat >conftest.$ac_ext <<_ACEOF
33051 /* confdefs.h. */
33052 _ACEOF
33053 cat confdefs.h >>conftest.$ac_ext
33054 cat >>conftest.$ac_ext <<_ACEOF
33055 /* end confdefs.h. */
33056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33058 #define $ac_func innocuous_$ac_func
33060 /* System header to define __stub macros and hopefully few prototypes,
33061 which can conflict with char $ac_func (); below.
33062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33063 <limits.h> exists even on freestanding compilers. */
33065 #ifdef __STDC__
33066 # include <limits.h>
33067 #else
33068 # include <assert.h>
33069 #endif
33071 #undef $ac_func
33073 /* Override any gcc2 internal prototype to avoid an error. */
33074 #ifdef __cplusplus
33075 extern "C"
33077 #endif
33078 /* We use char because int might match the return type of a gcc2
33079 builtin and then its argument prototype would still apply. */
33080 char $ac_func ();
33081 /* The GNU C library defines this for functions which it implements
33082 to always fail with ENOSYS. Some functions are actually named
33083 something starting with __ and the normal name is an alias. */
33084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33085 choke me
33086 #else
33087 char (*f) () = $ac_func;
33088 #endif
33089 #ifdef __cplusplus
33091 #endif
33094 main ()
33096 return f != $ac_func;
33098 return 0;
33100 _ACEOF
33101 rm -f conftest.$ac_objext conftest$ac_exeext
33102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33103 (eval $ac_link) 2>conftest.er1
33104 ac_status=$?
33105 grep -v '^ *+' conftest.er1 >conftest.err
33106 rm -f conftest.er1
33107 cat conftest.err >&5
33108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33109 (exit $ac_status); } &&
33110 { ac_try='test -z "$ac_c_werror_flag"
33111 || test ! -s conftest.err'
33112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33113 (eval $ac_try) 2>&5
33114 ac_status=$?
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); }; } &&
33117 { ac_try='test -s conftest$ac_exeext'
33118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33119 (eval $ac_try) 2>&5
33120 ac_status=$?
33121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122 (exit $ac_status); }; }; then
33123 eval "$as_ac_var=yes"
33124 else
33125 echo "$as_me: failed program was:" >&5
33126 sed 's/^/| /' conftest.$ac_ext >&5
33128 eval "$as_ac_var=no"
33130 rm -f conftest.err conftest.$ac_objext \
33131 conftest$ac_exeext conftest.$ac_ext
33133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33135 if test `eval echo '${'$as_ac_var'}'` = yes; then
33136 cat >>confdefs.h <<_ACEOF
33137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33138 _ACEOF
33141 done
33143 else
33145 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33146 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33147 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33148 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33149 echo $ECHO_N "(cached) $ECHO_C" >&6
33150 else
33154 ac_ext=cc
33155 ac_cpp='$CXXCPP $CPPFLAGS'
33156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33160 cat >conftest.$ac_ext <<_ACEOF
33161 /* confdefs.h. */
33162 _ACEOF
33163 cat confdefs.h >>conftest.$ac_ext
33164 cat >>conftest.$ac_ext <<_ACEOF
33165 /* end confdefs.h. */
33166 #include <math.h>
33168 main ()
33170 _sincos(0, 0, 0);
33172 return 0;
33174 _ACEOF
33175 rm -f conftest.$ac_objext
33176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33177 (eval $ac_compile) 2>conftest.er1
33178 ac_status=$?
33179 grep -v '^ *+' conftest.er1 >conftest.err
33180 rm -f conftest.er1
33181 cat conftest.err >&5
33182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183 (exit $ac_status); } &&
33184 { ac_try='test -z "$ac_cxx_werror_flag"
33185 || test ! -s conftest.err'
33186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33187 (eval $ac_try) 2>&5
33188 ac_status=$?
33189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33190 (exit $ac_status); }; } &&
33191 { ac_try='test -s conftest.$ac_objext'
33192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33193 (eval $ac_try) 2>&5
33194 ac_status=$?
33195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196 (exit $ac_status); }; }; then
33197 glibcxx_cv_func__sincos_use=yes
33198 else
33199 echo "$as_me: failed program was:" >&5
33200 sed 's/^/| /' conftest.$ac_ext >&5
33202 glibcxx_cv_func__sincos_use=no
33204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33205 ac_ext=c
33206 ac_cpp='$CPP $CPPFLAGS'
33207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33215 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33216 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33218 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33220 for ac_func in _sincos
33222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33223 echo "$as_me:$LINENO: checking for $ac_func" >&5
33224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33225 if eval "test \"\${$as_ac_var+set}\" = set"; then
33226 echo $ECHO_N "(cached) $ECHO_C" >&6
33227 else
33228 if test x$gcc_no_link = xyes; then
33229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33231 { (exit 1); exit 1; }; }
33233 cat >conftest.$ac_ext <<_ACEOF
33234 /* confdefs.h. */
33235 _ACEOF
33236 cat confdefs.h >>conftest.$ac_ext
33237 cat >>conftest.$ac_ext <<_ACEOF
33238 /* end confdefs.h. */
33239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33241 #define $ac_func innocuous_$ac_func
33243 /* System header to define __stub macros and hopefully few prototypes,
33244 which can conflict with char $ac_func (); below.
33245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33246 <limits.h> exists even on freestanding compilers. */
33248 #ifdef __STDC__
33249 # include <limits.h>
33250 #else
33251 # include <assert.h>
33252 #endif
33254 #undef $ac_func
33256 /* Override any gcc2 internal prototype to avoid an error. */
33257 #ifdef __cplusplus
33258 extern "C"
33260 #endif
33261 /* We use char because int might match the return type of a gcc2
33262 builtin and then its argument prototype would still apply. */
33263 char $ac_func ();
33264 /* The GNU C library defines this for functions which it implements
33265 to always fail with ENOSYS. Some functions are actually named
33266 something starting with __ and the normal name is an alias. */
33267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33268 choke me
33269 #else
33270 char (*f) () = $ac_func;
33271 #endif
33272 #ifdef __cplusplus
33274 #endif
33277 main ()
33279 return f != $ac_func;
33281 return 0;
33283 _ACEOF
33284 rm -f conftest.$ac_objext conftest$ac_exeext
33285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33286 (eval $ac_link) 2>conftest.er1
33287 ac_status=$?
33288 grep -v '^ *+' conftest.er1 >conftest.err
33289 rm -f conftest.er1
33290 cat conftest.err >&5
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); } &&
33293 { ac_try='test -z "$ac_c_werror_flag"
33294 || test ! -s conftest.err'
33295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33296 (eval $ac_try) 2>&5
33297 ac_status=$?
33298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33299 (exit $ac_status); }; } &&
33300 { ac_try='test -s conftest$ac_exeext'
33301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33302 (eval $ac_try) 2>&5
33303 ac_status=$?
33304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33305 (exit $ac_status); }; }; then
33306 eval "$as_ac_var=yes"
33307 else
33308 echo "$as_me: failed program was:" >&5
33309 sed 's/^/| /' conftest.$ac_ext >&5
33311 eval "$as_ac_var=no"
33313 rm -f conftest.err conftest.$ac_objext \
33314 conftest$ac_exeext conftest.$ac_ext
33316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33318 if test `eval echo '${'$as_ac_var'}'` = yes; then
33319 cat >>confdefs.h <<_ACEOF
33320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33321 _ACEOF
33324 done
33331 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33332 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33333 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33334 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33335 echo $ECHO_N "(cached) $ECHO_C" >&6
33336 else
33340 ac_ext=cc
33341 ac_cpp='$CXXCPP $CPPFLAGS'
33342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33346 cat >conftest.$ac_ext <<_ACEOF
33347 /* confdefs.h. */
33348 _ACEOF
33349 cat confdefs.h >>conftest.$ac_ext
33350 cat >>conftest.$ac_ext <<_ACEOF
33351 /* end confdefs.h. */
33352 #include <math.h>
33353 #ifdef HAVE_IEEEFP_H
33354 #include <ieeefp.h>
33355 #endif
33358 main ()
33360 fpclass(0);
33362 return 0;
33364 _ACEOF
33365 rm -f conftest.$ac_objext
33366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33367 (eval $ac_compile) 2>conftest.er1
33368 ac_status=$?
33369 grep -v '^ *+' conftest.er1 >conftest.err
33370 rm -f conftest.er1
33371 cat conftest.err >&5
33372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33373 (exit $ac_status); } &&
33374 { ac_try='test -z "$ac_cxx_werror_flag"
33375 || test ! -s conftest.err'
33376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33377 (eval $ac_try) 2>&5
33378 ac_status=$?
33379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33380 (exit $ac_status); }; } &&
33381 { ac_try='test -s conftest.$ac_objext'
33382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33383 (eval $ac_try) 2>&5
33384 ac_status=$?
33385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33386 (exit $ac_status); }; }; then
33387 glibcxx_cv_func_fpclass_use=yes
33388 else
33389 echo "$as_me: failed program was:" >&5
33390 sed 's/^/| /' conftest.$ac_ext >&5
33392 glibcxx_cv_func_fpclass_use=no
33394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33395 ac_ext=c
33396 ac_cpp='$CPP $CPPFLAGS'
33397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33406 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33408 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33410 for ac_func in fpclass
33412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33413 echo "$as_me:$LINENO: checking for $ac_func" >&5
33414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33415 if eval "test \"\${$as_ac_var+set}\" = set"; then
33416 echo $ECHO_N "(cached) $ECHO_C" >&6
33417 else
33418 if test x$gcc_no_link = xyes; then
33419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33421 { (exit 1); exit 1; }; }
33423 cat >conftest.$ac_ext <<_ACEOF
33424 /* confdefs.h. */
33425 _ACEOF
33426 cat confdefs.h >>conftest.$ac_ext
33427 cat >>conftest.$ac_ext <<_ACEOF
33428 /* end confdefs.h. */
33429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33431 #define $ac_func innocuous_$ac_func
33433 /* System header to define __stub macros and hopefully few prototypes,
33434 which can conflict with char $ac_func (); below.
33435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33436 <limits.h> exists even on freestanding compilers. */
33438 #ifdef __STDC__
33439 # include <limits.h>
33440 #else
33441 # include <assert.h>
33442 #endif
33444 #undef $ac_func
33446 /* Override any gcc2 internal prototype to avoid an error. */
33447 #ifdef __cplusplus
33448 extern "C"
33450 #endif
33451 /* We use char because int might match the return type of a gcc2
33452 builtin and then its argument prototype would still apply. */
33453 char $ac_func ();
33454 /* The GNU C library defines this for functions which it implements
33455 to always fail with ENOSYS. Some functions are actually named
33456 something starting with __ and the normal name is an alias. */
33457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33458 choke me
33459 #else
33460 char (*f) () = $ac_func;
33461 #endif
33462 #ifdef __cplusplus
33464 #endif
33467 main ()
33469 return f != $ac_func;
33471 return 0;
33473 _ACEOF
33474 rm -f conftest.$ac_objext conftest$ac_exeext
33475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33476 (eval $ac_link) 2>conftest.er1
33477 ac_status=$?
33478 grep -v '^ *+' conftest.er1 >conftest.err
33479 rm -f conftest.er1
33480 cat conftest.err >&5
33481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33482 (exit $ac_status); } &&
33483 { ac_try='test -z "$ac_c_werror_flag"
33484 || test ! -s conftest.err'
33485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33486 (eval $ac_try) 2>&5
33487 ac_status=$?
33488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489 (exit $ac_status); }; } &&
33490 { ac_try='test -s conftest$ac_exeext'
33491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33492 (eval $ac_try) 2>&5
33493 ac_status=$?
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); }; }; then
33496 eval "$as_ac_var=yes"
33497 else
33498 echo "$as_me: failed program was:" >&5
33499 sed 's/^/| /' conftest.$ac_ext >&5
33501 eval "$as_ac_var=no"
33503 rm -f conftest.err conftest.$ac_objext \
33504 conftest$ac_exeext conftest.$ac_ext
33506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33508 if test `eval echo '${'$as_ac_var'}'` = yes; then
33509 cat >>confdefs.h <<_ACEOF
33510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33511 _ACEOF
33514 done
33516 else
33518 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33519 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33520 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33521 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33522 echo $ECHO_N "(cached) $ECHO_C" >&6
33523 else
33527 ac_ext=cc
33528 ac_cpp='$CXXCPP $CPPFLAGS'
33529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33533 cat >conftest.$ac_ext <<_ACEOF
33534 /* confdefs.h. */
33535 _ACEOF
33536 cat confdefs.h >>conftest.$ac_ext
33537 cat >>conftest.$ac_ext <<_ACEOF
33538 /* end confdefs.h. */
33539 #include <math.h>
33540 #ifdef HAVE_IEEEFP_H
33541 #include <ieeefp.h>
33542 #endif
33545 main ()
33547 _fpclass(0);
33549 return 0;
33551 _ACEOF
33552 rm -f conftest.$ac_objext
33553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33554 (eval $ac_compile) 2>conftest.er1
33555 ac_status=$?
33556 grep -v '^ *+' conftest.er1 >conftest.err
33557 rm -f conftest.er1
33558 cat conftest.err >&5
33559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33560 (exit $ac_status); } &&
33561 { ac_try='test -z "$ac_cxx_werror_flag"
33562 || test ! -s conftest.err'
33563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33564 (eval $ac_try) 2>&5
33565 ac_status=$?
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); }; } &&
33568 { ac_try='test -s conftest.$ac_objext'
33569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33570 (eval $ac_try) 2>&5
33571 ac_status=$?
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); }; }; then
33574 glibcxx_cv_func__fpclass_use=yes
33575 else
33576 echo "$as_me: failed program was:" >&5
33577 sed 's/^/| /' conftest.$ac_ext >&5
33579 glibcxx_cv_func__fpclass_use=no
33581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33582 ac_ext=c
33583 ac_cpp='$CPP $CPPFLAGS'
33584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33592 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33593 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33595 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33597 for ac_func in _fpclass
33599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33600 echo "$as_me:$LINENO: checking for $ac_func" >&5
33601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33602 if eval "test \"\${$as_ac_var+set}\" = set"; then
33603 echo $ECHO_N "(cached) $ECHO_C" >&6
33604 else
33605 if test x$gcc_no_link = xyes; then
33606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33608 { (exit 1); exit 1; }; }
33610 cat >conftest.$ac_ext <<_ACEOF
33611 /* confdefs.h. */
33612 _ACEOF
33613 cat confdefs.h >>conftest.$ac_ext
33614 cat >>conftest.$ac_ext <<_ACEOF
33615 /* end confdefs.h. */
33616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33618 #define $ac_func innocuous_$ac_func
33620 /* System header to define __stub macros and hopefully few prototypes,
33621 which can conflict with char $ac_func (); below.
33622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33623 <limits.h> exists even on freestanding compilers. */
33625 #ifdef __STDC__
33626 # include <limits.h>
33627 #else
33628 # include <assert.h>
33629 #endif
33631 #undef $ac_func
33633 /* Override any gcc2 internal prototype to avoid an error. */
33634 #ifdef __cplusplus
33635 extern "C"
33637 #endif
33638 /* We use char because int might match the return type of a gcc2
33639 builtin and then its argument prototype would still apply. */
33640 char $ac_func ();
33641 /* The GNU C library defines this for functions which it implements
33642 to always fail with ENOSYS. Some functions are actually named
33643 something starting with __ and the normal name is an alias. */
33644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33645 choke me
33646 #else
33647 char (*f) () = $ac_func;
33648 #endif
33649 #ifdef __cplusplus
33651 #endif
33654 main ()
33656 return f != $ac_func;
33658 return 0;
33660 _ACEOF
33661 rm -f conftest.$ac_objext conftest$ac_exeext
33662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33663 (eval $ac_link) 2>conftest.er1
33664 ac_status=$?
33665 grep -v '^ *+' conftest.er1 >conftest.err
33666 rm -f conftest.er1
33667 cat conftest.err >&5
33668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33669 (exit $ac_status); } &&
33670 { ac_try='test -z "$ac_c_werror_flag"
33671 || test ! -s conftest.err'
33672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33673 (eval $ac_try) 2>&5
33674 ac_status=$?
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); }; } &&
33677 { ac_try='test -s conftest$ac_exeext'
33678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33679 (eval $ac_try) 2>&5
33680 ac_status=$?
33681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33682 (exit $ac_status); }; }; then
33683 eval "$as_ac_var=yes"
33684 else
33685 echo "$as_me: failed program was:" >&5
33686 sed 's/^/| /' conftest.$ac_ext >&5
33688 eval "$as_ac_var=no"
33690 rm -f conftest.err conftest.$ac_objext \
33691 conftest$ac_exeext conftest.$ac_ext
33693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33695 if test `eval echo '${'$as_ac_var'}'` = yes; then
33696 cat >>confdefs.h <<_ACEOF
33697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33698 _ACEOF
33701 done
33708 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33709 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33710 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33711 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33712 echo $ECHO_N "(cached) $ECHO_C" >&6
33713 else
33717 ac_ext=cc
33718 ac_cpp='$CXXCPP $CPPFLAGS'
33719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33723 cat >conftest.$ac_ext <<_ACEOF
33724 /* confdefs.h. */
33725 _ACEOF
33726 cat confdefs.h >>conftest.$ac_ext
33727 cat >>conftest.$ac_ext <<_ACEOF
33728 /* end confdefs.h. */
33729 #include <math.h>
33730 #ifdef HAVE_IEEEFP_H
33731 #include <ieeefp.h>
33732 #endif
33735 main ()
33737 qfpclass(0);
33739 return 0;
33741 _ACEOF
33742 rm -f conftest.$ac_objext
33743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33744 (eval $ac_compile) 2>conftest.er1
33745 ac_status=$?
33746 grep -v '^ *+' conftest.er1 >conftest.err
33747 rm -f conftest.er1
33748 cat conftest.err >&5
33749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33750 (exit $ac_status); } &&
33751 { ac_try='test -z "$ac_cxx_werror_flag"
33752 || test ! -s conftest.err'
33753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33754 (eval $ac_try) 2>&5
33755 ac_status=$?
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); }; } &&
33758 { ac_try='test -s conftest.$ac_objext'
33759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33760 (eval $ac_try) 2>&5
33761 ac_status=$?
33762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33763 (exit $ac_status); }; }; then
33764 glibcxx_cv_func_qfpclass_use=yes
33765 else
33766 echo "$as_me: failed program was:" >&5
33767 sed 's/^/| /' conftest.$ac_ext >&5
33769 glibcxx_cv_func_qfpclass_use=no
33771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33772 ac_ext=c
33773 ac_cpp='$CPP $CPPFLAGS'
33774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33782 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33783 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33785 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33787 for ac_func in qfpclass
33789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33790 echo "$as_me:$LINENO: checking for $ac_func" >&5
33791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33792 if eval "test \"\${$as_ac_var+set}\" = set"; then
33793 echo $ECHO_N "(cached) $ECHO_C" >&6
33794 else
33795 if test x$gcc_no_link = xyes; then
33796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33798 { (exit 1); exit 1; }; }
33800 cat >conftest.$ac_ext <<_ACEOF
33801 /* confdefs.h. */
33802 _ACEOF
33803 cat confdefs.h >>conftest.$ac_ext
33804 cat >>conftest.$ac_ext <<_ACEOF
33805 /* end confdefs.h. */
33806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33808 #define $ac_func innocuous_$ac_func
33810 /* System header to define __stub macros and hopefully few prototypes,
33811 which can conflict with char $ac_func (); below.
33812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33813 <limits.h> exists even on freestanding compilers. */
33815 #ifdef __STDC__
33816 # include <limits.h>
33817 #else
33818 # include <assert.h>
33819 #endif
33821 #undef $ac_func
33823 /* Override any gcc2 internal prototype to avoid an error. */
33824 #ifdef __cplusplus
33825 extern "C"
33827 #endif
33828 /* We use char because int might match the return type of a gcc2
33829 builtin and then its argument prototype would still apply. */
33830 char $ac_func ();
33831 /* The GNU C library defines this for functions which it implements
33832 to always fail with ENOSYS. Some functions are actually named
33833 something starting with __ and the normal name is an alias. */
33834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33835 choke me
33836 #else
33837 char (*f) () = $ac_func;
33838 #endif
33839 #ifdef __cplusplus
33841 #endif
33844 main ()
33846 return f != $ac_func;
33848 return 0;
33850 _ACEOF
33851 rm -f conftest.$ac_objext conftest$ac_exeext
33852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33853 (eval $ac_link) 2>conftest.er1
33854 ac_status=$?
33855 grep -v '^ *+' conftest.er1 >conftest.err
33856 rm -f conftest.er1
33857 cat conftest.err >&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); } &&
33860 { ac_try='test -z "$ac_c_werror_flag"
33861 || test ! -s conftest.err'
33862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33863 (eval $ac_try) 2>&5
33864 ac_status=$?
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); }; } &&
33867 { ac_try='test -s conftest$ac_exeext'
33868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33869 (eval $ac_try) 2>&5
33870 ac_status=$?
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); }; }; then
33873 eval "$as_ac_var=yes"
33874 else
33875 echo "$as_me: failed program was:" >&5
33876 sed 's/^/| /' conftest.$ac_ext >&5
33878 eval "$as_ac_var=no"
33880 rm -f conftest.err conftest.$ac_objext \
33881 conftest$ac_exeext conftest.$ac_ext
33883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33885 if test `eval echo '${'$as_ac_var'}'` = yes; then
33886 cat >>confdefs.h <<_ACEOF
33887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33888 _ACEOF
33891 done
33893 else
33895 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33896 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33897 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33898 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33899 echo $ECHO_N "(cached) $ECHO_C" >&6
33900 else
33904 ac_ext=cc
33905 ac_cpp='$CXXCPP $CPPFLAGS'
33906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33910 cat >conftest.$ac_ext <<_ACEOF
33911 /* confdefs.h. */
33912 _ACEOF
33913 cat confdefs.h >>conftest.$ac_ext
33914 cat >>conftest.$ac_ext <<_ACEOF
33915 /* end confdefs.h. */
33916 #include <math.h>
33917 #ifdef HAVE_IEEEFP_H
33918 #include <ieeefp.h>
33919 #endif
33922 main ()
33924 _qfpclass(0);
33926 return 0;
33928 _ACEOF
33929 rm -f conftest.$ac_objext
33930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33931 (eval $ac_compile) 2>conftest.er1
33932 ac_status=$?
33933 grep -v '^ *+' conftest.er1 >conftest.err
33934 rm -f conftest.er1
33935 cat conftest.err >&5
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); } &&
33938 { ac_try='test -z "$ac_cxx_werror_flag"
33939 || test ! -s conftest.err'
33940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33941 (eval $ac_try) 2>&5
33942 ac_status=$?
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); }; } &&
33945 { ac_try='test -s conftest.$ac_objext'
33946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33947 (eval $ac_try) 2>&5
33948 ac_status=$?
33949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950 (exit $ac_status); }; }; then
33951 glibcxx_cv_func__qfpclass_use=yes
33952 else
33953 echo "$as_me: failed program was:" >&5
33954 sed 's/^/| /' conftest.$ac_ext >&5
33956 glibcxx_cv_func__qfpclass_use=no
33958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33959 ac_ext=c
33960 ac_cpp='$CPP $CPPFLAGS'
33961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33969 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33970 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33972 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33974 for ac_func in _qfpclass
33976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33977 echo "$as_me:$LINENO: checking for $ac_func" >&5
33978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33979 if eval "test \"\${$as_ac_var+set}\" = set"; then
33980 echo $ECHO_N "(cached) $ECHO_C" >&6
33981 else
33982 if test x$gcc_no_link = xyes; then
33983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33985 { (exit 1); exit 1; }; }
33987 cat >conftest.$ac_ext <<_ACEOF
33988 /* confdefs.h. */
33989 _ACEOF
33990 cat confdefs.h >>conftest.$ac_ext
33991 cat >>conftest.$ac_ext <<_ACEOF
33992 /* end confdefs.h. */
33993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33995 #define $ac_func innocuous_$ac_func
33997 /* System header to define __stub macros and hopefully few prototypes,
33998 which can conflict with char $ac_func (); below.
33999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34000 <limits.h> exists even on freestanding compilers. */
34002 #ifdef __STDC__
34003 # include <limits.h>
34004 #else
34005 # include <assert.h>
34006 #endif
34008 #undef $ac_func
34010 /* Override any gcc2 internal prototype to avoid an error. */
34011 #ifdef __cplusplus
34012 extern "C"
34014 #endif
34015 /* We use char because int might match the return type of a gcc2
34016 builtin and then its argument prototype would still apply. */
34017 char $ac_func ();
34018 /* The GNU C library defines this for functions which it implements
34019 to always fail with ENOSYS. Some functions are actually named
34020 something starting with __ and the normal name is an alias. */
34021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34022 choke me
34023 #else
34024 char (*f) () = $ac_func;
34025 #endif
34026 #ifdef __cplusplus
34028 #endif
34031 main ()
34033 return f != $ac_func;
34035 return 0;
34037 _ACEOF
34038 rm -f conftest.$ac_objext conftest$ac_exeext
34039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34040 (eval $ac_link) 2>conftest.er1
34041 ac_status=$?
34042 grep -v '^ *+' conftest.er1 >conftest.err
34043 rm -f conftest.er1
34044 cat conftest.err >&5
34045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34046 (exit $ac_status); } &&
34047 { ac_try='test -z "$ac_c_werror_flag"
34048 || test ! -s conftest.err'
34049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34050 (eval $ac_try) 2>&5
34051 ac_status=$?
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); }; } &&
34054 { ac_try='test -s conftest$ac_exeext'
34055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34056 (eval $ac_try) 2>&5
34057 ac_status=$?
34058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059 (exit $ac_status); }; }; then
34060 eval "$as_ac_var=yes"
34061 else
34062 echo "$as_me: failed program was:" >&5
34063 sed 's/^/| /' conftest.$ac_ext >&5
34065 eval "$as_ac_var=no"
34067 rm -f conftest.err conftest.$ac_objext \
34068 conftest$ac_exeext conftest.$ac_ext
34070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34072 if test `eval echo '${'$as_ac_var'}'` = yes; then
34073 cat >>confdefs.h <<_ACEOF
34074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34075 _ACEOF
34078 done
34085 echo "$as_me:$LINENO: checking for hypot declaration" >&5
34086 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34087 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34088 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34089 echo $ECHO_N "(cached) $ECHO_C" >&6
34090 else
34094 ac_ext=cc
34095 ac_cpp='$CXXCPP $CPPFLAGS'
34096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34100 cat >conftest.$ac_ext <<_ACEOF
34101 /* confdefs.h. */
34102 _ACEOF
34103 cat confdefs.h >>conftest.$ac_ext
34104 cat >>conftest.$ac_ext <<_ACEOF
34105 /* end confdefs.h. */
34106 #include <math.h>
34108 main ()
34110 hypot(0, 0);
34112 return 0;
34114 _ACEOF
34115 rm -f conftest.$ac_objext
34116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34117 (eval $ac_compile) 2>conftest.er1
34118 ac_status=$?
34119 grep -v '^ *+' conftest.er1 >conftest.err
34120 rm -f conftest.er1
34121 cat conftest.err >&5
34122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34123 (exit $ac_status); } &&
34124 { ac_try='test -z "$ac_cxx_werror_flag"
34125 || test ! -s conftest.err'
34126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34127 (eval $ac_try) 2>&5
34128 ac_status=$?
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); }; } &&
34131 { ac_try='test -s conftest.$ac_objext'
34132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133 (eval $ac_try) 2>&5
34134 ac_status=$?
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); }; }; then
34137 glibcxx_cv_func_hypot_use=yes
34138 else
34139 echo "$as_me: failed program was:" >&5
34140 sed 's/^/| /' conftest.$ac_ext >&5
34142 glibcxx_cv_func_hypot_use=no
34144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34145 ac_ext=c
34146 ac_cpp='$CPP $CPPFLAGS'
34147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34155 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34156 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34158 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34160 for ac_func in hypot
34162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34163 echo "$as_me:$LINENO: checking for $ac_func" >&5
34164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34165 if eval "test \"\${$as_ac_var+set}\" = set"; then
34166 echo $ECHO_N "(cached) $ECHO_C" >&6
34167 else
34168 if test x$gcc_no_link = xyes; then
34169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34171 { (exit 1); exit 1; }; }
34173 cat >conftest.$ac_ext <<_ACEOF
34174 /* confdefs.h. */
34175 _ACEOF
34176 cat confdefs.h >>conftest.$ac_ext
34177 cat >>conftest.$ac_ext <<_ACEOF
34178 /* end confdefs.h. */
34179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34181 #define $ac_func innocuous_$ac_func
34183 /* System header to define __stub macros and hopefully few prototypes,
34184 which can conflict with char $ac_func (); below.
34185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34186 <limits.h> exists even on freestanding compilers. */
34188 #ifdef __STDC__
34189 # include <limits.h>
34190 #else
34191 # include <assert.h>
34192 #endif
34194 #undef $ac_func
34196 /* Override any gcc2 internal prototype to avoid an error. */
34197 #ifdef __cplusplus
34198 extern "C"
34200 #endif
34201 /* We use char because int might match the return type of a gcc2
34202 builtin and then its argument prototype would still apply. */
34203 char $ac_func ();
34204 /* The GNU C library defines this for functions which it implements
34205 to always fail with ENOSYS. Some functions are actually named
34206 something starting with __ and the normal name is an alias. */
34207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34208 choke me
34209 #else
34210 char (*f) () = $ac_func;
34211 #endif
34212 #ifdef __cplusplus
34214 #endif
34217 main ()
34219 return f != $ac_func;
34221 return 0;
34223 _ACEOF
34224 rm -f conftest.$ac_objext conftest$ac_exeext
34225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34226 (eval $ac_link) 2>conftest.er1
34227 ac_status=$?
34228 grep -v '^ *+' conftest.er1 >conftest.err
34229 rm -f conftest.er1
34230 cat conftest.err >&5
34231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34232 (exit $ac_status); } &&
34233 { ac_try='test -z "$ac_c_werror_flag"
34234 || test ! -s conftest.err'
34235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34236 (eval $ac_try) 2>&5
34237 ac_status=$?
34238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34239 (exit $ac_status); }; } &&
34240 { ac_try='test -s conftest$ac_exeext'
34241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34242 (eval $ac_try) 2>&5
34243 ac_status=$?
34244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34245 (exit $ac_status); }; }; then
34246 eval "$as_ac_var=yes"
34247 else
34248 echo "$as_me: failed program was:" >&5
34249 sed 's/^/| /' conftest.$ac_ext >&5
34251 eval "$as_ac_var=no"
34253 rm -f conftest.err conftest.$ac_objext \
34254 conftest$ac_exeext conftest.$ac_ext
34256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34258 if test `eval echo '${'$as_ac_var'}'` = yes; then
34259 cat >>confdefs.h <<_ACEOF
34260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34261 _ACEOF
34264 done
34266 else
34268 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34269 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34270 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34271 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34272 echo $ECHO_N "(cached) $ECHO_C" >&6
34273 else
34277 ac_ext=cc
34278 ac_cpp='$CXXCPP $CPPFLAGS'
34279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34283 cat >conftest.$ac_ext <<_ACEOF
34284 /* confdefs.h. */
34285 _ACEOF
34286 cat confdefs.h >>conftest.$ac_ext
34287 cat >>conftest.$ac_ext <<_ACEOF
34288 /* end confdefs.h. */
34289 #include <math.h>
34291 main ()
34293 _hypot(0, 0);
34295 return 0;
34297 _ACEOF
34298 rm -f conftest.$ac_objext
34299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34300 (eval $ac_compile) 2>conftest.er1
34301 ac_status=$?
34302 grep -v '^ *+' conftest.er1 >conftest.err
34303 rm -f conftest.er1
34304 cat conftest.err >&5
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); } &&
34307 { ac_try='test -z "$ac_cxx_werror_flag"
34308 || test ! -s conftest.err'
34309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34310 (eval $ac_try) 2>&5
34311 ac_status=$?
34312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34313 (exit $ac_status); }; } &&
34314 { ac_try='test -s conftest.$ac_objext'
34315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34316 (eval $ac_try) 2>&5
34317 ac_status=$?
34318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34319 (exit $ac_status); }; }; then
34320 glibcxx_cv_func__hypot_use=yes
34321 else
34322 echo "$as_me: failed program was:" >&5
34323 sed 's/^/| /' conftest.$ac_ext >&5
34325 glibcxx_cv_func__hypot_use=no
34327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34328 ac_ext=c
34329 ac_cpp='$CPP $CPPFLAGS'
34330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34338 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34339 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34341 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34343 for ac_func in _hypot
34345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34346 echo "$as_me:$LINENO: checking for $ac_func" >&5
34347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34348 if eval "test \"\${$as_ac_var+set}\" = set"; then
34349 echo $ECHO_N "(cached) $ECHO_C" >&6
34350 else
34351 if test x$gcc_no_link = xyes; then
34352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34354 { (exit 1); exit 1; }; }
34356 cat >conftest.$ac_ext <<_ACEOF
34357 /* confdefs.h. */
34358 _ACEOF
34359 cat confdefs.h >>conftest.$ac_ext
34360 cat >>conftest.$ac_ext <<_ACEOF
34361 /* end confdefs.h. */
34362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34364 #define $ac_func innocuous_$ac_func
34366 /* System header to define __stub macros and hopefully few prototypes,
34367 which can conflict with char $ac_func (); below.
34368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34369 <limits.h> exists even on freestanding compilers. */
34371 #ifdef __STDC__
34372 # include <limits.h>
34373 #else
34374 # include <assert.h>
34375 #endif
34377 #undef $ac_func
34379 /* Override any gcc2 internal prototype to avoid an error. */
34380 #ifdef __cplusplus
34381 extern "C"
34383 #endif
34384 /* We use char because int might match the return type of a gcc2
34385 builtin and then its argument prototype would still apply. */
34386 char $ac_func ();
34387 /* The GNU C library defines this for functions which it implements
34388 to always fail with ENOSYS. Some functions are actually named
34389 something starting with __ and the normal name is an alias. */
34390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34391 choke me
34392 #else
34393 char (*f) () = $ac_func;
34394 #endif
34395 #ifdef __cplusplus
34397 #endif
34400 main ()
34402 return f != $ac_func;
34404 return 0;
34406 _ACEOF
34407 rm -f conftest.$ac_objext conftest$ac_exeext
34408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34409 (eval $ac_link) 2>conftest.er1
34410 ac_status=$?
34411 grep -v '^ *+' conftest.er1 >conftest.err
34412 rm -f conftest.er1
34413 cat conftest.err >&5
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); } &&
34416 { ac_try='test -z "$ac_c_werror_flag"
34417 || test ! -s conftest.err'
34418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34419 (eval $ac_try) 2>&5
34420 ac_status=$?
34421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34422 (exit $ac_status); }; } &&
34423 { ac_try='test -s conftest$ac_exeext'
34424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34425 (eval $ac_try) 2>&5
34426 ac_status=$?
34427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34428 (exit $ac_status); }; }; then
34429 eval "$as_ac_var=yes"
34430 else
34431 echo "$as_me: failed program was:" >&5
34432 sed 's/^/| /' conftest.$ac_ext >&5
34434 eval "$as_ac_var=no"
34436 rm -f conftest.err conftest.$ac_objext \
34437 conftest$ac_exeext conftest.$ac_ext
34439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34441 if test `eval echo '${'$as_ac_var'}'` = yes; then
34442 cat >>confdefs.h <<_ACEOF
34443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34444 _ACEOF
34447 done
34454 echo "$as_me:$LINENO: checking for float trig functions" >&5
34455 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34456 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34457 echo $ECHO_N "(cached) $ECHO_C" >&6
34458 else
34462 ac_ext=cc
34463 ac_cpp='$CXXCPP $CPPFLAGS'
34464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34468 cat >conftest.$ac_ext <<_ACEOF
34469 /* confdefs.h. */
34470 _ACEOF
34471 cat confdefs.h >>conftest.$ac_ext
34472 cat >>conftest.$ac_ext <<_ACEOF
34473 /* end confdefs.h. */
34474 #include <math.h>
34476 main ()
34478 `for x in acosf asinf atanf \
34479 cosf sinf tanf \
34480 coshf sinhf tanhf; do echo "$x (0);"; done`
34482 return 0;
34484 _ACEOF
34485 rm -f conftest.$ac_objext
34486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34487 (eval $ac_compile) 2>conftest.er1
34488 ac_status=$?
34489 grep -v '^ *+' conftest.er1 >conftest.err
34490 rm -f conftest.er1
34491 cat conftest.err >&5
34492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34493 (exit $ac_status); } &&
34494 { ac_try='test -z "$ac_cxx_werror_flag"
34495 || test ! -s conftest.err'
34496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34497 (eval $ac_try) 2>&5
34498 ac_status=$?
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); }; } &&
34501 { ac_try='test -s conftest.$ac_objext'
34502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34503 (eval $ac_try) 2>&5
34504 ac_status=$?
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); }; }; then
34507 glibcxx_cv_func_float_trig_use=yes
34508 else
34509 echo "$as_me: failed program was:" >&5
34510 sed 's/^/| /' conftest.$ac_ext >&5
34512 glibcxx_cv_func_float_trig_use=no
34514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34515 ac_ext=c
34516 ac_cpp='$CPP $CPPFLAGS'
34517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34523 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34524 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34525 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34535 for ac_func in acosf asinf atanf \
34536 cosf sinf tanf \
34537 coshf sinhf tanhf
34539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34540 echo "$as_me:$LINENO: checking for $ac_func" >&5
34541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34542 if eval "test \"\${$as_ac_var+set}\" = set"; then
34543 echo $ECHO_N "(cached) $ECHO_C" >&6
34544 else
34545 if test x$gcc_no_link = xyes; then
34546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34548 { (exit 1); exit 1; }; }
34550 cat >conftest.$ac_ext <<_ACEOF
34551 /* confdefs.h. */
34552 _ACEOF
34553 cat confdefs.h >>conftest.$ac_ext
34554 cat >>conftest.$ac_ext <<_ACEOF
34555 /* end confdefs.h. */
34556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34558 #define $ac_func innocuous_$ac_func
34560 /* System header to define __stub macros and hopefully few prototypes,
34561 which can conflict with char $ac_func (); below.
34562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34563 <limits.h> exists even on freestanding compilers. */
34565 #ifdef __STDC__
34566 # include <limits.h>
34567 #else
34568 # include <assert.h>
34569 #endif
34571 #undef $ac_func
34573 /* Override any gcc2 internal prototype to avoid an error. */
34574 #ifdef __cplusplus
34575 extern "C"
34577 #endif
34578 /* We use char because int might match the return type of a gcc2
34579 builtin and then its argument prototype would still apply. */
34580 char $ac_func ();
34581 /* The GNU C library defines this for functions which it implements
34582 to always fail with ENOSYS. Some functions are actually named
34583 something starting with __ and the normal name is an alias. */
34584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34585 choke me
34586 #else
34587 char (*f) () = $ac_func;
34588 #endif
34589 #ifdef __cplusplus
34591 #endif
34594 main ()
34596 return f != $ac_func;
34598 return 0;
34600 _ACEOF
34601 rm -f conftest.$ac_objext conftest$ac_exeext
34602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34603 (eval $ac_link) 2>conftest.er1
34604 ac_status=$?
34605 grep -v '^ *+' conftest.er1 >conftest.err
34606 rm -f conftest.er1
34607 cat conftest.err >&5
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); } &&
34610 { ac_try='test -z "$ac_c_werror_flag"
34611 || test ! -s conftest.err'
34612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34613 (eval $ac_try) 2>&5
34614 ac_status=$?
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); }; } &&
34617 { ac_try='test -s conftest$ac_exeext'
34618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619 (eval $ac_try) 2>&5
34620 ac_status=$?
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); }; }; then
34623 eval "$as_ac_var=yes"
34624 else
34625 echo "$as_me: failed program was:" >&5
34626 sed 's/^/| /' conftest.$ac_ext >&5
34628 eval "$as_ac_var=no"
34630 rm -f conftest.err conftest.$ac_objext \
34631 conftest$ac_exeext conftest.$ac_ext
34633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34635 if test `eval echo '${'$as_ac_var'}'` = yes; then
34636 cat >>confdefs.h <<_ACEOF
34637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34638 _ACEOF
34641 done
34646 echo "$as_me:$LINENO: checking for float round functions" >&5
34647 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34648 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34649 echo $ECHO_N "(cached) $ECHO_C" >&6
34650 else
34654 ac_ext=cc
34655 ac_cpp='$CXXCPP $CPPFLAGS'
34656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34660 cat >conftest.$ac_ext <<_ACEOF
34661 /* confdefs.h. */
34662 _ACEOF
34663 cat confdefs.h >>conftest.$ac_ext
34664 cat >>conftest.$ac_ext <<_ACEOF
34665 /* end confdefs.h. */
34666 #include <math.h>
34668 main ()
34670 `for x in ceilf floorf; do echo "$x (0);"; done`
34672 return 0;
34674 _ACEOF
34675 rm -f conftest.$ac_objext
34676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34677 (eval $ac_compile) 2>conftest.er1
34678 ac_status=$?
34679 grep -v '^ *+' conftest.er1 >conftest.err
34680 rm -f conftest.er1
34681 cat conftest.err >&5
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); } &&
34684 { ac_try='test -z "$ac_cxx_werror_flag"
34685 || test ! -s conftest.err'
34686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34687 (eval $ac_try) 2>&5
34688 ac_status=$?
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); }; } &&
34691 { ac_try='test -s conftest.$ac_objext'
34692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34693 (eval $ac_try) 2>&5
34694 ac_status=$?
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); }; }; then
34697 glibcxx_cv_func_float_round_use=yes
34698 else
34699 echo "$as_me: failed program was:" >&5
34700 sed 's/^/| /' conftest.$ac_ext >&5
34702 glibcxx_cv_func_float_round_use=no
34704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34705 ac_ext=c
34706 ac_cpp='$CPP $CPPFLAGS'
34707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34713 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34714 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34715 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34718 for ac_func in ceilf floorf
34720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34721 echo "$as_me:$LINENO: checking for $ac_func" >&5
34722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34723 if eval "test \"\${$as_ac_var+set}\" = set"; then
34724 echo $ECHO_N "(cached) $ECHO_C" >&6
34725 else
34726 if test x$gcc_no_link = xyes; then
34727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34729 { (exit 1); exit 1; }; }
34731 cat >conftest.$ac_ext <<_ACEOF
34732 /* confdefs.h. */
34733 _ACEOF
34734 cat confdefs.h >>conftest.$ac_ext
34735 cat >>conftest.$ac_ext <<_ACEOF
34736 /* end confdefs.h. */
34737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34739 #define $ac_func innocuous_$ac_func
34741 /* System header to define __stub macros and hopefully few prototypes,
34742 which can conflict with char $ac_func (); below.
34743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34744 <limits.h> exists even on freestanding compilers. */
34746 #ifdef __STDC__
34747 # include <limits.h>
34748 #else
34749 # include <assert.h>
34750 #endif
34752 #undef $ac_func
34754 /* Override any gcc2 internal prototype to avoid an error. */
34755 #ifdef __cplusplus
34756 extern "C"
34758 #endif
34759 /* We use char because int might match the return type of a gcc2
34760 builtin and then its argument prototype would still apply. */
34761 char $ac_func ();
34762 /* The GNU C library defines this for functions which it implements
34763 to always fail with ENOSYS. Some functions are actually named
34764 something starting with __ and the normal name is an alias. */
34765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34766 choke me
34767 #else
34768 char (*f) () = $ac_func;
34769 #endif
34770 #ifdef __cplusplus
34772 #endif
34775 main ()
34777 return f != $ac_func;
34779 return 0;
34781 _ACEOF
34782 rm -f conftest.$ac_objext conftest$ac_exeext
34783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34784 (eval $ac_link) 2>conftest.er1
34785 ac_status=$?
34786 grep -v '^ *+' conftest.er1 >conftest.err
34787 rm -f conftest.er1
34788 cat conftest.err >&5
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); } &&
34791 { ac_try='test -z "$ac_c_werror_flag"
34792 || test ! -s conftest.err'
34793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34794 (eval $ac_try) 2>&5
34795 ac_status=$?
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); }; } &&
34798 { ac_try='test -s conftest$ac_exeext'
34799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34800 (eval $ac_try) 2>&5
34801 ac_status=$?
34802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803 (exit $ac_status); }; }; then
34804 eval "$as_ac_var=yes"
34805 else
34806 echo "$as_me: failed program was:" >&5
34807 sed 's/^/| /' conftest.$ac_ext >&5
34809 eval "$as_ac_var=no"
34811 rm -f conftest.err conftest.$ac_objext \
34812 conftest$ac_exeext conftest.$ac_ext
34814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34816 if test `eval echo '${'$as_ac_var'}'` = yes; then
34817 cat >>confdefs.h <<_ACEOF
34818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34819 _ACEOF
34822 done
34828 echo "$as_me:$LINENO: checking for expf declaration" >&5
34829 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34830 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34831 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34832 echo $ECHO_N "(cached) $ECHO_C" >&6
34833 else
34837 ac_ext=cc
34838 ac_cpp='$CXXCPP $CPPFLAGS'
34839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34843 cat >conftest.$ac_ext <<_ACEOF
34844 /* confdefs.h. */
34845 _ACEOF
34846 cat confdefs.h >>conftest.$ac_ext
34847 cat >>conftest.$ac_ext <<_ACEOF
34848 /* end confdefs.h. */
34849 #include <math.h>
34850 #ifdef HAVE_IEEEFP_H
34851 #include <ieeefp.h>
34852 #endif
34855 main ()
34857 expf(0);
34859 return 0;
34861 _ACEOF
34862 rm -f conftest.$ac_objext
34863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34864 (eval $ac_compile) 2>conftest.er1
34865 ac_status=$?
34866 grep -v '^ *+' conftest.er1 >conftest.err
34867 rm -f conftest.er1
34868 cat conftest.err >&5
34869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34870 (exit $ac_status); } &&
34871 { ac_try='test -z "$ac_cxx_werror_flag"
34872 || test ! -s conftest.err'
34873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34874 (eval $ac_try) 2>&5
34875 ac_status=$?
34876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34877 (exit $ac_status); }; } &&
34878 { ac_try='test -s conftest.$ac_objext'
34879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34880 (eval $ac_try) 2>&5
34881 ac_status=$?
34882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34883 (exit $ac_status); }; }; then
34884 glibcxx_cv_func_expf_use=yes
34885 else
34886 echo "$as_me: failed program was:" >&5
34887 sed 's/^/| /' conftest.$ac_ext >&5
34889 glibcxx_cv_func_expf_use=no
34891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34892 ac_ext=c
34893 ac_cpp='$CPP $CPPFLAGS'
34894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34903 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34905 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34907 for ac_func in expf
34909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34910 echo "$as_me:$LINENO: checking for $ac_func" >&5
34911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34912 if eval "test \"\${$as_ac_var+set}\" = set"; then
34913 echo $ECHO_N "(cached) $ECHO_C" >&6
34914 else
34915 if test x$gcc_no_link = xyes; then
34916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34918 { (exit 1); exit 1; }; }
34920 cat >conftest.$ac_ext <<_ACEOF
34921 /* confdefs.h. */
34922 _ACEOF
34923 cat confdefs.h >>conftest.$ac_ext
34924 cat >>conftest.$ac_ext <<_ACEOF
34925 /* end confdefs.h. */
34926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34928 #define $ac_func innocuous_$ac_func
34930 /* System header to define __stub macros and hopefully few prototypes,
34931 which can conflict with char $ac_func (); below.
34932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34933 <limits.h> exists even on freestanding compilers. */
34935 #ifdef __STDC__
34936 # include <limits.h>
34937 #else
34938 # include <assert.h>
34939 #endif
34941 #undef $ac_func
34943 /* Override any gcc2 internal prototype to avoid an error. */
34944 #ifdef __cplusplus
34945 extern "C"
34947 #endif
34948 /* We use char because int might match the return type of a gcc2
34949 builtin and then its argument prototype would still apply. */
34950 char $ac_func ();
34951 /* The GNU C library defines this for functions which it implements
34952 to always fail with ENOSYS. Some functions are actually named
34953 something starting with __ and the normal name is an alias. */
34954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34955 choke me
34956 #else
34957 char (*f) () = $ac_func;
34958 #endif
34959 #ifdef __cplusplus
34961 #endif
34964 main ()
34966 return f != $ac_func;
34968 return 0;
34970 _ACEOF
34971 rm -f conftest.$ac_objext conftest$ac_exeext
34972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34973 (eval $ac_link) 2>conftest.er1
34974 ac_status=$?
34975 grep -v '^ *+' conftest.er1 >conftest.err
34976 rm -f conftest.er1
34977 cat conftest.err >&5
34978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979 (exit $ac_status); } &&
34980 { ac_try='test -z "$ac_c_werror_flag"
34981 || test ! -s conftest.err'
34982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34983 (eval $ac_try) 2>&5
34984 ac_status=$?
34985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34986 (exit $ac_status); }; } &&
34987 { ac_try='test -s conftest$ac_exeext'
34988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34989 (eval $ac_try) 2>&5
34990 ac_status=$?
34991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34992 (exit $ac_status); }; }; then
34993 eval "$as_ac_var=yes"
34994 else
34995 echo "$as_me: failed program was:" >&5
34996 sed 's/^/| /' conftest.$ac_ext >&5
34998 eval "$as_ac_var=no"
35000 rm -f conftest.err conftest.$ac_objext \
35001 conftest$ac_exeext conftest.$ac_ext
35003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35005 if test `eval echo '${'$as_ac_var'}'` = yes; then
35006 cat >>confdefs.h <<_ACEOF
35007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35008 _ACEOF
35011 done
35013 else
35015 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35016 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35017 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35018 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35019 echo $ECHO_N "(cached) $ECHO_C" >&6
35020 else
35024 ac_ext=cc
35025 ac_cpp='$CXXCPP $CPPFLAGS'
35026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35030 cat >conftest.$ac_ext <<_ACEOF
35031 /* confdefs.h. */
35032 _ACEOF
35033 cat confdefs.h >>conftest.$ac_ext
35034 cat >>conftest.$ac_ext <<_ACEOF
35035 /* end confdefs.h. */
35036 #include <math.h>
35037 #ifdef HAVE_IEEEFP_H
35038 #include <ieeefp.h>
35039 #endif
35042 main ()
35044 _expf(0);
35046 return 0;
35048 _ACEOF
35049 rm -f conftest.$ac_objext
35050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35051 (eval $ac_compile) 2>conftest.er1
35052 ac_status=$?
35053 grep -v '^ *+' conftest.er1 >conftest.err
35054 rm -f conftest.er1
35055 cat conftest.err >&5
35056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35057 (exit $ac_status); } &&
35058 { ac_try='test -z "$ac_cxx_werror_flag"
35059 || test ! -s conftest.err'
35060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35061 (eval $ac_try) 2>&5
35062 ac_status=$?
35063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064 (exit $ac_status); }; } &&
35065 { ac_try='test -s conftest.$ac_objext'
35066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35067 (eval $ac_try) 2>&5
35068 ac_status=$?
35069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070 (exit $ac_status); }; }; then
35071 glibcxx_cv_func__expf_use=yes
35072 else
35073 echo "$as_me: failed program was:" >&5
35074 sed 's/^/| /' conftest.$ac_ext >&5
35076 glibcxx_cv_func__expf_use=no
35078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35079 ac_ext=c
35080 ac_cpp='$CPP $CPPFLAGS'
35081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35090 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35092 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35094 for ac_func in _expf
35096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35097 echo "$as_me:$LINENO: checking for $ac_func" >&5
35098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35099 if eval "test \"\${$as_ac_var+set}\" = set"; then
35100 echo $ECHO_N "(cached) $ECHO_C" >&6
35101 else
35102 if test x$gcc_no_link = xyes; then
35103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35105 { (exit 1); exit 1; }; }
35107 cat >conftest.$ac_ext <<_ACEOF
35108 /* confdefs.h. */
35109 _ACEOF
35110 cat confdefs.h >>conftest.$ac_ext
35111 cat >>conftest.$ac_ext <<_ACEOF
35112 /* end confdefs.h. */
35113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35115 #define $ac_func innocuous_$ac_func
35117 /* System header to define __stub macros and hopefully few prototypes,
35118 which can conflict with char $ac_func (); below.
35119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35120 <limits.h> exists even on freestanding compilers. */
35122 #ifdef __STDC__
35123 # include <limits.h>
35124 #else
35125 # include <assert.h>
35126 #endif
35128 #undef $ac_func
35130 /* Override any gcc2 internal prototype to avoid an error. */
35131 #ifdef __cplusplus
35132 extern "C"
35134 #endif
35135 /* We use char because int might match the return type of a gcc2
35136 builtin and then its argument prototype would still apply. */
35137 char $ac_func ();
35138 /* The GNU C library defines this for functions which it implements
35139 to always fail with ENOSYS. Some functions are actually named
35140 something starting with __ and the normal name is an alias. */
35141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35142 choke me
35143 #else
35144 char (*f) () = $ac_func;
35145 #endif
35146 #ifdef __cplusplus
35148 #endif
35151 main ()
35153 return f != $ac_func;
35155 return 0;
35157 _ACEOF
35158 rm -f conftest.$ac_objext conftest$ac_exeext
35159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35160 (eval $ac_link) 2>conftest.er1
35161 ac_status=$?
35162 grep -v '^ *+' conftest.er1 >conftest.err
35163 rm -f conftest.er1
35164 cat conftest.err >&5
35165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35166 (exit $ac_status); } &&
35167 { ac_try='test -z "$ac_c_werror_flag"
35168 || test ! -s conftest.err'
35169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 (eval $ac_try) 2>&5
35171 ac_status=$?
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); }; } &&
35174 { ac_try='test -s conftest$ac_exeext'
35175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35176 (eval $ac_try) 2>&5
35177 ac_status=$?
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); }; }; then
35180 eval "$as_ac_var=yes"
35181 else
35182 echo "$as_me: failed program was:" >&5
35183 sed 's/^/| /' conftest.$ac_ext >&5
35185 eval "$as_ac_var=no"
35187 rm -f conftest.err conftest.$ac_objext \
35188 conftest$ac_exeext conftest.$ac_ext
35190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35192 if test `eval echo '${'$as_ac_var'}'` = yes; then
35193 cat >>confdefs.h <<_ACEOF
35194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35195 _ACEOF
35198 done
35205 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35206 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35207 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35208 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35209 echo $ECHO_N "(cached) $ECHO_C" >&6
35210 else
35214 ac_ext=cc
35215 ac_cpp='$CXXCPP $CPPFLAGS'
35216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35220 cat >conftest.$ac_ext <<_ACEOF
35221 /* confdefs.h. */
35222 _ACEOF
35223 cat confdefs.h >>conftest.$ac_ext
35224 cat >>conftest.$ac_ext <<_ACEOF
35225 /* end confdefs.h. */
35226 #include <math.h>
35227 #ifdef HAVE_IEEEFP_H
35228 #include <ieeefp.h>
35229 #endif
35232 main ()
35234 isnanf(0);
35236 return 0;
35238 _ACEOF
35239 rm -f conftest.$ac_objext
35240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35241 (eval $ac_compile) 2>conftest.er1
35242 ac_status=$?
35243 grep -v '^ *+' conftest.er1 >conftest.err
35244 rm -f conftest.er1
35245 cat conftest.err >&5
35246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247 (exit $ac_status); } &&
35248 { ac_try='test -z "$ac_cxx_werror_flag"
35249 || test ! -s conftest.err'
35250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35251 (eval $ac_try) 2>&5
35252 ac_status=$?
35253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 (exit $ac_status); }; } &&
35255 { ac_try='test -s conftest.$ac_objext'
35256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35257 (eval $ac_try) 2>&5
35258 ac_status=$?
35259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35260 (exit $ac_status); }; }; then
35261 glibcxx_cv_func_isnanf_use=yes
35262 else
35263 echo "$as_me: failed program was:" >&5
35264 sed 's/^/| /' conftest.$ac_ext >&5
35266 glibcxx_cv_func_isnanf_use=no
35268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35269 ac_ext=c
35270 ac_cpp='$CPP $CPPFLAGS'
35271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35279 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35280 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35282 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35284 for ac_func in isnanf
35286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35287 echo "$as_me:$LINENO: checking for $ac_func" >&5
35288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35289 if eval "test \"\${$as_ac_var+set}\" = set"; then
35290 echo $ECHO_N "(cached) $ECHO_C" >&6
35291 else
35292 if test x$gcc_no_link = xyes; then
35293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35295 { (exit 1); exit 1; }; }
35297 cat >conftest.$ac_ext <<_ACEOF
35298 /* confdefs.h. */
35299 _ACEOF
35300 cat confdefs.h >>conftest.$ac_ext
35301 cat >>conftest.$ac_ext <<_ACEOF
35302 /* end confdefs.h. */
35303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35305 #define $ac_func innocuous_$ac_func
35307 /* System header to define __stub macros and hopefully few prototypes,
35308 which can conflict with char $ac_func (); below.
35309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35310 <limits.h> exists even on freestanding compilers. */
35312 #ifdef __STDC__
35313 # include <limits.h>
35314 #else
35315 # include <assert.h>
35316 #endif
35318 #undef $ac_func
35320 /* Override any gcc2 internal prototype to avoid an error. */
35321 #ifdef __cplusplus
35322 extern "C"
35324 #endif
35325 /* We use char because int might match the return type of a gcc2
35326 builtin and then its argument prototype would still apply. */
35327 char $ac_func ();
35328 /* The GNU C library defines this for functions which it implements
35329 to always fail with ENOSYS. Some functions are actually named
35330 something starting with __ and the normal name is an alias. */
35331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35332 choke me
35333 #else
35334 char (*f) () = $ac_func;
35335 #endif
35336 #ifdef __cplusplus
35338 #endif
35341 main ()
35343 return f != $ac_func;
35345 return 0;
35347 _ACEOF
35348 rm -f conftest.$ac_objext conftest$ac_exeext
35349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35350 (eval $ac_link) 2>conftest.er1
35351 ac_status=$?
35352 grep -v '^ *+' conftest.er1 >conftest.err
35353 rm -f conftest.er1
35354 cat conftest.err >&5
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); } &&
35357 { ac_try='test -z "$ac_c_werror_flag"
35358 || test ! -s conftest.err'
35359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35360 (eval $ac_try) 2>&5
35361 ac_status=$?
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); }; } &&
35364 { ac_try='test -s conftest$ac_exeext'
35365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35366 (eval $ac_try) 2>&5
35367 ac_status=$?
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); }; }; then
35370 eval "$as_ac_var=yes"
35371 else
35372 echo "$as_me: failed program was:" >&5
35373 sed 's/^/| /' conftest.$ac_ext >&5
35375 eval "$as_ac_var=no"
35377 rm -f conftest.err conftest.$ac_objext \
35378 conftest$ac_exeext conftest.$ac_ext
35380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35382 if test `eval echo '${'$as_ac_var'}'` = yes; then
35383 cat >>confdefs.h <<_ACEOF
35384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35385 _ACEOF
35388 done
35390 else
35392 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35393 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35394 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35395 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35396 echo $ECHO_N "(cached) $ECHO_C" >&6
35397 else
35401 ac_ext=cc
35402 ac_cpp='$CXXCPP $CPPFLAGS'
35403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35407 cat >conftest.$ac_ext <<_ACEOF
35408 /* confdefs.h. */
35409 _ACEOF
35410 cat confdefs.h >>conftest.$ac_ext
35411 cat >>conftest.$ac_ext <<_ACEOF
35412 /* end confdefs.h. */
35413 #include <math.h>
35414 #ifdef HAVE_IEEEFP_H
35415 #include <ieeefp.h>
35416 #endif
35419 main ()
35421 _isnanf(0);
35423 return 0;
35425 _ACEOF
35426 rm -f conftest.$ac_objext
35427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35428 (eval $ac_compile) 2>conftest.er1
35429 ac_status=$?
35430 grep -v '^ *+' conftest.er1 >conftest.err
35431 rm -f conftest.er1
35432 cat conftest.err >&5
35433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35434 (exit $ac_status); } &&
35435 { ac_try='test -z "$ac_cxx_werror_flag"
35436 || test ! -s conftest.err'
35437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35438 (eval $ac_try) 2>&5
35439 ac_status=$?
35440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35441 (exit $ac_status); }; } &&
35442 { ac_try='test -s conftest.$ac_objext'
35443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35444 (eval $ac_try) 2>&5
35445 ac_status=$?
35446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35447 (exit $ac_status); }; }; then
35448 glibcxx_cv_func__isnanf_use=yes
35449 else
35450 echo "$as_me: failed program was:" >&5
35451 sed 's/^/| /' conftest.$ac_ext >&5
35453 glibcxx_cv_func__isnanf_use=no
35455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35456 ac_ext=c
35457 ac_cpp='$CPP $CPPFLAGS'
35458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35466 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35467 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35469 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35471 for ac_func in _isnanf
35473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35474 echo "$as_me:$LINENO: checking for $ac_func" >&5
35475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35476 if eval "test \"\${$as_ac_var+set}\" = set"; then
35477 echo $ECHO_N "(cached) $ECHO_C" >&6
35478 else
35479 if test x$gcc_no_link = xyes; then
35480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35482 { (exit 1); exit 1; }; }
35484 cat >conftest.$ac_ext <<_ACEOF
35485 /* confdefs.h. */
35486 _ACEOF
35487 cat confdefs.h >>conftest.$ac_ext
35488 cat >>conftest.$ac_ext <<_ACEOF
35489 /* end confdefs.h. */
35490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35492 #define $ac_func innocuous_$ac_func
35494 /* System header to define __stub macros and hopefully few prototypes,
35495 which can conflict with char $ac_func (); below.
35496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35497 <limits.h> exists even on freestanding compilers. */
35499 #ifdef __STDC__
35500 # include <limits.h>
35501 #else
35502 # include <assert.h>
35503 #endif
35505 #undef $ac_func
35507 /* Override any gcc2 internal prototype to avoid an error. */
35508 #ifdef __cplusplus
35509 extern "C"
35511 #endif
35512 /* We use char because int might match the return type of a gcc2
35513 builtin and then its argument prototype would still apply. */
35514 char $ac_func ();
35515 /* The GNU C library defines this for functions which it implements
35516 to always fail with ENOSYS. Some functions are actually named
35517 something starting with __ and the normal name is an alias. */
35518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35519 choke me
35520 #else
35521 char (*f) () = $ac_func;
35522 #endif
35523 #ifdef __cplusplus
35525 #endif
35528 main ()
35530 return f != $ac_func;
35532 return 0;
35534 _ACEOF
35535 rm -f conftest.$ac_objext conftest$ac_exeext
35536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35537 (eval $ac_link) 2>conftest.er1
35538 ac_status=$?
35539 grep -v '^ *+' conftest.er1 >conftest.err
35540 rm -f conftest.er1
35541 cat conftest.err >&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } &&
35544 { ac_try='test -z "$ac_c_werror_flag"
35545 || test ! -s conftest.err'
35546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35547 (eval $ac_try) 2>&5
35548 ac_status=$?
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); }; } &&
35551 { ac_try='test -s conftest$ac_exeext'
35552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35553 (eval $ac_try) 2>&5
35554 ac_status=$?
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); }; }; then
35557 eval "$as_ac_var=yes"
35558 else
35559 echo "$as_me: failed program was:" >&5
35560 sed 's/^/| /' conftest.$ac_ext >&5
35562 eval "$as_ac_var=no"
35564 rm -f conftest.err conftest.$ac_objext \
35565 conftest$ac_exeext conftest.$ac_ext
35567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35569 if test `eval echo '${'$as_ac_var'}'` = yes; then
35570 cat >>confdefs.h <<_ACEOF
35571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35572 _ACEOF
35575 done
35582 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35583 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35584 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35585 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35586 echo $ECHO_N "(cached) $ECHO_C" >&6
35587 else
35591 ac_ext=cc
35592 ac_cpp='$CXXCPP $CPPFLAGS'
35593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35597 cat >conftest.$ac_ext <<_ACEOF
35598 /* confdefs.h. */
35599 _ACEOF
35600 cat confdefs.h >>conftest.$ac_ext
35601 cat >>conftest.$ac_ext <<_ACEOF
35602 /* end confdefs.h. */
35603 #include <math.h>
35604 #ifdef HAVE_IEEEFP_H
35605 #include <ieeefp.h>
35606 #endif
35609 main ()
35611 isinff(0);
35613 return 0;
35615 _ACEOF
35616 rm -f conftest.$ac_objext
35617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35618 (eval $ac_compile) 2>conftest.er1
35619 ac_status=$?
35620 grep -v '^ *+' conftest.er1 >conftest.err
35621 rm -f conftest.er1
35622 cat conftest.err >&5
35623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624 (exit $ac_status); } &&
35625 { ac_try='test -z "$ac_cxx_werror_flag"
35626 || test ! -s conftest.err'
35627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35628 (eval $ac_try) 2>&5
35629 ac_status=$?
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); }; } &&
35632 { ac_try='test -s conftest.$ac_objext'
35633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35634 (eval $ac_try) 2>&5
35635 ac_status=$?
35636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35637 (exit $ac_status); }; }; then
35638 glibcxx_cv_func_isinff_use=yes
35639 else
35640 echo "$as_me: failed program was:" >&5
35641 sed 's/^/| /' conftest.$ac_ext >&5
35643 glibcxx_cv_func_isinff_use=no
35645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35646 ac_ext=c
35647 ac_cpp='$CPP $CPPFLAGS'
35648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35656 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35657 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35659 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35661 for ac_func in isinff
35663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35664 echo "$as_me:$LINENO: checking for $ac_func" >&5
35665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35666 if eval "test \"\${$as_ac_var+set}\" = set"; then
35667 echo $ECHO_N "(cached) $ECHO_C" >&6
35668 else
35669 if test x$gcc_no_link = xyes; then
35670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35672 { (exit 1); exit 1; }; }
35674 cat >conftest.$ac_ext <<_ACEOF
35675 /* confdefs.h. */
35676 _ACEOF
35677 cat confdefs.h >>conftest.$ac_ext
35678 cat >>conftest.$ac_ext <<_ACEOF
35679 /* end confdefs.h. */
35680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35682 #define $ac_func innocuous_$ac_func
35684 /* System header to define __stub macros and hopefully few prototypes,
35685 which can conflict with char $ac_func (); below.
35686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35687 <limits.h> exists even on freestanding compilers. */
35689 #ifdef __STDC__
35690 # include <limits.h>
35691 #else
35692 # include <assert.h>
35693 #endif
35695 #undef $ac_func
35697 /* Override any gcc2 internal prototype to avoid an error. */
35698 #ifdef __cplusplus
35699 extern "C"
35701 #endif
35702 /* We use char because int might match the return type of a gcc2
35703 builtin and then its argument prototype would still apply. */
35704 char $ac_func ();
35705 /* The GNU C library defines this for functions which it implements
35706 to always fail with ENOSYS. Some functions are actually named
35707 something starting with __ and the normal name is an alias. */
35708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35709 choke me
35710 #else
35711 char (*f) () = $ac_func;
35712 #endif
35713 #ifdef __cplusplus
35715 #endif
35718 main ()
35720 return f != $ac_func;
35722 return 0;
35724 _ACEOF
35725 rm -f conftest.$ac_objext conftest$ac_exeext
35726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35727 (eval $ac_link) 2>conftest.er1
35728 ac_status=$?
35729 grep -v '^ *+' conftest.er1 >conftest.err
35730 rm -f conftest.er1
35731 cat conftest.err >&5
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); } &&
35734 { ac_try='test -z "$ac_c_werror_flag"
35735 || test ! -s conftest.err'
35736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35737 (eval $ac_try) 2>&5
35738 ac_status=$?
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); }; } &&
35741 { ac_try='test -s conftest$ac_exeext'
35742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35743 (eval $ac_try) 2>&5
35744 ac_status=$?
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); }; }; then
35747 eval "$as_ac_var=yes"
35748 else
35749 echo "$as_me: failed program was:" >&5
35750 sed 's/^/| /' conftest.$ac_ext >&5
35752 eval "$as_ac_var=no"
35754 rm -f conftest.err conftest.$ac_objext \
35755 conftest$ac_exeext conftest.$ac_ext
35757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35759 if test `eval echo '${'$as_ac_var'}'` = yes; then
35760 cat >>confdefs.h <<_ACEOF
35761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35762 _ACEOF
35765 done
35767 else
35769 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35770 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35771 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35772 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35773 echo $ECHO_N "(cached) $ECHO_C" >&6
35774 else
35778 ac_ext=cc
35779 ac_cpp='$CXXCPP $CPPFLAGS'
35780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35784 cat >conftest.$ac_ext <<_ACEOF
35785 /* confdefs.h. */
35786 _ACEOF
35787 cat confdefs.h >>conftest.$ac_ext
35788 cat >>conftest.$ac_ext <<_ACEOF
35789 /* end confdefs.h. */
35790 #include <math.h>
35791 #ifdef HAVE_IEEEFP_H
35792 #include <ieeefp.h>
35793 #endif
35796 main ()
35798 _isinff(0);
35800 return 0;
35802 _ACEOF
35803 rm -f conftest.$ac_objext
35804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35805 (eval $ac_compile) 2>conftest.er1
35806 ac_status=$?
35807 grep -v '^ *+' conftest.er1 >conftest.err
35808 rm -f conftest.er1
35809 cat conftest.err >&5
35810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35811 (exit $ac_status); } &&
35812 { ac_try='test -z "$ac_cxx_werror_flag"
35813 || test ! -s conftest.err'
35814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35815 (eval $ac_try) 2>&5
35816 ac_status=$?
35817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35818 (exit $ac_status); }; } &&
35819 { ac_try='test -s conftest.$ac_objext'
35820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35821 (eval $ac_try) 2>&5
35822 ac_status=$?
35823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35824 (exit $ac_status); }; }; then
35825 glibcxx_cv_func__isinff_use=yes
35826 else
35827 echo "$as_me: failed program was:" >&5
35828 sed 's/^/| /' conftest.$ac_ext >&5
35830 glibcxx_cv_func__isinff_use=no
35832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35833 ac_ext=c
35834 ac_cpp='$CPP $CPPFLAGS'
35835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35843 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35844 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35846 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35848 for ac_func in _isinff
35850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35851 echo "$as_me:$LINENO: checking for $ac_func" >&5
35852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35853 if eval "test \"\${$as_ac_var+set}\" = set"; then
35854 echo $ECHO_N "(cached) $ECHO_C" >&6
35855 else
35856 if test x$gcc_no_link = xyes; then
35857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35859 { (exit 1); exit 1; }; }
35861 cat >conftest.$ac_ext <<_ACEOF
35862 /* confdefs.h. */
35863 _ACEOF
35864 cat confdefs.h >>conftest.$ac_ext
35865 cat >>conftest.$ac_ext <<_ACEOF
35866 /* end confdefs.h. */
35867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35869 #define $ac_func innocuous_$ac_func
35871 /* System header to define __stub macros and hopefully few prototypes,
35872 which can conflict with char $ac_func (); below.
35873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35874 <limits.h> exists even on freestanding compilers. */
35876 #ifdef __STDC__
35877 # include <limits.h>
35878 #else
35879 # include <assert.h>
35880 #endif
35882 #undef $ac_func
35884 /* Override any gcc2 internal prototype to avoid an error. */
35885 #ifdef __cplusplus
35886 extern "C"
35888 #endif
35889 /* We use char because int might match the return type of a gcc2
35890 builtin and then its argument prototype would still apply. */
35891 char $ac_func ();
35892 /* The GNU C library defines this for functions which it implements
35893 to always fail with ENOSYS. Some functions are actually named
35894 something starting with __ and the normal name is an alias. */
35895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35896 choke me
35897 #else
35898 char (*f) () = $ac_func;
35899 #endif
35900 #ifdef __cplusplus
35902 #endif
35905 main ()
35907 return f != $ac_func;
35909 return 0;
35911 _ACEOF
35912 rm -f conftest.$ac_objext conftest$ac_exeext
35913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35914 (eval $ac_link) 2>conftest.er1
35915 ac_status=$?
35916 grep -v '^ *+' conftest.er1 >conftest.err
35917 rm -f conftest.er1
35918 cat conftest.err >&5
35919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920 (exit $ac_status); } &&
35921 { ac_try='test -z "$ac_c_werror_flag"
35922 || test ! -s conftest.err'
35923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35924 (eval $ac_try) 2>&5
35925 ac_status=$?
35926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35927 (exit $ac_status); }; } &&
35928 { ac_try='test -s conftest$ac_exeext'
35929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35930 (eval $ac_try) 2>&5
35931 ac_status=$?
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; }; then
35934 eval "$as_ac_var=yes"
35935 else
35936 echo "$as_me: failed program was:" >&5
35937 sed 's/^/| /' conftest.$ac_ext >&5
35939 eval "$as_ac_var=no"
35941 rm -f conftest.err conftest.$ac_objext \
35942 conftest$ac_exeext conftest.$ac_ext
35944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35946 if test `eval echo '${'$as_ac_var'}'` = yes; then
35947 cat >>confdefs.h <<_ACEOF
35948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35949 _ACEOF
35952 done
35959 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35960 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35961 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35962 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35963 echo $ECHO_N "(cached) $ECHO_C" >&6
35964 else
35968 ac_ext=cc
35969 ac_cpp='$CXXCPP $CPPFLAGS'
35970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35974 cat >conftest.$ac_ext <<_ACEOF
35975 /* confdefs.h. */
35976 _ACEOF
35977 cat confdefs.h >>conftest.$ac_ext
35978 cat >>conftest.$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35980 #include <math.h>
35982 main ()
35984 atan2f(0, 0);
35986 return 0;
35988 _ACEOF
35989 rm -f conftest.$ac_objext
35990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35991 (eval $ac_compile) 2>conftest.er1
35992 ac_status=$?
35993 grep -v '^ *+' conftest.er1 >conftest.err
35994 rm -f conftest.er1
35995 cat conftest.err >&5
35996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35997 (exit $ac_status); } &&
35998 { ac_try='test -z "$ac_cxx_werror_flag"
35999 || test ! -s conftest.err'
36000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36001 (eval $ac_try) 2>&5
36002 ac_status=$?
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); }; } &&
36005 { ac_try='test -s conftest.$ac_objext'
36006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36007 (eval $ac_try) 2>&5
36008 ac_status=$?
36009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36010 (exit $ac_status); }; }; then
36011 glibcxx_cv_func_atan2f_use=yes
36012 else
36013 echo "$as_me: failed program was:" >&5
36014 sed 's/^/| /' conftest.$ac_ext >&5
36016 glibcxx_cv_func_atan2f_use=no
36018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36019 ac_ext=c
36020 ac_cpp='$CPP $CPPFLAGS'
36021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36030 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36032 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36034 for ac_func in atan2f
36036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36037 echo "$as_me:$LINENO: checking for $ac_func" >&5
36038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36039 if eval "test \"\${$as_ac_var+set}\" = set"; then
36040 echo $ECHO_N "(cached) $ECHO_C" >&6
36041 else
36042 if test x$gcc_no_link = xyes; then
36043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36045 { (exit 1); exit 1; }; }
36047 cat >conftest.$ac_ext <<_ACEOF
36048 /* confdefs.h. */
36049 _ACEOF
36050 cat confdefs.h >>conftest.$ac_ext
36051 cat >>conftest.$ac_ext <<_ACEOF
36052 /* end confdefs.h. */
36053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36055 #define $ac_func innocuous_$ac_func
36057 /* System header to define __stub macros and hopefully few prototypes,
36058 which can conflict with char $ac_func (); below.
36059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36060 <limits.h> exists even on freestanding compilers. */
36062 #ifdef __STDC__
36063 # include <limits.h>
36064 #else
36065 # include <assert.h>
36066 #endif
36068 #undef $ac_func
36070 /* Override any gcc2 internal prototype to avoid an error. */
36071 #ifdef __cplusplus
36072 extern "C"
36074 #endif
36075 /* We use char because int might match the return type of a gcc2
36076 builtin and then its argument prototype would still apply. */
36077 char $ac_func ();
36078 /* The GNU C library defines this for functions which it implements
36079 to always fail with ENOSYS. Some functions are actually named
36080 something starting with __ and the normal name is an alias. */
36081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36082 choke me
36083 #else
36084 char (*f) () = $ac_func;
36085 #endif
36086 #ifdef __cplusplus
36088 #endif
36091 main ()
36093 return f != $ac_func;
36095 return 0;
36097 _ACEOF
36098 rm -f conftest.$ac_objext conftest$ac_exeext
36099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36100 (eval $ac_link) 2>conftest.er1
36101 ac_status=$?
36102 grep -v '^ *+' conftest.er1 >conftest.err
36103 rm -f conftest.er1
36104 cat conftest.err >&5
36105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36106 (exit $ac_status); } &&
36107 { ac_try='test -z "$ac_c_werror_flag"
36108 || test ! -s conftest.err'
36109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36110 (eval $ac_try) 2>&5
36111 ac_status=$?
36112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113 (exit $ac_status); }; } &&
36114 { ac_try='test -s conftest$ac_exeext'
36115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36116 (eval $ac_try) 2>&5
36117 ac_status=$?
36118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119 (exit $ac_status); }; }; then
36120 eval "$as_ac_var=yes"
36121 else
36122 echo "$as_me: failed program was:" >&5
36123 sed 's/^/| /' conftest.$ac_ext >&5
36125 eval "$as_ac_var=no"
36127 rm -f conftest.err conftest.$ac_objext \
36128 conftest$ac_exeext conftest.$ac_ext
36130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36132 if test `eval echo '${'$as_ac_var'}'` = yes; then
36133 cat >>confdefs.h <<_ACEOF
36134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36135 _ACEOF
36138 done
36140 else
36142 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36143 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36144 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36145 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36146 echo $ECHO_N "(cached) $ECHO_C" >&6
36147 else
36151 ac_ext=cc
36152 ac_cpp='$CXXCPP $CPPFLAGS'
36153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36157 cat >conftest.$ac_ext <<_ACEOF
36158 /* confdefs.h. */
36159 _ACEOF
36160 cat confdefs.h >>conftest.$ac_ext
36161 cat >>conftest.$ac_ext <<_ACEOF
36162 /* end confdefs.h. */
36163 #include <math.h>
36165 main ()
36167 _atan2f(0, 0);
36169 return 0;
36171 _ACEOF
36172 rm -f conftest.$ac_objext
36173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36174 (eval $ac_compile) 2>conftest.er1
36175 ac_status=$?
36176 grep -v '^ *+' conftest.er1 >conftest.err
36177 rm -f conftest.er1
36178 cat conftest.err >&5
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); } &&
36181 { ac_try='test -z "$ac_cxx_werror_flag"
36182 || test ! -s conftest.err'
36183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36184 (eval $ac_try) 2>&5
36185 ac_status=$?
36186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36187 (exit $ac_status); }; } &&
36188 { ac_try='test -s conftest.$ac_objext'
36189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36190 (eval $ac_try) 2>&5
36191 ac_status=$?
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); }; }; then
36194 glibcxx_cv_func__atan2f_use=yes
36195 else
36196 echo "$as_me: failed program was:" >&5
36197 sed 's/^/| /' conftest.$ac_ext >&5
36199 glibcxx_cv_func__atan2f_use=no
36201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36202 ac_ext=c
36203 ac_cpp='$CPP $CPPFLAGS'
36204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36212 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36213 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36215 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36217 for ac_func in _atan2f
36219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36220 echo "$as_me:$LINENO: checking for $ac_func" >&5
36221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36222 if eval "test \"\${$as_ac_var+set}\" = set"; then
36223 echo $ECHO_N "(cached) $ECHO_C" >&6
36224 else
36225 if test x$gcc_no_link = xyes; then
36226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36228 { (exit 1); exit 1; }; }
36230 cat >conftest.$ac_ext <<_ACEOF
36231 /* confdefs.h. */
36232 _ACEOF
36233 cat confdefs.h >>conftest.$ac_ext
36234 cat >>conftest.$ac_ext <<_ACEOF
36235 /* end confdefs.h. */
36236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36238 #define $ac_func innocuous_$ac_func
36240 /* System header to define __stub macros and hopefully few prototypes,
36241 which can conflict with char $ac_func (); below.
36242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36243 <limits.h> exists even on freestanding compilers. */
36245 #ifdef __STDC__
36246 # include <limits.h>
36247 #else
36248 # include <assert.h>
36249 #endif
36251 #undef $ac_func
36253 /* Override any gcc2 internal prototype to avoid an error. */
36254 #ifdef __cplusplus
36255 extern "C"
36257 #endif
36258 /* We use char because int might match the return type of a gcc2
36259 builtin and then its argument prototype would still apply. */
36260 char $ac_func ();
36261 /* The GNU C library defines this for functions which it implements
36262 to always fail with ENOSYS. Some functions are actually named
36263 something starting with __ and the normal name is an alias. */
36264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36265 choke me
36266 #else
36267 char (*f) () = $ac_func;
36268 #endif
36269 #ifdef __cplusplus
36271 #endif
36274 main ()
36276 return f != $ac_func;
36278 return 0;
36280 _ACEOF
36281 rm -f conftest.$ac_objext conftest$ac_exeext
36282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36283 (eval $ac_link) 2>conftest.er1
36284 ac_status=$?
36285 grep -v '^ *+' conftest.er1 >conftest.err
36286 rm -f conftest.er1
36287 cat conftest.err >&5
36288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36289 (exit $ac_status); } &&
36290 { ac_try='test -z "$ac_c_werror_flag"
36291 || test ! -s conftest.err'
36292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36293 (eval $ac_try) 2>&5
36294 ac_status=$?
36295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36296 (exit $ac_status); }; } &&
36297 { ac_try='test -s conftest$ac_exeext'
36298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36299 (eval $ac_try) 2>&5
36300 ac_status=$?
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); }; }; then
36303 eval "$as_ac_var=yes"
36304 else
36305 echo "$as_me: failed program was:" >&5
36306 sed 's/^/| /' conftest.$ac_ext >&5
36308 eval "$as_ac_var=no"
36310 rm -f conftest.err conftest.$ac_objext \
36311 conftest$ac_exeext conftest.$ac_ext
36313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36315 if test `eval echo '${'$as_ac_var'}'` = yes; then
36316 cat >>confdefs.h <<_ACEOF
36317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36318 _ACEOF
36321 done
36328 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36329 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36330 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36331 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36332 echo $ECHO_N "(cached) $ECHO_C" >&6
36333 else
36337 ac_ext=cc
36338 ac_cpp='$CXXCPP $CPPFLAGS'
36339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36343 cat >conftest.$ac_ext <<_ACEOF
36344 /* confdefs.h. */
36345 _ACEOF
36346 cat confdefs.h >>conftest.$ac_ext
36347 cat >>conftest.$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36349 #include <math.h>
36350 #ifdef HAVE_IEEEFP_H
36351 #include <ieeefp.h>
36352 #endif
36355 main ()
36357 fabsf(0);
36359 return 0;
36361 _ACEOF
36362 rm -f conftest.$ac_objext
36363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36364 (eval $ac_compile) 2>conftest.er1
36365 ac_status=$?
36366 grep -v '^ *+' conftest.er1 >conftest.err
36367 rm -f conftest.er1
36368 cat conftest.err >&5
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); } &&
36371 { ac_try='test -z "$ac_cxx_werror_flag"
36372 || test ! -s conftest.err'
36373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36374 (eval $ac_try) 2>&5
36375 ac_status=$?
36376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377 (exit $ac_status); }; } &&
36378 { ac_try='test -s conftest.$ac_objext'
36379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36380 (eval $ac_try) 2>&5
36381 ac_status=$?
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); }; }; then
36384 glibcxx_cv_func_fabsf_use=yes
36385 else
36386 echo "$as_me: failed program was:" >&5
36387 sed 's/^/| /' conftest.$ac_ext >&5
36389 glibcxx_cv_func_fabsf_use=no
36391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36392 ac_ext=c
36393 ac_cpp='$CPP $CPPFLAGS'
36394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36403 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36405 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36407 for ac_func in fabsf
36409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36410 echo "$as_me:$LINENO: checking for $ac_func" >&5
36411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36412 if eval "test \"\${$as_ac_var+set}\" = set"; then
36413 echo $ECHO_N "(cached) $ECHO_C" >&6
36414 else
36415 if test x$gcc_no_link = xyes; then
36416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36418 { (exit 1); exit 1; }; }
36420 cat >conftest.$ac_ext <<_ACEOF
36421 /* confdefs.h. */
36422 _ACEOF
36423 cat confdefs.h >>conftest.$ac_ext
36424 cat >>conftest.$ac_ext <<_ACEOF
36425 /* end confdefs.h. */
36426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36428 #define $ac_func innocuous_$ac_func
36430 /* System header to define __stub macros and hopefully few prototypes,
36431 which can conflict with char $ac_func (); below.
36432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36433 <limits.h> exists even on freestanding compilers. */
36435 #ifdef __STDC__
36436 # include <limits.h>
36437 #else
36438 # include <assert.h>
36439 #endif
36441 #undef $ac_func
36443 /* Override any gcc2 internal prototype to avoid an error. */
36444 #ifdef __cplusplus
36445 extern "C"
36447 #endif
36448 /* We use char because int might match the return type of a gcc2
36449 builtin and then its argument prototype would still apply. */
36450 char $ac_func ();
36451 /* The GNU C library defines this for functions which it implements
36452 to always fail with ENOSYS. Some functions are actually named
36453 something starting with __ and the normal name is an alias. */
36454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36455 choke me
36456 #else
36457 char (*f) () = $ac_func;
36458 #endif
36459 #ifdef __cplusplus
36461 #endif
36464 main ()
36466 return f != $ac_func;
36468 return 0;
36470 _ACEOF
36471 rm -f conftest.$ac_objext conftest$ac_exeext
36472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36473 (eval $ac_link) 2>conftest.er1
36474 ac_status=$?
36475 grep -v '^ *+' conftest.er1 >conftest.err
36476 rm -f conftest.er1
36477 cat conftest.err >&5
36478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36479 (exit $ac_status); } &&
36480 { ac_try='test -z "$ac_c_werror_flag"
36481 || test ! -s conftest.err'
36482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36483 (eval $ac_try) 2>&5
36484 ac_status=$?
36485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36486 (exit $ac_status); }; } &&
36487 { ac_try='test -s conftest$ac_exeext'
36488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36489 (eval $ac_try) 2>&5
36490 ac_status=$?
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); }; }; then
36493 eval "$as_ac_var=yes"
36494 else
36495 echo "$as_me: failed program was:" >&5
36496 sed 's/^/| /' conftest.$ac_ext >&5
36498 eval "$as_ac_var=no"
36500 rm -f conftest.err conftest.$ac_objext \
36501 conftest$ac_exeext conftest.$ac_ext
36503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36505 if test `eval echo '${'$as_ac_var'}'` = yes; then
36506 cat >>confdefs.h <<_ACEOF
36507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36508 _ACEOF
36511 done
36513 else
36515 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36516 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36517 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36518 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36519 echo $ECHO_N "(cached) $ECHO_C" >&6
36520 else
36524 ac_ext=cc
36525 ac_cpp='$CXXCPP $CPPFLAGS'
36526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36530 cat >conftest.$ac_ext <<_ACEOF
36531 /* confdefs.h. */
36532 _ACEOF
36533 cat confdefs.h >>conftest.$ac_ext
36534 cat >>conftest.$ac_ext <<_ACEOF
36535 /* end confdefs.h. */
36536 #include <math.h>
36537 #ifdef HAVE_IEEEFP_H
36538 #include <ieeefp.h>
36539 #endif
36542 main ()
36544 _fabsf(0);
36546 return 0;
36548 _ACEOF
36549 rm -f conftest.$ac_objext
36550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36551 (eval $ac_compile) 2>conftest.er1
36552 ac_status=$?
36553 grep -v '^ *+' conftest.er1 >conftest.err
36554 rm -f conftest.er1
36555 cat conftest.err >&5
36556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36557 (exit $ac_status); } &&
36558 { ac_try='test -z "$ac_cxx_werror_flag"
36559 || test ! -s conftest.err'
36560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36561 (eval $ac_try) 2>&5
36562 ac_status=$?
36563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36564 (exit $ac_status); }; } &&
36565 { ac_try='test -s conftest.$ac_objext'
36566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36567 (eval $ac_try) 2>&5
36568 ac_status=$?
36569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36570 (exit $ac_status); }; }; then
36571 glibcxx_cv_func__fabsf_use=yes
36572 else
36573 echo "$as_me: failed program was:" >&5
36574 sed 's/^/| /' conftest.$ac_ext >&5
36576 glibcxx_cv_func__fabsf_use=no
36578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36579 ac_ext=c
36580 ac_cpp='$CPP $CPPFLAGS'
36581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36589 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36590 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36592 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36594 for ac_func in _fabsf
36596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36597 echo "$as_me:$LINENO: checking for $ac_func" >&5
36598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36599 if eval "test \"\${$as_ac_var+set}\" = set"; then
36600 echo $ECHO_N "(cached) $ECHO_C" >&6
36601 else
36602 if test x$gcc_no_link = xyes; then
36603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36605 { (exit 1); exit 1; }; }
36607 cat >conftest.$ac_ext <<_ACEOF
36608 /* confdefs.h. */
36609 _ACEOF
36610 cat confdefs.h >>conftest.$ac_ext
36611 cat >>conftest.$ac_ext <<_ACEOF
36612 /* end confdefs.h. */
36613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36615 #define $ac_func innocuous_$ac_func
36617 /* System header to define __stub macros and hopefully few prototypes,
36618 which can conflict with char $ac_func (); below.
36619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36620 <limits.h> exists even on freestanding compilers. */
36622 #ifdef __STDC__
36623 # include <limits.h>
36624 #else
36625 # include <assert.h>
36626 #endif
36628 #undef $ac_func
36630 /* Override any gcc2 internal prototype to avoid an error. */
36631 #ifdef __cplusplus
36632 extern "C"
36634 #endif
36635 /* We use char because int might match the return type of a gcc2
36636 builtin and then its argument prototype would still apply. */
36637 char $ac_func ();
36638 /* The GNU C library defines this for functions which it implements
36639 to always fail with ENOSYS. Some functions are actually named
36640 something starting with __ and the normal name is an alias. */
36641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36642 choke me
36643 #else
36644 char (*f) () = $ac_func;
36645 #endif
36646 #ifdef __cplusplus
36648 #endif
36651 main ()
36653 return f != $ac_func;
36655 return 0;
36657 _ACEOF
36658 rm -f conftest.$ac_objext conftest$ac_exeext
36659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36660 (eval $ac_link) 2>conftest.er1
36661 ac_status=$?
36662 grep -v '^ *+' conftest.er1 >conftest.err
36663 rm -f conftest.er1
36664 cat conftest.err >&5
36665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36666 (exit $ac_status); } &&
36667 { ac_try='test -z "$ac_c_werror_flag"
36668 || test ! -s conftest.err'
36669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36670 (eval $ac_try) 2>&5
36671 ac_status=$?
36672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36673 (exit $ac_status); }; } &&
36674 { ac_try='test -s conftest$ac_exeext'
36675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36676 (eval $ac_try) 2>&5
36677 ac_status=$?
36678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36679 (exit $ac_status); }; }; then
36680 eval "$as_ac_var=yes"
36681 else
36682 echo "$as_me: failed program was:" >&5
36683 sed 's/^/| /' conftest.$ac_ext >&5
36685 eval "$as_ac_var=no"
36687 rm -f conftest.err conftest.$ac_objext \
36688 conftest$ac_exeext conftest.$ac_ext
36690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36692 if test `eval echo '${'$as_ac_var'}'` = yes; then
36693 cat >>confdefs.h <<_ACEOF
36694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36695 _ACEOF
36698 done
36705 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36706 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36707 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36708 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36709 echo $ECHO_N "(cached) $ECHO_C" >&6
36710 else
36714 ac_ext=cc
36715 ac_cpp='$CXXCPP $CPPFLAGS'
36716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36720 cat >conftest.$ac_ext <<_ACEOF
36721 /* confdefs.h. */
36722 _ACEOF
36723 cat confdefs.h >>conftest.$ac_ext
36724 cat >>conftest.$ac_ext <<_ACEOF
36725 /* end confdefs.h. */
36726 #include <math.h>
36728 main ()
36730 fmodf(0, 0);
36732 return 0;
36734 _ACEOF
36735 rm -f conftest.$ac_objext
36736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36737 (eval $ac_compile) 2>conftest.er1
36738 ac_status=$?
36739 grep -v '^ *+' conftest.er1 >conftest.err
36740 rm -f conftest.er1
36741 cat conftest.err >&5
36742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743 (exit $ac_status); } &&
36744 { ac_try='test -z "$ac_cxx_werror_flag"
36745 || test ! -s conftest.err'
36746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36747 (eval $ac_try) 2>&5
36748 ac_status=$?
36749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36750 (exit $ac_status); }; } &&
36751 { ac_try='test -s conftest.$ac_objext'
36752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36753 (eval $ac_try) 2>&5
36754 ac_status=$?
36755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36756 (exit $ac_status); }; }; then
36757 glibcxx_cv_func_fmodf_use=yes
36758 else
36759 echo "$as_me: failed program was:" >&5
36760 sed 's/^/| /' conftest.$ac_ext >&5
36762 glibcxx_cv_func_fmodf_use=no
36764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36765 ac_ext=c
36766 ac_cpp='$CPP $CPPFLAGS'
36767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36775 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36776 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36778 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36780 for ac_func in fmodf
36782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36783 echo "$as_me:$LINENO: checking for $ac_func" >&5
36784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36785 if eval "test \"\${$as_ac_var+set}\" = set"; then
36786 echo $ECHO_N "(cached) $ECHO_C" >&6
36787 else
36788 if test x$gcc_no_link = xyes; then
36789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36791 { (exit 1); exit 1; }; }
36793 cat >conftest.$ac_ext <<_ACEOF
36794 /* confdefs.h. */
36795 _ACEOF
36796 cat confdefs.h >>conftest.$ac_ext
36797 cat >>conftest.$ac_ext <<_ACEOF
36798 /* end confdefs.h. */
36799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36801 #define $ac_func innocuous_$ac_func
36803 /* System header to define __stub macros and hopefully few prototypes,
36804 which can conflict with char $ac_func (); below.
36805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36806 <limits.h> exists even on freestanding compilers. */
36808 #ifdef __STDC__
36809 # include <limits.h>
36810 #else
36811 # include <assert.h>
36812 #endif
36814 #undef $ac_func
36816 /* Override any gcc2 internal prototype to avoid an error. */
36817 #ifdef __cplusplus
36818 extern "C"
36820 #endif
36821 /* We use char because int might match the return type of a gcc2
36822 builtin and then its argument prototype would still apply. */
36823 char $ac_func ();
36824 /* The GNU C library defines this for functions which it implements
36825 to always fail with ENOSYS. Some functions are actually named
36826 something starting with __ and the normal name is an alias. */
36827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36828 choke me
36829 #else
36830 char (*f) () = $ac_func;
36831 #endif
36832 #ifdef __cplusplus
36834 #endif
36837 main ()
36839 return f != $ac_func;
36841 return 0;
36843 _ACEOF
36844 rm -f conftest.$ac_objext conftest$ac_exeext
36845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36846 (eval $ac_link) 2>conftest.er1
36847 ac_status=$?
36848 grep -v '^ *+' conftest.er1 >conftest.err
36849 rm -f conftest.er1
36850 cat conftest.err >&5
36851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36852 (exit $ac_status); } &&
36853 { ac_try='test -z "$ac_c_werror_flag"
36854 || test ! -s conftest.err'
36855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36856 (eval $ac_try) 2>&5
36857 ac_status=$?
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); }; } &&
36860 { ac_try='test -s conftest$ac_exeext'
36861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36862 (eval $ac_try) 2>&5
36863 ac_status=$?
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); }; }; then
36866 eval "$as_ac_var=yes"
36867 else
36868 echo "$as_me: failed program was:" >&5
36869 sed 's/^/| /' conftest.$ac_ext >&5
36871 eval "$as_ac_var=no"
36873 rm -f conftest.err conftest.$ac_objext \
36874 conftest$ac_exeext conftest.$ac_ext
36876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36878 if test `eval echo '${'$as_ac_var'}'` = yes; then
36879 cat >>confdefs.h <<_ACEOF
36880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36881 _ACEOF
36884 done
36886 else
36888 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36889 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36890 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36891 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36892 echo $ECHO_N "(cached) $ECHO_C" >&6
36893 else
36897 ac_ext=cc
36898 ac_cpp='$CXXCPP $CPPFLAGS'
36899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36903 cat >conftest.$ac_ext <<_ACEOF
36904 /* confdefs.h. */
36905 _ACEOF
36906 cat confdefs.h >>conftest.$ac_ext
36907 cat >>conftest.$ac_ext <<_ACEOF
36908 /* end confdefs.h. */
36909 #include <math.h>
36911 main ()
36913 _fmodf(0, 0);
36915 return 0;
36917 _ACEOF
36918 rm -f conftest.$ac_objext
36919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36920 (eval $ac_compile) 2>conftest.er1
36921 ac_status=$?
36922 grep -v '^ *+' conftest.er1 >conftest.err
36923 rm -f conftest.er1
36924 cat conftest.err >&5
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); } &&
36927 { ac_try='test -z "$ac_cxx_werror_flag"
36928 || test ! -s conftest.err'
36929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36930 (eval $ac_try) 2>&5
36931 ac_status=$?
36932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36933 (exit $ac_status); }; } &&
36934 { ac_try='test -s conftest.$ac_objext'
36935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36936 (eval $ac_try) 2>&5
36937 ac_status=$?
36938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36939 (exit $ac_status); }; }; then
36940 glibcxx_cv_func__fmodf_use=yes
36941 else
36942 echo "$as_me: failed program was:" >&5
36943 sed 's/^/| /' conftest.$ac_ext >&5
36945 glibcxx_cv_func__fmodf_use=no
36947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36948 ac_ext=c
36949 ac_cpp='$CPP $CPPFLAGS'
36950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36959 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36961 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36963 for ac_func in _fmodf
36965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36966 echo "$as_me:$LINENO: checking for $ac_func" >&5
36967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36968 if eval "test \"\${$as_ac_var+set}\" = set"; then
36969 echo $ECHO_N "(cached) $ECHO_C" >&6
36970 else
36971 if test x$gcc_no_link = xyes; then
36972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36974 { (exit 1); exit 1; }; }
36976 cat >conftest.$ac_ext <<_ACEOF
36977 /* confdefs.h. */
36978 _ACEOF
36979 cat confdefs.h >>conftest.$ac_ext
36980 cat >>conftest.$ac_ext <<_ACEOF
36981 /* end confdefs.h. */
36982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36984 #define $ac_func innocuous_$ac_func
36986 /* System header to define __stub macros and hopefully few prototypes,
36987 which can conflict with char $ac_func (); below.
36988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36989 <limits.h> exists even on freestanding compilers. */
36991 #ifdef __STDC__
36992 # include <limits.h>
36993 #else
36994 # include <assert.h>
36995 #endif
36997 #undef $ac_func
36999 /* Override any gcc2 internal prototype to avoid an error. */
37000 #ifdef __cplusplus
37001 extern "C"
37003 #endif
37004 /* We use char because int might match the return type of a gcc2
37005 builtin and then its argument prototype would still apply. */
37006 char $ac_func ();
37007 /* The GNU C library defines this for functions which it implements
37008 to always fail with ENOSYS. Some functions are actually named
37009 something starting with __ and the normal name is an alias. */
37010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37011 choke me
37012 #else
37013 char (*f) () = $ac_func;
37014 #endif
37015 #ifdef __cplusplus
37017 #endif
37020 main ()
37022 return f != $ac_func;
37024 return 0;
37026 _ACEOF
37027 rm -f conftest.$ac_objext conftest$ac_exeext
37028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37029 (eval $ac_link) 2>conftest.er1
37030 ac_status=$?
37031 grep -v '^ *+' conftest.er1 >conftest.err
37032 rm -f conftest.er1
37033 cat conftest.err >&5
37034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37035 (exit $ac_status); } &&
37036 { ac_try='test -z "$ac_c_werror_flag"
37037 || test ! -s conftest.err'
37038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37039 (eval $ac_try) 2>&5
37040 ac_status=$?
37041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37042 (exit $ac_status); }; } &&
37043 { ac_try='test -s conftest$ac_exeext'
37044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37045 (eval $ac_try) 2>&5
37046 ac_status=$?
37047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048 (exit $ac_status); }; }; then
37049 eval "$as_ac_var=yes"
37050 else
37051 echo "$as_me: failed program was:" >&5
37052 sed 's/^/| /' conftest.$ac_ext >&5
37054 eval "$as_ac_var=no"
37056 rm -f conftest.err conftest.$ac_objext \
37057 conftest$ac_exeext conftest.$ac_ext
37059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37061 if test `eval echo '${'$as_ac_var'}'` = yes; then
37062 cat >>confdefs.h <<_ACEOF
37063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37064 _ACEOF
37067 done
37074 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37075 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37076 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37077 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37078 echo $ECHO_N "(cached) $ECHO_C" >&6
37079 else
37083 ac_ext=cc
37084 ac_cpp='$CXXCPP $CPPFLAGS'
37085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37089 cat >conftest.$ac_ext <<_ACEOF
37090 /* confdefs.h. */
37091 _ACEOF
37092 cat confdefs.h >>conftest.$ac_ext
37093 cat >>conftest.$ac_ext <<_ACEOF
37094 /* end confdefs.h. */
37095 #include <math.h>
37097 main ()
37099 frexpf(0, 0);
37101 return 0;
37103 _ACEOF
37104 rm -f conftest.$ac_objext
37105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37106 (eval $ac_compile) 2>conftest.er1
37107 ac_status=$?
37108 grep -v '^ *+' conftest.er1 >conftest.err
37109 rm -f conftest.er1
37110 cat conftest.err >&5
37111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37112 (exit $ac_status); } &&
37113 { ac_try='test -z "$ac_cxx_werror_flag"
37114 || test ! -s conftest.err'
37115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37116 (eval $ac_try) 2>&5
37117 ac_status=$?
37118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37119 (exit $ac_status); }; } &&
37120 { ac_try='test -s conftest.$ac_objext'
37121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37122 (eval $ac_try) 2>&5
37123 ac_status=$?
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); }; }; then
37126 glibcxx_cv_func_frexpf_use=yes
37127 else
37128 echo "$as_me: failed program was:" >&5
37129 sed 's/^/| /' conftest.$ac_ext >&5
37131 glibcxx_cv_func_frexpf_use=no
37133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37134 ac_ext=c
37135 ac_cpp='$CPP $CPPFLAGS'
37136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37144 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37145 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37147 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37149 for ac_func in frexpf
37151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37152 echo "$as_me:$LINENO: checking for $ac_func" >&5
37153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37154 if eval "test \"\${$as_ac_var+set}\" = set"; then
37155 echo $ECHO_N "(cached) $ECHO_C" >&6
37156 else
37157 if test x$gcc_no_link = xyes; then
37158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37160 { (exit 1); exit 1; }; }
37162 cat >conftest.$ac_ext <<_ACEOF
37163 /* confdefs.h. */
37164 _ACEOF
37165 cat confdefs.h >>conftest.$ac_ext
37166 cat >>conftest.$ac_ext <<_ACEOF
37167 /* end confdefs.h. */
37168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37170 #define $ac_func innocuous_$ac_func
37172 /* System header to define __stub macros and hopefully few prototypes,
37173 which can conflict with char $ac_func (); below.
37174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37175 <limits.h> exists even on freestanding compilers. */
37177 #ifdef __STDC__
37178 # include <limits.h>
37179 #else
37180 # include <assert.h>
37181 #endif
37183 #undef $ac_func
37185 /* Override any gcc2 internal prototype to avoid an error. */
37186 #ifdef __cplusplus
37187 extern "C"
37189 #endif
37190 /* We use char because int might match the return type of a gcc2
37191 builtin and then its argument prototype would still apply. */
37192 char $ac_func ();
37193 /* The GNU C library defines this for functions which it implements
37194 to always fail with ENOSYS. Some functions are actually named
37195 something starting with __ and the normal name is an alias. */
37196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37197 choke me
37198 #else
37199 char (*f) () = $ac_func;
37200 #endif
37201 #ifdef __cplusplus
37203 #endif
37206 main ()
37208 return f != $ac_func;
37210 return 0;
37212 _ACEOF
37213 rm -f conftest.$ac_objext conftest$ac_exeext
37214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37215 (eval $ac_link) 2>conftest.er1
37216 ac_status=$?
37217 grep -v '^ *+' conftest.er1 >conftest.err
37218 rm -f conftest.er1
37219 cat conftest.err >&5
37220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37221 (exit $ac_status); } &&
37222 { ac_try='test -z "$ac_c_werror_flag"
37223 || test ! -s conftest.err'
37224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37225 (eval $ac_try) 2>&5
37226 ac_status=$?
37227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37228 (exit $ac_status); }; } &&
37229 { ac_try='test -s conftest$ac_exeext'
37230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37231 (eval $ac_try) 2>&5
37232 ac_status=$?
37233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37234 (exit $ac_status); }; }; then
37235 eval "$as_ac_var=yes"
37236 else
37237 echo "$as_me: failed program was:" >&5
37238 sed 's/^/| /' conftest.$ac_ext >&5
37240 eval "$as_ac_var=no"
37242 rm -f conftest.err conftest.$ac_objext \
37243 conftest$ac_exeext conftest.$ac_ext
37245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37247 if test `eval echo '${'$as_ac_var'}'` = yes; then
37248 cat >>confdefs.h <<_ACEOF
37249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37250 _ACEOF
37253 done
37255 else
37257 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37258 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37259 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37260 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37261 echo $ECHO_N "(cached) $ECHO_C" >&6
37262 else
37266 ac_ext=cc
37267 ac_cpp='$CXXCPP $CPPFLAGS'
37268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37272 cat >conftest.$ac_ext <<_ACEOF
37273 /* confdefs.h. */
37274 _ACEOF
37275 cat confdefs.h >>conftest.$ac_ext
37276 cat >>conftest.$ac_ext <<_ACEOF
37277 /* end confdefs.h. */
37278 #include <math.h>
37280 main ()
37282 _frexpf(0, 0);
37284 return 0;
37286 _ACEOF
37287 rm -f conftest.$ac_objext
37288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37289 (eval $ac_compile) 2>conftest.er1
37290 ac_status=$?
37291 grep -v '^ *+' conftest.er1 >conftest.err
37292 rm -f conftest.er1
37293 cat conftest.err >&5
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); } &&
37296 { ac_try='test -z "$ac_cxx_werror_flag"
37297 || test ! -s conftest.err'
37298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37299 (eval $ac_try) 2>&5
37300 ac_status=$?
37301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37302 (exit $ac_status); }; } &&
37303 { ac_try='test -s conftest.$ac_objext'
37304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37305 (eval $ac_try) 2>&5
37306 ac_status=$?
37307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37308 (exit $ac_status); }; }; then
37309 glibcxx_cv_func__frexpf_use=yes
37310 else
37311 echo "$as_me: failed program was:" >&5
37312 sed 's/^/| /' conftest.$ac_ext >&5
37314 glibcxx_cv_func__frexpf_use=no
37316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37317 ac_ext=c
37318 ac_cpp='$CPP $CPPFLAGS'
37319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37327 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37328 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37330 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37332 for ac_func in _frexpf
37334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37335 echo "$as_me:$LINENO: checking for $ac_func" >&5
37336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37337 if eval "test \"\${$as_ac_var+set}\" = set"; then
37338 echo $ECHO_N "(cached) $ECHO_C" >&6
37339 else
37340 if test x$gcc_no_link = xyes; then
37341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37343 { (exit 1); exit 1; }; }
37345 cat >conftest.$ac_ext <<_ACEOF
37346 /* confdefs.h. */
37347 _ACEOF
37348 cat confdefs.h >>conftest.$ac_ext
37349 cat >>conftest.$ac_ext <<_ACEOF
37350 /* end confdefs.h. */
37351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37353 #define $ac_func innocuous_$ac_func
37355 /* System header to define __stub macros and hopefully few prototypes,
37356 which can conflict with char $ac_func (); below.
37357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37358 <limits.h> exists even on freestanding compilers. */
37360 #ifdef __STDC__
37361 # include <limits.h>
37362 #else
37363 # include <assert.h>
37364 #endif
37366 #undef $ac_func
37368 /* Override any gcc2 internal prototype to avoid an error. */
37369 #ifdef __cplusplus
37370 extern "C"
37372 #endif
37373 /* We use char because int might match the return type of a gcc2
37374 builtin and then its argument prototype would still apply. */
37375 char $ac_func ();
37376 /* The GNU C library defines this for functions which it implements
37377 to always fail with ENOSYS. Some functions are actually named
37378 something starting with __ and the normal name is an alias. */
37379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37380 choke me
37381 #else
37382 char (*f) () = $ac_func;
37383 #endif
37384 #ifdef __cplusplus
37386 #endif
37389 main ()
37391 return f != $ac_func;
37393 return 0;
37395 _ACEOF
37396 rm -f conftest.$ac_objext conftest$ac_exeext
37397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37398 (eval $ac_link) 2>conftest.er1
37399 ac_status=$?
37400 grep -v '^ *+' conftest.er1 >conftest.err
37401 rm -f conftest.er1
37402 cat conftest.err >&5
37403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404 (exit $ac_status); } &&
37405 { ac_try='test -z "$ac_c_werror_flag"
37406 || test ! -s conftest.err'
37407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37408 (eval $ac_try) 2>&5
37409 ac_status=$?
37410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37411 (exit $ac_status); }; } &&
37412 { ac_try='test -s conftest$ac_exeext'
37413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37414 (eval $ac_try) 2>&5
37415 ac_status=$?
37416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417 (exit $ac_status); }; }; then
37418 eval "$as_ac_var=yes"
37419 else
37420 echo "$as_me: failed program was:" >&5
37421 sed 's/^/| /' conftest.$ac_ext >&5
37423 eval "$as_ac_var=no"
37425 rm -f conftest.err conftest.$ac_objext \
37426 conftest$ac_exeext conftest.$ac_ext
37428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37430 if test `eval echo '${'$as_ac_var'}'` = yes; then
37431 cat >>confdefs.h <<_ACEOF
37432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37433 _ACEOF
37436 done
37443 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37444 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37445 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37446 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37447 echo $ECHO_N "(cached) $ECHO_C" >&6
37448 else
37452 ac_ext=cc
37453 ac_cpp='$CXXCPP $CPPFLAGS'
37454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37458 cat >conftest.$ac_ext <<_ACEOF
37459 /* confdefs.h. */
37460 _ACEOF
37461 cat confdefs.h >>conftest.$ac_ext
37462 cat >>conftest.$ac_ext <<_ACEOF
37463 /* end confdefs.h. */
37464 #include <math.h>
37466 main ()
37468 hypotf(0, 0);
37470 return 0;
37472 _ACEOF
37473 rm -f conftest.$ac_objext
37474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37475 (eval $ac_compile) 2>conftest.er1
37476 ac_status=$?
37477 grep -v '^ *+' conftest.er1 >conftest.err
37478 rm -f conftest.er1
37479 cat conftest.err >&5
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); } &&
37482 { ac_try='test -z "$ac_cxx_werror_flag"
37483 || test ! -s conftest.err'
37484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37485 (eval $ac_try) 2>&5
37486 ac_status=$?
37487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37488 (exit $ac_status); }; } &&
37489 { ac_try='test -s conftest.$ac_objext'
37490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37491 (eval $ac_try) 2>&5
37492 ac_status=$?
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); }; }; then
37495 glibcxx_cv_func_hypotf_use=yes
37496 else
37497 echo "$as_me: failed program was:" >&5
37498 sed 's/^/| /' conftest.$ac_ext >&5
37500 glibcxx_cv_func_hypotf_use=no
37502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37503 ac_ext=c
37504 ac_cpp='$CPP $CPPFLAGS'
37505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37514 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37516 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37518 for ac_func in hypotf
37520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37521 echo "$as_me:$LINENO: checking for $ac_func" >&5
37522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37523 if eval "test \"\${$as_ac_var+set}\" = set"; then
37524 echo $ECHO_N "(cached) $ECHO_C" >&6
37525 else
37526 if test x$gcc_no_link = xyes; then
37527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37529 { (exit 1); exit 1; }; }
37531 cat >conftest.$ac_ext <<_ACEOF
37532 /* confdefs.h. */
37533 _ACEOF
37534 cat confdefs.h >>conftest.$ac_ext
37535 cat >>conftest.$ac_ext <<_ACEOF
37536 /* end confdefs.h. */
37537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37539 #define $ac_func innocuous_$ac_func
37541 /* System header to define __stub macros and hopefully few prototypes,
37542 which can conflict with char $ac_func (); below.
37543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37544 <limits.h> exists even on freestanding compilers. */
37546 #ifdef __STDC__
37547 # include <limits.h>
37548 #else
37549 # include <assert.h>
37550 #endif
37552 #undef $ac_func
37554 /* Override any gcc2 internal prototype to avoid an error. */
37555 #ifdef __cplusplus
37556 extern "C"
37558 #endif
37559 /* We use char because int might match the return type of a gcc2
37560 builtin and then its argument prototype would still apply. */
37561 char $ac_func ();
37562 /* The GNU C library defines this for functions which it implements
37563 to always fail with ENOSYS. Some functions are actually named
37564 something starting with __ and the normal name is an alias. */
37565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37566 choke me
37567 #else
37568 char (*f) () = $ac_func;
37569 #endif
37570 #ifdef __cplusplus
37572 #endif
37575 main ()
37577 return f != $ac_func;
37579 return 0;
37581 _ACEOF
37582 rm -f conftest.$ac_objext conftest$ac_exeext
37583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37584 (eval $ac_link) 2>conftest.er1
37585 ac_status=$?
37586 grep -v '^ *+' conftest.er1 >conftest.err
37587 rm -f conftest.er1
37588 cat conftest.err >&5
37589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37590 (exit $ac_status); } &&
37591 { ac_try='test -z "$ac_c_werror_flag"
37592 || test ! -s conftest.err'
37593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37594 (eval $ac_try) 2>&5
37595 ac_status=$?
37596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37597 (exit $ac_status); }; } &&
37598 { ac_try='test -s conftest$ac_exeext'
37599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37600 (eval $ac_try) 2>&5
37601 ac_status=$?
37602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37603 (exit $ac_status); }; }; then
37604 eval "$as_ac_var=yes"
37605 else
37606 echo "$as_me: failed program was:" >&5
37607 sed 's/^/| /' conftest.$ac_ext >&5
37609 eval "$as_ac_var=no"
37611 rm -f conftest.err conftest.$ac_objext \
37612 conftest$ac_exeext conftest.$ac_ext
37614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37616 if test `eval echo '${'$as_ac_var'}'` = yes; then
37617 cat >>confdefs.h <<_ACEOF
37618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37619 _ACEOF
37622 done
37624 else
37626 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37627 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37628 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37629 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37630 echo $ECHO_N "(cached) $ECHO_C" >&6
37631 else
37635 ac_ext=cc
37636 ac_cpp='$CXXCPP $CPPFLAGS'
37637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37641 cat >conftest.$ac_ext <<_ACEOF
37642 /* confdefs.h. */
37643 _ACEOF
37644 cat confdefs.h >>conftest.$ac_ext
37645 cat >>conftest.$ac_ext <<_ACEOF
37646 /* end confdefs.h. */
37647 #include <math.h>
37649 main ()
37651 _hypotf(0, 0);
37653 return 0;
37655 _ACEOF
37656 rm -f conftest.$ac_objext
37657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37658 (eval $ac_compile) 2>conftest.er1
37659 ac_status=$?
37660 grep -v '^ *+' conftest.er1 >conftest.err
37661 rm -f conftest.er1
37662 cat conftest.err >&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); } &&
37665 { ac_try='test -z "$ac_cxx_werror_flag"
37666 || test ! -s conftest.err'
37667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37668 (eval $ac_try) 2>&5
37669 ac_status=$?
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); }; } &&
37672 { ac_try='test -s conftest.$ac_objext'
37673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37674 (eval $ac_try) 2>&5
37675 ac_status=$?
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); }; }; then
37678 glibcxx_cv_func__hypotf_use=yes
37679 else
37680 echo "$as_me: failed program was:" >&5
37681 sed 's/^/| /' conftest.$ac_ext >&5
37683 glibcxx_cv_func__hypotf_use=no
37685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37686 ac_ext=c
37687 ac_cpp='$CPP $CPPFLAGS'
37688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37696 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37697 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37699 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37701 for ac_func in _hypotf
37703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37704 echo "$as_me:$LINENO: checking for $ac_func" >&5
37705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37706 if eval "test \"\${$as_ac_var+set}\" = set"; then
37707 echo $ECHO_N "(cached) $ECHO_C" >&6
37708 else
37709 if test x$gcc_no_link = xyes; then
37710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37712 { (exit 1); exit 1; }; }
37714 cat >conftest.$ac_ext <<_ACEOF
37715 /* confdefs.h. */
37716 _ACEOF
37717 cat confdefs.h >>conftest.$ac_ext
37718 cat >>conftest.$ac_ext <<_ACEOF
37719 /* end confdefs.h. */
37720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37722 #define $ac_func innocuous_$ac_func
37724 /* System header to define __stub macros and hopefully few prototypes,
37725 which can conflict with char $ac_func (); below.
37726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37727 <limits.h> exists even on freestanding compilers. */
37729 #ifdef __STDC__
37730 # include <limits.h>
37731 #else
37732 # include <assert.h>
37733 #endif
37735 #undef $ac_func
37737 /* Override any gcc2 internal prototype to avoid an error. */
37738 #ifdef __cplusplus
37739 extern "C"
37741 #endif
37742 /* We use char because int might match the return type of a gcc2
37743 builtin and then its argument prototype would still apply. */
37744 char $ac_func ();
37745 /* The GNU C library defines this for functions which it implements
37746 to always fail with ENOSYS. Some functions are actually named
37747 something starting with __ and the normal name is an alias. */
37748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37749 choke me
37750 #else
37751 char (*f) () = $ac_func;
37752 #endif
37753 #ifdef __cplusplus
37755 #endif
37758 main ()
37760 return f != $ac_func;
37762 return 0;
37764 _ACEOF
37765 rm -f conftest.$ac_objext conftest$ac_exeext
37766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37767 (eval $ac_link) 2>conftest.er1
37768 ac_status=$?
37769 grep -v '^ *+' conftest.er1 >conftest.err
37770 rm -f conftest.er1
37771 cat conftest.err >&5
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); } &&
37774 { ac_try='test -z "$ac_c_werror_flag"
37775 || test ! -s conftest.err'
37776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37777 (eval $ac_try) 2>&5
37778 ac_status=$?
37779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37780 (exit $ac_status); }; } &&
37781 { ac_try='test -s conftest$ac_exeext'
37782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37783 (eval $ac_try) 2>&5
37784 ac_status=$?
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); }; }; then
37787 eval "$as_ac_var=yes"
37788 else
37789 echo "$as_me: failed program was:" >&5
37790 sed 's/^/| /' conftest.$ac_ext >&5
37792 eval "$as_ac_var=no"
37794 rm -f conftest.err conftest.$ac_objext \
37795 conftest$ac_exeext conftest.$ac_ext
37797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37799 if test `eval echo '${'$as_ac_var'}'` = yes; then
37800 cat >>confdefs.h <<_ACEOF
37801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37802 _ACEOF
37805 done
37812 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37813 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37814 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37815 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37816 echo $ECHO_N "(cached) $ECHO_C" >&6
37817 else
37821 ac_ext=cc
37822 ac_cpp='$CXXCPP $CPPFLAGS'
37823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37827 cat >conftest.$ac_ext <<_ACEOF
37828 /* confdefs.h. */
37829 _ACEOF
37830 cat confdefs.h >>conftest.$ac_ext
37831 cat >>conftest.$ac_ext <<_ACEOF
37832 /* end confdefs.h. */
37833 #include <math.h>
37835 main ()
37837 ldexpf(0, 0);
37839 return 0;
37841 _ACEOF
37842 rm -f conftest.$ac_objext
37843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37844 (eval $ac_compile) 2>conftest.er1
37845 ac_status=$?
37846 grep -v '^ *+' conftest.er1 >conftest.err
37847 rm -f conftest.er1
37848 cat conftest.err >&5
37849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 (exit $ac_status); } &&
37851 { ac_try='test -z "$ac_cxx_werror_flag"
37852 || test ! -s conftest.err'
37853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37854 (eval $ac_try) 2>&5
37855 ac_status=$?
37856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857 (exit $ac_status); }; } &&
37858 { ac_try='test -s conftest.$ac_objext'
37859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37860 (eval $ac_try) 2>&5
37861 ac_status=$?
37862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37863 (exit $ac_status); }; }; then
37864 glibcxx_cv_func_ldexpf_use=yes
37865 else
37866 echo "$as_me: failed program was:" >&5
37867 sed 's/^/| /' conftest.$ac_ext >&5
37869 glibcxx_cv_func_ldexpf_use=no
37871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37872 ac_ext=c
37873 ac_cpp='$CPP $CPPFLAGS'
37874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37882 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37883 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37885 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37887 for ac_func in ldexpf
37889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37890 echo "$as_me:$LINENO: checking for $ac_func" >&5
37891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37892 if eval "test \"\${$as_ac_var+set}\" = set"; then
37893 echo $ECHO_N "(cached) $ECHO_C" >&6
37894 else
37895 if test x$gcc_no_link = xyes; then
37896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37898 { (exit 1); exit 1; }; }
37900 cat >conftest.$ac_ext <<_ACEOF
37901 /* confdefs.h. */
37902 _ACEOF
37903 cat confdefs.h >>conftest.$ac_ext
37904 cat >>conftest.$ac_ext <<_ACEOF
37905 /* end confdefs.h. */
37906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37908 #define $ac_func innocuous_$ac_func
37910 /* System header to define __stub macros and hopefully few prototypes,
37911 which can conflict with char $ac_func (); below.
37912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37913 <limits.h> exists even on freestanding compilers. */
37915 #ifdef __STDC__
37916 # include <limits.h>
37917 #else
37918 # include <assert.h>
37919 #endif
37921 #undef $ac_func
37923 /* Override any gcc2 internal prototype to avoid an error. */
37924 #ifdef __cplusplus
37925 extern "C"
37927 #endif
37928 /* We use char because int might match the return type of a gcc2
37929 builtin and then its argument prototype would still apply. */
37930 char $ac_func ();
37931 /* The GNU C library defines this for functions which it implements
37932 to always fail with ENOSYS. Some functions are actually named
37933 something starting with __ and the normal name is an alias. */
37934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37935 choke me
37936 #else
37937 char (*f) () = $ac_func;
37938 #endif
37939 #ifdef __cplusplus
37941 #endif
37944 main ()
37946 return f != $ac_func;
37948 return 0;
37950 _ACEOF
37951 rm -f conftest.$ac_objext conftest$ac_exeext
37952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37953 (eval $ac_link) 2>conftest.er1
37954 ac_status=$?
37955 grep -v '^ *+' conftest.er1 >conftest.err
37956 rm -f conftest.er1
37957 cat conftest.err >&5
37958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37959 (exit $ac_status); } &&
37960 { ac_try='test -z "$ac_c_werror_flag"
37961 || test ! -s conftest.err'
37962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37963 (eval $ac_try) 2>&5
37964 ac_status=$?
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); }; } &&
37967 { ac_try='test -s conftest$ac_exeext'
37968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37969 (eval $ac_try) 2>&5
37970 ac_status=$?
37971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37972 (exit $ac_status); }; }; then
37973 eval "$as_ac_var=yes"
37974 else
37975 echo "$as_me: failed program was:" >&5
37976 sed 's/^/| /' conftest.$ac_ext >&5
37978 eval "$as_ac_var=no"
37980 rm -f conftest.err conftest.$ac_objext \
37981 conftest$ac_exeext conftest.$ac_ext
37983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37985 if test `eval echo '${'$as_ac_var'}'` = yes; then
37986 cat >>confdefs.h <<_ACEOF
37987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37988 _ACEOF
37991 done
37993 else
37995 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
37996 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37997 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37998 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
37999 echo $ECHO_N "(cached) $ECHO_C" >&6
38000 else
38004 ac_ext=cc
38005 ac_cpp='$CXXCPP $CPPFLAGS'
38006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38010 cat >conftest.$ac_ext <<_ACEOF
38011 /* confdefs.h. */
38012 _ACEOF
38013 cat confdefs.h >>conftest.$ac_ext
38014 cat >>conftest.$ac_ext <<_ACEOF
38015 /* end confdefs.h. */
38016 #include <math.h>
38018 main ()
38020 _ldexpf(0, 0);
38022 return 0;
38024 _ACEOF
38025 rm -f conftest.$ac_objext
38026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38027 (eval $ac_compile) 2>conftest.er1
38028 ac_status=$?
38029 grep -v '^ *+' conftest.er1 >conftest.err
38030 rm -f conftest.er1
38031 cat conftest.err >&5
38032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38033 (exit $ac_status); } &&
38034 { ac_try='test -z "$ac_cxx_werror_flag"
38035 || test ! -s conftest.err'
38036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38037 (eval $ac_try) 2>&5
38038 ac_status=$?
38039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38040 (exit $ac_status); }; } &&
38041 { ac_try='test -s conftest.$ac_objext'
38042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38043 (eval $ac_try) 2>&5
38044 ac_status=$?
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); }; }; then
38047 glibcxx_cv_func__ldexpf_use=yes
38048 else
38049 echo "$as_me: failed program was:" >&5
38050 sed 's/^/| /' conftest.$ac_ext >&5
38052 glibcxx_cv_func__ldexpf_use=no
38054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38055 ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38065 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38066 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38068 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38070 for ac_func in _ldexpf
38072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38073 echo "$as_me:$LINENO: checking for $ac_func" >&5
38074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38075 if eval "test \"\${$as_ac_var+set}\" = set"; then
38076 echo $ECHO_N "(cached) $ECHO_C" >&6
38077 else
38078 if test x$gcc_no_link = xyes; then
38079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38081 { (exit 1); exit 1; }; }
38083 cat >conftest.$ac_ext <<_ACEOF
38084 /* confdefs.h. */
38085 _ACEOF
38086 cat confdefs.h >>conftest.$ac_ext
38087 cat >>conftest.$ac_ext <<_ACEOF
38088 /* end confdefs.h. */
38089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38091 #define $ac_func innocuous_$ac_func
38093 /* System header to define __stub macros and hopefully few prototypes,
38094 which can conflict with char $ac_func (); below.
38095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38096 <limits.h> exists even on freestanding compilers. */
38098 #ifdef __STDC__
38099 # include <limits.h>
38100 #else
38101 # include <assert.h>
38102 #endif
38104 #undef $ac_func
38106 /* Override any gcc2 internal prototype to avoid an error. */
38107 #ifdef __cplusplus
38108 extern "C"
38110 #endif
38111 /* We use char because int might match the return type of a gcc2
38112 builtin and then its argument prototype would still apply. */
38113 char $ac_func ();
38114 /* The GNU C library defines this for functions which it implements
38115 to always fail with ENOSYS. Some functions are actually named
38116 something starting with __ and the normal name is an alias. */
38117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38118 choke me
38119 #else
38120 char (*f) () = $ac_func;
38121 #endif
38122 #ifdef __cplusplus
38124 #endif
38127 main ()
38129 return f != $ac_func;
38131 return 0;
38133 _ACEOF
38134 rm -f conftest.$ac_objext conftest$ac_exeext
38135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38136 (eval $ac_link) 2>conftest.er1
38137 ac_status=$?
38138 grep -v '^ *+' conftest.er1 >conftest.err
38139 rm -f conftest.er1
38140 cat conftest.err >&5
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); } &&
38143 { ac_try='test -z "$ac_c_werror_flag"
38144 || test ! -s conftest.err'
38145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38146 (eval $ac_try) 2>&5
38147 ac_status=$?
38148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149 (exit $ac_status); }; } &&
38150 { ac_try='test -s conftest$ac_exeext'
38151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38152 (eval $ac_try) 2>&5
38153 ac_status=$?
38154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155 (exit $ac_status); }; }; then
38156 eval "$as_ac_var=yes"
38157 else
38158 echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.$ac_ext >&5
38161 eval "$as_ac_var=no"
38163 rm -f conftest.err conftest.$ac_objext \
38164 conftest$ac_exeext conftest.$ac_ext
38166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38168 if test `eval echo '${'$as_ac_var'}'` = yes; then
38169 cat >>confdefs.h <<_ACEOF
38170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38171 _ACEOF
38174 done
38181 echo "$as_me:$LINENO: checking for logf declaration" >&5
38182 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38183 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38184 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38185 echo $ECHO_N "(cached) $ECHO_C" >&6
38186 else
38190 ac_ext=cc
38191 ac_cpp='$CXXCPP $CPPFLAGS'
38192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38196 cat >conftest.$ac_ext <<_ACEOF
38197 /* confdefs.h. */
38198 _ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38202 #include <math.h>
38203 #ifdef HAVE_IEEEFP_H
38204 #include <ieeefp.h>
38205 #endif
38208 main ()
38210 logf(0);
38212 return 0;
38214 _ACEOF
38215 rm -f conftest.$ac_objext
38216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38217 (eval $ac_compile) 2>conftest.er1
38218 ac_status=$?
38219 grep -v '^ *+' conftest.er1 >conftest.err
38220 rm -f conftest.er1
38221 cat conftest.err >&5
38222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38223 (exit $ac_status); } &&
38224 { ac_try='test -z "$ac_cxx_werror_flag"
38225 || test ! -s conftest.err'
38226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38227 (eval $ac_try) 2>&5
38228 ac_status=$?
38229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38230 (exit $ac_status); }; } &&
38231 { ac_try='test -s conftest.$ac_objext'
38232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38233 (eval $ac_try) 2>&5
38234 ac_status=$?
38235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38236 (exit $ac_status); }; }; then
38237 glibcxx_cv_func_logf_use=yes
38238 else
38239 echo "$as_me: failed program was:" >&5
38240 sed 's/^/| /' conftest.$ac_ext >&5
38242 glibcxx_cv_func_logf_use=no
38244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38245 ac_ext=c
38246 ac_cpp='$CPP $CPPFLAGS'
38247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38255 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38256 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38258 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38260 for ac_func in logf
38262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38263 echo "$as_me:$LINENO: checking for $ac_func" >&5
38264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38265 if eval "test \"\${$as_ac_var+set}\" = set"; then
38266 echo $ECHO_N "(cached) $ECHO_C" >&6
38267 else
38268 if test x$gcc_no_link = xyes; then
38269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38271 { (exit 1); exit 1; }; }
38273 cat >conftest.$ac_ext <<_ACEOF
38274 /* confdefs.h. */
38275 _ACEOF
38276 cat confdefs.h >>conftest.$ac_ext
38277 cat >>conftest.$ac_ext <<_ACEOF
38278 /* end confdefs.h. */
38279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38281 #define $ac_func innocuous_$ac_func
38283 /* System header to define __stub macros and hopefully few prototypes,
38284 which can conflict with char $ac_func (); below.
38285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38286 <limits.h> exists even on freestanding compilers. */
38288 #ifdef __STDC__
38289 # include <limits.h>
38290 #else
38291 # include <assert.h>
38292 #endif
38294 #undef $ac_func
38296 /* Override any gcc2 internal prototype to avoid an error. */
38297 #ifdef __cplusplus
38298 extern "C"
38300 #endif
38301 /* We use char because int might match the return type of a gcc2
38302 builtin and then its argument prototype would still apply. */
38303 char $ac_func ();
38304 /* The GNU C library defines this for functions which it implements
38305 to always fail with ENOSYS. Some functions are actually named
38306 something starting with __ and the normal name is an alias. */
38307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38308 choke me
38309 #else
38310 char (*f) () = $ac_func;
38311 #endif
38312 #ifdef __cplusplus
38314 #endif
38317 main ()
38319 return f != $ac_func;
38321 return 0;
38323 _ACEOF
38324 rm -f conftest.$ac_objext conftest$ac_exeext
38325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38326 (eval $ac_link) 2>conftest.er1
38327 ac_status=$?
38328 grep -v '^ *+' conftest.er1 >conftest.err
38329 rm -f conftest.er1
38330 cat conftest.err >&5
38331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38332 (exit $ac_status); } &&
38333 { ac_try='test -z "$ac_c_werror_flag"
38334 || test ! -s conftest.err'
38335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38336 (eval $ac_try) 2>&5
38337 ac_status=$?
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); }; } &&
38340 { ac_try='test -s conftest$ac_exeext'
38341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38342 (eval $ac_try) 2>&5
38343 ac_status=$?
38344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38345 (exit $ac_status); }; }; then
38346 eval "$as_ac_var=yes"
38347 else
38348 echo "$as_me: failed program was:" >&5
38349 sed 's/^/| /' conftest.$ac_ext >&5
38351 eval "$as_ac_var=no"
38353 rm -f conftest.err conftest.$ac_objext \
38354 conftest$ac_exeext conftest.$ac_ext
38356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38358 if test `eval echo '${'$as_ac_var'}'` = yes; then
38359 cat >>confdefs.h <<_ACEOF
38360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38361 _ACEOF
38364 done
38366 else
38368 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38369 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38370 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38371 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38372 echo $ECHO_N "(cached) $ECHO_C" >&6
38373 else
38377 ac_ext=cc
38378 ac_cpp='$CXXCPP $CPPFLAGS'
38379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38383 cat >conftest.$ac_ext <<_ACEOF
38384 /* confdefs.h. */
38385 _ACEOF
38386 cat confdefs.h >>conftest.$ac_ext
38387 cat >>conftest.$ac_ext <<_ACEOF
38388 /* end confdefs.h. */
38389 #include <math.h>
38390 #ifdef HAVE_IEEEFP_H
38391 #include <ieeefp.h>
38392 #endif
38395 main ()
38397 _logf(0);
38399 return 0;
38401 _ACEOF
38402 rm -f conftest.$ac_objext
38403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38404 (eval $ac_compile) 2>conftest.er1
38405 ac_status=$?
38406 grep -v '^ *+' conftest.er1 >conftest.err
38407 rm -f conftest.er1
38408 cat conftest.err >&5
38409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38410 (exit $ac_status); } &&
38411 { ac_try='test -z "$ac_cxx_werror_flag"
38412 || test ! -s conftest.err'
38413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38414 (eval $ac_try) 2>&5
38415 ac_status=$?
38416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38417 (exit $ac_status); }; } &&
38418 { ac_try='test -s conftest.$ac_objext'
38419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38420 (eval $ac_try) 2>&5
38421 ac_status=$?
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); }; }; then
38424 glibcxx_cv_func__logf_use=yes
38425 else
38426 echo "$as_me: failed program was:" >&5
38427 sed 's/^/| /' conftest.$ac_ext >&5
38429 glibcxx_cv_func__logf_use=no
38431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38432 ac_ext=c
38433 ac_cpp='$CPP $CPPFLAGS'
38434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38442 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38443 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38445 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38447 for ac_func in _logf
38449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38450 echo "$as_me:$LINENO: checking for $ac_func" >&5
38451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38452 if eval "test \"\${$as_ac_var+set}\" = set"; then
38453 echo $ECHO_N "(cached) $ECHO_C" >&6
38454 else
38455 if test x$gcc_no_link = xyes; then
38456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38458 { (exit 1); exit 1; }; }
38460 cat >conftest.$ac_ext <<_ACEOF
38461 /* confdefs.h. */
38462 _ACEOF
38463 cat confdefs.h >>conftest.$ac_ext
38464 cat >>conftest.$ac_ext <<_ACEOF
38465 /* end confdefs.h. */
38466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38468 #define $ac_func innocuous_$ac_func
38470 /* System header to define __stub macros and hopefully few prototypes,
38471 which can conflict with char $ac_func (); below.
38472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38473 <limits.h> exists even on freestanding compilers. */
38475 #ifdef __STDC__
38476 # include <limits.h>
38477 #else
38478 # include <assert.h>
38479 #endif
38481 #undef $ac_func
38483 /* Override any gcc2 internal prototype to avoid an error. */
38484 #ifdef __cplusplus
38485 extern "C"
38487 #endif
38488 /* We use char because int might match the return type of a gcc2
38489 builtin and then its argument prototype would still apply. */
38490 char $ac_func ();
38491 /* The GNU C library defines this for functions which it implements
38492 to always fail with ENOSYS. Some functions are actually named
38493 something starting with __ and the normal name is an alias. */
38494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38495 choke me
38496 #else
38497 char (*f) () = $ac_func;
38498 #endif
38499 #ifdef __cplusplus
38501 #endif
38504 main ()
38506 return f != $ac_func;
38508 return 0;
38510 _ACEOF
38511 rm -f conftest.$ac_objext conftest$ac_exeext
38512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38513 (eval $ac_link) 2>conftest.er1
38514 ac_status=$?
38515 grep -v '^ *+' conftest.er1 >conftest.err
38516 rm -f conftest.er1
38517 cat conftest.err >&5
38518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38519 (exit $ac_status); } &&
38520 { ac_try='test -z "$ac_c_werror_flag"
38521 || test ! -s conftest.err'
38522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38523 (eval $ac_try) 2>&5
38524 ac_status=$?
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); }; } &&
38527 { ac_try='test -s conftest$ac_exeext'
38528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38529 (eval $ac_try) 2>&5
38530 ac_status=$?
38531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38532 (exit $ac_status); }; }; then
38533 eval "$as_ac_var=yes"
38534 else
38535 echo "$as_me: failed program was:" >&5
38536 sed 's/^/| /' conftest.$ac_ext >&5
38538 eval "$as_ac_var=no"
38540 rm -f conftest.err conftest.$ac_objext \
38541 conftest$ac_exeext conftest.$ac_ext
38543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38545 if test `eval echo '${'$as_ac_var'}'` = yes; then
38546 cat >>confdefs.h <<_ACEOF
38547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38548 _ACEOF
38551 done
38558 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38559 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38560 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38561 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38562 echo $ECHO_N "(cached) $ECHO_C" >&6
38563 else
38567 ac_ext=cc
38568 ac_cpp='$CXXCPP $CPPFLAGS'
38569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38573 cat >conftest.$ac_ext <<_ACEOF
38574 /* confdefs.h. */
38575 _ACEOF
38576 cat confdefs.h >>conftest.$ac_ext
38577 cat >>conftest.$ac_ext <<_ACEOF
38578 /* end confdefs.h. */
38579 #include <math.h>
38580 #ifdef HAVE_IEEEFP_H
38581 #include <ieeefp.h>
38582 #endif
38585 main ()
38587 log10f(0);
38589 return 0;
38591 _ACEOF
38592 rm -f conftest.$ac_objext
38593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38594 (eval $ac_compile) 2>conftest.er1
38595 ac_status=$?
38596 grep -v '^ *+' conftest.er1 >conftest.err
38597 rm -f conftest.er1
38598 cat conftest.err >&5
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); } &&
38601 { ac_try='test -z "$ac_cxx_werror_flag"
38602 || test ! -s conftest.err'
38603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38604 (eval $ac_try) 2>&5
38605 ac_status=$?
38606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38607 (exit $ac_status); }; } &&
38608 { ac_try='test -s conftest.$ac_objext'
38609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38610 (eval $ac_try) 2>&5
38611 ac_status=$?
38612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38613 (exit $ac_status); }; }; then
38614 glibcxx_cv_func_log10f_use=yes
38615 else
38616 echo "$as_me: failed program was:" >&5
38617 sed 's/^/| /' conftest.$ac_ext >&5
38619 glibcxx_cv_func_log10f_use=no
38621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38622 ac_ext=c
38623 ac_cpp='$CPP $CPPFLAGS'
38624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38632 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38633 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38635 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38637 for ac_func in log10f
38639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38640 echo "$as_me:$LINENO: checking for $ac_func" >&5
38641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38642 if eval "test \"\${$as_ac_var+set}\" = set"; then
38643 echo $ECHO_N "(cached) $ECHO_C" >&6
38644 else
38645 if test x$gcc_no_link = xyes; then
38646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38648 { (exit 1); exit 1; }; }
38650 cat >conftest.$ac_ext <<_ACEOF
38651 /* confdefs.h. */
38652 _ACEOF
38653 cat confdefs.h >>conftest.$ac_ext
38654 cat >>conftest.$ac_ext <<_ACEOF
38655 /* end confdefs.h. */
38656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38658 #define $ac_func innocuous_$ac_func
38660 /* System header to define __stub macros and hopefully few prototypes,
38661 which can conflict with char $ac_func (); below.
38662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38663 <limits.h> exists even on freestanding compilers. */
38665 #ifdef __STDC__
38666 # include <limits.h>
38667 #else
38668 # include <assert.h>
38669 #endif
38671 #undef $ac_func
38673 /* Override any gcc2 internal prototype to avoid an error. */
38674 #ifdef __cplusplus
38675 extern "C"
38677 #endif
38678 /* We use char because int might match the return type of a gcc2
38679 builtin and then its argument prototype would still apply. */
38680 char $ac_func ();
38681 /* The GNU C library defines this for functions which it implements
38682 to always fail with ENOSYS. Some functions are actually named
38683 something starting with __ and the normal name is an alias. */
38684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38685 choke me
38686 #else
38687 char (*f) () = $ac_func;
38688 #endif
38689 #ifdef __cplusplus
38691 #endif
38694 main ()
38696 return f != $ac_func;
38698 return 0;
38700 _ACEOF
38701 rm -f conftest.$ac_objext conftest$ac_exeext
38702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38703 (eval $ac_link) 2>conftest.er1
38704 ac_status=$?
38705 grep -v '^ *+' conftest.er1 >conftest.err
38706 rm -f conftest.er1
38707 cat conftest.err >&5
38708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38709 (exit $ac_status); } &&
38710 { ac_try='test -z "$ac_c_werror_flag"
38711 || test ! -s conftest.err'
38712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38713 (eval $ac_try) 2>&5
38714 ac_status=$?
38715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38716 (exit $ac_status); }; } &&
38717 { ac_try='test -s conftest$ac_exeext'
38718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38719 (eval $ac_try) 2>&5
38720 ac_status=$?
38721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38722 (exit $ac_status); }; }; then
38723 eval "$as_ac_var=yes"
38724 else
38725 echo "$as_me: failed program was:" >&5
38726 sed 's/^/| /' conftest.$ac_ext >&5
38728 eval "$as_ac_var=no"
38730 rm -f conftest.err conftest.$ac_objext \
38731 conftest$ac_exeext conftest.$ac_ext
38733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38735 if test `eval echo '${'$as_ac_var'}'` = yes; then
38736 cat >>confdefs.h <<_ACEOF
38737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38738 _ACEOF
38741 done
38743 else
38745 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38746 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38747 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38748 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38749 echo $ECHO_N "(cached) $ECHO_C" >&6
38750 else
38754 ac_ext=cc
38755 ac_cpp='$CXXCPP $CPPFLAGS'
38756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38760 cat >conftest.$ac_ext <<_ACEOF
38761 /* confdefs.h. */
38762 _ACEOF
38763 cat confdefs.h >>conftest.$ac_ext
38764 cat >>conftest.$ac_ext <<_ACEOF
38765 /* end confdefs.h. */
38766 #include <math.h>
38767 #ifdef HAVE_IEEEFP_H
38768 #include <ieeefp.h>
38769 #endif
38772 main ()
38774 _log10f(0);
38776 return 0;
38778 _ACEOF
38779 rm -f conftest.$ac_objext
38780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38781 (eval $ac_compile) 2>conftest.er1
38782 ac_status=$?
38783 grep -v '^ *+' conftest.er1 >conftest.err
38784 rm -f conftest.er1
38785 cat conftest.err >&5
38786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38787 (exit $ac_status); } &&
38788 { ac_try='test -z "$ac_cxx_werror_flag"
38789 || test ! -s conftest.err'
38790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38791 (eval $ac_try) 2>&5
38792 ac_status=$?
38793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38794 (exit $ac_status); }; } &&
38795 { ac_try='test -s conftest.$ac_objext'
38796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38797 (eval $ac_try) 2>&5
38798 ac_status=$?
38799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38800 (exit $ac_status); }; }; then
38801 glibcxx_cv_func__log10f_use=yes
38802 else
38803 echo "$as_me: failed program was:" >&5
38804 sed 's/^/| /' conftest.$ac_ext >&5
38806 glibcxx_cv_func__log10f_use=no
38808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38809 ac_ext=c
38810 ac_cpp='$CPP $CPPFLAGS'
38811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38819 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38820 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38822 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38824 for ac_func in _log10f
38826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38827 echo "$as_me:$LINENO: checking for $ac_func" >&5
38828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38829 if eval "test \"\${$as_ac_var+set}\" = set"; then
38830 echo $ECHO_N "(cached) $ECHO_C" >&6
38831 else
38832 if test x$gcc_no_link = xyes; then
38833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38835 { (exit 1); exit 1; }; }
38837 cat >conftest.$ac_ext <<_ACEOF
38838 /* confdefs.h. */
38839 _ACEOF
38840 cat confdefs.h >>conftest.$ac_ext
38841 cat >>conftest.$ac_ext <<_ACEOF
38842 /* end confdefs.h. */
38843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38845 #define $ac_func innocuous_$ac_func
38847 /* System header to define __stub macros and hopefully few prototypes,
38848 which can conflict with char $ac_func (); below.
38849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38850 <limits.h> exists even on freestanding compilers. */
38852 #ifdef __STDC__
38853 # include <limits.h>
38854 #else
38855 # include <assert.h>
38856 #endif
38858 #undef $ac_func
38860 /* Override any gcc2 internal prototype to avoid an error. */
38861 #ifdef __cplusplus
38862 extern "C"
38864 #endif
38865 /* We use char because int might match the return type of a gcc2
38866 builtin and then its argument prototype would still apply. */
38867 char $ac_func ();
38868 /* The GNU C library defines this for functions which it implements
38869 to always fail with ENOSYS. Some functions are actually named
38870 something starting with __ and the normal name is an alias. */
38871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38872 choke me
38873 #else
38874 char (*f) () = $ac_func;
38875 #endif
38876 #ifdef __cplusplus
38878 #endif
38881 main ()
38883 return f != $ac_func;
38885 return 0;
38887 _ACEOF
38888 rm -f conftest.$ac_objext conftest$ac_exeext
38889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38890 (eval $ac_link) 2>conftest.er1
38891 ac_status=$?
38892 grep -v '^ *+' conftest.er1 >conftest.err
38893 rm -f conftest.er1
38894 cat conftest.err >&5
38895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38896 (exit $ac_status); } &&
38897 { ac_try='test -z "$ac_c_werror_flag"
38898 || test ! -s conftest.err'
38899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38900 (eval $ac_try) 2>&5
38901 ac_status=$?
38902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38903 (exit $ac_status); }; } &&
38904 { ac_try='test -s conftest$ac_exeext'
38905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38906 (eval $ac_try) 2>&5
38907 ac_status=$?
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); }; }; then
38910 eval "$as_ac_var=yes"
38911 else
38912 echo "$as_me: failed program was:" >&5
38913 sed 's/^/| /' conftest.$ac_ext >&5
38915 eval "$as_ac_var=no"
38917 rm -f conftest.err conftest.$ac_objext \
38918 conftest$ac_exeext conftest.$ac_ext
38920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38922 if test `eval echo '${'$as_ac_var'}'` = yes; then
38923 cat >>confdefs.h <<_ACEOF
38924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38925 _ACEOF
38928 done
38935 echo "$as_me:$LINENO: checking for modff declaration" >&5
38936 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38937 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38938 if test "${glibcxx_cv_func_modff_use+set}" = set; then
38939 echo $ECHO_N "(cached) $ECHO_C" >&6
38940 else
38944 ac_ext=cc
38945 ac_cpp='$CXXCPP $CPPFLAGS'
38946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38950 cat >conftest.$ac_ext <<_ACEOF
38951 /* confdefs.h. */
38952 _ACEOF
38953 cat confdefs.h >>conftest.$ac_ext
38954 cat >>conftest.$ac_ext <<_ACEOF
38955 /* end confdefs.h. */
38956 #include <math.h>
38958 main ()
38960 modff(0, 0);
38962 return 0;
38964 _ACEOF
38965 rm -f conftest.$ac_objext
38966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38967 (eval $ac_compile) 2>conftest.er1
38968 ac_status=$?
38969 grep -v '^ *+' conftest.er1 >conftest.err
38970 rm -f conftest.er1
38971 cat conftest.err >&5
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); } &&
38974 { ac_try='test -z "$ac_cxx_werror_flag"
38975 || test ! -s conftest.err'
38976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38977 (eval $ac_try) 2>&5
38978 ac_status=$?
38979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38980 (exit $ac_status); }; } &&
38981 { ac_try='test -s conftest.$ac_objext'
38982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38983 (eval $ac_try) 2>&5
38984 ac_status=$?
38985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38986 (exit $ac_status); }; }; then
38987 glibcxx_cv_func_modff_use=yes
38988 else
38989 echo "$as_me: failed program was:" >&5
38990 sed 's/^/| /' conftest.$ac_ext >&5
38992 glibcxx_cv_func_modff_use=no
38994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38995 ac_ext=c
38996 ac_cpp='$CPP $CPPFLAGS'
38997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39006 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39008 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39010 for ac_func in modff
39012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39013 echo "$as_me:$LINENO: checking for $ac_func" >&5
39014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39015 if eval "test \"\${$as_ac_var+set}\" = set"; then
39016 echo $ECHO_N "(cached) $ECHO_C" >&6
39017 else
39018 if test x$gcc_no_link = xyes; then
39019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39021 { (exit 1); exit 1; }; }
39023 cat >conftest.$ac_ext <<_ACEOF
39024 /* confdefs.h. */
39025 _ACEOF
39026 cat confdefs.h >>conftest.$ac_ext
39027 cat >>conftest.$ac_ext <<_ACEOF
39028 /* end confdefs.h. */
39029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39031 #define $ac_func innocuous_$ac_func
39033 /* System header to define __stub macros and hopefully few prototypes,
39034 which can conflict with char $ac_func (); below.
39035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39036 <limits.h> exists even on freestanding compilers. */
39038 #ifdef __STDC__
39039 # include <limits.h>
39040 #else
39041 # include <assert.h>
39042 #endif
39044 #undef $ac_func
39046 /* Override any gcc2 internal prototype to avoid an error. */
39047 #ifdef __cplusplus
39048 extern "C"
39050 #endif
39051 /* We use char because int might match the return type of a gcc2
39052 builtin and then its argument prototype would still apply. */
39053 char $ac_func ();
39054 /* The GNU C library defines this for functions which it implements
39055 to always fail with ENOSYS. Some functions are actually named
39056 something starting with __ and the normal name is an alias. */
39057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39058 choke me
39059 #else
39060 char (*f) () = $ac_func;
39061 #endif
39062 #ifdef __cplusplus
39064 #endif
39067 main ()
39069 return f != $ac_func;
39071 return 0;
39073 _ACEOF
39074 rm -f conftest.$ac_objext conftest$ac_exeext
39075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39076 (eval $ac_link) 2>conftest.er1
39077 ac_status=$?
39078 grep -v '^ *+' conftest.er1 >conftest.err
39079 rm -f conftest.er1
39080 cat conftest.err >&5
39081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39082 (exit $ac_status); } &&
39083 { ac_try='test -z "$ac_c_werror_flag"
39084 || test ! -s conftest.err'
39085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39086 (eval $ac_try) 2>&5
39087 ac_status=$?
39088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39089 (exit $ac_status); }; } &&
39090 { ac_try='test -s conftest$ac_exeext'
39091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39092 (eval $ac_try) 2>&5
39093 ac_status=$?
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); }; }; then
39096 eval "$as_ac_var=yes"
39097 else
39098 echo "$as_me: failed program was:" >&5
39099 sed 's/^/| /' conftest.$ac_ext >&5
39101 eval "$as_ac_var=no"
39103 rm -f conftest.err conftest.$ac_objext \
39104 conftest$ac_exeext conftest.$ac_ext
39106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39108 if test `eval echo '${'$as_ac_var'}'` = yes; then
39109 cat >>confdefs.h <<_ACEOF
39110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39111 _ACEOF
39114 done
39116 else
39118 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39119 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39120 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39121 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39122 echo $ECHO_N "(cached) $ECHO_C" >&6
39123 else
39127 ac_ext=cc
39128 ac_cpp='$CXXCPP $CPPFLAGS'
39129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39133 cat >conftest.$ac_ext <<_ACEOF
39134 /* confdefs.h. */
39135 _ACEOF
39136 cat confdefs.h >>conftest.$ac_ext
39137 cat >>conftest.$ac_ext <<_ACEOF
39138 /* end confdefs.h. */
39139 #include <math.h>
39141 main ()
39143 _modff(0, 0);
39145 return 0;
39147 _ACEOF
39148 rm -f conftest.$ac_objext
39149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39150 (eval $ac_compile) 2>conftest.er1
39151 ac_status=$?
39152 grep -v '^ *+' conftest.er1 >conftest.err
39153 rm -f conftest.er1
39154 cat conftest.err >&5
39155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39156 (exit $ac_status); } &&
39157 { ac_try='test -z "$ac_cxx_werror_flag"
39158 || test ! -s conftest.err'
39159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39160 (eval $ac_try) 2>&5
39161 ac_status=$?
39162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39163 (exit $ac_status); }; } &&
39164 { ac_try='test -s conftest.$ac_objext'
39165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39166 (eval $ac_try) 2>&5
39167 ac_status=$?
39168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39169 (exit $ac_status); }; }; then
39170 glibcxx_cv_func__modff_use=yes
39171 else
39172 echo "$as_me: failed program was:" >&5
39173 sed 's/^/| /' conftest.$ac_ext >&5
39175 glibcxx_cv_func__modff_use=no
39177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39178 ac_ext=c
39179 ac_cpp='$CPP $CPPFLAGS'
39180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39189 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39191 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39193 for ac_func in _modff
39195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39196 echo "$as_me:$LINENO: checking for $ac_func" >&5
39197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39198 if eval "test \"\${$as_ac_var+set}\" = set"; then
39199 echo $ECHO_N "(cached) $ECHO_C" >&6
39200 else
39201 if test x$gcc_no_link = xyes; then
39202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39204 { (exit 1); exit 1; }; }
39206 cat >conftest.$ac_ext <<_ACEOF
39207 /* confdefs.h. */
39208 _ACEOF
39209 cat confdefs.h >>conftest.$ac_ext
39210 cat >>conftest.$ac_ext <<_ACEOF
39211 /* end confdefs.h. */
39212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39214 #define $ac_func innocuous_$ac_func
39216 /* System header to define __stub macros and hopefully few prototypes,
39217 which can conflict with char $ac_func (); below.
39218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39219 <limits.h> exists even on freestanding compilers. */
39221 #ifdef __STDC__
39222 # include <limits.h>
39223 #else
39224 # include <assert.h>
39225 #endif
39227 #undef $ac_func
39229 /* Override any gcc2 internal prototype to avoid an error. */
39230 #ifdef __cplusplus
39231 extern "C"
39233 #endif
39234 /* We use char because int might match the return type of a gcc2
39235 builtin and then its argument prototype would still apply. */
39236 char $ac_func ();
39237 /* The GNU C library defines this for functions which it implements
39238 to always fail with ENOSYS. Some functions are actually named
39239 something starting with __ and the normal name is an alias. */
39240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39241 choke me
39242 #else
39243 char (*f) () = $ac_func;
39244 #endif
39245 #ifdef __cplusplus
39247 #endif
39250 main ()
39252 return f != $ac_func;
39254 return 0;
39256 _ACEOF
39257 rm -f conftest.$ac_objext conftest$ac_exeext
39258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39259 (eval $ac_link) 2>conftest.er1
39260 ac_status=$?
39261 grep -v '^ *+' conftest.er1 >conftest.err
39262 rm -f conftest.er1
39263 cat conftest.err >&5
39264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39265 (exit $ac_status); } &&
39266 { ac_try='test -z "$ac_c_werror_flag"
39267 || test ! -s conftest.err'
39268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39269 (eval $ac_try) 2>&5
39270 ac_status=$?
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); }; } &&
39273 { ac_try='test -s conftest$ac_exeext'
39274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39275 (eval $ac_try) 2>&5
39276 ac_status=$?
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); }; }; then
39279 eval "$as_ac_var=yes"
39280 else
39281 echo "$as_me: failed program was:" >&5
39282 sed 's/^/| /' conftest.$ac_ext >&5
39284 eval "$as_ac_var=no"
39286 rm -f conftest.err conftest.$ac_objext \
39287 conftest$ac_exeext conftest.$ac_ext
39289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39291 if test `eval echo '${'$as_ac_var'}'` = yes; then
39292 cat >>confdefs.h <<_ACEOF
39293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39294 _ACEOF
39297 done
39304 echo "$as_me:$LINENO: checking for powf declaration" >&5
39305 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39306 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39307 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39308 echo $ECHO_N "(cached) $ECHO_C" >&6
39309 else
39313 ac_ext=cc
39314 ac_cpp='$CXXCPP $CPPFLAGS'
39315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39319 cat >conftest.$ac_ext <<_ACEOF
39320 /* confdefs.h. */
39321 _ACEOF
39322 cat confdefs.h >>conftest.$ac_ext
39323 cat >>conftest.$ac_ext <<_ACEOF
39324 /* end confdefs.h. */
39325 #include <math.h>
39327 main ()
39329 powf(0, 0);
39331 return 0;
39333 _ACEOF
39334 rm -f conftest.$ac_objext
39335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39336 (eval $ac_compile) 2>conftest.er1
39337 ac_status=$?
39338 grep -v '^ *+' conftest.er1 >conftest.err
39339 rm -f conftest.er1
39340 cat conftest.err >&5
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); } &&
39343 { ac_try='test -z "$ac_cxx_werror_flag"
39344 || test ! -s conftest.err'
39345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39346 (eval $ac_try) 2>&5
39347 ac_status=$?
39348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39349 (exit $ac_status); }; } &&
39350 { ac_try='test -s conftest.$ac_objext'
39351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39352 (eval $ac_try) 2>&5
39353 ac_status=$?
39354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39355 (exit $ac_status); }; }; then
39356 glibcxx_cv_func_powf_use=yes
39357 else
39358 echo "$as_me: failed program was:" >&5
39359 sed 's/^/| /' conftest.$ac_ext >&5
39361 glibcxx_cv_func_powf_use=no
39363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39364 ac_ext=c
39365 ac_cpp='$CPP $CPPFLAGS'
39366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39375 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39377 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39379 for ac_func in powf
39381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39382 echo "$as_me:$LINENO: checking for $ac_func" >&5
39383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39384 if eval "test \"\${$as_ac_var+set}\" = set"; then
39385 echo $ECHO_N "(cached) $ECHO_C" >&6
39386 else
39387 if test x$gcc_no_link = xyes; then
39388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39390 { (exit 1); exit 1; }; }
39392 cat >conftest.$ac_ext <<_ACEOF
39393 /* confdefs.h. */
39394 _ACEOF
39395 cat confdefs.h >>conftest.$ac_ext
39396 cat >>conftest.$ac_ext <<_ACEOF
39397 /* end confdefs.h. */
39398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39400 #define $ac_func innocuous_$ac_func
39402 /* System header to define __stub macros and hopefully few prototypes,
39403 which can conflict with char $ac_func (); below.
39404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39405 <limits.h> exists even on freestanding compilers. */
39407 #ifdef __STDC__
39408 # include <limits.h>
39409 #else
39410 # include <assert.h>
39411 #endif
39413 #undef $ac_func
39415 /* Override any gcc2 internal prototype to avoid an error. */
39416 #ifdef __cplusplus
39417 extern "C"
39419 #endif
39420 /* We use char because int might match the return type of a gcc2
39421 builtin and then its argument prototype would still apply. */
39422 char $ac_func ();
39423 /* The GNU C library defines this for functions which it implements
39424 to always fail with ENOSYS. Some functions are actually named
39425 something starting with __ and the normal name is an alias. */
39426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39427 choke me
39428 #else
39429 char (*f) () = $ac_func;
39430 #endif
39431 #ifdef __cplusplus
39433 #endif
39436 main ()
39438 return f != $ac_func;
39440 return 0;
39442 _ACEOF
39443 rm -f conftest.$ac_objext conftest$ac_exeext
39444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39445 (eval $ac_link) 2>conftest.er1
39446 ac_status=$?
39447 grep -v '^ *+' conftest.er1 >conftest.err
39448 rm -f conftest.er1
39449 cat conftest.err >&5
39450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39451 (exit $ac_status); } &&
39452 { ac_try='test -z "$ac_c_werror_flag"
39453 || test ! -s conftest.err'
39454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39455 (eval $ac_try) 2>&5
39456 ac_status=$?
39457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39458 (exit $ac_status); }; } &&
39459 { ac_try='test -s conftest$ac_exeext'
39460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39461 (eval $ac_try) 2>&5
39462 ac_status=$?
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); }; }; then
39465 eval "$as_ac_var=yes"
39466 else
39467 echo "$as_me: failed program was:" >&5
39468 sed 's/^/| /' conftest.$ac_ext >&5
39470 eval "$as_ac_var=no"
39472 rm -f conftest.err conftest.$ac_objext \
39473 conftest$ac_exeext conftest.$ac_ext
39475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39477 if test `eval echo '${'$as_ac_var'}'` = yes; then
39478 cat >>confdefs.h <<_ACEOF
39479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39480 _ACEOF
39483 done
39485 else
39487 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39488 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39489 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39490 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39491 echo $ECHO_N "(cached) $ECHO_C" >&6
39492 else
39496 ac_ext=cc
39497 ac_cpp='$CXXCPP $CPPFLAGS'
39498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39502 cat >conftest.$ac_ext <<_ACEOF
39503 /* confdefs.h. */
39504 _ACEOF
39505 cat confdefs.h >>conftest.$ac_ext
39506 cat >>conftest.$ac_ext <<_ACEOF
39507 /* end confdefs.h. */
39508 #include <math.h>
39510 main ()
39512 _powf(0, 0);
39514 return 0;
39516 _ACEOF
39517 rm -f conftest.$ac_objext
39518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39519 (eval $ac_compile) 2>conftest.er1
39520 ac_status=$?
39521 grep -v '^ *+' conftest.er1 >conftest.err
39522 rm -f conftest.er1
39523 cat conftest.err >&5
39524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39525 (exit $ac_status); } &&
39526 { ac_try='test -z "$ac_cxx_werror_flag"
39527 || test ! -s conftest.err'
39528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39529 (eval $ac_try) 2>&5
39530 ac_status=$?
39531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39532 (exit $ac_status); }; } &&
39533 { ac_try='test -s conftest.$ac_objext'
39534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39535 (eval $ac_try) 2>&5
39536 ac_status=$?
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); }; }; then
39539 glibcxx_cv_func__powf_use=yes
39540 else
39541 echo "$as_me: failed program was:" >&5
39542 sed 's/^/| /' conftest.$ac_ext >&5
39544 glibcxx_cv_func__powf_use=no
39546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39547 ac_ext=c
39548 ac_cpp='$CPP $CPPFLAGS'
39549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39558 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39560 if test x$glibcxx_cv_func__powf_use = x"yes"; then
39562 for ac_func in _powf
39564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39565 echo "$as_me:$LINENO: checking for $ac_func" >&5
39566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39567 if eval "test \"\${$as_ac_var+set}\" = set"; then
39568 echo $ECHO_N "(cached) $ECHO_C" >&6
39569 else
39570 if test x$gcc_no_link = xyes; then
39571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39573 { (exit 1); exit 1; }; }
39575 cat >conftest.$ac_ext <<_ACEOF
39576 /* confdefs.h. */
39577 _ACEOF
39578 cat confdefs.h >>conftest.$ac_ext
39579 cat >>conftest.$ac_ext <<_ACEOF
39580 /* end confdefs.h. */
39581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39583 #define $ac_func innocuous_$ac_func
39585 /* System header to define __stub macros and hopefully few prototypes,
39586 which can conflict with char $ac_func (); below.
39587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39588 <limits.h> exists even on freestanding compilers. */
39590 #ifdef __STDC__
39591 # include <limits.h>
39592 #else
39593 # include <assert.h>
39594 #endif
39596 #undef $ac_func
39598 /* Override any gcc2 internal prototype to avoid an error. */
39599 #ifdef __cplusplus
39600 extern "C"
39602 #endif
39603 /* We use char because int might match the return type of a gcc2
39604 builtin and then its argument prototype would still apply. */
39605 char $ac_func ();
39606 /* The GNU C library defines this for functions which it implements
39607 to always fail with ENOSYS. Some functions are actually named
39608 something starting with __ and the normal name is an alias. */
39609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39610 choke me
39611 #else
39612 char (*f) () = $ac_func;
39613 #endif
39614 #ifdef __cplusplus
39616 #endif
39619 main ()
39621 return f != $ac_func;
39623 return 0;
39625 _ACEOF
39626 rm -f conftest.$ac_objext conftest$ac_exeext
39627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39628 (eval $ac_link) 2>conftest.er1
39629 ac_status=$?
39630 grep -v '^ *+' conftest.er1 >conftest.err
39631 rm -f conftest.er1
39632 cat conftest.err >&5
39633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39634 (exit $ac_status); } &&
39635 { ac_try='test -z "$ac_c_werror_flag"
39636 || test ! -s conftest.err'
39637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39638 (eval $ac_try) 2>&5
39639 ac_status=$?
39640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39641 (exit $ac_status); }; } &&
39642 { ac_try='test -s conftest$ac_exeext'
39643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39644 (eval $ac_try) 2>&5
39645 ac_status=$?
39646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39647 (exit $ac_status); }; }; then
39648 eval "$as_ac_var=yes"
39649 else
39650 echo "$as_me: failed program was:" >&5
39651 sed 's/^/| /' conftest.$ac_ext >&5
39653 eval "$as_ac_var=no"
39655 rm -f conftest.err conftest.$ac_objext \
39656 conftest$ac_exeext conftest.$ac_ext
39658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39660 if test `eval echo '${'$as_ac_var'}'` = yes; then
39661 cat >>confdefs.h <<_ACEOF
39662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39663 _ACEOF
39666 done
39673 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39674 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39675 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39676 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39677 echo $ECHO_N "(cached) $ECHO_C" >&6
39678 else
39682 ac_ext=cc
39683 ac_cpp='$CXXCPP $CPPFLAGS'
39684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39688 cat >conftest.$ac_ext <<_ACEOF
39689 /* confdefs.h. */
39690 _ACEOF
39691 cat confdefs.h >>conftest.$ac_ext
39692 cat >>conftest.$ac_ext <<_ACEOF
39693 /* end confdefs.h. */
39694 #include <math.h>
39695 #ifdef HAVE_IEEEFP_H
39696 #include <ieeefp.h>
39697 #endif
39700 main ()
39702 sqrtf(0);
39704 return 0;
39706 _ACEOF
39707 rm -f conftest.$ac_objext
39708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39709 (eval $ac_compile) 2>conftest.er1
39710 ac_status=$?
39711 grep -v '^ *+' conftest.er1 >conftest.err
39712 rm -f conftest.er1
39713 cat conftest.err >&5
39714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39715 (exit $ac_status); } &&
39716 { ac_try='test -z "$ac_cxx_werror_flag"
39717 || test ! -s conftest.err'
39718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39719 (eval $ac_try) 2>&5
39720 ac_status=$?
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); }; } &&
39723 { ac_try='test -s conftest.$ac_objext'
39724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39725 (eval $ac_try) 2>&5
39726 ac_status=$?
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); }; }; then
39729 glibcxx_cv_func_sqrtf_use=yes
39730 else
39731 echo "$as_me: failed program was:" >&5
39732 sed 's/^/| /' conftest.$ac_ext >&5
39734 glibcxx_cv_func_sqrtf_use=no
39736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39737 ac_ext=c
39738 ac_cpp='$CPP $CPPFLAGS'
39739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39748 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39750 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39752 for ac_func in sqrtf
39754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39755 echo "$as_me:$LINENO: checking for $ac_func" >&5
39756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39757 if eval "test \"\${$as_ac_var+set}\" = set"; then
39758 echo $ECHO_N "(cached) $ECHO_C" >&6
39759 else
39760 if test x$gcc_no_link = xyes; then
39761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39763 { (exit 1); exit 1; }; }
39765 cat >conftest.$ac_ext <<_ACEOF
39766 /* confdefs.h. */
39767 _ACEOF
39768 cat confdefs.h >>conftest.$ac_ext
39769 cat >>conftest.$ac_ext <<_ACEOF
39770 /* end confdefs.h. */
39771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39773 #define $ac_func innocuous_$ac_func
39775 /* System header to define __stub macros and hopefully few prototypes,
39776 which can conflict with char $ac_func (); below.
39777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39778 <limits.h> exists even on freestanding compilers. */
39780 #ifdef __STDC__
39781 # include <limits.h>
39782 #else
39783 # include <assert.h>
39784 #endif
39786 #undef $ac_func
39788 /* Override any gcc2 internal prototype to avoid an error. */
39789 #ifdef __cplusplus
39790 extern "C"
39792 #endif
39793 /* We use char because int might match the return type of a gcc2
39794 builtin and then its argument prototype would still apply. */
39795 char $ac_func ();
39796 /* The GNU C library defines this for functions which it implements
39797 to always fail with ENOSYS. Some functions are actually named
39798 something starting with __ and the normal name is an alias. */
39799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39800 choke me
39801 #else
39802 char (*f) () = $ac_func;
39803 #endif
39804 #ifdef __cplusplus
39806 #endif
39809 main ()
39811 return f != $ac_func;
39813 return 0;
39815 _ACEOF
39816 rm -f conftest.$ac_objext conftest$ac_exeext
39817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39818 (eval $ac_link) 2>conftest.er1
39819 ac_status=$?
39820 grep -v '^ *+' conftest.er1 >conftest.err
39821 rm -f conftest.er1
39822 cat conftest.err >&5
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); } &&
39825 { ac_try='test -z "$ac_c_werror_flag"
39826 || test ! -s conftest.err'
39827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39828 (eval $ac_try) 2>&5
39829 ac_status=$?
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); }; } &&
39832 { ac_try='test -s conftest$ac_exeext'
39833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39834 (eval $ac_try) 2>&5
39835 ac_status=$?
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); }; }; then
39838 eval "$as_ac_var=yes"
39839 else
39840 echo "$as_me: failed program was:" >&5
39841 sed 's/^/| /' conftest.$ac_ext >&5
39843 eval "$as_ac_var=no"
39845 rm -f conftest.err conftest.$ac_objext \
39846 conftest$ac_exeext conftest.$ac_ext
39848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39850 if test `eval echo '${'$as_ac_var'}'` = yes; then
39851 cat >>confdefs.h <<_ACEOF
39852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39853 _ACEOF
39856 done
39858 else
39860 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39861 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39862 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39863 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39864 echo $ECHO_N "(cached) $ECHO_C" >&6
39865 else
39869 ac_ext=cc
39870 ac_cpp='$CXXCPP $CPPFLAGS'
39871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39875 cat >conftest.$ac_ext <<_ACEOF
39876 /* confdefs.h. */
39877 _ACEOF
39878 cat confdefs.h >>conftest.$ac_ext
39879 cat >>conftest.$ac_ext <<_ACEOF
39880 /* end confdefs.h. */
39881 #include <math.h>
39882 #ifdef HAVE_IEEEFP_H
39883 #include <ieeefp.h>
39884 #endif
39887 main ()
39889 _sqrtf(0);
39891 return 0;
39893 _ACEOF
39894 rm -f conftest.$ac_objext
39895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39896 (eval $ac_compile) 2>conftest.er1
39897 ac_status=$?
39898 grep -v '^ *+' conftest.er1 >conftest.err
39899 rm -f conftest.er1
39900 cat conftest.err >&5
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); } &&
39903 { ac_try='test -z "$ac_cxx_werror_flag"
39904 || test ! -s conftest.err'
39905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906 (eval $ac_try) 2>&5
39907 ac_status=$?
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); }; } &&
39910 { ac_try='test -s conftest.$ac_objext'
39911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39912 (eval $ac_try) 2>&5
39913 ac_status=$?
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); }; }; then
39916 glibcxx_cv_func__sqrtf_use=yes
39917 else
39918 echo "$as_me: failed program was:" >&5
39919 sed 's/^/| /' conftest.$ac_ext >&5
39921 glibcxx_cv_func__sqrtf_use=no
39923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39924 ac_ext=c
39925 ac_cpp='$CPP $CPPFLAGS'
39926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39935 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39937 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39939 for ac_func in _sqrtf
39941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39942 echo "$as_me:$LINENO: checking for $ac_func" >&5
39943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39944 if eval "test \"\${$as_ac_var+set}\" = set"; then
39945 echo $ECHO_N "(cached) $ECHO_C" >&6
39946 else
39947 if test x$gcc_no_link = xyes; then
39948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39950 { (exit 1); exit 1; }; }
39952 cat >conftest.$ac_ext <<_ACEOF
39953 /* confdefs.h. */
39954 _ACEOF
39955 cat confdefs.h >>conftest.$ac_ext
39956 cat >>conftest.$ac_ext <<_ACEOF
39957 /* end confdefs.h. */
39958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39960 #define $ac_func innocuous_$ac_func
39962 /* System header to define __stub macros and hopefully few prototypes,
39963 which can conflict with char $ac_func (); below.
39964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39965 <limits.h> exists even on freestanding compilers. */
39967 #ifdef __STDC__
39968 # include <limits.h>
39969 #else
39970 # include <assert.h>
39971 #endif
39973 #undef $ac_func
39975 /* Override any gcc2 internal prototype to avoid an error. */
39976 #ifdef __cplusplus
39977 extern "C"
39979 #endif
39980 /* We use char because int might match the return type of a gcc2
39981 builtin and then its argument prototype would still apply. */
39982 char $ac_func ();
39983 /* The GNU C library defines this for functions which it implements
39984 to always fail with ENOSYS. Some functions are actually named
39985 something starting with __ and the normal name is an alias. */
39986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39987 choke me
39988 #else
39989 char (*f) () = $ac_func;
39990 #endif
39991 #ifdef __cplusplus
39993 #endif
39996 main ()
39998 return f != $ac_func;
40000 return 0;
40002 _ACEOF
40003 rm -f conftest.$ac_objext conftest$ac_exeext
40004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40005 (eval $ac_link) 2>conftest.er1
40006 ac_status=$?
40007 grep -v '^ *+' conftest.er1 >conftest.err
40008 rm -f conftest.er1
40009 cat conftest.err >&5
40010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40011 (exit $ac_status); } &&
40012 { ac_try='test -z "$ac_c_werror_flag"
40013 || test ! -s conftest.err'
40014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40015 (eval $ac_try) 2>&5
40016 ac_status=$?
40017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40018 (exit $ac_status); }; } &&
40019 { ac_try='test -s conftest$ac_exeext'
40020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40021 (eval $ac_try) 2>&5
40022 ac_status=$?
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); }; }; then
40025 eval "$as_ac_var=yes"
40026 else
40027 echo "$as_me: failed program was:" >&5
40028 sed 's/^/| /' conftest.$ac_ext >&5
40030 eval "$as_ac_var=no"
40032 rm -f conftest.err conftest.$ac_objext \
40033 conftest$ac_exeext conftest.$ac_ext
40035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40037 if test `eval echo '${'$as_ac_var'}'` = yes; then
40038 cat >>confdefs.h <<_ACEOF
40039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40040 _ACEOF
40043 done
40050 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40051 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40052 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40053 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40054 echo $ECHO_N "(cached) $ECHO_C" >&6
40055 else
40059 ac_ext=cc
40060 ac_cpp='$CXXCPP $CPPFLAGS'
40061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40065 cat >conftest.$ac_ext <<_ACEOF
40066 /* confdefs.h. */
40067 _ACEOF
40068 cat confdefs.h >>conftest.$ac_ext
40069 cat >>conftest.$ac_ext <<_ACEOF
40070 /* end confdefs.h. */
40071 #include <math.h>
40073 main ()
40075 sincosf(0, 0, 0);
40077 return 0;
40079 _ACEOF
40080 rm -f conftest.$ac_objext
40081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40082 (eval $ac_compile) 2>conftest.er1
40083 ac_status=$?
40084 grep -v '^ *+' conftest.er1 >conftest.err
40085 rm -f conftest.er1
40086 cat conftest.err >&5
40087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40088 (exit $ac_status); } &&
40089 { ac_try='test -z "$ac_cxx_werror_flag"
40090 || test ! -s conftest.err'
40091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40092 (eval $ac_try) 2>&5
40093 ac_status=$?
40094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40095 (exit $ac_status); }; } &&
40096 { ac_try='test -s conftest.$ac_objext'
40097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40098 (eval $ac_try) 2>&5
40099 ac_status=$?
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); }; }; then
40102 glibcxx_cv_func_sincosf_use=yes
40103 else
40104 echo "$as_me: failed program was:" >&5
40105 sed 's/^/| /' conftest.$ac_ext >&5
40107 glibcxx_cv_func_sincosf_use=no
40109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40110 ac_ext=c
40111 ac_cpp='$CPP $CPPFLAGS'
40112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40121 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40123 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40125 for ac_func in sincosf
40127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40128 echo "$as_me:$LINENO: checking for $ac_func" >&5
40129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40130 if eval "test \"\${$as_ac_var+set}\" = set"; then
40131 echo $ECHO_N "(cached) $ECHO_C" >&6
40132 else
40133 if test x$gcc_no_link = xyes; then
40134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40136 { (exit 1); exit 1; }; }
40138 cat >conftest.$ac_ext <<_ACEOF
40139 /* confdefs.h. */
40140 _ACEOF
40141 cat confdefs.h >>conftest.$ac_ext
40142 cat >>conftest.$ac_ext <<_ACEOF
40143 /* end confdefs.h. */
40144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40146 #define $ac_func innocuous_$ac_func
40148 /* System header to define __stub macros and hopefully few prototypes,
40149 which can conflict with char $ac_func (); below.
40150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40151 <limits.h> exists even on freestanding compilers. */
40153 #ifdef __STDC__
40154 # include <limits.h>
40155 #else
40156 # include <assert.h>
40157 #endif
40159 #undef $ac_func
40161 /* Override any gcc2 internal prototype to avoid an error. */
40162 #ifdef __cplusplus
40163 extern "C"
40165 #endif
40166 /* We use char because int might match the return type of a gcc2
40167 builtin and then its argument prototype would still apply. */
40168 char $ac_func ();
40169 /* The GNU C library defines this for functions which it implements
40170 to always fail with ENOSYS. Some functions are actually named
40171 something starting with __ and the normal name is an alias. */
40172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40173 choke me
40174 #else
40175 char (*f) () = $ac_func;
40176 #endif
40177 #ifdef __cplusplus
40179 #endif
40182 main ()
40184 return f != $ac_func;
40186 return 0;
40188 _ACEOF
40189 rm -f conftest.$ac_objext conftest$ac_exeext
40190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40191 (eval $ac_link) 2>conftest.er1
40192 ac_status=$?
40193 grep -v '^ *+' conftest.er1 >conftest.err
40194 rm -f conftest.er1
40195 cat conftest.err >&5
40196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40197 (exit $ac_status); } &&
40198 { ac_try='test -z "$ac_c_werror_flag"
40199 || test ! -s conftest.err'
40200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40201 (eval $ac_try) 2>&5
40202 ac_status=$?
40203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40204 (exit $ac_status); }; } &&
40205 { ac_try='test -s conftest$ac_exeext'
40206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40207 (eval $ac_try) 2>&5
40208 ac_status=$?
40209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40210 (exit $ac_status); }; }; then
40211 eval "$as_ac_var=yes"
40212 else
40213 echo "$as_me: failed program was:" >&5
40214 sed 's/^/| /' conftest.$ac_ext >&5
40216 eval "$as_ac_var=no"
40218 rm -f conftest.err conftest.$ac_objext \
40219 conftest$ac_exeext conftest.$ac_ext
40221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40223 if test `eval echo '${'$as_ac_var'}'` = yes; then
40224 cat >>confdefs.h <<_ACEOF
40225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40226 _ACEOF
40229 done
40231 else
40233 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40234 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40235 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40236 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40237 echo $ECHO_N "(cached) $ECHO_C" >&6
40238 else
40242 ac_ext=cc
40243 ac_cpp='$CXXCPP $CPPFLAGS'
40244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40248 cat >conftest.$ac_ext <<_ACEOF
40249 /* confdefs.h. */
40250 _ACEOF
40251 cat confdefs.h >>conftest.$ac_ext
40252 cat >>conftest.$ac_ext <<_ACEOF
40253 /* end confdefs.h. */
40254 #include <math.h>
40256 main ()
40258 _sincosf(0, 0, 0);
40260 return 0;
40262 _ACEOF
40263 rm -f conftest.$ac_objext
40264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40265 (eval $ac_compile) 2>conftest.er1
40266 ac_status=$?
40267 grep -v '^ *+' conftest.er1 >conftest.err
40268 rm -f conftest.er1
40269 cat conftest.err >&5
40270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40271 (exit $ac_status); } &&
40272 { ac_try='test -z "$ac_cxx_werror_flag"
40273 || test ! -s conftest.err'
40274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40275 (eval $ac_try) 2>&5
40276 ac_status=$?
40277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40278 (exit $ac_status); }; } &&
40279 { ac_try='test -s conftest.$ac_objext'
40280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40281 (eval $ac_try) 2>&5
40282 ac_status=$?
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); }; }; then
40285 glibcxx_cv_func__sincosf_use=yes
40286 else
40287 echo "$as_me: failed program was:" >&5
40288 sed 's/^/| /' conftest.$ac_ext >&5
40290 glibcxx_cv_func__sincosf_use=no
40292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40293 ac_ext=c
40294 ac_cpp='$CPP $CPPFLAGS'
40295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40304 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40306 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40308 for ac_func in _sincosf
40310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40311 echo "$as_me:$LINENO: checking for $ac_func" >&5
40312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40313 if eval "test \"\${$as_ac_var+set}\" = set"; then
40314 echo $ECHO_N "(cached) $ECHO_C" >&6
40315 else
40316 if test x$gcc_no_link = xyes; then
40317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40319 { (exit 1); exit 1; }; }
40321 cat >conftest.$ac_ext <<_ACEOF
40322 /* confdefs.h. */
40323 _ACEOF
40324 cat confdefs.h >>conftest.$ac_ext
40325 cat >>conftest.$ac_ext <<_ACEOF
40326 /* end confdefs.h. */
40327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40329 #define $ac_func innocuous_$ac_func
40331 /* System header to define __stub macros and hopefully few prototypes,
40332 which can conflict with char $ac_func (); below.
40333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40334 <limits.h> exists even on freestanding compilers. */
40336 #ifdef __STDC__
40337 # include <limits.h>
40338 #else
40339 # include <assert.h>
40340 #endif
40342 #undef $ac_func
40344 /* Override any gcc2 internal prototype to avoid an error. */
40345 #ifdef __cplusplus
40346 extern "C"
40348 #endif
40349 /* We use char because int might match the return type of a gcc2
40350 builtin and then its argument prototype would still apply. */
40351 char $ac_func ();
40352 /* The GNU C library defines this for functions which it implements
40353 to always fail with ENOSYS. Some functions are actually named
40354 something starting with __ and the normal name is an alias. */
40355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40356 choke me
40357 #else
40358 char (*f) () = $ac_func;
40359 #endif
40360 #ifdef __cplusplus
40362 #endif
40365 main ()
40367 return f != $ac_func;
40369 return 0;
40371 _ACEOF
40372 rm -f conftest.$ac_objext conftest$ac_exeext
40373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40374 (eval $ac_link) 2>conftest.er1
40375 ac_status=$?
40376 grep -v '^ *+' conftest.er1 >conftest.err
40377 rm -f conftest.er1
40378 cat conftest.err >&5
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); } &&
40381 { ac_try='test -z "$ac_c_werror_flag"
40382 || test ! -s conftest.err'
40383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40384 (eval $ac_try) 2>&5
40385 ac_status=$?
40386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40387 (exit $ac_status); }; } &&
40388 { ac_try='test -s conftest$ac_exeext'
40389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40390 (eval $ac_try) 2>&5
40391 ac_status=$?
40392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40393 (exit $ac_status); }; }; then
40394 eval "$as_ac_var=yes"
40395 else
40396 echo "$as_me: failed program was:" >&5
40397 sed 's/^/| /' conftest.$ac_ext >&5
40399 eval "$as_ac_var=no"
40401 rm -f conftest.err conftest.$ac_objext \
40402 conftest$ac_exeext conftest.$ac_ext
40404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40406 if test `eval echo '${'$as_ac_var'}'` = yes; then
40407 cat >>confdefs.h <<_ACEOF
40408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40409 _ACEOF
40412 done
40419 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40420 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40421 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40422 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40423 echo $ECHO_N "(cached) $ECHO_C" >&6
40424 else
40428 ac_ext=cc
40429 ac_cpp='$CXXCPP $CPPFLAGS'
40430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40434 cat >conftest.$ac_ext <<_ACEOF
40435 /* confdefs.h. */
40436 _ACEOF
40437 cat confdefs.h >>conftest.$ac_ext
40438 cat >>conftest.$ac_ext <<_ACEOF
40439 /* end confdefs.h. */
40440 #include <math.h>
40441 #ifdef HAVE_IEEEFP_H
40442 #include <ieeefp.h>
40443 #endif
40446 main ()
40448 finitef(0);
40450 return 0;
40452 _ACEOF
40453 rm -f conftest.$ac_objext
40454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40455 (eval $ac_compile) 2>conftest.er1
40456 ac_status=$?
40457 grep -v '^ *+' conftest.er1 >conftest.err
40458 rm -f conftest.er1
40459 cat conftest.err >&5
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); } &&
40462 { ac_try='test -z "$ac_cxx_werror_flag"
40463 || test ! -s conftest.err'
40464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40465 (eval $ac_try) 2>&5
40466 ac_status=$?
40467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468 (exit $ac_status); }; } &&
40469 { ac_try='test -s conftest.$ac_objext'
40470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40471 (eval $ac_try) 2>&5
40472 ac_status=$?
40473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474 (exit $ac_status); }; }; then
40475 glibcxx_cv_func_finitef_use=yes
40476 else
40477 echo "$as_me: failed program was:" >&5
40478 sed 's/^/| /' conftest.$ac_ext >&5
40480 glibcxx_cv_func_finitef_use=no
40482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40483 ac_ext=c
40484 ac_cpp='$CPP $CPPFLAGS'
40485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40493 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40494 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40496 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40498 for ac_func in finitef
40500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40501 echo "$as_me:$LINENO: checking for $ac_func" >&5
40502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40503 if eval "test \"\${$as_ac_var+set}\" = set"; then
40504 echo $ECHO_N "(cached) $ECHO_C" >&6
40505 else
40506 if test x$gcc_no_link = xyes; then
40507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40509 { (exit 1); exit 1; }; }
40511 cat >conftest.$ac_ext <<_ACEOF
40512 /* confdefs.h. */
40513 _ACEOF
40514 cat confdefs.h >>conftest.$ac_ext
40515 cat >>conftest.$ac_ext <<_ACEOF
40516 /* end confdefs.h. */
40517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40519 #define $ac_func innocuous_$ac_func
40521 /* System header to define __stub macros and hopefully few prototypes,
40522 which can conflict with char $ac_func (); below.
40523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40524 <limits.h> exists even on freestanding compilers. */
40526 #ifdef __STDC__
40527 # include <limits.h>
40528 #else
40529 # include <assert.h>
40530 #endif
40532 #undef $ac_func
40534 /* Override any gcc2 internal prototype to avoid an error. */
40535 #ifdef __cplusplus
40536 extern "C"
40538 #endif
40539 /* We use char because int might match the return type of a gcc2
40540 builtin and then its argument prototype would still apply. */
40541 char $ac_func ();
40542 /* The GNU C library defines this for functions which it implements
40543 to always fail with ENOSYS. Some functions are actually named
40544 something starting with __ and the normal name is an alias. */
40545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40546 choke me
40547 #else
40548 char (*f) () = $ac_func;
40549 #endif
40550 #ifdef __cplusplus
40552 #endif
40555 main ()
40557 return f != $ac_func;
40559 return 0;
40561 _ACEOF
40562 rm -f conftest.$ac_objext conftest$ac_exeext
40563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40564 (eval $ac_link) 2>conftest.er1
40565 ac_status=$?
40566 grep -v '^ *+' conftest.er1 >conftest.err
40567 rm -f conftest.er1
40568 cat conftest.err >&5
40569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40570 (exit $ac_status); } &&
40571 { ac_try='test -z "$ac_c_werror_flag"
40572 || test ! -s conftest.err'
40573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40574 (eval $ac_try) 2>&5
40575 ac_status=$?
40576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40577 (exit $ac_status); }; } &&
40578 { ac_try='test -s conftest$ac_exeext'
40579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40580 (eval $ac_try) 2>&5
40581 ac_status=$?
40582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40583 (exit $ac_status); }; }; then
40584 eval "$as_ac_var=yes"
40585 else
40586 echo "$as_me: failed program was:" >&5
40587 sed 's/^/| /' conftest.$ac_ext >&5
40589 eval "$as_ac_var=no"
40591 rm -f conftest.err conftest.$ac_objext \
40592 conftest$ac_exeext conftest.$ac_ext
40594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40596 if test `eval echo '${'$as_ac_var'}'` = yes; then
40597 cat >>confdefs.h <<_ACEOF
40598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40599 _ACEOF
40602 done
40604 else
40606 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40607 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40608 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40609 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40610 echo $ECHO_N "(cached) $ECHO_C" >&6
40611 else
40615 ac_ext=cc
40616 ac_cpp='$CXXCPP $CPPFLAGS'
40617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40621 cat >conftest.$ac_ext <<_ACEOF
40622 /* confdefs.h. */
40623 _ACEOF
40624 cat confdefs.h >>conftest.$ac_ext
40625 cat >>conftest.$ac_ext <<_ACEOF
40626 /* end confdefs.h. */
40627 #include <math.h>
40628 #ifdef HAVE_IEEEFP_H
40629 #include <ieeefp.h>
40630 #endif
40633 main ()
40635 _finitef(0);
40637 return 0;
40639 _ACEOF
40640 rm -f conftest.$ac_objext
40641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40642 (eval $ac_compile) 2>conftest.er1
40643 ac_status=$?
40644 grep -v '^ *+' conftest.er1 >conftest.err
40645 rm -f conftest.er1
40646 cat conftest.err >&5
40647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40648 (exit $ac_status); } &&
40649 { ac_try='test -z "$ac_cxx_werror_flag"
40650 || test ! -s conftest.err'
40651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40652 (eval $ac_try) 2>&5
40653 ac_status=$?
40654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40655 (exit $ac_status); }; } &&
40656 { ac_try='test -s conftest.$ac_objext'
40657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40658 (eval $ac_try) 2>&5
40659 ac_status=$?
40660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40661 (exit $ac_status); }; }; then
40662 glibcxx_cv_func__finitef_use=yes
40663 else
40664 echo "$as_me: failed program was:" >&5
40665 sed 's/^/| /' conftest.$ac_ext >&5
40667 glibcxx_cv_func__finitef_use=no
40669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40670 ac_ext=c
40671 ac_cpp='$CPP $CPPFLAGS'
40672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40680 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40681 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40683 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40685 for ac_func in _finitef
40687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40688 echo "$as_me:$LINENO: checking for $ac_func" >&5
40689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40690 if eval "test \"\${$as_ac_var+set}\" = set"; then
40691 echo $ECHO_N "(cached) $ECHO_C" >&6
40692 else
40693 if test x$gcc_no_link = xyes; then
40694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40696 { (exit 1); exit 1; }; }
40698 cat >conftest.$ac_ext <<_ACEOF
40699 /* confdefs.h. */
40700 _ACEOF
40701 cat confdefs.h >>conftest.$ac_ext
40702 cat >>conftest.$ac_ext <<_ACEOF
40703 /* end confdefs.h. */
40704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40706 #define $ac_func innocuous_$ac_func
40708 /* System header to define __stub macros and hopefully few prototypes,
40709 which can conflict with char $ac_func (); below.
40710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40711 <limits.h> exists even on freestanding compilers. */
40713 #ifdef __STDC__
40714 # include <limits.h>
40715 #else
40716 # include <assert.h>
40717 #endif
40719 #undef $ac_func
40721 /* Override any gcc2 internal prototype to avoid an error. */
40722 #ifdef __cplusplus
40723 extern "C"
40725 #endif
40726 /* We use char because int might match the return type of a gcc2
40727 builtin and then its argument prototype would still apply. */
40728 char $ac_func ();
40729 /* The GNU C library defines this for functions which it implements
40730 to always fail with ENOSYS. Some functions are actually named
40731 something starting with __ and the normal name is an alias. */
40732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40733 choke me
40734 #else
40735 char (*f) () = $ac_func;
40736 #endif
40737 #ifdef __cplusplus
40739 #endif
40742 main ()
40744 return f != $ac_func;
40746 return 0;
40748 _ACEOF
40749 rm -f conftest.$ac_objext conftest$ac_exeext
40750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40751 (eval $ac_link) 2>conftest.er1
40752 ac_status=$?
40753 grep -v '^ *+' conftest.er1 >conftest.err
40754 rm -f conftest.er1
40755 cat conftest.err >&5
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); } &&
40758 { ac_try='test -z "$ac_c_werror_flag"
40759 || test ! -s conftest.err'
40760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40761 (eval $ac_try) 2>&5
40762 ac_status=$?
40763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40764 (exit $ac_status); }; } &&
40765 { ac_try='test -s conftest$ac_exeext'
40766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40767 (eval $ac_try) 2>&5
40768 ac_status=$?
40769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40770 (exit $ac_status); }; }; then
40771 eval "$as_ac_var=yes"
40772 else
40773 echo "$as_me: failed program was:" >&5
40774 sed 's/^/| /' conftest.$ac_ext >&5
40776 eval "$as_ac_var=no"
40778 rm -f conftest.err conftest.$ac_objext \
40779 conftest$ac_exeext conftest.$ac_ext
40781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40783 if test `eval echo '${'$as_ac_var'}'` = yes; then
40784 cat >>confdefs.h <<_ACEOF
40785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40786 _ACEOF
40789 done
40796 echo "$as_me:$LINENO: checking for long double trig functions" >&5
40797 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40798 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40799 echo $ECHO_N "(cached) $ECHO_C" >&6
40800 else
40804 ac_ext=cc
40805 ac_cpp='$CXXCPP $CPPFLAGS'
40806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40810 cat >conftest.$ac_ext <<_ACEOF
40811 /* confdefs.h. */
40812 _ACEOF
40813 cat confdefs.h >>conftest.$ac_ext
40814 cat >>conftest.$ac_ext <<_ACEOF
40815 /* end confdefs.h. */
40816 #include <math.h>
40818 main ()
40820 `for x in acosl asinl atanl \
40821 cosl sinl tanl \
40822 coshl sinhl tanhl; do echo "$x (0);"; done`
40824 return 0;
40826 _ACEOF
40827 rm -f conftest.$ac_objext
40828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40829 (eval $ac_compile) 2>conftest.er1
40830 ac_status=$?
40831 grep -v '^ *+' conftest.er1 >conftest.err
40832 rm -f conftest.er1
40833 cat conftest.err >&5
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); } &&
40836 { ac_try='test -z "$ac_cxx_werror_flag"
40837 || test ! -s conftest.err'
40838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40839 (eval $ac_try) 2>&5
40840 ac_status=$?
40841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40842 (exit $ac_status); }; } &&
40843 { ac_try='test -s conftest.$ac_objext'
40844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40845 (eval $ac_try) 2>&5
40846 ac_status=$?
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); }; }; then
40849 glibcxx_cv_func_long_double_trig_use=yes
40850 else
40851 echo "$as_me: failed program was:" >&5
40852 sed 's/^/| /' conftest.$ac_ext >&5
40854 glibcxx_cv_func_long_double_trig_use=no
40856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40857 ac_ext=c
40858 ac_cpp='$CPP $CPPFLAGS'
40859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40866 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40867 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40877 for ac_func in acosl asinl atanl \
40878 cosl sinl tanl \
40879 coshl sinhl tanhl
40881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40882 echo "$as_me:$LINENO: checking for $ac_func" >&5
40883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40884 if eval "test \"\${$as_ac_var+set}\" = set"; then
40885 echo $ECHO_N "(cached) $ECHO_C" >&6
40886 else
40887 if test x$gcc_no_link = xyes; then
40888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40890 { (exit 1); exit 1; }; }
40892 cat >conftest.$ac_ext <<_ACEOF
40893 /* confdefs.h. */
40894 _ACEOF
40895 cat confdefs.h >>conftest.$ac_ext
40896 cat >>conftest.$ac_ext <<_ACEOF
40897 /* end confdefs.h. */
40898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40900 #define $ac_func innocuous_$ac_func
40902 /* System header to define __stub macros and hopefully few prototypes,
40903 which can conflict with char $ac_func (); below.
40904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40905 <limits.h> exists even on freestanding compilers. */
40907 #ifdef __STDC__
40908 # include <limits.h>
40909 #else
40910 # include <assert.h>
40911 #endif
40913 #undef $ac_func
40915 /* Override any gcc2 internal prototype to avoid an error. */
40916 #ifdef __cplusplus
40917 extern "C"
40919 #endif
40920 /* We use char because int might match the return type of a gcc2
40921 builtin and then its argument prototype would still apply. */
40922 char $ac_func ();
40923 /* The GNU C library defines this for functions which it implements
40924 to always fail with ENOSYS. Some functions are actually named
40925 something starting with __ and the normal name is an alias. */
40926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40927 choke me
40928 #else
40929 char (*f) () = $ac_func;
40930 #endif
40931 #ifdef __cplusplus
40933 #endif
40936 main ()
40938 return f != $ac_func;
40940 return 0;
40942 _ACEOF
40943 rm -f conftest.$ac_objext conftest$ac_exeext
40944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40945 (eval $ac_link) 2>conftest.er1
40946 ac_status=$?
40947 grep -v '^ *+' conftest.er1 >conftest.err
40948 rm -f conftest.er1
40949 cat conftest.err >&5
40950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40951 (exit $ac_status); } &&
40952 { ac_try='test -z "$ac_c_werror_flag"
40953 || test ! -s conftest.err'
40954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40955 (eval $ac_try) 2>&5
40956 ac_status=$?
40957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40958 (exit $ac_status); }; } &&
40959 { ac_try='test -s conftest$ac_exeext'
40960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40961 (eval $ac_try) 2>&5
40962 ac_status=$?
40963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964 (exit $ac_status); }; }; then
40965 eval "$as_ac_var=yes"
40966 else
40967 echo "$as_me: failed program was:" >&5
40968 sed 's/^/| /' conftest.$ac_ext >&5
40970 eval "$as_ac_var=no"
40972 rm -f conftest.err conftest.$ac_objext \
40973 conftest$ac_exeext conftest.$ac_ext
40975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40977 if test `eval echo '${'$as_ac_var'}'` = yes; then
40978 cat >>confdefs.h <<_ACEOF
40979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40980 _ACEOF
40983 done
40988 echo "$as_me:$LINENO: checking for long double round functions" >&5
40989 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40990 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40991 echo $ECHO_N "(cached) $ECHO_C" >&6
40992 else
40996 ac_ext=cc
40997 ac_cpp='$CXXCPP $CPPFLAGS'
40998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41002 cat >conftest.$ac_ext <<_ACEOF
41003 /* confdefs.h. */
41004 _ACEOF
41005 cat confdefs.h >>conftest.$ac_ext
41006 cat >>conftest.$ac_ext <<_ACEOF
41007 /* end confdefs.h. */
41008 #include <math.h>
41010 main ()
41012 `for x in ceill floorl; do echo "$x (0);"; done`
41014 return 0;
41016 _ACEOF
41017 rm -f conftest.$ac_objext
41018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41019 (eval $ac_compile) 2>conftest.er1
41020 ac_status=$?
41021 grep -v '^ *+' conftest.er1 >conftest.err
41022 rm -f conftest.er1
41023 cat conftest.err >&5
41024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41025 (exit $ac_status); } &&
41026 { ac_try='test -z "$ac_cxx_werror_flag"
41027 || test ! -s conftest.err'
41028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41029 (eval $ac_try) 2>&5
41030 ac_status=$?
41031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41032 (exit $ac_status); }; } &&
41033 { ac_try='test -s conftest.$ac_objext'
41034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41035 (eval $ac_try) 2>&5
41036 ac_status=$?
41037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41038 (exit $ac_status); }; }; then
41039 glibcxx_cv_func_long_double_round_use=yes
41040 else
41041 echo "$as_me: failed program was:" >&5
41042 sed 's/^/| /' conftest.$ac_ext >&5
41044 glibcxx_cv_func_long_double_round_use=no
41046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41047 ac_ext=c
41048 ac_cpp='$CPP $CPPFLAGS'
41049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41056 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41057 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41060 for ac_func in ceill floorl
41062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41063 echo "$as_me:$LINENO: checking for $ac_func" >&5
41064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41065 if eval "test \"\${$as_ac_var+set}\" = set"; then
41066 echo $ECHO_N "(cached) $ECHO_C" >&6
41067 else
41068 if test x$gcc_no_link = xyes; then
41069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41071 { (exit 1); exit 1; }; }
41073 cat >conftest.$ac_ext <<_ACEOF
41074 /* confdefs.h. */
41075 _ACEOF
41076 cat confdefs.h >>conftest.$ac_ext
41077 cat >>conftest.$ac_ext <<_ACEOF
41078 /* end confdefs.h. */
41079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41081 #define $ac_func innocuous_$ac_func
41083 /* System header to define __stub macros and hopefully few prototypes,
41084 which can conflict with char $ac_func (); below.
41085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41086 <limits.h> exists even on freestanding compilers. */
41088 #ifdef __STDC__
41089 # include <limits.h>
41090 #else
41091 # include <assert.h>
41092 #endif
41094 #undef $ac_func
41096 /* Override any gcc2 internal prototype to avoid an error. */
41097 #ifdef __cplusplus
41098 extern "C"
41100 #endif
41101 /* We use char because int might match the return type of a gcc2
41102 builtin and then its argument prototype would still apply. */
41103 char $ac_func ();
41104 /* The GNU C library defines this for functions which it implements
41105 to always fail with ENOSYS. Some functions are actually named
41106 something starting with __ and the normal name is an alias. */
41107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41108 choke me
41109 #else
41110 char (*f) () = $ac_func;
41111 #endif
41112 #ifdef __cplusplus
41114 #endif
41117 main ()
41119 return f != $ac_func;
41121 return 0;
41123 _ACEOF
41124 rm -f conftest.$ac_objext conftest$ac_exeext
41125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41126 (eval $ac_link) 2>conftest.er1
41127 ac_status=$?
41128 grep -v '^ *+' conftest.er1 >conftest.err
41129 rm -f conftest.er1
41130 cat conftest.err >&5
41131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41132 (exit $ac_status); } &&
41133 { ac_try='test -z "$ac_c_werror_flag"
41134 || test ! -s conftest.err'
41135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41136 (eval $ac_try) 2>&5
41137 ac_status=$?
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); }; } &&
41140 { ac_try='test -s conftest$ac_exeext'
41141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41142 (eval $ac_try) 2>&5
41143 ac_status=$?
41144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41145 (exit $ac_status); }; }; then
41146 eval "$as_ac_var=yes"
41147 else
41148 echo "$as_me: failed program was:" >&5
41149 sed 's/^/| /' conftest.$ac_ext >&5
41151 eval "$as_ac_var=no"
41153 rm -f conftest.err conftest.$ac_objext \
41154 conftest$ac_exeext conftest.$ac_ext
41156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41158 if test `eval echo '${'$as_ac_var'}'` = yes; then
41159 cat >>confdefs.h <<_ACEOF
41160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41161 _ACEOF
41164 done
41170 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41171 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41172 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41173 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41174 echo $ECHO_N "(cached) $ECHO_C" >&6
41175 else
41179 ac_ext=cc
41180 ac_cpp='$CXXCPP $CPPFLAGS'
41181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41185 cat >conftest.$ac_ext <<_ACEOF
41186 /* confdefs.h. */
41187 _ACEOF
41188 cat confdefs.h >>conftest.$ac_ext
41189 cat >>conftest.$ac_ext <<_ACEOF
41190 /* end confdefs.h. */
41191 #include <math.h>
41192 #ifdef HAVE_IEEEFP_H
41193 #include <ieeefp.h>
41194 #endif
41197 main ()
41199 isnanl(0);
41201 return 0;
41203 _ACEOF
41204 rm -f conftest.$ac_objext
41205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41206 (eval $ac_compile) 2>conftest.er1
41207 ac_status=$?
41208 grep -v '^ *+' conftest.er1 >conftest.err
41209 rm -f conftest.er1
41210 cat conftest.err >&5
41211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41212 (exit $ac_status); } &&
41213 { ac_try='test -z "$ac_cxx_werror_flag"
41214 || test ! -s conftest.err'
41215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41216 (eval $ac_try) 2>&5
41217 ac_status=$?
41218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41219 (exit $ac_status); }; } &&
41220 { ac_try='test -s conftest.$ac_objext'
41221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41222 (eval $ac_try) 2>&5
41223 ac_status=$?
41224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41225 (exit $ac_status); }; }; then
41226 glibcxx_cv_func_isnanl_use=yes
41227 else
41228 echo "$as_me: failed program was:" >&5
41229 sed 's/^/| /' conftest.$ac_ext >&5
41231 glibcxx_cv_func_isnanl_use=no
41233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41234 ac_ext=c
41235 ac_cpp='$CPP $CPPFLAGS'
41236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41245 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41247 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41249 for ac_func in isnanl
41251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41252 echo "$as_me:$LINENO: checking for $ac_func" >&5
41253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41254 if eval "test \"\${$as_ac_var+set}\" = set"; then
41255 echo $ECHO_N "(cached) $ECHO_C" >&6
41256 else
41257 if test x$gcc_no_link = xyes; then
41258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41260 { (exit 1); exit 1; }; }
41262 cat >conftest.$ac_ext <<_ACEOF
41263 /* confdefs.h. */
41264 _ACEOF
41265 cat confdefs.h >>conftest.$ac_ext
41266 cat >>conftest.$ac_ext <<_ACEOF
41267 /* end confdefs.h. */
41268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41270 #define $ac_func innocuous_$ac_func
41272 /* System header to define __stub macros and hopefully few prototypes,
41273 which can conflict with char $ac_func (); below.
41274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41275 <limits.h> exists even on freestanding compilers. */
41277 #ifdef __STDC__
41278 # include <limits.h>
41279 #else
41280 # include <assert.h>
41281 #endif
41283 #undef $ac_func
41285 /* Override any gcc2 internal prototype to avoid an error. */
41286 #ifdef __cplusplus
41287 extern "C"
41289 #endif
41290 /* We use char because int might match the return type of a gcc2
41291 builtin and then its argument prototype would still apply. */
41292 char $ac_func ();
41293 /* The GNU C library defines this for functions which it implements
41294 to always fail with ENOSYS. Some functions are actually named
41295 something starting with __ and the normal name is an alias. */
41296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41297 choke me
41298 #else
41299 char (*f) () = $ac_func;
41300 #endif
41301 #ifdef __cplusplus
41303 #endif
41306 main ()
41308 return f != $ac_func;
41310 return 0;
41312 _ACEOF
41313 rm -f conftest.$ac_objext conftest$ac_exeext
41314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41315 (eval $ac_link) 2>conftest.er1
41316 ac_status=$?
41317 grep -v '^ *+' conftest.er1 >conftest.err
41318 rm -f conftest.er1
41319 cat conftest.err >&5
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); } &&
41322 { ac_try='test -z "$ac_c_werror_flag"
41323 || test ! -s conftest.err'
41324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41325 (eval $ac_try) 2>&5
41326 ac_status=$?
41327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41328 (exit $ac_status); }; } &&
41329 { ac_try='test -s conftest$ac_exeext'
41330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41331 (eval $ac_try) 2>&5
41332 ac_status=$?
41333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41334 (exit $ac_status); }; }; then
41335 eval "$as_ac_var=yes"
41336 else
41337 echo "$as_me: failed program was:" >&5
41338 sed 's/^/| /' conftest.$ac_ext >&5
41340 eval "$as_ac_var=no"
41342 rm -f conftest.err conftest.$ac_objext \
41343 conftest$ac_exeext conftest.$ac_ext
41345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41347 if test `eval echo '${'$as_ac_var'}'` = yes; then
41348 cat >>confdefs.h <<_ACEOF
41349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41350 _ACEOF
41353 done
41355 else
41357 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41358 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41359 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41360 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41361 echo $ECHO_N "(cached) $ECHO_C" >&6
41362 else
41366 ac_ext=cc
41367 ac_cpp='$CXXCPP $CPPFLAGS'
41368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41372 cat >conftest.$ac_ext <<_ACEOF
41373 /* confdefs.h. */
41374 _ACEOF
41375 cat confdefs.h >>conftest.$ac_ext
41376 cat >>conftest.$ac_ext <<_ACEOF
41377 /* end confdefs.h. */
41378 #include <math.h>
41379 #ifdef HAVE_IEEEFP_H
41380 #include <ieeefp.h>
41381 #endif
41384 main ()
41386 _isnanl(0);
41388 return 0;
41390 _ACEOF
41391 rm -f conftest.$ac_objext
41392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41393 (eval $ac_compile) 2>conftest.er1
41394 ac_status=$?
41395 grep -v '^ *+' conftest.er1 >conftest.err
41396 rm -f conftest.er1
41397 cat conftest.err >&5
41398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41399 (exit $ac_status); } &&
41400 { ac_try='test -z "$ac_cxx_werror_flag"
41401 || test ! -s conftest.err'
41402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41403 (eval $ac_try) 2>&5
41404 ac_status=$?
41405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41406 (exit $ac_status); }; } &&
41407 { ac_try='test -s conftest.$ac_objext'
41408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41409 (eval $ac_try) 2>&5
41410 ac_status=$?
41411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41412 (exit $ac_status); }; }; then
41413 glibcxx_cv_func__isnanl_use=yes
41414 else
41415 echo "$as_me: failed program was:" >&5
41416 sed 's/^/| /' conftest.$ac_ext >&5
41418 glibcxx_cv_func__isnanl_use=no
41420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41421 ac_ext=c
41422 ac_cpp='$CPP $CPPFLAGS'
41423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41432 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41434 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41436 for ac_func in _isnanl
41438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41439 echo "$as_me:$LINENO: checking for $ac_func" >&5
41440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41441 if eval "test \"\${$as_ac_var+set}\" = set"; then
41442 echo $ECHO_N "(cached) $ECHO_C" >&6
41443 else
41444 if test x$gcc_no_link = xyes; then
41445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41447 { (exit 1); exit 1; }; }
41449 cat >conftest.$ac_ext <<_ACEOF
41450 /* confdefs.h. */
41451 _ACEOF
41452 cat confdefs.h >>conftest.$ac_ext
41453 cat >>conftest.$ac_ext <<_ACEOF
41454 /* end confdefs.h. */
41455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41457 #define $ac_func innocuous_$ac_func
41459 /* System header to define __stub macros and hopefully few prototypes,
41460 which can conflict with char $ac_func (); below.
41461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41462 <limits.h> exists even on freestanding compilers. */
41464 #ifdef __STDC__
41465 # include <limits.h>
41466 #else
41467 # include <assert.h>
41468 #endif
41470 #undef $ac_func
41472 /* Override any gcc2 internal prototype to avoid an error. */
41473 #ifdef __cplusplus
41474 extern "C"
41476 #endif
41477 /* We use char because int might match the return type of a gcc2
41478 builtin and then its argument prototype would still apply. */
41479 char $ac_func ();
41480 /* The GNU C library defines this for functions which it implements
41481 to always fail with ENOSYS. Some functions are actually named
41482 something starting with __ and the normal name is an alias. */
41483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41484 choke me
41485 #else
41486 char (*f) () = $ac_func;
41487 #endif
41488 #ifdef __cplusplus
41490 #endif
41493 main ()
41495 return f != $ac_func;
41497 return 0;
41499 _ACEOF
41500 rm -f conftest.$ac_objext conftest$ac_exeext
41501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41502 (eval $ac_link) 2>conftest.er1
41503 ac_status=$?
41504 grep -v '^ *+' conftest.er1 >conftest.err
41505 rm -f conftest.er1
41506 cat conftest.err >&5
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); } &&
41509 { ac_try='test -z "$ac_c_werror_flag"
41510 || test ! -s conftest.err'
41511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41512 (eval $ac_try) 2>&5
41513 ac_status=$?
41514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515 (exit $ac_status); }; } &&
41516 { ac_try='test -s conftest$ac_exeext'
41517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41518 (eval $ac_try) 2>&5
41519 ac_status=$?
41520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41521 (exit $ac_status); }; }; then
41522 eval "$as_ac_var=yes"
41523 else
41524 echo "$as_me: failed program was:" >&5
41525 sed 's/^/| /' conftest.$ac_ext >&5
41527 eval "$as_ac_var=no"
41529 rm -f conftest.err conftest.$ac_objext \
41530 conftest$ac_exeext conftest.$ac_ext
41532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41534 if test `eval echo '${'$as_ac_var'}'` = yes; then
41535 cat >>confdefs.h <<_ACEOF
41536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41537 _ACEOF
41540 done
41547 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41548 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41549 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41550 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41551 echo $ECHO_N "(cached) $ECHO_C" >&6
41552 else
41556 ac_ext=cc
41557 ac_cpp='$CXXCPP $CPPFLAGS'
41558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41562 cat >conftest.$ac_ext <<_ACEOF
41563 /* confdefs.h. */
41564 _ACEOF
41565 cat confdefs.h >>conftest.$ac_ext
41566 cat >>conftest.$ac_ext <<_ACEOF
41567 /* end confdefs.h. */
41568 #include <math.h>
41569 #ifdef HAVE_IEEEFP_H
41570 #include <ieeefp.h>
41571 #endif
41574 main ()
41576 isinfl(0);
41578 return 0;
41580 _ACEOF
41581 rm -f conftest.$ac_objext
41582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41583 (eval $ac_compile) 2>conftest.er1
41584 ac_status=$?
41585 grep -v '^ *+' conftest.er1 >conftest.err
41586 rm -f conftest.er1
41587 cat conftest.err >&5
41588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41589 (exit $ac_status); } &&
41590 { ac_try='test -z "$ac_cxx_werror_flag"
41591 || test ! -s conftest.err'
41592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41593 (eval $ac_try) 2>&5
41594 ac_status=$?
41595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41596 (exit $ac_status); }; } &&
41597 { ac_try='test -s conftest.$ac_objext'
41598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41599 (eval $ac_try) 2>&5
41600 ac_status=$?
41601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41602 (exit $ac_status); }; }; then
41603 glibcxx_cv_func_isinfl_use=yes
41604 else
41605 echo "$as_me: failed program was:" >&5
41606 sed 's/^/| /' conftest.$ac_ext >&5
41608 glibcxx_cv_func_isinfl_use=no
41610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41611 ac_ext=c
41612 ac_cpp='$CPP $CPPFLAGS'
41613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41622 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41624 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41626 for ac_func in isinfl
41628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41629 echo "$as_me:$LINENO: checking for $ac_func" >&5
41630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41631 if eval "test \"\${$as_ac_var+set}\" = set"; then
41632 echo $ECHO_N "(cached) $ECHO_C" >&6
41633 else
41634 if test x$gcc_no_link = xyes; then
41635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41637 { (exit 1); exit 1; }; }
41639 cat >conftest.$ac_ext <<_ACEOF
41640 /* confdefs.h. */
41641 _ACEOF
41642 cat confdefs.h >>conftest.$ac_ext
41643 cat >>conftest.$ac_ext <<_ACEOF
41644 /* end confdefs.h. */
41645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41647 #define $ac_func innocuous_$ac_func
41649 /* System header to define __stub macros and hopefully few prototypes,
41650 which can conflict with char $ac_func (); below.
41651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41652 <limits.h> exists even on freestanding compilers. */
41654 #ifdef __STDC__
41655 # include <limits.h>
41656 #else
41657 # include <assert.h>
41658 #endif
41660 #undef $ac_func
41662 /* Override any gcc2 internal prototype to avoid an error. */
41663 #ifdef __cplusplus
41664 extern "C"
41666 #endif
41667 /* We use char because int might match the return type of a gcc2
41668 builtin and then its argument prototype would still apply. */
41669 char $ac_func ();
41670 /* The GNU C library defines this for functions which it implements
41671 to always fail with ENOSYS. Some functions are actually named
41672 something starting with __ and the normal name is an alias. */
41673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41674 choke me
41675 #else
41676 char (*f) () = $ac_func;
41677 #endif
41678 #ifdef __cplusplus
41680 #endif
41683 main ()
41685 return f != $ac_func;
41687 return 0;
41689 _ACEOF
41690 rm -f conftest.$ac_objext conftest$ac_exeext
41691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41692 (eval $ac_link) 2>conftest.er1
41693 ac_status=$?
41694 grep -v '^ *+' conftest.er1 >conftest.err
41695 rm -f conftest.er1
41696 cat conftest.err >&5
41697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41698 (exit $ac_status); } &&
41699 { ac_try='test -z "$ac_c_werror_flag"
41700 || test ! -s conftest.err'
41701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41702 (eval $ac_try) 2>&5
41703 ac_status=$?
41704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705 (exit $ac_status); }; } &&
41706 { ac_try='test -s conftest$ac_exeext'
41707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41708 (eval $ac_try) 2>&5
41709 ac_status=$?
41710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41711 (exit $ac_status); }; }; then
41712 eval "$as_ac_var=yes"
41713 else
41714 echo "$as_me: failed program was:" >&5
41715 sed 's/^/| /' conftest.$ac_ext >&5
41717 eval "$as_ac_var=no"
41719 rm -f conftest.err conftest.$ac_objext \
41720 conftest$ac_exeext conftest.$ac_ext
41722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41724 if test `eval echo '${'$as_ac_var'}'` = yes; then
41725 cat >>confdefs.h <<_ACEOF
41726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41727 _ACEOF
41730 done
41732 else
41734 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41735 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41736 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41737 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41738 echo $ECHO_N "(cached) $ECHO_C" >&6
41739 else
41743 ac_ext=cc
41744 ac_cpp='$CXXCPP $CPPFLAGS'
41745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41749 cat >conftest.$ac_ext <<_ACEOF
41750 /* confdefs.h. */
41751 _ACEOF
41752 cat confdefs.h >>conftest.$ac_ext
41753 cat >>conftest.$ac_ext <<_ACEOF
41754 /* end confdefs.h. */
41755 #include <math.h>
41756 #ifdef HAVE_IEEEFP_H
41757 #include <ieeefp.h>
41758 #endif
41761 main ()
41763 _isinfl(0);
41765 return 0;
41767 _ACEOF
41768 rm -f conftest.$ac_objext
41769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41770 (eval $ac_compile) 2>conftest.er1
41771 ac_status=$?
41772 grep -v '^ *+' conftest.er1 >conftest.err
41773 rm -f conftest.er1
41774 cat conftest.err >&5
41775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41776 (exit $ac_status); } &&
41777 { ac_try='test -z "$ac_cxx_werror_flag"
41778 || test ! -s conftest.err'
41779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41780 (eval $ac_try) 2>&5
41781 ac_status=$?
41782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41783 (exit $ac_status); }; } &&
41784 { ac_try='test -s conftest.$ac_objext'
41785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41786 (eval $ac_try) 2>&5
41787 ac_status=$?
41788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41789 (exit $ac_status); }; }; then
41790 glibcxx_cv_func__isinfl_use=yes
41791 else
41792 echo "$as_me: failed program was:" >&5
41793 sed 's/^/| /' conftest.$ac_ext >&5
41795 glibcxx_cv_func__isinfl_use=no
41797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41798 ac_ext=c
41799 ac_cpp='$CPP $CPPFLAGS'
41800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41809 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41811 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41813 for ac_func in _isinfl
41815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41816 echo "$as_me:$LINENO: checking for $ac_func" >&5
41817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41818 if eval "test \"\${$as_ac_var+set}\" = set"; then
41819 echo $ECHO_N "(cached) $ECHO_C" >&6
41820 else
41821 if test x$gcc_no_link = xyes; then
41822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41824 { (exit 1); exit 1; }; }
41826 cat >conftest.$ac_ext <<_ACEOF
41827 /* confdefs.h. */
41828 _ACEOF
41829 cat confdefs.h >>conftest.$ac_ext
41830 cat >>conftest.$ac_ext <<_ACEOF
41831 /* end confdefs.h. */
41832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41834 #define $ac_func innocuous_$ac_func
41836 /* System header to define __stub macros and hopefully few prototypes,
41837 which can conflict with char $ac_func (); below.
41838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41839 <limits.h> exists even on freestanding compilers. */
41841 #ifdef __STDC__
41842 # include <limits.h>
41843 #else
41844 # include <assert.h>
41845 #endif
41847 #undef $ac_func
41849 /* Override any gcc2 internal prototype to avoid an error. */
41850 #ifdef __cplusplus
41851 extern "C"
41853 #endif
41854 /* We use char because int might match the return type of a gcc2
41855 builtin and then its argument prototype would still apply. */
41856 char $ac_func ();
41857 /* The GNU C library defines this for functions which it implements
41858 to always fail with ENOSYS. Some functions are actually named
41859 something starting with __ and the normal name is an alias. */
41860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41861 choke me
41862 #else
41863 char (*f) () = $ac_func;
41864 #endif
41865 #ifdef __cplusplus
41867 #endif
41870 main ()
41872 return f != $ac_func;
41874 return 0;
41876 _ACEOF
41877 rm -f conftest.$ac_objext conftest$ac_exeext
41878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41879 (eval $ac_link) 2>conftest.er1
41880 ac_status=$?
41881 grep -v '^ *+' conftest.er1 >conftest.err
41882 rm -f conftest.er1
41883 cat conftest.err >&5
41884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41885 (exit $ac_status); } &&
41886 { ac_try='test -z "$ac_c_werror_flag"
41887 || test ! -s conftest.err'
41888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41889 (eval $ac_try) 2>&5
41890 ac_status=$?
41891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41892 (exit $ac_status); }; } &&
41893 { ac_try='test -s conftest$ac_exeext'
41894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41895 (eval $ac_try) 2>&5
41896 ac_status=$?
41897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41898 (exit $ac_status); }; }; then
41899 eval "$as_ac_var=yes"
41900 else
41901 echo "$as_me: failed program was:" >&5
41902 sed 's/^/| /' conftest.$ac_ext >&5
41904 eval "$as_ac_var=no"
41906 rm -f conftest.err conftest.$ac_objext \
41907 conftest$ac_exeext conftest.$ac_ext
41909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41911 if test `eval echo '${'$as_ac_var'}'` = yes; then
41912 cat >>confdefs.h <<_ACEOF
41913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41914 _ACEOF
41917 done
41924 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41925 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41926 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41927 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41928 echo $ECHO_N "(cached) $ECHO_C" >&6
41929 else
41933 ac_ext=cc
41934 ac_cpp='$CXXCPP $CPPFLAGS'
41935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41939 cat >conftest.$ac_ext <<_ACEOF
41940 /* confdefs.h. */
41941 _ACEOF
41942 cat confdefs.h >>conftest.$ac_ext
41943 cat >>conftest.$ac_ext <<_ACEOF
41944 /* end confdefs.h. */
41945 #include <math.h>
41947 main ()
41949 copysignl(0, 0);
41951 return 0;
41953 _ACEOF
41954 rm -f conftest.$ac_objext
41955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41956 (eval $ac_compile) 2>conftest.er1
41957 ac_status=$?
41958 grep -v '^ *+' conftest.er1 >conftest.err
41959 rm -f conftest.er1
41960 cat conftest.err >&5
41961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41962 (exit $ac_status); } &&
41963 { ac_try='test -z "$ac_cxx_werror_flag"
41964 || test ! -s conftest.err'
41965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41966 (eval $ac_try) 2>&5
41967 ac_status=$?
41968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41969 (exit $ac_status); }; } &&
41970 { ac_try='test -s conftest.$ac_objext'
41971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41972 (eval $ac_try) 2>&5
41973 ac_status=$?
41974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41975 (exit $ac_status); }; }; then
41976 glibcxx_cv_func_copysignl_use=yes
41977 else
41978 echo "$as_me: failed program was:" >&5
41979 sed 's/^/| /' conftest.$ac_ext >&5
41981 glibcxx_cv_func_copysignl_use=no
41983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41984 ac_ext=c
41985 ac_cpp='$CPP $CPPFLAGS'
41986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41995 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41997 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
41999 for ac_func in copysignl
42001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42002 echo "$as_me:$LINENO: checking for $ac_func" >&5
42003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42004 if eval "test \"\${$as_ac_var+set}\" = set"; then
42005 echo $ECHO_N "(cached) $ECHO_C" >&6
42006 else
42007 if test x$gcc_no_link = xyes; then
42008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42010 { (exit 1); exit 1; }; }
42012 cat >conftest.$ac_ext <<_ACEOF
42013 /* confdefs.h. */
42014 _ACEOF
42015 cat confdefs.h >>conftest.$ac_ext
42016 cat >>conftest.$ac_ext <<_ACEOF
42017 /* end confdefs.h. */
42018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42020 #define $ac_func innocuous_$ac_func
42022 /* System header to define __stub macros and hopefully few prototypes,
42023 which can conflict with char $ac_func (); below.
42024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42025 <limits.h> exists even on freestanding compilers. */
42027 #ifdef __STDC__
42028 # include <limits.h>
42029 #else
42030 # include <assert.h>
42031 #endif
42033 #undef $ac_func
42035 /* Override any gcc2 internal prototype to avoid an error. */
42036 #ifdef __cplusplus
42037 extern "C"
42039 #endif
42040 /* We use char because int might match the return type of a gcc2
42041 builtin and then its argument prototype would still apply. */
42042 char $ac_func ();
42043 /* The GNU C library defines this for functions which it implements
42044 to always fail with ENOSYS. Some functions are actually named
42045 something starting with __ and the normal name is an alias. */
42046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42047 choke me
42048 #else
42049 char (*f) () = $ac_func;
42050 #endif
42051 #ifdef __cplusplus
42053 #endif
42056 main ()
42058 return f != $ac_func;
42060 return 0;
42062 _ACEOF
42063 rm -f conftest.$ac_objext conftest$ac_exeext
42064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42065 (eval $ac_link) 2>conftest.er1
42066 ac_status=$?
42067 grep -v '^ *+' conftest.er1 >conftest.err
42068 rm -f conftest.er1
42069 cat conftest.err >&5
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); } &&
42072 { ac_try='test -z "$ac_c_werror_flag"
42073 || test ! -s conftest.err'
42074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42075 (eval $ac_try) 2>&5
42076 ac_status=$?
42077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42078 (exit $ac_status); }; } &&
42079 { ac_try='test -s conftest$ac_exeext'
42080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42081 (eval $ac_try) 2>&5
42082 ac_status=$?
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); }; }; then
42085 eval "$as_ac_var=yes"
42086 else
42087 echo "$as_me: failed program was:" >&5
42088 sed 's/^/| /' conftest.$ac_ext >&5
42090 eval "$as_ac_var=no"
42092 rm -f conftest.err conftest.$ac_objext \
42093 conftest$ac_exeext conftest.$ac_ext
42095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42097 if test `eval echo '${'$as_ac_var'}'` = yes; then
42098 cat >>confdefs.h <<_ACEOF
42099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42100 _ACEOF
42103 done
42105 else
42107 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42108 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42109 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42110 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42111 echo $ECHO_N "(cached) $ECHO_C" >&6
42112 else
42116 ac_ext=cc
42117 ac_cpp='$CXXCPP $CPPFLAGS'
42118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42122 cat >conftest.$ac_ext <<_ACEOF
42123 /* confdefs.h. */
42124 _ACEOF
42125 cat confdefs.h >>conftest.$ac_ext
42126 cat >>conftest.$ac_ext <<_ACEOF
42127 /* end confdefs.h. */
42128 #include <math.h>
42130 main ()
42132 _copysignl(0, 0);
42134 return 0;
42136 _ACEOF
42137 rm -f conftest.$ac_objext
42138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42139 (eval $ac_compile) 2>conftest.er1
42140 ac_status=$?
42141 grep -v '^ *+' conftest.er1 >conftest.err
42142 rm -f conftest.er1
42143 cat conftest.err >&5
42144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145 (exit $ac_status); } &&
42146 { ac_try='test -z "$ac_cxx_werror_flag"
42147 || test ! -s conftest.err'
42148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42149 (eval $ac_try) 2>&5
42150 ac_status=$?
42151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42152 (exit $ac_status); }; } &&
42153 { ac_try='test -s conftest.$ac_objext'
42154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42155 (eval $ac_try) 2>&5
42156 ac_status=$?
42157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42158 (exit $ac_status); }; }; then
42159 glibcxx_cv_func__copysignl_use=yes
42160 else
42161 echo "$as_me: failed program was:" >&5
42162 sed 's/^/| /' conftest.$ac_ext >&5
42164 glibcxx_cv_func__copysignl_use=no
42166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42167 ac_ext=c
42168 ac_cpp='$CPP $CPPFLAGS'
42169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42178 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42180 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42182 for ac_func in _copysignl
42184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42185 echo "$as_me:$LINENO: checking for $ac_func" >&5
42186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42187 if eval "test \"\${$as_ac_var+set}\" = set"; then
42188 echo $ECHO_N "(cached) $ECHO_C" >&6
42189 else
42190 if test x$gcc_no_link = xyes; then
42191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42193 { (exit 1); exit 1; }; }
42195 cat >conftest.$ac_ext <<_ACEOF
42196 /* confdefs.h. */
42197 _ACEOF
42198 cat confdefs.h >>conftest.$ac_ext
42199 cat >>conftest.$ac_ext <<_ACEOF
42200 /* end confdefs.h. */
42201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42203 #define $ac_func innocuous_$ac_func
42205 /* System header to define __stub macros and hopefully few prototypes,
42206 which can conflict with char $ac_func (); below.
42207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42208 <limits.h> exists even on freestanding compilers. */
42210 #ifdef __STDC__
42211 # include <limits.h>
42212 #else
42213 # include <assert.h>
42214 #endif
42216 #undef $ac_func
42218 /* Override any gcc2 internal prototype to avoid an error. */
42219 #ifdef __cplusplus
42220 extern "C"
42222 #endif
42223 /* We use char because int might match the return type of a gcc2
42224 builtin and then its argument prototype would still apply. */
42225 char $ac_func ();
42226 /* The GNU C library defines this for functions which it implements
42227 to always fail with ENOSYS. Some functions are actually named
42228 something starting with __ and the normal name is an alias. */
42229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42230 choke me
42231 #else
42232 char (*f) () = $ac_func;
42233 #endif
42234 #ifdef __cplusplus
42236 #endif
42239 main ()
42241 return f != $ac_func;
42243 return 0;
42245 _ACEOF
42246 rm -f conftest.$ac_objext conftest$ac_exeext
42247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42248 (eval $ac_link) 2>conftest.er1
42249 ac_status=$?
42250 grep -v '^ *+' conftest.er1 >conftest.err
42251 rm -f conftest.er1
42252 cat conftest.err >&5
42253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42254 (exit $ac_status); } &&
42255 { ac_try='test -z "$ac_c_werror_flag"
42256 || test ! -s conftest.err'
42257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42258 (eval $ac_try) 2>&5
42259 ac_status=$?
42260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42261 (exit $ac_status); }; } &&
42262 { ac_try='test -s conftest$ac_exeext'
42263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42264 (eval $ac_try) 2>&5
42265 ac_status=$?
42266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42267 (exit $ac_status); }; }; then
42268 eval "$as_ac_var=yes"
42269 else
42270 echo "$as_me: failed program was:" >&5
42271 sed 's/^/| /' conftest.$ac_ext >&5
42273 eval "$as_ac_var=no"
42275 rm -f conftest.err conftest.$ac_objext \
42276 conftest$ac_exeext conftest.$ac_ext
42278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42280 if test `eval echo '${'$as_ac_var'}'` = yes; then
42281 cat >>confdefs.h <<_ACEOF
42282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42283 _ACEOF
42286 done
42293 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42294 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42295 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42296 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42297 echo $ECHO_N "(cached) $ECHO_C" >&6
42298 else
42302 ac_ext=cc
42303 ac_cpp='$CXXCPP $CPPFLAGS'
42304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42308 cat >conftest.$ac_ext <<_ACEOF
42309 /* confdefs.h. */
42310 _ACEOF
42311 cat confdefs.h >>conftest.$ac_ext
42312 cat >>conftest.$ac_ext <<_ACEOF
42313 /* end confdefs.h. */
42314 #include <math.h>
42316 main ()
42318 atan2l(0, 0);
42320 return 0;
42322 _ACEOF
42323 rm -f conftest.$ac_objext
42324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42325 (eval $ac_compile) 2>conftest.er1
42326 ac_status=$?
42327 grep -v '^ *+' conftest.er1 >conftest.err
42328 rm -f conftest.er1
42329 cat conftest.err >&5
42330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42331 (exit $ac_status); } &&
42332 { ac_try='test -z "$ac_cxx_werror_flag"
42333 || test ! -s conftest.err'
42334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42335 (eval $ac_try) 2>&5
42336 ac_status=$?
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); }; } &&
42339 { ac_try='test -s conftest.$ac_objext'
42340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42341 (eval $ac_try) 2>&5
42342 ac_status=$?
42343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42344 (exit $ac_status); }; }; then
42345 glibcxx_cv_func_atan2l_use=yes
42346 else
42347 echo "$as_me: failed program was:" >&5
42348 sed 's/^/| /' conftest.$ac_ext >&5
42350 glibcxx_cv_func_atan2l_use=no
42352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42353 ac_ext=c
42354 ac_cpp='$CPP $CPPFLAGS'
42355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42363 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42364 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42366 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42368 for ac_func in atan2l
42370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42371 echo "$as_me:$LINENO: checking for $ac_func" >&5
42372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42373 if eval "test \"\${$as_ac_var+set}\" = set"; then
42374 echo $ECHO_N "(cached) $ECHO_C" >&6
42375 else
42376 if test x$gcc_no_link = xyes; then
42377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42379 { (exit 1); exit 1; }; }
42381 cat >conftest.$ac_ext <<_ACEOF
42382 /* confdefs.h. */
42383 _ACEOF
42384 cat confdefs.h >>conftest.$ac_ext
42385 cat >>conftest.$ac_ext <<_ACEOF
42386 /* end confdefs.h. */
42387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42389 #define $ac_func innocuous_$ac_func
42391 /* System header to define __stub macros and hopefully few prototypes,
42392 which can conflict with char $ac_func (); below.
42393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42394 <limits.h> exists even on freestanding compilers. */
42396 #ifdef __STDC__
42397 # include <limits.h>
42398 #else
42399 # include <assert.h>
42400 #endif
42402 #undef $ac_func
42404 /* Override any gcc2 internal prototype to avoid an error. */
42405 #ifdef __cplusplus
42406 extern "C"
42408 #endif
42409 /* We use char because int might match the return type of a gcc2
42410 builtin and then its argument prototype would still apply. */
42411 char $ac_func ();
42412 /* The GNU C library defines this for functions which it implements
42413 to always fail with ENOSYS. Some functions are actually named
42414 something starting with __ and the normal name is an alias. */
42415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42416 choke me
42417 #else
42418 char (*f) () = $ac_func;
42419 #endif
42420 #ifdef __cplusplus
42422 #endif
42425 main ()
42427 return f != $ac_func;
42429 return 0;
42431 _ACEOF
42432 rm -f conftest.$ac_objext conftest$ac_exeext
42433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42434 (eval $ac_link) 2>conftest.er1
42435 ac_status=$?
42436 grep -v '^ *+' conftest.er1 >conftest.err
42437 rm -f conftest.er1
42438 cat conftest.err >&5
42439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42440 (exit $ac_status); } &&
42441 { ac_try='test -z "$ac_c_werror_flag"
42442 || test ! -s conftest.err'
42443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42444 (eval $ac_try) 2>&5
42445 ac_status=$?
42446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42447 (exit $ac_status); }; } &&
42448 { ac_try='test -s conftest$ac_exeext'
42449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42450 (eval $ac_try) 2>&5
42451 ac_status=$?
42452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42453 (exit $ac_status); }; }; then
42454 eval "$as_ac_var=yes"
42455 else
42456 echo "$as_me: failed program was:" >&5
42457 sed 's/^/| /' conftest.$ac_ext >&5
42459 eval "$as_ac_var=no"
42461 rm -f conftest.err conftest.$ac_objext \
42462 conftest$ac_exeext conftest.$ac_ext
42464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42466 if test `eval echo '${'$as_ac_var'}'` = yes; then
42467 cat >>confdefs.h <<_ACEOF
42468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42469 _ACEOF
42472 done
42474 else
42476 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42477 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42478 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42479 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42480 echo $ECHO_N "(cached) $ECHO_C" >&6
42481 else
42485 ac_ext=cc
42486 ac_cpp='$CXXCPP $CPPFLAGS'
42487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42491 cat >conftest.$ac_ext <<_ACEOF
42492 /* confdefs.h. */
42493 _ACEOF
42494 cat confdefs.h >>conftest.$ac_ext
42495 cat >>conftest.$ac_ext <<_ACEOF
42496 /* end confdefs.h. */
42497 #include <math.h>
42499 main ()
42501 _atan2l(0, 0);
42503 return 0;
42505 _ACEOF
42506 rm -f conftest.$ac_objext
42507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42508 (eval $ac_compile) 2>conftest.er1
42509 ac_status=$?
42510 grep -v '^ *+' conftest.er1 >conftest.err
42511 rm -f conftest.er1
42512 cat conftest.err >&5
42513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42514 (exit $ac_status); } &&
42515 { ac_try='test -z "$ac_cxx_werror_flag"
42516 || test ! -s conftest.err'
42517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42518 (eval $ac_try) 2>&5
42519 ac_status=$?
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); }; } &&
42522 { ac_try='test -s conftest.$ac_objext'
42523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42524 (eval $ac_try) 2>&5
42525 ac_status=$?
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); }; }; then
42528 glibcxx_cv_func__atan2l_use=yes
42529 else
42530 echo "$as_me: failed program was:" >&5
42531 sed 's/^/| /' conftest.$ac_ext >&5
42533 glibcxx_cv_func__atan2l_use=no
42535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42536 ac_ext=c
42537 ac_cpp='$CPP $CPPFLAGS'
42538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42546 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42547 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42549 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42551 for ac_func in _atan2l
42553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42554 echo "$as_me:$LINENO: checking for $ac_func" >&5
42555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42556 if eval "test \"\${$as_ac_var+set}\" = set"; then
42557 echo $ECHO_N "(cached) $ECHO_C" >&6
42558 else
42559 if test x$gcc_no_link = xyes; then
42560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42562 { (exit 1); exit 1; }; }
42564 cat >conftest.$ac_ext <<_ACEOF
42565 /* confdefs.h. */
42566 _ACEOF
42567 cat confdefs.h >>conftest.$ac_ext
42568 cat >>conftest.$ac_ext <<_ACEOF
42569 /* end confdefs.h. */
42570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42572 #define $ac_func innocuous_$ac_func
42574 /* System header to define __stub macros and hopefully few prototypes,
42575 which can conflict with char $ac_func (); below.
42576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42577 <limits.h> exists even on freestanding compilers. */
42579 #ifdef __STDC__
42580 # include <limits.h>
42581 #else
42582 # include <assert.h>
42583 #endif
42585 #undef $ac_func
42587 /* Override any gcc2 internal prototype to avoid an error. */
42588 #ifdef __cplusplus
42589 extern "C"
42591 #endif
42592 /* We use char because int might match the return type of a gcc2
42593 builtin and then its argument prototype would still apply. */
42594 char $ac_func ();
42595 /* The GNU C library defines this for functions which it implements
42596 to always fail with ENOSYS. Some functions are actually named
42597 something starting with __ and the normal name is an alias. */
42598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42599 choke me
42600 #else
42601 char (*f) () = $ac_func;
42602 #endif
42603 #ifdef __cplusplus
42605 #endif
42608 main ()
42610 return f != $ac_func;
42612 return 0;
42614 _ACEOF
42615 rm -f conftest.$ac_objext conftest$ac_exeext
42616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42617 (eval $ac_link) 2>conftest.er1
42618 ac_status=$?
42619 grep -v '^ *+' conftest.er1 >conftest.err
42620 rm -f conftest.er1
42621 cat conftest.err >&5
42622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42623 (exit $ac_status); } &&
42624 { ac_try='test -z "$ac_c_werror_flag"
42625 || test ! -s conftest.err'
42626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42627 (eval $ac_try) 2>&5
42628 ac_status=$?
42629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42630 (exit $ac_status); }; } &&
42631 { ac_try='test -s conftest$ac_exeext'
42632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42633 (eval $ac_try) 2>&5
42634 ac_status=$?
42635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42636 (exit $ac_status); }; }; then
42637 eval "$as_ac_var=yes"
42638 else
42639 echo "$as_me: failed program was:" >&5
42640 sed 's/^/| /' conftest.$ac_ext >&5
42642 eval "$as_ac_var=no"
42644 rm -f conftest.err conftest.$ac_objext \
42645 conftest$ac_exeext conftest.$ac_ext
42647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42649 if test `eval echo '${'$as_ac_var'}'` = yes; then
42650 cat >>confdefs.h <<_ACEOF
42651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42652 _ACEOF
42655 done
42662 echo "$as_me:$LINENO: checking for expl declaration" >&5
42663 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42664 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42665 if test "${glibcxx_cv_func_expl_use+set}" = set; then
42666 echo $ECHO_N "(cached) $ECHO_C" >&6
42667 else
42671 ac_ext=cc
42672 ac_cpp='$CXXCPP $CPPFLAGS'
42673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42677 cat >conftest.$ac_ext <<_ACEOF
42678 /* confdefs.h. */
42679 _ACEOF
42680 cat confdefs.h >>conftest.$ac_ext
42681 cat >>conftest.$ac_ext <<_ACEOF
42682 /* end confdefs.h. */
42683 #include <math.h>
42684 #ifdef HAVE_IEEEFP_H
42685 #include <ieeefp.h>
42686 #endif
42689 main ()
42691 expl(0);
42693 return 0;
42695 _ACEOF
42696 rm -f conftest.$ac_objext
42697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42698 (eval $ac_compile) 2>conftest.er1
42699 ac_status=$?
42700 grep -v '^ *+' conftest.er1 >conftest.err
42701 rm -f conftest.er1
42702 cat conftest.err >&5
42703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42704 (exit $ac_status); } &&
42705 { ac_try='test -z "$ac_cxx_werror_flag"
42706 || test ! -s conftest.err'
42707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42708 (eval $ac_try) 2>&5
42709 ac_status=$?
42710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42711 (exit $ac_status); }; } &&
42712 { ac_try='test -s conftest.$ac_objext'
42713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42714 (eval $ac_try) 2>&5
42715 ac_status=$?
42716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42717 (exit $ac_status); }; }; then
42718 glibcxx_cv_func_expl_use=yes
42719 else
42720 echo "$as_me: failed program was:" >&5
42721 sed 's/^/| /' conftest.$ac_ext >&5
42723 glibcxx_cv_func_expl_use=no
42725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42726 ac_ext=c
42727 ac_cpp='$CPP $CPPFLAGS'
42728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42736 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42737 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42739 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42741 for ac_func in expl
42743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42744 echo "$as_me:$LINENO: checking for $ac_func" >&5
42745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42746 if eval "test \"\${$as_ac_var+set}\" = set"; then
42747 echo $ECHO_N "(cached) $ECHO_C" >&6
42748 else
42749 if test x$gcc_no_link = xyes; then
42750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42752 { (exit 1); exit 1; }; }
42754 cat >conftest.$ac_ext <<_ACEOF
42755 /* confdefs.h. */
42756 _ACEOF
42757 cat confdefs.h >>conftest.$ac_ext
42758 cat >>conftest.$ac_ext <<_ACEOF
42759 /* end confdefs.h. */
42760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42762 #define $ac_func innocuous_$ac_func
42764 /* System header to define __stub macros and hopefully few prototypes,
42765 which can conflict with char $ac_func (); below.
42766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42767 <limits.h> exists even on freestanding compilers. */
42769 #ifdef __STDC__
42770 # include <limits.h>
42771 #else
42772 # include <assert.h>
42773 #endif
42775 #undef $ac_func
42777 /* Override any gcc2 internal prototype to avoid an error. */
42778 #ifdef __cplusplus
42779 extern "C"
42781 #endif
42782 /* We use char because int might match the return type of a gcc2
42783 builtin and then its argument prototype would still apply. */
42784 char $ac_func ();
42785 /* The GNU C library defines this for functions which it implements
42786 to always fail with ENOSYS. Some functions are actually named
42787 something starting with __ and the normal name is an alias. */
42788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42789 choke me
42790 #else
42791 char (*f) () = $ac_func;
42792 #endif
42793 #ifdef __cplusplus
42795 #endif
42798 main ()
42800 return f != $ac_func;
42802 return 0;
42804 _ACEOF
42805 rm -f conftest.$ac_objext conftest$ac_exeext
42806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42807 (eval $ac_link) 2>conftest.er1
42808 ac_status=$?
42809 grep -v '^ *+' conftest.er1 >conftest.err
42810 rm -f conftest.er1
42811 cat conftest.err >&5
42812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42813 (exit $ac_status); } &&
42814 { ac_try='test -z "$ac_c_werror_flag"
42815 || test ! -s conftest.err'
42816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42817 (eval $ac_try) 2>&5
42818 ac_status=$?
42819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42820 (exit $ac_status); }; } &&
42821 { ac_try='test -s conftest$ac_exeext'
42822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42823 (eval $ac_try) 2>&5
42824 ac_status=$?
42825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42826 (exit $ac_status); }; }; then
42827 eval "$as_ac_var=yes"
42828 else
42829 echo "$as_me: failed program was:" >&5
42830 sed 's/^/| /' conftest.$ac_ext >&5
42832 eval "$as_ac_var=no"
42834 rm -f conftest.err conftest.$ac_objext \
42835 conftest$ac_exeext conftest.$ac_ext
42837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42839 if test `eval echo '${'$as_ac_var'}'` = yes; then
42840 cat >>confdefs.h <<_ACEOF
42841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42842 _ACEOF
42845 done
42847 else
42849 echo "$as_me:$LINENO: checking for _expl declaration" >&5
42850 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42851 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42852 if test "${glibcxx_cv_func__expl_use+set}" = set; then
42853 echo $ECHO_N "(cached) $ECHO_C" >&6
42854 else
42858 ac_ext=cc
42859 ac_cpp='$CXXCPP $CPPFLAGS'
42860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42864 cat >conftest.$ac_ext <<_ACEOF
42865 /* confdefs.h. */
42866 _ACEOF
42867 cat confdefs.h >>conftest.$ac_ext
42868 cat >>conftest.$ac_ext <<_ACEOF
42869 /* end confdefs.h. */
42870 #include <math.h>
42871 #ifdef HAVE_IEEEFP_H
42872 #include <ieeefp.h>
42873 #endif
42876 main ()
42878 _expl(0);
42880 return 0;
42882 _ACEOF
42883 rm -f conftest.$ac_objext
42884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42885 (eval $ac_compile) 2>conftest.er1
42886 ac_status=$?
42887 grep -v '^ *+' conftest.er1 >conftest.err
42888 rm -f conftest.er1
42889 cat conftest.err >&5
42890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891 (exit $ac_status); } &&
42892 { ac_try='test -z "$ac_cxx_werror_flag"
42893 || test ! -s conftest.err'
42894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42895 (eval $ac_try) 2>&5
42896 ac_status=$?
42897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42898 (exit $ac_status); }; } &&
42899 { ac_try='test -s conftest.$ac_objext'
42900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42901 (eval $ac_try) 2>&5
42902 ac_status=$?
42903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42904 (exit $ac_status); }; }; then
42905 glibcxx_cv_func__expl_use=yes
42906 else
42907 echo "$as_me: failed program was:" >&5
42908 sed 's/^/| /' conftest.$ac_ext >&5
42910 glibcxx_cv_func__expl_use=no
42912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42913 ac_ext=c
42914 ac_cpp='$CPP $CPPFLAGS'
42915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42923 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42924 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42926 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42928 for ac_func in _expl
42930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42931 echo "$as_me:$LINENO: checking for $ac_func" >&5
42932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42933 if eval "test \"\${$as_ac_var+set}\" = set"; then
42934 echo $ECHO_N "(cached) $ECHO_C" >&6
42935 else
42936 if test x$gcc_no_link = xyes; then
42937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42939 { (exit 1); exit 1; }; }
42941 cat >conftest.$ac_ext <<_ACEOF
42942 /* confdefs.h. */
42943 _ACEOF
42944 cat confdefs.h >>conftest.$ac_ext
42945 cat >>conftest.$ac_ext <<_ACEOF
42946 /* end confdefs.h. */
42947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42949 #define $ac_func innocuous_$ac_func
42951 /* System header to define __stub macros and hopefully few prototypes,
42952 which can conflict with char $ac_func (); below.
42953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42954 <limits.h> exists even on freestanding compilers. */
42956 #ifdef __STDC__
42957 # include <limits.h>
42958 #else
42959 # include <assert.h>
42960 #endif
42962 #undef $ac_func
42964 /* Override any gcc2 internal prototype to avoid an error. */
42965 #ifdef __cplusplus
42966 extern "C"
42968 #endif
42969 /* We use char because int might match the return type of a gcc2
42970 builtin and then its argument prototype would still apply. */
42971 char $ac_func ();
42972 /* The GNU C library defines this for functions which it implements
42973 to always fail with ENOSYS. Some functions are actually named
42974 something starting with __ and the normal name is an alias. */
42975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42976 choke me
42977 #else
42978 char (*f) () = $ac_func;
42979 #endif
42980 #ifdef __cplusplus
42982 #endif
42985 main ()
42987 return f != $ac_func;
42989 return 0;
42991 _ACEOF
42992 rm -f conftest.$ac_objext conftest$ac_exeext
42993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42994 (eval $ac_link) 2>conftest.er1
42995 ac_status=$?
42996 grep -v '^ *+' conftest.er1 >conftest.err
42997 rm -f conftest.er1
42998 cat conftest.err >&5
42999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43000 (exit $ac_status); } &&
43001 { ac_try='test -z "$ac_c_werror_flag"
43002 || test ! -s conftest.err'
43003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43004 (eval $ac_try) 2>&5
43005 ac_status=$?
43006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43007 (exit $ac_status); }; } &&
43008 { ac_try='test -s conftest$ac_exeext'
43009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43010 (eval $ac_try) 2>&5
43011 ac_status=$?
43012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43013 (exit $ac_status); }; }; then
43014 eval "$as_ac_var=yes"
43015 else
43016 echo "$as_me: failed program was:" >&5
43017 sed 's/^/| /' conftest.$ac_ext >&5
43019 eval "$as_ac_var=no"
43021 rm -f conftest.err conftest.$ac_objext \
43022 conftest$ac_exeext conftest.$ac_ext
43024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43026 if test `eval echo '${'$as_ac_var'}'` = yes; then
43027 cat >>confdefs.h <<_ACEOF
43028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43029 _ACEOF
43032 done
43039 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43040 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43041 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43042 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43043 echo $ECHO_N "(cached) $ECHO_C" >&6
43044 else
43048 ac_ext=cc
43049 ac_cpp='$CXXCPP $CPPFLAGS'
43050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43054 cat >conftest.$ac_ext <<_ACEOF
43055 /* confdefs.h. */
43056 _ACEOF
43057 cat confdefs.h >>conftest.$ac_ext
43058 cat >>conftest.$ac_ext <<_ACEOF
43059 /* end confdefs.h. */
43060 #include <math.h>
43061 #ifdef HAVE_IEEEFP_H
43062 #include <ieeefp.h>
43063 #endif
43066 main ()
43068 fabsl(0);
43070 return 0;
43072 _ACEOF
43073 rm -f conftest.$ac_objext
43074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43075 (eval $ac_compile) 2>conftest.er1
43076 ac_status=$?
43077 grep -v '^ *+' conftest.er1 >conftest.err
43078 rm -f conftest.er1
43079 cat conftest.err >&5
43080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43081 (exit $ac_status); } &&
43082 { ac_try='test -z "$ac_cxx_werror_flag"
43083 || test ! -s conftest.err'
43084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43085 (eval $ac_try) 2>&5
43086 ac_status=$?
43087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088 (exit $ac_status); }; } &&
43089 { ac_try='test -s conftest.$ac_objext'
43090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43091 (eval $ac_try) 2>&5
43092 ac_status=$?
43093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43094 (exit $ac_status); }; }; then
43095 glibcxx_cv_func_fabsl_use=yes
43096 else
43097 echo "$as_me: failed program was:" >&5
43098 sed 's/^/| /' conftest.$ac_ext >&5
43100 glibcxx_cv_func_fabsl_use=no
43102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43103 ac_ext=c
43104 ac_cpp='$CPP $CPPFLAGS'
43105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43114 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43116 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43118 for ac_func in fabsl
43120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43121 echo "$as_me:$LINENO: checking for $ac_func" >&5
43122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43123 if eval "test \"\${$as_ac_var+set}\" = set"; then
43124 echo $ECHO_N "(cached) $ECHO_C" >&6
43125 else
43126 if test x$gcc_no_link = xyes; then
43127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43129 { (exit 1); exit 1; }; }
43131 cat >conftest.$ac_ext <<_ACEOF
43132 /* confdefs.h. */
43133 _ACEOF
43134 cat confdefs.h >>conftest.$ac_ext
43135 cat >>conftest.$ac_ext <<_ACEOF
43136 /* end confdefs.h. */
43137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43139 #define $ac_func innocuous_$ac_func
43141 /* System header to define __stub macros and hopefully few prototypes,
43142 which can conflict with char $ac_func (); below.
43143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43144 <limits.h> exists even on freestanding compilers. */
43146 #ifdef __STDC__
43147 # include <limits.h>
43148 #else
43149 # include <assert.h>
43150 #endif
43152 #undef $ac_func
43154 /* Override any gcc2 internal prototype to avoid an error. */
43155 #ifdef __cplusplus
43156 extern "C"
43158 #endif
43159 /* We use char because int might match the return type of a gcc2
43160 builtin and then its argument prototype would still apply. */
43161 char $ac_func ();
43162 /* The GNU C library defines this for functions which it implements
43163 to always fail with ENOSYS. Some functions are actually named
43164 something starting with __ and the normal name is an alias. */
43165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43166 choke me
43167 #else
43168 char (*f) () = $ac_func;
43169 #endif
43170 #ifdef __cplusplus
43172 #endif
43175 main ()
43177 return f != $ac_func;
43179 return 0;
43181 _ACEOF
43182 rm -f conftest.$ac_objext conftest$ac_exeext
43183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43184 (eval $ac_link) 2>conftest.er1
43185 ac_status=$?
43186 grep -v '^ *+' conftest.er1 >conftest.err
43187 rm -f conftest.er1
43188 cat conftest.err >&5
43189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43190 (exit $ac_status); } &&
43191 { ac_try='test -z "$ac_c_werror_flag"
43192 || test ! -s conftest.err'
43193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43194 (eval $ac_try) 2>&5
43195 ac_status=$?
43196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43197 (exit $ac_status); }; } &&
43198 { ac_try='test -s conftest$ac_exeext'
43199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43200 (eval $ac_try) 2>&5
43201 ac_status=$?
43202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); }; }; then
43204 eval "$as_ac_var=yes"
43205 else
43206 echo "$as_me: failed program was:" >&5
43207 sed 's/^/| /' conftest.$ac_ext >&5
43209 eval "$as_ac_var=no"
43211 rm -f conftest.err conftest.$ac_objext \
43212 conftest$ac_exeext conftest.$ac_ext
43214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43216 if test `eval echo '${'$as_ac_var'}'` = yes; then
43217 cat >>confdefs.h <<_ACEOF
43218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43219 _ACEOF
43222 done
43224 else
43226 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43227 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43228 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43229 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43230 echo $ECHO_N "(cached) $ECHO_C" >&6
43231 else
43235 ac_ext=cc
43236 ac_cpp='$CXXCPP $CPPFLAGS'
43237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43241 cat >conftest.$ac_ext <<_ACEOF
43242 /* confdefs.h. */
43243 _ACEOF
43244 cat confdefs.h >>conftest.$ac_ext
43245 cat >>conftest.$ac_ext <<_ACEOF
43246 /* end confdefs.h. */
43247 #include <math.h>
43248 #ifdef HAVE_IEEEFP_H
43249 #include <ieeefp.h>
43250 #endif
43253 main ()
43255 _fabsl(0);
43257 return 0;
43259 _ACEOF
43260 rm -f conftest.$ac_objext
43261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43262 (eval $ac_compile) 2>conftest.er1
43263 ac_status=$?
43264 grep -v '^ *+' conftest.er1 >conftest.err
43265 rm -f conftest.er1
43266 cat conftest.err >&5
43267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43268 (exit $ac_status); } &&
43269 { ac_try='test -z "$ac_cxx_werror_flag"
43270 || test ! -s conftest.err'
43271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43272 (eval $ac_try) 2>&5
43273 ac_status=$?
43274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43275 (exit $ac_status); }; } &&
43276 { ac_try='test -s conftest.$ac_objext'
43277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43278 (eval $ac_try) 2>&5
43279 ac_status=$?
43280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43281 (exit $ac_status); }; }; then
43282 glibcxx_cv_func__fabsl_use=yes
43283 else
43284 echo "$as_me: failed program was:" >&5
43285 sed 's/^/| /' conftest.$ac_ext >&5
43287 glibcxx_cv_func__fabsl_use=no
43289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43290 ac_ext=c
43291 ac_cpp='$CPP $CPPFLAGS'
43292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43301 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43303 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43305 for ac_func in _fabsl
43307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43308 echo "$as_me:$LINENO: checking for $ac_func" >&5
43309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43310 if eval "test \"\${$as_ac_var+set}\" = set"; then
43311 echo $ECHO_N "(cached) $ECHO_C" >&6
43312 else
43313 if test x$gcc_no_link = xyes; then
43314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43316 { (exit 1); exit 1; }; }
43318 cat >conftest.$ac_ext <<_ACEOF
43319 /* confdefs.h. */
43320 _ACEOF
43321 cat confdefs.h >>conftest.$ac_ext
43322 cat >>conftest.$ac_ext <<_ACEOF
43323 /* end confdefs.h. */
43324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43326 #define $ac_func innocuous_$ac_func
43328 /* System header to define __stub macros and hopefully few prototypes,
43329 which can conflict with char $ac_func (); below.
43330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43331 <limits.h> exists even on freestanding compilers. */
43333 #ifdef __STDC__
43334 # include <limits.h>
43335 #else
43336 # include <assert.h>
43337 #endif
43339 #undef $ac_func
43341 /* Override any gcc2 internal prototype to avoid an error. */
43342 #ifdef __cplusplus
43343 extern "C"
43345 #endif
43346 /* We use char because int might match the return type of a gcc2
43347 builtin and then its argument prototype would still apply. */
43348 char $ac_func ();
43349 /* The GNU C library defines this for functions which it implements
43350 to always fail with ENOSYS. Some functions are actually named
43351 something starting with __ and the normal name is an alias. */
43352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43353 choke me
43354 #else
43355 char (*f) () = $ac_func;
43356 #endif
43357 #ifdef __cplusplus
43359 #endif
43362 main ()
43364 return f != $ac_func;
43366 return 0;
43368 _ACEOF
43369 rm -f conftest.$ac_objext conftest$ac_exeext
43370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43371 (eval $ac_link) 2>conftest.er1
43372 ac_status=$?
43373 grep -v '^ *+' conftest.er1 >conftest.err
43374 rm -f conftest.er1
43375 cat conftest.err >&5
43376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43377 (exit $ac_status); } &&
43378 { ac_try='test -z "$ac_c_werror_flag"
43379 || test ! -s conftest.err'
43380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43381 (eval $ac_try) 2>&5
43382 ac_status=$?
43383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43384 (exit $ac_status); }; } &&
43385 { ac_try='test -s conftest$ac_exeext'
43386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43387 (eval $ac_try) 2>&5
43388 ac_status=$?
43389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43390 (exit $ac_status); }; }; then
43391 eval "$as_ac_var=yes"
43392 else
43393 echo "$as_me: failed program was:" >&5
43394 sed 's/^/| /' conftest.$ac_ext >&5
43396 eval "$as_ac_var=no"
43398 rm -f conftest.err conftest.$ac_objext \
43399 conftest$ac_exeext conftest.$ac_ext
43401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43403 if test `eval echo '${'$as_ac_var'}'` = yes; then
43404 cat >>confdefs.h <<_ACEOF
43405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43406 _ACEOF
43409 done
43416 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43417 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43418 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43419 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43420 echo $ECHO_N "(cached) $ECHO_C" >&6
43421 else
43425 ac_ext=cc
43426 ac_cpp='$CXXCPP $CPPFLAGS'
43427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43431 cat >conftest.$ac_ext <<_ACEOF
43432 /* confdefs.h. */
43433 _ACEOF
43434 cat confdefs.h >>conftest.$ac_ext
43435 cat >>conftest.$ac_ext <<_ACEOF
43436 /* end confdefs.h. */
43437 #include <math.h>
43439 main ()
43441 fmodl(0, 0);
43443 return 0;
43445 _ACEOF
43446 rm -f conftest.$ac_objext
43447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43448 (eval $ac_compile) 2>conftest.er1
43449 ac_status=$?
43450 grep -v '^ *+' conftest.er1 >conftest.err
43451 rm -f conftest.er1
43452 cat conftest.err >&5
43453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43454 (exit $ac_status); } &&
43455 { ac_try='test -z "$ac_cxx_werror_flag"
43456 || test ! -s conftest.err'
43457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43458 (eval $ac_try) 2>&5
43459 ac_status=$?
43460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43461 (exit $ac_status); }; } &&
43462 { ac_try='test -s conftest.$ac_objext'
43463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43464 (eval $ac_try) 2>&5
43465 ac_status=$?
43466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43467 (exit $ac_status); }; }; then
43468 glibcxx_cv_func_fmodl_use=yes
43469 else
43470 echo "$as_me: failed program was:" >&5
43471 sed 's/^/| /' conftest.$ac_ext >&5
43473 glibcxx_cv_func_fmodl_use=no
43475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43476 ac_ext=c
43477 ac_cpp='$CPP $CPPFLAGS'
43478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43486 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43487 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43489 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43491 for ac_func in fmodl
43493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43494 echo "$as_me:$LINENO: checking for $ac_func" >&5
43495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43496 if eval "test \"\${$as_ac_var+set}\" = set"; then
43497 echo $ECHO_N "(cached) $ECHO_C" >&6
43498 else
43499 if test x$gcc_no_link = xyes; then
43500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43502 { (exit 1); exit 1; }; }
43504 cat >conftest.$ac_ext <<_ACEOF
43505 /* confdefs.h. */
43506 _ACEOF
43507 cat confdefs.h >>conftest.$ac_ext
43508 cat >>conftest.$ac_ext <<_ACEOF
43509 /* end confdefs.h. */
43510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43512 #define $ac_func innocuous_$ac_func
43514 /* System header to define __stub macros and hopefully few prototypes,
43515 which can conflict with char $ac_func (); below.
43516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43517 <limits.h> exists even on freestanding compilers. */
43519 #ifdef __STDC__
43520 # include <limits.h>
43521 #else
43522 # include <assert.h>
43523 #endif
43525 #undef $ac_func
43527 /* Override any gcc2 internal prototype to avoid an error. */
43528 #ifdef __cplusplus
43529 extern "C"
43531 #endif
43532 /* We use char because int might match the return type of a gcc2
43533 builtin and then its argument prototype would still apply. */
43534 char $ac_func ();
43535 /* The GNU C library defines this for functions which it implements
43536 to always fail with ENOSYS. Some functions are actually named
43537 something starting with __ and the normal name is an alias. */
43538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43539 choke me
43540 #else
43541 char (*f) () = $ac_func;
43542 #endif
43543 #ifdef __cplusplus
43545 #endif
43548 main ()
43550 return f != $ac_func;
43552 return 0;
43554 _ACEOF
43555 rm -f conftest.$ac_objext conftest$ac_exeext
43556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43557 (eval $ac_link) 2>conftest.er1
43558 ac_status=$?
43559 grep -v '^ *+' conftest.er1 >conftest.err
43560 rm -f conftest.er1
43561 cat conftest.err >&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); } &&
43564 { ac_try='test -z "$ac_c_werror_flag"
43565 || test ! -s conftest.err'
43566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43567 (eval $ac_try) 2>&5
43568 ac_status=$?
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); }; } &&
43571 { ac_try='test -s conftest$ac_exeext'
43572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43573 (eval $ac_try) 2>&5
43574 ac_status=$?
43575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43576 (exit $ac_status); }; }; then
43577 eval "$as_ac_var=yes"
43578 else
43579 echo "$as_me: failed program was:" >&5
43580 sed 's/^/| /' conftest.$ac_ext >&5
43582 eval "$as_ac_var=no"
43584 rm -f conftest.err conftest.$ac_objext \
43585 conftest$ac_exeext conftest.$ac_ext
43587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43589 if test `eval echo '${'$as_ac_var'}'` = yes; then
43590 cat >>confdefs.h <<_ACEOF
43591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43592 _ACEOF
43595 done
43597 else
43599 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43600 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43601 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43602 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43603 echo $ECHO_N "(cached) $ECHO_C" >&6
43604 else
43608 ac_ext=cc
43609 ac_cpp='$CXXCPP $CPPFLAGS'
43610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43614 cat >conftest.$ac_ext <<_ACEOF
43615 /* confdefs.h. */
43616 _ACEOF
43617 cat confdefs.h >>conftest.$ac_ext
43618 cat >>conftest.$ac_ext <<_ACEOF
43619 /* end confdefs.h. */
43620 #include <math.h>
43622 main ()
43624 _fmodl(0, 0);
43626 return 0;
43628 _ACEOF
43629 rm -f conftest.$ac_objext
43630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43631 (eval $ac_compile) 2>conftest.er1
43632 ac_status=$?
43633 grep -v '^ *+' conftest.er1 >conftest.err
43634 rm -f conftest.er1
43635 cat conftest.err >&5
43636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43637 (exit $ac_status); } &&
43638 { ac_try='test -z "$ac_cxx_werror_flag"
43639 || test ! -s conftest.err'
43640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43641 (eval $ac_try) 2>&5
43642 ac_status=$?
43643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43644 (exit $ac_status); }; } &&
43645 { ac_try='test -s conftest.$ac_objext'
43646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43647 (eval $ac_try) 2>&5
43648 ac_status=$?
43649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43650 (exit $ac_status); }; }; then
43651 glibcxx_cv_func__fmodl_use=yes
43652 else
43653 echo "$as_me: failed program was:" >&5
43654 sed 's/^/| /' conftest.$ac_ext >&5
43656 glibcxx_cv_func__fmodl_use=no
43658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43659 ac_ext=c
43660 ac_cpp='$CPP $CPPFLAGS'
43661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43670 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43672 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43674 for ac_func in _fmodl
43676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43677 echo "$as_me:$LINENO: checking for $ac_func" >&5
43678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43679 if eval "test \"\${$as_ac_var+set}\" = set"; then
43680 echo $ECHO_N "(cached) $ECHO_C" >&6
43681 else
43682 if test x$gcc_no_link = xyes; then
43683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43685 { (exit 1); exit 1; }; }
43687 cat >conftest.$ac_ext <<_ACEOF
43688 /* confdefs.h. */
43689 _ACEOF
43690 cat confdefs.h >>conftest.$ac_ext
43691 cat >>conftest.$ac_ext <<_ACEOF
43692 /* end confdefs.h. */
43693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43695 #define $ac_func innocuous_$ac_func
43697 /* System header to define __stub macros and hopefully few prototypes,
43698 which can conflict with char $ac_func (); below.
43699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43700 <limits.h> exists even on freestanding compilers. */
43702 #ifdef __STDC__
43703 # include <limits.h>
43704 #else
43705 # include <assert.h>
43706 #endif
43708 #undef $ac_func
43710 /* Override any gcc2 internal prototype to avoid an error. */
43711 #ifdef __cplusplus
43712 extern "C"
43714 #endif
43715 /* We use char because int might match the return type of a gcc2
43716 builtin and then its argument prototype would still apply. */
43717 char $ac_func ();
43718 /* The GNU C library defines this for functions which it implements
43719 to always fail with ENOSYS. Some functions are actually named
43720 something starting with __ and the normal name is an alias. */
43721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43722 choke me
43723 #else
43724 char (*f) () = $ac_func;
43725 #endif
43726 #ifdef __cplusplus
43728 #endif
43731 main ()
43733 return f != $ac_func;
43735 return 0;
43737 _ACEOF
43738 rm -f conftest.$ac_objext conftest$ac_exeext
43739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43740 (eval $ac_link) 2>conftest.er1
43741 ac_status=$?
43742 grep -v '^ *+' conftest.er1 >conftest.err
43743 rm -f conftest.er1
43744 cat conftest.err >&5
43745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43746 (exit $ac_status); } &&
43747 { ac_try='test -z "$ac_c_werror_flag"
43748 || test ! -s conftest.err'
43749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43750 (eval $ac_try) 2>&5
43751 ac_status=$?
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); }; } &&
43754 { ac_try='test -s conftest$ac_exeext'
43755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43756 (eval $ac_try) 2>&5
43757 ac_status=$?
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); }; }; then
43760 eval "$as_ac_var=yes"
43761 else
43762 echo "$as_me: failed program was:" >&5
43763 sed 's/^/| /' conftest.$ac_ext >&5
43765 eval "$as_ac_var=no"
43767 rm -f conftest.err conftest.$ac_objext \
43768 conftest$ac_exeext conftest.$ac_ext
43770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43772 if test `eval echo '${'$as_ac_var'}'` = yes; then
43773 cat >>confdefs.h <<_ACEOF
43774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43775 _ACEOF
43778 done
43785 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43786 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43787 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43788 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43789 echo $ECHO_N "(cached) $ECHO_C" >&6
43790 else
43794 ac_ext=cc
43795 ac_cpp='$CXXCPP $CPPFLAGS'
43796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43800 cat >conftest.$ac_ext <<_ACEOF
43801 /* confdefs.h. */
43802 _ACEOF
43803 cat confdefs.h >>conftest.$ac_ext
43804 cat >>conftest.$ac_ext <<_ACEOF
43805 /* end confdefs.h. */
43806 #include <math.h>
43808 main ()
43810 frexpl(0, 0);
43812 return 0;
43814 _ACEOF
43815 rm -f conftest.$ac_objext
43816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43817 (eval $ac_compile) 2>conftest.er1
43818 ac_status=$?
43819 grep -v '^ *+' conftest.er1 >conftest.err
43820 rm -f conftest.er1
43821 cat conftest.err >&5
43822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43823 (exit $ac_status); } &&
43824 { ac_try='test -z "$ac_cxx_werror_flag"
43825 || test ! -s conftest.err'
43826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43827 (eval $ac_try) 2>&5
43828 ac_status=$?
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); }; } &&
43831 { ac_try='test -s conftest.$ac_objext'
43832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43833 (eval $ac_try) 2>&5
43834 ac_status=$?
43835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43836 (exit $ac_status); }; }; then
43837 glibcxx_cv_func_frexpl_use=yes
43838 else
43839 echo "$as_me: failed program was:" >&5
43840 sed 's/^/| /' conftest.$ac_ext >&5
43842 glibcxx_cv_func_frexpl_use=no
43844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43845 ac_ext=c
43846 ac_cpp='$CPP $CPPFLAGS'
43847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43855 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43856 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43858 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43860 for ac_func in frexpl
43862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43863 echo "$as_me:$LINENO: checking for $ac_func" >&5
43864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43865 if eval "test \"\${$as_ac_var+set}\" = set"; then
43866 echo $ECHO_N "(cached) $ECHO_C" >&6
43867 else
43868 if test x$gcc_no_link = xyes; then
43869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43871 { (exit 1); exit 1; }; }
43873 cat >conftest.$ac_ext <<_ACEOF
43874 /* confdefs.h. */
43875 _ACEOF
43876 cat confdefs.h >>conftest.$ac_ext
43877 cat >>conftest.$ac_ext <<_ACEOF
43878 /* end confdefs.h. */
43879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43881 #define $ac_func innocuous_$ac_func
43883 /* System header to define __stub macros and hopefully few prototypes,
43884 which can conflict with char $ac_func (); below.
43885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43886 <limits.h> exists even on freestanding compilers. */
43888 #ifdef __STDC__
43889 # include <limits.h>
43890 #else
43891 # include <assert.h>
43892 #endif
43894 #undef $ac_func
43896 /* Override any gcc2 internal prototype to avoid an error. */
43897 #ifdef __cplusplus
43898 extern "C"
43900 #endif
43901 /* We use char because int might match the return type of a gcc2
43902 builtin and then its argument prototype would still apply. */
43903 char $ac_func ();
43904 /* The GNU C library defines this for functions which it implements
43905 to always fail with ENOSYS. Some functions are actually named
43906 something starting with __ and the normal name is an alias. */
43907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43908 choke me
43909 #else
43910 char (*f) () = $ac_func;
43911 #endif
43912 #ifdef __cplusplus
43914 #endif
43917 main ()
43919 return f != $ac_func;
43921 return 0;
43923 _ACEOF
43924 rm -f conftest.$ac_objext conftest$ac_exeext
43925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43926 (eval $ac_link) 2>conftest.er1
43927 ac_status=$?
43928 grep -v '^ *+' conftest.er1 >conftest.err
43929 rm -f conftest.er1
43930 cat conftest.err >&5
43931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43932 (exit $ac_status); } &&
43933 { ac_try='test -z "$ac_c_werror_flag"
43934 || test ! -s conftest.err'
43935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43936 (eval $ac_try) 2>&5
43937 ac_status=$?
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); }; } &&
43940 { ac_try='test -s conftest$ac_exeext'
43941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43942 (eval $ac_try) 2>&5
43943 ac_status=$?
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); }; }; then
43946 eval "$as_ac_var=yes"
43947 else
43948 echo "$as_me: failed program was:" >&5
43949 sed 's/^/| /' conftest.$ac_ext >&5
43951 eval "$as_ac_var=no"
43953 rm -f conftest.err conftest.$ac_objext \
43954 conftest$ac_exeext conftest.$ac_ext
43956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43958 if test `eval echo '${'$as_ac_var'}'` = yes; then
43959 cat >>confdefs.h <<_ACEOF
43960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43961 _ACEOF
43964 done
43966 else
43968 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43969 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43970 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43971 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43972 echo $ECHO_N "(cached) $ECHO_C" >&6
43973 else
43977 ac_ext=cc
43978 ac_cpp='$CXXCPP $CPPFLAGS'
43979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43983 cat >conftest.$ac_ext <<_ACEOF
43984 /* confdefs.h. */
43985 _ACEOF
43986 cat confdefs.h >>conftest.$ac_ext
43987 cat >>conftest.$ac_ext <<_ACEOF
43988 /* end confdefs.h. */
43989 #include <math.h>
43991 main ()
43993 _frexpl(0, 0);
43995 return 0;
43997 _ACEOF
43998 rm -f conftest.$ac_objext
43999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44000 (eval $ac_compile) 2>conftest.er1
44001 ac_status=$?
44002 grep -v '^ *+' conftest.er1 >conftest.err
44003 rm -f conftest.er1
44004 cat conftest.err >&5
44005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44006 (exit $ac_status); } &&
44007 { ac_try='test -z "$ac_cxx_werror_flag"
44008 || test ! -s conftest.err'
44009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44010 (eval $ac_try) 2>&5
44011 ac_status=$?
44012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44013 (exit $ac_status); }; } &&
44014 { ac_try='test -s conftest.$ac_objext'
44015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44016 (eval $ac_try) 2>&5
44017 ac_status=$?
44018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44019 (exit $ac_status); }; }; then
44020 glibcxx_cv_func__frexpl_use=yes
44021 else
44022 echo "$as_me: failed program was:" >&5
44023 sed 's/^/| /' conftest.$ac_ext >&5
44025 glibcxx_cv_func__frexpl_use=no
44027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44028 ac_ext=c
44029 ac_cpp='$CPP $CPPFLAGS'
44030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44038 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44039 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44041 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44043 for ac_func in _frexpl
44045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44046 echo "$as_me:$LINENO: checking for $ac_func" >&5
44047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44048 if eval "test \"\${$as_ac_var+set}\" = set"; then
44049 echo $ECHO_N "(cached) $ECHO_C" >&6
44050 else
44051 if test x$gcc_no_link = xyes; then
44052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44054 { (exit 1); exit 1; }; }
44056 cat >conftest.$ac_ext <<_ACEOF
44057 /* confdefs.h. */
44058 _ACEOF
44059 cat confdefs.h >>conftest.$ac_ext
44060 cat >>conftest.$ac_ext <<_ACEOF
44061 /* end confdefs.h. */
44062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44064 #define $ac_func innocuous_$ac_func
44066 /* System header to define __stub macros and hopefully few prototypes,
44067 which can conflict with char $ac_func (); below.
44068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44069 <limits.h> exists even on freestanding compilers. */
44071 #ifdef __STDC__
44072 # include <limits.h>
44073 #else
44074 # include <assert.h>
44075 #endif
44077 #undef $ac_func
44079 /* Override any gcc2 internal prototype to avoid an error. */
44080 #ifdef __cplusplus
44081 extern "C"
44083 #endif
44084 /* We use char because int might match the return type of a gcc2
44085 builtin and then its argument prototype would still apply. */
44086 char $ac_func ();
44087 /* The GNU C library defines this for functions which it implements
44088 to always fail with ENOSYS. Some functions are actually named
44089 something starting with __ and the normal name is an alias. */
44090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44091 choke me
44092 #else
44093 char (*f) () = $ac_func;
44094 #endif
44095 #ifdef __cplusplus
44097 #endif
44100 main ()
44102 return f != $ac_func;
44104 return 0;
44106 _ACEOF
44107 rm -f conftest.$ac_objext conftest$ac_exeext
44108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44109 (eval $ac_link) 2>conftest.er1
44110 ac_status=$?
44111 grep -v '^ *+' conftest.er1 >conftest.err
44112 rm -f conftest.er1
44113 cat conftest.err >&5
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); } &&
44116 { ac_try='test -z "$ac_c_werror_flag"
44117 || test ! -s conftest.err'
44118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44119 (eval $ac_try) 2>&5
44120 ac_status=$?
44121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44122 (exit $ac_status); }; } &&
44123 { ac_try='test -s conftest$ac_exeext'
44124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44125 (eval $ac_try) 2>&5
44126 ac_status=$?
44127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44128 (exit $ac_status); }; }; then
44129 eval "$as_ac_var=yes"
44130 else
44131 echo "$as_me: failed program was:" >&5
44132 sed 's/^/| /' conftest.$ac_ext >&5
44134 eval "$as_ac_var=no"
44136 rm -f conftest.err conftest.$ac_objext \
44137 conftest$ac_exeext conftest.$ac_ext
44139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44141 if test `eval echo '${'$as_ac_var'}'` = yes; then
44142 cat >>confdefs.h <<_ACEOF
44143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44144 _ACEOF
44147 done
44154 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44155 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44156 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44157 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44158 echo $ECHO_N "(cached) $ECHO_C" >&6
44159 else
44163 ac_ext=cc
44164 ac_cpp='$CXXCPP $CPPFLAGS'
44165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44169 cat >conftest.$ac_ext <<_ACEOF
44170 /* confdefs.h. */
44171 _ACEOF
44172 cat confdefs.h >>conftest.$ac_ext
44173 cat >>conftest.$ac_ext <<_ACEOF
44174 /* end confdefs.h. */
44175 #include <math.h>
44177 main ()
44179 hypotl(0, 0);
44181 return 0;
44183 _ACEOF
44184 rm -f conftest.$ac_objext
44185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44186 (eval $ac_compile) 2>conftest.er1
44187 ac_status=$?
44188 grep -v '^ *+' conftest.er1 >conftest.err
44189 rm -f conftest.er1
44190 cat conftest.err >&5
44191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44192 (exit $ac_status); } &&
44193 { ac_try='test -z "$ac_cxx_werror_flag"
44194 || test ! -s conftest.err'
44195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44196 (eval $ac_try) 2>&5
44197 ac_status=$?
44198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44199 (exit $ac_status); }; } &&
44200 { ac_try='test -s conftest.$ac_objext'
44201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44202 (eval $ac_try) 2>&5
44203 ac_status=$?
44204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44205 (exit $ac_status); }; }; then
44206 glibcxx_cv_func_hypotl_use=yes
44207 else
44208 echo "$as_me: failed program was:" >&5
44209 sed 's/^/| /' conftest.$ac_ext >&5
44211 glibcxx_cv_func_hypotl_use=no
44213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44214 ac_ext=c
44215 ac_cpp='$CPP $CPPFLAGS'
44216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44224 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44225 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44227 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44229 for ac_func in hypotl
44231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44232 echo "$as_me:$LINENO: checking for $ac_func" >&5
44233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44234 if eval "test \"\${$as_ac_var+set}\" = set"; then
44235 echo $ECHO_N "(cached) $ECHO_C" >&6
44236 else
44237 if test x$gcc_no_link = xyes; then
44238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44240 { (exit 1); exit 1; }; }
44242 cat >conftest.$ac_ext <<_ACEOF
44243 /* confdefs.h. */
44244 _ACEOF
44245 cat confdefs.h >>conftest.$ac_ext
44246 cat >>conftest.$ac_ext <<_ACEOF
44247 /* end confdefs.h. */
44248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44250 #define $ac_func innocuous_$ac_func
44252 /* System header to define __stub macros and hopefully few prototypes,
44253 which can conflict with char $ac_func (); below.
44254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44255 <limits.h> exists even on freestanding compilers. */
44257 #ifdef __STDC__
44258 # include <limits.h>
44259 #else
44260 # include <assert.h>
44261 #endif
44263 #undef $ac_func
44265 /* Override any gcc2 internal prototype to avoid an error. */
44266 #ifdef __cplusplus
44267 extern "C"
44269 #endif
44270 /* We use char because int might match the return type of a gcc2
44271 builtin and then its argument prototype would still apply. */
44272 char $ac_func ();
44273 /* The GNU C library defines this for functions which it implements
44274 to always fail with ENOSYS. Some functions are actually named
44275 something starting with __ and the normal name is an alias. */
44276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44277 choke me
44278 #else
44279 char (*f) () = $ac_func;
44280 #endif
44281 #ifdef __cplusplus
44283 #endif
44286 main ()
44288 return f != $ac_func;
44290 return 0;
44292 _ACEOF
44293 rm -f conftest.$ac_objext conftest$ac_exeext
44294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44295 (eval $ac_link) 2>conftest.er1
44296 ac_status=$?
44297 grep -v '^ *+' conftest.er1 >conftest.err
44298 rm -f conftest.er1
44299 cat conftest.err >&5
44300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44301 (exit $ac_status); } &&
44302 { ac_try='test -z "$ac_c_werror_flag"
44303 || test ! -s conftest.err'
44304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44305 (eval $ac_try) 2>&5
44306 ac_status=$?
44307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44308 (exit $ac_status); }; } &&
44309 { ac_try='test -s conftest$ac_exeext'
44310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44311 (eval $ac_try) 2>&5
44312 ac_status=$?
44313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44314 (exit $ac_status); }; }; then
44315 eval "$as_ac_var=yes"
44316 else
44317 echo "$as_me: failed program was:" >&5
44318 sed 's/^/| /' conftest.$ac_ext >&5
44320 eval "$as_ac_var=no"
44322 rm -f conftest.err conftest.$ac_objext \
44323 conftest$ac_exeext conftest.$ac_ext
44325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44327 if test `eval echo '${'$as_ac_var'}'` = yes; then
44328 cat >>confdefs.h <<_ACEOF
44329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44330 _ACEOF
44333 done
44335 else
44337 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44338 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44339 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44340 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44341 echo $ECHO_N "(cached) $ECHO_C" >&6
44342 else
44346 ac_ext=cc
44347 ac_cpp='$CXXCPP $CPPFLAGS'
44348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44352 cat >conftest.$ac_ext <<_ACEOF
44353 /* confdefs.h. */
44354 _ACEOF
44355 cat confdefs.h >>conftest.$ac_ext
44356 cat >>conftest.$ac_ext <<_ACEOF
44357 /* end confdefs.h. */
44358 #include <math.h>
44360 main ()
44362 _hypotl(0, 0);
44364 return 0;
44366 _ACEOF
44367 rm -f conftest.$ac_objext
44368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44369 (eval $ac_compile) 2>conftest.er1
44370 ac_status=$?
44371 grep -v '^ *+' conftest.er1 >conftest.err
44372 rm -f conftest.er1
44373 cat conftest.err >&5
44374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44375 (exit $ac_status); } &&
44376 { ac_try='test -z "$ac_cxx_werror_flag"
44377 || test ! -s conftest.err'
44378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44379 (eval $ac_try) 2>&5
44380 ac_status=$?
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); }; } &&
44383 { ac_try='test -s conftest.$ac_objext'
44384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44385 (eval $ac_try) 2>&5
44386 ac_status=$?
44387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44388 (exit $ac_status); }; }; then
44389 glibcxx_cv_func__hypotl_use=yes
44390 else
44391 echo "$as_me: failed program was:" >&5
44392 sed 's/^/| /' conftest.$ac_ext >&5
44394 glibcxx_cv_func__hypotl_use=no
44396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44397 ac_ext=c
44398 ac_cpp='$CPP $CPPFLAGS'
44399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44407 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44408 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44410 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44412 for ac_func in _hypotl
44414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44415 echo "$as_me:$LINENO: checking for $ac_func" >&5
44416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44417 if eval "test \"\${$as_ac_var+set}\" = set"; then
44418 echo $ECHO_N "(cached) $ECHO_C" >&6
44419 else
44420 if test x$gcc_no_link = xyes; then
44421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44423 { (exit 1); exit 1; }; }
44425 cat >conftest.$ac_ext <<_ACEOF
44426 /* confdefs.h. */
44427 _ACEOF
44428 cat confdefs.h >>conftest.$ac_ext
44429 cat >>conftest.$ac_ext <<_ACEOF
44430 /* end confdefs.h. */
44431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44433 #define $ac_func innocuous_$ac_func
44435 /* System header to define __stub macros and hopefully few prototypes,
44436 which can conflict with char $ac_func (); below.
44437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44438 <limits.h> exists even on freestanding compilers. */
44440 #ifdef __STDC__
44441 # include <limits.h>
44442 #else
44443 # include <assert.h>
44444 #endif
44446 #undef $ac_func
44448 /* Override any gcc2 internal prototype to avoid an error. */
44449 #ifdef __cplusplus
44450 extern "C"
44452 #endif
44453 /* We use char because int might match the return type of a gcc2
44454 builtin and then its argument prototype would still apply. */
44455 char $ac_func ();
44456 /* The GNU C library defines this for functions which it implements
44457 to always fail with ENOSYS. Some functions are actually named
44458 something starting with __ and the normal name is an alias. */
44459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44460 choke me
44461 #else
44462 char (*f) () = $ac_func;
44463 #endif
44464 #ifdef __cplusplus
44466 #endif
44469 main ()
44471 return f != $ac_func;
44473 return 0;
44475 _ACEOF
44476 rm -f conftest.$ac_objext conftest$ac_exeext
44477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44478 (eval $ac_link) 2>conftest.er1
44479 ac_status=$?
44480 grep -v '^ *+' conftest.er1 >conftest.err
44481 rm -f conftest.er1
44482 cat conftest.err >&5
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); } &&
44485 { ac_try='test -z "$ac_c_werror_flag"
44486 || test ! -s conftest.err'
44487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44488 (eval $ac_try) 2>&5
44489 ac_status=$?
44490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44491 (exit $ac_status); }; } &&
44492 { ac_try='test -s conftest$ac_exeext'
44493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44494 (eval $ac_try) 2>&5
44495 ac_status=$?
44496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44497 (exit $ac_status); }; }; then
44498 eval "$as_ac_var=yes"
44499 else
44500 echo "$as_me: failed program was:" >&5
44501 sed 's/^/| /' conftest.$ac_ext >&5
44503 eval "$as_ac_var=no"
44505 rm -f conftest.err conftest.$ac_objext \
44506 conftest$ac_exeext conftest.$ac_ext
44508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44510 if test `eval echo '${'$as_ac_var'}'` = yes; then
44511 cat >>confdefs.h <<_ACEOF
44512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44513 _ACEOF
44516 done
44523 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44524 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44525 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44526 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44527 echo $ECHO_N "(cached) $ECHO_C" >&6
44528 else
44532 ac_ext=cc
44533 ac_cpp='$CXXCPP $CPPFLAGS'
44534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44538 cat >conftest.$ac_ext <<_ACEOF
44539 /* confdefs.h. */
44540 _ACEOF
44541 cat confdefs.h >>conftest.$ac_ext
44542 cat >>conftest.$ac_ext <<_ACEOF
44543 /* end confdefs.h. */
44544 #include <math.h>
44546 main ()
44548 ldexpl(0, 0);
44550 return 0;
44552 _ACEOF
44553 rm -f conftest.$ac_objext
44554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44555 (eval $ac_compile) 2>conftest.er1
44556 ac_status=$?
44557 grep -v '^ *+' conftest.er1 >conftest.err
44558 rm -f conftest.er1
44559 cat conftest.err >&5
44560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44561 (exit $ac_status); } &&
44562 { ac_try='test -z "$ac_cxx_werror_flag"
44563 || test ! -s conftest.err'
44564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44565 (eval $ac_try) 2>&5
44566 ac_status=$?
44567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44568 (exit $ac_status); }; } &&
44569 { ac_try='test -s conftest.$ac_objext'
44570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44571 (eval $ac_try) 2>&5
44572 ac_status=$?
44573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44574 (exit $ac_status); }; }; then
44575 glibcxx_cv_func_ldexpl_use=yes
44576 else
44577 echo "$as_me: failed program was:" >&5
44578 sed 's/^/| /' conftest.$ac_ext >&5
44580 glibcxx_cv_func_ldexpl_use=no
44582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44583 ac_ext=c
44584 ac_cpp='$CPP $CPPFLAGS'
44585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44594 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44596 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44598 for ac_func in ldexpl
44600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44601 echo "$as_me:$LINENO: checking for $ac_func" >&5
44602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44603 if eval "test \"\${$as_ac_var+set}\" = set"; then
44604 echo $ECHO_N "(cached) $ECHO_C" >&6
44605 else
44606 if test x$gcc_no_link = xyes; then
44607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44609 { (exit 1); exit 1; }; }
44611 cat >conftest.$ac_ext <<_ACEOF
44612 /* confdefs.h. */
44613 _ACEOF
44614 cat confdefs.h >>conftest.$ac_ext
44615 cat >>conftest.$ac_ext <<_ACEOF
44616 /* end confdefs.h. */
44617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44619 #define $ac_func innocuous_$ac_func
44621 /* System header to define __stub macros and hopefully few prototypes,
44622 which can conflict with char $ac_func (); below.
44623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44624 <limits.h> exists even on freestanding compilers. */
44626 #ifdef __STDC__
44627 # include <limits.h>
44628 #else
44629 # include <assert.h>
44630 #endif
44632 #undef $ac_func
44634 /* Override any gcc2 internal prototype to avoid an error. */
44635 #ifdef __cplusplus
44636 extern "C"
44638 #endif
44639 /* We use char because int might match the return type of a gcc2
44640 builtin and then its argument prototype would still apply. */
44641 char $ac_func ();
44642 /* The GNU C library defines this for functions which it implements
44643 to always fail with ENOSYS. Some functions are actually named
44644 something starting with __ and the normal name is an alias. */
44645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44646 choke me
44647 #else
44648 char (*f) () = $ac_func;
44649 #endif
44650 #ifdef __cplusplus
44652 #endif
44655 main ()
44657 return f != $ac_func;
44659 return 0;
44661 _ACEOF
44662 rm -f conftest.$ac_objext conftest$ac_exeext
44663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44664 (eval $ac_link) 2>conftest.er1
44665 ac_status=$?
44666 grep -v '^ *+' conftest.er1 >conftest.err
44667 rm -f conftest.er1
44668 cat conftest.err >&5
44669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44670 (exit $ac_status); } &&
44671 { ac_try='test -z "$ac_c_werror_flag"
44672 || test ! -s conftest.err'
44673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44674 (eval $ac_try) 2>&5
44675 ac_status=$?
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); }; } &&
44678 { ac_try='test -s conftest$ac_exeext'
44679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44680 (eval $ac_try) 2>&5
44681 ac_status=$?
44682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44683 (exit $ac_status); }; }; then
44684 eval "$as_ac_var=yes"
44685 else
44686 echo "$as_me: failed program was:" >&5
44687 sed 's/^/| /' conftest.$ac_ext >&5
44689 eval "$as_ac_var=no"
44691 rm -f conftest.err conftest.$ac_objext \
44692 conftest$ac_exeext conftest.$ac_ext
44694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44696 if test `eval echo '${'$as_ac_var'}'` = yes; then
44697 cat >>confdefs.h <<_ACEOF
44698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44699 _ACEOF
44702 done
44704 else
44706 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44707 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44708 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44709 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44710 echo $ECHO_N "(cached) $ECHO_C" >&6
44711 else
44715 ac_ext=cc
44716 ac_cpp='$CXXCPP $CPPFLAGS'
44717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44721 cat >conftest.$ac_ext <<_ACEOF
44722 /* confdefs.h. */
44723 _ACEOF
44724 cat confdefs.h >>conftest.$ac_ext
44725 cat >>conftest.$ac_ext <<_ACEOF
44726 /* end confdefs.h. */
44727 #include <math.h>
44729 main ()
44731 _ldexpl(0, 0);
44733 return 0;
44735 _ACEOF
44736 rm -f conftest.$ac_objext
44737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44738 (eval $ac_compile) 2>conftest.er1
44739 ac_status=$?
44740 grep -v '^ *+' conftest.er1 >conftest.err
44741 rm -f conftest.er1
44742 cat conftest.err >&5
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); } &&
44745 { ac_try='test -z "$ac_cxx_werror_flag"
44746 || test ! -s conftest.err'
44747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44748 (eval $ac_try) 2>&5
44749 ac_status=$?
44750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44751 (exit $ac_status); }; } &&
44752 { ac_try='test -s conftest.$ac_objext'
44753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44754 (eval $ac_try) 2>&5
44755 ac_status=$?
44756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44757 (exit $ac_status); }; }; then
44758 glibcxx_cv_func__ldexpl_use=yes
44759 else
44760 echo "$as_me: failed program was:" >&5
44761 sed 's/^/| /' conftest.$ac_ext >&5
44763 glibcxx_cv_func__ldexpl_use=no
44765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44766 ac_ext=c
44767 ac_cpp='$CPP $CPPFLAGS'
44768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44776 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44777 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44779 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44781 for ac_func in _ldexpl
44783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44784 echo "$as_me:$LINENO: checking for $ac_func" >&5
44785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44786 if eval "test \"\${$as_ac_var+set}\" = set"; then
44787 echo $ECHO_N "(cached) $ECHO_C" >&6
44788 else
44789 if test x$gcc_no_link = xyes; then
44790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44792 { (exit 1); exit 1; }; }
44794 cat >conftest.$ac_ext <<_ACEOF
44795 /* confdefs.h. */
44796 _ACEOF
44797 cat confdefs.h >>conftest.$ac_ext
44798 cat >>conftest.$ac_ext <<_ACEOF
44799 /* end confdefs.h. */
44800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44802 #define $ac_func innocuous_$ac_func
44804 /* System header to define __stub macros and hopefully few prototypes,
44805 which can conflict with char $ac_func (); below.
44806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44807 <limits.h> exists even on freestanding compilers. */
44809 #ifdef __STDC__
44810 # include <limits.h>
44811 #else
44812 # include <assert.h>
44813 #endif
44815 #undef $ac_func
44817 /* Override any gcc2 internal prototype to avoid an error. */
44818 #ifdef __cplusplus
44819 extern "C"
44821 #endif
44822 /* We use char because int might match the return type of a gcc2
44823 builtin and then its argument prototype would still apply. */
44824 char $ac_func ();
44825 /* The GNU C library defines this for functions which it implements
44826 to always fail with ENOSYS. Some functions are actually named
44827 something starting with __ and the normal name is an alias. */
44828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44829 choke me
44830 #else
44831 char (*f) () = $ac_func;
44832 #endif
44833 #ifdef __cplusplus
44835 #endif
44838 main ()
44840 return f != $ac_func;
44842 return 0;
44844 _ACEOF
44845 rm -f conftest.$ac_objext conftest$ac_exeext
44846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44847 (eval $ac_link) 2>conftest.er1
44848 ac_status=$?
44849 grep -v '^ *+' conftest.er1 >conftest.err
44850 rm -f conftest.er1
44851 cat conftest.err >&5
44852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44853 (exit $ac_status); } &&
44854 { ac_try='test -z "$ac_c_werror_flag"
44855 || test ! -s conftest.err'
44856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44857 (eval $ac_try) 2>&5
44858 ac_status=$?
44859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44860 (exit $ac_status); }; } &&
44861 { ac_try='test -s conftest$ac_exeext'
44862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44863 (eval $ac_try) 2>&5
44864 ac_status=$?
44865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44866 (exit $ac_status); }; }; then
44867 eval "$as_ac_var=yes"
44868 else
44869 echo "$as_me: failed program was:" >&5
44870 sed 's/^/| /' conftest.$ac_ext >&5
44872 eval "$as_ac_var=no"
44874 rm -f conftest.err conftest.$ac_objext \
44875 conftest$ac_exeext conftest.$ac_ext
44877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44879 if test `eval echo '${'$as_ac_var'}'` = yes; then
44880 cat >>confdefs.h <<_ACEOF
44881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44882 _ACEOF
44885 done
44892 echo "$as_me:$LINENO: checking for logl declaration" >&5
44893 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44894 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44895 if test "${glibcxx_cv_func_logl_use+set}" = set; then
44896 echo $ECHO_N "(cached) $ECHO_C" >&6
44897 else
44901 ac_ext=cc
44902 ac_cpp='$CXXCPP $CPPFLAGS'
44903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44907 cat >conftest.$ac_ext <<_ACEOF
44908 /* confdefs.h. */
44909 _ACEOF
44910 cat confdefs.h >>conftest.$ac_ext
44911 cat >>conftest.$ac_ext <<_ACEOF
44912 /* end confdefs.h. */
44913 #include <math.h>
44914 #ifdef HAVE_IEEEFP_H
44915 #include <ieeefp.h>
44916 #endif
44919 main ()
44921 logl(0);
44923 return 0;
44925 _ACEOF
44926 rm -f conftest.$ac_objext
44927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44928 (eval $ac_compile) 2>conftest.er1
44929 ac_status=$?
44930 grep -v '^ *+' conftest.er1 >conftest.err
44931 rm -f conftest.er1
44932 cat conftest.err >&5
44933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44934 (exit $ac_status); } &&
44935 { ac_try='test -z "$ac_cxx_werror_flag"
44936 || test ! -s conftest.err'
44937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44938 (eval $ac_try) 2>&5
44939 ac_status=$?
44940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44941 (exit $ac_status); }; } &&
44942 { ac_try='test -s conftest.$ac_objext'
44943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44944 (eval $ac_try) 2>&5
44945 ac_status=$?
44946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44947 (exit $ac_status); }; }; then
44948 glibcxx_cv_func_logl_use=yes
44949 else
44950 echo "$as_me: failed program was:" >&5
44951 sed 's/^/| /' conftest.$ac_ext >&5
44953 glibcxx_cv_func_logl_use=no
44955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44956 ac_ext=c
44957 ac_cpp='$CPP $CPPFLAGS'
44958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44966 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44967 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44969 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44971 for ac_func in logl
44973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44974 echo "$as_me:$LINENO: checking for $ac_func" >&5
44975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44976 if eval "test \"\${$as_ac_var+set}\" = set"; then
44977 echo $ECHO_N "(cached) $ECHO_C" >&6
44978 else
44979 if test x$gcc_no_link = xyes; then
44980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44982 { (exit 1); exit 1; }; }
44984 cat >conftest.$ac_ext <<_ACEOF
44985 /* confdefs.h. */
44986 _ACEOF
44987 cat confdefs.h >>conftest.$ac_ext
44988 cat >>conftest.$ac_ext <<_ACEOF
44989 /* end confdefs.h. */
44990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44992 #define $ac_func innocuous_$ac_func
44994 /* System header to define __stub macros and hopefully few prototypes,
44995 which can conflict with char $ac_func (); below.
44996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44997 <limits.h> exists even on freestanding compilers. */
44999 #ifdef __STDC__
45000 # include <limits.h>
45001 #else
45002 # include <assert.h>
45003 #endif
45005 #undef $ac_func
45007 /* Override any gcc2 internal prototype to avoid an error. */
45008 #ifdef __cplusplus
45009 extern "C"
45011 #endif
45012 /* We use char because int might match the return type of a gcc2
45013 builtin and then its argument prototype would still apply. */
45014 char $ac_func ();
45015 /* The GNU C library defines this for functions which it implements
45016 to always fail with ENOSYS. Some functions are actually named
45017 something starting with __ and the normal name is an alias. */
45018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45019 choke me
45020 #else
45021 char (*f) () = $ac_func;
45022 #endif
45023 #ifdef __cplusplus
45025 #endif
45028 main ()
45030 return f != $ac_func;
45032 return 0;
45034 _ACEOF
45035 rm -f conftest.$ac_objext conftest$ac_exeext
45036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45037 (eval $ac_link) 2>conftest.er1
45038 ac_status=$?
45039 grep -v '^ *+' conftest.er1 >conftest.err
45040 rm -f conftest.er1
45041 cat conftest.err >&5
45042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45043 (exit $ac_status); } &&
45044 { ac_try='test -z "$ac_c_werror_flag"
45045 || test ! -s conftest.err'
45046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45047 (eval $ac_try) 2>&5
45048 ac_status=$?
45049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45050 (exit $ac_status); }; } &&
45051 { ac_try='test -s conftest$ac_exeext'
45052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45053 (eval $ac_try) 2>&5
45054 ac_status=$?
45055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45056 (exit $ac_status); }; }; then
45057 eval "$as_ac_var=yes"
45058 else
45059 echo "$as_me: failed program was:" >&5
45060 sed 's/^/| /' conftest.$ac_ext >&5
45062 eval "$as_ac_var=no"
45064 rm -f conftest.err conftest.$ac_objext \
45065 conftest$ac_exeext conftest.$ac_ext
45067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45069 if test `eval echo '${'$as_ac_var'}'` = yes; then
45070 cat >>confdefs.h <<_ACEOF
45071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45072 _ACEOF
45075 done
45077 else
45079 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45080 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45081 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45082 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45083 echo $ECHO_N "(cached) $ECHO_C" >&6
45084 else
45088 ac_ext=cc
45089 ac_cpp='$CXXCPP $CPPFLAGS'
45090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45094 cat >conftest.$ac_ext <<_ACEOF
45095 /* confdefs.h. */
45096 _ACEOF
45097 cat confdefs.h >>conftest.$ac_ext
45098 cat >>conftest.$ac_ext <<_ACEOF
45099 /* end confdefs.h. */
45100 #include <math.h>
45101 #ifdef HAVE_IEEEFP_H
45102 #include <ieeefp.h>
45103 #endif
45106 main ()
45108 _logl(0);
45110 return 0;
45112 _ACEOF
45113 rm -f conftest.$ac_objext
45114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45115 (eval $ac_compile) 2>conftest.er1
45116 ac_status=$?
45117 grep -v '^ *+' conftest.er1 >conftest.err
45118 rm -f conftest.er1
45119 cat conftest.err >&5
45120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45121 (exit $ac_status); } &&
45122 { ac_try='test -z "$ac_cxx_werror_flag"
45123 || test ! -s conftest.err'
45124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45125 (eval $ac_try) 2>&5
45126 ac_status=$?
45127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45128 (exit $ac_status); }; } &&
45129 { ac_try='test -s conftest.$ac_objext'
45130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45131 (eval $ac_try) 2>&5
45132 ac_status=$?
45133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45134 (exit $ac_status); }; }; then
45135 glibcxx_cv_func__logl_use=yes
45136 else
45137 echo "$as_me: failed program was:" >&5
45138 sed 's/^/| /' conftest.$ac_ext >&5
45140 glibcxx_cv_func__logl_use=no
45142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45143 ac_ext=c
45144 ac_cpp='$CPP $CPPFLAGS'
45145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45153 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45154 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45156 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45158 for ac_func in _logl
45160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45161 echo "$as_me:$LINENO: checking for $ac_func" >&5
45162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45163 if eval "test \"\${$as_ac_var+set}\" = set"; then
45164 echo $ECHO_N "(cached) $ECHO_C" >&6
45165 else
45166 if test x$gcc_no_link = xyes; then
45167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45169 { (exit 1); exit 1; }; }
45171 cat >conftest.$ac_ext <<_ACEOF
45172 /* confdefs.h. */
45173 _ACEOF
45174 cat confdefs.h >>conftest.$ac_ext
45175 cat >>conftest.$ac_ext <<_ACEOF
45176 /* end confdefs.h. */
45177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45179 #define $ac_func innocuous_$ac_func
45181 /* System header to define __stub macros and hopefully few prototypes,
45182 which can conflict with char $ac_func (); below.
45183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45184 <limits.h> exists even on freestanding compilers. */
45186 #ifdef __STDC__
45187 # include <limits.h>
45188 #else
45189 # include <assert.h>
45190 #endif
45192 #undef $ac_func
45194 /* Override any gcc2 internal prototype to avoid an error. */
45195 #ifdef __cplusplus
45196 extern "C"
45198 #endif
45199 /* We use char because int might match the return type of a gcc2
45200 builtin and then its argument prototype would still apply. */
45201 char $ac_func ();
45202 /* The GNU C library defines this for functions which it implements
45203 to always fail with ENOSYS. Some functions are actually named
45204 something starting with __ and the normal name is an alias. */
45205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45206 choke me
45207 #else
45208 char (*f) () = $ac_func;
45209 #endif
45210 #ifdef __cplusplus
45212 #endif
45215 main ()
45217 return f != $ac_func;
45219 return 0;
45221 _ACEOF
45222 rm -f conftest.$ac_objext conftest$ac_exeext
45223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45224 (eval $ac_link) 2>conftest.er1
45225 ac_status=$?
45226 grep -v '^ *+' conftest.er1 >conftest.err
45227 rm -f conftest.er1
45228 cat conftest.err >&5
45229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45230 (exit $ac_status); } &&
45231 { ac_try='test -z "$ac_c_werror_flag"
45232 || test ! -s conftest.err'
45233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45234 (eval $ac_try) 2>&5
45235 ac_status=$?
45236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45237 (exit $ac_status); }; } &&
45238 { ac_try='test -s conftest$ac_exeext'
45239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45240 (eval $ac_try) 2>&5
45241 ac_status=$?
45242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45243 (exit $ac_status); }; }; then
45244 eval "$as_ac_var=yes"
45245 else
45246 echo "$as_me: failed program was:" >&5
45247 sed 's/^/| /' conftest.$ac_ext >&5
45249 eval "$as_ac_var=no"
45251 rm -f conftest.err conftest.$ac_objext \
45252 conftest$ac_exeext conftest.$ac_ext
45254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45256 if test `eval echo '${'$as_ac_var'}'` = yes; then
45257 cat >>confdefs.h <<_ACEOF
45258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45259 _ACEOF
45262 done
45269 echo "$as_me:$LINENO: checking for log10l declaration" >&5
45270 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45271 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45272 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45273 echo $ECHO_N "(cached) $ECHO_C" >&6
45274 else
45278 ac_ext=cc
45279 ac_cpp='$CXXCPP $CPPFLAGS'
45280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45284 cat >conftest.$ac_ext <<_ACEOF
45285 /* confdefs.h. */
45286 _ACEOF
45287 cat confdefs.h >>conftest.$ac_ext
45288 cat >>conftest.$ac_ext <<_ACEOF
45289 /* end confdefs.h. */
45290 #include <math.h>
45291 #ifdef HAVE_IEEEFP_H
45292 #include <ieeefp.h>
45293 #endif
45296 main ()
45298 log10l(0);
45300 return 0;
45302 _ACEOF
45303 rm -f conftest.$ac_objext
45304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45305 (eval $ac_compile) 2>conftest.er1
45306 ac_status=$?
45307 grep -v '^ *+' conftest.er1 >conftest.err
45308 rm -f conftest.er1
45309 cat conftest.err >&5
45310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45311 (exit $ac_status); } &&
45312 { ac_try='test -z "$ac_cxx_werror_flag"
45313 || test ! -s conftest.err'
45314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45315 (eval $ac_try) 2>&5
45316 ac_status=$?
45317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45318 (exit $ac_status); }; } &&
45319 { ac_try='test -s conftest.$ac_objext'
45320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45321 (eval $ac_try) 2>&5
45322 ac_status=$?
45323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45324 (exit $ac_status); }; }; then
45325 glibcxx_cv_func_log10l_use=yes
45326 else
45327 echo "$as_me: failed program was:" >&5
45328 sed 's/^/| /' conftest.$ac_ext >&5
45330 glibcxx_cv_func_log10l_use=no
45332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45333 ac_ext=c
45334 ac_cpp='$CPP $CPPFLAGS'
45335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45344 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45346 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45348 for ac_func in log10l
45350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45351 echo "$as_me:$LINENO: checking for $ac_func" >&5
45352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45353 if eval "test \"\${$as_ac_var+set}\" = set"; then
45354 echo $ECHO_N "(cached) $ECHO_C" >&6
45355 else
45356 if test x$gcc_no_link = xyes; then
45357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45359 { (exit 1); exit 1; }; }
45361 cat >conftest.$ac_ext <<_ACEOF
45362 /* confdefs.h. */
45363 _ACEOF
45364 cat confdefs.h >>conftest.$ac_ext
45365 cat >>conftest.$ac_ext <<_ACEOF
45366 /* end confdefs.h. */
45367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45369 #define $ac_func innocuous_$ac_func
45371 /* System header to define __stub macros and hopefully few prototypes,
45372 which can conflict with char $ac_func (); below.
45373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45374 <limits.h> exists even on freestanding compilers. */
45376 #ifdef __STDC__
45377 # include <limits.h>
45378 #else
45379 # include <assert.h>
45380 #endif
45382 #undef $ac_func
45384 /* Override any gcc2 internal prototype to avoid an error. */
45385 #ifdef __cplusplus
45386 extern "C"
45388 #endif
45389 /* We use char because int might match the return type of a gcc2
45390 builtin and then its argument prototype would still apply. */
45391 char $ac_func ();
45392 /* The GNU C library defines this for functions which it implements
45393 to always fail with ENOSYS. Some functions are actually named
45394 something starting with __ and the normal name is an alias. */
45395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45396 choke me
45397 #else
45398 char (*f) () = $ac_func;
45399 #endif
45400 #ifdef __cplusplus
45402 #endif
45405 main ()
45407 return f != $ac_func;
45409 return 0;
45411 _ACEOF
45412 rm -f conftest.$ac_objext conftest$ac_exeext
45413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45414 (eval $ac_link) 2>conftest.er1
45415 ac_status=$?
45416 grep -v '^ *+' conftest.er1 >conftest.err
45417 rm -f conftest.er1
45418 cat conftest.err >&5
45419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45420 (exit $ac_status); } &&
45421 { ac_try='test -z "$ac_c_werror_flag"
45422 || test ! -s conftest.err'
45423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45424 (eval $ac_try) 2>&5
45425 ac_status=$?
45426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45427 (exit $ac_status); }; } &&
45428 { ac_try='test -s conftest$ac_exeext'
45429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45430 (eval $ac_try) 2>&5
45431 ac_status=$?
45432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45433 (exit $ac_status); }; }; then
45434 eval "$as_ac_var=yes"
45435 else
45436 echo "$as_me: failed program was:" >&5
45437 sed 's/^/| /' conftest.$ac_ext >&5
45439 eval "$as_ac_var=no"
45441 rm -f conftest.err conftest.$ac_objext \
45442 conftest$ac_exeext conftest.$ac_ext
45444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45446 if test `eval echo '${'$as_ac_var'}'` = yes; then
45447 cat >>confdefs.h <<_ACEOF
45448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45449 _ACEOF
45452 done
45454 else
45456 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45457 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45458 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45459 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45460 echo $ECHO_N "(cached) $ECHO_C" >&6
45461 else
45465 ac_ext=cc
45466 ac_cpp='$CXXCPP $CPPFLAGS'
45467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45471 cat >conftest.$ac_ext <<_ACEOF
45472 /* confdefs.h. */
45473 _ACEOF
45474 cat confdefs.h >>conftest.$ac_ext
45475 cat >>conftest.$ac_ext <<_ACEOF
45476 /* end confdefs.h. */
45477 #include <math.h>
45478 #ifdef HAVE_IEEEFP_H
45479 #include <ieeefp.h>
45480 #endif
45483 main ()
45485 _log10l(0);
45487 return 0;
45489 _ACEOF
45490 rm -f conftest.$ac_objext
45491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45492 (eval $ac_compile) 2>conftest.er1
45493 ac_status=$?
45494 grep -v '^ *+' conftest.er1 >conftest.err
45495 rm -f conftest.er1
45496 cat conftest.err >&5
45497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45498 (exit $ac_status); } &&
45499 { ac_try='test -z "$ac_cxx_werror_flag"
45500 || test ! -s conftest.err'
45501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45502 (eval $ac_try) 2>&5
45503 ac_status=$?
45504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45505 (exit $ac_status); }; } &&
45506 { ac_try='test -s conftest.$ac_objext'
45507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45508 (eval $ac_try) 2>&5
45509 ac_status=$?
45510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45511 (exit $ac_status); }; }; then
45512 glibcxx_cv_func__log10l_use=yes
45513 else
45514 echo "$as_me: failed program was:" >&5
45515 sed 's/^/| /' conftest.$ac_ext >&5
45517 glibcxx_cv_func__log10l_use=no
45519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45520 ac_ext=c
45521 ac_cpp='$CPP $CPPFLAGS'
45522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45531 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45533 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45535 for ac_func in _log10l
45537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45538 echo "$as_me:$LINENO: checking for $ac_func" >&5
45539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45540 if eval "test \"\${$as_ac_var+set}\" = set"; then
45541 echo $ECHO_N "(cached) $ECHO_C" >&6
45542 else
45543 if test x$gcc_no_link = xyes; then
45544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45546 { (exit 1); exit 1; }; }
45548 cat >conftest.$ac_ext <<_ACEOF
45549 /* confdefs.h. */
45550 _ACEOF
45551 cat confdefs.h >>conftest.$ac_ext
45552 cat >>conftest.$ac_ext <<_ACEOF
45553 /* end confdefs.h. */
45554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45556 #define $ac_func innocuous_$ac_func
45558 /* System header to define __stub macros and hopefully few prototypes,
45559 which can conflict with char $ac_func (); below.
45560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45561 <limits.h> exists even on freestanding compilers. */
45563 #ifdef __STDC__
45564 # include <limits.h>
45565 #else
45566 # include <assert.h>
45567 #endif
45569 #undef $ac_func
45571 /* Override any gcc2 internal prototype to avoid an error. */
45572 #ifdef __cplusplus
45573 extern "C"
45575 #endif
45576 /* We use char because int might match the return type of a gcc2
45577 builtin and then its argument prototype would still apply. */
45578 char $ac_func ();
45579 /* The GNU C library defines this for functions which it implements
45580 to always fail with ENOSYS. Some functions are actually named
45581 something starting with __ and the normal name is an alias. */
45582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45583 choke me
45584 #else
45585 char (*f) () = $ac_func;
45586 #endif
45587 #ifdef __cplusplus
45589 #endif
45592 main ()
45594 return f != $ac_func;
45596 return 0;
45598 _ACEOF
45599 rm -f conftest.$ac_objext conftest$ac_exeext
45600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45601 (eval $ac_link) 2>conftest.er1
45602 ac_status=$?
45603 grep -v '^ *+' conftest.er1 >conftest.err
45604 rm -f conftest.er1
45605 cat conftest.err >&5
45606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45607 (exit $ac_status); } &&
45608 { ac_try='test -z "$ac_c_werror_flag"
45609 || test ! -s conftest.err'
45610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45611 (eval $ac_try) 2>&5
45612 ac_status=$?
45613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45614 (exit $ac_status); }; } &&
45615 { ac_try='test -s conftest$ac_exeext'
45616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45617 (eval $ac_try) 2>&5
45618 ac_status=$?
45619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45620 (exit $ac_status); }; }; then
45621 eval "$as_ac_var=yes"
45622 else
45623 echo "$as_me: failed program was:" >&5
45624 sed 's/^/| /' conftest.$ac_ext >&5
45626 eval "$as_ac_var=no"
45628 rm -f conftest.err conftest.$ac_objext \
45629 conftest$ac_exeext conftest.$ac_ext
45631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45633 if test `eval echo '${'$as_ac_var'}'` = yes; then
45634 cat >>confdefs.h <<_ACEOF
45635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45636 _ACEOF
45639 done
45646 echo "$as_me:$LINENO: checking for modfl declaration" >&5
45647 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45648 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45649 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45650 echo $ECHO_N "(cached) $ECHO_C" >&6
45651 else
45655 ac_ext=cc
45656 ac_cpp='$CXXCPP $CPPFLAGS'
45657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45661 cat >conftest.$ac_ext <<_ACEOF
45662 /* confdefs.h. */
45663 _ACEOF
45664 cat confdefs.h >>conftest.$ac_ext
45665 cat >>conftest.$ac_ext <<_ACEOF
45666 /* end confdefs.h. */
45667 #include <math.h>
45669 main ()
45671 modfl(0, 0);
45673 return 0;
45675 _ACEOF
45676 rm -f conftest.$ac_objext
45677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45678 (eval $ac_compile) 2>conftest.er1
45679 ac_status=$?
45680 grep -v '^ *+' conftest.er1 >conftest.err
45681 rm -f conftest.er1
45682 cat conftest.err >&5
45683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45684 (exit $ac_status); } &&
45685 { ac_try='test -z "$ac_cxx_werror_flag"
45686 || test ! -s conftest.err'
45687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45688 (eval $ac_try) 2>&5
45689 ac_status=$?
45690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45691 (exit $ac_status); }; } &&
45692 { ac_try='test -s conftest.$ac_objext'
45693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45694 (eval $ac_try) 2>&5
45695 ac_status=$?
45696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45697 (exit $ac_status); }; }; then
45698 glibcxx_cv_func_modfl_use=yes
45699 else
45700 echo "$as_me: failed program was:" >&5
45701 sed 's/^/| /' conftest.$ac_ext >&5
45703 glibcxx_cv_func_modfl_use=no
45705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45706 ac_ext=c
45707 ac_cpp='$CPP $CPPFLAGS'
45708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45716 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45717 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45719 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45721 for ac_func in modfl
45723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45724 echo "$as_me:$LINENO: checking for $ac_func" >&5
45725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45726 if eval "test \"\${$as_ac_var+set}\" = set"; then
45727 echo $ECHO_N "(cached) $ECHO_C" >&6
45728 else
45729 if test x$gcc_no_link = xyes; then
45730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45732 { (exit 1); exit 1; }; }
45734 cat >conftest.$ac_ext <<_ACEOF
45735 /* confdefs.h. */
45736 _ACEOF
45737 cat confdefs.h >>conftest.$ac_ext
45738 cat >>conftest.$ac_ext <<_ACEOF
45739 /* end confdefs.h. */
45740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45742 #define $ac_func innocuous_$ac_func
45744 /* System header to define __stub macros and hopefully few prototypes,
45745 which can conflict with char $ac_func (); below.
45746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45747 <limits.h> exists even on freestanding compilers. */
45749 #ifdef __STDC__
45750 # include <limits.h>
45751 #else
45752 # include <assert.h>
45753 #endif
45755 #undef $ac_func
45757 /* Override any gcc2 internal prototype to avoid an error. */
45758 #ifdef __cplusplus
45759 extern "C"
45761 #endif
45762 /* We use char because int might match the return type of a gcc2
45763 builtin and then its argument prototype would still apply. */
45764 char $ac_func ();
45765 /* The GNU C library defines this for functions which it implements
45766 to always fail with ENOSYS. Some functions are actually named
45767 something starting with __ and the normal name is an alias. */
45768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45769 choke me
45770 #else
45771 char (*f) () = $ac_func;
45772 #endif
45773 #ifdef __cplusplus
45775 #endif
45778 main ()
45780 return f != $ac_func;
45782 return 0;
45784 _ACEOF
45785 rm -f conftest.$ac_objext conftest$ac_exeext
45786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45787 (eval $ac_link) 2>conftest.er1
45788 ac_status=$?
45789 grep -v '^ *+' conftest.er1 >conftest.err
45790 rm -f conftest.er1
45791 cat conftest.err >&5
45792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45793 (exit $ac_status); } &&
45794 { ac_try='test -z "$ac_c_werror_flag"
45795 || test ! -s conftest.err'
45796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45797 (eval $ac_try) 2>&5
45798 ac_status=$?
45799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45800 (exit $ac_status); }; } &&
45801 { ac_try='test -s conftest$ac_exeext'
45802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45803 (eval $ac_try) 2>&5
45804 ac_status=$?
45805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45806 (exit $ac_status); }; }; then
45807 eval "$as_ac_var=yes"
45808 else
45809 echo "$as_me: failed program was:" >&5
45810 sed 's/^/| /' conftest.$ac_ext >&5
45812 eval "$as_ac_var=no"
45814 rm -f conftest.err conftest.$ac_objext \
45815 conftest$ac_exeext conftest.$ac_ext
45817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45819 if test `eval echo '${'$as_ac_var'}'` = yes; then
45820 cat >>confdefs.h <<_ACEOF
45821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45822 _ACEOF
45825 done
45827 else
45829 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45830 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45831 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45832 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45833 echo $ECHO_N "(cached) $ECHO_C" >&6
45834 else
45838 ac_ext=cc
45839 ac_cpp='$CXXCPP $CPPFLAGS'
45840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45844 cat >conftest.$ac_ext <<_ACEOF
45845 /* confdefs.h. */
45846 _ACEOF
45847 cat confdefs.h >>conftest.$ac_ext
45848 cat >>conftest.$ac_ext <<_ACEOF
45849 /* end confdefs.h. */
45850 #include <math.h>
45852 main ()
45854 _modfl(0, 0);
45856 return 0;
45858 _ACEOF
45859 rm -f conftest.$ac_objext
45860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45861 (eval $ac_compile) 2>conftest.er1
45862 ac_status=$?
45863 grep -v '^ *+' conftest.er1 >conftest.err
45864 rm -f conftest.er1
45865 cat conftest.err >&5
45866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45867 (exit $ac_status); } &&
45868 { ac_try='test -z "$ac_cxx_werror_flag"
45869 || test ! -s conftest.err'
45870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45871 (eval $ac_try) 2>&5
45872 ac_status=$?
45873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45874 (exit $ac_status); }; } &&
45875 { ac_try='test -s conftest.$ac_objext'
45876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45877 (eval $ac_try) 2>&5
45878 ac_status=$?
45879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45880 (exit $ac_status); }; }; then
45881 glibcxx_cv_func__modfl_use=yes
45882 else
45883 echo "$as_me: failed program was:" >&5
45884 sed 's/^/| /' conftest.$ac_ext >&5
45886 glibcxx_cv_func__modfl_use=no
45888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45889 ac_ext=c
45890 ac_cpp='$CPP $CPPFLAGS'
45891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45900 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45902 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45904 for ac_func in _modfl
45906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45907 echo "$as_me:$LINENO: checking for $ac_func" >&5
45908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45909 if eval "test \"\${$as_ac_var+set}\" = set"; then
45910 echo $ECHO_N "(cached) $ECHO_C" >&6
45911 else
45912 if test x$gcc_no_link = xyes; then
45913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45915 { (exit 1); exit 1; }; }
45917 cat >conftest.$ac_ext <<_ACEOF
45918 /* confdefs.h. */
45919 _ACEOF
45920 cat confdefs.h >>conftest.$ac_ext
45921 cat >>conftest.$ac_ext <<_ACEOF
45922 /* end confdefs.h. */
45923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45925 #define $ac_func innocuous_$ac_func
45927 /* System header to define __stub macros and hopefully few prototypes,
45928 which can conflict with char $ac_func (); below.
45929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45930 <limits.h> exists even on freestanding compilers. */
45932 #ifdef __STDC__
45933 # include <limits.h>
45934 #else
45935 # include <assert.h>
45936 #endif
45938 #undef $ac_func
45940 /* Override any gcc2 internal prototype to avoid an error. */
45941 #ifdef __cplusplus
45942 extern "C"
45944 #endif
45945 /* We use char because int might match the return type of a gcc2
45946 builtin and then its argument prototype would still apply. */
45947 char $ac_func ();
45948 /* The GNU C library defines this for functions which it implements
45949 to always fail with ENOSYS. Some functions are actually named
45950 something starting with __ and the normal name is an alias. */
45951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45952 choke me
45953 #else
45954 char (*f) () = $ac_func;
45955 #endif
45956 #ifdef __cplusplus
45958 #endif
45961 main ()
45963 return f != $ac_func;
45965 return 0;
45967 _ACEOF
45968 rm -f conftest.$ac_objext conftest$ac_exeext
45969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45970 (eval $ac_link) 2>conftest.er1
45971 ac_status=$?
45972 grep -v '^ *+' conftest.er1 >conftest.err
45973 rm -f conftest.er1
45974 cat conftest.err >&5
45975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45976 (exit $ac_status); } &&
45977 { ac_try='test -z "$ac_c_werror_flag"
45978 || test ! -s conftest.err'
45979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45980 (eval $ac_try) 2>&5
45981 ac_status=$?
45982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45983 (exit $ac_status); }; } &&
45984 { ac_try='test -s conftest$ac_exeext'
45985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45986 (eval $ac_try) 2>&5
45987 ac_status=$?
45988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45989 (exit $ac_status); }; }; then
45990 eval "$as_ac_var=yes"
45991 else
45992 echo "$as_me: failed program was:" >&5
45993 sed 's/^/| /' conftest.$ac_ext >&5
45995 eval "$as_ac_var=no"
45997 rm -f conftest.err conftest.$ac_objext \
45998 conftest$ac_exeext conftest.$ac_ext
46000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46002 if test `eval echo '${'$as_ac_var'}'` = yes; then
46003 cat >>confdefs.h <<_ACEOF
46004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46005 _ACEOF
46008 done
46015 echo "$as_me:$LINENO: checking for powl declaration" >&5
46016 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46017 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46018 if test "${glibcxx_cv_func_powl_use+set}" = set; then
46019 echo $ECHO_N "(cached) $ECHO_C" >&6
46020 else
46024 ac_ext=cc
46025 ac_cpp='$CXXCPP $CPPFLAGS'
46026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46030 cat >conftest.$ac_ext <<_ACEOF
46031 /* confdefs.h. */
46032 _ACEOF
46033 cat confdefs.h >>conftest.$ac_ext
46034 cat >>conftest.$ac_ext <<_ACEOF
46035 /* end confdefs.h. */
46036 #include <math.h>
46038 main ()
46040 powl(0, 0);
46042 return 0;
46044 _ACEOF
46045 rm -f conftest.$ac_objext
46046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46047 (eval $ac_compile) 2>conftest.er1
46048 ac_status=$?
46049 grep -v '^ *+' conftest.er1 >conftest.err
46050 rm -f conftest.er1
46051 cat conftest.err >&5
46052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053 (exit $ac_status); } &&
46054 { ac_try='test -z "$ac_cxx_werror_flag"
46055 || test ! -s conftest.err'
46056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46057 (eval $ac_try) 2>&5
46058 ac_status=$?
46059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46060 (exit $ac_status); }; } &&
46061 { ac_try='test -s conftest.$ac_objext'
46062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46063 (eval $ac_try) 2>&5
46064 ac_status=$?
46065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46066 (exit $ac_status); }; }; then
46067 glibcxx_cv_func_powl_use=yes
46068 else
46069 echo "$as_me: failed program was:" >&5
46070 sed 's/^/| /' conftest.$ac_ext >&5
46072 glibcxx_cv_func_powl_use=no
46074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46075 ac_ext=c
46076 ac_cpp='$CPP $CPPFLAGS'
46077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46086 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46088 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46090 for ac_func in powl
46092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46093 echo "$as_me:$LINENO: checking for $ac_func" >&5
46094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46095 if eval "test \"\${$as_ac_var+set}\" = set"; then
46096 echo $ECHO_N "(cached) $ECHO_C" >&6
46097 else
46098 if test x$gcc_no_link = xyes; then
46099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46101 { (exit 1); exit 1; }; }
46103 cat >conftest.$ac_ext <<_ACEOF
46104 /* confdefs.h. */
46105 _ACEOF
46106 cat confdefs.h >>conftest.$ac_ext
46107 cat >>conftest.$ac_ext <<_ACEOF
46108 /* end confdefs.h. */
46109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46111 #define $ac_func innocuous_$ac_func
46113 /* System header to define __stub macros and hopefully few prototypes,
46114 which can conflict with char $ac_func (); below.
46115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46116 <limits.h> exists even on freestanding compilers. */
46118 #ifdef __STDC__
46119 # include <limits.h>
46120 #else
46121 # include <assert.h>
46122 #endif
46124 #undef $ac_func
46126 /* Override any gcc2 internal prototype to avoid an error. */
46127 #ifdef __cplusplus
46128 extern "C"
46130 #endif
46131 /* We use char because int might match the return type of a gcc2
46132 builtin and then its argument prototype would still apply. */
46133 char $ac_func ();
46134 /* The GNU C library defines this for functions which it implements
46135 to always fail with ENOSYS. Some functions are actually named
46136 something starting with __ and the normal name is an alias. */
46137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46138 choke me
46139 #else
46140 char (*f) () = $ac_func;
46141 #endif
46142 #ifdef __cplusplus
46144 #endif
46147 main ()
46149 return f != $ac_func;
46151 return 0;
46153 _ACEOF
46154 rm -f conftest.$ac_objext conftest$ac_exeext
46155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46156 (eval $ac_link) 2>conftest.er1
46157 ac_status=$?
46158 grep -v '^ *+' conftest.er1 >conftest.err
46159 rm -f conftest.er1
46160 cat conftest.err >&5
46161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46162 (exit $ac_status); } &&
46163 { ac_try='test -z "$ac_c_werror_flag"
46164 || test ! -s conftest.err'
46165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46166 (eval $ac_try) 2>&5
46167 ac_status=$?
46168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46169 (exit $ac_status); }; } &&
46170 { ac_try='test -s conftest$ac_exeext'
46171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46172 (eval $ac_try) 2>&5
46173 ac_status=$?
46174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46175 (exit $ac_status); }; }; then
46176 eval "$as_ac_var=yes"
46177 else
46178 echo "$as_me: failed program was:" >&5
46179 sed 's/^/| /' conftest.$ac_ext >&5
46181 eval "$as_ac_var=no"
46183 rm -f conftest.err conftest.$ac_objext \
46184 conftest$ac_exeext conftest.$ac_ext
46186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46188 if test `eval echo '${'$as_ac_var'}'` = yes; then
46189 cat >>confdefs.h <<_ACEOF
46190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46191 _ACEOF
46194 done
46196 else
46198 echo "$as_me:$LINENO: checking for _powl declaration" >&5
46199 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46200 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46201 if test "${glibcxx_cv_func__powl_use+set}" = set; then
46202 echo $ECHO_N "(cached) $ECHO_C" >&6
46203 else
46207 ac_ext=cc
46208 ac_cpp='$CXXCPP $CPPFLAGS'
46209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46213 cat >conftest.$ac_ext <<_ACEOF
46214 /* confdefs.h. */
46215 _ACEOF
46216 cat confdefs.h >>conftest.$ac_ext
46217 cat >>conftest.$ac_ext <<_ACEOF
46218 /* end confdefs.h. */
46219 #include <math.h>
46221 main ()
46223 _powl(0, 0);
46225 return 0;
46227 _ACEOF
46228 rm -f conftest.$ac_objext
46229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46230 (eval $ac_compile) 2>conftest.er1
46231 ac_status=$?
46232 grep -v '^ *+' conftest.er1 >conftest.err
46233 rm -f conftest.er1
46234 cat conftest.err >&5
46235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46236 (exit $ac_status); } &&
46237 { ac_try='test -z "$ac_cxx_werror_flag"
46238 || test ! -s conftest.err'
46239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46240 (eval $ac_try) 2>&5
46241 ac_status=$?
46242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46243 (exit $ac_status); }; } &&
46244 { ac_try='test -s conftest.$ac_objext'
46245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46246 (eval $ac_try) 2>&5
46247 ac_status=$?
46248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46249 (exit $ac_status); }; }; then
46250 glibcxx_cv_func__powl_use=yes
46251 else
46252 echo "$as_me: failed program was:" >&5
46253 sed 's/^/| /' conftest.$ac_ext >&5
46255 glibcxx_cv_func__powl_use=no
46257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46258 ac_ext=c
46259 ac_cpp='$CPP $CPPFLAGS'
46260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46269 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46271 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46273 for ac_func in _powl
46275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46276 echo "$as_me:$LINENO: checking for $ac_func" >&5
46277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46278 if eval "test \"\${$as_ac_var+set}\" = set"; then
46279 echo $ECHO_N "(cached) $ECHO_C" >&6
46280 else
46281 if test x$gcc_no_link = xyes; then
46282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46284 { (exit 1); exit 1; }; }
46286 cat >conftest.$ac_ext <<_ACEOF
46287 /* confdefs.h. */
46288 _ACEOF
46289 cat confdefs.h >>conftest.$ac_ext
46290 cat >>conftest.$ac_ext <<_ACEOF
46291 /* end confdefs.h. */
46292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46294 #define $ac_func innocuous_$ac_func
46296 /* System header to define __stub macros and hopefully few prototypes,
46297 which can conflict with char $ac_func (); below.
46298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46299 <limits.h> exists even on freestanding compilers. */
46301 #ifdef __STDC__
46302 # include <limits.h>
46303 #else
46304 # include <assert.h>
46305 #endif
46307 #undef $ac_func
46309 /* Override any gcc2 internal prototype to avoid an error. */
46310 #ifdef __cplusplus
46311 extern "C"
46313 #endif
46314 /* We use char because int might match the return type of a gcc2
46315 builtin and then its argument prototype would still apply. */
46316 char $ac_func ();
46317 /* The GNU C library defines this for functions which it implements
46318 to always fail with ENOSYS. Some functions are actually named
46319 something starting with __ and the normal name is an alias. */
46320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46321 choke me
46322 #else
46323 char (*f) () = $ac_func;
46324 #endif
46325 #ifdef __cplusplus
46327 #endif
46330 main ()
46332 return f != $ac_func;
46334 return 0;
46336 _ACEOF
46337 rm -f conftest.$ac_objext conftest$ac_exeext
46338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46339 (eval $ac_link) 2>conftest.er1
46340 ac_status=$?
46341 grep -v '^ *+' conftest.er1 >conftest.err
46342 rm -f conftest.er1
46343 cat conftest.err >&5
46344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46345 (exit $ac_status); } &&
46346 { ac_try='test -z "$ac_c_werror_flag"
46347 || test ! -s conftest.err'
46348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46349 (eval $ac_try) 2>&5
46350 ac_status=$?
46351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46352 (exit $ac_status); }; } &&
46353 { ac_try='test -s conftest$ac_exeext'
46354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46355 (eval $ac_try) 2>&5
46356 ac_status=$?
46357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46358 (exit $ac_status); }; }; then
46359 eval "$as_ac_var=yes"
46360 else
46361 echo "$as_me: failed program was:" >&5
46362 sed 's/^/| /' conftest.$ac_ext >&5
46364 eval "$as_ac_var=no"
46366 rm -f conftest.err conftest.$ac_objext \
46367 conftest$ac_exeext conftest.$ac_ext
46369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46371 if test `eval echo '${'$as_ac_var'}'` = yes; then
46372 cat >>confdefs.h <<_ACEOF
46373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46374 _ACEOF
46377 done
46384 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46385 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46386 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46387 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46388 echo $ECHO_N "(cached) $ECHO_C" >&6
46389 else
46393 ac_ext=cc
46394 ac_cpp='$CXXCPP $CPPFLAGS'
46395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46399 cat >conftest.$ac_ext <<_ACEOF
46400 /* confdefs.h. */
46401 _ACEOF
46402 cat confdefs.h >>conftest.$ac_ext
46403 cat >>conftest.$ac_ext <<_ACEOF
46404 /* end confdefs.h. */
46405 #include <math.h>
46406 #ifdef HAVE_IEEEFP_H
46407 #include <ieeefp.h>
46408 #endif
46411 main ()
46413 sqrtl(0);
46415 return 0;
46417 _ACEOF
46418 rm -f conftest.$ac_objext
46419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46420 (eval $ac_compile) 2>conftest.er1
46421 ac_status=$?
46422 grep -v '^ *+' conftest.er1 >conftest.err
46423 rm -f conftest.er1
46424 cat conftest.err >&5
46425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46426 (exit $ac_status); } &&
46427 { ac_try='test -z "$ac_cxx_werror_flag"
46428 || test ! -s conftest.err'
46429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46430 (eval $ac_try) 2>&5
46431 ac_status=$?
46432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46433 (exit $ac_status); }; } &&
46434 { ac_try='test -s conftest.$ac_objext'
46435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46436 (eval $ac_try) 2>&5
46437 ac_status=$?
46438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46439 (exit $ac_status); }; }; then
46440 glibcxx_cv_func_sqrtl_use=yes
46441 else
46442 echo "$as_me: failed program was:" >&5
46443 sed 's/^/| /' conftest.$ac_ext >&5
46445 glibcxx_cv_func_sqrtl_use=no
46447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46448 ac_ext=c
46449 ac_cpp='$CPP $CPPFLAGS'
46450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46458 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46459 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46461 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46463 for ac_func in sqrtl
46465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46466 echo "$as_me:$LINENO: checking for $ac_func" >&5
46467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46468 if eval "test \"\${$as_ac_var+set}\" = set"; then
46469 echo $ECHO_N "(cached) $ECHO_C" >&6
46470 else
46471 if test x$gcc_no_link = xyes; then
46472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46474 { (exit 1); exit 1; }; }
46476 cat >conftest.$ac_ext <<_ACEOF
46477 /* confdefs.h. */
46478 _ACEOF
46479 cat confdefs.h >>conftest.$ac_ext
46480 cat >>conftest.$ac_ext <<_ACEOF
46481 /* end confdefs.h. */
46482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46484 #define $ac_func innocuous_$ac_func
46486 /* System header to define __stub macros and hopefully few prototypes,
46487 which can conflict with char $ac_func (); below.
46488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46489 <limits.h> exists even on freestanding compilers. */
46491 #ifdef __STDC__
46492 # include <limits.h>
46493 #else
46494 # include <assert.h>
46495 #endif
46497 #undef $ac_func
46499 /* Override any gcc2 internal prototype to avoid an error. */
46500 #ifdef __cplusplus
46501 extern "C"
46503 #endif
46504 /* We use char because int might match the return type of a gcc2
46505 builtin and then its argument prototype would still apply. */
46506 char $ac_func ();
46507 /* The GNU C library defines this for functions which it implements
46508 to always fail with ENOSYS. Some functions are actually named
46509 something starting with __ and the normal name is an alias. */
46510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46511 choke me
46512 #else
46513 char (*f) () = $ac_func;
46514 #endif
46515 #ifdef __cplusplus
46517 #endif
46520 main ()
46522 return f != $ac_func;
46524 return 0;
46526 _ACEOF
46527 rm -f conftest.$ac_objext conftest$ac_exeext
46528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46529 (eval $ac_link) 2>conftest.er1
46530 ac_status=$?
46531 grep -v '^ *+' conftest.er1 >conftest.err
46532 rm -f conftest.er1
46533 cat conftest.err >&5
46534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46535 (exit $ac_status); } &&
46536 { ac_try='test -z "$ac_c_werror_flag"
46537 || test ! -s conftest.err'
46538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46539 (eval $ac_try) 2>&5
46540 ac_status=$?
46541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46542 (exit $ac_status); }; } &&
46543 { ac_try='test -s conftest$ac_exeext'
46544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46545 (eval $ac_try) 2>&5
46546 ac_status=$?
46547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46548 (exit $ac_status); }; }; then
46549 eval "$as_ac_var=yes"
46550 else
46551 echo "$as_me: failed program was:" >&5
46552 sed 's/^/| /' conftest.$ac_ext >&5
46554 eval "$as_ac_var=no"
46556 rm -f conftest.err conftest.$ac_objext \
46557 conftest$ac_exeext conftest.$ac_ext
46559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46561 if test `eval echo '${'$as_ac_var'}'` = yes; then
46562 cat >>confdefs.h <<_ACEOF
46563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46564 _ACEOF
46567 done
46569 else
46571 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46572 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46573 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46574 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46575 echo $ECHO_N "(cached) $ECHO_C" >&6
46576 else
46580 ac_ext=cc
46581 ac_cpp='$CXXCPP $CPPFLAGS'
46582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46586 cat >conftest.$ac_ext <<_ACEOF
46587 /* confdefs.h. */
46588 _ACEOF
46589 cat confdefs.h >>conftest.$ac_ext
46590 cat >>conftest.$ac_ext <<_ACEOF
46591 /* end confdefs.h. */
46592 #include <math.h>
46593 #ifdef HAVE_IEEEFP_H
46594 #include <ieeefp.h>
46595 #endif
46598 main ()
46600 _sqrtl(0);
46602 return 0;
46604 _ACEOF
46605 rm -f conftest.$ac_objext
46606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46607 (eval $ac_compile) 2>conftest.er1
46608 ac_status=$?
46609 grep -v '^ *+' conftest.er1 >conftest.err
46610 rm -f conftest.er1
46611 cat conftest.err >&5
46612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46613 (exit $ac_status); } &&
46614 { ac_try='test -z "$ac_cxx_werror_flag"
46615 || test ! -s conftest.err'
46616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46617 (eval $ac_try) 2>&5
46618 ac_status=$?
46619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46620 (exit $ac_status); }; } &&
46621 { ac_try='test -s conftest.$ac_objext'
46622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46623 (eval $ac_try) 2>&5
46624 ac_status=$?
46625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46626 (exit $ac_status); }; }; then
46627 glibcxx_cv_func__sqrtl_use=yes
46628 else
46629 echo "$as_me: failed program was:" >&5
46630 sed 's/^/| /' conftest.$ac_ext >&5
46632 glibcxx_cv_func__sqrtl_use=no
46634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46635 ac_ext=c
46636 ac_cpp='$CPP $CPPFLAGS'
46637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46645 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46646 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46648 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46650 for ac_func in _sqrtl
46652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46653 echo "$as_me:$LINENO: checking for $ac_func" >&5
46654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46655 if eval "test \"\${$as_ac_var+set}\" = set"; then
46656 echo $ECHO_N "(cached) $ECHO_C" >&6
46657 else
46658 if test x$gcc_no_link = xyes; then
46659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46661 { (exit 1); exit 1; }; }
46663 cat >conftest.$ac_ext <<_ACEOF
46664 /* confdefs.h. */
46665 _ACEOF
46666 cat confdefs.h >>conftest.$ac_ext
46667 cat >>conftest.$ac_ext <<_ACEOF
46668 /* end confdefs.h. */
46669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46671 #define $ac_func innocuous_$ac_func
46673 /* System header to define __stub macros and hopefully few prototypes,
46674 which can conflict with char $ac_func (); below.
46675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46676 <limits.h> exists even on freestanding compilers. */
46678 #ifdef __STDC__
46679 # include <limits.h>
46680 #else
46681 # include <assert.h>
46682 #endif
46684 #undef $ac_func
46686 /* Override any gcc2 internal prototype to avoid an error. */
46687 #ifdef __cplusplus
46688 extern "C"
46690 #endif
46691 /* We use char because int might match the return type of a gcc2
46692 builtin and then its argument prototype would still apply. */
46693 char $ac_func ();
46694 /* The GNU C library defines this for functions which it implements
46695 to always fail with ENOSYS. Some functions are actually named
46696 something starting with __ and the normal name is an alias. */
46697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46698 choke me
46699 #else
46700 char (*f) () = $ac_func;
46701 #endif
46702 #ifdef __cplusplus
46704 #endif
46707 main ()
46709 return f != $ac_func;
46711 return 0;
46713 _ACEOF
46714 rm -f conftest.$ac_objext conftest$ac_exeext
46715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46716 (eval $ac_link) 2>conftest.er1
46717 ac_status=$?
46718 grep -v '^ *+' conftest.er1 >conftest.err
46719 rm -f conftest.er1
46720 cat conftest.err >&5
46721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46722 (exit $ac_status); } &&
46723 { ac_try='test -z "$ac_c_werror_flag"
46724 || test ! -s conftest.err'
46725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46726 (eval $ac_try) 2>&5
46727 ac_status=$?
46728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46729 (exit $ac_status); }; } &&
46730 { ac_try='test -s conftest$ac_exeext'
46731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46732 (eval $ac_try) 2>&5
46733 ac_status=$?
46734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46735 (exit $ac_status); }; }; then
46736 eval "$as_ac_var=yes"
46737 else
46738 echo "$as_me: failed program was:" >&5
46739 sed 's/^/| /' conftest.$ac_ext >&5
46741 eval "$as_ac_var=no"
46743 rm -f conftest.err conftest.$ac_objext \
46744 conftest$ac_exeext conftest.$ac_ext
46746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46748 if test `eval echo '${'$as_ac_var'}'` = yes; then
46749 cat >>confdefs.h <<_ACEOF
46750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46751 _ACEOF
46754 done
46761 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46762 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46763 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46764 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46765 echo $ECHO_N "(cached) $ECHO_C" >&6
46766 else
46770 ac_ext=cc
46771 ac_cpp='$CXXCPP $CPPFLAGS'
46772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46776 cat >conftest.$ac_ext <<_ACEOF
46777 /* confdefs.h. */
46778 _ACEOF
46779 cat confdefs.h >>conftest.$ac_ext
46780 cat >>conftest.$ac_ext <<_ACEOF
46781 /* end confdefs.h. */
46782 #include <math.h>
46784 main ()
46786 sincosl(0, 0, 0);
46788 return 0;
46790 _ACEOF
46791 rm -f conftest.$ac_objext
46792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46793 (eval $ac_compile) 2>conftest.er1
46794 ac_status=$?
46795 grep -v '^ *+' conftest.er1 >conftest.err
46796 rm -f conftest.er1
46797 cat conftest.err >&5
46798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46799 (exit $ac_status); } &&
46800 { ac_try='test -z "$ac_cxx_werror_flag"
46801 || test ! -s conftest.err'
46802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46803 (eval $ac_try) 2>&5
46804 ac_status=$?
46805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46806 (exit $ac_status); }; } &&
46807 { ac_try='test -s conftest.$ac_objext'
46808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46809 (eval $ac_try) 2>&5
46810 ac_status=$?
46811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46812 (exit $ac_status); }; }; then
46813 glibcxx_cv_func_sincosl_use=yes
46814 else
46815 echo "$as_me: failed program was:" >&5
46816 sed 's/^/| /' conftest.$ac_ext >&5
46818 glibcxx_cv_func_sincosl_use=no
46820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46821 ac_ext=c
46822 ac_cpp='$CPP $CPPFLAGS'
46823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46832 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46834 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46836 for ac_func in sincosl
46838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46839 echo "$as_me:$LINENO: checking for $ac_func" >&5
46840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46841 if eval "test \"\${$as_ac_var+set}\" = set"; then
46842 echo $ECHO_N "(cached) $ECHO_C" >&6
46843 else
46844 if test x$gcc_no_link = xyes; then
46845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46847 { (exit 1); exit 1; }; }
46849 cat >conftest.$ac_ext <<_ACEOF
46850 /* confdefs.h. */
46851 _ACEOF
46852 cat confdefs.h >>conftest.$ac_ext
46853 cat >>conftest.$ac_ext <<_ACEOF
46854 /* end confdefs.h. */
46855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46857 #define $ac_func innocuous_$ac_func
46859 /* System header to define __stub macros and hopefully few prototypes,
46860 which can conflict with char $ac_func (); below.
46861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46862 <limits.h> exists even on freestanding compilers. */
46864 #ifdef __STDC__
46865 # include <limits.h>
46866 #else
46867 # include <assert.h>
46868 #endif
46870 #undef $ac_func
46872 /* Override any gcc2 internal prototype to avoid an error. */
46873 #ifdef __cplusplus
46874 extern "C"
46876 #endif
46877 /* We use char because int might match the return type of a gcc2
46878 builtin and then its argument prototype would still apply. */
46879 char $ac_func ();
46880 /* The GNU C library defines this for functions which it implements
46881 to always fail with ENOSYS. Some functions are actually named
46882 something starting with __ and the normal name is an alias. */
46883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46884 choke me
46885 #else
46886 char (*f) () = $ac_func;
46887 #endif
46888 #ifdef __cplusplus
46890 #endif
46893 main ()
46895 return f != $ac_func;
46897 return 0;
46899 _ACEOF
46900 rm -f conftest.$ac_objext conftest$ac_exeext
46901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46902 (eval $ac_link) 2>conftest.er1
46903 ac_status=$?
46904 grep -v '^ *+' conftest.er1 >conftest.err
46905 rm -f conftest.er1
46906 cat conftest.err >&5
46907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46908 (exit $ac_status); } &&
46909 { ac_try='test -z "$ac_c_werror_flag"
46910 || test ! -s conftest.err'
46911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46912 (eval $ac_try) 2>&5
46913 ac_status=$?
46914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46915 (exit $ac_status); }; } &&
46916 { ac_try='test -s conftest$ac_exeext'
46917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46918 (eval $ac_try) 2>&5
46919 ac_status=$?
46920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46921 (exit $ac_status); }; }; then
46922 eval "$as_ac_var=yes"
46923 else
46924 echo "$as_me: failed program was:" >&5
46925 sed 's/^/| /' conftest.$ac_ext >&5
46927 eval "$as_ac_var=no"
46929 rm -f conftest.err conftest.$ac_objext \
46930 conftest$ac_exeext conftest.$ac_ext
46932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46934 if test `eval echo '${'$as_ac_var'}'` = yes; then
46935 cat >>confdefs.h <<_ACEOF
46936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46937 _ACEOF
46940 done
46942 else
46944 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46945 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46946 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46947 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46948 echo $ECHO_N "(cached) $ECHO_C" >&6
46949 else
46953 ac_ext=cc
46954 ac_cpp='$CXXCPP $CPPFLAGS'
46955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46959 cat >conftest.$ac_ext <<_ACEOF
46960 /* confdefs.h. */
46961 _ACEOF
46962 cat confdefs.h >>conftest.$ac_ext
46963 cat >>conftest.$ac_ext <<_ACEOF
46964 /* end confdefs.h. */
46965 #include <math.h>
46967 main ()
46969 _sincosl(0, 0, 0);
46971 return 0;
46973 _ACEOF
46974 rm -f conftest.$ac_objext
46975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46976 (eval $ac_compile) 2>conftest.er1
46977 ac_status=$?
46978 grep -v '^ *+' conftest.er1 >conftest.err
46979 rm -f conftest.er1
46980 cat conftest.err >&5
46981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46982 (exit $ac_status); } &&
46983 { ac_try='test -z "$ac_cxx_werror_flag"
46984 || test ! -s conftest.err'
46985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46986 (eval $ac_try) 2>&5
46987 ac_status=$?
46988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46989 (exit $ac_status); }; } &&
46990 { ac_try='test -s conftest.$ac_objext'
46991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46992 (eval $ac_try) 2>&5
46993 ac_status=$?
46994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46995 (exit $ac_status); }; }; then
46996 glibcxx_cv_func__sincosl_use=yes
46997 else
46998 echo "$as_me: failed program was:" >&5
46999 sed 's/^/| /' conftest.$ac_ext >&5
47001 glibcxx_cv_func__sincosl_use=no
47003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47004 ac_ext=c
47005 ac_cpp='$CPP $CPPFLAGS'
47006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47014 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47015 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47017 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47019 for ac_func in _sincosl
47021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47022 echo "$as_me:$LINENO: checking for $ac_func" >&5
47023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47024 if eval "test \"\${$as_ac_var+set}\" = set"; then
47025 echo $ECHO_N "(cached) $ECHO_C" >&6
47026 else
47027 if test x$gcc_no_link = xyes; then
47028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47030 { (exit 1); exit 1; }; }
47032 cat >conftest.$ac_ext <<_ACEOF
47033 /* confdefs.h. */
47034 _ACEOF
47035 cat confdefs.h >>conftest.$ac_ext
47036 cat >>conftest.$ac_ext <<_ACEOF
47037 /* end confdefs.h. */
47038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47040 #define $ac_func innocuous_$ac_func
47042 /* System header to define __stub macros and hopefully few prototypes,
47043 which can conflict with char $ac_func (); below.
47044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47045 <limits.h> exists even on freestanding compilers. */
47047 #ifdef __STDC__
47048 # include <limits.h>
47049 #else
47050 # include <assert.h>
47051 #endif
47053 #undef $ac_func
47055 /* Override any gcc2 internal prototype to avoid an error. */
47056 #ifdef __cplusplus
47057 extern "C"
47059 #endif
47060 /* We use char because int might match the return type of a gcc2
47061 builtin and then its argument prototype would still apply. */
47062 char $ac_func ();
47063 /* The GNU C library defines this for functions which it implements
47064 to always fail with ENOSYS. Some functions are actually named
47065 something starting with __ and the normal name is an alias. */
47066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47067 choke me
47068 #else
47069 char (*f) () = $ac_func;
47070 #endif
47071 #ifdef __cplusplus
47073 #endif
47076 main ()
47078 return f != $ac_func;
47080 return 0;
47082 _ACEOF
47083 rm -f conftest.$ac_objext conftest$ac_exeext
47084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47085 (eval $ac_link) 2>conftest.er1
47086 ac_status=$?
47087 grep -v '^ *+' conftest.er1 >conftest.err
47088 rm -f conftest.er1
47089 cat conftest.err >&5
47090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47091 (exit $ac_status); } &&
47092 { ac_try='test -z "$ac_c_werror_flag"
47093 || test ! -s conftest.err'
47094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47095 (eval $ac_try) 2>&5
47096 ac_status=$?
47097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47098 (exit $ac_status); }; } &&
47099 { ac_try='test -s conftest$ac_exeext'
47100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47101 (eval $ac_try) 2>&5
47102 ac_status=$?
47103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47104 (exit $ac_status); }; }; then
47105 eval "$as_ac_var=yes"
47106 else
47107 echo "$as_me: failed program was:" >&5
47108 sed 's/^/| /' conftest.$ac_ext >&5
47110 eval "$as_ac_var=no"
47112 rm -f conftest.err conftest.$ac_objext \
47113 conftest$ac_exeext conftest.$ac_ext
47115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47117 if test `eval echo '${'$as_ac_var'}'` = yes; then
47118 cat >>confdefs.h <<_ACEOF
47119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47120 _ACEOF
47123 done
47130 echo "$as_me:$LINENO: checking for finitel declaration" >&5
47131 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47132 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47133 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47134 echo $ECHO_N "(cached) $ECHO_C" >&6
47135 else
47139 ac_ext=cc
47140 ac_cpp='$CXXCPP $CPPFLAGS'
47141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47145 cat >conftest.$ac_ext <<_ACEOF
47146 /* confdefs.h. */
47147 _ACEOF
47148 cat confdefs.h >>conftest.$ac_ext
47149 cat >>conftest.$ac_ext <<_ACEOF
47150 /* end confdefs.h. */
47151 #include <math.h>
47152 #ifdef HAVE_IEEEFP_H
47153 #include <ieeefp.h>
47154 #endif
47157 main ()
47159 finitel(0);
47161 return 0;
47163 _ACEOF
47164 rm -f conftest.$ac_objext
47165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47166 (eval $ac_compile) 2>conftest.er1
47167 ac_status=$?
47168 grep -v '^ *+' conftest.er1 >conftest.err
47169 rm -f conftest.er1
47170 cat conftest.err >&5
47171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47172 (exit $ac_status); } &&
47173 { ac_try='test -z "$ac_cxx_werror_flag"
47174 || test ! -s conftest.err'
47175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47176 (eval $ac_try) 2>&5
47177 ac_status=$?
47178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47179 (exit $ac_status); }; } &&
47180 { ac_try='test -s conftest.$ac_objext'
47181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47182 (eval $ac_try) 2>&5
47183 ac_status=$?
47184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47185 (exit $ac_status); }; }; then
47186 glibcxx_cv_func_finitel_use=yes
47187 else
47188 echo "$as_me: failed program was:" >&5
47189 sed 's/^/| /' conftest.$ac_ext >&5
47191 glibcxx_cv_func_finitel_use=no
47193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47194 ac_ext=c
47195 ac_cpp='$CPP $CPPFLAGS'
47196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47204 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47205 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47207 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47209 for ac_func in finitel
47211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47212 echo "$as_me:$LINENO: checking for $ac_func" >&5
47213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47214 if eval "test \"\${$as_ac_var+set}\" = set"; then
47215 echo $ECHO_N "(cached) $ECHO_C" >&6
47216 else
47217 if test x$gcc_no_link = xyes; then
47218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47220 { (exit 1); exit 1; }; }
47222 cat >conftest.$ac_ext <<_ACEOF
47223 /* confdefs.h. */
47224 _ACEOF
47225 cat confdefs.h >>conftest.$ac_ext
47226 cat >>conftest.$ac_ext <<_ACEOF
47227 /* end confdefs.h. */
47228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47230 #define $ac_func innocuous_$ac_func
47232 /* System header to define __stub macros and hopefully few prototypes,
47233 which can conflict with char $ac_func (); below.
47234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47235 <limits.h> exists even on freestanding compilers. */
47237 #ifdef __STDC__
47238 # include <limits.h>
47239 #else
47240 # include <assert.h>
47241 #endif
47243 #undef $ac_func
47245 /* Override any gcc2 internal prototype to avoid an error. */
47246 #ifdef __cplusplus
47247 extern "C"
47249 #endif
47250 /* We use char because int might match the return type of a gcc2
47251 builtin and then its argument prototype would still apply. */
47252 char $ac_func ();
47253 /* The GNU C library defines this for functions which it implements
47254 to always fail with ENOSYS. Some functions are actually named
47255 something starting with __ and the normal name is an alias. */
47256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47257 choke me
47258 #else
47259 char (*f) () = $ac_func;
47260 #endif
47261 #ifdef __cplusplus
47263 #endif
47266 main ()
47268 return f != $ac_func;
47270 return 0;
47272 _ACEOF
47273 rm -f conftest.$ac_objext conftest$ac_exeext
47274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47275 (eval $ac_link) 2>conftest.er1
47276 ac_status=$?
47277 grep -v '^ *+' conftest.er1 >conftest.err
47278 rm -f conftest.er1
47279 cat conftest.err >&5
47280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47281 (exit $ac_status); } &&
47282 { ac_try='test -z "$ac_c_werror_flag"
47283 || test ! -s conftest.err'
47284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47285 (eval $ac_try) 2>&5
47286 ac_status=$?
47287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47288 (exit $ac_status); }; } &&
47289 { ac_try='test -s conftest$ac_exeext'
47290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47291 (eval $ac_try) 2>&5
47292 ac_status=$?
47293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47294 (exit $ac_status); }; }; then
47295 eval "$as_ac_var=yes"
47296 else
47297 echo "$as_me: failed program was:" >&5
47298 sed 's/^/| /' conftest.$ac_ext >&5
47300 eval "$as_ac_var=no"
47302 rm -f conftest.err conftest.$ac_objext \
47303 conftest$ac_exeext conftest.$ac_ext
47305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47307 if test `eval echo '${'$as_ac_var'}'` = yes; then
47308 cat >>confdefs.h <<_ACEOF
47309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47310 _ACEOF
47313 done
47315 else
47317 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47318 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47319 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47320 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47321 echo $ECHO_N "(cached) $ECHO_C" >&6
47322 else
47326 ac_ext=cc
47327 ac_cpp='$CXXCPP $CPPFLAGS'
47328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47332 cat >conftest.$ac_ext <<_ACEOF
47333 /* confdefs.h. */
47334 _ACEOF
47335 cat confdefs.h >>conftest.$ac_ext
47336 cat >>conftest.$ac_ext <<_ACEOF
47337 /* end confdefs.h. */
47338 #include <math.h>
47339 #ifdef HAVE_IEEEFP_H
47340 #include <ieeefp.h>
47341 #endif
47344 main ()
47346 _finitel(0);
47348 return 0;
47350 _ACEOF
47351 rm -f conftest.$ac_objext
47352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47353 (eval $ac_compile) 2>conftest.er1
47354 ac_status=$?
47355 grep -v '^ *+' conftest.er1 >conftest.err
47356 rm -f conftest.er1
47357 cat conftest.err >&5
47358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47359 (exit $ac_status); } &&
47360 { ac_try='test -z "$ac_cxx_werror_flag"
47361 || test ! -s conftest.err'
47362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47363 (eval $ac_try) 2>&5
47364 ac_status=$?
47365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47366 (exit $ac_status); }; } &&
47367 { ac_try='test -s conftest.$ac_objext'
47368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47369 (eval $ac_try) 2>&5
47370 ac_status=$?
47371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47372 (exit $ac_status); }; }; then
47373 glibcxx_cv_func__finitel_use=yes
47374 else
47375 echo "$as_me: failed program was:" >&5
47376 sed 's/^/| /' conftest.$ac_ext >&5
47378 glibcxx_cv_func__finitel_use=no
47380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47381 ac_ext=c
47382 ac_cpp='$CPP $CPPFLAGS'
47383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47391 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47392 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47394 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47396 for ac_func in _finitel
47398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47399 echo "$as_me:$LINENO: checking for $ac_func" >&5
47400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47401 if eval "test \"\${$as_ac_var+set}\" = set"; then
47402 echo $ECHO_N "(cached) $ECHO_C" >&6
47403 else
47404 if test x$gcc_no_link = xyes; then
47405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47407 { (exit 1); exit 1; }; }
47409 cat >conftest.$ac_ext <<_ACEOF
47410 /* confdefs.h. */
47411 _ACEOF
47412 cat confdefs.h >>conftest.$ac_ext
47413 cat >>conftest.$ac_ext <<_ACEOF
47414 /* end confdefs.h. */
47415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47417 #define $ac_func innocuous_$ac_func
47419 /* System header to define __stub macros and hopefully few prototypes,
47420 which can conflict with char $ac_func (); below.
47421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47422 <limits.h> exists even on freestanding compilers. */
47424 #ifdef __STDC__
47425 # include <limits.h>
47426 #else
47427 # include <assert.h>
47428 #endif
47430 #undef $ac_func
47432 /* Override any gcc2 internal prototype to avoid an error. */
47433 #ifdef __cplusplus
47434 extern "C"
47436 #endif
47437 /* We use char because int might match the return type of a gcc2
47438 builtin and then its argument prototype would still apply. */
47439 char $ac_func ();
47440 /* The GNU C library defines this for functions which it implements
47441 to always fail with ENOSYS. Some functions are actually named
47442 something starting with __ and the normal name is an alias. */
47443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47444 choke me
47445 #else
47446 char (*f) () = $ac_func;
47447 #endif
47448 #ifdef __cplusplus
47450 #endif
47453 main ()
47455 return f != $ac_func;
47457 return 0;
47459 _ACEOF
47460 rm -f conftest.$ac_objext conftest$ac_exeext
47461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47462 (eval $ac_link) 2>conftest.er1
47463 ac_status=$?
47464 grep -v '^ *+' conftest.er1 >conftest.err
47465 rm -f conftest.er1
47466 cat conftest.err >&5
47467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47468 (exit $ac_status); } &&
47469 { ac_try='test -z "$ac_c_werror_flag"
47470 || test ! -s conftest.err'
47471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47472 (eval $ac_try) 2>&5
47473 ac_status=$?
47474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47475 (exit $ac_status); }; } &&
47476 { ac_try='test -s conftest$ac_exeext'
47477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47478 (eval $ac_try) 2>&5
47479 ac_status=$?
47480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47481 (exit $ac_status); }; }; then
47482 eval "$as_ac_var=yes"
47483 else
47484 echo "$as_me: failed program was:" >&5
47485 sed 's/^/| /' conftest.$ac_ext >&5
47487 eval "$as_ac_var=no"
47489 rm -f conftest.err conftest.$ac_objext \
47490 conftest$ac_exeext conftest.$ac_ext
47492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47494 if test `eval echo '${'$as_ac_var'}'` = yes; then
47495 cat >>confdefs.h <<_ACEOF
47496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47497 _ACEOF
47500 done
47508 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47509 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47510 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47511 echo $ECHO_N "(cached) $ECHO_C" >&6
47512 else
47516 ac_ext=cc
47517 ac_cpp='$CXXCPP $CPPFLAGS'
47518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47522 cat >conftest.$ac_ext <<_ACEOF
47523 /* confdefs.h. */
47524 _ACEOF
47525 cat confdefs.h >>conftest.$ac_ext
47526 cat >>conftest.$ac_ext <<_ACEOF
47527 /* end confdefs.h. */
47528 #include <math.h>
47530 main ()
47532 `for x in _acosf _asinf _atanf \
47533 _cosf _sinf _tanf \
47534 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47536 return 0;
47538 _ACEOF
47539 rm -f conftest.$ac_objext
47540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47541 (eval $ac_compile) 2>conftest.er1
47542 ac_status=$?
47543 grep -v '^ *+' conftest.er1 >conftest.err
47544 rm -f conftest.er1
47545 cat conftest.err >&5
47546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47547 (exit $ac_status); } &&
47548 { ac_try='test -z "$ac_cxx_werror_flag"
47549 || test ! -s conftest.err'
47550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47551 (eval $ac_try) 2>&5
47552 ac_status=$?
47553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47554 (exit $ac_status); }; } &&
47555 { ac_try='test -s conftest.$ac_objext'
47556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47557 (eval $ac_try) 2>&5
47558 ac_status=$?
47559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47560 (exit $ac_status); }; }; then
47561 glibcxx_cv_func__float_trig_use=yes
47562 else
47563 echo "$as_me: failed program was:" >&5
47564 sed 's/^/| /' conftest.$ac_ext >&5
47566 glibcxx_cv_func__float_trig_use=no
47568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47569 ac_ext=c
47570 ac_cpp='$CPP $CPPFLAGS'
47571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47577 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47578 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47579 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47589 for ac_func in _acosf _asinf _atanf \
47590 _cosf _sinf _tanf \
47591 _coshf _sinhf _tanhf
47593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47594 echo "$as_me:$LINENO: checking for $ac_func" >&5
47595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47596 if eval "test \"\${$as_ac_var+set}\" = set"; then
47597 echo $ECHO_N "(cached) $ECHO_C" >&6
47598 else
47599 if test x$gcc_no_link = xyes; then
47600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47602 { (exit 1); exit 1; }; }
47604 cat >conftest.$ac_ext <<_ACEOF
47605 /* confdefs.h. */
47606 _ACEOF
47607 cat confdefs.h >>conftest.$ac_ext
47608 cat >>conftest.$ac_ext <<_ACEOF
47609 /* end confdefs.h. */
47610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47612 #define $ac_func innocuous_$ac_func
47614 /* System header to define __stub macros and hopefully few prototypes,
47615 which can conflict with char $ac_func (); below.
47616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47617 <limits.h> exists even on freestanding compilers. */
47619 #ifdef __STDC__
47620 # include <limits.h>
47621 #else
47622 # include <assert.h>
47623 #endif
47625 #undef $ac_func
47627 /* Override any gcc2 internal prototype to avoid an error. */
47628 #ifdef __cplusplus
47629 extern "C"
47631 #endif
47632 /* We use char because int might match the return type of a gcc2
47633 builtin and then its argument prototype would still apply. */
47634 char $ac_func ();
47635 /* The GNU C library defines this for functions which it implements
47636 to always fail with ENOSYS. Some functions are actually named
47637 something starting with __ and the normal name is an alias. */
47638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47639 choke me
47640 #else
47641 char (*f) () = $ac_func;
47642 #endif
47643 #ifdef __cplusplus
47645 #endif
47648 main ()
47650 return f != $ac_func;
47652 return 0;
47654 _ACEOF
47655 rm -f conftest.$ac_objext conftest$ac_exeext
47656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47657 (eval $ac_link) 2>conftest.er1
47658 ac_status=$?
47659 grep -v '^ *+' conftest.er1 >conftest.err
47660 rm -f conftest.er1
47661 cat conftest.err >&5
47662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47663 (exit $ac_status); } &&
47664 { ac_try='test -z "$ac_c_werror_flag"
47665 || test ! -s conftest.err'
47666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47667 (eval $ac_try) 2>&5
47668 ac_status=$?
47669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47670 (exit $ac_status); }; } &&
47671 { ac_try='test -s conftest$ac_exeext'
47672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47673 (eval $ac_try) 2>&5
47674 ac_status=$?
47675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47676 (exit $ac_status); }; }; then
47677 eval "$as_ac_var=yes"
47678 else
47679 echo "$as_me: failed program was:" >&5
47680 sed 's/^/| /' conftest.$ac_ext >&5
47682 eval "$as_ac_var=no"
47684 rm -f conftest.err conftest.$ac_objext \
47685 conftest$ac_exeext conftest.$ac_ext
47687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47689 if test `eval echo '${'$as_ac_var'}'` = yes; then
47690 cat >>confdefs.h <<_ACEOF
47691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47692 _ACEOF
47695 done
47700 echo "$as_me:$LINENO: checking for _float round functions" >&5
47701 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47702 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47703 echo $ECHO_N "(cached) $ECHO_C" >&6
47704 else
47708 ac_ext=cc
47709 ac_cpp='$CXXCPP $CPPFLAGS'
47710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47714 cat >conftest.$ac_ext <<_ACEOF
47715 /* confdefs.h. */
47716 _ACEOF
47717 cat confdefs.h >>conftest.$ac_ext
47718 cat >>conftest.$ac_ext <<_ACEOF
47719 /* end confdefs.h. */
47720 #include <math.h>
47722 main ()
47724 `for x in _ceilf _floorf; do echo "$x (0);"; done`
47726 return 0;
47728 _ACEOF
47729 rm -f conftest.$ac_objext
47730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47731 (eval $ac_compile) 2>conftest.er1
47732 ac_status=$?
47733 grep -v '^ *+' conftest.er1 >conftest.err
47734 rm -f conftest.er1
47735 cat conftest.err >&5
47736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47737 (exit $ac_status); } &&
47738 { ac_try='test -z "$ac_cxx_werror_flag"
47739 || test ! -s conftest.err'
47740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47741 (eval $ac_try) 2>&5
47742 ac_status=$?
47743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47744 (exit $ac_status); }; } &&
47745 { ac_try='test -s conftest.$ac_objext'
47746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47747 (eval $ac_try) 2>&5
47748 ac_status=$?
47749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47750 (exit $ac_status); }; }; then
47751 glibcxx_cv_func__float_round_use=yes
47752 else
47753 echo "$as_me: failed program was:" >&5
47754 sed 's/^/| /' conftest.$ac_ext >&5
47756 glibcxx_cv_func__float_round_use=no
47758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47759 ac_ext=c
47760 ac_cpp='$CPP $CPPFLAGS'
47761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47768 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47769 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47772 for ac_func in _ceilf _floorf
47774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47775 echo "$as_me:$LINENO: checking for $ac_func" >&5
47776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47777 if eval "test \"\${$as_ac_var+set}\" = set"; then
47778 echo $ECHO_N "(cached) $ECHO_C" >&6
47779 else
47780 if test x$gcc_no_link = xyes; then
47781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47783 { (exit 1); exit 1; }; }
47785 cat >conftest.$ac_ext <<_ACEOF
47786 /* confdefs.h. */
47787 _ACEOF
47788 cat confdefs.h >>conftest.$ac_ext
47789 cat >>conftest.$ac_ext <<_ACEOF
47790 /* end confdefs.h. */
47791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47793 #define $ac_func innocuous_$ac_func
47795 /* System header to define __stub macros and hopefully few prototypes,
47796 which can conflict with char $ac_func (); below.
47797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47798 <limits.h> exists even on freestanding compilers. */
47800 #ifdef __STDC__
47801 # include <limits.h>
47802 #else
47803 # include <assert.h>
47804 #endif
47806 #undef $ac_func
47808 /* Override any gcc2 internal prototype to avoid an error. */
47809 #ifdef __cplusplus
47810 extern "C"
47812 #endif
47813 /* We use char because int might match the return type of a gcc2
47814 builtin and then its argument prototype would still apply. */
47815 char $ac_func ();
47816 /* The GNU C library defines this for functions which it implements
47817 to always fail with ENOSYS. Some functions are actually named
47818 something starting with __ and the normal name is an alias. */
47819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47820 choke me
47821 #else
47822 char (*f) () = $ac_func;
47823 #endif
47824 #ifdef __cplusplus
47826 #endif
47829 main ()
47831 return f != $ac_func;
47833 return 0;
47835 _ACEOF
47836 rm -f conftest.$ac_objext conftest$ac_exeext
47837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47838 (eval $ac_link) 2>conftest.er1
47839 ac_status=$?
47840 grep -v '^ *+' conftest.er1 >conftest.err
47841 rm -f conftest.er1
47842 cat conftest.err >&5
47843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47844 (exit $ac_status); } &&
47845 { ac_try='test -z "$ac_c_werror_flag"
47846 || test ! -s conftest.err'
47847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47848 (eval $ac_try) 2>&5
47849 ac_status=$?
47850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47851 (exit $ac_status); }; } &&
47852 { ac_try='test -s conftest$ac_exeext'
47853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47854 (eval $ac_try) 2>&5
47855 ac_status=$?
47856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47857 (exit $ac_status); }; }; then
47858 eval "$as_ac_var=yes"
47859 else
47860 echo "$as_me: failed program was:" >&5
47861 sed 's/^/| /' conftest.$ac_ext >&5
47863 eval "$as_ac_var=no"
47865 rm -f conftest.err conftest.$ac_objext \
47866 conftest$ac_exeext conftest.$ac_ext
47868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47870 if test `eval echo '${'$as_ac_var'}'` = yes; then
47871 cat >>confdefs.h <<_ACEOF
47872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47873 _ACEOF
47876 done
47882 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47883 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47884 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47885 echo $ECHO_N "(cached) $ECHO_C" >&6
47886 else
47890 ac_ext=cc
47891 ac_cpp='$CXXCPP $CPPFLAGS'
47892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47896 cat >conftest.$ac_ext <<_ACEOF
47897 /* confdefs.h. */
47898 _ACEOF
47899 cat confdefs.h >>conftest.$ac_ext
47900 cat >>conftest.$ac_ext <<_ACEOF
47901 /* end confdefs.h. */
47902 #include <math.h>
47904 main ()
47906 `for x in _acosl _asinl _atanl \
47907 _cosl _sinl _tanl \
47908 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47910 return 0;
47912 _ACEOF
47913 rm -f conftest.$ac_objext
47914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47915 (eval $ac_compile) 2>conftest.er1
47916 ac_status=$?
47917 grep -v '^ *+' conftest.er1 >conftest.err
47918 rm -f conftest.er1
47919 cat conftest.err >&5
47920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47921 (exit $ac_status); } &&
47922 { ac_try='test -z "$ac_cxx_werror_flag"
47923 || test ! -s conftest.err'
47924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47925 (eval $ac_try) 2>&5
47926 ac_status=$?
47927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47928 (exit $ac_status); }; } &&
47929 { ac_try='test -s conftest.$ac_objext'
47930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47931 (eval $ac_try) 2>&5
47932 ac_status=$?
47933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47934 (exit $ac_status); }; }; then
47935 glibcxx_cv_func__long_double_trig_use=yes
47936 else
47937 echo "$as_me: failed program was:" >&5
47938 sed 's/^/| /' conftest.$ac_ext >&5
47940 glibcxx_cv_func__long_double_trig_use=no
47942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47943 ac_ext=c
47944 ac_cpp='$CPP $CPPFLAGS'
47945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47951 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47952 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47953 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47963 for ac_func in _acosl _asinl _atanl \
47964 _cosl _sinl _tanl \
47965 _coshl _sinhl _tanhl
47967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47968 echo "$as_me:$LINENO: checking for $ac_func" >&5
47969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47970 if eval "test \"\${$as_ac_var+set}\" = set"; then
47971 echo $ECHO_N "(cached) $ECHO_C" >&6
47972 else
47973 if test x$gcc_no_link = xyes; then
47974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47976 { (exit 1); exit 1; }; }
47978 cat >conftest.$ac_ext <<_ACEOF
47979 /* confdefs.h. */
47980 _ACEOF
47981 cat confdefs.h >>conftest.$ac_ext
47982 cat >>conftest.$ac_ext <<_ACEOF
47983 /* end confdefs.h. */
47984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47986 #define $ac_func innocuous_$ac_func
47988 /* System header to define __stub macros and hopefully few prototypes,
47989 which can conflict with char $ac_func (); below.
47990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47991 <limits.h> exists even on freestanding compilers. */
47993 #ifdef __STDC__
47994 # include <limits.h>
47995 #else
47996 # include <assert.h>
47997 #endif
47999 #undef $ac_func
48001 /* Override any gcc2 internal prototype to avoid an error. */
48002 #ifdef __cplusplus
48003 extern "C"
48005 #endif
48006 /* We use char because int might match the return type of a gcc2
48007 builtin and then its argument prototype would still apply. */
48008 char $ac_func ();
48009 /* The GNU C library defines this for functions which it implements
48010 to always fail with ENOSYS. Some functions are actually named
48011 something starting with __ and the normal name is an alias. */
48012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48013 choke me
48014 #else
48015 char (*f) () = $ac_func;
48016 #endif
48017 #ifdef __cplusplus
48019 #endif
48022 main ()
48024 return f != $ac_func;
48026 return 0;
48028 _ACEOF
48029 rm -f conftest.$ac_objext conftest$ac_exeext
48030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48031 (eval $ac_link) 2>conftest.er1
48032 ac_status=$?
48033 grep -v '^ *+' conftest.er1 >conftest.err
48034 rm -f conftest.er1
48035 cat conftest.err >&5
48036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48037 (exit $ac_status); } &&
48038 { ac_try='test -z "$ac_c_werror_flag"
48039 || test ! -s conftest.err'
48040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48041 (eval $ac_try) 2>&5
48042 ac_status=$?
48043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48044 (exit $ac_status); }; } &&
48045 { ac_try='test -s conftest$ac_exeext'
48046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48047 (eval $ac_try) 2>&5
48048 ac_status=$?
48049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48050 (exit $ac_status); }; }; then
48051 eval "$as_ac_var=yes"
48052 else
48053 echo "$as_me: failed program was:" >&5
48054 sed 's/^/| /' conftest.$ac_ext >&5
48056 eval "$as_ac_var=no"
48058 rm -f conftest.err conftest.$ac_objext \
48059 conftest$ac_exeext conftest.$ac_ext
48061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48063 if test `eval echo '${'$as_ac_var'}'` = yes; then
48064 cat >>confdefs.h <<_ACEOF
48065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48066 _ACEOF
48069 done
48074 echo "$as_me:$LINENO: checking for _long double round functions" >&5
48075 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48076 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48077 echo $ECHO_N "(cached) $ECHO_C" >&6
48078 else
48082 ac_ext=cc
48083 ac_cpp='$CXXCPP $CPPFLAGS'
48084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48088 cat >conftest.$ac_ext <<_ACEOF
48089 /* confdefs.h. */
48090 _ACEOF
48091 cat confdefs.h >>conftest.$ac_ext
48092 cat >>conftest.$ac_ext <<_ACEOF
48093 /* end confdefs.h. */
48094 #include <math.h>
48096 main ()
48098 `for x in _ceill _floorl; do echo "$x (0);"; done`
48100 return 0;
48102 _ACEOF
48103 rm -f conftest.$ac_objext
48104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48105 (eval $ac_compile) 2>conftest.er1
48106 ac_status=$?
48107 grep -v '^ *+' conftest.er1 >conftest.err
48108 rm -f conftest.er1
48109 cat conftest.err >&5
48110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48111 (exit $ac_status); } &&
48112 { ac_try='test -z "$ac_cxx_werror_flag"
48113 || test ! -s conftest.err'
48114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48115 (eval $ac_try) 2>&5
48116 ac_status=$?
48117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48118 (exit $ac_status); }; } &&
48119 { ac_try='test -s conftest.$ac_objext'
48120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48121 (eval $ac_try) 2>&5
48122 ac_status=$?
48123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48124 (exit $ac_status); }; }; then
48125 glibcxx_cv_func__long_double_round_use=yes
48126 else
48127 echo "$as_me: failed program was:" >&5
48128 sed 's/^/| /' conftest.$ac_ext >&5
48130 glibcxx_cv_func__long_double_round_use=no
48132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48133 ac_ext=c
48134 ac_cpp='$CPP $CPPFLAGS'
48135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48141 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48142 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48143 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48146 for ac_func in _ceill _floorl
48148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48149 echo "$as_me:$LINENO: checking for $ac_func" >&5
48150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48151 if eval "test \"\${$as_ac_var+set}\" = set"; then
48152 echo $ECHO_N "(cached) $ECHO_C" >&6
48153 else
48154 if test x$gcc_no_link = xyes; then
48155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48157 { (exit 1); exit 1; }; }
48159 cat >conftest.$ac_ext <<_ACEOF
48160 /* confdefs.h. */
48161 _ACEOF
48162 cat confdefs.h >>conftest.$ac_ext
48163 cat >>conftest.$ac_ext <<_ACEOF
48164 /* end confdefs.h. */
48165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48167 #define $ac_func innocuous_$ac_func
48169 /* System header to define __stub macros and hopefully few prototypes,
48170 which can conflict with char $ac_func (); below.
48171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48172 <limits.h> exists even on freestanding compilers. */
48174 #ifdef __STDC__
48175 # include <limits.h>
48176 #else
48177 # include <assert.h>
48178 #endif
48180 #undef $ac_func
48182 /* Override any gcc2 internal prototype to avoid an error. */
48183 #ifdef __cplusplus
48184 extern "C"
48186 #endif
48187 /* We use char because int might match the return type of a gcc2
48188 builtin and then its argument prototype would still apply. */
48189 char $ac_func ();
48190 /* The GNU C library defines this for functions which it implements
48191 to always fail with ENOSYS. Some functions are actually named
48192 something starting with __ and the normal name is an alias. */
48193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48194 choke me
48195 #else
48196 char (*f) () = $ac_func;
48197 #endif
48198 #ifdef __cplusplus
48200 #endif
48203 main ()
48205 return f != $ac_func;
48207 return 0;
48209 _ACEOF
48210 rm -f conftest.$ac_objext conftest$ac_exeext
48211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48212 (eval $ac_link) 2>conftest.er1
48213 ac_status=$?
48214 grep -v '^ *+' conftest.er1 >conftest.err
48215 rm -f conftest.er1
48216 cat conftest.err >&5
48217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48218 (exit $ac_status); } &&
48219 { ac_try='test -z "$ac_c_werror_flag"
48220 || test ! -s conftest.err'
48221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48222 (eval $ac_try) 2>&5
48223 ac_status=$?
48224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48225 (exit $ac_status); }; } &&
48226 { ac_try='test -s conftest$ac_exeext'
48227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48228 (eval $ac_try) 2>&5
48229 ac_status=$?
48230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48231 (exit $ac_status); }; }; then
48232 eval "$as_ac_var=yes"
48233 else
48234 echo "$as_me: failed program was:" >&5
48235 sed 's/^/| /' conftest.$ac_ext >&5
48237 eval "$as_ac_var=no"
48239 rm -f conftest.err conftest.$ac_objext \
48240 conftest$ac_exeext conftest.$ac_ext
48242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48244 if test `eval echo '${'$as_ac_var'}'` = yes; then
48245 cat >>confdefs.h <<_ACEOF
48246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48247 _ACEOF
48250 done
48255 LIBS="$ac_save_LIBS"
48256 CXXFLAGS="$ac_save_CXXFLAGS"
48260 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48261 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48262 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48263 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48264 echo $ECHO_N "(cached) $ECHO_C" >&6
48265 else
48269 ac_ext=cc
48270 ac_cpp='$CXXCPP $CPPFLAGS'
48271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48275 cat >conftest.$ac_ext <<_ACEOF
48276 /* confdefs.h. */
48277 _ACEOF
48278 cat confdefs.h >>conftest.$ac_ext
48279 cat >>conftest.$ac_ext <<_ACEOF
48280 /* end confdefs.h. */
48281 #include <math.h>
48283 main ()
48285 __builtin_abs(0);
48287 return 0;
48289 _ACEOF
48290 rm -f conftest.$ac_objext
48291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48292 (eval $ac_compile) 2>conftest.er1
48293 ac_status=$?
48294 grep -v '^ *+' conftest.er1 >conftest.err
48295 rm -f conftest.er1
48296 cat conftest.err >&5
48297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48298 (exit $ac_status); } &&
48299 { ac_try='test -z "$ac_cxx_werror_flag"
48300 || test ! -s conftest.err'
48301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48302 (eval $ac_try) 2>&5
48303 ac_status=$?
48304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48305 (exit $ac_status); }; } &&
48306 { ac_try='test -s conftest.$ac_objext'
48307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48308 (eval $ac_try) 2>&5
48309 ac_status=$?
48310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48311 (exit $ac_status); }; }; then
48312 glibcxx_cv_func___builtin_abs_use=yes
48313 else
48314 echo "$as_me: failed program was:" >&5
48315 sed 's/^/| /' conftest.$ac_ext >&5
48317 glibcxx_cv_func___builtin_abs_use=no
48319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48320 ac_ext=c
48321 ac_cpp='$CPP $CPPFLAGS'
48322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48330 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48331 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48332 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48333 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48334 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48335 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48336 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48337 echo $ECHO_N "(cached) $ECHO_C" >&6
48338 else
48340 if test x$gcc_no_link = xyes; then
48341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48343 { (exit 1); exit 1; }; }
48345 cat >conftest.$ac_ext <<_ACEOF
48346 /* confdefs.h. */
48347 _ACEOF
48348 cat confdefs.h >>conftest.$ac_ext
48349 cat >>conftest.$ac_ext <<_ACEOF
48350 /* end confdefs.h. */
48351 #include <math.h>
48353 main ()
48355 __builtin_abs(0);
48357 return 0;
48359 _ACEOF
48360 rm -f conftest.$ac_objext conftest$ac_exeext
48361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48362 (eval $ac_link) 2>conftest.er1
48363 ac_status=$?
48364 grep -v '^ *+' conftest.er1 >conftest.err
48365 rm -f conftest.er1
48366 cat conftest.err >&5
48367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48368 (exit $ac_status); } &&
48369 { ac_try='test -z "$ac_c_werror_flag"
48370 || test ! -s conftest.err'
48371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48372 (eval $ac_try) 2>&5
48373 ac_status=$?
48374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48375 (exit $ac_status); }; } &&
48376 { ac_try='test -s conftest$ac_exeext'
48377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48378 (eval $ac_try) 2>&5
48379 ac_status=$?
48380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48381 (exit $ac_status); }; }; then
48382 glibcxx_cv_func___builtin_abs_link=yes
48383 else
48384 echo "$as_me: failed program was:" >&5
48385 sed 's/^/| /' conftest.$ac_ext >&5
48387 glibcxx_cv_func___builtin_abs_link=no
48389 rm -f conftest.err conftest.$ac_objext \
48390 conftest$ac_exeext conftest.$ac_ext
48395 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48396 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48397 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48398 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48400 cat >>confdefs.h <<_ACEOF
48401 #define ${ac_tr_func} 1
48402 _ACEOF
48408 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48409 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48410 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48411 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48412 echo $ECHO_N "(cached) $ECHO_C" >&6
48413 else
48417 ac_ext=cc
48418 ac_cpp='$CXXCPP $CPPFLAGS'
48419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48423 cat >conftest.$ac_ext <<_ACEOF
48424 /* confdefs.h. */
48425 _ACEOF
48426 cat confdefs.h >>conftest.$ac_ext
48427 cat >>conftest.$ac_ext <<_ACEOF
48428 /* end confdefs.h. */
48429 #include <math.h>
48431 main ()
48433 __builtin_fabsf(0);
48435 return 0;
48437 _ACEOF
48438 rm -f conftest.$ac_objext
48439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48440 (eval $ac_compile) 2>conftest.er1
48441 ac_status=$?
48442 grep -v '^ *+' conftest.er1 >conftest.err
48443 rm -f conftest.er1
48444 cat conftest.err >&5
48445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48446 (exit $ac_status); } &&
48447 { ac_try='test -z "$ac_cxx_werror_flag"
48448 || test ! -s conftest.err'
48449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48450 (eval $ac_try) 2>&5
48451 ac_status=$?
48452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48453 (exit $ac_status); }; } &&
48454 { ac_try='test -s conftest.$ac_objext'
48455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48456 (eval $ac_try) 2>&5
48457 ac_status=$?
48458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48459 (exit $ac_status); }; }; then
48460 glibcxx_cv_func___builtin_fabsf_use=yes
48461 else
48462 echo "$as_me: failed program was:" >&5
48463 sed 's/^/| /' conftest.$ac_ext >&5
48465 glibcxx_cv_func___builtin_fabsf_use=no
48467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48468 ac_ext=c
48469 ac_cpp='$CPP $CPPFLAGS'
48470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48478 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48479 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48480 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48481 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48482 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48483 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48484 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48485 echo $ECHO_N "(cached) $ECHO_C" >&6
48486 else
48488 if test x$gcc_no_link = xyes; then
48489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48491 { (exit 1); exit 1; }; }
48493 cat >conftest.$ac_ext <<_ACEOF
48494 /* confdefs.h. */
48495 _ACEOF
48496 cat confdefs.h >>conftest.$ac_ext
48497 cat >>conftest.$ac_ext <<_ACEOF
48498 /* end confdefs.h. */
48499 #include <math.h>
48501 main ()
48503 __builtin_fabsf(0);
48505 return 0;
48507 _ACEOF
48508 rm -f conftest.$ac_objext conftest$ac_exeext
48509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48510 (eval $ac_link) 2>conftest.er1
48511 ac_status=$?
48512 grep -v '^ *+' conftest.er1 >conftest.err
48513 rm -f conftest.er1
48514 cat conftest.err >&5
48515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48516 (exit $ac_status); } &&
48517 { ac_try='test -z "$ac_c_werror_flag"
48518 || test ! -s conftest.err'
48519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48520 (eval $ac_try) 2>&5
48521 ac_status=$?
48522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48523 (exit $ac_status); }; } &&
48524 { ac_try='test -s conftest$ac_exeext'
48525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48526 (eval $ac_try) 2>&5
48527 ac_status=$?
48528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48529 (exit $ac_status); }; }; then
48530 glibcxx_cv_func___builtin_fabsf_link=yes
48531 else
48532 echo "$as_me: failed program was:" >&5
48533 sed 's/^/| /' conftest.$ac_ext >&5
48535 glibcxx_cv_func___builtin_fabsf_link=no
48537 rm -f conftest.err conftest.$ac_objext \
48538 conftest$ac_exeext conftest.$ac_ext
48543 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48544 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48545 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48546 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48548 cat >>confdefs.h <<_ACEOF
48549 #define ${ac_tr_func} 1
48550 _ACEOF
48556 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48557 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48558 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48559 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48560 echo $ECHO_N "(cached) $ECHO_C" >&6
48561 else
48565 ac_ext=cc
48566 ac_cpp='$CXXCPP $CPPFLAGS'
48567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48571 cat >conftest.$ac_ext <<_ACEOF
48572 /* confdefs.h. */
48573 _ACEOF
48574 cat confdefs.h >>conftest.$ac_ext
48575 cat >>conftest.$ac_ext <<_ACEOF
48576 /* end confdefs.h. */
48577 #include <math.h>
48579 main ()
48581 __builtin_fabs(0);
48583 return 0;
48585 _ACEOF
48586 rm -f conftest.$ac_objext
48587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48588 (eval $ac_compile) 2>conftest.er1
48589 ac_status=$?
48590 grep -v '^ *+' conftest.er1 >conftest.err
48591 rm -f conftest.er1
48592 cat conftest.err >&5
48593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48594 (exit $ac_status); } &&
48595 { ac_try='test -z "$ac_cxx_werror_flag"
48596 || test ! -s conftest.err'
48597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48598 (eval $ac_try) 2>&5
48599 ac_status=$?
48600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48601 (exit $ac_status); }; } &&
48602 { ac_try='test -s conftest.$ac_objext'
48603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48604 (eval $ac_try) 2>&5
48605 ac_status=$?
48606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48607 (exit $ac_status); }; }; then
48608 glibcxx_cv_func___builtin_fabs_use=yes
48609 else
48610 echo "$as_me: failed program was:" >&5
48611 sed 's/^/| /' conftest.$ac_ext >&5
48613 glibcxx_cv_func___builtin_fabs_use=no
48615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48616 ac_ext=c
48617 ac_cpp='$CPP $CPPFLAGS'
48618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48626 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48627 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48628 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48629 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48630 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48631 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48632 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48633 echo $ECHO_N "(cached) $ECHO_C" >&6
48634 else
48636 if test x$gcc_no_link = xyes; then
48637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48639 { (exit 1); exit 1; }; }
48641 cat >conftest.$ac_ext <<_ACEOF
48642 /* confdefs.h. */
48643 _ACEOF
48644 cat confdefs.h >>conftest.$ac_ext
48645 cat >>conftest.$ac_ext <<_ACEOF
48646 /* end confdefs.h. */
48647 #include <math.h>
48649 main ()
48651 __builtin_fabs(0);
48653 return 0;
48655 _ACEOF
48656 rm -f conftest.$ac_objext conftest$ac_exeext
48657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48658 (eval $ac_link) 2>conftest.er1
48659 ac_status=$?
48660 grep -v '^ *+' conftest.er1 >conftest.err
48661 rm -f conftest.er1
48662 cat conftest.err >&5
48663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48664 (exit $ac_status); } &&
48665 { ac_try='test -z "$ac_c_werror_flag"
48666 || test ! -s conftest.err'
48667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48668 (eval $ac_try) 2>&5
48669 ac_status=$?
48670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48671 (exit $ac_status); }; } &&
48672 { ac_try='test -s conftest$ac_exeext'
48673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48674 (eval $ac_try) 2>&5
48675 ac_status=$?
48676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48677 (exit $ac_status); }; }; then
48678 glibcxx_cv_func___builtin_fabs_link=yes
48679 else
48680 echo "$as_me: failed program was:" >&5
48681 sed 's/^/| /' conftest.$ac_ext >&5
48683 glibcxx_cv_func___builtin_fabs_link=no
48685 rm -f conftest.err conftest.$ac_objext \
48686 conftest$ac_exeext conftest.$ac_ext
48691 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48692 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48693 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48694 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48696 cat >>confdefs.h <<_ACEOF
48697 #define ${ac_tr_func} 1
48698 _ACEOF
48704 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48705 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48706 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48707 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48708 echo $ECHO_N "(cached) $ECHO_C" >&6
48709 else
48713 ac_ext=cc
48714 ac_cpp='$CXXCPP $CPPFLAGS'
48715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48719 cat >conftest.$ac_ext <<_ACEOF
48720 /* confdefs.h. */
48721 _ACEOF
48722 cat confdefs.h >>conftest.$ac_ext
48723 cat >>conftest.$ac_ext <<_ACEOF
48724 /* end confdefs.h. */
48725 #include <math.h>
48727 main ()
48729 __builtin_fabsl(0);
48731 return 0;
48733 _ACEOF
48734 rm -f conftest.$ac_objext
48735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48736 (eval $ac_compile) 2>conftest.er1
48737 ac_status=$?
48738 grep -v '^ *+' conftest.er1 >conftest.err
48739 rm -f conftest.er1
48740 cat conftest.err >&5
48741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48742 (exit $ac_status); } &&
48743 { ac_try='test -z "$ac_cxx_werror_flag"
48744 || test ! -s conftest.err'
48745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48746 (eval $ac_try) 2>&5
48747 ac_status=$?
48748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48749 (exit $ac_status); }; } &&
48750 { ac_try='test -s conftest.$ac_objext'
48751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48752 (eval $ac_try) 2>&5
48753 ac_status=$?
48754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48755 (exit $ac_status); }; }; then
48756 glibcxx_cv_func___builtin_fabsl_use=yes
48757 else
48758 echo "$as_me: failed program was:" >&5
48759 sed 's/^/| /' conftest.$ac_ext >&5
48761 glibcxx_cv_func___builtin_fabsl_use=no
48763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48764 ac_ext=c
48765 ac_cpp='$CPP $CPPFLAGS'
48766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48774 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48775 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48776 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48777 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48778 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48779 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48780 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48781 echo $ECHO_N "(cached) $ECHO_C" >&6
48782 else
48784 if test x$gcc_no_link = xyes; then
48785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48787 { (exit 1); exit 1; }; }
48789 cat >conftest.$ac_ext <<_ACEOF
48790 /* confdefs.h. */
48791 _ACEOF
48792 cat confdefs.h >>conftest.$ac_ext
48793 cat >>conftest.$ac_ext <<_ACEOF
48794 /* end confdefs.h. */
48795 #include <math.h>
48797 main ()
48799 __builtin_fabsl(0);
48801 return 0;
48803 _ACEOF
48804 rm -f conftest.$ac_objext conftest$ac_exeext
48805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48806 (eval $ac_link) 2>conftest.er1
48807 ac_status=$?
48808 grep -v '^ *+' conftest.er1 >conftest.err
48809 rm -f conftest.er1
48810 cat conftest.err >&5
48811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48812 (exit $ac_status); } &&
48813 { ac_try='test -z "$ac_c_werror_flag"
48814 || test ! -s conftest.err'
48815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48816 (eval $ac_try) 2>&5
48817 ac_status=$?
48818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48819 (exit $ac_status); }; } &&
48820 { ac_try='test -s conftest$ac_exeext'
48821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48822 (eval $ac_try) 2>&5
48823 ac_status=$?
48824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48825 (exit $ac_status); }; }; then
48826 glibcxx_cv_func___builtin_fabsl_link=yes
48827 else
48828 echo "$as_me: failed program was:" >&5
48829 sed 's/^/| /' conftest.$ac_ext >&5
48831 glibcxx_cv_func___builtin_fabsl_link=no
48833 rm -f conftest.err conftest.$ac_objext \
48834 conftest$ac_exeext conftest.$ac_ext
48839 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48840 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48841 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48842 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48844 cat >>confdefs.h <<_ACEOF
48845 #define ${ac_tr_func} 1
48846 _ACEOF
48852 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48853 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48854 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48855 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48856 echo $ECHO_N "(cached) $ECHO_C" >&6
48857 else
48861 ac_ext=cc
48862 ac_cpp='$CXXCPP $CPPFLAGS'
48863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48867 cat >conftest.$ac_ext <<_ACEOF
48868 /* confdefs.h. */
48869 _ACEOF
48870 cat confdefs.h >>conftest.$ac_ext
48871 cat >>conftest.$ac_ext <<_ACEOF
48872 /* end confdefs.h. */
48873 #include <math.h>
48875 main ()
48877 __builtin_labs(0);
48879 return 0;
48881 _ACEOF
48882 rm -f conftest.$ac_objext
48883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48884 (eval $ac_compile) 2>conftest.er1
48885 ac_status=$?
48886 grep -v '^ *+' conftest.er1 >conftest.err
48887 rm -f conftest.er1
48888 cat conftest.err >&5
48889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48890 (exit $ac_status); } &&
48891 { ac_try='test -z "$ac_cxx_werror_flag"
48892 || test ! -s conftest.err'
48893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48894 (eval $ac_try) 2>&5
48895 ac_status=$?
48896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48897 (exit $ac_status); }; } &&
48898 { ac_try='test -s conftest.$ac_objext'
48899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48900 (eval $ac_try) 2>&5
48901 ac_status=$?
48902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48903 (exit $ac_status); }; }; then
48904 glibcxx_cv_func___builtin_labs_use=yes
48905 else
48906 echo "$as_me: failed program was:" >&5
48907 sed 's/^/| /' conftest.$ac_ext >&5
48909 glibcxx_cv_func___builtin_labs_use=no
48911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48912 ac_ext=c
48913 ac_cpp='$CPP $CPPFLAGS'
48914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48922 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48923 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48924 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48925 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48926 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48927 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48928 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48929 echo $ECHO_N "(cached) $ECHO_C" >&6
48930 else
48932 if test x$gcc_no_link = xyes; then
48933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48935 { (exit 1); exit 1; }; }
48937 cat >conftest.$ac_ext <<_ACEOF
48938 /* confdefs.h. */
48939 _ACEOF
48940 cat confdefs.h >>conftest.$ac_ext
48941 cat >>conftest.$ac_ext <<_ACEOF
48942 /* end confdefs.h. */
48943 #include <math.h>
48945 main ()
48947 __builtin_labs(0);
48949 return 0;
48951 _ACEOF
48952 rm -f conftest.$ac_objext conftest$ac_exeext
48953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48954 (eval $ac_link) 2>conftest.er1
48955 ac_status=$?
48956 grep -v '^ *+' conftest.er1 >conftest.err
48957 rm -f conftest.er1
48958 cat conftest.err >&5
48959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48960 (exit $ac_status); } &&
48961 { ac_try='test -z "$ac_c_werror_flag"
48962 || test ! -s conftest.err'
48963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48964 (eval $ac_try) 2>&5
48965 ac_status=$?
48966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48967 (exit $ac_status); }; } &&
48968 { ac_try='test -s conftest$ac_exeext'
48969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48970 (eval $ac_try) 2>&5
48971 ac_status=$?
48972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48973 (exit $ac_status); }; }; then
48974 glibcxx_cv_func___builtin_labs_link=yes
48975 else
48976 echo "$as_me: failed program was:" >&5
48977 sed 's/^/| /' conftest.$ac_ext >&5
48979 glibcxx_cv_func___builtin_labs_link=no
48981 rm -f conftest.err conftest.$ac_objext \
48982 conftest$ac_exeext conftest.$ac_ext
48987 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48988 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48989 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48990 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48992 cat >>confdefs.h <<_ACEOF
48993 #define ${ac_tr_func} 1
48994 _ACEOF
49001 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49002 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49003 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49004 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49005 echo $ECHO_N "(cached) $ECHO_C" >&6
49006 else
49010 ac_ext=cc
49011 ac_cpp='$CXXCPP $CPPFLAGS'
49012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49016 cat >conftest.$ac_ext <<_ACEOF
49017 /* confdefs.h. */
49018 _ACEOF
49019 cat confdefs.h >>conftest.$ac_ext
49020 cat >>conftest.$ac_ext <<_ACEOF
49021 /* end confdefs.h. */
49022 #include <math.h>
49024 main ()
49026 __builtin_sqrtf(0);
49028 return 0;
49030 _ACEOF
49031 rm -f conftest.$ac_objext
49032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49033 (eval $ac_compile) 2>conftest.er1
49034 ac_status=$?
49035 grep -v '^ *+' conftest.er1 >conftest.err
49036 rm -f conftest.er1
49037 cat conftest.err >&5
49038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49039 (exit $ac_status); } &&
49040 { ac_try='test -z "$ac_cxx_werror_flag"
49041 || test ! -s conftest.err'
49042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49043 (eval $ac_try) 2>&5
49044 ac_status=$?
49045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49046 (exit $ac_status); }; } &&
49047 { ac_try='test -s conftest.$ac_objext'
49048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49049 (eval $ac_try) 2>&5
49050 ac_status=$?
49051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49052 (exit $ac_status); }; }; then
49053 glibcxx_cv_func___builtin_sqrtf_use=yes
49054 else
49055 echo "$as_me: failed program was:" >&5
49056 sed 's/^/| /' conftest.$ac_ext >&5
49058 glibcxx_cv_func___builtin_sqrtf_use=no
49060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49061 ac_ext=c
49062 ac_cpp='$CPP $CPPFLAGS'
49063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49071 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49072 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49073 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49074 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49075 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49076 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49077 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49078 echo $ECHO_N "(cached) $ECHO_C" >&6
49079 else
49081 if test x$gcc_no_link = xyes; then
49082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49084 { (exit 1); exit 1; }; }
49086 cat >conftest.$ac_ext <<_ACEOF
49087 /* confdefs.h. */
49088 _ACEOF
49089 cat confdefs.h >>conftest.$ac_ext
49090 cat >>conftest.$ac_ext <<_ACEOF
49091 /* end confdefs.h. */
49092 #include <math.h>
49094 main ()
49096 __builtin_sqrtf(0);
49098 return 0;
49100 _ACEOF
49101 rm -f conftest.$ac_objext conftest$ac_exeext
49102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49103 (eval $ac_link) 2>conftest.er1
49104 ac_status=$?
49105 grep -v '^ *+' conftest.er1 >conftest.err
49106 rm -f conftest.er1
49107 cat conftest.err >&5
49108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49109 (exit $ac_status); } &&
49110 { ac_try='test -z "$ac_c_werror_flag"
49111 || test ! -s conftest.err'
49112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49113 (eval $ac_try) 2>&5
49114 ac_status=$?
49115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49116 (exit $ac_status); }; } &&
49117 { ac_try='test -s conftest$ac_exeext'
49118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49119 (eval $ac_try) 2>&5
49120 ac_status=$?
49121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49122 (exit $ac_status); }; }; then
49123 glibcxx_cv_func___builtin_sqrtf_link=yes
49124 else
49125 echo "$as_me: failed program was:" >&5
49126 sed 's/^/| /' conftest.$ac_ext >&5
49128 glibcxx_cv_func___builtin_sqrtf_link=no
49130 rm -f conftest.err conftest.$ac_objext \
49131 conftest$ac_exeext conftest.$ac_ext
49136 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49137 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49138 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49139 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49141 cat >>confdefs.h <<_ACEOF
49142 #define ${ac_tr_func} 1
49143 _ACEOF
49149 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49150 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49151 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49152 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49153 echo $ECHO_N "(cached) $ECHO_C" >&6
49154 else
49158 ac_ext=cc
49159 ac_cpp='$CXXCPP $CPPFLAGS'
49160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49164 cat >conftest.$ac_ext <<_ACEOF
49165 /* confdefs.h. */
49166 _ACEOF
49167 cat confdefs.h >>conftest.$ac_ext
49168 cat >>conftest.$ac_ext <<_ACEOF
49169 /* end confdefs.h. */
49170 #include <math.h>
49172 main ()
49174 __builtin_sqrt(0);
49176 return 0;
49178 _ACEOF
49179 rm -f conftest.$ac_objext
49180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49181 (eval $ac_compile) 2>conftest.er1
49182 ac_status=$?
49183 grep -v '^ *+' conftest.er1 >conftest.err
49184 rm -f conftest.er1
49185 cat conftest.err >&5
49186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49187 (exit $ac_status); } &&
49188 { ac_try='test -z "$ac_cxx_werror_flag"
49189 || test ! -s conftest.err'
49190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49191 (eval $ac_try) 2>&5
49192 ac_status=$?
49193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49194 (exit $ac_status); }; } &&
49195 { ac_try='test -s conftest.$ac_objext'
49196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49197 (eval $ac_try) 2>&5
49198 ac_status=$?
49199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49200 (exit $ac_status); }; }; then
49201 glibcxx_cv_func___builtin_sqrt_use=yes
49202 else
49203 echo "$as_me: failed program was:" >&5
49204 sed 's/^/| /' conftest.$ac_ext >&5
49206 glibcxx_cv_func___builtin_sqrt_use=no
49208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49209 ac_ext=c
49210 ac_cpp='$CPP $CPPFLAGS'
49211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49219 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49220 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49221 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49222 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49223 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49224 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49225 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49226 echo $ECHO_N "(cached) $ECHO_C" >&6
49227 else
49229 if test x$gcc_no_link = xyes; then
49230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49232 { (exit 1); exit 1; }; }
49234 cat >conftest.$ac_ext <<_ACEOF
49235 /* confdefs.h. */
49236 _ACEOF
49237 cat confdefs.h >>conftest.$ac_ext
49238 cat >>conftest.$ac_ext <<_ACEOF
49239 /* end confdefs.h. */
49240 #include <math.h>
49242 main ()
49244 __builtin_sqrt(0);
49246 return 0;
49248 _ACEOF
49249 rm -f conftest.$ac_objext conftest$ac_exeext
49250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49251 (eval $ac_link) 2>conftest.er1
49252 ac_status=$?
49253 grep -v '^ *+' conftest.er1 >conftest.err
49254 rm -f conftest.er1
49255 cat conftest.err >&5
49256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49257 (exit $ac_status); } &&
49258 { ac_try='test -z "$ac_c_werror_flag"
49259 || test ! -s conftest.err'
49260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49261 (eval $ac_try) 2>&5
49262 ac_status=$?
49263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49264 (exit $ac_status); }; } &&
49265 { ac_try='test -s conftest$ac_exeext'
49266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49267 (eval $ac_try) 2>&5
49268 ac_status=$?
49269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49270 (exit $ac_status); }; }; then
49271 glibcxx_cv_func___builtin_sqrt_link=yes
49272 else
49273 echo "$as_me: failed program was:" >&5
49274 sed 's/^/| /' conftest.$ac_ext >&5
49276 glibcxx_cv_func___builtin_sqrt_link=no
49278 rm -f conftest.err conftest.$ac_objext \
49279 conftest$ac_exeext conftest.$ac_ext
49284 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49285 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49286 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49287 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49289 cat >>confdefs.h <<_ACEOF
49290 #define ${ac_tr_func} 1
49291 _ACEOF
49297 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49298 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49299 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49300 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49301 echo $ECHO_N "(cached) $ECHO_C" >&6
49302 else
49306 ac_ext=cc
49307 ac_cpp='$CXXCPP $CPPFLAGS'
49308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49312 cat >conftest.$ac_ext <<_ACEOF
49313 /* confdefs.h. */
49314 _ACEOF
49315 cat confdefs.h >>conftest.$ac_ext
49316 cat >>conftest.$ac_ext <<_ACEOF
49317 /* end confdefs.h. */
49318 #include <math.h>
49320 main ()
49322 __builtin_sqrtl(0);
49324 return 0;
49326 _ACEOF
49327 rm -f conftest.$ac_objext
49328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49329 (eval $ac_compile) 2>conftest.er1
49330 ac_status=$?
49331 grep -v '^ *+' conftest.er1 >conftest.err
49332 rm -f conftest.er1
49333 cat conftest.err >&5
49334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49335 (exit $ac_status); } &&
49336 { ac_try='test -z "$ac_cxx_werror_flag"
49337 || test ! -s conftest.err'
49338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49339 (eval $ac_try) 2>&5
49340 ac_status=$?
49341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49342 (exit $ac_status); }; } &&
49343 { ac_try='test -s conftest.$ac_objext'
49344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49345 (eval $ac_try) 2>&5
49346 ac_status=$?
49347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49348 (exit $ac_status); }; }; then
49349 glibcxx_cv_func___builtin_sqrtl_use=yes
49350 else
49351 echo "$as_me: failed program was:" >&5
49352 sed 's/^/| /' conftest.$ac_ext >&5
49354 glibcxx_cv_func___builtin_sqrtl_use=no
49356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49357 ac_ext=c
49358 ac_cpp='$CPP $CPPFLAGS'
49359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49367 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49368 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49369 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49370 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49371 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49372 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49373 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49374 echo $ECHO_N "(cached) $ECHO_C" >&6
49375 else
49377 if test x$gcc_no_link = xyes; then
49378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49380 { (exit 1); exit 1; }; }
49382 cat >conftest.$ac_ext <<_ACEOF
49383 /* confdefs.h. */
49384 _ACEOF
49385 cat confdefs.h >>conftest.$ac_ext
49386 cat >>conftest.$ac_ext <<_ACEOF
49387 /* end confdefs.h. */
49388 #include <math.h>
49390 main ()
49392 __builtin_sqrtl(0);
49394 return 0;
49396 _ACEOF
49397 rm -f conftest.$ac_objext conftest$ac_exeext
49398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49399 (eval $ac_link) 2>conftest.er1
49400 ac_status=$?
49401 grep -v '^ *+' conftest.er1 >conftest.err
49402 rm -f conftest.er1
49403 cat conftest.err >&5
49404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49405 (exit $ac_status); } &&
49406 { ac_try='test -z "$ac_c_werror_flag"
49407 || test ! -s conftest.err'
49408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49409 (eval $ac_try) 2>&5
49410 ac_status=$?
49411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49412 (exit $ac_status); }; } &&
49413 { ac_try='test -s conftest$ac_exeext'
49414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49415 (eval $ac_try) 2>&5
49416 ac_status=$?
49417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49418 (exit $ac_status); }; }; then
49419 glibcxx_cv_func___builtin_sqrtl_link=yes
49420 else
49421 echo "$as_me: failed program was:" >&5
49422 sed 's/^/| /' conftest.$ac_ext >&5
49424 glibcxx_cv_func___builtin_sqrtl_link=no
49426 rm -f conftest.err conftest.$ac_objext \
49427 conftest$ac_exeext conftest.$ac_ext
49432 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49433 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49434 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49435 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49437 cat >>confdefs.h <<_ACEOF
49438 #define ${ac_tr_func} 1
49439 _ACEOF
49446 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49447 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49448 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49449 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49450 echo $ECHO_N "(cached) $ECHO_C" >&6
49451 else
49455 ac_ext=cc
49456 ac_cpp='$CXXCPP $CPPFLAGS'
49457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49461 cat >conftest.$ac_ext <<_ACEOF
49462 /* confdefs.h. */
49463 _ACEOF
49464 cat confdefs.h >>conftest.$ac_ext
49465 cat >>conftest.$ac_ext <<_ACEOF
49466 /* end confdefs.h. */
49467 #include <math.h>
49469 main ()
49471 __builtin_sinf(0);
49473 return 0;
49475 _ACEOF
49476 rm -f conftest.$ac_objext
49477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49478 (eval $ac_compile) 2>conftest.er1
49479 ac_status=$?
49480 grep -v '^ *+' conftest.er1 >conftest.err
49481 rm -f conftest.er1
49482 cat conftest.err >&5
49483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49484 (exit $ac_status); } &&
49485 { ac_try='test -z "$ac_cxx_werror_flag"
49486 || test ! -s conftest.err'
49487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49488 (eval $ac_try) 2>&5
49489 ac_status=$?
49490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49491 (exit $ac_status); }; } &&
49492 { ac_try='test -s conftest.$ac_objext'
49493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49494 (eval $ac_try) 2>&5
49495 ac_status=$?
49496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49497 (exit $ac_status); }; }; then
49498 glibcxx_cv_func___builtin_sinf_use=yes
49499 else
49500 echo "$as_me: failed program was:" >&5
49501 sed 's/^/| /' conftest.$ac_ext >&5
49503 glibcxx_cv_func___builtin_sinf_use=no
49505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49506 ac_ext=c
49507 ac_cpp='$CPP $CPPFLAGS'
49508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49516 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49517 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49518 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49519 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49520 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49521 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49522 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49523 echo $ECHO_N "(cached) $ECHO_C" >&6
49524 else
49526 if test x$gcc_no_link = xyes; then
49527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49529 { (exit 1); exit 1; }; }
49531 cat >conftest.$ac_ext <<_ACEOF
49532 /* confdefs.h. */
49533 _ACEOF
49534 cat confdefs.h >>conftest.$ac_ext
49535 cat >>conftest.$ac_ext <<_ACEOF
49536 /* end confdefs.h. */
49537 #include <math.h>
49539 main ()
49541 __builtin_sinf(0);
49543 return 0;
49545 _ACEOF
49546 rm -f conftest.$ac_objext conftest$ac_exeext
49547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49548 (eval $ac_link) 2>conftest.er1
49549 ac_status=$?
49550 grep -v '^ *+' conftest.er1 >conftest.err
49551 rm -f conftest.er1
49552 cat conftest.err >&5
49553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49554 (exit $ac_status); } &&
49555 { ac_try='test -z "$ac_c_werror_flag"
49556 || test ! -s conftest.err'
49557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49558 (eval $ac_try) 2>&5
49559 ac_status=$?
49560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49561 (exit $ac_status); }; } &&
49562 { ac_try='test -s conftest$ac_exeext'
49563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49564 (eval $ac_try) 2>&5
49565 ac_status=$?
49566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49567 (exit $ac_status); }; }; then
49568 glibcxx_cv_func___builtin_sinf_link=yes
49569 else
49570 echo "$as_me: failed program was:" >&5
49571 sed 's/^/| /' conftest.$ac_ext >&5
49573 glibcxx_cv_func___builtin_sinf_link=no
49575 rm -f conftest.err conftest.$ac_objext \
49576 conftest$ac_exeext conftest.$ac_ext
49581 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49582 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49583 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49584 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49586 cat >>confdefs.h <<_ACEOF
49587 #define ${ac_tr_func} 1
49588 _ACEOF
49594 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49595 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49596 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49597 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49598 echo $ECHO_N "(cached) $ECHO_C" >&6
49599 else
49603 ac_ext=cc
49604 ac_cpp='$CXXCPP $CPPFLAGS'
49605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49609 cat >conftest.$ac_ext <<_ACEOF
49610 /* confdefs.h. */
49611 _ACEOF
49612 cat confdefs.h >>conftest.$ac_ext
49613 cat >>conftest.$ac_ext <<_ACEOF
49614 /* end confdefs.h. */
49615 #include <math.h>
49617 main ()
49619 __builtin_sin(0);
49621 return 0;
49623 _ACEOF
49624 rm -f conftest.$ac_objext
49625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49626 (eval $ac_compile) 2>conftest.er1
49627 ac_status=$?
49628 grep -v '^ *+' conftest.er1 >conftest.err
49629 rm -f conftest.er1
49630 cat conftest.err >&5
49631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49632 (exit $ac_status); } &&
49633 { ac_try='test -z "$ac_cxx_werror_flag"
49634 || test ! -s conftest.err'
49635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49636 (eval $ac_try) 2>&5
49637 ac_status=$?
49638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49639 (exit $ac_status); }; } &&
49640 { ac_try='test -s conftest.$ac_objext'
49641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49642 (eval $ac_try) 2>&5
49643 ac_status=$?
49644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49645 (exit $ac_status); }; }; then
49646 glibcxx_cv_func___builtin_sin_use=yes
49647 else
49648 echo "$as_me: failed program was:" >&5
49649 sed 's/^/| /' conftest.$ac_ext >&5
49651 glibcxx_cv_func___builtin_sin_use=no
49653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49654 ac_ext=c
49655 ac_cpp='$CPP $CPPFLAGS'
49656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49664 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49665 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49666 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49667 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49668 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49669 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49670 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49671 echo $ECHO_N "(cached) $ECHO_C" >&6
49672 else
49674 if test x$gcc_no_link = xyes; then
49675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49677 { (exit 1); exit 1; }; }
49679 cat >conftest.$ac_ext <<_ACEOF
49680 /* confdefs.h. */
49681 _ACEOF
49682 cat confdefs.h >>conftest.$ac_ext
49683 cat >>conftest.$ac_ext <<_ACEOF
49684 /* end confdefs.h. */
49685 #include <math.h>
49687 main ()
49689 __builtin_sin(0);
49691 return 0;
49693 _ACEOF
49694 rm -f conftest.$ac_objext conftest$ac_exeext
49695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49696 (eval $ac_link) 2>conftest.er1
49697 ac_status=$?
49698 grep -v '^ *+' conftest.er1 >conftest.err
49699 rm -f conftest.er1
49700 cat conftest.err >&5
49701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49702 (exit $ac_status); } &&
49703 { ac_try='test -z "$ac_c_werror_flag"
49704 || test ! -s conftest.err'
49705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49706 (eval $ac_try) 2>&5
49707 ac_status=$?
49708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49709 (exit $ac_status); }; } &&
49710 { ac_try='test -s conftest$ac_exeext'
49711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49712 (eval $ac_try) 2>&5
49713 ac_status=$?
49714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49715 (exit $ac_status); }; }; then
49716 glibcxx_cv_func___builtin_sin_link=yes
49717 else
49718 echo "$as_me: failed program was:" >&5
49719 sed 's/^/| /' conftest.$ac_ext >&5
49721 glibcxx_cv_func___builtin_sin_link=no
49723 rm -f conftest.err conftest.$ac_objext \
49724 conftest$ac_exeext conftest.$ac_ext
49729 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49730 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49731 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49732 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49734 cat >>confdefs.h <<_ACEOF
49735 #define ${ac_tr_func} 1
49736 _ACEOF
49742 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49743 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49744 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49745 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49746 echo $ECHO_N "(cached) $ECHO_C" >&6
49747 else
49751 ac_ext=cc
49752 ac_cpp='$CXXCPP $CPPFLAGS'
49753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49757 cat >conftest.$ac_ext <<_ACEOF
49758 /* confdefs.h. */
49759 _ACEOF
49760 cat confdefs.h >>conftest.$ac_ext
49761 cat >>conftest.$ac_ext <<_ACEOF
49762 /* end confdefs.h. */
49763 #include <math.h>
49765 main ()
49767 __builtin_sinl(0);
49769 return 0;
49771 _ACEOF
49772 rm -f conftest.$ac_objext
49773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49774 (eval $ac_compile) 2>conftest.er1
49775 ac_status=$?
49776 grep -v '^ *+' conftest.er1 >conftest.err
49777 rm -f conftest.er1
49778 cat conftest.err >&5
49779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49780 (exit $ac_status); } &&
49781 { ac_try='test -z "$ac_cxx_werror_flag"
49782 || test ! -s conftest.err'
49783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49784 (eval $ac_try) 2>&5
49785 ac_status=$?
49786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49787 (exit $ac_status); }; } &&
49788 { ac_try='test -s conftest.$ac_objext'
49789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49790 (eval $ac_try) 2>&5
49791 ac_status=$?
49792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49793 (exit $ac_status); }; }; then
49794 glibcxx_cv_func___builtin_sinl_use=yes
49795 else
49796 echo "$as_me: failed program was:" >&5
49797 sed 's/^/| /' conftest.$ac_ext >&5
49799 glibcxx_cv_func___builtin_sinl_use=no
49801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49802 ac_ext=c
49803 ac_cpp='$CPP $CPPFLAGS'
49804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49812 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49813 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49814 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49815 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49816 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49817 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49818 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49819 echo $ECHO_N "(cached) $ECHO_C" >&6
49820 else
49822 if test x$gcc_no_link = xyes; then
49823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49825 { (exit 1); exit 1; }; }
49827 cat >conftest.$ac_ext <<_ACEOF
49828 /* confdefs.h. */
49829 _ACEOF
49830 cat confdefs.h >>conftest.$ac_ext
49831 cat >>conftest.$ac_ext <<_ACEOF
49832 /* end confdefs.h. */
49833 #include <math.h>
49835 main ()
49837 __builtin_sinl(0);
49839 return 0;
49841 _ACEOF
49842 rm -f conftest.$ac_objext conftest$ac_exeext
49843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49844 (eval $ac_link) 2>conftest.er1
49845 ac_status=$?
49846 grep -v '^ *+' conftest.er1 >conftest.err
49847 rm -f conftest.er1
49848 cat conftest.err >&5
49849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49850 (exit $ac_status); } &&
49851 { ac_try='test -z "$ac_c_werror_flag"
49852 || test ! -s conftest.err'
49853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49854 (eval $ac_try) 2>&5
49855 ac_status=$?
49856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49857 (exit $ac_status); }; } &&
49858 { ac_try='test -s conftest$ac_exeext'
49859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49860 (eval $ac_try) 2>&5
49861 ac_status=$?
49862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49863 (exit $ac_status); }; }; then
49864 glibcxx_cv_func___builtin_sinl_link=yes
49865 else
49866 echo "$as_me: failed program was:" >&5
49867 sed 's/^/| /' conftest.$ac_ext >&5
49869 glibcxx_cv_func___builtin_sinl_link=no
49871 rm -f conftest.err conftest.$ac_objext \
49872 conftest$ac_exeext conftest.$ac_ext
49877 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49878 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49879 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49880 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49882 cat >>confdefs.h <<_ACEOF
49883 #define ${ac_tr_func} 1
49884 _ACEOF
49891 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49892 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49893 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49894 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49895 echo $ECHO_N "(cached) $ECHO_C" >&6
49896 else
49900 ac_ext=cc
49901 ac_cpp='$CXXCPP $CPPFLAGS'
49902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49906 cat >conftest.$ac_ext <<_ACEOF
49907 /* confdefs.h. */
49908 _ACEOF
49909 cat confdefs.h >>conftest.$ac_ext
49910 cat >>conftest.$ac_ext <<_ACEOF
49911 /* end confdefs.h. */
49912 #include <math.h>
49914 main ()
49916 __builtin_cosf(0);
49918 return 0;
49920 _ACEOF
49921 rm -f conftest.$ac_objext
49922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49923 (eval $ac_compile) 2>conftest.er1
49924 ac_status=$?
49925 grep -v '^ *+' conftest.er1 >conftest.err
49926 rm -f conftest.er1
49927 cat conftest.err >&5
49928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49929 (exit $ac_status); } &&
49930 { ac_try='test -z "$ac_cxx_werror_flag"
49931 || test ! -s conftest.err'
49932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49933 (eval $ac_try) 2>&5
49934 ac_status=$?
49935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49936 (exit $ac_status); }; } &&
49937 { ac_try='test -s conftest.$ac_objext'
49938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49939 (eval $ac_try) 2>&5
49940 ac_status=$?
49941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49942 (exit $ac_status); }; }; then
49943 glibcxx_cv_func___builtin_cosf_use=yes
49944 else
49945 echo "$as_me: failed program was:" >&5
49946 sed 's/^/| /' conftest.$ac_ext >&5
49948 glibcxx_cv_func___builtin_cosf_use=no
49950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49951 ac_ext=c
49952 ac_cpp='$CPP $CPPFLAGS'
49953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49961 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49962 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49963 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49964 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49965 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49966 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49967 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49968 echo $ECHO_N "(cached) $ECHO_C" >&6
49969 else
49971 if test x$gcc_no_link = xyes; then
49972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49974 { (exit 1); exit 1; }; }
49976 cat >conftest.$ac_ext <<_ACEOF
49977 /* confdefs.h. */
49978 _ACEOF
49979 cat confdefs.h >>conftest.$ac_ext
49980 cat >>conftest.$ac_ext <<_ACEOF
49981 /* end confdefs.h. */
49982 #include <math.h>
49984 main ()
49986 __builtin_cosf(0);
49988 return 0;
49990 _ACEOF
49991 rm -f conftest.$ac_objext conftest$ac_exeext
49992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49993 (eval $ac_link) 2>conftest.er1
49994 ac_status=$?
49995 grep -v '^ *+' conftest.er1 >conftest.err
49996 rm -f conftest.er1
49997 cat conftest.err >&5
49998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49999 (exit $ac_status); } &&
50000 { ac_try='test -z "$ac_c_werror_flag"
50001 || test ! -s conftest.err'
50002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50003 (eval $ac_try) 2>&5
50004 ac_status=$?
50005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50006 (exit $ac_status); }; } &&
50007 { ac_try='test -s conftest$ac_exeext'
50008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50009 (eval $ac_try) 2>&5
50010 ac_status=$?
50011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50012 (exit $ac_status); }; }; then
50013 glibcxx_cv_func___builtin_cosf_link=yes
50014 else
50015 echo "$as_me: failed program was:" >&5
50016 sed 's/^/| /' conftest.$ac_ext >&5
50018 glibcxx_cv_func___builtin_cosf_link=no
50020 rm -f conftest.err conftest.$ac_objext \
50021 conftest$ac_exeext conftest.$ac_ext
50026 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50027 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50028 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50029 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50031 cat >>confdefs.h <<_ACEOF
50032 #define ${ac_tr_func} 1
50033 _ACEOF
50039 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50040 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50041 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50042 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50043 echo $ECHO_N "(cached) $ECHO_C" >&6
50044 else
50048 ac_ext=cc
50049 ac_cpp='$CXXCPP $CPPFLAGS'
50050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50054 cat >conftest.$ac_ext <<_ACEOF
50055 /* confdefs.h. */
50056 _ACEOF
50057 cat confdefs.h >>conftest.$ac_ext
50058 cat >>conftest.$ac_ext <<_ACEOF
50059 /* end confdefs.h. */
50060 #include <math.h>
50062 main ()
50064 __builtin_cos(0);
50066 return 0;
50068 _ACEOF
50069 rm -f conftest.$ac_objext
50070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50071 (eval $ac_compile) 2>conftest.er1
50072 ac_status=$?
50073 grep -v '^ *+' conftest.er1 >conftest.err
50074 rm -f conftest.er1
50075 cat conftest.err >&5
50076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50077 (exit $ac_status); } &&
50078 { ac_try='test -z "$ac_cxx_werror_flag"
50079 || test ! -s conftest.err'
50080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50081 (eval $ac_try) 2>&5
50082 ac_status=$?
50083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50084 (exit $ac_status); }; } &&
50085 { ac_try='test -s conftest.$ac_objext'
50086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50087 (eval $ac_try) 2>&5
50088 ac_status=$?
50089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50090 (exit $ac_status); }; }; then
50091 glibcxx_cv_func___builtin_cos_use=yes
50092 else
50093 echo "$as_me: failed program was:" >&5
50094 sed 's/^/| /' conftest.$ac_ext >&5
50096 glibcxx_cv_func___builtin_cos_use=no
50098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50099 ac_ext=c
50100 ac_cpp='$CPP $CPPFLAGS'
50101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50109 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50110 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50111 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50112 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50113 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50114 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50115 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50116 echo $ECHO_N "(cached) $ECHO_C" >&6
50117 else
50119 if test x$gcc_no_link = xyes; then
50120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50122 { (exit 1); exit 1; }; }
50124 cat >conftest.$ac_ext <<_ACEOF
50125 /* confdefs.h. */
50126 _ACEOF
50127 cat confdefs.h >>conftest.$ac_ext
50128 cat >>conftest.$ac_ext <<_ACEOF
50129 /* end confdefs.h. */
50130 #include <math.h>
50132 main ()
50134 __builtin_cos(0);
50136 return 0;
50138 _ACEOF
50139 rm -f conftest.$ac_objext conftest$ac_exeext
50140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50141 (eval $ac_link) 2>conftest.er1
50142 ac_status=$?
50143 grep -v '^ *+' conftest.er1 >conftest.err
50144 rm -f conftest.er1
50145 cat conftest.err >&5
50146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50147 (exit $ac_status); } &&
50148 { ac_try='test -z "$ac_c_werror_flag"
50149 || test ! -s conftest.err'
50150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50151 (eval $ac_try) 2>&5
50152 ac_status=$?
50153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50154 (exit $ac_status); }; } &&
50155 { ac_try='test -s conftest$ac_exeext'
50156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50157 (eval $ac_try) 2>&5
50158 ac_status=$?
50159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50160 (exit $ac_status); }; }; then
50161 glibcxx_cv_func___builtin_cos_link=yes
50162 else
50163 echo "$as_me: failed program was:" >&5
50164 sed 's/^/| /' conftest.$ac_ext >&5
50166 glibcxx_cv_func___builtin_cos_link=no
50168 rm -f conftest.err conftest.$ac_objext \
50169 conftest$ac_exeext conftest.$ac_ext
50174 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50175 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50176 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50177 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50179 cat >>confdefs.h <<_ACEOF
50180 #define ${ac_tr_func} 1
50181 _ACEOF
50187 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50188 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50189 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50190 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50191 echo $ECHO_N "(cached) $ECHO_C" >&6
50192 else
50196 ac_ext=cc
50197 ac_cpp='$CXXCPP $CPPFLAGS'
50198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50202 cat >conftest.$ac_ext <<_ACEOF
50203 /* confdefs.h. */
50204 _ACEOF
50205 cat confdefs.h >>conftest.$ac_ext
50206 cat >>conftest.$ac_ext <<_ACEOF
50207 /* end confdefs.h. */
50208 #include <math.h>
50210 main ()
50212 __builtin_cosl(0);
50214 return 0;
50216 _ACEOF
50217 rm -f conftest.$ac_objext
50218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50219 (eval $ac_compile) 2>conftest.er1
50220 ac_status=$?
50221 grep -v '^ *+' conftest.er1 >conftest.err
50222 rm -f conftest.er1
50223 cat conftest.err >&5
50224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50225 (exit $ac_status); } &&
50226 { ac_try='test -z "$ac_cxx_werror_flag"
50227 || test ! -s conftest.err'
50228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50229 (eval $ac_try) 2>&5
50230 ac_status=$?
50231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50232 (exit $ac_status); }; } &&
50233 { ac_try='test -s conftest.$ac_objext'
50234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50235 (eval $ac_try) 2>&5
50236 ac_status=$?
50237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50238 (exit $ac_status); }; }; then
50239 glibcxx_cv_func___builtin_cosl_use=yes
50240 else
50241 echo "$as_me: failed program was:" >&5
50242 sed 's/^/| /' conftest.$ac_ext >&5
50244 glibcxx_cv_func___builtin_cosl_use=no
50246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50247 ac_ext=c
50248 ac_cpp='$CPP $CPPFLAGS'
50249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50257 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50258 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50259 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50260 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50261 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50262 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50263 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50264 echo $ECHO_N "(cached) $ECHO_C" >&6
50265 else
50267 if test x$gcc_no_link = xyes; then
50268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50270 { (exit 1); exit 1; }; }
50272 cat >conftest.$ac_ext <<_ACEOF
50273 /* confdefs.h. */
50274 _ACEOF
50275 cat confdefs.h >>conftest.$ac_ext
50276 cat >>conftest.$ac_ext <<_ACEOF
50277 /* end confdefs.h. */
50278 #include <math.h>
50280 main ()
50282 __builtin_cosl(0);
50284 return 0;
50286 _ACEOF
50287 rm -f conftest.$ac_objext conftest$ac_exeext
50288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50289 (eval $ac_link) 2>conftest.er1
50290 ac_status=$?
50291 grep -v '^ *+' conftest.er1 >conftest.err
50292 rm -f conftest.er1
50293 cat conftest.err >&5
50294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50295 (exit $ac_status); } &&
50296 { ac_try='test -z "$ac_c_werror_flag"
50297 || test ! -s conftest.err'
50298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50299 (eval $ac_try) 2>&5
50300 ac_status=$?
50301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50302 (exit $ac_status); }; } &&
50303 { ac_try='test -s conftest$ac_exeext'
50304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50305 (eval $ac_try) 2>&5
50306 ac_status=$?
50307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50308 (exit $ac_status); }; }; then
50309 glibcxx_cv_func___builtin_cosl_link=yes
50310 else
50311 echo "$as_me: failed program was:" >&5
50312 sed 's/^/| /' conftest.$ac_ext >&5
50314 glibcxx_cv_func___builtin_cosl_link=no
50316 rm -f conftest.err conftest.$ac_objext \
50317 conftest$ac_exeext conftest.$ac_ext
50322 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50323 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50324 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50325 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50327 cat >>confdefs.h <<_ACEOF
50328 #define ${ac_tr_func} 1
50329 _ACEOF
50337 echo "$as_me:$LINENO: checking for main in -lm" >&5
50338 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50339 if test "${ac_cv_lib_m_main+set}" = set; then
50340 echo $ECHO_N "(cached) $ECHO_C" >&6
50341 else
50342 ac_check_lib_save_LIBS=$LIBS
50343 LIBS="-lm $LIBS"
50344 if test x$gcc_no_link = xyes; then
50345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50347 { (exit 1); exit 1; }; }
50349 cat >conftest.$ac_ext <<_ACEOF
50350 /* confdefs.h. */
50351 _ACEOF
50352 cat confdefs.h >>conftest.$ac_ext
50353 cat >>conftest.$ac_ext <<_ACEOF
50354 /* end confdefs.h. */
50358 main ()
50360 main ();
50362 return 0;
50364 _ACEOF
50365 rm -f conftest.$ac_objext conftest$ac_exeext
50366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50367 (eval $ac_link) 2>conftest.er1
50368 ac_status=$?
50369 grep -v '^ *+' conftest.er1 >conftest.err
50370 rm -f conftest.er1
50371 cat conftest.err >&5
50372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50373 (exit $ac_status); } &&
50374 { ac_try='test -z "$ac_c_werror_flag"
50375 || test ! -s conftest.err'
50376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50377 (eval $ac_try) 2>&5
50378 ac_status=$?
50379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50380 (exit $ac_status); }; } &&
50381 { ac_try='test -s conftest$ac_exeext'
50382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50383 (eval $ac_try) 2>&5
50384 ac_status=$?
50385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50386 (exit $ac_status); }; }; then
50387 ac_cv_lib_m_main=yes
50388 else
50389 echo "$as_me: failed program was:" >&5
50390 sed 's/^/| /' conftest.$ac_ext >&5
50392 ac_cv_lib_m_main=no
50394 rm -f conftest.err conftest.$ac_objext \
50395 conftest$ac_exeext conftest.$ac_ext
50396 LIBS=$ac_check_lib_save_LIBS
50398 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50399 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50400 if test $ac_cv_lib_m_main = yes; then
50401 cat >>confdefs.h <<_ACEOF
50402 #define HAVE_LIBM 1
50403 _ACEOF
50405 LIBS="-lm $LIBS"
50410 for ac_func in copysignf
50412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50413 echo "$as_me:$LINENO: checking for $ac_func" >&5
50414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50415 if eval "test \"\${$as_ac_var+set}\" = set"; then
50416 echo $ECHO_N "(cached) $ECHO_C" >&6
50417 else
50418 if test x$gcc_no_link = xyes; then
50419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50421 { (exit 1); exit 1; }; }
50423 cat >conftest.$ac_ext <<_ACEOF
50424 /* confdefs.h. */
50425 _ACEOF
50426 cat confdefs.h >>conftest.$ac_ext
50427 cat >>conftest.$ac_ext <<_ACEOF
50428 /* end confdefs.h. */
50429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50431 #define $ac_func innocuous_$ac_func
50433 /* System header to define __stub macros and hopefully few prototypes,
50434 which can conflict with char $ac_func (); below.
50435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50436 <limits.h> exists even on freestanding compilers. */
50438 #ifdef __STDC__
50439 # include <limits.h>
50440 #else
50441 # include <assert.h>
50442 #endif
50444 #undef $ac_func
50446 /* Override any gcc2 internal prototype to avoid an error. */
50447 #ifdef __cplusplus
50448 extern "C"
50450 #endif
50451 /* We use char because int might match the return type of a gcc2
50452 builtin and then its argument prototype would still apply. */
50453 char $ac_func ();
50454 /* The GNU C library defines this for functions which it implements
50455 to always fail with ENOSYS. Some functions are actually named
50456 something starting with __ and the normal name is an alias. */
50457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50458 choke me
50459 #else
50460 char (*f) () = $ac_func;
50461 #endif
50462 #ifdef __cplusplus
50464 #endif
50467 main ()
50469 return f != $ac_func;
50471 return 0;
50473 _ACEOF
50474 rm -f conftest.$ac_objext conftest$ac_exeext
50475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50476 (eval $ac_link) 2>conftest.er1
50477 ac_status=$?
50478 grep -v '^ *+' conftest.er1 >conftest.err
50479 rm -f conftest.er1
50480 cat conftest.err >&5
50481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50482 (exit $ac_status); } &&
50483 { ac_try='test -z "$ac_c_werror_flag"
50484 || test ! -s conftest.err'
50485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50486 (eval $ac_try) 2>&5
50487 ac_status=$?
50488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50489 (exit $ac_status); }; } &&
50490 { ac_try='test -s conftest$ac_exeext'
50491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50492 (eval $ac_try) 2>&5
50493 ac_status=$?
50494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50495 (exit $ac_status); }; }; then
50496 eval "$as_ac_var=yes"
50497 else
50498 echo "$as_me: failed program was:" >&5
50499 sed 's/^/| /' conftest.$ac_ext >&5
50501 eval "$as_ac_var=no"
50503 rm -f conftest.err conftest.$ac_objext \
50504 conftest$ac_exeext conftest.$ac_ext
50506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50508 if test `eval echo '${'$as_ac_var'}'` = yes; then
50509 cat >>confdefs.h <<_ACEOF
50510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50511 _ACEOF
50513 else
50514 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50516 done
50520 for ac_func in __signbit
50522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50523 echo "$as_me:$LINENO: checking for $ac_func" >&5
50524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50525 if eval "test \"\${$as_ac_var+set}\" = set"; then
50526 echo $ECHO_N "(cached) $ECHO_C" >&6
50527 else
50528 if test x$gcc_no_link = xyes; then
50529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50531 { (exit 1); exit 1; }; }
50533 cat >conftest.$ac_ext <<_ACEOF
50534 /* confdefs.h. */
50535 _ACEOF
50536 cat confdefs.h >>conftest.$ac_ext
50537 cat >>conftest.$ac_ext <<_ACEOF
50538 /* end confdefs.h. */
50539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50541 #define $ac_func innocuous_$ac_func
50543 /* System header to define __stub macros and hopefully few prototypes,
50544 which can conflict with char $ac_func (); below.
50545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50546 <limits.h> exists even on freestanding compilers. */
50548 #ifdef __STDC__
50549 # include <limits.h>
50550 #else
50551 # include <assert.h>
50552 #endif
50554 #undef $ac_func
50556 /* Override any gcc2 internal prototype to avoid an error. */
50557 #ifdef __cplusplus
50558 extern "C"
50560 #endif
50561 /* We use char because int might match the return type of a gcc2
50562 builtin and then its argument prototype would still apply. */
50563 char $ac_func ();
50564 /* The GNU C library defines this for functions which it implements
50565 to always fail with ENOSYS. Some functions are actually named
50566 something starting with __ and the normal name is an alias. */
50567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50568 choke me
50569 #else
50570 char (*f) () = $ac_func;
50571 #endif
50572 #ifdef __cplusplus
50574 #endif
50577 main ()
50579 return f != $ac_func;
50581 return 0;
50583 _ACEOF
50584 rm -f conftest.$ac_objext conftest$ac_exeext
50585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50586 (eval $ac_link) 2>conftest.er1
50587 ac_status=$?
50588 grep -v '^ *+' conftest.er1 >conftest.err
50589 rm -f conftest.er1
50590 cat conftest.err >&5
50591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50592 (exit $ac_status); } &&
50593 { ac_try='test -z "$ac_c_werror_flag"
50594 || test ! -s conftest.err'
50595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50596 (eval $ac_try) 2>&5
50597 ac_status=$?
50598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50599 (exit $ac_status); }; } &&
50600 { ac_try='test -s conftest$ac_exeext'
50601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50602 (eval $ac_try) 2>&5
50603 ac_status=$?
50604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50605 (exit $ac_status); }; }; then
50606 eval "$as_ac_var=yes"
50607 else
50608 echo "$as_me: failed program was:" >&5
50609 sed 's/^/| /' conftest.$ac_ext >&5
50611 eval "$as_ac_var=no"
50613 rm -f conftest.err conftest.$ac_objext \
50614 conftest$ac_exeext conftest.$ac_ext
50616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50618 if test `eval echo '${'$as_ac_var'}'` = yes; then
50619 cat >>confdefs.h <<_ACEOF
50620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50621 _ACEOF
50623 else
50624 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50626 done
50630 for ac_func in __signbitf
50632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50633 echo "$as_me:$LINENO: checking for $ac_func" >&5
50634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50635 if eval "test \"\${$as_ac_var+set}\" = set"; then
50636 echo $ECHO_N "(cached) $ECHO_C" >&6
50637 else
50638 if test x$gcc_no_link = xyes; then
50639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50641 { (exit 1); exit 1; }; }
50643 cat >conftest.$ac_ext <<_ACEOF
50644 /* confdefs.h. */
50645 _ACEOF
50646 cat confdefs.h >>conftest.$ac_ext
50647 cat >>conftest.$ac_ext <<_ACEOF
50648 /* end confdefs.h. */
50649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50651 #define $ac_func innocuous_$ac_func
50653 /* System header to define __stub macros and hopefully few prototypes,
50654 which can conflict with char $ac_func (); below.
50655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50656 <limits.h> exists even on freestanding compilers. */
50658 #ifdef __STDC__
50659 # include <limits.h>
50660 #else
50661 # include <assert.h>
50662 #endif
50664 #undef $ac_func
50666 /* Override any gcc2 internal prototype to avoid an error. */
50667 #ifdef __cplusplus
50668 extern "C"
50670 #endif
50671 /* We use char because int might match the return type of a gcc2
50672 builtin and then its argument prototype would still apply. */
50673 char $ac_func ();
50674 /* The GNU C library defines this for functions which it implements
50675 to always fail with ENOSYS. Some functions are actually named
50676 something starting with __ and the normal name is an alias. */
50677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50678 choke me
50679 #else
50680 char (*f) () = $ac_func;
50681 #endif
50682 #ifdef __cplusplus
50684 #endif
50687 main ()
50689 return f != $ac_func;
50691 return 0;
50693 _ACEOF
50694 rm -f conftest.$ac_objext conftest$ac_exeext
50695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50696 (eval $ac_link) 2>conftest.er1
50697 ac_status=$?
50698 grep -v '^ *+' conftest.er1 >conftest.err
50699 rm -f conftest.er1
50700 cat conftest.err >&5
50701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50702 (exit $ac_status); } &&
50703 { ac_try='test -z "$ac_c_werror_flag"
50704 || test ! -s conftest.err'
50705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50706 (eval $ac_try) 2>&5
50707 ac_status=$?
50708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50709 (exit $ac_status); }; } &&
50710 { ac_try='test -s conftest$ac_exeext'
50711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50712 (eval $ac_try) 2>&5
50713 ac_status=$?
50714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50715 (exit $ac_status); }; }; then
50716 eval "$as_ac_var=yes"
50717 else
50718 echo "$as_me: failed program was:" >&5
50719 sed 's/^/| /' conftest.$ac_ext >&5
50721 eval "$as_ac_var=no"
50723 rm -f conftest.err conftest.$ac_objext \
50724 conftest$ac_exeext conftest.$ac_ext
50726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50728 if test `eval echo '${'$as_ac_var'}'` = yes; then
50729 cat >>confdefs.h <<_ACEOF
50730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50731 _ACEOF
50733 else
50734 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50736 done
50739 if test x$ac_cv_func_copysignl = x"yes"; then
50741 for ac_func in __signbitl
50743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50744 echo "$as_me:$LINENO: checking for $ac_func" >&5
50745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50746 if eval "test \"\${$as_ac_var+set}\" = set"; then
50747 echo $ECHO_N "(cached) $ECHO_C" >&6
50748 else
50749 if test x$gcc_no_link = xyes; then
50750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50752 { (exit 1); exit 1; }; }
50754 cat >conftest.$ac_ext <<_ACEOF
50755 /* confdefs.h. */
50756 _ACEOF
50757 cat confdefs.h >>conftest.$ac_ext
50758 cat >>conftest.$ac_ext <<_ACEOF
50759 /* end confdefs.h. */
50760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50762 #define $ac_func innocuous_$ac_func
50764 /* System header to define __stub macros and hopefully few prototypes,
50765 which can conflict with char $ac_func (); below.
50766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50767 <limits.h> exists even on freestanding compilers. */
50769 #ifdef __STDC__
50770 # include <limits.h>
50771 #else
50772 # include <assert.h>
50773 #endif
50775 #undef $ac_func
50777 /* Override any gcc2 internal prototype to avoid an error. */
50778 #ifdef __cplusplus
50779 extern "C"
50781 #endif
50782 /* We use char because int might match the return type of a gcc2
50783 builtin and then its argument prototype would still apply. */
50784 char $ac_func ();
50785 /* The GNU C library defines this for functions which it implements
50786 to always fail with ENOSYS. Some functions are actually named
50787 something starting with __ and the normal name is an alias. */
50788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50789 choke me
50790 #else
50791 char (*f) () = $ac_func;
50792 #endif
50793 #ifdef __cplusplus
50795 #endif
50798 main ()
50800 return f != $ac_func;
50802 return 0;
50804 _ACEOF
50805 rm -f conftest.$ac_objext conftest$ac_exeext
50806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50807 (eval $ac_link) 2>conftest.er1
50808 ac_status=$?
50809 grep -v '^ *+' conftest.er1 >conftest.err
50810 rm -f conftest.er1
50811 cat conftest.err >&5
50812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50813 (exit $ac_status); } &&
50814 { ac_try='test -z "$ac_c_werror_flag"
50815 || test ! -s conftest.err'
50816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50817 (eval $ac_try) 2>&5
50818 ac_status=$?
50819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50820 (exit $ac_status); }; } &&
50821 { ac_try='test -s conftest$ac_exeext'
50822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50823 (eval $ac_try) 2>&5
50824 ac_status=$?
50825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50826 (exit $ac_status); }; }; then
50827 eval "$as_ac_var=yes"
50828 else
50829 echo "$as_me: failed program was:" >&5
50830 sed 's/^/| /' conftest.$ac_ext >&5
50832 eval "$as_ac_var=no"
50834 rm -f conftest.err conftest.$ac_objext \
50835 conftest$ac_exeext conftest.$ac_ext
50837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50839 if test `eval echo '${'$as_ac_var'}'` = yes; then
50840 cat >>confdefs.h <<_ACEOF
50841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50842 _ACEOF
50844 else
50845 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50847 done
50851 # Used in libmath/Makefile.am.
50852 if test -n "$LIBMATHOBJS"; then
50853 need_libmath=yes
50858 # Test wchar.h for mbstate_t, which is needed for char_traits and
50859 # others even if wchar_t support is not on.
50860 echo "$as_me:$LINENO: checking for mbstate_t" >&5
50861 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50862 cat >conftest.$ac_ext <<_ACEOF
50863 /* confdefs.h. */
50864 _ACEOF
50865 cat confdefs.h >>conftest.$ac_ext
50866 cat >>conftest.$ac_ext <<_ACEOF
50867 /* end confdefs.h. */
50868 #include <wchar.h>
50870 main ()
50872 mbstate_t teststate;
50874 return 0;
50876 _ACEOF
50877 rm -f conftest.$ac_objext
50878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50879 (eval $ac_compile) 2>conftest.er1
50880 ac_status=$?
50881 grep -v '^ *+' conftest.er1 >conftest.err
50882 rm -f conftest.er1
50883 cat conftest.err >&5
50884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50885 (exit $ac_status); } &&
50886 { ac_try='test -z "$ac_c_werror_flag"
50887 || test ! -s conftest.err'
50888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50889 (eval $ac_try) 2>&5
50890 ac_status=$?
50891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50892 (exit $ac_status); }; } &&
50893 { ac_try='test -s conftest.$ac_objext'
50894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50895 (eval $ac_try) 2>&5
50896 ac_status=$?
50897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50898 (exit $ac_status); }; }; then
50899 have_mbstate_t=yes
50900 else
50901 echo "$as_me: failed program was:" >&5
50902 sed 's/^/| /' conftest.$ac_ext >&5
50904 have_mbstate_t=no
50906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50907 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50908 echo "${ECHO_T}$have_mbstate_t" >&6
50909 if test x"$have_mbstate_t" = xyes; then
50910 cat >>confdefs.h <<\_ACEOF
50911 #define HAVE_MBSTATE_T 1
50912 _ACEOF
50916 # Sanity check for existence of ISO C99 headers for extended encoding.
50918 for ac_header in wchar.h
50920 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50922 echo "$as_me:$LINENO: checking for $ac_header" >&5
50923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50925 echo $ECHO_N "(cached) $ECHO_C" >&6
50927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50929 else
50930 # Is the header compilable?
50931 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50933 cat >conftest.$ac_ext <<_ACEOF
50934 /* confdefs.h. */
50935 _ACEOF
50936 cat confdefs.h >>conftest.$ac_ext
50937 cat >>conftest.$ac_ext <<_ACEOF
50938 /* end confdefs.h. */
50939 $ac_includes_default
50940 #include <$ac_header>
50941 _ACEOF
50942 rm -f conftest.$ac_objext
50943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50944 (eval $ac_compile) 2>conftest.er1
50945 ac_status=$?
50946 grep -v '^ *+' conftest.er1 >conftest.err
50947 rm -f conftest.er1
50948 cat conftest.err >&5
50949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50950 (exit $ac_status); } &&
50951 { ac_try='test -z "$ac_c_werror_flag"
50952 || test ! -s conftest.err'
50953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50954 (eval $ac_try) 2>&5
50955 ac_status=$?
50956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50957 (exit $ac_status); }; } &&
50958 { ac_try='test -s conftest.$ac_objext'
50959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50960 (eval $ac_try) 2>&5
50961 ac_status=$?
50962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50963 (exit $ac_status); }; }; then
50964 ac_header_compiler=yes
50965 else
50966 echo "$as_me: failed program was:" >&5
50967 sed 's/^/| /' conftest.$ac_ext >&5
50969 ac_header_compiler=no
50971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50972 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50973 echo "${ECHO_T}$ac_header_compiler" >&6
50975 # Is the header present?
50976 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50977 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50978 cat >conftest.$ac_ext <<_ACEOF
50979 /* confdefs.h. */
50980 _ACEOF
50981 cat confdefs.h >>conftest.$ac_ext
50982 cat >>conftest.$ac_ext <<_ACEOF
50983 /* end confdefs.h. */
50984 #include <$ac_header>
50985 _ACEOF
50986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50987 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50988 ac_status=$?
50989 grep -v '^ *+' conftest.er1 >conftest.err
50990 rm -f conftest.er1
50991 cat conftest.err >&5
50992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50993 (exit $ac_status); } >/dev/null; then
50994 if test -s conftest.err; then
50995 ac_cpp_err=$ac_c_preproc_warn_flag
50996 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50997 else
50998 ac_cpp_err=
51000 else
51001 ac_cpp_err=yes
51003 if test -z "$ac_cpp_err"; then
51004 ac_header_preproc=yes
51005 else
51006 echo "$as_me: failed program was:" >&5
51007 sed 's/^/| /' conftest.$ac_ext >&5
51009 ac_header_preproc=no
51011 rm -f conftest.err conftest.$ac_ext
51012 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51013 echo "${ECHO_T}$ac_header_preproc" >&6
51015 # So? What about this header?
51016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51017 yes:no: )
51018 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51019 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51021 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51022 ac_header_preproc=yes
51024 no:yes:* )
51025 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51027 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51028 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51029 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51030 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51031 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51032 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51035 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51036 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51038 cat <<\_ASBOX
51039 ## ----------------------------------------- ##
51040 ## Report this to the package-unused lists. ##
51041 ## ----------------------------------------- ##
51042 _ASBOX
51044 sed "s/^/$as_me: WARNING: /" >&2
51046 esac
51047 echo "$as_me:$LINENO: checking for $ac_header" >&5
51048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51050 echo $ECHO_N "(cached) $ECHO_C" >&6
51051 else
51052 eval "$as_ac_Header=\$ac_header_preproc"
51054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51059 cat >>confdefs.h <<_ACEOF
51060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51061 _ACEOF
51062 ac_has_wchar_h=yes
51063 else
51064 ac_has_wchar_h=no
51067 done
51070 for ac_header in wctype.h
51072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51074 echo "$as_me:$LINENO: checking for $ac_header" >&5
51075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51077 echo $ECHO_N "(cached) $ECHO_C" >&6
51079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51081 else
51082 # Is the header compilable?
51083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51085 cat >conftest.$ac_ext <<_ACEOF
51086 /* confdefs.h. */
51087 _ACEOF
51088 cat confdefs.h >>conftest.$ac_ext
51089 cat >>conftest.$ac_ext <<_ACEOF
51090 /* end confdefs.h. */
51091 $ac_includes_default
51092 #include <$ac_header>
51093 _ACEOF
51094 rm -f conftest.$ac_objext
51095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51096 (eval $ac_compile) 2>conftest.er1
51097 ac_status=$?
51098 grep -v '^ *+' conftest.er1 >conftest.err
51099 rm -f conftest.er1
51100 cat conftest.err >&5
51101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51102 (exit $ac_status); } &&
51103 { ac_try='test -z "$ac_c_werror_flag"
51104 || test ! -s conftest.err'
51105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51106 (eval $ac_try) 2>&5
51107 ac_status=$?
51108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51109 (exit $ac_status); }; } &&
51110 { ac_try='test -s conftest.$ac_objext'
51111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51112 (eval $ac_try) 2>&5
51113 ac_status=$?
51114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51115 (exit $ac_status); }; }; then
51116 ac_header_compiler=yes
51117 else
51118 echo "$as_me: failed program was:" >&5
51119 sed 's/^/| /' conftest.$ac_ext >&5
51121 ac_header_compiler=no
51123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51125 echo "${ECHO_T}$ac_header_compiler" >&6
51127 # Is the header present?
51128 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51129 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51130 cat >conftest.$ac_ext <<_ACEOF
51131 /* confdefs.h. */
51132 _ACEOF
51133 cat confdefs.h >>conftest.$ac_ext
51134 cat >>conftest.$ac_ext <<_ACEOF
51135 /* end confdefs.h. */
51136 #include <$ac_header>
51137 _ACEOF
51138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51139 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51140 ac_status=$?
51141 grep -v '^ *+' conftest.er1 >conftest.err
51142 rm -f conftest.er1
51143 cat conftest.err >&5
51144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51145 (exit $ac_status); } >/dev/null; then
51146 if test -s conftest.err; then
51147 ac_cpp_err=$ac_c_preproc_warn_flag
51148 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51149 else
51150 ac_cpp_err=
51152 else
51153 ac_cpp_err=yes
51155 if test -z "$ac_cpp_err"; then
51156 ac_header_preproc=yes
51157 else
51158 echo "$as_me: failed program was:" >&5
51159 sed 's/^/| /' conftest.$ac_ext >&5
51161 ac_header_preproc=no
51163 rm -f conftest.err conftest.$ac_ext
51164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51165 echo "${ECHO_T}$ac_header_preproc" >&6
51167 # So? What about this header?
51168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51169 yes:no: )
51170 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51171 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51173 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51174 ac_header_preproc=yes
51176 no:yes:* )
51177 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51179 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51180 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51181 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51182 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51183 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51184 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51187 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51188 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51190 cat <<\_ASBOX
51191 ## ----------------------------------------- ##
51192 ## Report this to the package-unused lists. ##
51193 ## ----------------------------------------- ##
51194 _ASBOX
51196 sed "s/^/$as_me: WARNING: /" >&2
51198 esac
51199 echo "$as_me:$LINENO: checking for $ac_header" >&5
51200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51202 echo $ECHO_N "(cached) $ECHO_C" >&6
51203 else
51204 eval "$as_ac_Header=\$ac_header_preproc"
51206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51211 cat >>confdefs.h <<_ACEOF
51212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51213 _ACEOF
51214 ac_has_wctype_h=yes
51215 else
51216 ac_has_wctype_h=no
51219 done
51222 # Only continue checking if the ISO C99 headers exist and support is on.
51223 if test x"$ac_has_wchar_h" = xyes &&
51224 test x"$ac_has_wctype_h" = xyes &&
51225 test x"$enable_c_mbchar" != xno; then
51227 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51228 # numeric_limits can instantiate type_traits<wchar_t>
51229 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51230 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51231 cat >conftest.$ac_ext <<_ACEOF
51232 /* confdefs.h. */
51233 _ACEOF
51234 cat confdefs.h >>conftest.$ac_ext
51235 cat >>conftest.$ac_ext <<_ACEOF
51236 /* end confdefs.h. */
51237 #include <wchar.h>
51239 main ()
51241 int i = WCHAR_MIN; int j = WCHAR_MAX;
51243 return 0;
51245 _ACEOF
51246 rm -f conftest.$ac_objext
51247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51248 (eval $ac_compile) 2>conftest.er1
51249 ac_status=$?
51250 grep -v '^ *+' conftest.er1 >conftest.err
51251 rm -f conftest.er1
51252 cat conftest.err >&5
51253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51254 (exit $ac_status); } &&
51255 { ac_try='test -z "$ac_c_werror_flag"
51256 || test ! -s conftest.err'
51257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51258 (eval $ac_try) 2>&5
51259 ac_status=$?
51260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51261 (exit $ac_status); }; } &&
51262 { ac_try='test -s conftest.$ac_objext'
51263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51264 (eval $ac_try) 2>&5
51265 ac_status=$?
51266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51267 (exit $ac_status); }; }; then
51268 has_wchar_minmax=yes
51269 else
51270 echo "$as_me: failed program was:" >&5
51271 sed 's/^/| /' conftest.$ac_ext >&5
51273 has_wchar_minmax=no
51275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51276 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51277 echo "${ECHO_T}$has_wchar_minmax" >&6
51279 # Test wchar.h for WEOF, which is what we use to determine whether
51280 # to specialize for char_traits<wchar_t> or not.
51281 echo "$as_me:$LINENO: checking for WEOF" >&5
51282 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51283 cat >conftest.$ac_ext <<_ACEOF
51284 /* confdefs.h. */
51285 _ACEOF
51286 cat confdefs.h >>conftest.$ac_ext
51287 cat >>conftest.$ac_ext <<_ACEOF
51288 /* end confdefs.h. */
51290 #include <wchar.h>
51291 #include <stddef.h>
51293 main ()
51295 wint_t i = WEOF;
51297 return 0;
51299 _ACEOF
51300 rm -f conftest.$ac_objext
51301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51302 (eval $ac_compile) 2>conftest.er1
51303 ac_status=$?
51304 grep -v '^ *+' conftest.er1 >conftest.err
51305 rm -f conftest.er1
51306 cat conftest.err >&5
51307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51308 (exit $ac_status); } &&
51309 { ac_try='test -z "$ac_c_werror_flag"
51310 || test ! -s conftest.err'
51311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51312 (eval $ac_try) 2>&5
51313 ac_status=$?
51314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51315 (exit $ac_status); }; } &&
51316 { ac_try='test -s conftest.$ac_objext'
51317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51318 (eval $ac_try) 2>&5
51319 ac_status=$?
51320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51321 (exit $ac_status); }; }; then
51322 has_weof=yes
51323 else
51324 echo "$as_me: failed program was:" >&5
51325 sed 's/^/| /' conftest.$ac_ext >&5
51327 has_weof=no
51329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51330 echo "$as_me:$LINENO: result: $has_weof" >&5
51331 echo "${ECHO_T}$has_weof" >&6
51333 # Tests for wide character functions used in char_traits<wchar_t>.
51334 ac_wfuncs=yes
51341 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51344 echo "$as_me:$LINENO: checking for $ac_func" >&5
51345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51346 if eval "test \"\${$as_ac_var+set}\" = set"; then
51347 echo $ECHO_N "(cached) $ECHO_C" >&6
51348 else
51349 if test x$gcc_no_link = xyes; then
51350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51352 { (exit 1); exit 1; }; }
51354 cat >conftest.$ac_ext <<_ACEOF
51355 /* confdefs.h. */
51356 _ACEOF
51357 cat confdefs.h >>conftest.$ac_ext
51358 cat >>conftest.$ac_ext <<_ACEOF
51359 /* end confdefs.h. */
51360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51362 #define $ac_func innocuous_$ac_func
51364 /* System header to define __stub macros and hopefully few prototypes,
51365 which can conflict with char $ac_func (); below.
51366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51367 <limits.h> exists even on freestanding compilers. */
51369 #ifdef __STDC__
51370 # include <limits.h>
51371 #else
51372 # include <assert.h>
51373 #endif
51375 #undef $ac_func
51377 /* Override any gcc2 internal prototype to avoid an error. */
51378 #ifdef __cplusplus
51379 extern "C"
51381 #endif
51382 /* We use char because int might match the return type of a gcc2
51383 builtin and then its argument prototype would still apply. */
51384 char $ac_func ();
51385 /* The GNU C library defines this for functions which it implements
51386 to always fail with ENOSYS. Some functions are actually named
51387 something starting with __ and the normal name is an alias. */
51388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51389 choke me
51390 #else
51391 char (*f) () = $ac_func;
51392 #endif
51393 #ifdef __cplusplus
51395 #endif
51398 main ()
51400 return f != $ac_func;
51402 return 0;
51404 _ACEOF
51405 rm -f conftest.$ac_objext conftest$ac_exeext
51406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51407 (eval $ac_link) 2>conftest.er1
51408 ac_status=$?
51409 grep -v '^ *+' conftest.er1 >conftest.err
51410 rm -f conftest.er1
51411 cat conftest.err >&5
51412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51413 (exit $ac_status); } &&
51414 { ac_try='test -z "$ac_c_werror_flag"
51415 || test ! -s conftest.err'
51416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51417 (eval $ac_try) 2>&5
51418 ac_status=$?
51419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51420 (exit $ac_status); }; } &&
51421 { ac_try='test -s conftest$ac_exeext'
51422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51423 (eval $ac_try) 2>&5
51424 ac_status=$?
51425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51426 (exit $ac_status); }; }; then
51427 eval "$as_ac_var=yes"
51428 else
51429 echo "$as_me: failed program was:" >&5
51430 sed 's/^/| /' conftest.$ac_ext >&5
51432 eval "$as_ac_var=no"
51434 rm -f conftest.err conftest.$ac_objext \
51435 conftest$ac_exeext conftest.$ac_ext
51437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51439 if test `eval echo '${'$as_ac_var'}'` = yes; then
51440 cat >>confdefs.h <<_ACEOF
51441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51442 _ACEOF
51444 else
51445 ac_wfuncs=no
51447 done
51450 # Checks for names injected into std:: by the c_std headers.
51497 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51498 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51499 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51500 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51501 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51502 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51505 echo "$as_me:$LINENO: checking for $ac_func" >&5
51506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51507 if eval "test \"\${$as_ac_var+set}\" = set"; then
51508 echo $ECHO_N "(cached) $ECHO_C" >&6
51509 else
51510 if test x$gcc_no_link = xyes; then
51511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51513 { (exit 1); exit 1; }; }
51515 cat >conftest.$ac_ext <<_ACEOF
51516 /* confdefs.h. */
51517 _ACEOF
51518 cat confdefs.h >>conftest.$ac_ext
51519 cat >>conftest.$ac_ext <<_ACEOF
51520 /* end confdefs.h. */
51521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51523 #define $ac_func innocuous_$ac_func
51525 /* System header to define __stub macros and hopefully few prototypes,
51526 which can conflict with char $ac_func (); below.
51527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51528 <limits.h> exists even on freestanding compilers. */
51530 #ifdef __STDC__
51531 # include <limits.h>
51532 #else
51533 # include <assert.h>
51534 #endif
51536 #undef $ac_func
51538 /* Override any gcc2 internal prototype to avoid an error. */
51539 #ifdef __cplusplus
51540 extern "C"
51542 #endif
51543 /* We use char because int might match the return type of a gcc2
51544 builtin and then its argument prototype would still apply. */
51545 char $ac_func ();
51546 /* The GNU C library defines this for functions which it implements
51547 to always fail with ENOSYS. Some functions are actually named
51548 something starting with __ and the normal name is an alias. */
51549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51550 choke me
51551 #else
51552 char (*f) () = $ac_func;
51553 #endif
51554 #ifdef __cplusplus
51556 #endif
51559 main ()
51561 return f != $ac_func;
51563 return 0;
51565 _ACEOF
51566 rm -f conftest.$ac_objext conftest$ac_exeext
51567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51568 (eval $ac_link) 2>conftest.er1
51569 ac_status=$?
51570 grep -v '^ *+' conftest.er1 >conftest.err
51571 rm -f conftest.er1
51572 cat conftest.err >&5
51573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51574 (exit $ac_status); } &&
51575 { ac_try='test -z "$ac_c_werror_flag"
51576 || test ! -s conftest.err'
51577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51578 (eval $ac_try) 2>&5
51579 ac_status=$?
51580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51581 (exit $ac_status); }; } &&
51582 { ac_try='test -s conftest$ac_exeext'
51583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51584 (eval $ac_try) 2>&5
51585 ac_status=$?
51586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51587 (exit $ac_status); }; }; then
51588 eval "$as_ac_var=yes"
51589 else
51590 echo "$as_me: failed program was:" >&5
51591 sed 's/^/| /' conftest.$ac_ext >&5
51593 eval "$as_ac_var=no"
51595 rm -f conftest.err conftest.$ac_objext \
51596 conftest$ac_exeext conftest.$ac_ext
51598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51600 if test `eval echo '${'$as_ac_var'}'` = yes; then
51601 cat >>confdefs.h <<_ACEOF
51602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51603 _ACEOF
51605 else
51606 ac_wfuncs=no
51608 done
51611 # Checks for wide character functions that are not required
51612 # for basic wchar_t support. Don't disable support if they are missing.
51613 # Injection of these is wrapped with guard macros.
51619 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51622 echo "$as_me:$LINENO: checking for $ac_func" >&5
51623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51624 if eval "test \"\${$as_ac_var+set}\" = set"; then
51625 echo $ECHO_N "(cached) $ECHO_C" >&6
51626 else
51627 if test x$gcc_no_link = xyes; then
51628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51630 { (exit 1); exit 1; }; }
51632 cat >conftest.$ac_ext <<_ACEOF
51633 /* confdefs.h. */
51634 _ACEOF
51635 cat confdefs.h >>conftest.$ac_ext
51636 cat >>conftest.$ac_ext <<_ACEOF
51637 /* end confdefs.h. */
51638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51640 #define $ac_func innocuous_$ac_func
51642 /* System header to define __stub macros and hopefully few prototypes,
51643 which can conflict with char $ac_func (); below.
51644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51645 <limits.h> exists even on freestanding compilers. */
51647 #ifdef __STDC__
51648 # include <limits.h>
51649 #else
51650 # include <assert.h>
51651 #endif
51653 #undef $ac_func
51655 /* Override any gcc2 internal prototype to avoid an error. */
51656 #ifdef __cplusplus
51657 extern "C"
51659 #endif
51660 /* We use char because int might match the return type of a gcc2
51661 builtin and then its argument prototype would still apply. */
51662 char $ac_func ();
51663 /* The GNU C library defines this for functions which it implements
51664 to always fail with ENOSYS. Some functions are actually named
51665 something starting with __ and the normal name is an alias. */
51666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51667 choke me
51668 #else
51669 char (*f) () = $ac_func;
51670 #endif
51671 #ifdef __cplusplus
51673 #endif
51676 main ()
51678 return f != $ac_func;
51680 return 0;
51682 _ACEOF
51683 rm -f conftest.$ac_objext conftest$ac_exeext
51684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51685 (eval $ac_link) 2>conftest.er1
51686 ac_status=$?
51687 grep -v '^ *+' conftest.er1 >conftest.err
51688 rm -f conftest.er1
51689 cat conftest.err >&5
51690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51691 (exit $ac_status); } &&
51692 { ac_try='test -z "$ac_c_werror_flag"
51693 || test ! -s conftest.err'
51694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51695 (eval $ac_try) 2>&5
51696 ac_status=$?
51697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51698 (exit $ac_status); }; } &&
51699 { ac_try='test -s conftest$ac_exeext'
51700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51701 (eval $ac_try) 2>&5
51702 ac_status=$?
51703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51704 (exit $ac_status); }; }; then
51705 eval "$as_ac_var=yes"
51706 else
51707 echo "$as_me: failed program was:" >&5
51708 sed 's/^/| /' conftest.$ac_ext >&5
51710 eval "$as_ac_var=no"
51712 rm -f conftest.err conftest.$ac_objext \
51713 conftest$ac_exeext conftest.$ac_ext
51715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51717 if test `eval echo '${'$as_ac_var'}'` = yes; then
51718 cat >>confdefs.h <<_ACEOF
51719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51720 _ACEOF
51723 done
51726 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51727 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51728 if test x"$has_weof" = xyes &&
51729 test x"$has_wchar_minmax" = xyes &&
51730 test x"$ac_wfuncs" = xyes;
51731 then
51732 ac_isoC99_wchar_t=yes
51733 else
51734 ac_isoC99_wchar_t=no
51736 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51737 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51739 # Use iconv for wchar_t to char conversions. As such, check for
51740 # X/Open Portability Guide, version 2 features (XPG2).
51741 if test "${ac_cv_header_iconv_h+set}" = set; then
51742 echo "$as_me:$LINENO: checking for iconv.h" >&5
51743 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51744 if test "${ac_cv_header_iconv_h+set}" = set; then
51745 echo $ECHO_N "(cached) $ECHO_C" >&6
51747 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51748 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51749 else
51750 # Is the header compilable?
51751 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51752 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51753 cat >conftest.$ac_ext <<_ACEOF
51754 /* confdefs.h. */
51755 _ACEOF
51756 cat confdefs.h >>conftest.$ac_ext
51757 cat >>conftest.$ac_ext <<_ACEOF
51758 /* end confdefs.h. */
51759 $ac_includes_default
51760 #include <iconv.h>
51761 _ACEOF
51762 rm -f conftest.$ac_objext
51763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51764 (eval $ac_compile) 2>conftest.er1
51765 ac_status=$?
51766 grep -v '^ *+' conftest.er1 >conftest.err
51767 rm -f conftest.er1
51768 cat conftest.err >&5
51769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51770 (exit $ac_status); } &&
51771 { ac_try='test -z "$ac_c_werror_flag"
51772 || test ! -s conftest.err'
51773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51774 (eval $ac_try) 2>&5
51775 ac_status=$?
51776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51777 (exit $ac_status); }; } &&
51778 { ac_try='test -s conftest.$ac_objext'
51779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51780 (eval $ac_try) 2>&5
51781 ac_status=$?
51782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51783 (exit $ac_status); }; }; then
51784 ac_header_compiler=yes
51785 else
51786 echo "$as_me: failed program was:" >&5
51787 sed 's/^/| /' conftest.$ac_ext >&5
51789 ac_header_compiler=no
51791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51792 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51793 echo "${ECHO_T}$ac_header_compiler" >&6
51795 # Is the header present?
51796 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51797 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51798 cat >conftest.$ac_ext <<_ACEOF
51799 /* confdefs.h. */
51800 _ACEOF
51801 cat confdefs.h >>conftest.$ac_ext
51802 cat >>conftest.$ac_ext <<_ACEOF
51803 /* end confdefs.h. */
51804 #include <iconv.h>
51805 _ACEOF
51806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51808 ac_status=$?
51809 grep -v '^ *+' conftest.er1 >conftest.err
51810 rm -f conftest.er1
51811 cat conftest.err >&5
51812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51813 (exit $ac_status); } >/dev/null; then
51814 if test -s conftest.err; then
51815 ac_cpp_err=$ac_c_preproc_warn_flag
51816 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51817 else
51818 ac_cpp_err=
51820 else
51821 ac_cpp_err=yes
51823 if test -z "$ac_cpp_err"; then
51824 ac_header_preproc=yes
51825 else
51826 echo "$as_me: failed program was:" >&5
51827 sed 's/^/| /' conftest.$ac_ext >&5
51829 ac_header_preproc=no
51831 rm -f conftest.err conftest.$ac_ext
51832 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51833 echo "${ECHO_T}$ac_header_preproc" >&6
51835 # So? What about this header?
51836 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51837 yes:no: )
51838 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51839 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51840 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51841 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51842 ac_header_preproc=yes
51844 no:yes:* )
51845 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51846 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51847 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51848 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51849 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51850 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51851 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51852 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51853 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51854 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51855 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51856 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51858 cat <<\_ASBOX
51859 ## ----------------------------------------- ##
51860 ## Report this to the package-unused lists. ##
51861 ## ----------------------------------------- ##
51862 _ASBOX
51864 sed "s/^/$as_me: WARNING: /" >&2
51866 esac
51867 echo "$as_me:$LINENO: checking for iconv.h" >&5
51868 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51869 if test "${ac_cv_header_iconv_h+set}" = set; then
51870 echo $ECHO_N "(cached) $ECHO_C" >&6
51871 else
51872 ac_cv_header_iconv_h=$ac_header_preproc
51874 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51875 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51878 if test $ac_cv_header_iconv_h = yes; then
51879 ac_has_iconv_h=yes
51880 else
51881 ac_has_iconv_h=no
51885 if test "${ac_cv_header_langinfo_h+set}" = set; then
51886 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51887 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51888 if test "${ac_cv_header_langinfo_h+set}" = set; then
51889 echo $ECHO_N "(cached) $ECHO_C" >&6
51891 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51892 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51893 else
51894 # Is the header compilable?
51895 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51896 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51897 cat >conftest.$ac_ext <<_ACEOF
51898 /* confdefs.h. */
51899 _ACEOF
51900 cat confdefs.h >>conftest.$ac_ext
51901 cat >>conftest.$ac_ext <<_ACEOF
51902 /* end confdefs.h. */
51903 $ac_includes_default
51904 #include <langinfo.h>
51905 _ACEOF
51906 rm -f conftest.$ac_objext
51907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51908 (eval $ac_compile) 2>conftest.er1
51909 ac_status=$?
51910 grep -v '^ *+' conftest.er1 >conftest.err
51911 rm -f conftest.er1
51912 cat conftest.err >&5
51913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51914 (exit $ac_status); } &&
51915 { ac_try='test -z "$ac_c_werror_flag"
51916 || test ! -s conftest.err'
51917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51918 (eval $ac_try) 2>&5
51919 ac_status=$?
51920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51921 (exit $ac_status); }; } &&
51922 { ac_try='test -s conftest.$ac_objext'
51923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51924 (eval $ac_try) 2>&5
51925 ac_status=$?
51926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51927 (exit $ac_status); }; }; then
51928 ac_header_compiler=yes
51929 else
51930 echo "$as_me: failed program was:" >&5
51931 sed 's/^/| /' conftest.$ac_ext >&5
51933 ac_header_compiler=no
51935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51937 echo "${ECHO_T}$ac_header_compiler" >&6
51939 # Is the header present?
51940 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51941 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51942 cat >conftest.$ac_ext <<_ACEOF
51943 /* confdefs.h. */
51944 _ACEOF
51945 cat confdefs.h >>conftest.$ac_ext
51946 cat >>conftest.$ac_ext <<_ACEOF
51947 /* end confdefs.h. */
51948 #include <langinfo.h>
51949 _ACEOF
51950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51952 ac_status=$?
51953 grep -v '^ *+' conftest.er1 >conftest.err
51954 rm -f conftest.er1
51955 cat conftest.err >&5
51956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51957 (exit $ac_status); } >/dev/null; then
51958 if test -s conftest.err; then
51959 ac_cpp_err=$ac_c_preproc_warn_flag
51960 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51961 else
51962 ac_cpp_err=
51964 else
51965 ac_cpp_err=yes
51967 if test -z "$ac_cpp_err"; then
51968 ac_header_preproc=yes
51969 else
51970 echo "$as_me: failed program was:" >&5
51971 sed 's/^/| /' conftest.$ac_ext >&5
51973 ac_header_preproc=no
51975 rm -f conftest.err conftest.$ac_ext
51976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51977 echo "${ECHO_T}$ac_header_preproc" >&6
51979 # So? What about this header?
51980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51981 yes:no: )
51982 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51983 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51984 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51985 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51986 ac_header_preproc=yes
51988 no:yes:* )
51989 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51990 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51991 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51992 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51993 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51994 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51995 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51996 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51997 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51998 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51999 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52000 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52002 cat <<\_ASBOX
52003 ## ----------------------------------------- ##
52004 ## Report this to the package-unused lists. ##
52005 ## ----------------------------------------- ##
52006 _ASBOX
52008 sed "s/^/$as_me: WARNING: /" >&2
52010 esac
52011 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52012 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52013 if test "${ac_cv_header_langinfo_h+set}" = set; then
52014 echo $ECHO_N "(cached) $ECHO_C" >&6
52015 else
52016 ac_cv_header_langinfo_h=$ac_header_preproc
52018 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52019 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52022 if test $ac_cv_header_langinfo_h = yes; then
52023 ac_has_langinfo_h=yes
52024 else
52025 ac_has_langinfo_h=no
52030 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52031 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52032 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52033 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52034 echo $ECHO_N "(cached) $ECHO_C" >&6
52035 else
52036 ac_check_lib_save_LIBS=$LIBS
52037 LIBS="-liconv $LIBS"
52038 if test x$gcc_no_link = xyes; then
52039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52041 { (exit 1); exit 1; }; }
52043 cat >conftest.$ac_ext <<_ACEOF
52044 /* confdefs.h. */
52045 _ACEOF
52046 cat confdefs.h >>conftest.$ac_ext
52047 cat >>conftest.$ac_ext <<_ACEOF
52048 /* end confdefs.h. */
52050 /* Override any gcc2 internal prototype to avoid an error. */
52051 #ifdef __cplusplus
52052 extern "C"
52053 #endif
52054 /* We use char because int might match the return type of a gcc2
52055 builtin and then its argument prototype would still apply. */
52056 char iconv ();
52058 main ()
52060 iconv ();
52062 return 0;
52064 _ACEOF
52065 rm -f conftest.$ac_objext conftest$ac_exeext
52066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52067 (eval $ac_link) 2>conftest.er1
52068 ac_status=$?
52069 grep -v '^ *+' conftest.er1 >conftest.err
52070 rm -f conftest.er1
52071 cat conftest.err >&5
52072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52073 (exit $ac_status); } &&
52074 { ac_try='test -z "$ac_c_werror_flag"
52075 || test ! -s conftest.err'
52076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52077 (eval $ac_try) 2>&5
52078 ac_status=$?
52079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52080 (exit $ac_status); }; } &&
52081 { ac_try='test -s conftest$ac_exeext'
52082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52083 (eval $ac_try) 2>&5
52084 ac_status=$?
52085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52086 (exit $ac_status); }; }; then
52087 ac_cv_lib_iconv_iconv=yes
52088 else
52089 echo "$as_me: failed program was:" >&5
52090 sed 's/^/| /' conftest.$ac_ext >&5
52092 ac_cv_lib_iconv_iconv=no
52094 rm -f conftest.err conftest.$ac_objext \
52095 conftest$ac_exeext conftest.$ac_ext
52096 LIBS=$ac_check_lib_save_LIBS
52098 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52099 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52100 if test $ac_cv_lib_iconv_iconv = yes; then
52101 LIBICONV="-liconv"
52104 ac_save_LIBS="$LIBS"
52105 LIBS="$LIBS $LIBICONV"
52112 for ac_func in iconv_open iconv_close iconv nl_langinfo
52114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52115 echo "$as_me:$LINENO: checking for $ac_func" >&5
52116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52117 if eval "test \"\${$as_ac_var+set}\" = set"; then
52118 echo $ECHO_N "(cached) $ECHO_C" >&6
52119 else
52120 if test x$gcc_no_link = xyes; then
52121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52123 { (exit 1); exit 1; }; }
52125 cat >conftest.$ac_ext <<_ACEOF
52126 /* confdefs.h. */
52127 _ACEOF
52128 cat confdefs.h >>conftest.$ac_ext
52129 cat >>conftest.$ac_ext <<_ACEOF
52130 /* end confdefs.h. */
52131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52133 #define $ac_func innocuous_$ac_func
52135 /* System header to define __stub macros and hopefully few prototypes,
52136 which can conflict with char $ac_func (); below.
52137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52138 <limits.h> exists even on freestanding compilers. */
52140 #ifdef __STDC__
52141 # include <limits.h>
52142 #else
52143 # include <assert.h>
52144 #endif
52146 #undef $ac_func
52148 /* Override any gcc2 internal prototype to avoid an error. */
52149 #ifdef __cplusplus
52150 extern "C"
52152 #endif
52153 /* We use char because int might match the return type of a gcc2
52154 builtin and then its argument prototype would still apply. */
52155 char $ac_func ();
52156 /* The GNU C library defines this for functions which it implements
52157 to always fail with ENOSYS. Some functions are actually named
52158 something starting with __ and the normal name is an alias. */
52159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52160 choke me
52161 #else
52162 char (*f) () = $ac_func;
52163 #endif
52164 #ifdef __cplusplus
52166 #endif
52169 main ()
52171 return f != $ac_func;
52173 return 0;
52175 _ACEOF
52176 rm -f conftest.$ac_objext conftest$ac_exeext
52177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52178 (eval $ac_link) 2>conftest.er1
52179 ac_status=$?
52180 grep -v '^ *+' conftest.er1 >conftest.err
52181 rm -f conftest.er1
52182 cat conftest.err >&5
52183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52184 (exit $ac_status); } &&
52185 { ac_try='test -z "$ac_c_werror_flag"
52186 || test ! -s conftest.err'
52187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52188 (eval $ac_try) 2>&5
52189 ac_status=$?
52190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52191 (exit $ac_status); }; } &&
52192 { ac_try='test -s conftest$ac_exeext'
52193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52194 (eval $ac_try) 2>&5
52195 ac_status=$?
52196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52197 (exit $ac_status); }; }; then
52198 eval "$as_ac_var=yes"
52199 else
52200 echo "$as_me: failed program was:" >&5
52201 sed 's/^/| /' conftest.$ac_ext >&5
52203 eval "$as_ac_var=no"
52205 rm -f conftest.err conftest.$ac_objext \
52206 conftest$ac_exeext conftest.$ac_ext
52208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52210 if test `eval echo '${'$as_ac_var'}'` = yes; then
52211 cat >>confdefs.h <<_ACEOF
52212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52213 _ACEOF
52214 ac_XPG2funcs=yes
52215 else
52216 ac_XPG2funcs=no
52218 done
52221 LIBS="$ac_save_LIBS"
52223 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52224 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52225 if test x"$ac_has_iconv_h" = xyes &&
52226 test x"$ac_has_langinfo_h" = xyes &&
52227 test x"$ac_XPG2funcs" = xyes;
52228 then
52229 ac_XPG2_wchar_t=yes
52230 else
52231 ac_XPG2_wchar_t=no
52233 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52234 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52236 # At the moment, only enable wchar_t specializations if all the
52237 # above support is present.
52238 if test x"$ac_isoC99_wchar_t" = xyes &&
52239 test x"$ac_XPG2_wchar_t" = xyes;
52240 then
52241 cat >>confdefs.h <<\_ACEOF
52242 #define _GLIBCXX_USE_WCHAR_T 1
52243 _ACEOF
52245 enable_wchar_t=yes
52248 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52249 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52250 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52251 echo "${ECHO_T}$enable_wchar_t" >&6
52254 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52255 ac_save_CXXFLAGS="$CXXFLAGS"
52256 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52259 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52260 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52261 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52262 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52263 echo $ECHO_N "(cached) $ECHO_C" >&6
52264 else
52268 ac_ext=cc
52269 ac_cpp='$CXXCPP $CPPFLAGS'
52270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52274 cat >conftest.$ac_ext <<_ACEOF
52275 /* confdefs.h. */
52276 _ACEOF
52277 cat confdefs.h >>conftest.$ac_ext
52278 cat >>conftest.$ac_ext <<_ACEOF
52279 /* end confdefs.h. */
52280 #include <stdlib.h>
52282 main ()
52284 strtold(0, 0);
52286 return 0;
52288 _ACEOF
52289 rm -f conftest.$ac_objext
52290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52291 (eval $ac_compile) 2>conftest.er1
52292 ac_status=$?
52293 grep -v '^ *+' conftest.er1 >conftest.err
52294 rm -f conftest.er1
52295 cat conftest.err >&5
52296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52297 (exit $ac_status); } &&
52298 { ac_try='test -z "$ac_cxx_werror_flag"
52299 || test ! -s conftest.err'
52300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52301 (eval $ac_try) 2>&5
52302 ac_status=$?
52303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52304 (exit $ac_status); }; } &&
52305 { ac_try='test -s conftest.$ac_objext'
52306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52307 (eval $ac_try) 2>&5
52308 ac_status=$?
52309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52310 (exit $ac_status); }; }; then
52311 glibcxx_cv_func_strtold_use=yes
52312 else
52313 echo "$as_me: failed program was:" >&5
52314 sed 's/^/| /' conftest.$ac_ext >&5
52316 glibcxx_cv_func_strtold_use=no
52318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52319 ac_ext=c
52320 ac_cpp='$CPP $CPPFLAGS'
52321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52330 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52331 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52333 for ac_func in strtold
52335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52336 echo "$as_me:$LINENO: checking for $ac_func" >&5
52337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52338 if eval "test \"\${$as_ac_var+set}\" = set"; then
52339 echo $ECHO_N "(cached) $ECHO_C" >&6
52340 else
52341 if test x$gcc_no_link = xyes; then
52342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52344 { (exit 1); exit 1; }; }
52346 cat >conftest.$ac_ext <<_ACEOF
52347 /* confdefs.h. */
52348 _ACEOF
52349 cat confdefs.h >>conftest.$ac_ext
52350 cat >>conftest.$ac_ext <<_ACEOF
52351 /* end confdefs.h. */
52352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52354 #define $ac_func innocuous_$ac_func
52356 /* System header to define __stub macros and hopefully few prototypes,
52357 which can conflict with char $ac_func (); below.
52358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52359 <limits.h> exists even on freestanding compilers. */
52361 #ifdef __STDC__
52362 # include <limits.h>
52363 #else
52364 # include <assert.h>
52365 #endif
52367 #undef $ac_func
52369 /* Override any gcc2 internal prototype to avoid an error. */
52370 #ifdef __cplusplus
52371 extern "C"
52373 #endif
52374 /* We use char because int might match the return type of a gcc2
52375 builtin and then its argument prototype would still apply. */
52376 char $ac_func ();
52377 /* The GNU C library defines this for functions which it implements
52378 to always fail with ENOSYS. Some functions are actually named
52379 something starting with __ and the normal name is an alias. */
52380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52381 choke me
52382 #else
52383 char (*f) () = $ac_func;
52384 #endif
52385 #ifdef __cplusplus
52387 #endif
52390 main ()
52392 return f != $ac_func;
52394 return 0;
52396 _ACEOF
52397 rm -f conftest.$ac_objext conftest$ac_exeext
52398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52399 (eval $ac_link) 2>conftest.er1
52400 ac_status=$?
52401 grep -v '^ *+' conftest.er1 >conftest.err
52402 rm -f conftest.er1
52403 cat conftest.err >&5
52404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52405 (exit $ac_status); } &&
52406 { ac_try='test -z "$ac_c_werror_flag"
52407 || test ! -s conftest.err'
52408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52409 (eval $ac_try) 2>&5
52410 ac_status=$?
52411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52412 (exit $ac_status); }; } &&
52413 { ac_try='test -s conftest$ac_exeext'
52414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52415 (eval $ac_try) 2>&5
52416 ac_status=$?
52417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52418 (exit $ac_status); }; }; then
52419 eval "$as_ac_var=yes"
52420 else
52421 echo "$as_me: failed program was:" >&5
52422 sed 's/^/| /' conftest.$ac_ext >&5
52424 eval "$as_ac_var=no"
52426 rm -f conftest.err conftest.$ac_objext \
52427 conftest$ac_exeext conftest.$ac_ext
52429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52431 if test `eval echo '${'$as_ac_var'}'` = yes; then
52432 cat >>confdefs.h <<_ACEOF
52433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52434 _ACEOF
52437 done
52442 echo "$as_me:$LINENO: checking for strtof declaration" >&5
52443 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52444 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52445 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52446 echo $ECHO_N "(cached) $ECHO_C" >&6
52447 else
52451 ac_ext=cc
52452 ac_cpp='$CXXCPP $CPPFLAGS'
52453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52457 cat >conftest.$ac_ext <<_ACEOF
52458 /* confdefs.h. */
52459 _ACEOF
52460 cat confdefs.h >>conftest.$ac_ext
52461 cat >>conftest.$ac_ext <<_ACEOF
52462 /* end confdefs.h. */
52463 #include <stdlib.h>
52465 main ()
52467 strtof(0, 0);
52469 return 0;
52471 _ACEOF
52472 rm -f conftest.$ac_objext
52473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52474 (eval $ac_compile) 2>conftest.er1
52475 ac_status=$?
52476 grep -v '^ *+' conftest.er1 >conftest.err
52477 rm -f conftest.er1
52478 cat conftest.err >&5
52479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52480 (exit $ac_status); } &&
52481 { ac_try='test -z "$ac_cxx_werror_flag"
52482 || test ! -s conftest.err'
52483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52484 (eval $ac_try) 2>&5
52485 ac_status=$?
52486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52487 (exit $ac_status); }; } &&
52488 { ac_try='test -s conftest.$ac_objext'
52489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52490 (eval $ac_try) 2>&5
52491 ac_status=$?
52492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52493 (exit $ac_status); }; }; then
52494 glibcxx_cv_func_strtof_use=yes
52495 else
52496 echo "$as_me: failed program was:" >&5
52497 sed 's/^/| /' conftest.$ac_ext >&5
52499 glibcxx_cv_func_strtof_use=no
52501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52502 ac_ext=c
52503 ac_cpp='$CPP $CPPFLAGS'
52504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52513 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52514 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52516 for ac_func in strtof
52518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52519 echo "$as_me:$LINENO: checking for $ac_func" >&5
52520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52521 if eval "test \"\${$as_ac_var+set}\" = set"; then
52522 echo $ECHO_N "(cached) $ECHO_C" >&6
52523 else
52524 if test x$gcc_no_link = xyes; then
52525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52527 { (exit 1); exit 1; }; }
52529 cat >conftest.$ac_ext <<_ACEOF
52530 /* confdefs.h. */
52531 _ACEOF
52532 cat confdefs.h >>conftest.$ac_ext
52533 cat >>conftest.$ac_ext <<_ACEOF
52534 /* end confdefs.h. */
52535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52537 #define $ac_func innocuous_$ac_func
52539 /* System header to define __stub macros and hopefully few prototypes,
52540 which can conflict with char $ac_func (); below.
52541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52542 <limits.h> exists even on freestanding compilers. */
52544 #ifdef __STDC__
52545 # include <limits.h>
52546 #else
52547 # include <assert.h>
52548 #endif
52550 #undef $ac_func
52552 /* Override any gcc2 internal prototype to avoid an error. */
52553 #ifdef __cplusplus
52554 extern "C"
52556 #endif
52557 /* We use char because int might match the return type of a gcc2
52558 builtin and then its argument prototype would still apply. */
52559 char $ac_func ();
52560 /* The GNU C library defines this for functions which it implements
52561 to always fail with ENOSYS. Some functions are actually named
52562 something starting with __ and the normal name is an alias. */
52563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52564 choke me
52565 #else
52566 char (*f) () = $ac_func;
52567 #endif
52568 #ifdef __cplusplus
52570 #endif
52573 main ()
52575 return f != $ac_func;
52577 return 0;
52579 _ACEOF
52580 rm -f conftest.$ac_objext conftest$ac_exeext
52581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52582 (eval $ac_link) 2>conftest.er1
52583 ac_status=$?
52584 grep -v '^ *+' conftest.er1 >conftest.err
52585 rm -f conftest.er1
52586 cat conftest.err >&5
52587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52588 (exit $ac_status); } &&
52589 { ac_try='test -z "$ac_c_werror_flag"
52590 || test ! -s conftest.err'
52591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52592 (eval $ac_try) 2>&5
52593 ac_status=$?
52594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52595 (exit $ac_status); }; } &&
52596 { ac_try='test -s conftest$ac_exeext'
52597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52598 (eval $ac_try) 2>&5
52599 ac_status=$?
52600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52601 (exit $ac_status); }; }; then
52602 eval "$as_ac_var=yes"
52603 else
52604 echo "$as_me: failed program was:" >&5
52605 sed 's/^/| /' conftest.$ac_ext >&5
52607 eval "$as_ac_var=no"
52609 rm -f conftest.err conftest.$ac_objext \
52610 conftest$ac_exeext conftest.$ac_ext
52612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52614 if test `eval echo '${'$as_ac_var'}'` = yes; then
52615 cat >>confdefs.h <<_ACEOF
52616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52617 _ACEOF
52620 done
52625 CXXFLAGS="$ac_save_CXXFLAGS"
52628 # For showmanyc_helper().
52631 for ac_header in sys/ioctl.h sys/filio.h
52633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52635 echo "$as_me:$LINENO: checking for $ac_header" >&5
52636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52638 echo $ECHO_N "(cached) $ECHO_C" >&6
52640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52642 else
52643 # Is the header compilable?
52644 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52645 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52646 cat >conftest.$ac_ext <<_ACEOF
52647 /* confdefs.h. */
52648 _ACEOF
52649 cat confdefs.h >>conftest.$ac_ext
52650 cat >>conftest.$ac_ext <<_ACEOF
52651 /* end confdefs.h. */
52652 $ac_includes_default
52653 #include <$ac_header>
52654 _ACEOF
52655 rm -f conftest.$ac_objext
52656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52657 (eval $ac_compile) 2>conftest.er1
52658 ac_status=$?
52659 grep -v '^ *+' conftest.er1 >conftest.err
52660 rm -f conftest.er1
52661 cat conftest.err >&5
52662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52663 (exit $ac_status); } &&
52664 { ac_try='test -z "$ac_c_werror_flag"
52665 || test ! -s conftest.err'
52666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52667 (eval $ac_try) 2>&5
52668 ac_status=$?
52669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52670 (exit $ac_status); }; } &&
52671 { ac_try='test -s conftest.$ac_objext'
52672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52673 (eval $ac_try) 2>&5
52674 ac_status=$?
52675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52676 (exit $ac_status); }; }; then
52677 ac_header_compiler=yes
52678 else
52679 echo "$as_me: failed program was:" >&5
52680 sed 's/^/| /' conftest.$ac_ext >&5
52682 ac_header_compiler=no
52684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52686 echo "${ECHO_T}$ac_header_compiler" >&6
52688 # Is the header present?
52689 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52691 cat >conftest.$ac_ext <<_ACEOF
52692 /* confdefs.h. */
52693 _ACEOF
52694 cat confdefs.h >>conftest.$ac_ext
52695 cat >>conftest.$ac_ext <<_ACEOF
52696 /* end confdefs.h. */
52697 #include <$ac_header>
52698 _ACEOF
52699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52701 ac_status=$?
52702 grep -v '^ *+' conftest.er1 >conftest.err
52703 rm -f conftest.er1
52704 cat conftest.err >&5
52705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52706 (exit $ac_status); } >/dev/null; then
52707 if test -s conftest.err; then
52708 ac_cpp_err=$ac_c_preproc_warn_flag
52709 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52710 else
52711 ac_cpp_err=
52713 else
52714 ac_cpp_err=yes
52716 if test -z "$ac_cpp_err"; then
52717 ac_header_preproc=yes
52718 else
52719 echo "$as_me: failed program was:" >&5
52720 sed 's/^/| /' conftest.$ac_ext >&5
52722 ac_header_preproc=no
52724 rm -f conftest.err conftest.$ac_ext
52725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52726 echo "${ECHO_T}$ac_header_preproc" >&6
52728 # So? What about this header?
52729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52730 yes:no: )
52731 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52732 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52734 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52735 ac_header_preproc=yes
52737 no:yes:* )
52738 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52739 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52740 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52741 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52742 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52743 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52744 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52745 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52748 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52749 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52751 cat <<\_ASBOX
52752 ## ----------------------------------------- ##
52753 ## Report this to the package-unused lists. ##
52754 ## ----------------------------------------- ##
52755 _ASBOX
52757 sed "s/^/$as_me: WARNING: /" >&2
52759 esac
52760 echo "$as_me:$LINENO: checking for $ac_header" >&5
52761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52763 echo $ECHO_N "(cached) $ECHO_C" >&6
52764 else
52765 eval "$as_ac_Header=\$ac_header_preproc"
52767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52772 cat >>confdefs.h <<_ACEOF
52773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52774 _ACEOF
52778 done
52781 if test "${glibcxx_cv_POLL+set}" = set; then
52782 echo $ECHO_N "(cached) $ECHO_C" >&6
52783 else
52785 if test x$gcc_no_link = xyes; then
52786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52788 { (exit 1); exit 1; }; }
52790 cat >conftest.$ac_ext <<_ACEOF
52791 /* confdefs.h. */
52792 _ACEOF
52793 cat confdefs.h >>conftest.$ac_ext
52794 cat >>conftest.$ac_ext <<_ACEOF
52795 /* end confdefs.h. */
52796 #include <poll.h>
52798 main ()
52800 struct pollfd pfd[1];
52801 pfd[0].events = POLLIN;
52802 poll(pfd, 1, 0);
52804 return 0;
52806 _ACEOF
52807 rm -f conftest.$ac_objext conftest$ac_exeext
52808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52809 (eval $ac_link) 2>conftest.er1
52810 ac_status=$?
52811 grep -v '^ *+' conftest.er1 >conftest.err
52812 rm -f conftest.er1
52813 cat conftest.err >&5
52814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52815 (exit $ac_status); } &&
52816 { ac_try='test -z "$ac_c_werror_flag"
52817 || test ! -s conftest.err'
52818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52819 (eval $ac_try) 2>&5
52820 ac_status=$?
52821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52822 (exit $ac_status); }; } &&
52823 { ac_try='test -s conftest$ac_exeext'
52824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52825 (eval $ac_try) 2>&5
52826 ac_status=$?
52827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52828 (exit $ac_status); }; }; then
52829 glibcxx_cv_POLL=yes
52830 else
52831 echo "$as_me: failed program was:" >&5
52832 sed 's/^/| /' conftest.$ac_ext >&5
52834 glibcxx_cv_POLL=no
52836 rm -f conftest.err conftest.$ac_objext \
52837 conftest$ac_exeext conftest.$ac_ext
52841 if test $glibcxx_cv_POLL = yes; then
52842 cat >>confdefs.h <<\_ACEOF
52843 #define HAVE_POLL 1
52844 _ACEOF
52849 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52850 echo $ECHO_N "(cached) $ECHO_C" >&6
52851 else
52853 if test x$gcc_no_link = xyes; then
52854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52856 { (exit 1); exit 1; }; }
52858 cat >conftest.$ac_ext <<_ACEOF
52859 /* confdefs.h. */
52860 _ACEOF
52861 cat confdefs.h >>conftest.$ac_ext
52862 cat >>conftest.$ac_ext <<_ACEOF
52863 /* end confdefs.h. */
52864 #include <sys/stat.h>
52866 main ()
52868 struct stat buffer;
52869 fstat(0, &buffer);
52870 S_ISREG(buffer.st_mode);
52872 return 0;
52874 _ACEOF
52875 rm -f conftest.$ac_objext conftest$ac_exeext
52876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52877 (eval $ac_link) 2>conftest.er1
52878 ac_status=$?
52879 grep -v '^ *+' conftest.er1 >conftest.err
52880 rm -f conftest.er1
52881 cat conftest.err >&5
52882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52883 (exit $ac_status); } &&
52884 { ac_try='test -z "$ac_c_werror_flag"
52885 || test ! -s conftest.err'
52886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52887 (eval $ac_try) 2>&5
52888 ac_status=$?
52889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52890 (exit $ac_status); }; } &&
52891 { ac_try='test -s conftest$ac_exeext'
52892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52893 (eval $ac_try) 2>&5
52894 ac_status=$?
52895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52896 (exit $ac_status); }; }; then
52897 glibcxx_cv_S_ISREG=yes
52898 else
52899 echo "$as_me: failed program was:" >&5
52900 sed 's/^/| /' conftest.$ac_ext >&5
52902 glibcxx_cv_S_ISREG=no
52904 rm -f conftest.err conftest.$ac_objext \
52905 conftest$ac_exeext conftest.$ac_ext
52909 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52910 echo $ECHO_N "(cached) $ECHO_C" >&6
52911 else
52913 if test x$gcc_no_link = xyes; then
52914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52916 { (exit 1); exit 1; }; }
52918 cat >conftest.$ac_ext <<_ACEOF
52919 /* confdefs.h. */
52920 _ACEOF
52921 cat confdefs.h >>conftest.$ac_ext
52922 cat >>conftest.$ac_ext <<_ACEOF
52923 /* end confdefs.h. */
52924 #include <sys/stat.h>
52926 main ()
52928 struct stat buffer;
52929 fstat(0, &buffer);
52930 S_IFREG & buffer.st_mode;
52932 return 0;
52934 _ACEOF
52935 rm -f conftest.$ac_objext conftest$ac_exeext
52936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52937 (eval $ac_link) 2>conftest.er1
52938 ac_status=$?
52939 grep -v '^ *+' conftest.er1 >conftest.err
52940 rm -f conftest.er1
52941 cat conftest.err >&5
52942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52943 (exit $ac_status); } &&
52944 { ac_try='test -z "$ac_c_werror_flag"
52945 || test ! -s conftest.err'
52946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52947 (eval $ac_try) 2>&5
52948 ac_status=$?
52949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52950 (exit $ac_status); }; } &&
52951 { ac_try='test -s conftest$ac_exeext'
52952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52953 (eval $ac_try) 2>&5
52954 ac_status=$?
52955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52956 (exit $ac_status); }; }; then
52957 glibcxx_cv_S_IFREG=yes
52958 else
52959 echo "$as_me: failed program was:" >&5
52960 sed 's/^/| /' conftest.$ac_ext >&5
52962 glibcxx_cv_S_IFREG=no
52964 rm -f conftest.err conftest.$ac_objext \
52965 conftest$ac_exeext conftest.$ac_ext
52969 if test $glibcxx_cv_S_ISREG = yes; then
52970 cat >>confdefs.h <<\_ACEOF
52971 #define HAVE_S_ISREG 1
52972 _ACEOF
52974 elif test $glibcxx_cv_S_IFREG = yes; then
52975 cat >>confdefs.h <<\_ACEOF
52976 #define HAVE_S_IFREG 1
52977 _ACEOF
52982 # For xsputn_2().
52984 for ac_header in sys/uio.h
52986 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52988 echo "$as_me:$LINENO: checking for $ac_header" >&5
52989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52991 echo $ECHO_N "(cached) $ECHO_C" >&6
52993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52994 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52995 else
52996 # Is the header compilable?
52997 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52998 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52999 cat >conftest.$ac_ext <<_ACEOF
53000 /* confdefs.h. */
53001 _ACEOF
53002 cat confdefs.h >>conftest.$ac_ext
53003 cat >>conftest.$ac_ext <<_ACEOF
53004 /* end confdefs.h. */
53005 $ac_includes_default
53006 #include <$ac_header>
53007 _ACEOF
53008 rm -f conftest.$ac_objext
53009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53010 (eval $ac_compile) 2>conftest.er1
53011 ac_status=$?
53012 grep -v '^ *+' conftest.er1 >conftest.err
53013 rm -f conftest.er1
53014 cat conftest.err >&5
53015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53016 (exit $ac_status); } &&
53017 { ac_try='test -z "$ac_c_werror_flag"
53018 || test ! -s conftest.err'
53019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53020 (eval $ac_try) 2>&5
53021 ac_status=$?
53022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53023 (exit $ac_status); }; } &&
53024 { ac_try='test -s conftest.$ac_objext'
53025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53026 (eval $ac_try) 2>&5
53027 ac_status=$?
53028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53029 (exit $ac_status); }; }; then
53030 ac_header_compiler=yes
53031 else
53032 echo "$as_me: failed program was:" >&5
53033 sed 's/^/| /' conftest.$ac_ext >&5
53035 ac_header_compiler=no
53037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53038 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53039 echo "${ECHO_T}$ac_header_compiler" >&6
53041 # Is the header present?
53042 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53043 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53044 cat >conftest.$ac_ext <<_ACEOF
53045 /* confdefs.h. */
53046 _ACEOF
53047 cat confdefs.h >>conftest.$ac_ext
53048 cat >>conftest.$ac_ext <<_ACEOF
53049 /* end confdefs.h. */
53050 #include <$ac_header>
53051 _ACEOF
53052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53053 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53054 ac_status=$?
53055 grep -v '^ *+' conftest.er1 >conftest.err
53056 rm -f conftest.er1
53057 cat conftest.err >&5
53058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53059 (exit $ac_status); } >/dev/null; then
53060 if test -s conftest.err; then
53061 ac_cpp_err=$ac_c_preproc_warn_flag
53062 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53063 else
53064 ac_cpp_err=
53066 else
53067 ac_cpp_err=yes
53069 if test -z "$ac_cpp_err"; then
53070 ac_header_preproc=yes
53071 else
53072 echo "$as_me: failed program was:" >&5
53073 sed 's/^/| /' conftest.$ac_ext >&5
53075 ac_header_preproc=no
53077 rm -f conftest.err conftest.$ac_ext
53078 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53079 echo "${ECHO_T}$ac_header_preproc" >&6
53081 # So? What about this header?
53082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53083 yes:no: )
53084 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53085 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53087 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53088 ac_header_preproc=yes
53090 no:yes:* )
53091 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53092 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53093 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53094 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53095 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53096 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53097 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53098 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53100 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53101 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53102 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53104 cat <<\_ASBOX
53105 ## ----------------------------------------- ##
53106 ## Report this to the package-unused lists. ##
53107 ## ----------------------------------------- ##
53108 _ASBOX
53110 sed "s/^/$as_me: WARNING: /" >&2
53112 esac
53113 echo "$as_me:$LINENO: checking for $ac_header" >&5
53114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53116 echo $ECHO_N "(cached) $ECHO_C" >&6
53117 else
53118 eval "$as_ac_Header=\$ac_header_preproc"
53120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53125 cat >>confdefs.h <<_ACEOF
53126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53127 _ACEOF
53131 done
53134 if test "${glibcxx_cv_WRITEV+set}" = set; then
53135 echo $ECHO_N "(cached) $ECHO_C" >&6
53136 else
53138 if test x$gcc_no_link = xyes; then
53139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53141 { (exit 1); exit 1; }; }
53143 cat >conftest.$ac_ext <<_ACEOF
53144 /* confdefs.h. */
53145 _ACEOF
53146 cat confdefs.h >>conftest.$ac_ext
53147 cat >>conftest.$ac_ext <<_ACEOF
53148 /* end confdefs.h. */
53149 #include <sys/uio.h>
53151 main ()
53153 struct iovec iov[2];
53154 writev(0, iov, 0);
53156 return 0;
53158 _ACEOF
53159 rm -f conftest.$ac_objext conftest$ac_exeext
53160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53161 (eval $ac_link) 2>conftest.er1
53162 ac_status=$?
53163 grep -v '^ *+' conftest.er1 >conftest.err
53164 rm -f conftest.er1
53165 cat conftest.err >&5
53166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53167 (exit $ac_status); } &&
53168 { ac_try='test -z "$ac_c_werror_flag"
53169 || test ! -s conftest.err'
53170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53171 (eval $ac_try) 2>&5
53172 ac_status=$?
53173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53174 (exit $ac_status); }; } &&
53175 { ac_try='test -s conftest$ac_exeext'
53176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53177 (eval $ac_try) 2>&5
53178 ac_status=$?
53179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53180 (exit $ac_status); }; }; then
53181 glibcxx_cv_WRITEV=yes
53182 else
53183 echo "$as_me: failed program was:" >&5
53184 sed 's/^/| /' conftest.$ac_ext >&5
53186 glibcxx_cv_WRITEV=no
53188 rm -f conftest.err conftest.$ac_objext \
53189 conftest$ac_exeext conftest.$ac_ext
53193 if test $glibcxx_cv_WRITEV = yes; then
53194 cat >>confdefs.h <<\_ACEOF
53195 #define HAVE_WRITEV 1
53196 _ACEOF
53201 cat >>confdefs.h <<\_ACEOF
53202 #define HAVE_LC_MESSAGES 1
53203 _ACEOF
53206 cat >conftest.$ac_ext <<_ACEOF
53207 /* confdefs.h. */
53208 _ACEOF
53209 cat confdefs.h >>conftest.$ac_ext
53210 cat >>conftest.$ac_ext <<_ACEOF
53211 /* end confdefs.h. */
53212 #include <setjmp.h>
53214 main ()
53216 sigjmp_buf env;
53217 while (! sigsetjmp (env, 1))
53218 siglongjmp (env, 1);
53221 return 0;
53223 _ACEOF
53224 rm -f conftest.$ac_objext
53225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53226 (eval $ac_compile) 2>conftest.er1
53227 ac_status=$?
53228 grep -v '^ *+' conftest.er1 >conftest.err
53229 rm -f conftest.er1
53230 cat conftest.err >&5
53231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53232 (exit $ac_status); } &&
53233 { ac_try='test -z "$ac_c_werror_flag"
53234 || test ! -s conftest.err'
53235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53236 (eval $ac_try) 2>&5
53237 ac_status=$?
53238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53239 (exit $ac_status); }; } &&
53240 { ac_try='test -s conftest.$ac_objext'
53241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53242 (eval $ac_try) 2>&5
53243 ac_status=$?
53244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53245 (exit $ac_status); }; }; then
53247 cat >>confdefs.h <<\_ACEOF
53248 #define HAVE_SIGSETJMP 1
53249 _ACEOF
53251 else
53252 echo "$as_me: failed program was:" >&5
53253 sed 's/^/| /' conftest.$ac_ext >&5
53256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53258 cat >>confdefs.h <<\_ACEOF
53259 #define HAVE_MMAP 1
53260 _ACEOF
53264 *djgpp)
53285 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53286 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53287 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53288 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53290 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53292 echo "$as_me:$LINENO: checking for $ac_header" >&5
53293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53295 echo $ECHO_N "(cached) $ECHO_C" >&6
53297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53299 else
53300 # Is the header compilable?
53301 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53303 cat >conftest.$ac_ext <<_ACEOF
53304 /* confdefs.h. */
53305 _ACEOF
53306 cat confdefs.h >>conftest.$ac_ext
53307 cat >>conftest.$ac_ext <<_ACEOF
53308 /* end confdefs.h. */
53309 $ac_includes_default
53310 #include <$ac_header>
53311 _ACEOF
53312 rm -f conftest.$ac_objext
53313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53314 (eval $ac_compile) 2>conftest.er1
53315 ac_status=$?
53316 grep -v '^ *+' conftest.er1 >conftest.err
53317 rm -f conftest.er1
53318 cat conftest.err >&5
53319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53320 (exit $ac_status); } &&
53321 { ac_try='test -z "$ac_c_werror_flag"
53322 || test ! -s conftest.err'
53323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53324 (eval $ac_try) 2>&5
53325 ac_status=$?
53326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53327 (exit $ac_status); }; } &&
53328 { ac_try='test -s conftest.$ac_objext'
53329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53330 (eval $ac_try) 2>&5
53331 ac_status=$?
53332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53333 (exit $ac_status); }; }; then
53334 ac_header_compiler=yes
53335 else
53336 echo "$as_me: failed program was:" >&5
53337 sed 's/^/| /' conftest.$ac_ext >&5
53339 ac_header_compiler=no
53341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53343 echo "${ECHO_T}$ac_header_compiler" >&6
53345 # Is the header present?
53346 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53348 cat >conftest.$ac_ext <<_ACEOF
53349 /* confdefs.h. */
53350 _ACEOF
53351 cat confdefs.h >>conftest.$ac_ext
53352 cat >>conftest.$ac_ext <<_ACEOF
53353 /* end confdefs.h. */
53354 #include <$ac_header>
53355 _ACEOF
53356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53358 ac_status=$?
53359 grep -v '^ *+' conftest.er1 >conftest.err
53360 rm -f conftest.er1
53361 cat conftest.err >&5
53362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53363 (exit $ac_status); } >/dev/null; then
53364 if test -s conftest.err; then
53365 ac_cpp_err=$ac_c_preproc_warn_flag
53366 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53367 else
53368 ac_cpp_err=
53370 else
53371 ac_cpp_err=yes
53373 if test -z "$ac_cpp_err"; then
53374 ac_header_preproc=yes
53375 else
53376 echo "$as_me: failed program was:" >&5
53377 sed 's/^/| /' conftest.$ac_ext >&5
53379 ac_header_preproc=no
53381 rm -f conftest.err conftest.$ac_ext
53382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53383 echo "${ECHO_T}$ac_header_preproc" >&6
53385 # So? What about this header?
53386 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53387 yes:no: )
53388 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53391 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53392 ac_header_preproc=yes
53394 no:yes:* )
53395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53399 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53400 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53401 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53402 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53405 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53406 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53408 cat <<\_ASBOX
53409 ## ----------------------------------------- ##
53410 ## Report this to the package-unused lists. ##
53411 ## ----------------------------------------- ##
53412 _ASBOX
53414 sed "s/^/$as_me: WARNING: /" >&2
53416 esac
53417 echo "$as_me:$LINENO: checking for $ac_header" >&5
53418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53420 echo $ECHO_N "(cached) $ECHO_C" >&6
53421 else
53422 eval "$as_ac_Header=\$ac_header_preproc"
53424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53429 cat >>confdefs.h <<_ACEOF
53430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53431 _ACEOF
53435 done
53438 # All these tests are for C++; save the language and the compiler flags.
53439 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53440 # found in GLIBCXX_CONFIGURE.
53443 ac_ext=cc
53444 ac_cpp='$CXXCPP $CPPFLAGS'
53445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53449 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53450 ac_save_CXXFLAGS="$CXXFLAGS"
53452 # Check for maintainer-mode bits.
53453 if test x"$USE_MAINTAINER_MODE" = xno; then
53454 WERROR=''
53455 else
53456 WERROR='-Werror'
53459 # Check for -ffunction-sections -fdata-sections
53460 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53461 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53462 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53463 cat >conftest.$ac_ext <<_ACEOF
53464 /* confdefs.h. */
53465 _ACEOF
53466 cat confdefs.h >>conftest.$ac_ext
53467 cat >>conftest.$ac_ext <<_ACEOF
53468 /* end confdefs.h. */
53471 main ()
53473 int foo;
53475 return 0;
53477 _ACEOF
53478 rm -f conftest.$ac_objext
53479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53480 (eval $ac_compile) 2>conftest.er1
53481 ac_status=$?
53482 grep -v '^ *+' conftest.er1 >conftest.err
53483 rm -f conftest.er1
53484 cat conftest.err >&5
53485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53486 (exit $ac_status); } &&
53487 { ac_try='test -z "$ac_cxx_werror_flag"
53488 || test ! -s conftest.err'
53489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53490 (eval $ac_try) 2>&5
53491 ac_status=$?
53492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53493 (exit $ac_status); }; } &&
53494 { ac_try='test -s conftest.$ac_objext'
53495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53496 (eval $ac_try) 2>&5
53497 ac_status=$?
53498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53499 (exit $ac_status); }; }; then
53500 ac_fdsections=yes
53501 else
53502 echo "$as_me: failed program was:" >&5
53503 sed 's/^/| /' conftest.$ac_ext >&5
53505 ac_fdsections=no
53507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53508 if test "$ac_test_CXXFLAGS" = set; then
53509 CXXFLAGS="$ac_save_CXXFLAGS"
53510 else
53511 # this is the suspicious part
53512 CXXFLAGS=''
53514 if test x"$ac_fdsections" = x"yes"; then
53515 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53517 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53518 echo "${ECHO_T}$ac_fdsections" >&6
53520 ac_ext=c
53521 ac_cpp='$CPP $CPPFLAGS'
53522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53530 # If we're not using GNU ld, then there's no point in even trying these
53531 # tests. Check for that first. We should have already tested for gld
53532 # by now (in libtool), but require it now just to be safe...
53533 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53534 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53538 # The name set by libtool depends on the version of libtool. Shame on us
53539 # for depending on an impl detail, but c'est la vie. Older versions used
53540 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53541 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53542 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53543 # set (hence we're using an older libtool), then set it.
53544 if test x${with_gnu_ld+set} != xset; then
53545 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53546 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53547 with_gnu_ld=no
53548 else
53549 with_gnu_ld=$ac_cv_prog_gnu_ld
53553 # Start by getting the version number. I think the libtool test already
53554 # does some of this, but throws away the result.
53556 ldver=`$LD --version 2>/dev/null | head -1 | \
53557 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53559 glibcxx_gnu_ld_version=`echo $ldver | \
53560 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53562 # Set --gc-sections.
53563 if test "$with_gnu_ld" = "notbroken"; then
53564 # GNU ld it is! Joy and bunny rabbits!
53566 # All these tests are for C++; save the language and the compiler flags.
53567 # Need to do this so that g++ won't try to link in libstdc++
53568 ac_test_CFLAGS="${CFLAGS+set}"
53569 ac_save_CFLAGS="$CFLAGS"
53570 CFLAGS='-x c++ -Wl,--gc-sections'
53572 # Check for -Wl,--gc-sections
53573 # XXX This test is broken at the moment, as symbols required for linking
53574 # are now in libsupc++ (not built yet). In addition, this test has
53575 # cored on solaris in the past. In addition, --gc-sections doesn't
53576 # really work at the moment (keeps on discarding used sections, first
53577 # .eh_frame and now some of the glibc sections for iconv).
53578 # Bzzzzt. Thanks for playing, maybe next time.
53579 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53580 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53581 if test "$cross_compiling" = yes; then
53582 ac_sectionLDflags=yes
53583 else
53584 cat >conftest.$ac_ext <<_ACEOF
53585 /* confdefs.h. */
53586 _ACEOF
53587 cat confdefs.h >>conftest.$ac_ext
53588 cat >>conftest.$ac_ext <<_ACEOF
53589 /* end confdefs.h. */
53591 int main(void)
53593 try { throw 1; }
53594 catch (...) { };
53595 return 0;
53598 _ACEOF
53599 rm -f conftest$ac_exeext
53600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53601 (eval $ac_link) 2>&5
53602 ac_status=$?
53603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53606 (eval $ac_try) 2>&5
53607 ac_status=$?
53608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53609 (exit $ac_status); }; }; then
53610 ac_sectionLDflags=yes
53611 else
53612 echo "$as_me: program exited with status $ac_status" >&5
53613 echo "$as_me: failed program was:" >&5
53614 sed 's/^/| /' conftest.$ac_ext >&5
53616 ( exit $ac_status )
53617 ac_sectionLDflags=no
53619 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53621 if test "$ac_test_CFLAGS" = set; then
53622 CFLAGS="$ac_save_CFLAGS"
53623 else
53624 # this is the suspicious part
53625 CFLAGS=''
53627 if test "$ac_sectionLDflags" = "yes"; then
53628 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53630 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53631 echo "${ECHO_T}$ac_sectionLDflags" >&6
53634 # Set linker optimization flags.
53635 if test x"$with_gnu_ld" = x"yes"; then
53636 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53643 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53644 ac_save_CXXFLAGS="$CXXFLAGS"
53645 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53647 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53648 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53649 if test "${ac_cv_lib_m_sin+set}" = set; then
53650 echo $ECHO_N "(cached) $ECHO_C" >&6
53651 else
53652 ac_check_lib_save_LIBS=$LIBS
53653 LIBS="-lm $LIBS"
53654 if test x$gcc_no_link = xyes; then
53655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53657 { (exit 1); exit 1; }; }
53659 cat >conftest.$ac_ext <<_ACEOF
53660 /* confdefs.h. */
53661 _ACEOF
53662 cat confdefs.h >>conftest.$ac_ext
53663 cat >>conftest.$ac_ext <<_ACEOF
53664 /* end confdefs.h. */
53666 /* Override any gcc2 internal prototype to avoid an error. */
53667 #ifdef __cplusplus
53668 extern "C"
53669 #endif
53670 /* We use char because int might match the return type of a gcc2
53671 builtin and then its argument prototype would still apply. */
53672 char sin ();
53674 main ()
53676 sin ();
53678 return 0;
53680 _ACEOF
53681 rm -f conftest.$ac_objext conftest$ac_exeext
53682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53683 (eval $ac_link) 2>conftest.er1
53684 ac_status=$?
53685 grep -v '^ *+' conftest.er1 >conftest.err
53686 rm -f conftest.er1
53687 cat conftest.err >&5
53688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53689 (exit $ac_status); } &&
53690 { ac_try='test -z "$ac_c_werror_flag"
53691 || test ! -s conftest.err'
53692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53693 (eval $ac_try) 2>&5
53694 ac_status=$?
53695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53696 (exit $ac_status); }; } &&
53697 { ac_try='test -s conftest$ac_exeext'
53698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53699 (eval $ac_try) 2>&5
53700 ac_status=$?
53701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53702 (exit $ac_status); }; }; then
53703 ac_cv_lib_m_sin=yes
53704 else
53705 echo "$as_me: failed program was:" >&5
53706 sed 's/^/| /' conftest.$ac_ext >&5
53708 ac_cv_lib_m_sin=no
53710 rm -f conftest.err conftest.$ac_objext \
53711 conftest$ac_exeext conftest.$ac_ext
53712 LIBS=$ac_check_lib_save_LIBS
53714 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53715 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53716 if test $ac_cv_lib_m_sin = yes; then
53717 libm="-lm"
53720 ac_save_LIBS="$LIBS"
53721 LIBS="$LIBS $libm"
53725 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53726 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53727 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53728 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53729 echo $ECHO_N "(cached) $ECHO_C" >&6
53730 else
53734 ac_ext=cc
53735 ac_cpp='$CXXCPP $CPPFLAGS'
53736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53740 cat >conftest.$ac_ext <<_ACEOF
53741 /* confdefs.h. */
53742 _ACEOF
53743 cat confdefs.h >>conftest.$ac_ext
53744 cat >>conftest.$ac_ext <<_ACEOF
53745 /* end confdefs.h. */
53746 #include <math.h>
53747 #ifdef HAVE_IEEEFP_H
53748 #include <ieeefp.h>
53749 #endif
53752 main ()
53754 isinf(0);
53756 return 0;
53758 _ACEOF
53759 rm -f conftest.$ac_objext
53760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53761 (eval $ac_compile) 2>conftest.er1
53762 ac_status=$?
53763 grep -v '^ *+' conftest.er1 >conftest.err
53764 rm -f conftest.er1
53765 cat conftest.err >&5
53766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53767 (exit $ac_status); } &&
53768 { ac_try='test -z "$ac_cxx_werror_flag"
53769 || test ! -s conftest.err'
53770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53771 (eval $ac_try) 2>&5
53772 ac_status=$?
53773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53774 (exit $ac_status); }; } &&
53775 { ac_try='test -s conftest.$ac_objext'
53776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53777 (eval $ac_try) 2>&5
53778 ac_status=$?
53779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53780 (exit $ac_status); }; }; then
53781 glibcxx_cv_func_isinf_use=yes
53782 else
53783 echo "$as_me: failed program was:" >&5
53784 sed 's/^/| /' conftest.$ac_ext >&5
53786 glibcxx_cv_func_isinf_use=no
53788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53789 ac_ext=c
53790 ac_cpp='$CPP $CPPFLAGS'
53791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53800 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53802 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53804 for ac_func in isinf
53806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53807 echo "$as_me:$LINENO: checking for $ac_func" >&5
53808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53809 if eval "test \"\${$as_ac_var+set}\" = set"; then
53810 echo $ECHO_N "(cached) $ECHO_C" >&6
53811 else
53812 if test x$gcc_no_link = xyes; then
53813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53815 { (exit 1); exit 1; }; }
53817 cat >conftest.$ac_ext <<_ACEOF
53818 /* confdefs.h. */
53819 _ACEOF
53820 cat confdefs.h >>conftest.$ac_ext
53821 cat >>conftest.$ac_ext <<_ACEOF
53822 /* end confdefs.h. */
53823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53825 #define $ac_func innocuous_$ac_func
53827 /* System header to define __stub macros and hopefully few prototypes,
53828 which can conflict with char $ac_func (); below.
53829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53830 <limits.h> exists even on freestanding compilers. */
53832 #ifdef __STDC__
53833 # include <limits.h>
53834 #else
53835 # include <assert.h>
53836 #endif
53838 #undef $ac_func
53840 /* Override any gcc2 internal prototype to avoid an error. */
53841 #ifdef __cplusplus
53842 extern "C"
53844 #endif
53845 /* We use char because int might match the return type of a gcc2
53846 builtin and then its argument prototype would still apply. */
53847 char $ac_func ();
53848 /* The GNU C library defines this for functions which it implements
53849 to always fail with ENOSYS. Some functions are actually named
53850 something starting with __ and the normal name is an alias. */
53851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53852 choke me
53853 #else
53854 char (*f) () = $ac_func;
53855 #endif
53856 #ifdef __cplusplus
53858 #endif
53861 main ()
53863 return f != $ac_func;
53865 return 0;
53867 _ACEOF
53868 rm -f conftest.$ac_objext conftest$ac_exeext
53869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53870 (eval $ac_link) 2>conftest.er1
53871 ac_status=$?
53872 grep -v '^ *+' conftest.er1 >conftest.err
53873 rm -f conftest.er1
53874 cat conftest.err >&5
53875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53876 (exit $ac_status); } &&
53877 { ac_try='test -z "$ac_c_werror_flag"
53878 || test ! -s conftest.err'
53879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53880 (eval $ac_try) 2>&5
53881 ac_status=$?
53882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53883 (exit $ac_status); }; } &&
53884 { ac_try='test -s conftest$ac_exeext'
53885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53886 (eval $ac_try) 2>&5
53887 ac_status=$?
53888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53889 (exit $ac_status); }; }; then
53890 eval "$as_ac_var=yes"
53891 else
53892 echo "$as_me: failed program was:" >&5
53893 sed 's/^/| /' conftest.$ac_ext >&5
53895 eval "$as_ac_var=no"
53897 rm -f conftest.err conftest.$ac_objext \
53898 conftest$ac_exeext conftest.$ac_ext
53900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53902 if test `eval echo '${'$as_ac_var'}'` = yes; then
53903 cat >>confdefs.h <<_ACEOF
53904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53905 _ACEOF
53908 done
53910 else
53912 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53913 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53914 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53915 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53916 echo $ECHO_N "(cached) $ECHO_C" >&6
53917 else
53921 ac_ext=cc
53922 ac_cpp='$CXXCPP $CPPFLAGS'
53923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53927 cat >conftest.$ac_ext <<_ACEOF
53928 /* confdefs.h. */
53929 _ACEOF
53930 cat confdefs.h >>conftest.$ac_ext
53931 cat >>conftest.$ac_ext <<_ACEOF
53932 /* end confdefs.h. */
53933 #include <math.h>
53934 #ifdef HAVE_IEEEFP_H
53935 #include <ieeefp.h>
53936 #endif
53939 main ()
53941 _isinf(0);
53943 return 0;
53945 _ACEOF
53946 rm -f conftest.$ac_objext
53947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53948 (eval $ac_compile) 2>conftest.er1
53949 ac_status=$?
53950 grep -v '^ *+' conftest.er1 >conftest.err
53951 rm -f conftest.er1
53952 cat conftest.err >&5
53953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53954 (exit $ac_status); } &&
53955 { ac_try='test -z "$ac_cxx_werror_flag"
53956 || test ! -s conftest.err'
53957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53958 (eval $ac_try) 2>&5
53959 ac_status=$?
53960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53961 (exit $ac_status); }; } &&
53962 { ac_try='test -s conftest.$ac_objext'
53963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53964 (eval $ac_try) 2>&5
53965 ac_status=$?
53966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53967 (exit $ac_status); }; }; then
53968 glibcxx_cv_func__isinf_use=yes
53969 else
53970 echo "$as_me: failed program was:" >&5
53971 sed 's/^/| /' conftest.$ac_ext >&5
53973 glibcxx_cv_func__isinf_use=no
53975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53976 ac_ext=c
53977 ac_cpp='$CPP $CPPFLAGS'
53978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53987 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53989 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53991 for ac_func in _isinf
53993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53994 echo "$as_me:$LINENO: checking for $ac_func" >&5
53995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53996 if eval "test \"\${$as_ac_var+set}\" = set"; then
53997 echo $ECHO_N "(cached) $ECHO_C" >&6
53998 else
53999 if test x$gcc_no_link = xyes; then
54000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54002 { (exit 1); exit 1; }; }
54004 cat >conftest.$ac_ext <<_ACEOF
54005 /* confdefs.h. */
54006 _ACEOF
54007 cat confdefs.h >>conftest.$ac_ext
54008 cat >>conftest.$ac_ext <<_ACEOF
54009 /* end confdefs.h. */
54010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54012 #define $ac_func innocuous_$ac_func
54014 /* System header to define __stub macros and hopefully few prototypes,
54015 which can conflict with char $ac_func (); below.
54016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54017 <limits.h> exists even on freestanding compilers. */
54019 #ifdef __STDC__
54020 # include <limits.h>
54021 #else
54022 # include <assert.h>
54023 #endif
54025 #undef $ac_func
54027 /* Override any gcc2 internal prototype to avoid an error. */
54028 #ifdef __cplusplus
54029 extern "C"
54031 #endif
54032 /* We use char because int might match the return type of a gcc2
54033 builtin and then its argument prototype would still apply. */
54034 char $ac_func ();
54035 /* The GNU C library defines this for functions which it implements
54036 to always fail with ENOSYS. Some functions are actually named
54037 something starting with __ and the normal name is an alias. */
54038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54039 choke me
54040 #else
54041 char (*f) () = $ac_func;
54042 #endif
54043 #ifdef __cplusplus
54045 #endif
54048 main ()
54050 return f != $ac_func;
54052 return 0;
54054 _ACEOF
54055 rm -f conftest.$ac_objext conftest$ac_exeext
54056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54057 (eval $ac_link) 2>conftest.er1
54058 ac_status=$?
54059 grep -v '^ *+' conftest.er1 >conftest.err
54060 rm -f conftest.er1
54061 cat conftest.err >&5
54062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54063 (exit $ac_status); } &&
54064 { ac_try='test -z "$ac_c_werror_flag"
54065 || test ! -s conftest.err'
54066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54067 (eval $ac_try) 2>&5
54068 ac_status=$?
54069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54070 (exit $ac_status); }; } &&
54071 { ac_try='test -s conftest$ac_exeext'
54072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54073 (eval $ac_try) 2>&5
54074 ac_status=$?
54075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54076 (exit $ac_status); }; }; then
54077 eval "$as_ac_var=yes"
54078 else
54079 echo "$as_me: failed program was:" >&5
54080 sed 's/^/| /' conftest.$ac_ext >&5
54082 eval "$as_ac_var=no"
54084 rm -f conftest.err conftest.$ac_objext \
54085 conftest$ac_exeext conftest.$ac_ext
54087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54089 if test `eval echo '${'$as_ac_var'}'` = yes; then
54090 cat >>confdefs.h <<_ACEOF
54091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54092 _ACEOF
54095 done
54102 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54103 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54104 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54105 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54106 echo $ECHO_N "(cached) $ECHO_C" >&6
54107 else
54111 ac_ext=cc
54112 ac_cpp='$CXXCPP $CPPFLAGS'
54113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54117 cat >conftest.$ac_ext <<_ACEOF
54118 /* confdefs.h. */
54119 _ACEOF
54120 cat confdefs.h >>conftest.$ac_ext
54121 cat >>conftest.$ac_ext <<_ACEOF
54122 /* end confdefs.h. */
54123 #include <math.h>
54124 #ifdef HAVE_IEEEFP_H
54125 #include <ieeefp.h>
54126 #endif
54129 main ()
54131 isnan(0);
54133 return 0;
54135 _ACEOF
54136 rm -f conftest.$ac_objext
54137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54138 (eval $ac_compile) 2>conftest.er1
54139 ac_status=$?
54140 grep -v '^ *+' conftest.er1 >conftest.err
54141 rm -f conftest.er1
54142 cat conftest.err >&5
54143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54144 (exit $ac_status); } &&
54145 { ac_try='test -z "$ac_cxx_werror_flag"
54146 || test ! -s conftest.err'
54147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54148 (eval $ac_try) 2>&5
54149 ac_status=$?
54150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54151 (exit $ac_status); }; } &&
54152 { ac_try='test -s conftest.$ac_objext'
54153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54154 (eval $ac_try) 2>&5
54155 ac_status=$?
54156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54157 (exit $ac_status); }; }; then
54158 glibcxx_cv_func_isnan_use=yes
54159 else
54160 echo "$as_me: failed program was:" >&5
54161 sed 's/^/| /' conftest.$ac_ext >&5
54163 glibcxx_cv_func_isnan_use=no
54165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54166 ac_ext=c
54167 ac_cpp='$CPP $CPPFLAGS'
54168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54176 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54177 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54179 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54181 for ac_func in isnan
54183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54184 echo "$as_me:$LINENO: checking for $ac_func" >&5
54185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54186 if eval "test \"\${$as_ac_var+set}\" = set"; then
54187 echo $ECHO_N "(cached) $ECHO_C" >&6
54188 else
54189 if test x$gcc_no_link = xyes; then
54190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54192 { (exit 1); exit 1; }; }
54194 cat >conftest.$ac_ext <<_ACEOF
54195 /* confdefs.h. */
54196 _ACEOF
54197 cat confdefs.h >>conftest.$ac_ext
54198 cat >>conftest.$ac_ext <<_ACEOF
54199 /* end confdefs.h. */
54200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54202 #define $ac_func innocuous_$ac_func
54204 /* System header to define __stub macros and hopefully few prototypes,
54205 which can conflict with char $ac_func (); below.
54206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54207 <limits.h> exists even on freestanding compilers. */
54209 #ifdef __STDC__
54210 # include <limits.h>
54211 #else
54212 # include <assert.h>
54213 #endif
54215 #undef $ac_func
54217 /* Override any gcc2 internal prototype to avoid an error. */
54218 #ifdef __cplusplus
54219 extern "C"
54221 #endif
54222 /* We use char because int might match the return type of a gcc2
54223 builtin and then its argument prototype would still apply. */
54224 char $ac_func ();
54225 /* The GNU C library defines this for functions which it implements
54226 to always fail with ENOSYS. Some functions are actually named
54227 something starting with __ and the normal name is an alias. */
54228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54229 choke me
54230 #else
54231 char (*f) () = $ac_func;
54232 #endif
54233 #ifdef __cplusplus
54235 #endif
54238 main ()
54240 return f != $ac_func;
54242 return 0;
54244 _ACEOF
54245 rm -f conftest.$ac_objext conftest$ac_exeext
54246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54247 (eval $ac_link) 2>conftest.er1
54248 ac_status=$?
54249 grep -v '^ *+' conftest.er1 >conftest.err
54250 rm -f conftest.er1
54251 cat conftest.err >&5
54252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54253 (exit $ac_status); } &&
54254 { ac_try='test -z "$ac_c_werror_flag"
54255 || test ! -s conftest.err'
54256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54257 (eval $ac_try) 2>&5
54258 ac_status=$?
54259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54260 (exit $ac_status); }; } &&
54261 { ac_try='test -s conftest$ac_exeext'
54262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54263 (eval $ac_try) 2>&5
54264 ac_status=$?
54265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54266 (exit $ac_status); }; }; then
54267 eval "$as_ac_var=yes"
54268 else
54269 echo "$as_me: failed program was:" >&5
54270 sed 's/^/| /' conftest.$ac_ext >&5
54272 eval "$as_ac_var=no"
54274 rm -f conftest.err conftest.$ac_objext \
54275 conftest$ac_exeext conftest.$ac_ext
54277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54279 if test `eval echo '${'$as_ac_var'}'` = yes; then
54280 cat >>confdefs.h <<_ACEOF
54281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54282 _ACEOF
54285 done
54287 else
54289 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54290 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54291 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54292 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54293 echo $ECHO_N "(cached) $ECHO_C" >&6
54294 else
54298 ac_ext=cc
54299 ac_cpp='$CXXCPP $CPPFLAGS'
54300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54304 cat >conftest.$ac_ext <<_ACEOF
54305 /* confdefs.h. */
54306 _ACEOF
54307 cat confdefs.h >>conftest.$ac_ext
54308 cat >>conftest.$ac_ext <<_ACEOF
54309 /* end confdefs.h. */
54310 #include <math.h>
54311 #ifdef HAVE_IEEEFP_H
54312 #include <ieeefp.h>
54313 #endif
54316 main ()
54318 _isnan(0);
54320 return 0;
54322 _ACEOF
54323 rm -f conftest.$ac_objext
54324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54325 (eval $ac_compile) 2>conftest.er1
54326 ac_status=$?
54327 grep -v '^ *+' conftest.er1 >conftest.err
54328 rm -f conftest.er1
54329 cat conftest.err >&5
54330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54331 (exit $ac_status); } &&
54332 { ac_try='test -z "$ac_cxx_werror_flag"
54333 || test ! -s conftest.err'
54334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54335 (eval $ac_try) 2>&5
54336 ac_status=$?
54337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54338 (exit $ac_status); }; } &&
54339 { ac_try='test -s conftest.$ac_objext'
54340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54341 (eval $ac_try) 2>&5
54342 ac_status=$?
54343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54344 (exit $ac_status); }; }; then
54345 glibcxx_cv_func__isnan_use=yes
54346 else
54347 echo "$as_me: failed program was:" >&5
54348 sed 's/^/| /' conftest.$ac_ext >&5
54350 glibcxx_cv_func__isnan_use=no
54352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54353 ac_ext=c
54354 ac_cpp='$CPP $CPPFLAGS'
54355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54363 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54364 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54366 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54368 for ac_func in _isnan
54370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54371 echo "$as_me:$LINENO: checking for $ac_func" >&5
54372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54373 if eval "test \"\${$as_ac_var+set}\" = set"; then
54374 echo $ECHO_N "(cached) $ECHO_C" >&6
54375 else
54376 if test x$gcc_no_link = xyes; then
54377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54379 { (exit 1); exit 1; }; }
54381 cat >conftest.$ac_ext <<_ACEOF
54382 /* confdefs.h. */
54383 _ACEOF
54384 cat confdefs.h >>conftest.$ac_ext
54385 cat >>conftest.$ac_ext <<_ACEOF
54386 /* end confdefs.h. */
54387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54389 #define $ac_func innocuous_$ac_func
54391 /* System header to define __stub macros and hopefully few prototypes,
54392 which can conflict with char $ac_func (); below.
54393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54394 <limits.h> exists even on freestanding compilers. */
54396 #ifdef __STDC__
54397 # include <limits.h>
54398 #else
54399 # include <assert.h>
54400 #endif
54402 #undef $ac_func
54404 /* Override any gcc2 internal prototype to avoid an error. */
54405 #ifdef __cplusplus
54406 extern "C"
54408 #endif
54409 /* We use char because int might match the return type of a gcc2
54410 builtin and then its argument prototype would still apply. */
54411 char $ac_func ();
54412 /* The GNU C library defines this for functions which it implements
54413 to always fail with ENOSYS. Some functions are actually named
54414 something starting with __ and the normal name is an alias. */
54415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54416 choke me
54417 #else
54418 char (*f) () = $ac_func;
54419 #endif
54420 #ifdef __cplusplus
54422 #endif
54425 main ()
54427 return f != $ac_func;
54429 return 0;
54431 _ACEOF
54432 rm -f conftest.$ac_objext conftest$ac_exeext
54433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54434 (eval $ac_link) 2>conftest.er1
54435 ac_status=$?
54436 grep -v '^ *+' conftest.er1 >conftest.err
54437 rm -f conftest.er1
54438 cat conftest.err >&5
54439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54440 (exit $ac_status); } &&
54441 { ac_try='test -z "$ac_c_werror_flag"
54442 || test ! -s conftest.err'
54443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54444 (eval $ac_try) 2>&5
54445 ac_status=$?
54446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54447 (exit $ac_status); }; } &&
54448 { ac_try='test -s conftest$ac_exeext'
54449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54450 (eval $ac_try) 2>&5
54451 ac_status=$?
54452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54453 (exit $ac_status); }; }; then
54454 eval "$as_ac_var=yes"
54455 else
54456 echo "$as_me: failed program was:" >&5
54457 sed 's/^/| /' conftest.$ac_ext >&5
54459 eval "$as_ac_var=no"
54461 rm -f conftest.err conftest.$ac_objext \
54462 conftest$ac_exeext conftest.$ac_ext
54464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54466 if test `eval echo '${'$as_ac_var'}'` = yes; then
54467 cat >>confdefs.h <<_ACEOF
54468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54469 _ACEOF
54472 done
54479 echo "$as_me:$LINENO: checking for finite declaration" >&5
54480 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54481 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54482 if test "${glibcxx_cv_func_finite_use+set}" = set; then
54483 echo $ECHO_N "(cached) $ECHO_C" >&6
54484 else
54488 ac_ext=cc
54489 ac_cpp='$CXXCPP $CPPFLAGS'
54490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54494 cat >conftest.$ac_ext <<_ACEOF
54495 /* confdefs.h. */
54496 _ACEOF
54497 cat confdefs.h >>conftest.$ac_ext
54498 cat >>conftest.$ac_ext <<_ACEOF
54499 /* end confdefs.h. */
54500 #include <math.h>
54501 #ifdef HAVE_IEEEFP_H
54502 #include <ieeefp.h>
54503 #endif
54506 main ()
54508 finite(0);
54510 return 0;
54512 _ACEOF
54513 rm -f conftest.$ac_objext
54514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54515 (eval $ac_compile) 2>conftest.er1
54516 ac_status=$?
54517 grep -v '^ *+' conftest.er1 >conftest.err
54518 rm -f conftest.er1
54519 cat conftest.err >&5
54520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54521 (exit $ac_status); } &&
54522 { ac_try='test -z "$ac_cxx_werror_flag"
54523 || test ! -s conftest.err'
54524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54525 (eval $ac_try) 2>&5
54526 ac_status=$?
54527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54528 (exit $ac_status); }; } &&
54529 { ac_try='test -s conftest.$ac_objext'
54530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54531 (eval $ac_try) 2>&5
54532 ac_status=$?
54533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54534 (exit $ac_status); }; }; then
54535 glibcxx_cv_func_finite_use=yes
54536 else
54537 echo "$as_me: failed program was:" >&5
54538 sed 's/^/| /' conftest.$ac_ext >&5
54540 glibcxx_cv_func_finite_use=no
54542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54543 ac_ext=c
54544 ac_cpp='$CPP $CPPFLAGS'
54545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54554 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54556 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54558 for ac_func in finite
54560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54561 echo "$as_me:$LINENO: checking for $ac_func" >&5
54562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54563 if eval "test \"\${$as_ac_var+set}\" = set"; then
54564 echo $ECHO_N "(cached) $ECHO_C" >&6
54565 else
54566 if test x$gcc_no_link = xyes; then
54567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54569 { (exit 1); exit 1; }; }
54571 cat >conftest.$ac_ext <<_ACEOF
54572 /* confdefs.h. */
54573 _ACEOF
54574 cat confdefs.h >>conftest.$ac_ext
54575 cat >>conftest.$ac_ext <<_ACEOF
54576 /* end confdefs.h. */
54577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54579 #define $ac_func innocuous_$ac_func
54581 /* System header to define __stub macros and hopefully few prototypes,
54582 which can conflict with char $ac_func (); below.
54583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54584 <limits.h> exists even on freestanding compilers. */
54586 #ifdef __STDC__
54587 # include <limits.h>
54588 #else
54589 # include <assert.h>
54590 #endif
54592 #undef $ac_func
54594 /* Override any gcc2 internal prototype to avoid an error. */
54595 #ifdef __cplusplus
54596 extern "C"
54598 #endif
54599 /* We use char because int might match the return type of a gcc2
54600 builtin and then its argument prototype would still apply. */
54601 char $ac_func ();
54602 /* The GNU C library defines this for functions which it implements
54603 to always fail with ENOSYS. Some functions are actually named
54604 something starting with __ and the normal name is an alias. */
54605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54606 choke me
54607 #else
54608 char (*f) () = $ac_func;
54609 #endif
54610 #ifdef __cplusplus
54612 #endif
54615 main ()
54617 return f != $ac_func;
54619 return 0;
54621 _ACEOF
54622 rm -f conftest.$ac_objext conftest$ac_exeext
54623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54624 (eval $ac_link) 2>conftest.er1
54625 ac_status=$?
54626 grep -v '^ *+' conftest.er1 >conftest.err
54627 rm -f conftest.er1
54628 cat conftest.err >&5
54629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54630 (exit $ac_status); } &&
54631 { ac_try='test -z "$ac_c_werror_flag"
54632 || test ! -s conftest.err'
54633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54634 (eval $ac_try) 2>&5
54635 ac_status=$?
54636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54637 (exit $ac_status); }; } &&
54638 { ac_try='test -s conftest$ac_exeext'
54639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54640 (eval $ac_try) 2>&5
54641 ac_status=$?
54642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54643 (exit $ac_status); }; }; then
54644 eval "$as_ac_var=yes"
54645 else
54646 echo "$as_me: failed program was:" >&5
54647 sed 's/^/| /' conftest.$ac_ext >&5
54649 eval "$as_ac_var=no"
54651 rm -f conftest.err conftest.$ac_objext \
54652 conftest$ac_exeext conftest.$ac_ext
54654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54656 if test `eval echo '${'$as_ac_var'}'` = yes; then
54657 cat >>confdefs.h <<_ACEOF
54658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54659 _ACEOF
54662 done
54664 else
54666 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54667 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54668 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54669 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54670 echo $ECHO_N "(cached) $ECHO_C" >&6
54671 else
54675 ac_ext=cc
54676 ac_cpp='$CXXCPP $CPPFLAGS'
54677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54681 cat >conftest.$ac_ext <<_ACEOF
54682 /* confdefs.h. */
54683 _ACEOF
54684 cat confdefs.h >>conftest.$ac_ext
54685 cat >>conftest.$ac_ext <<_ACEOF
54686 /* end confdefs.h. */
54687 #include <math.h>
54688 #ifdef HAVE_IEEEFP_H
54689 #include <ieeefp.h>
54690 #endif
54693 main ()
54695 _finite(0);
54697 return 0;
54699 _ACEOF
54700 rm -f conftest.$ac_objext
54701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54702 (eval $ac_compile) 2>conftest.er1
54703 ac_status=$?
54704 grep -v '^ *+' conftest.er1 >conftest.err
54705 rm -f conftest.er1
54706 cat conftest.err >&5
54707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54708 (exit $ac_status); } &&
54709 { ac_try='test -z "$ac_cxx_werror_flag"
54710 || test ! -s conftest.err'
54711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54712 (eval $ac_try) 2>&5
54713 ac_status=$?
54714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54715 (exit $ac_status); }; } &&
54716 { ac_try='test -s conftest.$ac_objext'
54717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54718 (eval $ac_try) 2>&5
54719 ac_status=$?
54720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54721 (exit $ac_status); }; }; then
54722 glibcxx_cv_func__finite_use=yes
54723 else
54724 echo "$as_me: failed program was:" >&5
54725 sed 's/^/| /' conftest.$ac_ext >&5
54727 glibcxx_cv_func__finite_use=no
54729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54730 ac_ext=c
54731 ac_cpp='$CPP $CPPFLAGS'
54732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54740 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54741 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54743 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54745 for ac_func in _finite
54747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54748 echo "$as_me:$LINENO: checking for $ac_func" >&5
54749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54750 if eval "test \"\${$as_ac_var+set}\" = set"; then
54751 echo $ECHO_N "(cached) $ECHO_C" >&6
54752 else
54753 if test x$gcc_no_link = xyes; then
54754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54756 { (exit 1); exit 1; }; }
54758 cat >conftest.$ac_ext <<_ACEOF
54759 /* confdefs.h. */
54760 _ACEOF
54761 cat confdefs.h >>conftest.$ac_ext
54762 cat >>conftest.$ac_ext <<_ACEOF
54763 /* end confdefs.h. */
54764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54766 #define $ac_func innocuous_$ac_func
54768 /* System header to define __stub macros and hopefully few prototypes,
54769 which can conflict with char $ac_func (); below.
54770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54771 <limits.h> exists even on freestanding compilers. */
54773 #ifdef __STDC__
54774 # include <limits.h>
54775 #else
54776 # include <assert.h>
54777 #endif
54779 #undef $ac_func
54781 /* Override any gcc2 internal prototype to avoid an error. */
54782 #ifdef __cplusplus
54783 extern "C"
54785 #endif
54786 /* We use char because int might match the return type of a gcc2
54787 builtin and then its argument prototype would still apply. */
54788 char $ac_func ();
54789 /* The GNU C library defines this for functions which it implements
54790 to always fail with ENOSYS. Some functions are actually named
54791 something starting with __ and the normal name is an alias. */
54792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54793 choke me
54794 #else
54795 char (*f) () = $ac_func;
54796 #endif
54797 #ifdef __cplusplus
54799 #endif
54802 main ()
54804 return f != $ac_func;
54806 return 0;
54808 _ACEOF
54809 rm -f conftest.$ac_objext conftest$ac_exeext
54810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54811 (eval $ac_link) 2>conftest.er1
54812 ac_status=$?
54813 grep -v '^ *+' conftest.er1 >conftest.err
54814 rm -f conftest.er1
54815 cat conftest.err >&5
54816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54817 (exit $ac_status); } &&
54818 { ac_try='test -z "$ac_c_werror_flag"
54819 || test ! -s conftest.err'
54820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54821 (eval $ac_try) 2>&5
54822 ac_status=$?
54823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54824 (exit $ac_status); }; } &&
54825 { ac_try='test -s conftest$ac_exeext'
54826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54827 (eval $ac_try) 2>&5
54828 ac_status=$?
54829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54830 (exit $ac_status); }; }; then
54831 eval "$as_ac_var=yes"
54832 else
54833 echo "$as_me: failed program was:" >&5
54834 sed 's/^/| /' conftest.$ac_ext >&5
54836 eval "$as_ac_var=no"
54838 rm -f conftest.err conftest.$ac_objext \
54839 conftest$ac_exeext conftest.$ac_ext
54841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54843 if test `eval echo '${'$as_ac_var'}'` = yes; then
54844 cat >>confdefs.h <<_ACEOF
54845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54846 _ACEOF
54849 done
54856 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54857 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54858 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54859 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54860 echo $ECHO_N "(cached) $ECHO_C" >&6
54861 else
54865 ac_ext=cc
54866 ac_cpp='$CXXCPP $CPPFLAGS'
54867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54871 cat >conftest.$ac_ext <<_ACEOF
54872 /* confdefs.h. */
54873 _ACEOF
54874 cat confdefs.h >>conftest.$ac_ext
54875 cat >>conftest.$ac_ext <<_ACEOF
54876 /* end confdefs.h. */
54877 #include <math.h>
54879 main ()
54881 copysign(0, 0);
54883 return 0;
54885 _ACEOF
54886 rm -f conftest.$ac_objext
54887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54888 (eval $ac_compile) 2>conftest.er1
54889 ac_status=$?
54890 grep -v '^ *+' conftest.er1 >conftest.err
54891 rm -f conftest.er1
54892 cat conftest.err >&5
54893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54894 (exit $ac_status); } &&
54895 { ac_try='test -z "$ac_cxx_werror_flag"
54896 || test ! -s conftest.err'
54897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54898 (eval $ac_try) 2>&5
54899 ac_status=$?
54900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54901 (exit $ac_status); }; } &&
54902 { ac_try='test -s conftest.$ac_objext'
54903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54904 (eval $ac_try) 2>&5
54905 ac_status=$?
54906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54907 (exit $ac_status); }; }; then
54908 glibcxx_cv_func_copysign_use=yes
54909 else
54910 echo "$as_me: failed program was:" >&5
54911 sed 's/^/| /' conftest.$ac_ext >&5
54913 glibcxx_cv_func_copysign_use=no
54915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54916 ac_ext=c
54917 ac_cpp='$CPP $CPPFLAGS'
54918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54926 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54927 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54929 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54931 for ac_func in copysign
54933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54934 echo "$as_me:$LINENO: checking for $ac_func" >&5
54935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54936 if eval "test \"\${$as_ac_var+set}\" = set"; then
54937 echo $ECHO_N "(cached) $ECHO_C" >&6
54938 else
54939 if test x$gcc_no_link = xyes; then
54940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54942 { (exit 1); exit 1; }; }
54944 cat >conftest.$ac_ext <<_ACEOF
54945 /* confdefs.h. */
54946 _ACEOF
54947 cat confdefs.h >>conftest.$ac_ext
54948 cat >>conftest.$ac_ext <<_ACEOF
54949 /* end confdefs.h. */
54950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54952 #define $ac_func innocuous_$ac_func
54954 /* System header to define __stub macros and hopefully few prototypes,
54955 which can conflict with char $ac_func (); below.
54956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54957 <limits.h> exists even on freestanding compilers. */
54959 #ifdef __STDC__
54960 # include <limits.h>
54961 #else
54962 # include <assert.h>
54963 #endif
54965 #undef $ac_func
54967 /* Override any gcc2 internal prototype to avoid an error. */
54968 #ifdef __cplusplus
54969 extern "C"
54971 #endif
54972 /* We use char because int might match the return type of a gcc2
54973 builtin and then its argument prototype would still apply. */
54974 char $ac_func ();
54975 /* The GNU C library defines this for functions which it implements
54976 to always fail with ENOSYS. Some functions are actually named
54977 something starting with __ and the normal name is an alias. */
54978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54979 choke me
54980 #else
54981 char (*f) () = $ac_func;
54982 #endif
54983 #ifdef __cplusplus
54985 #endif
54988 main ()
54990 return f != $ac_func;
54992 return 0;
54994 _ACEOF
54995 rm -f conftest.$ac_objext conftest$ac_exeext
54996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54997 (eval $ac_link) 2>conftest.er1
54998 ac_status=$?
54999 grep -v '^ *+' conftest.er1 >conftest.err
55000 rm -f conftest.er1
55001 cat conftest.err >&5
55002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55003 (exit $ac_status); } &&
55004 { ac_try='test -z "$ac_c_werror_flag"
55005 || test ! -s conftest.err'
55006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55007 (eval $ac_try) 2>&5
55008 ac_status=$?
55009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55010 (exit $ac_status); }; } &&
55011 { ac_try='test -s conftest$ac_exeext'
55012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55013 (eval $ac_try) 2>&5
55014 ac_status=$?
55015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55016 (exit $ac_status); }; }; then
55017 eval "$as_ac_var=yes"
55018 else
55019 echo "$as_me: failed program was:" >&5
55020 sed 's/^/| /' conftest.$ac_ext >&5
55022 eval "$as_ac_var=no"
55024 rm -f conftest.err conftest.$ac_objext \
55025 conftest$ac_exeext conftest.$ac_ext
55027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55029 if test `eval echo '${'$as_ac_var'}'` = yes; then
55030 cat >>confdefs.h <<_ACEOF
55031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55032 _ACEOF
55035 done
55037 else
55039 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55040 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55041 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55042 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55043 echo $ECHO_N "(cached) $ECHO_C" >&6
55044 else
55048 ac_ext=cc
55049 ac_cpp='$CXXCPP $CPPFLAGS'
55050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55054 cat >conftest.$ac_ext <<_ACEOF
55055 /* confdefs.h. */
55056 _ACEOF
55057 cat confdefs.h >>conftest.$ac_ext
55058 cat >>conftest.$ac_ext <<_ACEOF
55059 /* end confdefs.h. */
55060 #include <math.h>
55062 main ()
55064 _copysign(0, 0);
55066 return 0;
55068 _ACEOF
55069 rm -f conftest.$ac_objext
55070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55071 (eval $ac_compile) 2>conftest.er1
55072 ac_status=$?
55073 grep -v '^ *+' conftest.er1 >conftest.err
55074 rm -f conftest.er1
55075 cat conftest.err >&5
55076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55077 (exit $ac_status); } &&
55078 { ac_try='test -z "$ac_cxx_werror_flag"
55079 || test ! -s conftest.err'
55080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55081 (eval $ac_try) 2>&5
55082 ac_status=$?
55083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55084 (exit $ac_status); }; } &&
55085 { ac_try='test -s conftest.$ac_objext'
55086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55087 (eval $ac_try) 2>&5
55088 ac_status=$?
55089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55090 (exit $ac_status); }; }; then
55091 glibcxx_cv_func__copysign_use=yes
55092 else
55093 echo "$as_me: failed program was:" >&5
55094 sed 's/^/| /' conftest.$ac_ext >&5
55096 glibcxx_cv_func__copysign_use=no
55098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55099 ac_ext=c
55100 ac_cpp='$CPP $CPPFLAGS'
55101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55109 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55110 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55112 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55114 for ac_func in _copysign
55116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55117 echo "$as_me:$LINENO: checking for $ac_func" >&5
55118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55119 if eval "test \"\${$as_ac_var+set}\" = set"; then
55120 echo $ECHO_N "(cached) $ECHO_C" >&6
55121 else
55122 if test x$gcc_no_link = xyes; then
55123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55125 { (exit 1); exit 1; }; }
55127 cat >conftest.$ac_ext <<_ACEOF
55128 /* confdefs.h. */
55129 _ACEOF
55130 cat confdefs.h >>conftest.$ac_ext
55131 cat >>conftest.$ac_ext <<_ACEOF
55132 /* end confdefs.h. */
55133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55135 #define $ac_func innocuous_$ac_func
55137 /* System header to define __stub macros and hopefully few prototypes,
55138 which can conflict with char $ac_func (); below.
55139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55140 <limits.h> exists even on freestanding compilers. */
55142 #ifdef __STDC__
55143 # include <limits.h>
55144 #else
55145 # include <assert.h>
55146 #endif
55148 #undef $ac_func
55150 /* Override any gcc2 internal prototype to avoid an error. */
55151 #ifdef __cplusplus
55152 extern "C"
55154 #endif
55155 /* We use char because int might match the return type of a gcc2
55156 builtin and then its argument prototype would still apply. */
55157 char $ac_func ();
55158 /* The GNU C library defines this for functions which it implements
55159 to always fail with ENOSYS. Some functions are actually named
55160 something starting with __ and the normal name is an alias. */
55161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55162 choke me
55163 #else
55164 char (*f) () = $ac_func;
55165 #endif
55166 #ifdef __cplusplus
55168 #endif
55171 main ()
55173 return f != $ac_func;
55175 return 0;
55177 _ACEOF
55178 rm -f conftest.$ac_objext conftest$ac_exeext
55179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55180 (eval $ac_link) 2>conftest.er1
55181 ac_status=$?
55182 grep -v '^ *+' conftest.er1 >conftest.err
55183 rm -f conftest.er1
55184 cat conftest.err >&5
55185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55186 (exit $ac_status); } &&
55187 { ac_try='test -z "$ac_c_werror_flag"
55188 || test ! -s conftest.err'
55189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55190 (eval $ac_try) 2>&5
55191 ac_status=$?
55192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55193 (exit $ac_status); }; } &&
55194 { ac_try='test -s conftest$ac_exeext'
55195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55196 (eval $ac_try) 2>&5
55197 ac_status=$?
55198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55199 (exit $ac_status); }; }; then
55200 eval "$as_ac_var=yes"
55201 else
55202 echo "$as_me: failed program was:" >&5
55203 sed 's/^/| /' conftest.$ac_ext >&5
55205 eval "$as_ac_var=no"
55207 rm -f conftest.err conftest.$ac_objext \
55208 conftest$ac_exeext conftest.$ac_ext
55210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55212 if test `eval echo '${'$as_ac_var'}'` = yes; then
55213 cat >>confdefs.h <<_ACEOF
55214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55215 _ACEOF
55218 done
55225 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55226 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55227 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55228 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55229 echo $ECHO_N "(cached) $ECHO_C" >&6
55230 else
55234 ac_ext=cc
55235 ac_cpp='$CXXCPP $CPPFLAGS'
55236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55240 cat >conftest.$ac_ext <<_ACEOF
55241 /* confdefs.h. */
55242 _ACEOF
55243 cat confdefs.h >>conftest.$ac_ext
55244 cat >>conftest.$ac_ext <<_ACEOF
55245 /* end confdefs.h. */
55246 #include <math.h>
55248 main ()
55250 sincos(0, 0, 0);
55252 return 0;
55254 _ACEOF
55255 rm -f conftest.$ac_objext
55256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55257 (eval $ac_compile) 2>conftest.er1
55258 ac_status=$?
55259 grep -v '^ *+' conftest.er1 >conftest.err
55260 rm -f conftest.er1
55261 cat conftest.err >&5
55262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55263 (exit $ac_status); } &&
55264 { ac_try='test -z "$ac_cxx_werror_flag"
55265 || test ! -s conftest.err'
55266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55267 (eval $ac_try) 2>&5
55268 ac_status=$?
55269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55270 (exit $ac_status); }; } &&
55271 { ac_try='test -s conftest.$ac_objext'
55272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55273 (eval $ac_try) 2>&5
55274 ac_status=$?
55275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55276 (exit $ac_status); }; }; then
55277 glibcxx_cv_func_sincos_use=yes
55278 else
55279 echo "$as_me: failed program was:" >&5
55280 sed 's/^/| /' conftest.$ac_ext >&5
55282 glibcxx_cv_func_sincos_use=no
55284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55285 ac_ext=c
55286 ac_cpp='$CPP $CPPFLAGS'
55287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55296 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55298 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55300 for ac_func in sincos
55302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55303 echo "$as_me:$LINENO: checking for $ac_func" >&5
55304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55305 if eval "test \"\${$as_ac_var+set}\" = set"; then
55306 echo $ECHO_N "(cached) $ECHO_C" >&6
55307 else
55308 if test x$gcc_no_link = xyes; then
55309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55311 { (exit 1); exit 1; }; }
55313 cat >conftest.$ac_ext <<_ACEOF
55314 /* confdefs.h. */
55315 _ACEOF
55316 cat confdefs.h >>conftest.$ac_ext
55317 cat >>conftest.$ac_ext <<_ACEOF
55318 /* end confdefs.h. */
55319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55321 #define $ac_func innocuous_$ac_func
55323 /* System header to define __stub macros and hopefully few prototypes,
55324 which can conflict with char $ac_func (); below.
55325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55326 <limits.h> exists even on freestanding compilers. */
55328 #ifdef __STDC__
55329 # include <limits.h>
55330 #else
55331 # include <assert.h>
55332 #endif
55334 #undef $ac_func
55336 /* Override any gcc2 internal prototype to avoid an error. */
55337 #ifdef __cplusplus
55338 extern "C"
55340 #endif
55341 /* We use char because int might match the return type of a gcc2
55342 builtin and then its argument prototype would still apply. */
55343 char $ac_func ();
55344 /* The GNU C library defines this for functions which it implements
55345 to always fail with ENOSYS. Some functions are actually named
55346 something starting with __ and the normal name is an alias. */
55347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55348 choke me
55349 #else
55350 char (*f) () = $ac_func;
55351 #endif
55352 #ifdef __cplusplus
55354 #endif
55357 main ()
55359 return f != $ac_func;
55361 return 0;
55363 _ACEOF
55364 rm -f conftest.$ac_objext conftest$ac_exeext
55365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55366 (eval $ac_link) 2>conftest.er1
55367 ac_status=$?
55368 grep -v '^ *+' conftest.er1 >conftest.err
55369 rm -f conftest.er1
55370 cat conftest.err >&5
55371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55372 (exit $ac_status); } &&
55373 { ac_try='test -z "$ac_c_werror_flag"
55374 || test ! -s conftest.err'
55375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55376 (eval $ac_try) 2>&5
55377 ac_status=$?
55378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55379 (exit $ac_status); }; } &&
55380 { ac_try='test -s conftest$ac_exeext'
55381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55382 (eval $ac_try) 2>&5
55383 ac_status=$?
55384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55385 (exit $ac_status); }; }; then
55386 eval "$as_ac_var=yes"
55387 else
55388 echo "$as_me: failed program was:" >&5
55389 sed 's/^/| /' conftest.$ac_ext >&5
55391 eval "$as_ac_var=no"
55393 rm -f conftest.err conftest.$ac_objext \
55394 conftest$ac_exeext conftest.$ac_ext
55396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55398 if test `eval echo '${'$as_ac_var'}'` = yes; then
55399 cat >>confdefs.h <<_ACEOF
55400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55401 _ACEOF
55404 done
55406 else
55408 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55409 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55410 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55411 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55412 echo $ECHO_N "(cached) $ECHO_C" >&6
55413 else
55417 ac_ext=cc
55418 ac_cpp='$CXXCPP $CPPFLAGS'
55419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55423 cat >conftest.$ac_ext <<_ACEOF
55424 /* confdefs.h. */
55425 _ACEOF
55426 cat confdefs.h >>conftest.$ac_ext
55427 cat >>conftest.$ac_ext <<_ACEOF
55428 /* end confdefs.h. */
55429 #include <math.h>
55431 main ()
55433 _sincos(0, 0, 0);
55435 return 0;
55437 _ACEOF
55438 rm -f conftest.$ac_objext
55439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55440 (eval $ac_compile) 2>conftest.er1
55441 ac_status=$?
55442 grep -v '^ *+' conftest.er1 >conftest.err
55443 rm -f conftest.er1
55444 cat conftest.err >&5
55445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55446 (exit $ac_status); } &&
55447 { ac_try='test -z "$ac_cxx_werror_flag"
55448 || test ! -s conftest.err'
55449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55450 (eval $ac_try) 2>&5
55451 ac_status=$?
55452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55453 (exit $ac_status); }; } &&
55454 { ac_try='test -s conftest.$ac_objext'
55455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55456 (eval $ac_try) 2>&5
55457 ac_status=$?
55458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55459 (exit $ac_status); }; }; then
55460 glibcxx_cv_func__sincos_use=yes
55461 else
55462 echo "$as_me: failed program was:" >&5
55463 sed 's/^/| /' conftest.$ac_ext >&5
55465 glibcxx_cv_func__sincos_use=no
55467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55468 ac_ext=c
55469 ac_cpp='$CPP $CPPFLAGS'
55470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55478 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55479 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55481 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55483 for ac_func in _sincos
55485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55486 echo "$as_me:$LINENO: checking for $ac_func" >&5
55487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55488 if eval "test \"\${$as_ac_var+set}\" = set"; then
55489 echo $ECHO_N "(cached) $ECHO_C" >&6
55490 else
55491 if test x$gcc_no_link = xyes; then
55492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55494 { (exit 1); exit 1; }; }
55496 cat >conftest.$ac_ext <<_ACEOF
55497 /* confdefs.h. */
55498 _ACEOF
55499 cat confdefs.h >>conftest.$ac_ext
55500 cat >>conftest.$ac_ext <<_ACEOF
55501 /* end confdefs.h. */
55502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55504 #define $ac_func innocuous_$ac_func
55506 /* System header to define __stub macros and hopefully few prototypes,
55507 which can conflict with char $ac_func (); below.
55508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55509 <limits.h> exists even on freestanding compilers. */
55511 #ifdef __STDC__
55512 # include <limits.h>
55513 #else
55514 # include <assert.h>
55515 #endif
55517 #undef $ac_func
55519 /* Override any gcc2 internal prototype to avoid an error. */
55520 #ifdef __cplusplus
55521 extern "C"
55523 #endif
55524 /* We use char because int might match the return type of a gcc2
55525 builtin and then its argument prototype would still apply. */
55526 char $ac_func ();
55527 /* The GNU C library defines this for functions which it implements
55528 to always fail with ENOSYS. Some functions are actually named
55529 something starting with __ and the normal name is an alias. */
55530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55531 choke me
55532 #else
55533 char (*f) () = $ac_func;
55534 #endif
55535 #ifdef __cplusplus
55537 #endif
55540 main ()
55542 return f != $ac_func;
55544 return 0;
55546 _ACEOF
55547 rm -f conftest.$ac_objext conftest$ac_exeext
55548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55549 (eval $ac_link) 2>conftest.er1
55550 ac_status=$?
55551 grep -v '^ *+' conftest.er1 >conftest.err
55552 rm -f conftest.er1
55553 cat conftest.err >&5
55554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55555 (exit $ac_status); } &&
55556 { ac_try='test -z "$ac_c_werror_flag"
55557 || test ! -s conftest.err'
55558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55559 (eval $ac_try) 2>&5
55560 ac_status=$?
55561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55562 (exit $ac_status); }; } &&
55563 { ac_try='test -s conftest$ac_exeext'
55564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55565 (eval $ac_try) 2>&5
55566 ac_status=$?
55567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55568 (exit $ac_status); }; }; then
55569 eval "$as_ac_var=yes"
55570 else
55571 echo "$as_me: failed program was:" >&5
55572 sed 's/^/| /' conftest.$ac_ext >&5
55574 eval "$as_ac_var=no"
55576 rm -f conftest.err conftest.$ac_objext \
55577 conftest$ac_exeext conftest.$ac_ext
55579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55581 if test `eval echo '${'$as_ac_var'}'` = yes; then
55582 cat >>confdefs.h <<_ACEOF
55583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55584 _ACEOF
55587 done
55594 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55595 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55596 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55597 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55598 echo $ECHO_N "(cached) $ECHO_C" >&6
55599 else
55603 ac_ext=cc
55604 ac_cpp='$CXXCPP $CPPFLAGS'
55605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55609 cat >conftest.$ac_ext <<_ACEOF
55610 /* confdefs.h. */
55611 _ACEOF
55612 cat confdefs.h >>conftest.$ac_ext
55613 cat >>conftest.$ac_ext <<_ACEOF
55614 /* end confdefs.h. */
55615 #include <math.h>
55616 #ifdef HAVE_IEEEFP_H
55617 #include <ieeefp.h>
55618 #endif
55621 main ()
55623 fpclass(0);
55625 return 0;
55627 _ACEOF
55628 rm -f conftest.$ac_objext
55629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55630 (eval $ac_compile) 2>conftest.er1
55631 ac_status=$?
55632 grep -v '^ *+' conftest.er1 >conftest.err
55633 rm -f conftest.er1
55634 cat conftest.err >&5
55635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55636 (exit $ac_status); } &&
55637 { ac_try='test -z "$ac_cxx_werror_flag"
55638 || test ! -s conftest.err'
55639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55640 (eval $ac_try) 2>&5
55641 ac_status=$?
55642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55643 (exit $ac_status); }; } &&
55644 { ac_try='test -s conftest.$ac_objext'
55645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55646 (eval $ac_try) 2>&5
55647 ac_status=$?
55648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55649 (exit $ac_status); }; }; then
55650 glibcxx_cv_func_fpclass_use=yes
55651 else
55652 echo "$as_me: failed program was:" >&5
55653 sed 's/^/| /' conftest.$ac_ext >&5
55655 glibcxx_cv_func_fpclass_use=no
55657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55658 ac_ext=c
55659 ac_cpp='$CPP $CPPFLAGS'
55660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55669 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55671 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55673 for ac_func in fpclass
55675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55676 echo "$as_me:$LINENO: checking for $ac_func" >&5
55677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55678 if eval "test \"\${$as_ac_var+set}\" = set"; then
55679 echo $ECHO_N "(cached) $ECHO_C" >&6
55680 else
55681 if test x$gcc_no_link = xyes; then
55682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55684 { (exit 1); exit 1; }; }
55686 cat >conftest.$ac_ext <<_ACEOF
55687 /* confdefs.h. */
55688 _ACEOF
55689 cat confdefs.h >>conftest.$ac_ext
55690 cat >>conftest.$ac_ext <<_ACEOF
55691 /* end confdefs.h. */
55692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55694 #define $ac_func innocuous_$ac_func
55696 /* System header to define __stub macros and hopefully few prototypes,
55697 which can conflict with char $ac_func (); below.
55698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55699 <limits.h> exists even on freestanding compilers. */
55701 #ifdef __STDC__
55702 # include <limits.h>
55703 #else
55704 # include <assert.h>
55705 #endif
55707 #undef $ac_func
55709 /* Override any gcc2 internal prototype to avoid an error. */
55710 #ifdef __cplusplus
55711 extern "C"
55713 #endif
55714 /* We use char because int might match the return type of a gcc2
55715 builtin and then its argument prototype would still apply. */
55716 char $ac_func ();
55717 /* The GNU C library defines this for functions which it implements
55718 to always fail with ENOSYS. Some functions are actually named
55719 something starting with __ and the normal name is an alias. */
55720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55721 choke me
55722 #else
55723 char (*f) () = $ac_func;
55724 #endif
55725 #ifdef __cplusplus
55727 #endif
55730 main ()
55732 return f != $ac_func;
55734 return 0;
55736 _ACEOF
55737 rm -f conftest.$ac_objext conftest$ac_exeext
55738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55739 (eval $ac_link) 2>conftest.er1
55740 ac_status=$?
55741 grep -v '^ *+' conftest.er1 >conftest.err
55742 rm -f conftest.er1
55743 cat conftest.err >&5
55744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55745 (exit $ac_status); } &&
55746 { ac_try='test -z "$ac_c_werror_flag"
55747 || test ! -s conftest.err'
55748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55749 (eval $ac_try) 2>&5
55750 ac_status=$?
55751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55752 (exit $ac_status); }; } &&
55753 { ac_try='test -s conftest$ac_exeext'
55754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55755 (eval $ac_try) 2>&5
55756 ac_status=$?
55757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55758 (exit $ac_status); }; }; then
55759 eval "$as_ac_var=yes"
55760 else
55761 echo "$as_me: failed program was:" >&5
55762 sed 's/^/| /' conftest.$ac_ext >&5
55764 eval "$as_ac_var=no"
55766 rm -f conftest.err conftest.$ac_objext \
55767 conftest$ac_exeext conftest.$ac_ext
55769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55771 if test `eval echo '${'$as_ac_var'}'` = yes; then
55772 cat >>confdefs.h <<_ACEOF
55773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55774 _ACEOF
55777 done
55779 else
55781 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55782 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55783 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55784 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55785 echo $ECHO_N "(cached) $ECHO_C" >&6
55786 else
55790 ac_ext=cc
55791 ac_cpp='$CXXCPP $CPPFLAGS'
55792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55796 cat >conftest.$ac_ext <<_ACEOF
55797 /* confdefs.h. */
55798 _ACEOF
55799 cat confdefs.h >>conftest.$ac_ext
55800 cat >>conftest.$ac_ext <<_ACEOF
55801 /* end confdefs.h. */
55802 #include <math.h>
55803 #ifdef HAVE_IEEEFP_H
55804 #include <ieeefp.h>
55805 #endif
55808 main ()
55810 _fpclass(0);
55812 return 0;
55814 _ACEOF
55815 rm -f conftest.$ac_objext
55816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55817 (eval $ac_compile) 2>conftest.er1
55818 ac_status=$?
55819 grep -v '^ *+' conftest.er1 >conftest.err
55820 rm -f conftest.er1
55821 cat conftest.err >&5
55822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55823 (exit $ac_status); } &&
55824 { ac_try='test -z "$ac_cxx_werror_flag"
55825 || test ! -s conftest.err'
55826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55827 (eval $ac_try) 2>&5
55828 ac_status=$?
55829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55830 (exit $ac_status); }; } &&
55831 { ac_try='test -s conftest.$ac_objext'
55832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55833 (eval $ac_try) 2>&5
55834 ac_status=$?
55835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55836 (exit $ac_status); }; }; then
55837 glibcxx_cv_func__fpclass_use=yes
55838 else
55839 echo "$as_me: failed program was:" >&5
55840 sed 's/^/| /' conftest.$ac_ext >&5
55842 glibcxx_cv_func__fpclass_use=no
55844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55845 ac_ext=c
55846 ac_cpp='$CPP $CPPFLAGS'
55847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55856 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55858 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55860 for ac_func in _fpclass
55862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55863 echo "$as_me:$LINENO: checking for $ac_func" >&5
55864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55865 if eval "test \"\${$as_ac_var+set}\" = set"; then
55866 echo $ECHO_N "(cached) $ECHO_C" >&6
55867 else
55868 if test x$gcc_no_link = xyes; then
55869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55871 { (exit 1); exit 1; }; }
55873 cat >conftest.$ac_ext <<_ACEOF
55874 /* confdefs.h. */
55875 _ACEOF
55876 cat confdefs.h >>conftest.$ac_ext
55877 cat >>conftest.$ac_ext <<_ACEOF
55878 /* end confdefs.h. */
55879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55881 #define $ac_func innocuous_$ac_func
55883 /* System header to define __stub macros and hopefully few prototypes,
55884 which can conflict with char $ac_func (); below.
55885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55886 <limits.h> exists even on freestanding compilers. */
55888 #ifdef __STDC__
55889 # include <limits.h>
55890 #else
55891 # include <assert.h>
55892 #endif
55894 #undef $ac_func
55896 /* Override any gcc2 internal prototype to avoid an error. */
55897 #ifdef __cplusplus
55898 extern "C"
55900 #endif
55901 /* We use char because int might match the return type of a gcc2
55902 builtin and then its argument prototype would still apply. */
55903 char $ac_func ();
55904 /* The GNU C library defines this for functions which it implements
55905 to always fail with ENOSYS. Some functions are actually named
55906 something starting with __ and the normal name is an alias. */
55907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55908 choke me
55909 #else
55910 char (*f) () = $ac_func;
55911 #endif
55912 #ifdef __cplusplus
55914 #endif
55917 main ()
55919 return f != $ac_func;
55921 return 0;
55923 _ACEOF
55924 rm -f conftest.$ac_objext conftest$ac_exeext
55925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55926 (eval $ac_link) 2>conftest.er1
55927 ac_status=$?
55928 grep -v '^ *+' conftest.er1 >conftest.err
55929 rm -f conftest.er1
55930 cat conftest.err >&5
55931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55932 (exit $ac_status); } &&
55933 { ac_try='test -z "$ac_c_werror_flag"
55934 || test ! -s conftest.err'
55935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55936 (eval $ac_try) 2>&5
55937 ac_status=$?
55938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55939 (exit $ac_status); }; } &&
55940 { ac_try='test -s conftest$ac_exeext'
55941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55942 (eval $ac_try) 2>&5
55943 ac_status=$?
55944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55945 (exit $ac_status); }; }; then
55946 eval "$as_ac_var=yes"
55947 else
55948 echo "$as_me: failed program was:" >&5
55949 sed 's/^/| /' conftest.$ac_ext >&5
55951 eval "$as_ac_var=no"
55953 rm -f conftest.err conftest.$ac_objext \
55954 conftest$ac_exeext conftest.$ac_ext
55956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55958 if test `eval echo '${'$as_ac_var'}'` = yes; then
55959 cat >>confdefs.h <<_ACEOF
55960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55961 _ACEOF
55964 done
55971 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55972 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55973 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55974 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55975 echo $ECHO_N "(cached) $ECHO_C" >&6
55976 else
55980 ac_ext=cc
55981 ac_cpp='$CXXCPP $CPPFLAGS'
55982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55986 cat >conftest.$ac_ext <<_ACEOF
55987 /* confdefs.h. */
55988 _ACEOF
55989 cat confdefs.h >>conftest.$ac_ext
55990 cat >>conftest.$ac_ext <<_ACEOF
55991 /* end confdefs.h. */
55992 #include <math.h>
55993 #ifdef HAVE_IEEEFP_H
55994 #include <ieeefp.h>
55995 #endif
55998 main ()
56000 qfpclass(0);
56002 return 0;
56004 _ACEOF
56005 rm -f conftest.$ac_objext
56006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56007 (eval $ac_compile) 2>conftest.er1
56008 ac_status=$?
56009 grep -v '^ *+' conftest.er1 >conftest.err
56010 rm -f conftest.er1
56011 cat conftest.err >&5
56012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56013 (exit $ac_status); } &&
56014 { ac_try='test -z "$ac_cxx_werror_flag"
56015 || test ! -s conftest.err'
56016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56017 (eval $ac_try) 2>&5
56018 ac_status=$?
56019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56020 (exit $ac_status); }; } &&
56021 { ac_try='test -s conftest.$ac_objext'
56022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56023 (eval $ac_try) 2>&5
56024 ac_status=$?
56025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56026 (exit $ac_status); }; }; then
56027 glibcxx_cv_func_qfpclass_use=yes
56028 else
56029 echo "$as_me: failed program was:" >&5
56030 sed 's/^/| /' conftest.$ac_ext >&5
56032 glibcxx_cv_func_qfpclass_use=no
56034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56035 ac_ext=c
56036 ac_cpp='$CPP $CPPFLAGS'
56037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56045 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56046 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56048 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56050 for ac_func in qfpclass
56052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56053 echo "$as_me:$LINENO: checking for $ac_func" >&5
56054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56055 if eval "test \"\${$as_ac_var+set}\" = set"; then
56056 echo $ECHO_N "(cached) $ECHO_C" >&6
56057 else
56058 if test x$gcc_no_link = xyes; then
56059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56061 { (exit 1); exit 1; }; }
56063 cat >conftest.$ac_ext <<_ACEOF
56064 /* confdefs.h. */
56065 _ACEOF
56066 cat confdefs.h >>conftest.$ac_ext
56067 cat >>conftest.$ac_ext <<_ACEOF
56068 /* end confdefs.h. */
56069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56071 #define $ac_func innocuous_$ac_func
56073 /* System header to define __stub macros and hopefully few prototypes,
56074 which can conflict with char $ac_func (); below.
56075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56076 <limits.h> exists even on freestanding compilers. */
56078 #ifdef __STDC__
56079 # include <limits.h>
56080 #else
56081 # include <assert.h>
56082 #endif
56084 #undef $ac_func
56086 /* Override any gcc2 internal prototype to avoid an error. */
56087 #ifdef __cplusplus
56088 extern "C"
56090 #endif
56091 /* We use char because int might match the return type of a gcc2
56092 builtin and then its argument prototype would still apply. */
56093 char $ac_func ();
56094 /* The GNU C library defines this for functions which it implements
56095 to always fail with ENOSYS. Some functions are actually named
56096 something starting with __ and the normal name is an alias. */
56097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56098 choke me
56099 #else
56100 char (*f) () = $ac_func;
56101 #endif
56102 #ifdef __cplusplus
56104 #endif
56107 main ()
56109 return f != $ac_func;
56111 return 0;
56113 _ACEOF
56114 rm -f conftest.$ac_objext conftest$ac_exeext
56115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56116 (eval $ac_link) 2>conftest.er1
56117 ac_status=$?
56118 grep -v '^ *+' conftest.er1 >conftest.err
56119 rm -f conftest.er1
56120 cat conftest.err >&5
56121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56122 (exit $ac_status); } &&
56123 { ac_try='test -z "$ac_c_werror_flag"
56124 || test ! -s conftest.err'
56125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56126 (eval $ac_try) 2>&5
56127 ac_status=$?
56128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56129 (exit $ac_status); }; } &&
56130 { ac_try='test -s conftest$ac_exeext'
56131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56132 (eval $ac_try) 2>&5
56133 ac_status=$?
56134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56135 (exit $ac_status); }; }; then
56136 eval "$as_ac_var=yes"
56137 else
56138 echo "$as_me: failed program was:" >&5
56139 sed 's/^/| /' conftest.$ac_ext >&5
56141 eval "$as_ac_var=no"
56143 rm -f conftest.err conftest.$ac_objext \
56144 conftest$ac_exeext conftest.$ac_ext
56146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56148 if test `eval echo '${'$as_ac_var'}'` = yes; then
56149 cat >>confdefs.h <<_ACEOF
56150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56151 _ACEOF
56154 done
56156 else
56158 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56159 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56160 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56161 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56162 echo $ECHO_N "(cached) $ECHO_C" >&6
56163 else
56167 ac_ext=cc
56168 ac_cpp='$CXXCPP $CPPFLAGS'
56169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56173 cat >conftest.$ac_ext <<_ACEOF
56174 /* confdefs.h. */
56175 _ACEOF
56176 cat confdefs.h >>conftest.$ac_ext
56177 cat >>conftest.$ac_ext <<_ACEOF
56178 /* end confdefs.h. */
56179 #include <math.h>
56180 #ifdef HAVE_IEEEFP_H
56181 #include <ieeefp.h>
56182 #endif
56185 main ()
56187 _qfpclass(0);
56189 return 0;
56191 _ACEOF
56192 rm -f conftest.$ac_objext
56193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56194 (eval $ac_compile) 2>conftest.er1
56195 ac_status=$?
56196 grep -v '^ *+' conftest.er1 >conftest.err
56197 rm -f conftest.er1
56198 cat conftest.err >&5
56199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56200 (exit $ac_status); } &&
56201 { ac_try='test -z "$ac_cxx_werror_flag"
56202 || test ! -s conftest.err'
56203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56204 (eval $ac_try) 2>&5
56205 ac_status=$?
56206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56207 (exit $ac_status); }; } &&
56208 { ac_try='test -s conftest.$ac_objext'
56209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56210 (eval $ac_try) 2>&5
56211 ac_status=$?
56212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56213 (exit $ac_status); }; }; then
56214 glibcxx_cv_func__qfpclass_use=yes
56215 else
56216 echo "$as_me: failed program was:" >&5
56217 sed 's/^/| /' conftest.$ac_ext >&5
56219 glibcxx_cv_func__qfpclass_use=no
56221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56222 ac_ext=c
56223 ac_cpp='$CPP $CPPFLAGS'
56224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56232 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56233 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56235 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56237 for ac_func in _qfpclass
56239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56240 echo "$as_me:$LINENO: checking for $ac_func" >&5
56241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56242 if eval "test \"\${$as_ac_var+set}\" = set"; then
56243 echo $ECHO_N "(cached) $ECHO_C" >&6
56244 else
56245 if test x$gcc_no_link = xyes; then
56246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56248 { (exit 1); exit 1; }; }
56250 cat >conftest.$ac_ext <<_ACEOF
56251 /* confdefs.h. */
56252 _ACEOF
56253 cat confdefs.h >>conftest.$ac_ext
56254 cat >>conftest.$ac_ext <<_ACEOF
56255 /* end confdefs.h. */
56256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56258 #define $ac_func innocuous_$ac_func
56260 /* System header to define __stub macros and hopefully few prototypes,
56261 which can conflict with char $ac_func (); below.
56262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56263 <limits.h> exists even on freestanding compilers. */
56265 #ifdef __STDC__
56266 # include <limits.h>
56267 #else
56268 # include <assert.h>
56269 #endif
56271 #undef $ac_func
56273 /* Override any gcc2 internal prototype to avoid an error. */
56274 #ifdef __cplusplus
56275 extern "C"
56277 #endif
56278 /* We use char because int might match the return type of a gcc2
56279 builtin and then its argument prototype would still apply. */
56280 char $ac_func ();
56281 /* The GNU C library defines this for functions which it implements
56282 to always fail with ENOSYS. Some functions are actually named
56283 something starting with __ and the normal name is an alias. */
56284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56285 choke me
56286 #else
56287 char (*f) () = $ac_func;
56288 #endif
56289 #ifdef __cplusplus
56291 #endif
56294 main ()
56296 return f != $ac_func;
56298 return 0;
56300 _ACEOF
56301 rm -f conftest.$ac_objext conftest$ac_exeext
56302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56303 (eval $ac_link) 2>conftest.er1
56304 ac_status=$?
56305 grep -v '^ *+' conftest.er1 >conftest.err
56306 rm -f conftest.er1
56307 cat conftest.err >&5
56308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56309 (exit $ac_status); } &&
56310 { ac_try='test -z "$ac_c_werror_flag"
56311 || test ! -s conftest.err'
56312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56313 (eval $ac_try) 2>&5
56314 ac_status=$?
56315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56316 (exit $ac_status); }; } &&
56317 { ac_try='test -s conftest$ac_exeext'
56318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56319 (eval $ac_try) 2>&5
56320 ac_status=$?
56321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56322 (exit $ac_status); }; }; then
56323 eval "$as_ac_var=yes"
56324 else
56325 echo "$as_me: failed program was:" >&5
56326 sed 's/^/| /' conftest.$ac_ext >&5
56328 eval "$as_ac_var=no"
56330 rm -f conftest.err conftest.$ac_objext \
56331 conftest$ac_exeext conftest.$ac_ext
56333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56335 if test `eval echo '${'$as_ac_var'}'` = yes; then
56336 cat >>confdefs.h <<_ACEOF
56337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56338 _ACEOF
56341 done
56348 echo "$as_me:$LINENO: checking for hypot declaration" >&5
56349 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56350 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56351 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56352 echo $ECHO_N "(cached) $ECHO_C" >&6
56353 else
56357 ac_ext=cc
56358 ac_cpp='$CXXCPP $CPPFLAGS'
56359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56363 cat >conftest.$ac_ext <<_ACEOF
56364 /* confdefs.h. */
56365 _ACEOF
56366 cat confdefs.h >>conftest.$ac_ext
56367 cat >>conftest.$ac_ext <<_ACEOF
56368 /* end confdefs.h. */
56369 #include <math.h>
56371 main ()
56373 hypot(0, 0);
56375 return 0;
56377 _ACEOF
56378 rm -f conftest.$ac_objext
56379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56380 (eval $ac_compile) 2>conftest.er1
56381 ac_status=$?
56382 grep -v '^ *+' conftest.er1 >conftest.err
56383 rm -f conftest.er1
56384 cat conftest.err >&5
56385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56386 (exit $ac_status); } &&
56387 { ac_try='test -z "$ac_cxx_werror_flag"
56388 || test ! -s conftest.err'
56389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56390 (eval $ac_try) 2>&5
56391 ac_status=$?
56392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56393 (exit $ac_status); }; } &&
56394 { ac_try='test -s conftest.$ac_objext'
56395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56396 (eval $ac_try) 2>&5
56397 ac_status=$?
56398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56399 (exit $ac_status); }; }; then
56400 glibcxx_cv_func_hypot_use=yes
56401 else
56402 echo "$as_me: failed program was:" >&5
56403 sed 's/^/| /' conftest.$ac_ext >&5
56405 glibcxx_cv_func_hypot_use=no
56407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56408 ac_ext=c
56409 ac_cpp='$CPP $CPPFLAGS'
56410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56419 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56421 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56423 for ac_func in hypot
56425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56426 echo "$as_me:$LINENO: checking for $ac_func" >&5
56427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56428 if eval "test \"\${$as_ac_var+set}\" = set"; then
56429 echo $ECHO_N "(cached) $ECHO_C" >&6
56430 else
56431 if test x$gcc_no_link = xyes; then
56432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56434 { (exit 1); exit 1; }; }
56436 cat >conftest.$ac_ext <<_ACEOF
56437 /* confdefs.h. */
56438 _ACEOF
56439 cat confdefs.h >>conftest.$ac_ext
56440 cat >>conftest.$ac_ext <<_ACEOF
56441 /* end confdefs.h. */
56442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56444 #define $ac_func innocuous_$ac_func
56446 /* System header to define __stub macros and hopefully few prototypes,
56447 which can conflict with char $ac_func (); below.
56448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56449 <limits.h> exists even on freestanding compilers. */
56451 #ifdef __STDC__
56452 # include <limits.h>
56453 #else
56454 # include <assert.h>
56455 #endif
56457 #undef $ac_func
56459 /* Override any gcc2 internal prototype to avoid an error. */
56460 #ifdef __cplusplus
56461 extern "C"
56463 #endif
56464 /* We use char because int might match the return type of a gcc2
56465 builtin and then its argument prototype would still apply. */
56466 char $ac_func ();
56467 /* The GNU C library defines this for functions which it implements
56468 to always fail with ENOSYS. Some functions are actually named
56469 something starting with __ and the normal name is an alias. */
56470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56471 choke me
56472 #else
56473 char (*f) () = $ac_func;
56474 #endif
56475 #ifdef __cplusplus
56477 #endif
56480 main ()
56482 return f != $ac_func;
56484 return 0;
56486 _ACEOF
56487 rm -f conftest.$ac_objext conftest$ac_exeext
56488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56489 (eval $ac_link) 2>conftest.er1
56490 ac_status=$?
56491 grep -v '^ *+' conftest.er1 >conftest.err
56492 rm -f conftest.er1
56493 cat conftest.err >&5
56494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56495 (exit $ac_status); } &&
56496 { ac_try='test -z "$ac_c_werror_flag"
56497 || test ! -s conftest.err'
56498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56499 (eval $ac_try) 2>&5
56500 ac_status=$?
56501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56502 (exit $ac_status); }; } &&
56503 { ac_try='test -s conftest$ac_exeext'
56504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56505 (eval $ac_try) 2>&5
56506 ac_status=$?
56507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56508 (exit $ac_status); }; }; then
56509 eval "$as_ac_var=yes"
56510 else
56511 echo "$as_me: failed program was:" >&5
56512 sed 's/^/| /' conftest.$ac_ext >&5
56514 eval "$as_ac_var=no"
56516 rm -f conftest.err conftest.$ac_objext \
56517 conftest$ac_exeext conftest.$ac_ext
56519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56521 if test `eval echo '${'$as_ac_var'}'` = yes; then
56522 cat >>confdefs.h <<_ACEOF
56523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56524 _ACEOF
56527 done
56529 else
56531 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56532 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56533 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56534 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56535 echo $ECHO_N "(cached) $ECHO_C" >&6
56536 else
56540 ac_ext=cc
56541 ac_cpp='$CXXCPP $CPPFLAGS'
56542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56546 cat >conftest.$ac_ext <<_ACEOF
56547 /* confdefs.h. */
56548 _ACEOF
56549 cat confdefs.h >>conftest.$ac_ext
56550 cat >>conftest.$ac_ext <<_ACEOF
56551 /* end confdefs.h. */
56552 #include <math.h>
56554 main ()
56556 _hypot(0, 0);
56558 return 0;
56560 _ACEOF
56561 rm -f conftest.$ac_objext
56562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56563 (eval $ac_compile) 2>conftest.er1
56564 ac_status=$?
56565 grep -v '^ *+' conftest.er1 >conftest.err
56566 rm -f conftest.er1
56567 cat conftest.err >&5
56568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56569 (exit $ac_status); } &&
56570 { ac_try='test -z "$ac_cxx_werror_flag"
56571 || test ! -s conftest.err'
56572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56573 (eval $ac_try) 2>&5
56574 ac_status=$?
56575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56576 (exit $ac_status); }; } &&
56577 { ac_try='test -s conftest.$ac_objext'
56578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56579 (eval $ac_try) 2>&5
56580 ac_status=$?
56581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56582 (exit $ac_status); }; }; then
56583 glibcxx_cv_func__hypot_use=yes
56584 else
56585 echo "$as_me: failed program was:" >&5
56586 sed 's/^/| /' conftest.$ac_ext >&5
56588 glibcxx_cv_func__hypot_use=no
56590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56591 ac_ext=c
56592 ac_cpp='$CPP $CPPFLAGS'
56593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56601 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56602 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56604 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56606 for ac_func in _hypot
56608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56609 echo "$as_me:$LINENO: checking for $ac_func" >&5
56610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56611 if eval "test \"\${$as_ac_var+set}\" = set"; then
56612 echo $ECHO_N "(cached) $ECHO_C" >&6
56613 else
56614 if test x$gcc_no_link = xyes; then
56615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56617 { (exit 1); exit 1; }; }
56619 cat >conftest.$ac_ext <<_ACEOF
56620 /* confdefs.h. */
56621 _ACEOF
56622 cat confdefs.h >>conftest.$ac_ext
56623 cat >>conftest.$ac_ext <<_ACEOF
56624 /* end confdefs.h. */
56625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56627 #define $ac_func innocuous_$ac_func
56629 /* System header to define __stub macros and hopefully few prototypes,
56630 which can conflict with char $ac_func (); below.
56631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56632 <limits.h> exists even on freestanding compilers. */
56634 #ifdef __STDC__
56635 # include <limits.h>
56636 #else
56637 # include <assert.h>
56638 #endif
56640 #undef $ac_func
56642 /* Override any gcc2 internal prototype to avoid an error. */
56643 #ifdef __cplusplus
56644 extern "C"
56646 #endif
56647 /* We use char because int might match the return type of a gcc2
56648 builtin and then its argument prototype would still apply. */
56649 char $ac_func ();
56650 /* The GNU C library defines this for functions which it implements
56651 to always fail with ENOSYS. Some functions are actually named
56652 something starting with __ and the normal name is an alias. */
56653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56654 choke me
56655 #else
56656 char (*f) () = $ac_func;
56657 #endif
56658 #ifdef __cplusplus
56660 #endif
56663 main ()
56665 return f != $ac_func;
56667 return 0;
56669 _ACEOF
56670 rm -f conftest.$ac_objext conftest$ac_exeext
56671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56672 (eval $ac_link) 2>conftest.er1
56673 ac_status=$?
56674 grep -v '^ *+' conftest.er1 >conftest.err
56675 rm -f conftest.er1
56676 cat conftest.err >&5
56677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56678 (exit $ac_status); } &&
56679 { ac_try='test -z "$ac_c_werror_flag"
56680 || test ! -s conftest.err'
56681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56682 (eval $ac_try) 2>&5
56683 ac_status=$?
56684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56685 (exit $ac_status); }; } &&
56686 { ac_try='test -s conftest$ac_exeext'
56687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56688 (eval $ac_try) 2>&5
56689 ac_status=$?
56690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56691 (exit $ac_status); }; }; then
56692 eval "$as_ac_var=yes"
56693 else
56694 echo "$as_me: failed program was:" >&5
56695 sed 's/^/| /' conftest.$ac_ext >&5
56697 eval "$as_ac_var=no"
56699 rm -f conftest.err conftest.$ac_objext \
56700 conftest$ac_exeext conftest.$ac_ext
56702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56704 if test `eval echo '${'$as_ac_var'}'` = yes; then
56705 cat >>confdefs.h <<_ACEOF
56706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56707 _ACEOF
56710 done
56717 echo "$as_me:$LINENO: checking for float trig functions" >&5
56718 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56719 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56720 echo $ECHO_N "(cached) $ECHO_C" >&6
56721 else
56725 ac_ext=cc
56726 ac_cpp='$CXXCPP $CPPFLAGS'
56727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56731 cat >conftest.$ac_ext <<_ACEOF
56732 /* confdefs.h. */
56733 _ACEOF
56734 cat confdefs.h >>conftest.$ac_ext
56735 cat >>conftest.$ac_ext <<_ACEOF
56736 /* end confdefs.h. */
56737 #include <math.h>
56739 main ()
56741 `for x in acosf asinf atanf \
56742 cosf sinf tanf \
56743 coshf sinhf tanhf; do echo "$x (0);"; done`
56745 return 0;
56747 _ACEOF
56748 rm -f conftest.$ac_objext
56749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56750 (eval $ac_compile) 2>conftest.er1
56751 ac_status=$?
56752 grep -v '^ *+' conftest.er1 >conftest.err
56753 rm -f conftest.er1
56754 cat conftest.err >&5
56755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56756 (exit $ac_status); } &&
56757 { ac_try='test -z "$ac_cxx_werror_flag"
56758 || test ! -s conftest.err'
56759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56760 (eval $ac_try) 2>&5
56761 ac_status=$?
56762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56763 (exit $ac_status); }; } &&
56764 { ac_try='test -s conftest.$ac_objext'
56765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56766 (eval $ac_try) 2>&5
56767 ac_status=$?
56768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56769 (exit $ac_status); }; }; then
56770 glibcxx_cv_func_float_trig_use=yes
56771 else
56772 echo "$as_me: failed program was:" >&5
56773 sed 's/^/| /' conftest.$ac_ext >&5
56775 glibcxx_cv_func_float_trig_use=no
56777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56778 ac_ext=c
56779 ac_cpp='$CPP $CPPFLAGS'
56780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56786 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56787 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56788 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56798 for ac_func in acosf asinf atanf \
56799 cosf sinf tanf \
56800 coshf sinhf tanhf
56802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56803 echo "$as_me:$LINENO: checking for $ac_func" >&5
56804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56805 if eval "test \"\${$as_ac_var+set}\" = set"; then
56806 echo $ECHO_N "(cached) $ECHO_C" >&6
56807 else
56808 if test x$gcc_no_link = xyes; then
56809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56811 { (exit 1); exit 1; }; }
56813 cat >conftest.$ac_ext <<_ACEOF
56814 /* confdefs.h. */
56815 _ACEOF
56816 cat confdefs.h >>conftest.$ac_ext
56817 cat >>conftest.$ac_ext <<_ACEOF
56818 /* end confdefs.h. */
56819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56821 #define $ac_func innocuous_$ac_func
56823 /* System header to define __stub macros and hopefully few prototypes,
56824 which can conflict with char $ac_func (); below.
56825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56826 <limits.h> exists even on freestanding compilers. */
56828 #ifdef __STDC__
56829 # include <limits.h>
56830 #else
56831 # include <assert.h>
56832 #endif
56834 #undef $ac_func
56836 /* Override any gcc2 internal prototype to avoid an error. */
56837 #ifdef __cplusplus
56838 extern "C"
56840 #endif
56841 /* We use char because int might match the return type of a gcc2
56842 builtin and then its argument prototype would still apply. */
56843 char $ac_func ();
56844 /* The GNU C library defines this for functions which it implements
56845 to always fail with ENOSYS. Some functions are actually named
56846 something starting with __ and the normal name is an alias. */
56847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56848 choke me
56849 #else
56850 char (*f) () = $ac_func;
56851 #endif
56852 #ifdef __cplusplus
56854 #endif
56857 main ()
56859 return f != $ac_func;
56861 return 0;
56863 _ACEOF
56864 rm -f conftest.$ac_objext conftest$ac_exeext
56865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56866 (eval $ac_link) 2>conftest.er1
56867 ac_status=$?
56868 grep -v '^ *+' conftest.er1 >conftest.err
56869 rm -f conftest.er1
56870 cat conftest.err >&5
56871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56872 (exit $ac_status); } &&
56873 { ac_try='test -z "$ac_c_werror_flag"
56874 || test ! -s conftest.err'
56875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56876 (eval $ac_try) 2>&5
56877 ac_status=$?
56878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56879 (exit $ac_status); }; } &&
56880 { ac_try='test -s conftest$ac_exeext'
56881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56882 (eval $ac_try) 2>&5
56883 ac_status=$?
56884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56885 (exit $ac_status); }; }; then
56886 eval "$as_ac_var=yes"
56887 else
56888 echo "$as_me: failed program was:" >&5
56889 sed 's/^/| /' conftest.$ac_ext >&5
56891 eval "$as_ac_var=no"
56893 rm -f conftest.err conftest.$ac_objext \
56894 conftest$ac_exeext conftest.$ac_ext
56896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56898 if test `eval echo '${'$as_ac_var'}'` = yes; then
56899 cat >>confdefs.h <<_ACEOF
56900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56901 _ACEOF
56904 done
56909 echo "$as_me:$LINENO: checking for float round functions" >&5
56910 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56911 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56912 echo $ECHO_N "(cached) $ECHO_C" >&6
56913 else
56917 ac_ext=cc
56918 ac_cpp='$CXXCPP $CPPFLAGS'
56919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56923 cat >conftest.$ac_ext <<_ACEOF
56924 /* confdefs.h. */
56925 _ACEOF
56926 cat confdefs.h >>conftest.$ac_ext
56927 cat >>conftest.$ac_ext <<_ACEOF
56928 /* end confdefs.h. */
56929 #include <math.h>
56931 main ()
56933 `for x in ceilf floorf; do echo "$x (0);"; done`
56935 return 0;
56937 _ACEOF
56938 rm -f conftest.$ac_objext
56939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56940 (eval $ac_compile) 2>conftest.er1
56941 ac_status=$?
56942 grep -v '^ *+' conftest.er1 >conftest.err
56943 rm -f conftest.er1
56944 cat conftest.err >&5
56945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56946 (exit $ac_status); } &&
56947 { ac_try='test -z "$ac_cxx_werror_flag"
56948 || test ! -s conftest.err'
56949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56950 (eval $ac_try) 2>&5
56951 ac_status=$?
56952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56953 (exit $ac_status); }; } &&
56954 { ac_try='test -s conftest.$ac_objext'
56955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56956 (eval $ac_try) 2>&5
56957 ac_status=$?
56958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56959 (exit $ac_status); }; }; then
56960 glibcxx_cv_func_float_round_use=yes
56961 else
56962 echo "$as_me: failed program was:" >&5
56963 sed 's/^/| /' conftest.$ac_ext >&5
56965 glibcxx_cv_func_float_round_use=no
56967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56968 ac_ext=c
56969 ac_cpp='$CPP $CPPFLAGS'
56970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56976 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56977 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56978 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56981 for ac_func in ceilf floorf
56983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56984 echo "$as_me:$LINENO: checking for $ac_func" >&5
56985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56986 if eval "test \"\${$as_ac_var+set}\" = set"; then
56987 echo $ECHO_N "(cached) $ECHO_C" >&6
56988 else
56989 if test x$gcc_no_link = xyes; then
56990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56992 { (exit 1); exit 1; }; }
56994 cat >conftest.$ac_ext <<_ACEOF
56995 /* confdefs.h. */
56996 _ACEOF
56997 cat confdefs.h >>conftest.$ac_ext
56998 cat >>conftest.$ac_ext <<_ACEOF
56999 /* end confdefs.h. */
57000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57002 #define $ac_func innocuous_$ac_func
57004 /* System header to define __stub macros and hopefully few prototypes,
57005 which can conflict with char $ac_func (); below.
57006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57007 <limits.h> exists even on freestanding compilers. */
57009 #ifdef __STDC__
57010 # include <limits.h>
57011 #else
57012 # include <assert.h>
57013 #endif
57015 #undef $ac_func
57017 /* Override any gcc2 internal prototype to avoid an error. */
57018 #ifdef __cplusplus
57019 extern "C"
57021 #endif
57022 /* We use char because int might match the return type of a gcc2
57023 builtin and then its argument prototype would still apply. */
57024 char $ac_func ();
57025 /* The GNU C library defines this for functions which it implements
57026 to always fail with ENOSYS. Some functions are actually named
57027 something starting with __ and the normal name is an alias. */
57028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57029 choke me
57030 #else
57031 char (*f) () = $ac_func;
57032 #endif
57033 #ifdef __cplusplus
57035 #endif
57038 main ()
57040 return f != $ac_func;
57042 return 0;
57044 _ACEOF
57045 rm -f conftest.$ac_objext conftest$ac_exeext
57046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57047 (eval $ac_link) 2>conftest.er1
57048 ac_status=$?
57049 grep -v '^ *+' conftest.er1 >conftest.err
57050 rm -f conftest.er1
57051 cat conftest.err >&5
57052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57053 (exit $ac_status); } &&
57054 { ac_try='test -z "$ac_c_werror_flag"
57055 || test ! -s conftest.err'
57056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57057 (eval $ac_try) 2>&5
57058 ac_status=$?
57059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57060 (exit $ac_status); }; } &&
57061 { ac_try='test -s conftest$ac_exeext'
57062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57063 (eval $ac_try) 2>&5
57064 ac_status=$?
57065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57066 (exit $ac_status); }; }; then
57067 eval "$as_ac_var=yes"
57068 else
57069 echo "$as_me: failed program was:" >&5
57070 sed 's/^/| /' conftest.$ac_ext >&5
57072 eval "$as_ac_var=no"
57074 rm -f conftest.err conftest.$ac_objext \
57075 conftest$ac_exeext conftest.$ac_ext
57077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57079 if test `eval echo '${'$as_ac_var'}'` = yes; then
57080 cat >>confdefs.h <<_ACEOF
57081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57082 _ACEOF
57085 done
57091 echo "$as_me:$LINENO: checking for expf declaration" >&5
57092 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57093 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57094 if test "${glibcxx_cv_func_expf_use+set}" = set; then
57095 echo $ECHO_N "(cached) $ECHO_C" >&6
57096 else
57100 ac_ext=cc
57101 ac_cpp='$CXXCPP $CPPFLAGS'
57102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57106 cat >conftest.$ac_ext <<_ACEOF
57107 /* confdefs.h. */
57108 _ACEOF
57109 cat confdefs.h >>conftest.$ac_ext
57110 cat >>conftest.$ac_ext <<_ACEOF
57111 /* end confdefs.h. */
57112 #include <math.h>
57113 #ifdef HAVE_IEEEFP_H
57114 #include <ieeefp.h>
57115 #endif
57118 main ()
57120 expf(0);
57122 return 0;
57124 _ACEOF
57125 rm -f conftest.$ac_objext
57126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57127 (eval $ac_compile) 2>conftest.er1
57128 ac_status=$?
57129 grep -v '^ *+' conftest.er1 >conftest.err
57130 rm -f conftest.er1
57131 cat conftest.err >&5
57132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57133 (exit $ac_status); } &&
57134 { ac_try='test -z "$ac_cxx_werror_flag"
57135 || test ! -s conftest.err'
57136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57137 (eval $ac_try) 2>&5
57138 ac_status=$?
57139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57140 (exit $ac_status); }; } &&
57141 { ac_try='test -s conftest.$ac_objext'
57142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57143 (eval $ac_try) 2>&5
57144 ac_status=$?
57145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57146 (exit $ac_status); }; }; then
57147 glibcxx_cv_func_expf_use=yes
57148 else
57149 echo "$as_me: failed program was:" >&5
57150 sed 's/^/| /' conftest.$ac_ext >&5
57152 glibcxx_cv_func_expf_use=no
57154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57155 ac_ext=c
57156 ac_cpp='$CPP $CPPFLAGS'
57157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57165 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57166 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57168 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57170 for ac_func in expf
57172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57173 echo "$as_me:$LINENO: checking for $ac_func" >&5
57174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57175 if eval "test \"\${$as_ac_var+set}\" = set"; then
57176 echo $ECHO_N "(cached) $ECHO_C" >&6
57177 else
57178 if test x$gcc_no_link = xyes; then
57179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57181 { (exit 1); exit 1; }; }
57183 cat >conftest.$ac_ext <<_ACEOF
57184 /* confdefs.h. */
57185 _ACEOF
57186 cat confdefs.h >>conftest.$ac_ext
57187 cat >>conftest.$ac_ext <<_ACEOF
57188 /* end confdefs.h. */
57189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57191 #define $ac_func innocuous_$ac_func
57193 /* System header to define __stub macros and hopefully few prototypes,
57194 which can conflict with char $ac_func (); below.
57195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57196 <limits.h> exists even on freestanding compilers. */
57198 #ifdef __STDC__
57199 # include <limits.h>
57200 #else
57201 # include <assert.h>
57202 #endif
57204 #undef $ac_func
57206 /* Override any gcc2 internal prototype to avoid an error. */
57207 #ifdef __cplusplus
57208 extern "C"
57210 #endif
57211 /* We use char because int might match the return type of a gcc2
57212 builtin and then its argument prototype would still apply. */
57213 char $ac_func ();
57214 /* The GNU C library defines this for functions which it implements
57215 to always fail with ENOSYS. Some functions are actually named
57216 something starting with __ and the normal name is an alias. */
57217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57218 choke me
57219 #else
57220 char (*f) () = $ac_func;
57221 #endif
57222 #ifdef __cplusplus
57224 #endif
57227 main ()
57229 return f != $ac_func;
57231 return 0;
57233 _ACEOF
57234 rm -f conftest.$ac_objext conftest$ac_exeext
57235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57236 (eval $ac_link) 2>conftest.er1
57237 ac_status=$?
57238 grep -v '^ *+' conftest.er1 >conftest.err
57239 rm -f conftest.er1
57240 cat conftest.err >&5
57241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57242 (exit $ac_status); } &&
57243 { ac_try='test -z "$ac_c_werror_flag"
57244 || test ! -s conftest.err'
57245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57246 (eval $ac_try) 2>&5
57247 ac_status=$?
57248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57249 (exit $ac_status); }; } &&
57250 { ac_try='test -s conftest$ac_exeext'
57251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57252 (eval $ac_try) 2>&5
57253 ac_status=$?
57254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57255 (exit $ac_status); }; }; then
57256 eval "$as_ac_var=yes"
57257 else
57258 echo "$as_me: failed program was:" >&5
57259 sed 's/^/| /' conftest.$ac_ext >&5
57261 eval "$as_ac_var=no"
57263 rm -f conftest.err conftest.$ac_objext \
57264 conftest$ac_exeext conftest.$ac_ext
57266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57268 if test `eval echo '${'$as_ac_var'}'` = yes; then
57269 cat >>confdefs.h <<_ACEOF
57270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57271 _ACEOF
57274 done
57276 else
57278 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57279 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57280 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57281 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57282 echo $ECHO_N "(cached) $ECHO_C" >&6
57283 else
57287 ac_ext=cc
57288 ac_cpp='$CXXCPP $CPPFLAGS'
57289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57293 cat >conftest.$ac_ext <<_ACEOF
57294 /* confdefs.h. */
57295 _ACEOF
57296 cat confdefs.h >>conftest.$ac_ext
57297 cat >>conftest.$ac_ext <<_ACEOF
57298 /* end confdefs.h. */
57299 #include <math.h>
57300 #ifdef HAVE_IEEEFP_H
57301 #include <ieeefp.h>
57302 #endif
57305 main ()
57307 _expf(0);
57309 return 0;
57311 _ACEOF
57312 rm -f conftest.$ac_objext
57313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57314 (eval $ac_compile) 2>conftest.er1
57315 ac_status=$?
57316 grep -v '^ *+' conftest.er1 >conftest.err
57317 rm -f conftest.er1
57318 cat conftest.err >&5
57319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57320 (exit $ac_status); } &&
57321 { ac_try='test -z "$ac_cxx_werror_flag"
57322 || test ! -s conftest.err'
57323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57324 (eval $ac_try) 2>&5
57325 ac_status=$?
57326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57327 (exit $ac_status); }; } &&
57328 { ac_try='test -s conftest.$ac_objext'
57329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57330 (eval $ac_try) 2>&5
57331 ac_status=$?
57332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57333 (exit $ac_status); }; }; then
57334 glibcxx_cv_func__expf_use=yes
57335 else
57336 echo "$as_me: failed program was:" >&5
57337 sed 's/^/| /' conftest.$ac_ext >&5
57339 glibcxx_cv_func__expf_use=no
57341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57342 ac_ext=c
57343 ac_cpp='$CPP $CPPFLAGS'
57344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57352 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57353 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57355 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57357 for ac_func in _expf
57359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57360 echo "$as_me:$LINENO: checking for $ac_func" >&5
57361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57362 if eval "test \"\${$as_ac_var+set}\" = set"; then
57363 echo $ECHO_N "(cached) $ECHO_C" >&6
57364 else
57365 if test x$gcc_no_link = xyes; then
57366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57368 { (exit 1); exit 1; }; }
57370 cat >conftest.$ac_ext <<_ACEOF
57371 /* confdefs.h. */
57372 _ACEOF
57373 cat confdefs.h >>conftest.$ac_ext
57374 cat >>conftest.$ac_ext <<_ACEOF
57375 /* end confdefs.h. */
57376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57378 #define $ac_func innocuous_$ac_func
57380 /* System header to define __stub macros and hopefully few prototypes,
57381 which can conflict with char $ac_func (); below.
57382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57383 <limits.h> exists even on freestanding compilers. */
57385 #ifdef __STDC__
57386 # include <limits.h>
57387 #else
57388 # include <assert.h>
57389 #endif
57391 #undef $ac_func
57393 /* Override any gcc2 internal prototype to avoid an error. */
57394 #ifdef __cplusplus
57395 extern "C"
57397 #endif
57398 /* We use char because int might match the return type of a gcc2
57399 builtin and then its argument prototype would still apply. */
57400 char $ac_func ();
57401 /* The GNU C library defines this for functions which it implements
57402 to always fail with ENOSYS. Some functions are actually named
57403 something starting with __ and the normal name is an alias. */
57404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57405 choke me
57406 #else
57407 char (*f) () = $ac_func;
57408 #endif
57409 #ifdef __cplusplus
57411 #endif
57414 main ()
57416 return f != $ac_func;
57418 return 0;
57420 _ACEOF
57421 rm -f conftest.$ac_objext conftest$ac_exeext
57422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57423 (eval $ac_link) 2>conftest.er1
57424 ac_status=$?
57425 grep -v '^ *+' conftest.er1 >conftest.err
57426 rm -f conftest.er1
57427 cat conftest.err >&5
57428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57429 (exit $ac_status); } &&
57430 { ac_try='test -z "$ac_c_werror_flag"
57431 || test ! -s conftest.err'
57432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57433 (eval $ac_try) 2>&5
57434 ac_status=$?
57435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57436 (exit $ac_status); }; } &&
57437 { ac_try='test -s conftest$ac_exeext'
57438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57439 (eval $ac_try) 2>&5
57440 ac_status=$?
57441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57442 (exit $ac_status); }; }; then
57443 eval "$as_ac_var=yes"
57444 else
57445 echo "$as_me: failed program was:" >&5
57446 sed 's/^/| /' conftest.$ac_ext >&5
57448 eval "$as_ac_var=no"
57450 rm -f conftest.err conftest.$ac_objext \
57451 conftest$ac_exeext conftest.$ac_ext
57453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57455 if test `eval echo '${'$as_ac_var'}'` = yes; then
57456 cat >>confdefs.h <<_ACEOF
57457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57458 _ACEOF
57461 done
57468 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57469 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57470 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57471 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57472 echo $ECHO_N "(cached) $ECHO_C" >&6
57473 else
57477 ac_ext=cc
57478 ac_cpp='$CXXCPP $CPPFLAGS'
57479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57483 cat >conftest.$ac_ext <<_ACEOF
57484 /* confdefs.h. */
57485 _ACEOF
57486 cat confdefs.h >>conftest.$ac_ext
57487 cat >>conftest.$ac_ext <<_ACEOF
57488 /* end confdefs.h. */
57489 #include <math.h>
57490 #ifdef HAVE_IEEEFP_H
57491 #include <ieeefp.h>
57492 #endif
57495 main ()
57497 isnanf(0);
57499 return 0;
57501 _ACEOF
57502 rm -f conftest.$ac_objext
57503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57504 (eval $ac_compile) 2>conftest.er1
57505 ac_status=$?
57506 grep -v '^ *+' conftest.er1 >conftest.err
57507 rm -f conftest.er1
57508 cat conftest.err >&5
57509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57510 (exit $ac_status); } &&
57511 { ac_try='test -z "$ac_cxx_werror_flag"
57512 || test ! -s conftest.err'
57513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57514 (eval $ac_try) 2>&5
57515 ac_status=$?
57516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57517 (exit $ac_status); }; } &&
57518 { ac_try='test -s conftest.$ac_objext'
57519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57520 (eval $ac_try) 2>&5
57521 ac_status=$?
57522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57523 (exit $ac_status); }; }; then
57524 glibcxx_cv_func_isnanf_use=yes
57525 else
57526 echo "$as_me: failed program was:" >&5
57527 sed 's/^/| /' conftest.$ac_ext >&5
57529 glibcxx_cv_func_isnanf_use=no
57531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57532 ac_ext=c
57533 ac_cpp='$CPP $CPPFLAGS'
57534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57543 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57545 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57547 for ac_func in isnanf
57549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57550 echo "$as_me:$LINENO: checking for $ac_func" >&5
57551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57552 if eval "test \"\${$as_ac_var+set}\" = set"; then
57553 echo $ECHO_N "(cached) $ECHO_C" >&6
57554 else
57555 if test x$gcc_no_link = xyes; then
57556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57558 { (exit 1); exit 1; }; }
57560 cat >conftest.$ac_ext <<_ACEOF
57561 /* confdefs.h. */
57562 _ACEOF
57563 cat confdefs.h >>conftest.$ac_ext
57564 cat >>conftest.$ac_ext <<_ACEOF
57565 /* end confdefs.h. */
57566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57568 #define $ac_func innocuous_$ac_func
57570 /* System header to define __stub macros and hopefully few prototypes,
57571 which can conflict with char $ac_func (); below.
57572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57573 <limits.h> exists even on freestanding compilers. */
57575 #ifdef __STDC__
57576 # include <limits.h>
57577 #else
57578 # include <assert.h>
57579 #endif
57581 #undef $ac_func
57583 /* Override any gcc2 internal prototype to avoid an error. */
57584 #ifdef __cplusplus
57585 extern "C"
57587 #endif
57588 /* We use char because int might match the return type of a gcc2
57589 builtin and then its argument prototype would still apply. */
57590 char $ac_func ();
57591 /* The GNU C library defines this for functions which it implements
57592 to always fail with ENOSYS. Some functions are actually named
57593 something starting with __ and the normal name is an alias. */
57594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57595 choke me
57596 #else
57597 char (*f) () = $ac_func;
57598 #endif
57599 #ifdef __cplusplus
57601 #endif
57604 main ()
57606 return f != $ac_func;
57608 return 0;
57610 _ACEOF
57611 rm -f conftest.$ac_objext conftest$ac_exeext
57612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57613 (eval $ac_link) 2>conftest.er1
57614 ac_status=$?
57615 grep -v '^ *+' conftest.er1 >conftest.err
57616 rm -f conftest.er1
57617 cat conftest.err >&5
57618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57619 (exit $ac_status); } &&
57620 { ac_try='test -z "$ac_c_werror_flag"
57621 || test ! -s conftest.err'
57622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57623 (eval $ac_try) 2>&5
57624 ac_status=$?
57625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57626 (exit $ac_status); }; } &&
57627 { ac_try='test -s conftest$ac_exeext'
57628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57629 (eval $ac_try) 2>&5
57630 ac_status=$?
57631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57632 (exit $ac_status); }; }; then
57633 eval "$as_ac_var=yes"
57634 else
57635 echo "$as_me: failed program was:" >&5
57636 sed 's/^/| /' conftest.$ac_ext >&5
57638 eval "$as_ac_var=no"
57640 rm -f conftest.err conftest.$ac_objext \
57641 conftest$ac_exeext conftest.$ac_ext
57643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57645 if test `eval echo '${'$as_ac_var'}'` = yes; then
57646 cat >>confdefs.h <<_ACEOF
57647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57648 _ACEOF
57651 done
57653 else
57655 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57656 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57657 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57658 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57659 echo $ECHO_N "(cached) $ECHO_C" >&6
57660 else
57664 ac_ext=cc
57665 ac_cpp='$CXXCPP $CPPFLAGS'
57666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57670 cat >conftest.$ac_ext <<_ACEOF
57671 /* confdefs.h. */
57672 _ACEOF
57673 cat confdefs.h >>conftest.$ac_ext
57674 cat >>conftest.$ac_ext <<_ACEOF
57675 /* end confdefs.h. */
57676 #include <math.h>
57677 #ifdef HAVE_IEEEFP_H
57678 #include <ieeefp.h>
57679 #endif
57682 main ()
57684 _isnanf(0);
57686 return 0;
57688 _ACEOF
57689 rm -f conftest.$ac_objext
57690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57691 (eval $ac_compile) 2>conftest.er1
57692 ac_status=$?
57693 grep -v '^ *+' conftest.er1 >conftest.err
57694 rm -f conftest.er1
57695 cat conftest.err >&5
57696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57697 (exit $ac_status); } &&
57698 { ac_try='test -z "$ac_cxx_werror_flag"
57699 || test ! -s conftest.err'
57700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57701 (eval $ac_try) 2>&5
57702 ac_status=$?
57703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57704 (exit $ac_status); }; } &&
57705 { ac_try='test -s conftest.$ac_objext'
57706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57707 (eval $ac_try) 2>&5
57708 ac_status=$?
57709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57710 (exit $ac_status); }; }; then
57711 glibcxx_cv_func__isnanf_use=yes
57712 else
57713 echo "$as_me: failed program was:" >&5
57714 sed 's/^/| /' conftest.$ac_ext >&5
57716 glibcxx_cv_func__isnanf_use=no
57718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57719 ac_ext=c
57720 ac_cpp='$CPP $CPPFLAGS'
57721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57729 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57730 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57732 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57734 for ac_func in _isnanf
57736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57737 echo "$as_me:$LINENO: checking for $ac_func" >&5
57738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57739 if eval "test \"\${$as_ac_var+set}\" = set"; then
57740 echo $ECHO_N "(cached) $ECHO_C" >&6
57741 else
57742 if test x$gcc_no_link = xyes; then
57743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57745 { (exit 1); exit 1; }; }
57747 cat >conftest.$ac_ext <<_ACEOF
57748 /* confdefs.h. */
57749 _ACEOF
57750 cat confdefs.h >>conftest.$ac_ext
57751 cat >>conftest.$ac_ext <<_ACEOF
57752 /* end confdefs.h. */
57753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57755 #define $ac_func innocuous_$ac_func
57757 /* System header to define __stub macros and hopefully few prototypes,
57758 which can conflict with char $ac_func (); below.
57759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57760 <limits.h> exists even on freestanding compilers. */
57762 #ifdef __STDC__
57763 # include <limits.h>
57764 #else
57765 # include <assert.h>
57766 #endif
57768 #undef $ac_func
57770 /* Override any gcc2 internal prototype to avoid an error. */
57771 #ifdef __cplusplus
57772 extern "C"
57774 #endif
57775 /* We use char because int might match the return type of a gcc2
57776 builtin and then its argument prototype would still apply. */
57777 char $ac_func ();
57778 /* The GNU C library defines this for functions which it implements
57779 to always fail with ENOSYS. Some functions are actually named
57780 something starting with __ and the normal name is an alias. */
57781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57782 choke me
57783 #else
57784 char (*f) () = $ac_func;
57785 #endif
57786 #ifdef __cplusplus
57788 #endif
57791 main ()
57793 return f != $ac_func;
57795 return 0;
57797 _ACEOF
57798 rm -f conftest.$ac_objext conftest$ac_exeext
57799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57800 (eval $ac_link) 2>conftest.er1
57801 ac_status=$?
57802 grep -v '^ *+' conftest.er1 >conftest.err
57803 rm -f conftest.er1
57804 cat conftest.err >&5
57805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57806 (exit $ac_status); } &&
57807 { ac_try='test -z "$ac_c_werror_flag"
57808 || test ! -s conftest.err'
57809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57810 (eval $ac_try) 2>&5
57811 ac_status=$?
57812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57813 (exit $ac_status); }; } &&
57814 { ac_try='test -s conftest$ac_exeext'
57815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57816 (eval $ac_try) 2>&5
57817 ac_status=$?
57818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57819 (exit $ac_status); }; }; then
57820 eval "$as_ac_var=yes"
57821 else
57822 echo "$as_me: failed program was:" >&5
57823 sed 's/^/| /' conftest.$ac_ext >&5
57825 eval "$as_ac_var=no"
57827 rm -f conftest.err conftest.$ac_objext \
57828 conftest$ac_exeext conftest.$ac_ext
57830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57832 if test `eval echo '${'$as_ac_var'}'` = yes; then
57833 cat >>confdefs.h <<_ACEOF
57834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57835 _ACEOF
57838 done
57845 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57846 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57847 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57848 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57849 echo $ECHO_N "(cached) $ECHO_C" >&6
57850 else
57854 ac_ext=cc
57855 ac_cpp='$CXXCPP $CPPFLAGS'
57856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57860 cat >conftest.$ac_ext <<_ACEOF
57861 /* confdefs.h. */
57862 _ACEOF
57863 cat confdefs.h >>conftest.$ac_ext
57864 cat >>conftest.$ac_ext <<_ACEOF
57865 /* end confdefs.h. */
57866 #include <math.h>
57867 #ifdef HAVE_IEEEFP_H
57868 #include <ieeefp.h>
57869 #endif
57872 main ()
57874 isinff(0);
57876 return 0;
57878 _ACEOF
57879 rm -f conftest.$ac_objext
57880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57881 (eval $ac_compile) 2>conftest.er1
57882 ac_status=$?
57883 grep -v '^ *+' conftest.er1 >conftest.err
57884 rm -f conftest.er1
57885 cat conftest.err >&5
57886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57887 (exit $ac_status); } &&
57888 { ac_try='test -z "$ac_cxx_werror_flag"
57889 || test ! -s conftest.err'
57890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57891 (eval $ac_try) 2>&5
57892 ac_status=$?
57893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57894 (exit $ac_status); }; } &&
57895 { ac_try='test -s conftest.$ac_objext'
57896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57897 (eval $ac_try) 2>&5
57898 ac_status=$?
57899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57900 (exit $ac_status); }; }; then
57901 glibcxx_cv_func_isinff_use=yes
57902 else
57903 echo "$as_me: failed program was:" >&5
57904 sed 's/^/| /' conftest.$ac_ext >&5
57906 glibcxx_cv_func_isinff_use=no
57908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57909 ac_ext=c
57910 ac_cpp='$CPP $CPPFLAGS'
57911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57920 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57922 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57924 for ac_func in isinff
57926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57927 echo "$as_me:$LINENO: checking for $ac_func" >&5
57928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57929 if eval "test \"\${$as_ac_var+set}\" = set"; then
57930 echo $ECHO_N "(cached) $ECHO_C" >&6
57931 else
57932 if test x$gcc_no_link = xyes; then
57933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57935 { (exit 1); exit 1; }; }
57937 cat >conftest.$ac_ext <<_ACEOF
57938 /* confdefs.h. */
57939 _ACEOF
57940 cat confdefs.h >>conftest.$ac_ext
57941 cat >>conftest.$ac_ext <<_ACEOF
57942 /* end confdefs.h. */
57943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57945 #define $ac_func innocuous_$ac_func
57947 /* System header to define __stub macros and hopefully few prototypes,
57948 which can conflict with char $ac_func (); below.
57949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57950 <limits.h> exists even on freestanding compilers. */
57952 #ifdef __STDC__
57953 # include <limits.h>
57954 #else
57955 # include <assert.h>
57956 #endif
57958 #undef $ac_func
57960 /* Override any gcc2 internal prototype to avoid an error. */
57961 #ifdef __cplusplus
57962 extern "C"
57964 #endif
57965 /* We use char because int might match the return type of a gcc2
57966 builtin and then its argument prototype would still apply. */
57967 char $ac_func ();
57968 /* The GNU C library defines this for functions which it implements
57969 to always fail with ENOSYS. Some functions are actually named
57970 something starting with __ and the normal name is an alias. */
57971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57972 choke me
57973 #else
57974 char (*f) () = $ac_func;
57975 #endif
57976 #ifdef __cplusplus
57978 #endif
57981 main ()
57983 return f != $ac_func;
57985 return 0;
57987 _ACEOF
57988 rm -f conftest.$ac_objext conftest$ac_exeext
57989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57990 (eval $ac_link) 2>conftest.er1
57991 ac_status=$?
57992 grep -v '^ *+' conftest.er1 >conftest.err
57993 rm -f conftest.er1
57994 cat conftest.err >&5
57995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57996 (exit $ac_status); } &&
57997 { ac_try='test -z "$ac_c_werror_flag"
57998 || test ! -s conftest.err'
57999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58000 (eval $ac_try) 2>&5
58001 ac_status=$?
58002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58003 (exit $ac_status); }; } &&
58004 { ac_try='test -s conftest$ac_exeext'
58005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58006 (eval $ac_try) 2>&5
58007 ac_status=$?
58008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58009 (exit $ac_status); }; }; then
58010 eval "$as_ac_var=yes"
58011 else
58012 echo "$as_me: failed program was:" >&5
58013 sed 's/^/| /' conftest.$ac_ext >&5
58015 eval "$as_ac_var=no"
58017 rm -f conftest.err conftest.$ac_objext \
58018 conftest$ac_exeext conftest.$ac_ext
58020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58022 if test `eval echo '${'$as_ac_var'}'` = yes; then
58023 cat >>confdefs.h <<_ACEOF
58024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58025 _ACEOF
58028 done
58030 else
58032 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
58033 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
58034 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58035 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
58036 echo $ECHO_N "(cached) $ECHO_C" >&6
58037 else
58041 ac_ext=cc
58042 ac_cpp='$CXXCPP $CPPFLAGS'
58043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58047 cat >conftest.$ac_ext <<_ACEOF
58048 /* confdefs.h. */
58049 _ACEOF
58050 cat confdefs.h >>conftest.$ac_ext
58051 cat >>conftest.$ac_ext <<_ACEOF
58052 /* end confdefs.h. */
58053 #include <math.h>
58054 #ifdef HAVE_IEEEFP_H
58055 #include <ieeefp.h>
58056 #endif
58059 main ()
58061 _isinff(0);
58063 return 0;
58065 _ACEOF
58066 rm -f conftest.$ac_objext
58067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58068 (eval $ac_compile) 2>conftest.er1
58069 ac_status=$?
58070 grep -v '^ *+' conftest.er1 >conftest.err
58071 rm -f conftest.er1
58072 cat conftest.err >&5
58073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58074 (exit $ac_status); } &&
58075 { ac_try='test -z "$ac_cxx_werror_flag"
58076 || test ! -s conftest.err'
58077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58078 (eval $ac_try) 2>&5
58079 ac_status=$?
58080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58081 (exit $ac_status); }; } &&
58082 { ac_try='test -s conftest.$ac_objext'
58083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58084 (eval $ac_try) 2>&5
58085 ac_status=$?
58086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58087 (exit $ac_status); }; }; then
58088 glibcxx_cv_func__isinff_use=yes
58089 else
58090 echo "$as_me: failed program was:" >&5
58091 sed 's/^/| /' conftest.$ac_ext >&5
58093 glibcxx_cv_func__isinff_use=no
58095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58096 ac_ext=c
58097 ac_cpp='$CPP $CPPFLAGS'
58098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58106 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58107 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58109 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58111 for ac_func in _isinff
58113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58114 echo "$as_me:$LINENO: checking for $ac_func" >&5
58115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58116 if eval "test \"\${$as_ac_var+set}\" = set"; then
58117 echo $ECHO_N "(cached) $ECHO_C" >&6
58118 else
58119 if test x$gcc_no_link = xyes; then
58120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58122 { (exit 1); exit 1; }; }
58124 cat >conftest.$ac_ext <<_ACEOF
58125 /* confdefs.h. */
58126 _ACEOF
58127 cat confdefs.h >>conftest.$ac_ext
58128 cat >>conftest.$ac_ext <<_ACEOF
58129 /* end confdefs.h. */
58130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58132 #define $ac_func innocuous_$ac_func
58134 /* System header to define __stub macros and hopefully few prototypes,
58135 which can conflict with char $ac_func (); below.
58136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58137 <limits.h> exists even on freestanding compilers. */
58139 #ifdef __STDC__
58140 # include <limits.h>
58141 #else
58142 # include <assert.h>
58143 #endif
58145 #undef $ac_func
58147 /* Override any gcc2 internal prototype to avoid an error. */
58148 #ifdef __cplusplus
58149 extern "C"
58151 #endif
58152 /* We use char because int might match the return type of a gcc2
58153 builtin and then its argument prototype would still apply. */
58154 char $ac_func ();
58155 /* The GNU C library defines this for functions which it implements
58156 to always fail with ENOSYS. Some functions are actually named
58157 something starting with __ and the normal name is an alias. */
58158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58159 choke me
58160 #else
58161 char (*f) () = $ac_func;
58162 #endif
58163 #ifdef __cplusplus
58165 #endif
58168 main ()
58170 return f != $ac_func;
58172 return 0;
58174 _ACEOF
58175 rm -f conftest.$ac_objext conftest$ac_exeext
58176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58177 (eval $ac_link) 2>conftest.er1
58178 ac_status=$?
58179 grep -v '^ *+' conftest.er1 >conftest.err
58180 rm -f conftest.er1
58181 cat conftest.err >&5
58182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58183 (exit $ac_status); } &&
58184 { ac_try='test -z "$ac_c_werror_flag"
58185 || test ! -s conftest.err'
58186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58187 (eval $ac_try) 2>&5
58188 ac_status=$?
58189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58190 (exit $ac_status); }; } &&
58191 { ac_try='test -s conftest$ac_exeext'
58192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58193 (eval $ac_try) 2>&5
58194 ac_status=$?
58195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58196 (exit $ac_status); }; }; then
58197 eval "$as_ac_var=yes"
58198 else
58199 echo "$as_me: failed program was:" >&5
58200 sed 's/^/| /' conftest.$ac_ext >&5
58202 eval "$as_ac_var=no"
58204 rm -f conftest.err conftest.$ac_objext \
58205 conftest$ac_exeext conftest.$ac_ext
58207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58209 if test `eval echo '${'$as_ac_var'}'` = yes; then
58210 cat >>confdefs.h <<_ACEOF
58211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58212 _ACEOF
58215 done
58222 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58223 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58224 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58225 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58226 echo $ECHO_N "(cached) $ECHO_C" >&6
58227 else
58231 ac_ext=cc
58232 ac_cpp='$CXXCPP $CPPFLAGS'
58233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58237 cat >conftest.$ac_ext <<_ACEOF
58238 /* confdefs.h. */
58239 _ACEOF
58240 cat confdefs.h >>conftest.$ac_ext
58241 cat >>conftest.$ac_ext <<_ACEOF
58242 /* end confdefs.h. */
58243 #include <math.h>
58245 main ()
58247 atan2f(0, 0);
58249 return 0;
58251 _ACEOF
58252 rm -f conftest.$ac_objext
58253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58254 (eval $ac_compile) 2>conftest.er1
58255 ac_status=$?
58256 grep -v '^ *+' conftest.er1 >conftest.err
58257 rm -f conftest.er1
58258 cat conftest.err >&5
58259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58260 (exit $ac_status); } &&
58261 { ac_try='test -z "$ac_cxx_werror_flag"
58262 || test ! -s conftest.err'
58263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58264 (eval $ac_try) 2>&5
58265 ac_status=$?
58266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58267 (exit $ac_status); }; } &&
58268 { ac_try='test -s conftest.$ac_objext'
58269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58270 (eval $ac_try) 2>&5
58271 ac_status=$?
58272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58273 (exit $ac_status); }; }; then
58274 glibcxx_cv_func_atan2f_use=yes
58275 else
58276 echo "$as_me: failed program was:" >&5
58277 sed 's/^/| /' conftest.$ac_ext >&5
58279 glibcxx_cv_func_atan2f_use=no
58281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58282 ac_ext=c
58283 ac_cpp='$CPP $CPPFLAGS'
58284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58293 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58295 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58297 for ac_func in atan2f
58299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58300 echo "$as_me:$LINENO: checking for $ac_func" >&5
58301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58302 if eval "test \"\${$as_ac_var+set}\" = set"; then
58303 echo $ECHO_N "(cached) $ECHO_C" >&6
58304 else
58305 if test x$gcc_no_link = xyes; then
58306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58308 { (exit 1); exit 1; }; }
58310 cat >conftest.$ac_ext <<_ACEOF
58311 /* confdefs.h. */
58312 _ACEOF
58313 cat confdefs.h >>conftest.$ac_ext
58314 cat >>conftest.$ac_ext <<_ACEOF
58315 /* end confdefs.h. */
58316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58318 #define $ac_func innocuous_$ac_func
58320 /* System header to define __stub macros and hopefully few prototypes,
58321 which can conflict with char $ac_func (); below.
58322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58323 <limits.h> exists even on freestanding compilers. */
58325 #ifdef __STDC__
58326 # include <limits.h>
58327 #else
58328 # include <assert.h>
58329 #endif
58331 #undef $ac_func
58333 /* Override any gcc2 internal prototype to avoid an error. */
58334 #ifdef __cplusplus
58335 extern "C"
58337 #endif
58338 /* We use char because int might match the return type of a gcc2
58339 builtin and then its argument prototype would still apply. */
58340 char $ac_func ();
58341 /* The GNU C library defines this for functions which it implements
58342 to always fail with ENOSYS. Some functions are actually named
58343 something starting with __ and the normal name is an alias. */
58344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58345 choke me
58346 #else
58347 char (*f) () = $ac_func;
58348 #endif
58349 #ifdef __cplusplus
58351 #endif
58354 main ()
58356 return f != $ac_func;
58358 return 0;
58360 _ACEOF
58361 rm -f conftest.$ac_objext conftest$ac_exeext
58362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58363 (eval $ac_link) 2>conftest.er1
58364 ac_status=$?
58365 grep -v '^ *+' conftest.er1 >conftest.err
58366 rm -f conftest.er1
58367 cat conftest.err >&5
58368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58369 (exit $ac_status); } &&
58370 { ac_try='test -z "$ac_c_werror_flag"
58371 || test ! -s conftest.err'
58372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58373 (eval $ac_try) 2>&5
58374 ac_status=$?
58375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58376 (exit $ac_status); }; } &&
58377 { ac_try='test -s conftest$ac_exeext'
58378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58379 (eval $ac_try) 2>&5
58380 ac_status=$?
58381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58382 (exit $ac_status); }; }; then
58383 eval "$as_ac_var=yes"
58384 else
58385 echo "$as_me: failed program was:" >&5
58386 sed 's/^/| /' conftest.$ac_ext >&5
58388 eval "$as_ac_var=no"
58390 rm -f conftest.err conftest.$ac_objext \
58391 conftest$ac_exeext conftest.$ac_ext
58393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58395 if test `eval echo '${'$as_ac_var'}'` = yes; then
58396 cat >>confdefs.h <<_ACEOF
58397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58398 _ACEOF
58401 done
58403 else
58405 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58406 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58407 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58408 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58409 echo $ECHO_N "(cached) $ECHO_C" >&6
58410 else
58414 ac_ext=cc
58415 ac_cpp='$CXXCPP $CPPFLAGS'
58416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58420 cat >conftest.$ac_ext <<_ACEOF
58421 /* confdefs.h. */
58422 _ACEOF
58423 cat confdefs.h >>conftest.$ac_ext
58424 cat >>conftest.$ac_ext <<_ACEOF
58425 /* end confdefs.h. */
58426 #include <math.h>
58428 main ()
58430 _atan2f(0, 0);
58432 return 0;
58434 _ACEOF
58435 rm -f conftest.$ac_objext
58436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58437 (eval $ac_compile) 2>conftest.er1
58438 ac_status=$?
58439 grep -v '^ *+' conftest.er1 >conftest.err
58440 rm -f conftest.er1
58441 cat conftest.err >&5
58442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58443 (exit $ac_status); } &&
58444 { ac_try='test -z "$ac_cxx_werror_flag"
58445 || test ! -s conftest.err'
58446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58447 (eval $ac_try) 2>&5
58448 ac_status=$?
58449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58450 (exit $ac_status); }; } &&
58451 { ac_try='test -s conftest.$ac_objext'
58452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58453 (eval $ac_try) 2>&5
58454 ac_status=$?
58455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58456 (exit $ac_status); }; }; then
58457 glibcxx_cv_func__atan2f_use=yes
58458 else
58459 echo "$as_me: failed program was:" >&5
58460 sed 's/^/| /' conftest.$ac_ext >&5
58462 glibcxx_cv_func__atan2f_use=no
58464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58465 ac_ext=c
58466 ac_cpp='$CPP $CPPFLAGS'
58467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58476 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58478 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58480 for ac_func in _atan2f
58482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58483 echo "$as_me:$LINENO: checking for $ac_func" >&5
58484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58485 if eval "test \"\${$as_ac_var+set}\" = set"; then
58486 echo $ECHO_N "(cached) $ECHO_C" >&6
58487 else
58488 if test x$gcc_no_link = xyes; then
58489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58491 { (exit 1); exit 1; }; }
58493 cat >conftest.$ac_ext <<_ACEOF
58494 /* confdefs.h. */
58495 _ACEOF
58496 cat confdefs.h >>conftest.$ac_ext
58497 cat >>conftest.$ac_ext <<_ACEOF
58498 /* end confdefs.h. */
58499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58501 #define $ac_func innocuous_$ac_func
58503 /* System header to define __stub macros and hopefully few prototypes,
58504 which can conflict with char $ac_func (); below.
58505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58506 <limits.h> exists even on freestanding compilers. */
58508 #ifdef __STDC__
58509 # include <limits.h>
58510 #else
58511 # include <assert.h>
58512 #endif
58514 #undef $ac_func
58516 /* Override any gcc2 internal prototype to avoid an error. */
58517 #ifdef __cplusplus
58518 extern "C"
58520 #endif
58521 /* We use char because int might match the return type of a gcc2
58522 builtin and then its argument prototype would still apply. */
58523 char $ac_func ();
58524 /* The GNU C library defines this for functions which it implements
58525 to always fail with ENOSYS. Some functions are actually named
58526 something starting with __ and the normal name is an alias. */
58527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58528 choke me
58529 #else
58530 char (*f) () = $ac_func;
58531 #endif
58532 #ifdef __cplusplus
58534 #endif
58537 main ()
58539 return f != $ac_func;
58541 return 0;
58543 _ACEOF
58544 rm -f conftest.$ac_objext conftest$ac_exeext
58545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58546 (eval $ac_link) 2>conftest.er1
58547 ac_status=$?
58548 grep -v '^ *+' conftest.er1 >conftest.err
58549 rm -f conftest.er1
58550 cat conftest.err >&5
58551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58552 (exit $ac_status); } &&
58553 { ac_try='test -z "$ac_c_werror_flag"
58554 || test ! -s conftest.err'
58555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58556 (eval $ac_try) 2>&5
58557 ac_status=$?
58558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58559 (exit $ac_status); }; } &&
58560 { ac_try='test -s conftest$ac_exeext'
58561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58562 (eval $ac_try) 2>&5
58563 ac_status=$?
58564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58565 (exit $ac_status); }; }; then
58566 eval "$as_ac_var=yes"
58567 else
58568 echo "$as_me: failed program was:" >&5
58569 sed 's/^/| /' conftest.$ac_ext >&5
58571 eval "$as_ac_var=no"
58573 rm -f conftest.err conftest.$ac_objext \
58574 conftest$ac_exeext conftest.$ac_ext
58576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58578 if test `eval echo '${'$as_ac_var'}'` = yes; then
58579 cat >>confdefs.h <<_ACEOF
58580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58581 _ACEOF
58584 done
58591 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58592 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58593 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58594 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58595 echo $ECHO_N "(cached) $ECHO_C" >&6
58596 else
58600 ac_ext=cc
58601 ac_cpp='$CXXCPP $CPPFLAGS'
58602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58606 cat >conftest.$ac_ext <<_ACEOF
58607 /* confdefs.h. */
58608 _ACEOF
58609 cat confdefs.h >>conftest.$ac_ext
58610 cat >>conftest.$ac_ext <<_ACEOF
58611 /* end confdefs.h. */
58612 #include <math.h>
58613 #ifdef HAVE_IEEEFP_H
58614 #include <ieeefp.h>
58615 #endif
58618 main ()
58620 fabsf(0);
58622 return 0;
58624 _ACEOF
58625 rm -f conftest.$ac_objext
58626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58627 (eval $ac_compile) 2>conftest.er1
58628 ac_status=$?
58629 grep -v '^ *+' conftest.er1 >conftest.err
58630 rm -f conftest.er1
58631 cat conftest.err >&5
58632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58633 (exit $ac_status); } &&
58634 { ac_try='test -z "$ac_cxx_werror_flag"
58635 || test ! -s conftest.err'
58636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58637 (eval $ac_try) 2>&5
58638 ac_status=$?
58639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58640 (exit $ac_status); }; } &&
58641 { ac_try='test -s conftest.$ac_objext'
58642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58643 (eval $ac_try) 2>&5
58644 ac_status=$?
58645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58646 (exit $ac_status); }; }; then
58647 glibcxx_cv_func_fabsf_use=yes
58648 else
58649 echo "$as_me: failed program was:" >&5
58650 sed 's/^/| /' conftest.$ac_ext >&5
58652 glibcxx_cv_func_fabsf_use=no
58654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58655 ac_ext=c
58656 ac_cpp='$CPP $CPPFLAGS'
58657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58665 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58666 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58668 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58670 for ac_func in fabsf
58672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58673 echo "$as_me:$LINENO: checking for $ac_func" >&5
58674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58675 if eval "test \"\${$as_ac_var+set}\" = set"; then
58676 echo $ECHO_N "(cached) $ECHO_C" >&6
58677 else
58678 if test x$gcc_no_link = xyes; then
58679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58681 { (exit 1); exit 1; }; }
58683 cat >conftest.$ac_ext <<_ACEOF
58684 /* confdefs.h. */
58685 _ACEOF
58686 cat confdefs.h >>conftest.$ac_ext
58687 cat >>conftest.$ac_ext <<_ACEOF
58688 /* end confdefs.h. */
58689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58691 #define $ac_func innocuous_$ac_func
58693 /* System header to define __stub macros and hopefully few prototypes,
58694 which can conflict with char $ac_func (); below.
58695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58696 <limits.h> exists even on freestanding compilers. */
58698 #ifdef __STDC__
58699 # include <limits.h>
58700 #else
58701 # include <assert.h>
58702 #endif
58704 #undef $ac_func
58706 /* Override any gcc2 internal prototype to avoid an error. */
58707 #ifdef __cplusplus
58708 extern "C"
58710 #endif
58711 /* We use char because int might match the return type of a gcc2
58712 builtin and then its argument prototype would still apply. */
58713 char $ac_func ();
58714 /* The GNU C library defines this for functions which it implements
58715 to always fail with ENOSYS. Some functions are actually named
58716 something starting with __ and the normal name is an alias. */
58717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58718 choke me
58719 #else
58720 char (*f) () = $ac_func;
58721 #endif
58722 #ifdef __cplusplus
58724 #endif
58727 main ()
58729 return f != $ac_func;
58731 return 0;
58733 _ACEOF
58734 rm -f conftest.$ac_objext conftest$ac_exeext
58735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58736 (eval $ac_link) 2>conftest.er1
58737 ac_status=$?
58738 grep -v '^ *+' conftest.er1 >conftest.err
58739 rm -f conftest.er1
58740 cat conftest.err >&5
58741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58742 (exit $ac_status); } &&
58743 { ac_try='test -z "$ac_c_werror_flag"
58744 || test ! -s conftest.err'
58745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58746 (eval $ac_try) 2>&5
58747 ac_status=$?
58748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58749 (exit $ac_status); }; } &&
58750 { ac_try='test -s conftest$ac_exeext'
58751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58752 (eval $ac_try) 2>&5
58753 ac_status=$?
58754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58755 (exit $ac_status); }; }; then
58756 eval "$as_ac_var=yes"
58757 else
58758 echo "$as_me: failed program was:" >&5
58759 sed 's/^/| /' conftest.$ac_ext >&5
58761 eval "$as_ac_var=no"
58763 rm -f conftest.err conftest.$ac_objext \
58764 conftest$ac_exeext conftest.$ac_ext
58766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58768 if test `eval echo '${'$as_ac_var'}'` = yes; then
58769 cat >>confdefs.h <<_ACEOF
58770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58771 _ACEOF
58774 done
58776 else
58778 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58779 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58780 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58781 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58782 echo $ECHO_N "(cached) $ECHO_C" >&6
58783 else
58787 ac_ext=cc
58788 ac_cpp='$CXXCPP $CPPFLAGS'
58789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58793 cat >conftest.$ac_ext <<_ACEOF
58794 /* confdefs.h. */
58795 _ACEOF
58796 cat confdefs.h >>conftest.$ac_ext
58797 cat >>conftest.$ac_ext <<_ACEOF
58798 /* end confdefs.h. */
58799 #include <math.h>
58800 #ifdef HAVE_IEEEFP_H
58801 #include <ieeefp.h>
58802 #endif
58805 main ()
58807 _fabsf(0);
58809 return 0;
58811 _ACEOF
58812 rm -f conftest.$ac_objext
58813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58814 (eval $ac_compile) 2>conftest.er1
58815 ac_status=$?
58816 grep -v '^ *+' conftest.er1 >conftest.err
58817 rm -f conftest.er1
58818 cat conftest.err >&5
58819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58820 (exit $ac_status); } &&
58821 { ac_try='test -z "$ac_cxx_werror_flag"
58822 || test ! -s conftest.err'
58823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58824 (eval $ac_try) 2>&5
58825 ac_status=$?
58826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58827 (exit $ac_status); }; } &&
58828 { ac_try='test -s conftest.$ac_objext'
58829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58830 (eval $ac_try) 2>&5
58831 ac_status=$?
58832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58833 (exit $ac_status); }; }; then
58834 glibcxx_cv_func__fabsf_use=yes
58835 else
58836 echo "$as_me: failed program was:" >&5
58837 sed 's/^/| /' conftest.$ac_ext >&5
58839 glibcxx_cv_func__fabsf_use=no
58841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58842 ac_ext=c
58843 ac_cpp='$CPP $CPPFLAGS'
58844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58852 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58853 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58855 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58857 for ac_func in _fabsf
58859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58860 echo "$as_me:$LINENO: checking for $ac_func" >&5
58861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58862 if eval "test \"\${$as_ac_var+set}\" = set"; then
58863 echo $ECHO_N "(cached) $ECHO_C" >&6
58864 else
58865 if test x$gcc_no_link = xyes; then
58866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58868 { (exit 1); exit 1; }; }
58870 cat >conftest.$ac_ext <<_ACEOF
58871 /* confdefs.h. */
58872 _ACEOF
58873 cat confdefs.h >>conftest.$ac_ext
58874 cat >>conftest.$ac_ext <<_ACEOF
58875 /* end confdefs.h. */
58876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58878 #define $ac_func innocuous_$ac_func
58880 /* System header to define __stub macros and hopefully few prototypes,
58881 which can conflict with char $ac_func (); below.
58882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58883 <limits.h> exists even on freestanding compilers. */
58885 #ifdef __STDC__
58886 # include <limits.h>
58887 #else
58888 # include <assert.h>
58889 #endif
58891 #undef $ac_func
58893 /* Override any gcc2 internal prototype to avoid an error. */
58894 #ifdef __cplusplus
58895 extern "C"
58897 #endif
58898 /* We use char because int might match the return type of a gcc2
58899 builtin and then its argument prototype would still apply. */
58900 char $ac_func ();
58901 /* The GNU C library defines this for functions which it implements
58902 to always fail with ENOSYS. Some functions are actually named
58903 something starting with __ and the normal name is an alias. */
58904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58905 choke me
58906 #else
58907 char (*f) () = $ac_func;
58908 #endif
58909 #ifdef __cplusplus
58911 #endif
58914 main ()
58916 return f != $ac_func;
58918 return 0;
58920 _ACEOF
58921 rm -f conftest.$ac_objext conftest$ac_exeext
58922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58923 (eval $ac_link) 2>conftest.er1
58924 ac_status=$?
58925 grep -v '^ *+' conftest.er1 >conftest.err
58926 rm -f conftest.er1
58927 cat conftest.err >&5
58928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58929 (exit $ac_status); } &&
58930 { ac_try='test -z "$ac_c_werror_flag"
58931 || test ! -s conftest.err'
58932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58933 (eval $ac_try) 2>&5
58934 ac_status=$?
58935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58936 (exit $ac_status); }; } &&
58937 { ac_try='test -s conftest$ac_exeext'
58938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58939 (eval $ac_try) 2>&5
58940 ac_status=$?
58941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58942 (exit $ac_status); }; }; then
58943 eval "$as_ac_var=yes"
58944 else
58945 echo "$as_me: failed program was:" >&5
58946 sed 's/^/| /' conftest.$ac_ext >&5
58948 eval "$as_ac_var=no"
58950 rm -f conftest.err conftest.$ac_objext \
58951 conftest$ac_exeext conftest.$ac_ext
58953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58955 if test `eval echo '${'$as_ac_var'}'` = yes; then
58956 cat >>confdefs.h <<_ACEOF
58957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58958 _ACEOF
58961 done
58968 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58969 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58970 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58971 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58972 echo $ECHO_N "(cached) $ECHO_C" >&6
58973 else
58977 ac_ext=cc
58978 ac_cpp='$CXXCPP $CPPFLAGS'
58979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58983 cat >conftest.$ac_ext <<_ACEOF
58984 /* confdefs.h. */
58985 _ACEOF
58986 cat confdefs.h >>conftest.$ac_ext
58987 cat >>conftest.$ac_ext <<_ACEOF
58988 /* end confdefs.h. */
58989 #include <math.h>
58991 main ()
58993 fmodf(0, 0);
58995 return 0;
58997 _ACEOF
58998 rm -f conftest.$ac_objext
58999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59000 (eval $ac_compile) 2>conftest.er1
59001 ac_status=$?
59002 grep -v '^ *+' conftest.er1 >conftest.err
59003 rm -f conftest.er1
59004 cat conftest.err >&5
59005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59006 (exit $ac_status); } &&
59007 { ac_try='test -z "$ac_cxx_werror_flag"
59008 || test ! -s conftest.err'
59009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59010 (eval $ac_try) 2>&5
59011 ac_status=$?
59012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59013 (exit $ac_status); }; } &&
59014 { ac_try='test -s conftest.$ac_objext'
59015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59016 (eval $ac_try) 2>&5
59017 ac_status=$?
59018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59019 (exit $ac_status); }; }; then
59020 glibcxx_cv_func_fmodf_use=yes
59021 else
59022 echo "$as_me: failed program was:" >&5
59023 sed 's/^/| /' conftest.$ac_ext >&5
59025 glibcxx_cv_func_fmodf_use=no
59027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59028 ac_ext=c
59029 ac_cpp='$CPP $CPPFLAGS'
59030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59038 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
59039 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
59041 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59043 for ac_func in fmodf
59045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59046 echo "$as_me:$LINENO: checking for $ac_func" >&5
59047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59048 if eval "test \"\${$as_ac_var+set}\" = set"; then
59049 echo $ECHO_N "(cached) $ECHO_C" >&6
59050 else
59051 if test x$gcc_no_link = xyes; then
59052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59054 { (exit 1); exit 1; }; }
59056 cat >conftest.$ac_ext <<_ACEOF
59057 /* confdefs.h. */
59058 _ACEOF
59059 cat confdefs.h >>conftest.$ac_ext
59060 cat >>conftest.$ac_ext <<_ACEOF
59061 /* end confdefs.h. */
59062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59064 #define $ac_func innocuous_$ac_func
59066 /* System header to define __stub macros and hopefully few prototypes,
59067 which can conflict with char $ac_func (); below.
59068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59069 <limits.h> exists even on freestanding compilers. */
59071 #ifdef __STDC__
59072 # include <limits.h>
59073 #else
59074 # include <assert.h>
59075 #endif
59077 #undef $ac_func
59079 /* Override any gcc2 internal prototype to avoid an error. */
59080 #ifdef __cplusplus
59081 extern "C"
59083 #endif
59084 /* We use char because int might match the return type of a gcc2
59085 builtin and then its argument prototype would still apply. */
59086 char $ac_func ();
59087 /* The GNU C library defines this for functions which it implements
59088 to always fail with ENOSYS. Some functions are actually named
59089 something starting with __ and the normal name is an alias. */
59090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59091 choke me
59092 #else
59093 char (*f) () = $ac_func;
59094 #endif
59095 #ifdef __cplusplus
59097 #endif
59100 main ()
59102 return f != $ac_func;
59104 return 0;
59106 _ACEOF
59107 rm -f conftest.$ac_objext conftest$ac_exeext
59108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59109 (eval $ac_link) 2>conftest.er1
59110 ac_status=$?
59111 grep -v '^ *+' conftest.er1 >conftest.err
59112 rm -f conftest.er1
59113 cat conftest.err >&5
59114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59115 (exit $ac_status); } &&
59116 { ac_try='test -z "$ac_c_werror_flag"
59117 || test ! -s conftest.err'
59118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59119 (eval $ac_try) 2>&5
59120 ac_status=$?
59121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59122 (exit $ac_status); }; } &&
59123 { ac_try='test -s conftest$ac_exeext'
59124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59125 (eval $ac_try) 2>&5
59126 ac_status=$?
59127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59128 (exit $ac_status); }; }; then
59129 eval "$as_ac_var=yes"
59130 else
59131 echo "$as_me: failed program was:" >&5
59132 sed 's/^/| /' conftest.$ac_ext >&5
59134 eval "$as_ac_var=no"
59136 rm -f conftest.err conftest.$ac_objext \
59137 conftest$ac_exeext conftest.$ac_ext
59139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59141 if test `eval echo '${'$as_ac_var'}'` = yes; then
59142 cat >>confdefs.h <<_ACEOF
59143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59144 _ACEOF
59147 done
59149 else
59151 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59152 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59153 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59154 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59155 echo $ECHO_N "(cached) $ECHO_C" >&6
59156 else
59160 ac_ext=cc
59161 ac_cpp='$CXXCPP $CPPFLAGS'
59162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59166 cat >conftest.$ac_ext <<_ACEOF
59167 /* confdefs.h. */
59168 _ACEOF
59169 cat confdefs.h >>conftest.$ac_ext
59170 cat >>conftest.$ac_ext <<_ACEOF
59171 /* end confdefs.h. */
59172 #include <math.h>
59174 main ()
59176 _fmodf(0, 0);
59178 return 0;
59180 _ACEOF
59181 rm -f conftest.$ac_objext
59182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59183 (eval $ac_compile) 2>conftest.er1
59184 ac_status=$?
59185 grep -v '^ *+' conftest.er1 >conftest.err
59186 rm -f conftest.er1
59187 cat conftest.err >&5
59188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59189 (exit $ac_status); } &&
59190 { ac_try='test -z "$ac_cxx_werror_flag"
59191 || test ! -s conftest.err'
59192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59193 (eval $ac_try) 2>&5
59194 ac_status=$?
59195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59196 (exit $ac_status); }; } &&
59197 { ac_try='test -s conftest.$ac_objext'
59198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59199 (eval $ac_try) 2>&5
59200 ac_status=$?
59201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59202 (exit $ac_status); }; }; then
59203 glibcxx_cv_func__fmodf_use=yes
59204 else
59205 echo "$as_me: failed program was:" >&5
59206 sed 's/^/| /' conftest.$ac_ext >&5
59208 glibcxx_cv_func__fmodf_use=no
59210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59211 ac_ext=c
59212 ac_cpp='$CPP $CPPFLAGS'
59213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59221 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59222 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59224 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59226 for ac_func in _fmodf
59228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59229 echo "$as_me:$LINENO: checking for $ac_func" >&5
59230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59231 if eval "test \"\${$as_ac_var+set}\" = set"; then
59232 echo $ECHO_N "(cached) $ECHO_C" >&6
59233 else
59234 if test x$gcc_no_link = xyes; then
59235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59237 { (exit 1); exit 1; }; }
59239 cat >conftest.$ac_ext <<_ACEOF
59240 /* confdefs.h. */
59241 _ACEOF
59242 cat confdefs.h >>conftest.$ac_ext
59243 cat >>conftest.$ac_ext <<_ACEOF
59244 /* end confdefs.h. */
59245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59247 #define $ac_func innocuous_$ac_func
59249 /* System header to define __stub macros and hopefully few prototypes,
59250 which can conflict with char $ac_func (); below.
59251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59252 <limits.h> exists even on freestanding compilers. */
59254 #ifdef __STDC__
59255 # include <limits.h>
59256 #else
59257 # include <assert.h>
59258 #endif
59260 #undef $ac_func
59262 /* Override any gcc2 internal prototype to avoid an error. */
59263 #ifdef __cplusplus
59264 extern "C"
59266 #endif
59267 /* We use char because int might match the return type of a gcc2
59268 builtin and then its argument prototype would still apply. */
59269 char $ac_func ();
59270 /* The GNU C library defines this for functions which it implements
59271 to always fail with ENOSYS. Some functions are actually named
59272 something starting with __ and the normal name is an alias. */
59273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59274 choke me
59275 #else
59276 char (*f) () = $ac_func;
59277 #endif
59278 #ifdef __cplusplus
59280 #endif
59283 main ()
59285 return f != $ac_func;
59287 return 0;
59289 _ACEOF
59290 rm -f conftest.$ac_objext conftest$ac_exeext
59291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59292 (eval $ac_link) 2>conftest.er1
59293 ac_status=$?
59294 grep -v '^ *+' conftest.er1 >conftest.err
59295 rm -f conftest.er1
59296 cat conftest.err >&5
59297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59298 (exit $ac_status); } &&
59299 { ac_try='test -z "$ac_c_werror_flag"
59300 || test ! -s conftest.err'
59301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59302 (eval $ac_try) 2>&5
59303 ac_status=$?
59304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59305 (exit $ac_status); }; } &&
59306 { ac_try='test -s conftest$ac_exeext'
59307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59308 (eval $ac_try) 2>&5
59309 ac_status=$?
59310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59311 (exit $ac_status); }; }; then
59312 eval "$as_ac_var=yes"
59313 else
59314 echo "$as_me: failed program was:" >&5
59315 sed 's/^/| /' conftest.$ac_ext >&5
59317 eval "$as_ac_var=no"
59319 rm -f conftest.err conftest.$ac_objext \
59320 conftest$ac_exeext conftest.$ac_ext
59322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59324 if test `eval echo '${'$as_ac_var'}'` = yes; then
59325 cat >>confdefs.h <<_ACEOF
59326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59327 _ACEOF
59330 done
59337 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59338 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59339 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59340 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59341 echo $ECHO_N "(cached) $ECHO_C" >&6
59342 else
59346 ac_ext=cc
59347 ac_cpp='$CXXCPP $CPPFLAGS'
59348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59352 cat >conftest.$ac_ext <<_ACEOF
59353 /* confdefs.h. */
59354 _ACEOF
59355 cat confdefs.h >>conftest.$ac_ext
59356 cat >>conftest.$ac_ext <<_ACEOF
59357 /* end confdefs.h. */
59358 #include <math.h>
59360 main ()
59362 frexpf(0, 0);
59364 return 0;
59366 _ACEOF
59367 rm -f conftest.$ac_objext
59368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59369 (eval $ac_compile) 2>conftest.er1
59370 ac_status=$?
59371 grep -v '^ *+' conftest.er1 >conftest.err
59372 rm -f conftest.er1
59373 cat conftest.err >&5
59374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59375 (exit $ac_status); } &&
59376 { ac_try='test -z "$ac_cxx_werror_flag"
59377 || test ! -s conftest.err'
59378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59379 (eval $ac_try) 2>&5
59380 ac_status=$?
59381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59382 (exit $ac_status); }; } &&
59383 { ac_try='test -s conftest.$ac_objext'
59384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59385 (eval $ac_try) 2>&5
59386 ac_status=$?
59387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59388 (exit $ac_status); }; }; then
59389 glibcxx_cv_func_frexpf_use=yes
59390 else
59391 echo "$as_me: failed program was:" >&5
59392 sed 's/^/| /' conftest.$ac_ext >&5
59394 glibcxx_cv_func_frexpf_use=no
59396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59397 ac_ext=c
59398 ac_cpp='$CPP $CPPFLAGS'
59399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59407 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59408 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59410 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59412 for ac_func in frexpf
59414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59415 echo "$as_me:$LINENO: checking for $ac_func" >&5
59416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59417 if eval "test \"\${$as_ac_var+set}\" = set"; then
59418 echo $ECHO_N "(cached) $ECHO_C" >&6
59419 else
59420 if test x$gcc_no_link = xyes; then
59421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59423 { (exit 1); exit 1; }; }
59425 cat >conftest.$ac_ext <<_ACEOF
59426 /* confdefs.h. */
59427 _ACEOF
59428 cat confdefs.h >>conftest.$ac_ext
59429 cat >>conftest.$ac_ext <<_ACEOF
59430 /* end confdefs.h. */
59431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59433 #define $ac_func innocuous_$ac_func
59435 /* System header to define __stub macros and hopefully few prototypes,
59436 which can conflict with char $ac_func (); below.
59437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59438 <limits.h> exists even on freestanding compilers. */
59440 #ifdef __STDC__
59441 # include <limits.h>
59442 #else
59443 # include <assert.h>
59444 #endif
59446 #undef $ac_func
59448 /* Override any gcc2 internal prototype to avoid an error. */
59449 #ifdef __cplusplus
59450 extern "C"
59452 #endif
59453 /* We use char because int might match the return type of a gcc2
59454 builtin and then its argument prototype would still apply. */
59455 char $ac_func ();
59456 /* The GNU C library defines this for functions which it implements
59457 to always fail with ENOSYS. Some functions are actually named
59458 something starting with __ and the normal name is an alias. */
59459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59460 choke me
59461 #else
59462 char (*f) () = $ac_func;
59463 #endif
59464 #ifdef __cplusplus
59466 #endif
59469 main ()
59471 return f != $ac_func;
59473 return 0;
59475 _ACEOF
59476 rm -f conftest.$ac_objext conftest$ac_exeext
59477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59478 (eval $ac_link) 2>conftest.er1
59479 ac_status=$?
59480 grep -v '^ *+' conftest.er1 >conftest.err
59481 rm -f conftest.er1
59482 cat conftest.err >&5
59483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59484 (exit $ac_status); } &&
59485 { ac_try='test -z "$ac_c_werror_flag"
59486 || test ! -s conftest.err'
59487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59488 (eval $ac_try) 2>&5
59489 ac_status=$?
59490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59491 (exit $ac_status); }; } &&
59492 { ac_try='test -s conftest$ac_exeext'
59493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59494 (eval $ac_try) 2>&5
59495 ac_status=$?
59496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59497 (exit $ac_status); }; }; then
59498 eval "$as_ac_var=yes"
59499 else
59500 echo "$as_me: failed program was:" >&5
59501 sed 's/^/| /' conftest.$ac_ext >&5
59503 eval "$as_ac_var=no"
59505 rm -f conftest.err conftest.$ac_objext \
59506 conftest$ac_exeext conftest.$ac_ext
59508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59510 if test `eval echo '${'$as_ac_var'}'` = yes; then
59511 cat >>confdefs.h <<_ACEOF
59512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59513 _ACEOF
59516 done
59518 else
59520 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59521 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59522 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59523 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59524 echo $ECHO_N "(cached) $ECHO_C" >&6
59525 else
59529 ac_ext=cc
59530 ac_cpp='$CXXCPP $CPPFLAGS'
59531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59535 cat >conftest.$ac_ext <<_ACEOF
59536 /* confdefs.h. */
59537 _ACEOF
59538 cat confdefs.h >>conftest.$ac_ext
59539 cat >>conftest.$ac_ext <<_ACEOF
59540 /* end confdefs.h. */
59541 #include <math.h>
59543 main ()
59545 _frexpf(0, 0);
59547 return 0;
59549 _ACEOF
59550 rm -f conftest.$ac_objext
59551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59552 (eval $ac_compile) 2>conftest.er1
59553 ac_status=$?
59554 grep -v '^ *+' conftest.er1 >conftest.err
59555 rm -f conftest.er1
59556 cat conftest.err >&5
59557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59558 (exit $ac_status); } &&
59559 { ac_try='test -z "$ac_cxx_werror_flag"
59560 || test ! -s conftest.err'
59561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59562 (eval $ac_try) 2>&5
59563 ac_status=$?
59564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59565 (exit $ac_status); }; } &&
59566 { ac_try='test -s conftest.$ac_objext'
59567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59568 (eval $ac_try) 2>&5
59569 ac_status=$?
59570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59571 (exit $ac_status); }; }; then
59572 glibcxx_cv_func__frexpf_use=yes
59573 else
59574 echo "$as_me: failed program was:" >&5
59575 sed 's/^/| /' conftest.$ac_ext >&5
59577 glibcxx_cv_func__frexpf_use=no
59579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59580 ac_ext=c
59581 ac_cpp='$CPP $CPPFLAGS'
59582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59590 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59591 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59593 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59595 for ac_func in _frexpf
59597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59598 echo "$as_me:$LINENO: checking for $ac_func" >&5
59599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59600 if eval "test \"\${$as_ac_var+set}\" = set"; then
59601 echo $ECHO_N "(cached) $ECHO_C" >&6
59602 else
59603 if test x$gcc_no_link = xyes; then
59604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59606 { (exit 1); exit 1; }; }
59608 cat >conftest.$ac_ext <<_ACEOF
59609 /* confdefs.h. */
59610 _ACEOF
59611 cat confdefs.h >>conftest.$ac_ext
59612 cat >>conftest.$ac_ext <<_ACEOF
59613 /* end confdefs.h. */
59614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59616 #define $ac_func innocuous_$ac_func
59618 /* System header to define __stub macros and hopefully few prototypes,
59619 which can conflict with char $ac_func (); below.
59620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59621 <limits.h> exists even on freestanding compilers. */
59623 #ifdef __STDC__
59624 # include <limits.h>
59625 #else
59626 # include <assert.h>
59627 #endif
59629 #undef $ac_func
59631 /* Override any gcc2 internal prototype to avoid an error. */
59632 #ifdef __cplusplus
59633 extern "C"
59635 #endif
59636 /* We use char because int might match the return type of a gcc2
59637 builtin and then its argument prototype would still apply. */
59638 char $ac_func ();
59639 /* The GNU C library defines this for functions which it implements
59640 to always fail with ENOSYS. Some functions are actually named
59641 something starting with __ and the normal name is an alias. */
59642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59643 choke me
59644 #else
59645 char (*f) () = $ac_func;
59646 #endif
59647 #ifdef __cplusplus
59649 #endif
59652 main ()
59654 return f != $ac_func;
59656 return 0;
59658 _ACEOF
59659 rm -f conftest.$ac_objext conftest$ac_exeext
59660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59661 (eval $ac_link) 2>conftest.er1
59662 ac_status=$?
59663 grep -v '^ *+' conftest.er1 >conftest.err
59664 rm -f conftest.er1
59665 cat conftest.err >&5
59666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59667 (exit $ac_status); } &&
59668 { ac_try='test -z "$ac_c_werror_flag"
59669 || test ! -s conftest.err'
59670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59671 (eval $ac_try) 2>&5
59672 ac_status=$?
59673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59674 (exit $ac_status); }; } &&
59675 { ac_try='test -s conftest$ac_exeext'
59676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59677 (eval $ac_try) 2>&5
59678 ac_status=$?
59679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59680 (exit $ac_status); }; }; then
59681 eval "$as_ac_var=yes"
59682 else
59683 echo "$as_me: failed program was:" >&5
59684 sed 's/^/| /' conftest.$ac_ext >&5
59686 eval "$as_ac_var=no"
59688 rm -f conftest.err conftest.$ac_objext \
59689 conftest$ac_exeext conftest.$ac_ext
59691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59693 if test `eval echo '${'$as_ac_var'}'` = yes; then
59694 cat >>confdefs.h <<_ACEOF
59695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59696 _ACEOF
59699 done
59706 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59707 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59708 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59709 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59710 echo $ECHO_N "(cached) $ECHO_C" >&6
59711 else
59715 ac_ext=cc
59716 ac_cpp='$CXXCPP $CPPFLAGS'
59717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59721 cat >conftest.$ac_ext <<_ACEOF
59722 /* confdefs.h. */
59723 _ACEOF
59724 cat confdefs.h >>conftest.$ac_ext
59725 cat >>conftest.$ac_ext <<_ACEOF
59726 /* end confdefs.h. */
59727 #include <math.h>
59729 main ()
59731 hypotf(0, 0);
59733 return 0;
59735 _ACEOF
59736 rm -f conftest.$ac_objext
59737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59738 (eval $ac_compile) 2>conftest.er1
59739 ac_status=$?
59740 grep -v '^ *+' conftest.er1 >conftest.err
59741 rm -f conftest.er1
59742 cat conftest.err >&5
59743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59744 (exit $ac_status); } &&
59745 { ac_try='test -z "$ac_cxx_werror_flag"
59746 || test ! -s conftest.err'
59747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59748 (eval $ac_try) 2>&5
59749 ac_status=$?
59750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59751 (exit $ac_status); }; } &&
59752 { ac_try='test -s conftest.$ac_objext'
59753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59754 (eval $ac_try) 2>&5
59755 ac_status=$?
59756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59757 (exit $ac_status); }; }; then
59758 glibcxx_cv_func_hypotf_use=yes
59759 else
59760 echo "$as_me: failed program was:" >&5
59761 sed 's/^/| /' conftest.$ac_ext >&5
59763 glibcxx_cv_func_hypotf_use=no
59765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59766 ac_ext=c
59767 ac_cpp='$CPP $CPPFLAGS'
59768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59776 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59777 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59779 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59781 for ac_func in hypotf
59783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59784 echo "$as_me:$LINENO: checking for $ac_func" >&5
59785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59786 if eval "test \"\${$as_ac_var+set}\" = set"; then
59787 echo $ECHO_N "(cached) $ECHO_C" >&6
59788 else
59789 if test x$gcc_no_link = xyes; then
59790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59792 { (exit 1); exit 1; }; }
59794 cat >conftest.$ac_ext <<_ACEOF
59795 /* confdefs.h. */
59796 _ACEOF
59797 cat confdefs.h >>conftest.$ac_ext
59798 cat >>conftest.$ac_ext <<_ACEOF
59799 /* end confdefs.h. */
59800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59802 #define $ac_func innocuous_$ac_func
59804 /* System header to define __stub macros and hopefully few prototypes,
59805 which can conflict with char $ac_func (); below.
59806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59807 <limits.h> exists even on freestanding compilers. */
59809 #ifdef __STDC__
59810 # include <limits.h>
59811 #else
59812 # include <assert.h>
59813 #endif
59815 #undef $ac_func
59817 /* Override any gcc2 internal prototype to avoid an error. */
59818 #ifdef __cplusplus
59819 extern "C"
59821 #endif
59822 /* We use char because int might match the return type of a gcc2
59823 builtin and then its argument prototype would still apply. */
59824 char $ac_func ();
59825 /* The GNU C library defines this for functions which it implements
59826 to always fail with ENOSYS. Some functions are actually named
59827 something starting with __ and the normal name is an alias. */
59828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59829 choke me
59830 #else
59831 char (*f) () = $ac_func;
59832 #endif
59833 #ifdef __cplusplus
59835 #endif
59838 main ()
59840 return f != $ac_func;
59842 return 0;
59844 _ACEOF
59845 rm -f conftest.$ac_objext conftest$ac_exeext
59846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59847 (eval $ac_link) 2>conftest.er1
59848 ac_status=$?
59849 grep -v '^ *+' conftest.er1 >conftest.err
59850 rm -f conftest.er1
59851 cat conftest.err >&5
59852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59853 (exit $ac_status); } &&
59854 { ac_try='test -z "$ac_c_werror_flag"
59855 || test ! -s conftest.err'
59856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59857 (eval $ac_try) 2>&5
59858 ac_status=$?
59859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59860 (exit $ac_status); }; } &&
59861 { ac_try='test -s conftest$ac_exeext'
59862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59863 (eval $ac_try) 2>&5
59864 ac_status=$?
59865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59866 (exit $ac_status); }; }; then
59867 eval "$as_ac_var=yes"
59868 else
59869 echo "$as_me: failed program was:" >&5
59870 sed 's/^/| /' conftest.$ac_ext >&5
59872 eval "$as_ac_var=no"
59874 rm -f conftest.err conftest.$ac_objext \
59875 conftest$ac_exeext conftest.$ac_ext
59877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59879 if test `eval echo '${'$as_ac_var'}'` = yes; then
59880 cat >>confdefs.h <<_ACEOF
59881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59882 _ACEOF
59885 done
59887 else
59889 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59890 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59891 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59892 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59893 echo $ECHO_N "(cached) $ECHO_C" >&6
59894 else
59898 ac_ext=cc
59899 ac_cpp='$CXXCPP $CPPFLAGS'
59900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59904 cat >conftest.$ac_ext <<_ACEOF
59905 /* confdefs.h. */
59906 _ACEOF
59907 cat confdefs.h >>conftest.$ac_ext
59908 cat >>conftest.$ac_ext <<_ACEOF
59909 /* end confdefs.h. */
59910 #include <math.h>
59912 main ()
59914 _hypotf(0, 0);
59916 return 0;
59918 _ACEOF
59919 rm -f conftest.$ac_objext
59920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59921 (eval $ac_compile) 2>conftest.er1
59922 ac_status=$?
59923 grep -v '^ *+' conftest.er1 >conftest.err
59924 rm -f conftest.er1
59925 cat conftest.err >&5
59926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59927 (exit $ac_status); } &&
59928 { ac_try='test -z "$ac_cxx_werror_flag"
59929 || test ! -s conftest.err'
59930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59931 (eval $ac_try) 2>&5
59932 ac_status=$?
59933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59934 (exit $ac_status); }; } &&
59935 { ac_try='test -s conftest.$ac_objext'
59936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59937 (eval $ac_try) 2>&5
59938 ac_status=$?
59939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59940 (exit $ac_status); }; }; then
59941 glibcxx_cv_func__hypotf_use=yes
59942 else
59943 echo "$as_me: failed program was:" >&5
59944 sed 's/^/| /' conftest.$ac_ext >&5
59946 glibcxx_cv_func__hypotf_use=no
59948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59949 ac_ext=c
59950 ac_cpp='$CPP $CPPFLAGS'
59951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59959 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59960 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59962 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59964 for ac_func in _hypotf
59966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59967 echo "$as_me:$LINENO: checking for $ac_func" >&5
59968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59969 if eval "test \"\${$as_ac_var+set}\" = set"; then
59970 echo $ECHO_N "(cached) $ECHO_C" >&6
59971 else
59972 if test x$gcc_no_link = xyes; then
59973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59975 { (exit 1); exit 1; }; }
59977 cat >conftest.$ac_ext <<_ACEOF
59978 /* confdefs.h. */
59979 _ACEOF
59980 cat confdefs.h >>conftest.$ac_ext
59981 cat >>conftest.$ac_ext <<_ACEOF
59982 /* end confdefs.h. */
59983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59985 #define $ac_func innocuous_$ac_func
59987 /* System header to define __stub macros and hopefully few prototypes,
59988 which can conflict with char $ac_func (); below.
59989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59990 <limits.h> exists even on freestanding compilers. */
59992 #ifdef __STDC__
59993 # include <limits.h>
59994 #else
59995 # include <assert.h>
59996 #endif
59998 #undef $ac_func
60000 /* Override any gcc2 internal prototype to avoid an error. */
60001 #ifdef __cplusplus
60002 extern "C"
60004 #endif
60005 /* We use char because int might match the return type of a gcc2
60006 builtin and then its argument prototype would still apply. */
60007 char $ac_func ();
60008 /* The GNU C library defines this for functions which it implements
60009 to always fail with ENOSYS. Some functions are actually named
60010 something starting with __ and the normal name is an alias. */
60011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60012 choke me
60013 #else
60014 char (*f) () = $ac_func;
60015 #endif
60016 #ifdef __cplusplus
60018 #endif
60021 main ()
60023 return f != $ac_func;
60025 return 0;
60027 _ACEOF
60028 rm -f conftest.$ac_objext conftest$ac_exeext
60029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60030 (eval $ac_link) 2>conftest.er1
60031 ac_status=$?
60032 grep -v '^ *+' conftest.er1 >conftest.err
60033 rm -f conftest.er1
60034 cat conftest.err >&5
60035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60036 (exit $ac_status); } &&
60037 { ac_try='test -z "$ac_c_werror_flag"
60038 || test ! -s conftest.err'
60039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60040 (eval $ac_try) 2>&5
60041 ac_status=$?
60042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60043 (exit $ac_status); }; } &&
60044 { ac_try='test -s conftest$ac_exeext'
60045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60046 (eval $ac_try) 2>&5
60047 ac_status=$?
60048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60049 (exit $ac_status); }; }; then
60050 eval "$as_ac_var=yes"
60051 else
60052 echo "$as_me: failed program was:" >&5
60053 sed 's/^/| /' conftest.$ac_ext >&5
60055 eval "$as_ac_var=no"
60057 rm -f conftest.err conftest.$ac_objext \
60058 conftest$ac_exeext conftest.$ac_ext
60060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60062 if test `eval echo '${'$as_ac_var'}'` = yes; then
60063 cat >>confdefs.h <<_ACEOF
60064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60065 _ACEOF
60068 done
60075 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60076 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60077 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60078 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60079 echo $ECHO_N "(cached) $ECHO_C" >&6
60080 else
60084 ac_ext=cc
60085 ac_cpp='$CXXCPP $CPPFLAGS'
60086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60090 cat >conftest.$ac_ext <<_ACEOF
60091 /* confdefs.h. */
60092 _ACEOF
60093 cat confdefs.h >>conftest.$ac_ext
60094 cat >>conftest.$ac_ext <<_ACEOF
60095 /* end confdefs.h. */
60096 #include <math.h>
60098 main ()
60100 ldexpf(0, 0);
60102 return 0;
60104 _ACEOF
60105 rm -f conftest.$ac_objext
60106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60107 (eval $ac_compile) 2>conftest.er1
60108 ac_status=$?
60109 grep -v '^ *+' conftest.er1 >conftest.err
60110 rm -f conftest.er1
60111 cat conftest.err >&5
60112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60113 (exit $ac_status); } &&
60114 { ac_try='test -z "$ac_cxx_werror_flag"
60115 || test ! -s conftest.err'
60116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60117 (eval $ac_try) 2>&5
60118 ac_status=$?
60119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60120 (exit $ac_status); }; } &&
60121 { ac_try='test -s conftest.$ac_objext'
60122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60123 (eval $ac_try) 2>&5
60124 ac_status=$?
60125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60126 (exit $ac_status); }; }; then
60127 glibcxx_cv_func_ldexpf_use=yes
60128 else
60129 echo "$as_me: failed program was:" >&5
60130 sed 's/^/| /' conftest.$ac_ext >&5
60132 glibcxx_cv_func_ldexpf_use=no
60134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60135 ac_ext=c
60136 ac_cpp='$CPP $CPPFLAGS'
60137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60145 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60146 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60148 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60150 for ac_func in ldexpf
60152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60153 echo "$as_me:$LINENO: checking for $ac_func" >&5
60154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60155 if eval "test \"\${$as_ac_var+set}\" = set"; then
60156 echo $ECHO_N "(cached) $ECHO_C" >&6
60157 else
60158 if test x$gcc_no_link = xyes; then
60159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60161 { (exit 1); exit 1; }; }
60163 cat >conftest.$ac_ext <<_ACEOF
60164 /* confdefs.h. */
60165 _ACEOF
60166 cat confdefs.h >>conftest.$ac_ext
60167 cat >>conftest.$ac_ext <<_ACEOF
60168 /* end confdefs.h. */
60169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60171 #define $ac_func innocuous_$ac_func
60173 /* System header to define __stub macros and hopefully few prototypes,
60174 which can conflict with char $ac_func (); below.
60175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60176 <limits.h> exists even on freestanding compilers. */
60178 #ifdef __STDC__
60179 # include <limits.h>
60180 #else
60181 # include <assert.h>
60182 #endif
60184 #undef $ac_func
60186 /* Override any gcc2 internal prototype to avoid an error. */
60187 #ifdef __cplusplus
60188 extern "C"
60190 #endif
60191 /* We use char because int might match the return type of a gcc2
60192 builtin and then its argument prototype would still apply. */
60193 char $ac_func ();
60194 /* The GNU C library defines this for functions which it implements
60195 to always fail with ENOSYS. Some functions are actually named
60196 something starting with __ and the normal name is an alias. */
60197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60198 choke me
60199 #else
60200 char (*f) () = $ac_func;
60201 #endif
60202 #ifdef __cplusplus
60204 #endif
60207 main ()
60209 return f != $ac_func;
60211 return 0;
60213 _ACEOF
60214 rm -f conftest.$ac_objext conftest$ac_exeext
60215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60216 (eval $ac_link) 2>conftest.er1
60217 ac_status=$?
60218 grep -v '^ *+' conftest.er1 >conftest.err
60219 rm -f conftest.er1
60220 cat conftest.err >&5
60221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60222 (exit $ac_status); } &&
60223 { ac_try='test -z "$ac_c_werror_flag"
60224 || test ! -s conftest.err'
60225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60226 (eval $ac_try) 2>&5
60227 ac_status=$?
60228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60229 (exit $ac_status); }; } &&
60230 { ac_try='test -s conftest$ac_exeext'
60231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60232 (eval $ac_try) 2>&5
60233 ac_status=$?
60234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60235 (exit $ac_status); }; }; then
60236 eval "$as_ac_var=yes"
60237 else
60238 echo "$as_me: failed program was:" >&5
60239 sed 's/^/| /' conftest.$ac_ext >&5
60241 eval "$as_ac_var=no"
60243 rm -f conftest.err conftest.$ac_objext \
60244 conftest$ac_exeext conftest.$ac_ext
60246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60248 if test `eval echo '${'$as_ac_var'}'` = yes; then
60249 cat >>confdefs.h <<_ACEOF
60250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60251 _ACEOF
60254 done
60256 else
60258 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60259 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60260 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60261 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60262 echo $ECHO_N "(cached) $ECHO_C" >&6
60263 else
60267 ac_ext=cc
60268 ac_cpp='$CXXCPP $CPPFLAGS'
60269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60273 cat >conftest.$ac_ext <<_ACEOF
60274 /* confdefs.h. */
60275 _ACEOF
60276 cat confdefs.h >>conftest.$ac_ext
60277 cat >>conftest.$ac_ext <<_ACEOF
60278 /* end confdefs.h. */
60279 #include <math.h>
60281 main ()
60283 _ldexpf(0, 0);
60285 return 0;
60287 _ACEOF
60288 rm -f conftest.$ac_objext
60289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60290 (eval $ac_compile) 2>conftest.er1
60291 ac_status=$?
60292 grep -v '^ *+' conftest.er1 >conftest.err
60293 rm -f conftest.er1
60294 cat conftest.err >&5
60295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60296 (exit $ac_status); } &&
60297 { ac_try='test -z "$ac_cxx_werror_flag"
60298 || test ! -s conftest.err'
60299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60300 (eval $ac_try) 2>&5
60301 ac_status=$?
60302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60303 (exit $ac_status); }; } &&
60304 { ac_try='test -s conftest.$ac_objext'
60305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60306 (eval $ac_try) 2>&5
60307 ac_status=$?
60308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60309 (exit $ac_status); }; }; then
60310 glibcxx_cv_func__ldexpf_use=yes
60311 else
60312 echo "$as_me: failed program was:" >&5
60313 sed 's/^/| /' conftest.$ac_ext >&5
60315 glibcxx_cv_func__ldexpf_use=no
60317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60318 ac_ext=c
60319 ac_cpp='$CPP $CPPFLAGS'
60320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60328 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60329 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60331 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60333 for ac_func in _ldexpf
60335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60336 echo "$as_me:$LINENO: checking for $ac_func" >&5
60337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60338 if eval "test \"\${$as_ac_var+set}\" = set"; then
60339 echo $ECHO_N "(cached) $ECHO_C" >&6
60340 else
60341 if test x$gcc_no_link = xyes; then
60342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60344 { (exit 1); exit 1; }; }
60346 cat >conftest.$ac_ext <<_ACEOF
60347 /* confdefs.h. */
60348 _ACEOF
60349 cat confdefs.h >>conftest.$ac_ext
60350 cat >>conftest.$ac_ext <<_ACEOF
60351 /* end confdefs.h. */
60352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60354 #define $ac_func innocuous_$ac_func
60356 /* System header to define __stub macros and hopefully few prototypes,
60357 which can conflict with char $ac_func (); below.
60358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60359 <limits.h> exists even on freestanding compilers. */
60361 #ifdef __STDC__
60362 # include <limits.h>
60363 #else
60364 # include <assert.h>
60365 #endif
60367 #undef $ac_func
60369 /* Override any gcc2 internal prototype to avoid an error. */
60370 #ifdef __cplusplus
60371 extern "C"
60373 #endif
60374 /* We use char because int might match the return type of a gcc2
60375 builtin and then its argument prototype would still apply. */
60376 char $ac_func ();
60377 /* The GNU C library defines this for functions which it implements
60378 to always fail with ENOSYS. Some functions are actually named
60379 something starting with __ and the normal name is an alias. */
60380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60381 choke me
60382 #else
60383 char (*f) () = $ac_func;
60384 #endif
60385 #ifdef __cplusplus
60387 #endif
60390 main ()
60392 return f != $ac_func;
60394 return 0;
60396 _ACEOF
60397 rm -f conftest.$ac_objext conftest$ac_exeext
60398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60399 (eval $ac_link) 2>conftest.er1
60400 ac_status=$?
60401 grep -v '^ *+' conftest.er1 >conftest.err
60402 rm -f conftest.er1
60403 cat conftest.err >&5
60404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60405 (exit $ac_status); } &&
60406 { ac_try='test -z "$ac_c_werror_flag"
60407 || test ! -s conftest.err'
60408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60409 (eval $ac_try) 2>&5
60410 ac_status=$?
60411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60412 (exit $ac_status); }; } &&
60413 { ac_try='test -s conftest$ac_exeext'
60414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60415 (eval $ac_try) 2>&5
60416 ac_status=$?
60417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60418 (exit $ac_status); }; }; then
60419 eval "$as_ac_var=yes"
60420 else
60421 echo "$as_me: failed program was:" >&5
60422 sed 's/^/| /' conftest.$ac_ext >&5
60424 eval "$as_ac_var=no"
60426 rm -f conftest.err conftest.$ac_objext \
60427 conftest$ac_exeext conftest.$ac_ext
60429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60431 if test `eval echo '${'$as_ac_var'}'` = yes; then
60432 cat >>confdefs.h <<_ACEOF
60433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60434 _ACEOF
60437 done
60444 echo "$as_me:$LINENO: checking for logf declaration" >&5
60445 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60446 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60447 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60448 echo $ECHO_N "(cached) $ECHO_C" >&6
60449 else
60453 ac_ext=cc
60454 ac_cpp='$CXXCPP $CPPFLAGS'
60455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60459 cat >conftest.$ac_ext <<_ACEOF
60460 /* confdefs.h. */
60461 _ACEOF
60462 cat confdefs.h >>conftest.$ac_ext
60463 cat >>conftest.$ac_ext <<_ACEOF
60464 /* end confdefs.h. */
60465 #include <math.h>
60466 #ifdef HAVE_IEEEFP_H
60467 #include <ieeefp.h>
60468 #endif
60471 main ()
60473 logf(0);
60475 return 0;
60477 _ACEOF
60478 rm -f conftest.$ac_objext
60479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60480 (eval $ac_compile) 2>conftest.er1
60481 ac_status=$?
60482 grep -v '^ *+' conftest.er1 >conftest.err
60483 rm -f conftest.er1
60484 cat conftest.err >&5
60485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60486 (exit $ac_status); } &&
60487 { ac_try='test -z "$ac_cxx_werror_flag"
60488 || test ! -s conftest.err'
60489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60490 (eval $ac_try) 2>&5
60491 ac_status=$?
60492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60493 (exit $ac_status); }; } &&
60494 { ac_try='test -s conftest.$ac_objext'
60495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60496 (eval $ac_try) 2>&5
60497 ac_status=$?
60498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60499 (exit $ac_status); }; }; then
60500 glibcxx_cv_func_logf_use=yes
60501 else
60502 echo "$as_me: failed program was:" >&5
60503 sed 's/^/| /' conftest.$ac_ext >&5
60505 glibcxx_cv_func_logf_use=no
60507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60508 ac_ext=c
60509 ac_cpp='$CPP $CPPFLAGS'
60510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60518 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60519 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60521 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60523 for ac_func in logf
60525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60526 echo "$as_me:$LINENO: checking for $ac_func" >&5
60527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60528 if eval "test \"\${$as_ac_var+set}\" = set"; then
60529 echo $ECHO_N "(cached) $ECHO_C" >&6
60530 else
60531 if test x$gcc_no_link = xyes; then
60532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60534 { (exit 1); exit 1; }; }
60536 cat >conftest.$ac_ext <<_ACEOF
60537 /* confdefs.h. */
60538 _ACEOF
60539 cat confdefs.h >>conftest.$ac_ext
60540 cat >>conftest.$ac_ext <<_ACEOF
60541 /* end confdefs.h. */
60542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60544 #define $ac_func innocuous_$ac_func
60546 /* System header to define __stub macros and hopefully few prototypes,
60547 which can conflict with char $ac_func (); below.
60548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60549 <limits.h> exists even on freestanding compilers. */
60551 #ifdef __STDC__
60552 # include <limits.h>
60553 #else
60554 # include <assert.h>
60555 #endif
60557 #undef $ac_func
60559 /* Override any gcc2 internal prototype to avoid an error. */
60560 #ifdef __cplusplus
60561 extern "C"
60563 #endif
60564 /* We use char because int might match the return type of a gcc2
60565 builtin and then its argument prototype would still apply. */
60566 char $ac_func ();
60567 /* The GNU C library defines this for functions which it implements
60568 to always fail with ENOSYS. Some functions are actually named
60569 something starting with __ and the normal name is an alias. */
60570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60571 choke me
60572 #else
60573 char (*f) () = $ac_func;
60574 #endif
60575 #ifdef __cplusplus
60577 #endif
60580 main ()
60582 return f != $ac_func;
60584 return 0;
60586 _ACEOF
60587 rm -f conftest.$ac_objext conftest$ac_exeext
60588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60589 (eval $ac_link) 2>conftest.er1
60590 ac_status=$?
60591 grep -v '^ *+' conftest.er1 >conftest.err
60592 rm -f conftest.er1
60593 cat conftest.err >&5
60594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60595 (exit $ac_status); } &&
60596 { ac_try='test -z "$ac_c_werror_flag"
60597 || test ! -s conftest.err'
60598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60599 (eval $ac_try) 2>&5
60600 ac_status=$?
60601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60602 (exit $ac_status); }; } &&
60603 { ac_try='test -s conftest$ac_exeext'
60604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60605 (eval $ac_try) 2>&5
60606 ac_status=$?
60607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60608 (exit $ac_status); }; }; then
60609 eval "$as_ac_var=yes"
60610 else
60611 echo "$as_me: failed program was:" >&5
60612 sed 's/^/| /' conftest.$ac_ext >&5
60614 eval "$as_ac_var=no"
60616 rm -f conftest.err conftest.$ac_objext \
60617 conftest$ac_exeext conftest.$ac_ext
60619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60621 if test `eval echo '${'$as_ac_var'}'` = yes; then
60622 cat >>confdefs.h <<_ACEOF
60623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60624 _ACEOF
60627 done
60629 else
60631 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60632 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60633 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60634 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60635 echo $ECHO_N "(cached) $ECHO_C" >&6
60636 else
60640 ac_ext=cc
60641 ac_cpp='$CXXCPP $CPPFLAGS'
60642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60646 cat >conftest.$ac_ext <<_ACEOF
60647 /* confdefs.h. */
60648 _ACEOF
60649 cat confdefs.h >>conftest.$ac_ext
60650 cat >>conftest.$ac_ext <<_ACEOF
60651 /* end confdefs.h. */
60652 #include <math.h>
60653 #ifdef HAVE_IEEEFP_H
60654 #include <ieeefp.h>
60655 #endif
60658 main ()
60660 _logf(0);
60662 return 0;
60664 _ACEOF
60665 rm -f conftest.$ac_objext
60666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60667 (eval $ac_compile) 2>conftest.er1
60668 ac_status=$?
60669 grep -v '^ *+' conftest.er1 >conftest.err
60670 rm -f conftest.er1
60671 cat conftest.err >&5
60672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60673 (exit $ac_status); } &&
60674 { ac_try='test -z "$ac_cxx_werror_flag"
60675 || test ! -s conftest.err'
60676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60677 (eval $ac_try) 2>&5
60678 ac_status=$?
60679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60680 (exit $ac_status); }; } &&
60681 { ac_try='test -s conftest.$ac_objext'
60682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60683 (eval $ac_try) 2>&5
60684 ac_status=$?
60685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60686 (exit $ac_status); }; }; then
60687 glibcxx_cv_func__logf_use=yes
60688 else
60689 echo "$as_me: failed program was:" >&5
60690 sed 's/^/| /' conftest.$ac_ext >&5
60692 glibcxx_cv_func__logf_use=no
60694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60695 ac_ext=c
60696 ac_cpp='$CPP $CPPFLAGS'
60697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60706 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60708 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60710 for ac_func in _logf
60712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60713 echo "$as_me:$LINENO: checking for $ac_func" >&5
60714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60715 if eval "test \"\${$as_ac_var+set}\" = set"; then
60716 echo $ECHO_N "(cached) $ECHO_C" >&6
60717 else
60718 if test x$gcc_no_link = xyes; then
60719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60721 { (exit 1); exit 1; }; }
60723 cat >conftest.$ac_ext <<_ACEOF
60724 /* confdefs.h. */
60725 _ACEOF
60726 cat confdefs.h >>conftest.$ac_ext
60727 cat >>conftest.$ac_ext <<_ACEOF
60728 /* end confdefs.h. */
60729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60731 #define $ac_func innocuous_$ac_func
60733 /* System header to define __stub macros and hopefully few prototypes,
60734 which can conflict with char $ac_func (); below.
60735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60736 <limits.h> exists even on freestanding compilers. */
60738 #ifdef __STDC__
60739 # include <limits.h>
60740 #else
60741 # include <assert.h>
60742 #endif
60744 #undef $ac_func
60746 /* Override any gcc2 internal prototype to avoid an error. */
60747 #ifdef __cplusplus
60748 extern "C"
60750 #endif
60751 /* We use char because int might match the return type of a gcc2
60752 builtin and then its argument prototype would still apply. */
60753 char $ac_func ();
60754 /* The GNU C library defines this for functions which it implements
60755 to always fail with ENOSYS. Some functions are actually named
60756 something starting with __ and the normal name is an alias. */
60757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60758 choke me
60759 #else
60760 char (*f) () = $ac_func;
60761 #endif
60762 #ifdef __cplusplus
60764 #endif
60767 main ()
60769 return f != $ac_func;
60771 return 0;
60773 _ACEOF
60774 rm -f conftest.$ac_objext conftest$ac_exeext
60775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60776 (eval $ac_link) 2>conftest.er1
60777 ac_status=$?
60778 grep -v '^ *+' conftest.er1 >conftest.err
60779 rm -f conftest.er1
60780 cat conftest.err >&5
60781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60782 (exit $ac_status); } &&
60783 { ac_try='test -z "$ac_c_werror_flag"
60784 || test ! -s conftest.err'
60785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60786 (eval $ac_try) 2>&5
60787 ac_status=$?
60788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60789 (exit $ac_status); }; } &&
60790 { ac_try='test -s conftest$ac_exeext'
60791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60792 (eval $ac_try) 2>&5
60793 ac_status=$?
60794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60795 (exit $ac_status); }; }; then
60796 eval "$as_ac_var=yes"
60797 else
60798 echo "$as_me: failed program was:" >&5
60799 sed 's/^/| /' conftest.$ac_ext >&5
60801 eval "$as_ac_var=no"
60803 rm -f conftest.err conftest.$ac_objext \
60804 conftest$ac_exeext conftest.$ac_ext
60806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60808 if test `eval echo '${'$as_ac_var'}'` = yes; then
60809 cat >>confdefs.h <<_ACEOF
60810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60811 _ACEOF
60814 done
60821 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60822 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60823 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60824 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60825 echo $ECHO_N "(cached) $ECHO_C" >&6
60826 else
60830 ac_ext=cc
60831 ac_cpp='$CXXCPP $CPPFLAGS'
60832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60836 cat >conftest.$ac_ext <<_ACEOF
60837 /* confdefs.h. */
60838 _ACEOF
60839 cat confdefs.h >>conftest.$ac_ext
60840 cat >>conftest.$ac_ext <<_ACEOF
60841 /* end confdefs.h. */
60842 #include <math.h>
60843 #ifdef HAVE_IEEEFP_H
60844 #include <ieeefp.h>
60845 #endif
60848 main ()
60850 log10f(0);
60852 return 0;
60854 _ACEOF
60855 rm -f conftest.$ac_objext
60856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60857 (eval $ac_compile) 2>conftest.er1
60858 ac_status=$?
60859 grep -v '^ *+' conftest.er1 >conftest.err
60860 rm -f conftest.er1
60861 cat conftest.err >&5
60862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60863 (exit $ac_status); } &&
60864 { ac_try='test -z "$ac_cxx_werror_flag"
60865 || test ! -s conftest.err'
60866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60867 (eval $ac_try) 2>&5
60868 ac_status=$?
60869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60870 (exit $ac_status); }; } &&
60871 { ac_try='test -s conftest.$ac_objext'
60872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60873 (eval $ac_try) 2>&5
60874 ac_status=$?
60875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60876 (exit $ac_status); }; }; then
60877 glibcxx_cv_func_log10f_use=yes
60878 else
60879 echo "$as_me: failed program was:" >&5
60880 sed 's/^/| /' conftest.$ac_ext >&5
60882 glibcxx_cv_func_log10f_use=no
60884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60885 ac_ext=c
60886 ac_cpp='$CPP $CPPFLAGS'
60887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60896 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60898 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60900 for ac_func in log10f
60902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60903 echo "$as_me:$LINENO: checking for $ac_func" >&5
60904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60905 if eval "test \"\${$as_ac_var+set}\" = set"; then
60906 echo $ECHO_N "(cached) $ECHO_C" >&6
60907 else
60908 if test x$gcc_no_link = xyes; then
60909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60911 { (exit 1); exit 1; }; }
60913 cat >conftest.$ac_ext <<_ACEOF
60914 /* confdefs.h. */
60915 _ACEOF
60916 cat confdefs.h >>conftest.$ac_ext
60917 cat >>conftest.$ac_ext <<_ACEOF
60918 /* end confdefs.h. */
60919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60921 #define $ac_func innocuous_$ac_func
60923 /* System header to define __stub macros and hopefully few prototypes,
60924 which can conflict with char $ac_func (); below.
60925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60926 <limits.h> exists even on freestanding compilers. */
60928 #ifdef __STDC__
60929 # include <limits.h>
60930 #else
60931 # include <assert.h>
60932 #endif
60934 #undef $ac_func
60936 /* Override any gcc2 internal prototype to avoid an error. */
60937 #ifdef __cplusplus
60938 extern "C"
60940 #endif
60941 /* We use char because int might match the return type of a gcc2
60942 builtin and then its argument prototype would still apply. */
60943 char $ac_func ();
60944 /* The GNU C library defines this for functions which it implements
60945 to always fail with ENOSYS. Some functions are actually named
60946 something starting with __ and the normal name is an alias. */
60947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60948 choke me
60949 #else
60950 char (*f) () = $ac_func;
60951 #endif
60952 #ifdef __cplusplus
60954 #endif
60957 main ()
60959 return f != $ac_func;
60961 return 0;
60963 _ACEOF
60964 rm -f conftest.$ac_objext conftest$ac_exeext
60965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60966 (eval $ac_link) 2>conftest.er1
60967 ac_status=$?
60968 grep -v '^ *+' conftest.er1 >conftest.err
60969 rm -f conftest.er1
60970 cat conftest.err >&5
60971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60972 (exit $ac_status); } &&
60973 { ac_try='test -z "$ac_c_werror_flag"
60974 || test ! -s conftest.err'
60975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60976 (eval $ac_try) 2>&5
60977 ac_status=$?
60978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60979 (exit $ac_status); }; } &&
60980 { ac_try='test -s conftest$ac_exeext'
60981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60982 (eval $ac_try) 2>&5
60983 ac_status=$?
60984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60985 (exit $ac_status); }; }; then
60986 eval "$as_ac_var=yes"
60987 else
60988 echo "$as_me: failed program was:" >&5
60989 sed 's/^/| /' conftest.$ac_ext >&5
60991 eval "$as_ac_var=no"
60993 rm -f conftest.err conftest.$ac_objext \
60994 conftest$ac_exeext conftest.$ac_ext
60996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60998 if test `eval echo '${'$as_ac_var'}'` = yes; then
60999 cat >>confdefs.h <<_ACEOF
61000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61001 _ACEOF
61004 done
61006 else
61008 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
61009 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
61010 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61011 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
61012 echo $ECHO_N "(cached) $ECHO_C" >&6
61013 else
61017 ac_ext=cc
61018 ac_cpp='$CXXCPP $CPPFLAGS'
61019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61023 cat >conftest.$ac_ext <<_ACEOF
61024 /* confdefs.h. */
61025 _ACEOF
61026 cat confdefs.h >>conftest.$ac_ext
61027 cat >>conftest.$ac_ext <<_ACEOF
61028 /* end confdefs.h. */
61029 #include <math.h>
61030 #ifdef HAVE_IEEEFP_H
61031 #include <ieeefp.h>
61032 #endif
61035 main ()
61037 _log10f(0);
61039 return 0;
61041 _ACEOF
61042 rm -f conftest.$ac_objext
61043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61044 (eval $ac_compile) 2>conftest.er1
61045 ac_status=$?
61046 grep -v '^ *+' conftest.er1 >conftest.err
61047 rm -f conftest.er1
61048 cat conftest.err >&5
61049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61050 (exit $ac_status); } &&
61051 { ac_try='test -z "$ac_cxx_werror_flag"
61052 || test ! -s conftest.err'
61053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61054 (eval $ac_try) 2>&5
61055 ac_status=$?
61056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61057 (exit $ac_status); }; } &&
61058 { ac_try='test -s conftest.$ac_objext'
61059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61060 (eval $ac_try) 2>&5
61061 ac_status=$?
61062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61063 (exit $ac_status); }; }; then
61064 glibcxx_cv_func__log10f_use=yes
61065 else
61066 echo "$as_me: failed program was:" >&5
61067 sed 's/^/| /' conftest.$ac_ext >&5
61069 glibcxx_cv_func__log10f_use=no
61071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61072 ac_ext=c
61073 ac_cpp='$CPP $CPPFLAGS'
61074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61082 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61083 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61085 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61087 for ac_func in _log10f
61089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61090 echo "$as_me:$LINENO: checking for $ac_func" >&5
61091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61092 if eval "test \"\${$as_ac_var+set}\" = set"; then
61093 echo $ECHO_N "(cached) $ECHO_C" >&6
61094 else
61095 if test x$gcc_no_link = xyes; then
61096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61098 { (exit 1); exit 1; }; }
61100 cat >conftest.$ac_ext <<_ACEOF
61101 /* confdefs.h. */
61102 _ACEOF
61103 cat confdefs.h >>conftest.$ac_ext
61104 cat >>conftest.$ac_ext <<_ACEOF
61105 /* end confdefs.h. */
61106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61108 #define $ac_func innocuous_$ac_func
61110 /* System header to define __stub macros and hopefully few prototypes,
61111 which can conflict with char $ac_func (); below.
61112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61113 <limits.h> exists even on freestanding compilers. */
61115 #ifdef __STDC__
61116 # include <limits.h>
61117 #else
61118 # include <assert.h>
61119 #endif
61121 #undef $ac_func
61123 /* Override any gcc2 internal prototype to avoid an error. */
61124 #ifdef __cplusplus
61125 extern "C"
61127 #endif
61128 /* We use char because int might match the return type of a gcc2
61129 builtin and then its argument prototype would still apply. */
61130 char $ac_func ();
61131 /* The GNU C library defines this for functions which it implements
61132 to always fail with ENOSYS. Some functions are actually named
61133 something starting with __ and the normal name is an alias. */
61134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61135 choke me
61136 #else
61137 char (*f) () = $ac_func;
61138 #endif
61139 #ifdef __cplusplus
61141 #endif
61144 main ()
61146 return f != $ac_func;
61148 return 0;
61150 _ACEOF
61151 rm -f conftest.$ac_objext conftest$ac_exeext
61152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61153 (eval $ac_link) 2>conftest.er1
61154 ac_status=$?
61155 grep -v '^ *+' conftest.er1 >conftest.err
61156 rm -f conftest.er1
61157 cat conftest.err >&5
61158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61159 (exit $ac_status); } &&
61160 { ac_try='test -z "$ac_c_werror_flag"
61161 || test ! -s conftest.err'
61162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61163 (eval $ac_try) 2>&5
61164 ac_status=$?
61165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61166 (exit $ac_status); }; } &&
61167 { ac_try='test -s conftest$ac_exeext'
61168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61169 (eval $ac_try) 2>&5
61170 ac_status=$?
61171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61172 (exit $ac_status); }; }; then
61173 eval "$as_ac_var=yes"
61174 else
61175 echo "$as_me: failed program was:" >&5
61176 sed 's/^/| /' conftest.$ac_ext >&5
61178 eval "$as_ac_var=no"
61180 rm -f conftest.err conftest.$ac_objext \
61181 conftest$ac_exeext conftest.$ac_ext
61183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61185 if test `eval echo '${'$as_ac_var'}'` = yes; then
61186 cat >>confdefs.h <<_ACEOF
61187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61188 _ACEOF
61191 done
61198 echo "$as_me:$LINENO: checking for modff declaration" >&5
61199 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61200 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61201 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61202 echo $ECHO_N "(cached) $ECHO_C" >&6
61203 else
61207 ac_ext=cc
61208 ac_cpp='$CXXCPP $CPPFLAGS'
61209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61213 cat >conftest.$ac_ext <<_ACEOF
61214 /* confdefs.h. */
61215 _ACEOF
61216 cat confdefs.h >>conftest.$ac_ext
61217 cat >>conftest.$ac_ext <<_ACEOF
61218 /* end confdefs.h. */
61219 #include <math.h>
61221 main ()
61223 modff(0, 0);
61225 return 0;
61227 _ACEOF
61228 rm -f conftest.$ac_objext
61229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61230 (eval $ac_compile) 2>conftest.er1
61231 ac_status=$?
61232 grep -v '^ *+' conftest.er1 >conftest.err
61233 rm -f conftest.er1
61234 cat conftest.err >&5
61235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61236 (exit $ac_status); } &&
61237 { ac_try='test -z "$ac_cxx_werror_flag"
61238 || test ! -s conftest.err'
61239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61240 (eval $ac_try) 2>&5
61241 ac_status=$?
61242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61243 (exit $ac_status); }; } &&
61244 { ac_try='test -s conftest.$ac_objext'
61245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61246 (eval $ac_try) 2>&5
61247 ac_status=$?
61248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61249 (exit $ac_status); }; }; then
61250 glibcxx_cv_func_modff_use=yes
61251 else
61252 echo "$as_me: failed program was:" >&5
61253 sed 's/^/| /' conftest.$ac_ext >&5
61255 glibcxx_cv_func_modff_use=no
61257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61258 ac_ext=c
61259 ac_cpp='$CPP $CPPFLAGS'
61260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61268 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61269 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61271 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61273 for ac_func in modff
61275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61276 echo "$as_me:$LINENO: checking for $ac_func" >&5
61277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61278 if eval "test \"\${$as_ac_var+set}\" = set"; then
61279 echo $ECHO_N "(cached) $ECHO_C" >&6
61280 else
61281 if test x$gcc_no_link = xyes; then
61282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61284 { (exit 1); exit 1; }; }
61286 cat >conftest.$ac_ext <<_ACEOF
61287 /* confdefs.h. */
61288 _ACEOF
61289 cat confdefs.h >>conftest.$ac_ext
61290 cat >>conftest.$ac_ext <<_ACEOF
61291 /* end confdefs.h. */
61292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61294 #define $ac_func innocuous_$ac_func
61296 /* System header to define __stub macros and hopefully few prototypes,
61297 which can conflict with char $ac_func (); below.
61298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61299 <limits.h> exists even on freestanding compilers. */
61301 #ifdef __STDC__
61302 # include <limits.h>
61303 #else
61304 # include <assert.h>
61305 #endif
61307 #undef $ac_func
61309 /* Override any gcc2 internal prototype to avoid an error. */
61310 #ifdef __cplusplus
61311 extern "C"
61313 #endif
61314 /* We use char because int might match the return type of a gcc2
61315 builtin and then its argument prototype would still apply. */
61316 char $ac_func ();
61317 /* The GNU C library defines this for functions which it implements
61318 to always fail with ENOSYS. Some functions are actually named
61319 something starting with __ and the normal name is an alias. */
61320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61321 choke me
61322 #else
61323 char (*f) () = $ac_func;
61324 #endif
61325 #ifdef __cplusplus
61327 #endif
61330 main ()
61332 return f != $ac_func;
61334 return 0;
61336 _ACEOF
61337 rm -f conftest.$ac_objext conftest$ac_exeext
61338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61339 (eval $ac_link) 2>conftest.er1
61340 ac_status=$?
61341 grep -v '^ *+' conftest.er1 >conftest.err
61342 rm -f conftest.er1
61343 cat conftest.err >&5
61344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61345 (exit $ac_status); } &&
61346 { ac_try='test -z "$ac_c_werror_flag"
61347 || test ! -s conftest.err'
61348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61349 (eval $ac_try) 2>&5
61350 ac_status=$?
61351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61352 (exit $ac_status); }; } &&
61353 { ac_try='test -s conftest$ac_exeext'
61354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61355 (eval $ac_try) 2>&5
61356 ac_status=$?
61357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61358 (exit $ac_status); }; }; then
61359 eval "$as_ac_var=yes"
61360 else
61361 echo "$as_me: failed program was:" >&5
61362 sed 's/^/| /' conftest.$ac_ext >&5
61364 eval "$as_ac_var=no"
61366 rm -f conftest.err conftest.$ac_objext \
61367 conftest$ac_exeext conftest.$ac_ext
61369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61371 if test `eval echo '${'$as_ac_var'}'` = yes; then
61372 cat >>confdefs.h <<_ACEOF
61373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61374 _ACEOF
61377 done
61379 else
61381 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61382 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61383 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61384 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61385 echo $ECHO_N "(cached) $ECHO_C" >&6
61386 else
61390 ac_ext=cc
61391 ac_cpp='$CXXCPP $CPPFLAGS'
61392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61396 cat >conftest.$ac_ext <<_ACEOF
61397 /* confdefs.h. */
61398 _ACEOF
61399 cat confdefs.h >>conftest.$ac_ext
61400 cat >>conftest.$ac_ext <<_ACEOF
61401 /* end confdefs.h. */
61402 #include <math.h>
61404 main ()
61406 _modff(0, 0);
61408 return 0;
61410 _ACEOF
61411 rm -f conftest.$ac_objext
61412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61413 (eval $ac_compile) 2>conftest.er1
61414 ac_status=$?
61415 grep -v '^ *+' conftest.er1 >conftest.err
61416 rm -f conftest.er1
61417 cat conftest.err >&5
61418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61419 (exit $ac_status); } &&
61420 { ac_try='test -z "$ac_cxx_werror_flag"
61421 || test ! -s conftest.err'
61422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61423 (eval $ac_try) 2>&5
61424 ac_status=$?
61425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61426 (exit $ac_status); }; } &&
61427 { ac_try='test -s conftest.$ac_objext'
61428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61429 (eval $ac_try) 2>&5
61430 ac_status=$?
61431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61432 (exit $ac_status); }; }; then
61433 glibcxx_cv_func__modff_use=yes
61434 else
61435 echo "$as_me: failed program was:" >&5
61436 sed 's/^/| /' conftest.$ac_ext >&5
61438 glibcxx_cv_func__modff_use=no
61440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61441 ac_ext=c
61442 ac_cpp='$CPP $CPPFLAGS'
61443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61451 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61452 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61454 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61456 for ac_func in _modff
61458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61459 echo "$as_me:$LINENO: checking for $ac_func" >&5
61460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61461 if eval "test \"\${$as_ac_var+set}\" = set"; then
61462 echo $ECHO_N "(cached) $ECHO_C" >&6
61463 else
61464 if test x$gcc_no_link = xyes; then
61465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61467 { (exit 1); exit 1; }; }
61469 cat >conftest.$ac_ext <<_ACEOF
61470 /* confdefs.h. */
61471 _ACEOF
61472 cat confdefs.h >>conftest.$ac_ext
61473 cat >>conftest.$ac_ext <<_ACEOF
61474 /* end confdefs.h. */
61475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61477 #define $ac_func innocuous_$ac_func
61479 /* System header to define __stub macros and hopefully few prototypes,
61480 which can conflict with char $ac_func (); below.
61481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61482 <limits.h> exists even on freestanding compilers. */
61484 #ifdef __STDC__
61485 # include <limits.h>
61486 #else
61487 # include <assert.h>
61488 #endif
61490 #undef $ac_func
61492 /* Override any gcc2 internal prototype to avoid an error. */
61493 #ifdef __cplusplus
61494 extern "C"
61496 #endif
61497 /* We use char because int might match the return type of a gcc2
61498 builtin and then its argument prototype would still apply. */
61499 char $ac_func ();
61500 /* The GNU C library defines this for functions which it implements
61501 to always fail with ENOSYS. Some functions are actually named
61502 something starting with __ and the normal name is an alias. */
61503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61504 choke me
61505 #else
61506 char (*f) () = $ac_func;
61507 #endif
61508 #ifdef __cplusplus
61510 #endif
61513 main ()
61515 return f != $ac_func;
61517 return 0;
61519 _ACEOF
61520 rm -f conftest.$ac_objext conftest$ac_exeext
61521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61522 (eval $ac_link) 2>conftest.er1
61523 ac_status=$?
61524 grep -v '^ *+' conftest.er1 >conftest.err
61525 rm -f conftest.er1
61526 cat conftest.err >&5
61527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61528 (exit $ac_status); } &&
61529 { ac_try='test -z "$ac_c_werror_flag"
61530 || test ! -s conftest.err'
61531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61532 (eval $ac_try) 2>&5
61533 ac_status=$?
61534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61535 (exit $ac_status); }; } &&
61536 { ac_try='test -s conftest$ac_exeext'
61537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61538 (eval $ac_try) 2>&5
61539 ac_status=$?
61540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61541 (exit $ac_status); }; }; then
61542 eval "$as_ac_var=yes"
61543 else
61544 echo "$as_me: failed program was:" >&5
61545 sed 's/^/| /' conftest.$ac_ext >&5
61547 eval "$as_ac_var=no"
61549 rm -f conftest.err conftest.$ac_objext \
61550 conftest$ac_exeext conftest.$ac_ext
61552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61554 if test `eval echo '${'$as_ac_var'}'` = yes; then
61555 cat >>confdefs.h <<_ACEOF
61556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61557 _ACEOF
61560 done
61567 echo "$as_me:$LINENO: checking for powf declaration" >&5
61568 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61569 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61570 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61571 echo $ECHO_N "(cached) $ECHO_C" >&6
61572 else
61576 ac_ext=cc
61577 ac_cpp='$CXXCPP $CPPFLAGS'
61578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61582 cat >conftest.$ac_ext <<_ACEOF
61583 /* confdefs.h. */
61584 _ACEOF
61585 cat confdefs.h >>conftest.$ac_ext
61586 cat >>conftest.$ac_ext <<_ACEOF
61587 /* end confdefs.h. */
61588 #include <math.h>
61590 main ()
61592 powf(0, 0);
61594 return 0;
61596 _ACEOF
61597 rm -f conftest.$ac_objext
61598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61599 (eval $ac_compile) 2>conftest.er1
61600 ac_status=$?
61601 grep -v '^ *+' conftest.er1 >conftest.err
61602 rm -f conftest.er1
61603 cat conftest.err >&5
61604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61605 (exit $ac_status); } &&
61606 { ac_try='test -z "$ac_cxx_werror_flag"
61607 || test ! -s conftest.err'
61608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61609 (eval $ac_try) 2>&5
61610 ac_status=$?
61611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61612 (exit $ac_status); }; } &&
61613 { ac_try='test -s conftest.$ac_objext'
61614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61615 (eval $ac_try) 2>&5
61616 ac_status=$?
61617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61618 (exit $ac_status); }; }; then
61619 glibcxx_cv_func_powf_use=yes
61620 else
61621 echo "$as_me: failed program was:" >&5
61622 sed 's/^/| /' conftest.$ac_ext >&5
61624 glibcxx_cv_func_powf_use=no
61626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61627 ac_ext=c
61628 ac_cpp='$CPP $CPPFLAGS'
61629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61637 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61638 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61640 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61642 for ac_func in powf
61644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61645 echo "$as_me:$LINENO: checking for $ac_func" >&5
61646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61647 if eval "test \"\${$as_ac_var+set}\" = set"; then
61648 echo $ECHO_N "(cached) $ECHO_C" >&6
61649 else
61650 if test x$gcc_no_link = xyes; then
61651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61653 { (exit 1); exit 1; }; }
61655 cat >conftest.$ac_ext <<_ACEOF
61656 /* confdefs.h. */
61657 _ACEOF
61658 cat confdefs.h >>conftest.$ac_ext
61659 cat >>conftest.$ac_ext <<_ACEOF
61660 /* end confdefs.h. */
61661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61663 #define $ac_func innocuous_$ac_func
61665 /* System header to define __stub macros and hopefully few prototypes,
61666 which can conflict with char $ac_func (); below.
61667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61668 <limits.h> exists even on freestanding compilers. */
61670 #ifdef __STDC__
61671 # include <limits.h>
61672 #else
61673 # include <assert.h>
61674 #endif
61676 #undef $ac_func
61678 /* Override any gcc2 internal prototype to avoid an error. */
61679 #ifdef __cplusplus
61680 extern "C"
61682 #endif
61683 /* We use char because int might match the return type of a gcc2
61684 builtin and then its argument prototype would still apply. */
61685 char $ac_func ();
61686 /* The GNU C library defines this for functions which it implements
61687 to always fail with ENOSYS. Some functions are actually named
61688 something starting with __ and the normal name is an alias. */
61689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61690 choke me
61691 #else
61692 char (*f) () = $ac_func;
61693 #endif
61694 #ifdef __cplusplus
61696 #endif
61699 main ()
61701 return f != $ac_func;
61703 return 0;
61705 _ACEOF
61706 rm -f conftest.$ac_objext conftest$ac_exeext
61707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61708 (eval $ac_link) 2>conftest.er1
61709 ac_status=$?
61710 grep -v '^ *+' conftest.er1 >conftest.err
61711 rm -f conftest.er1
61712 cat conftest.err >&5
61713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61714 (exit $ac_status); } &&
61715 { ac_try='test -z "$ac_c_werror_flag"
61716 || test ! -s conftest.err'
61717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61718 (eval $ac_try) 2>&5
61719 ac_status=$?
61720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61721 (exit $ac_status); }; } &&
61722 { ac_try='test -s conftest$ac_exeext'
61723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61724 (eval $ac_try) 2>&5
61725 ac_status=$?
61726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61727 (exit $ac_status); }; }; then
61728 eval "$as_ac_var=yes"
61729 else
61730 echo "$as_me: failed program was:" >&5
61731 sed 's/^/| /' conftest.$ac_ext >&5
61733 eval "$as_ac_var=no"
61735 rm -f conftest.err conftest.$ac_objext \
61736 conftest$ac_exeext conftest.$ac_ext
61738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61740 if test `eval echo '${'$as_ac_var'}'` = yes; then
61741 cat >>confdefs.h <<_ACEOF
61742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61743 _ACEOF
61746 done
61748 else
61750 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61751 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61752 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61753 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61754 echo $ECHO_N "(cached) $ECHO_C" >&6
61755 else
61759 ac_ext=cc
61760 ac_cpp='$CXXCPP $CPPFLAGS'
61761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61765 cat >conftest.$ac_ext <<_ACEOF
61766 /* confdefs.h. */
61767 _ACEOF
61768 cat confdefs.h >>conftest.$ac_ext
61769 cat >>conftest.$ac_ext <<_ACEOF
61770 /* end confdefs.h. */
61771 #include <math.h>
61773 main ()
61775 _powf(0, 0);
61777 return 0;
61779 _ACEOF
61780 rm -f conftest.$ac_objext
61781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61782 (eval $ac_compile) 2>conftest.er1
61783 ac_status=$?
61784 grep -v '^ *+' conftest.er1 >conftest.err
61785 rm -f conftest.er1
61786 cat conftest.err >&5
61787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61788 (exit $ac_status); } &&
61789 { ac_try='test -z "$ac_cxx_werror_flag"
61790 || test ! -s conftest.err'
61791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61792 (eval $ac_try) 2>&5
61793 ac_status=$?
61794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61795 (exit $ac_status); }; } &&
61796 { ac_try='test -s conftest.$ac_objext'
61797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61798 (eval $ac_try) 2>&5
61799 ac_status=$?
61800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61801 (exit $ac_status); }; }; then
61802 glibcxx_cv_func__powf_use=yes
61803 else
61804 echo "$as_me: failed program was:" >&5
61805 sed 's/^/| /' conftest.$ac_ext >&5
61807 glibcxx_cv_func__powf_use=no
61809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61810 ac_ext=c
61811 ac_cpp='$CPP $CPPFLAGS'
61812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61820 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61821 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61823 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61825 for ac_func in _powf
61827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61828 echo "$as_me:$LINENO: checking for $ac_func" >&5
61829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61830 if eval "test \"\${$as_ac_var+set}\" = set"; then
61831 echo $ECHO_N "(cached) $ECHO_C" >&6
61832 else
61833 if test x$gcc_no_link = xyes; then
61834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61836 { (exit 1); exit 1; }; }
61838 cat >conftest.$ac_ext <<_ACEOF
61839 /* confdefs.h. */
61840 _ACEOF
61841 cat confdefs.h >>conftest.$ac_ext
61842 cat >>conftest.$ac_ext <<_ACEOF
61843 /* end confdefs.h. */
61844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61846 #define $ac_func innocuous_$ac_func
61848 /* System header to define __stub macros and hopefully few prototypes,
61849 which can conflict with char $ac_func (); below.
61850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61851 <limits.h> exists even on freestanding compilers. */
61853 #ifdef __STDC__
61854 # include <limits.h>
61855 #else
61856 # include <assert.h>
61857 #endif
61859 #undef $ac_func
61861 /* Override any gcc2 internal prototype to avoid an error. */
61862 #ifdef __cplusplus
61863 extern "C"
61865 #endif
61866 /* We use char because int might match the return type of a gcc2
61867 builtin and then its argument prototype would still apply. */
61868 char $ac_func ();
61869 /* The GNU C library defines this for functions which it implements
61870 to always fail with ENOSYS. Some functions are actually named
61871 something starting with __ and the normal name is an alias. */
61872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61873 choke me
61874 #else
61875 char (*f) () = $ac_func;
61876 #endif
61877 #ifdef __cplusplus
61879 #endif
61882 main ()
61884 return f != $ac_func;
61886 return 0;
61888 _ACEOF
61889 rm -f conftest.$ac_objext conftest$ac_exeext
61890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61891 (eval $ac_link) 2>conftest.er1
61892 ac_status=$?
61893 grep -v '^ *+' conftest.er1 >conftest.err
61894 rm -f conftest.er1
61895 cat conftest.err >&5
61896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61897 (exit $ac_status); } &&
61898 { ac_try='test -z "$ac_c_werror_flag"
61899 || test ! -s conftest.err'
61900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61901 (eval $ac_try) 2>&5
61902 ac_status=$?
61903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61904 (exit $ac_status); }; } &&
61905 { ac_try='test -s conftest$ac_exeext'
61906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61907 (eval $ac_try) 2>&5
61908 ac_status=$?
61909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61910 (exit $ac_status); }; }; then
61911 eval "$as_ac_var=yes"
61912 else
61913 echo "$as_me: failed program was:" >&5
61914 sed 's/^/| /' conftest.$ac_ext >&5
61916 eval "$as_ac_var=no"
61918 rm -f conftest.err conftest.$ac_objext \
61919 conftest$ac_exeext conftest.$ac_ext
61921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61923 if test `eval echo '${'$as_ac_var'}'` = yes; then
61924 cat >>confdefs.h <<_ACEOF
61925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61926 _ACEOF
61929 done
61936 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61937 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61938 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61939 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61940 echo $ECHO_N "(cached) $ECHO_C" >&6
61941 else
61945 ac_ext=cc
61946 ac_cpp='$CXXCPP $CPPFLAGS'
61947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61951 cat >conftest.$ac_ext <<_ACEOF
61952 /* confdefs.h. */
61953 _ACEOF
61954 cat confdefs.h >>conftest.$ac_ext
61955 cat >>conftest.$ac_ext <<_ACEOF
61956 /* end confdefs.h. */
61957 #include <math.h>
61958 #ifdef HAVE_IEEEFP_H
61959 #include <ieeefp.h>
61960 #endif
61963 main ()
61965 sqrtf(0);
61967 return 0;
61969 _ACEOF
61970 rm -f conftest.$ac_objext
61971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61972 (eval $ac_compile) 2>conftest.er1
61973 ac_status=$?
61974 grep -v '^ *+' conftest.er1 >conftest.err
61975 rm -f conftest.er1
61976 cat conftest.err >&5
61977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61978 (exit $ac_status); } &&
61979 { ac_try='test -z "$ac_cxx_werror_flag"
61980 || test ! -s conftest.err'
61981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61982 (eval $ac_try) 2>&5
61983 ac_status=$?
61984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61985 (exit $ac_status); }; } &&
61986 { ac_try='test -s conftest.$ac_objext'
61987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61988 (eval $ac_try) 2>&5
61989 ac_status=$?
61990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61991 (exit $ac_status); }; }; then
61992 glibcxx_cv_func_sqrtf_use=yes
61993 else
61994 echo "$as_me: failed program was:" >&5
61995 sed 's/^/| /' conftest.$ac_ext >&5
61997 glibcxx_cv_func_sqrtf_use=no
61999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62000 ac_ext=c
62001 ac_cpp='$CPP $CPPFLAGS'
62002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62010 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62011 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62013 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62015 for ac_func in sqrtf
62017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62018 echo "$as_me:$LINENO: checking for $ac_func" >&5
62019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62020 if eval "test \"\${$as_ac_var+set}\" = set"; then
62021 echo $ECHO_N "(cached) $ECHO_C" >&6
62022 else
62023 if test x$gcc_no_link = xyes; then
62024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62026 { (exit 1); exit 1; }; }
62028 cat >conftest.$ac_ext <<_ACEOF
62029 /* confdefs.h. */
62030 _ACEOF
62031 cat confdefs.h >>conftest.$ac_ext
62032 cat >>conftest.$ac_ext <<_ACEOF
62033 /* end confdefs.h. */
62034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62036 #define $ac_func innocuous_$ac_func
62038 /* System header to define __stub macros and hopefully few prototypes,
62039 which can conflict with char $ac_func (); below.
62040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62041 <limits.h> exists even on freestanding compilers. */
62043 #ifdef __STDC__
62044 # include <limits.h>
62045 #else
62046 # include <assert.h>
62047 #endif
62049 #undef $ac_func
62051 /* Override any gcc2 internal prototype to avoid an error. */
62052 #ifdef __cplusplus
62053 extern "C"
62055 #endif
62056 /* We use char because int might match the return type of a gcc2
62057 builtin and then its argument prototype would still apply. */
62058 char $ac_func ();
62059 /* The GNU C library defines this for functions which it implements
62060 to always fail with ENOSYS. Some functions are actually named
62061 something starting with __ and the normal name is an alias. */
62062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62063 choke me
62064 #else
62065 char (*f) () = $ac_func;
62066 #endif
62067 #ifdef __cplusplus
62069 #endif
62072 main ()
62074 return f != $ac_func;
62076 return 0;
62078 _ACEOF
62079 rm -f conftest.$ac_objext conftest$ac_exeext
62080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62081 (eval $ac_link) 2>conftest.er1
62082 ac_status=$?
62083 grep -v '^ *+' conftest.er1 >conftest.err
62084 rm -f conftest.er1
62085 cat conftest.err >&5
62086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62087 (exit $ac_status); } &&
62088 { ac_try='test -z "$ac_c_werror_flag"
62089 || test ! -s conftest.err'
62090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62091 (eval $ac_try) 2>&5
62092 ac_status=$?
62093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62094 (exit $ac_status); }; } &&
62095 { ac_try='test -s conftest$ac_exeext'
62096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62097 (eval $ac_try) 2>&5
62098 ac_status=$?
62099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62100 (exit $ac_status); }; }; then
62101 eval "$as_ac_var=yes"
62102 else
62103 echo "$as_me: failed program was:" >&5
62104 sed 's/^/| /' conftest.$ac_ext >&5
62106 eval "$as_ac_var=no"
62108 rm -f conftest.err conftest.$ac_objext \
62109 conftest$ac_exeext conftest.$ac_ext
62111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62113 if test `eval echo '${'$as_ac_var'}'` = yes; then
62114 cat >>confdefs.h <<_ACEOF
62115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62116 _ACEOF
62119 done
62121 else
62123 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62124 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62125 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62126 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62127 echo $ECHO_N "(cached) $ECHO_C" >&6
62128 else
62132 ac_ext=cc
62133 ac_cpp='$CXXCPP $CPPFLAGS'
62134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62138 cat >conftest.$ac_ext <<_ACEOF
62139 /* confdefs.h. */
62140 _ACEOF
62141 cat confdefs.h >>conftest.$ac_ext
62142 cat >>conftest.$ac_ext <<_ACEOF
62143 /* end confdefs.h. */
62144 #include <math.h>
62145 #ifdef HAVE_IEEEFP_H
62146 #include <ieeefp.h>
62147 #endif
62150 main ()
62152 _sqrtf(0);
62154 return 0;
62156 _ACEOF
62157 rm -f conftest.$ac_objext
62158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62159 (eval $ac_compile) 2>conftest.er1
62160 ac_status=$?
62161 grep -v '^ *+' conftest.er1 >conftest.err
62162 rm -f conftest.er1
62163 cat conftest.err >&5
62164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62165 (exit $ac_status); } &&
62166 { ac_try='test -z "$ac_cxx_werror_flag"
62167 || test ! -s conftest.err'
62168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62169 (eval $ac_try) 2>&5
62170 ac_status=$?
62171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62172 (exit $ac_status); }; } &&
62173 { ac_try='test -s conftest.$ac_objext'
62174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62175 (eval $ac_try) 2>&5
62176 ac_status=$?
62177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62178 (exit $ac_status); }; }; then
62179 glibcxx_cv_func__sqrtf_use=yes
62180 else
62181 echo "$as_me: failed program was:" >&5
62182 sed 's/^/| /' conftest.$ac_ext >&5
62184 glibcxx_cv_func__sqrtf_use=no
62186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62187 ac_ext=c
62188 ac_cpp='$CPP $CPPFLAGS'
62189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62197 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62198 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62200 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62202 for ac_func in _sqrtf
62204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62205 echo "$as_me:$LINENO: checking for $ac_func" >&5
62206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62207 if eval "test \"\${$as_ac_var+set}\" = set"; then
62208 echo $ECHO_N "(cached) $ECHO_C" >&6
62209 else
62210 if test x$gcc_no_link = xyes; then
62211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62213 { (exit 1); exit 1; }; }
62215 cat >conftest.$ac_ext <<_ACEOF
62216 /* confdefs.h. */
62217 _ACEOF
62218 cat confdefs.h >>conftest.$ac_ext
62219 cat >>conftest.$ac_ext <<_ACEOF
62220 /* end confdefs.h. */
62221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62223 #define $ac_func innocuous_$ac_func
62225 /* System header to define __stub macros and hopefully few prototypes,
62226 which can conflict with char $ac_func (); below.
62227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62228 <limits.h> exists even on freestanding compilers. */
62230 #ifdef __STDC__
62231 # include <limits.h>
62232 #else
62233 # include <assert.h>
62234 #endif
62236 #undef $ac_func
62238 /* Override any gcc2 internal prototype to avoid an error. */
62239 #ifdef __cplusplus
62240 extern "C"
62242 #endif
62243 /* We use char because int might match the return type of a gcc2
62244 builtin and then its argument prototype would still apply. */
62245 char $ac_func ();
62246 /* The GNU C library defines this for functions which it implements
62247 to always fail with ENOSYS. Some functions are actually named
62248 something starting with __ and the normal name is an alias. */
62249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62250 choke me
62251 #else
62252 char (*f) () = $ac_func;
62253 #endif
62254 #ifdef __cplusplus
62256 #endif
62259 main ()
62261 return f != $ac_func;
62263 return 0;
62265 _ACEOF
62266 rm -f conftest.$ac_objext conftest$ac_exeext
62267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62268 (eval $ac_link) 2>conftest.er1
62269 ac_status=$?
62270 grep -v '^ *+' conftest.er1 >conftest.err
62271 rm -f conftest.er1
62272 cat conftest.err >&5
62273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62274 (exit $ac_status); } &&
62275 { ac_try='test -z "$ac_c_werror_flag"
62276 || test ! -s conftest.err'
62277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62278 (eval $ac_try) 2>&5
62279 ac_status=$?
62280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62281 (exit $ac_status); }; } &&
62282 { ac_try='test -s conftest$ac_exeext'
62283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62284 (eval $ac_try) 2>&5
62285 ac_status=$?
62286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62287 (exit $ac_status); }; }; then
62288 eval "$as_ac_var=yes"
62289 else
62290 echo "$as_me: failed program was:" >&5
62291 sed 's/^/| /' conftest.$ac_ext >&5
62293 eval "$as_ac_var=no"
62295 rm -f conftest.err conftest.$ac_objext \
62296 conftest$ac_exeext conftest.$ac_ext
62298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62300 if test `eval echo '${'$as_ac_var'}'` = yes; then
62301 cat >>confdefs.h <<_ACEOF
62302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62303 _ACEOF
62306 done
62313 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62314 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62315 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62316 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62317 echo $ECHO_N "(cached) $ECHO_C" >&6
62318 else
62322 ac_ext=cc
62323 ac_cpp='$CXXCPP $CPPFLAGS'
62324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62328 cat >conftest.$ac_ext <<_ACEOF
62329 /* confdefs.h. */
62330 _ACEOF
62331 cat confdefs.h >>conftest.$ac_ext
62332 cat >>conftest.$ac_ext <<_ACEOF
62333 /* end confdefs.h. */
62334 #include <math.h>
62336 main ()
62338 sincosf(0, 0, 0);
62340 return 0;
62342 _ACEOF
62343 rm -f conftest.$ac_objext
62344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62345 (eval $ac_compile) 2>conftest.er1
62346 ac_status=$?
62347 grep -v '^ *+' conftest.er1 >conftest.err
62348 rm -f conftest.er1
62349 cat conftest.err >&5
62350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62351 (exit $ac_status); } &&
62352 { ac_try='test -z "$ac_cxx_werror_flag"
62353 || test ! -s conftest.err'
62354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62355 (eval $ac_try) 2>&5
62356 ac_status=$?
62357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62358 (exit $ac_status); }; } &&
62359 { ac_try='test -s conftest.$ac_objext'
62360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62361 (eval $ac_try) 2>&5
62362 ac_status=$?
62363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62364 (exit $ac_status); }; }; then
62365 glibcxx_cv_func_sincosf_use=yes
62366 else
62367 echo "$as_me: failed program was:" >&5
62368 sed 's/^/| /' conftest.$ac_ext >&5
62370 glibcxx_cv_func_sincosf_use=no
62372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62373 ac_ext=c
62374 ac_cpp='$CPP $CPPFLAGS'
62375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62383 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62384 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62386 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62388 for ac_func in sincosf
62390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62391 echo "$as_me:$LINENO: checking for $ac_func" >&5
62392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62393 if eval "test \"\${$as_ac_var+set}\" = set"; then
62394 echo $ECHO_N "(cached) $ECHO_C" >&6
62395 else
62396 if test x$gcc_no_link = xyes; then
62397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62399 { (exit 1); exit 1; }; }
62401 cat >conftest.$ac_ext <<_ACEOF
62402 /* confdefs.h. */
62403 _ACEOF
62404 cat confdefs.h >>conftest.$ac_ext
62405 cat >>conftest.$ac_ext <<_ACEOF
62406 /* end confdefs.h. */
62407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62409 #define $ac_func innocuous_$ac_func
62411 /* System header to define __stub macros and hopefully few prototypes,
62412 which can conflict with char $ac_func (); below.
62413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62414 <limits.h> exists even on freestanding compilers. */
62416 #ifdef __STDC__
62417 # include <limits.h>
62418 #else
62419 # include <assert.h>
62420 #endif
62422 #undef $ac_func
62424 /* Override any gcc2 internal prototype to avoid an error. */
62425 #ifdef __cplusplus
62426 extern "C"
62428 #endif
62429 /* We use char because int might match the return type of a gcc2
62430 builtin and then its argument prototype would still apply. */
62431 char $ac_func ();
62432 /* The GNU C library defines this for functions which it implements
62433 to always fail with ENOSYS. Some functions are actually named
62434 something starting with __ and the normal name is an alias. */
62435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62436 choke me
62437 #else
62438 char (*f) () = $ac_func;
62439 #endif
62440 #ifdef __cplusplus
62442 #endif
62445 main ()
62447 return f != $ac_func;
62449 return 0;
62451 _ACEOF
62452 rm -f conftest.$ac_objext conftest$ac_exeext
62453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62454 (eval $ac_link) 2>conftest.er1
62455 ac_status=$?
62456 grep -v '^ *+' conftest.er1 >conftest.err
62457 rm -f conftest.er1
62458 cat conftest.err >&5
62459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62460 (exit $ac_status); } &&
62461 { ac_try='test -z "$ac_c_werror_flag"
62462 || test ! -s conftest.err'
62463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62464 (eval $ac_try) 2>&5
62465 ac_status=$?
62466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62467 (exit $ac_status); }; } &&
62468 { ac_try='test -s conftest$ac_exeext'
62469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62470 (eval $ac_try) 2>&5
62471 ac_status=$?
62472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62473 (exit $ac_status); }; }; then
62474 eval "$as_ac_var=yes"
62475 else
62476 echo "$as_me: failed program was:" >&5
62477 sed 's/^/| /' conftest.$ac_ext >&5
62479 eval "$as_ac_var=no"
62481 rm -f conftest.err conftest.$ac_objext \
62482 conftest$ac_exeext conftest.$ac_ext
62484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62486 if test `eval echo '${'$as_ac_var'}'` = yes; then
62487 cat >>confdefs.h <<_ACEOF
62488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62489 _ACEOF
62492 done
62494 else
62496 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62497 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62498 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62499 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62500 echo $ECHO_N "(cached) $ECHO_C" >&6
62501 else
62505 ac_ext=cc
62506 ac_cpp='$CXXCPP $CPPFLAGS'
62507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62511 cat >conftest.$ac_ext <<_ACEOF
62512 /* confdefs.h. */
62513 _ACEOF
62514 cat confdefs.h >>conftest.$ac_ext
62515 cat >>conftest.$ac_ext <<_ACEOF
62516 /* end confdefs.h. */
62517 #include <math.h>
62519 main ()
62521 _sincosf(0, 0, 0);
62523 return 0;
62525 _ACEOF
62526 rm -f conftest.$ac_objext
62527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62528 (eval $ac_compile) 2>conftest.er1
62529 ac_status=$?
62530 grep -v '^ *+' conftest.er1 >conftest.err
62531 rm -f conftest.er1
62532 cat conftest.err >&5
62533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62534 (exit $ac_status); } &&
62535 { ac_try='test -z "$ac_cxx_werror_flag"
62536 || test ! -s conftest.err'
62537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62538 (eval $ac_try) 2>&5
62539 ac_status=$?
62540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62541 (exit $ac_status); }; } &&
62542 { ac_try='test -s conftest.$ac_objext'
62543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62544 (eval $ac_try) 2>&5
62545 ac_status=$?
62546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62547 (exit $ac_status); }; }; then
62548 glibcxx_cv_func__sincosf_use=yes
62549 else
62550 echo "$as_me: failed program was:" >&5
62551 sed 's/^/| /' conftest.$ac_ext >&5
62553 glibcxx_cv_func__sincosf_use=no
62555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62556 ac_ext=c
62557 ac_cpp='$CPP $CPPFLAGS'
62558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62566 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62567 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62569 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62571 for ac_func in _sincosf
62573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62574 echo "$as_me:$LINENO: checking for $ac_func" >&5
62575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62576 if eval "test \"\${$as_ac_var+set}\" = set"; then
62577 echo $ECHO_N "(cached) $ECHO_C" >&6
62578 else
62579 if test x$gcc_no_link = xyes; then
62580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62582 { (exit 1); exit 1; }; }
62584 cat >conftest.$ac_ext <<_ACEOF
62585 /* confdefs.h. */
62586 _ACEOF
62587 cat confdefs.h >>conftest.$ac_ext
62588 cat >>conftest.$ac_ext <<_ACEOF
62589 /* end confdefs.h. */
62590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62592 #define $ac_func innocuous_$ac_func
62594 /* System header to define __stub macros and hopefully few prototypes,
62595 which can conflict with char $ac_func (); below.
62596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62597 <limits.h> exists even on freestanding compilers. */
62599 #ifdef __STDC__
62600 # include <limits.h>
62601 #else
62602 # include <assert.h>
62603 #endif
62605 #undef $ac_func
62607 /* Override any gcc2 internal prototype to avoid an error. */
62608 #ifdef __cplusplus
62609 extern "C"
62611 #endif
62612 /* We use char because int might match the return type of a gcc2
62613 builtin and then its argument prototype would still apply. */
62614 char $ac_func ();
62615 /* The GNU C library defines this for functions which it implements
62616 to always fail with ENOSYS. Some functions are actually named
62617 something starting with __ and the normal name is an alias. */
62618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62619 choke me
62620 #else
62621 char (*f) () = $ac_func;
62622 #endif
62623 #ifdef __cplusplus
62625 #endif
62628 main ()
62630 return f != $ac_func;
62632 return 0;
62634 _ACEOF
62635 rm -f conftest.$ac_objext conftest$ac_exeext
62636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62637 (eval $ac_link) 2>conftest.er1
62638 ac_status=$?
62639 grep -v '^ *+' conftest.er1 >conftest.err
62640 rm -f conftest.er1
62641 cat conftest.err >&5
62642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62643 (exit $ac_status); } &&
62644 { ac_try='test -z "$ac_c_werror_flag"
62645 || test ! -s conftest.err'
62646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62647 (eval $ac_try) 2>&5
62648 ac_status=$?
62649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62650 (exit $ac_status); }; } &&
62651 { ac_try='test -s conftest$ac_exeext'
62652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62653 (eval $ac_try) 2>&5
62654 ac_status=$?
62655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62656 (exit $ac_status); }; }; then
62657 eval "$as_ac_var=yes"
62658 else
62659 echo "$as_me: failed program was:" >&5
62660 sed 's/^/| /' conftest.$ac_ext >&5
62662 eval "$as_ac_var=no"
62664 rm -f conftest.err conftest.$ac_objext \
62665 conftest$ac_exeext conftest.$ac_ext
62667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62669 if test `eval echo '${'$as_ac_var'}'` = yes; then
62670 cat >>confdefs.h <<_ACEOF
62671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62672 _ACEOF
62675 done
62682 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62683 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62684 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62685 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62686 echo $ECHO_N "(cached) $ECHO_C" >&6
62687 else
62691 ac_ext=cc
62692 ac_cpp='$CXXCPP $CPPFLAGS'
62693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62697 cat >conftest.$ac_ext <<_ACEOF
62698 /* confdefs.h. */
62699 _ACEOF
62700 cat confdefs.h >>conftest.$ac_ext
62701 cat >>conftest.$ac_ext <<_ACEOF
62702 /* end confdefs.h. */
62703 #include <math.h>
62704 #ifdef HAVE_IEEEFP_H
62705 #include <ieeefp.h>
62706 #endif
62709 main ()
62711 finitef(0);
62713 return 0;
62715 _ACEOF
62716 rm -f conftest.$ac_objext
62717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62718 (eval $ac_compile) 2>conftest.er1
62719 ac_status=$?
62720 grep -v '^ *+' conftest.er1 >conftest.err
62721 rm -f conftest.er1
62722 cat conftest.err >&5
62723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62724 (exit $ac_status); } &&
62725 { ac_try='test -z "$ac_cxx_werror_flag"
62726 || test ! -s conftest.err'
62727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62728 (eval $ac_try) 2>&5
62729 ac_status=$?
62730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62731 (exit $ac_status); }; } &&
62732 { ac_try='test -s conftest.$ac_objext'
62733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62734 (eval $ac_try) 2>&5
62735 ac_status=$?
62736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62737 (exit $ac_status); }; }; then
62738 glibcxx_cv_func_finitef_use=yes
62739 else
62740 echo "$as_me: failed program was:" >&5
62741 sed 's/^/| /' conftest.$ac_ext >&5
62743 glibcxx_cv_func_finitef_use=no
62745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62746 ac_ext=c
62747 ac_cpp='$CPP $CPPFLAGS'
62748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62757 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62759 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62761 for ac_func in finitef
62763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62764 echo "$as_me:$LINENO: checking for $ac_func" >&5
62765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62766 if eval "test \"\${$as_ac_var+set}\" = set"; then
62767 echo $ECHO_N "(cached) $ECHO_C" >&6
62768 else
62769 if test x$gcc_no_link = xyes; then
62770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62772 { (exit 1); exit 1; }; }
62774 cat >conftest.$ac_ext <<_ACEOF
62775 /* confdefs.h. */
62776 _ACEOF
62777 cat confdefs.h >>conftest.$ac_ext
62778 cat >>conftest.$ac_ext <<_ACEOF
62779 /* end confdefs.h. */
62780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62782 #define $ac_func innocuous_$ac_func
62784 /* System header to define __stub macros and hopefully few prototypes,
62785 which can conflict with char $ac_func (); below.
62786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62787 <limits.h> exists even on freestanding compilers. */
62789 #ifdef __STDC__
62790 # include <limits.h>
62791 #else
62792 # include <assert.h>
62793 #endif
62795 #undef $ac_func
62797 /* Override any gcc2 internal prototype to avoid an error. */
62798 #ifdef __cplusplus
62799 extern "C"
62801 #endif
62802 /* We use char because int might match the return type of a gcc2
62803 builtin and then its argument prototype would still apply. */
62804 char $ac_func ();
62805 /* The GNU C library defines this for functions which it implements
62806 to always fail with ENOSYS. Some functions are actually named
62807 something starting with __ and the normal name is an alias. */
62808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62809 choke me
62810 #else
62811 char (*f) () = $ac_func;
62812 #endif
62813 #ifdef __cplusplus
62815 #endif
62818 main ()
62820 return f != $ac_func;
62822 return 0;
62824 _ACEOF
62825 rm -f conftest.$ac_objext conftest$ac_exeext
62826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62827 (eval $ac_link) 2>conftest.er1
62828 ac_status=$?
62829 grep -v '^ *+' conftest.er1 >conftest.err
62830 rm -f conftest.er1
62831 cat conftest.err >&5
62832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62833 (exit $ac_status); } &&
62834 { ac_try='test -z "$ac_c_werror_flag"
62835 || test ! -s conftest.err'
62836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62837 (eval $ac_try) 2>&5
62838 ac_status=$?
62839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62840 (exit $ac_status); }; } &&
62841 { ac_try='test -s conftest$ac_exeext'
62842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62843 (eval $ac_try) 2>&5
62844 ac_status=$?
62845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62846 (exit $ac_status); }; }; then
62847 eval "$as_ac_var=yes"
62848 else
62849 echo "$as_me: failed program was:" >&5
62850 sed 's/^/| /' conftest.$ac_ext >&5
62852 eval "$as_ac_var=no"
62854 rm -f conftest.err conftest.$ac_objext \
62855 conftest$ac_exeext conftest.$ac_ext
62857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62859 if test `eval echo '${'$as_ac_var'}'` = yes; then
62860 cat >>confdefs.h <<_ACEOF
62861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62862 _ACEOF
62865 done
62867 else
62869 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62870 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62871 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62872 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62873 echo $ECHO_N "(cached) $ECHO_C" >&6
62874 else
62878 ac_ext=cc
62879 ac_cpp='$CXXCPP $CPPFLAGS'
62880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62884 cat >conftest.$ac_ext <<_ACEOF
62885 /* confdefs.h. */
62886 _ACEOF
62887 cat confdefs.h >>conftest.$ac_ext
62888 cat >>conftest.$ac_ext <<_ACEOF
62889 /* end confdefs.h. */
62890 #include <math.h>
62891 #ifdef HAVE_IEEEFP_H
62892 #include <ieeefp.h>
62893 #endif
62896 main ()
62898 _finitef(0);
62900 return 0;
62902 _ACEOF
62903 rm -f conftest.$ac_objext
62904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62905 (eval $ac_compile) 2>conftest.er1
62906 ac_status=$?
62907 grep -v '^ *+' conftest.er1 >conftest.err
62908 rm -f conftest.er1
62909 cat conftest.err >&5
62910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62911 (exit $ac_status); } &&
62912 { ac_try='test -z "$ac_cxx_werror_flag"
62913 || test ! -s conftest.err'
62914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62915 (eval $ac_try) 2>&5
62916 ac_status=$?
62917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62918 (exit $ac_status); }; } &&
62919 { ac_try='test -s conftest.$ac_objext'
62920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62921 (eval $ac_try) 2>&5
62922 ac_status=$?
62923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62924 (exit $ac_status); }; }; then
62925 glibcxx_cv_func__finitef_use=yes
62926 else
62927 echo "$as_me: failed program was:" >&5
62928 sed 's/^/| /' conftest.$ac_ext >&5
62930 glibcxx_cv_func__finitef_use=no
62932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62933 ac_ext=c
62934 ac_cpp='$CPP $CPPFLAGS'
62935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62944 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62946 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62948 for ac_func in _finitef
62950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62951 echo "$as_me:$LINENO: checking for $ac_func" >&5
62952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62953 if eval "test \"\${$as_ac_var+set}\" = set"; then
62954 echo $ECHO_N "(cached) $ECHO_C" >&6
62955 else
62956 if test x$gcc_no_link = xyes; then
62957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62959 { (exit 1); exit 1; }; }
62961 cat >conftest.$ac_ext <<_ACEOF
62962 /* confdefs.h. */
62963 _ACEOF
62964 cat confdefs.h >>conftest.$ac_ext
62965 cat >>conftest.$ac_ext <<_ACEOF
62966 /* end confdefs.h. */
62967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62969 #define $ac_func innocuous_$ac_func
62971 /* System header to define __stub macros and hopefully few prototypes,
62972 which can conflict with char $ac_func (); below.
62973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62974 <limits.h> exists even on freestanding compilers. */
62976 #ifdef __STDC__
62977 # include <limits.h>
62978 #else
62979 # include <assert.h>
62980 #endif
62982 #undef $ac_func
62984 /* Override any gcc2 internal prototype to avoid an error. */
62985 #ifdef __cplusplus
62986 extern "C"
62988 #endif
62989 /* We use char because int might match the return type of a gcc2
62990 builtin and then its argument prototype would still apply. */
62991 char $ac_func ();
62992 /* The GNU C library defines this for functions which it implements
62993 to always fail with ENOSYS. Some functions are actually named
62994 something starting with __ and the normal name is an alias. */
62995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62996 choke me
62997 #else
62998 char (*f) () = $ac_func;
62999 #endif
63000 #ifdef __cplusplus
63002 #endif
63005 main ()
63007 return f != $ac_func;
63009 return 0;
63011 _ACEOF
63012 rm -f conftest.$ac_objext conftest$ac_exeext
63013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63014 (eval $ac_link) 2>conftest.er1
63015 ac_status=$?
63016 grep -v '^ *+' conftest.er1 >conftest.err
63017 rm -f conftest.er1
63018 cat conftest.err >&5
63019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63020 (exit $ac_status); } &&
63021 { ac_try='test -z "$ac_c_werror_flag"
63022 || test ! -s conftest.err'
63023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63024 (eval $ac_try) 2>&5
63025 ac_status=$?
63026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63027 (exit $ac_status); }; } &&
63028 { ac_try='test -s conftest$ac_exeext'
63029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63030 (eval $ac_try) 2>&5
63031 ac_status=$?
63032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63033 (exit $ac_status); }; }; then
63034 eval "$as_ac_var=yes"
63035 else
63036 echo "$as_me: failed program was:" >&5
63037 sed 's/^/| /' conftest.$ac_ext >&5
63039 eval "$as_ac_var=no"
63041 rm -f conftest.err conftest.$ac_objext \
63042 conftest$ac_exeext conftest.$ac_ext
63044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63046 if test `eval echo '${'$as_ac_var'}'` = yes; then
63047 cat >>confdefs.h <<_ACEOF
63048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63049 _ACEOF
63052 done
63059 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63060 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63061 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63062 echo $ECHO_N "(cached) $ECHO_C" >&6
63063 else
63067 ac_ext=cc
63068 ac_cpp='$CXXCPP $CPPFLAGS'
63069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63073 cat >conftest.$ac_ext <<_ACEOF
63074 /* confdefs.h. */
63075 _ACEOF
63076 cat confdefs.h >>conftest.$ac_ext
63077 cat >>conftest.$ac_ext <<_ACEOF
63078 /* end confdefs.h. */
63079 #include <math.h>
63081 main ()
63083 `for x in acosl asinl atanl \
63084 cosl sinl tanl \
63085 coshl sinhl tanhl; do echo "$x (0);"; done`
63087 return 0;
63089 _ACEOF
63090 rm -f conftest.$ac_objext
63091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63092 (eval $ac_compile) 2>conftest.er1
63093 ac_status=$?
63094 grep -v '^ *+' conftest.er1 >conftest.err
63095 rm -f conftest.er1
63096 cat conftest.err >&5
63097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63098 (exit $ac_status); } &&
63099 { ac_try='test -z "$ac_cxx_werror_flag"
63100 || test ! -s conftest.err'
63101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63102 (eval $ac_try) 2>&5
63103 ac_status=$?
63104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63105 (exit $ac_status); }; } &&
63106 { ac_try='test -s conftest.$ac_objext'
63107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63108 (eval $ac_try) 2>&5
63109 ac_status=$?
63110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63111 (exit $ac_status); }; }; then
63112 glibcxx_cv_func_long_double_trig_use=yes
63113 else
63114 echo "$as_me: failed program was:" >&5
63115 sed 's/^/| /' conftest.$ac_ext >&5
63117 glibcxx_cv_func_long_double_trig_use=no
63119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63120 ac_ext=c
63121 ac_cpp='$CPP $CPPFLAGS'
63122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63129 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63130 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63140 for ac_func in acosl asinl atanl \
63141 cosl sinl tanl \
63142 coshl sinhl tanhl
63144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63145 echo "$as_me:$LINENO: checking for $ac_func" >&5
63146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63147 if eval "test \"\${$as_ac_var+set}\" = set"; then
63148 echo $ECHO_N "(cached) $ECHO_C" >&6
63149 else
63150 if test x$gcc_no_link = xyes; then
63151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63153 { (exit 1); exit 1; }; }
63155 cat >conftest.$ac_ext <<_ACEOF
63156 /* confdefs.h. */
63157 _ACEOF
63158 cat confdefs.h >>conftest.$ac_ext
63159 cat >>conftest.$ac_ext <<_ACEOF
63160 /* end confdefs.h. */
63161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63163 #define $ac_func innocuous_$ac_func
63165 /* System header to define __stub macros and hopefully few prototypes,
63166 which can conflict with char $ac_func (); below.
63167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63168 <limits.h> exists even on freestanding compilers. */
63170 #ifdef __STDC__
63171 # include <limits.h>
63172 #else
63173 # include <assert.h>
63174 #endif
63176 #undef $ac_func
63178 /* Override any gcc2 internal prototype to avoid an error. */
63179 #ifdef __cplusplus
63180 extern "C"
63182 #endif
63183 /* We use char because int might match the return type of a gcc2
63184 builtin and then its argument prototype would still apply. */
63185 char $ac_func ();
63186 /* The GNU C library defines this for functions which it implements
63187 to always fail with ENOSYS. Some functions are actually named
63188 something starting with __ and the normal name is an alias. */
63189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63190 choke me
63191 #else
63192 char (*f) () = $ac_func;
63193 #endif
63194 #ifdef __cplusplus
63196 #endif
63199 main ()
63201 return f != $ac_func;
63203 return 0;
63205 _ACEOF
63206 rm -f conftest.$ac_objext conftest$ac_exeext
63207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63208 (eval $ac_link) 2>conftest.er1
63209 ac_status=$?
63210 grep -v '^ *+' conftest.er1 >conftest.err
63211 rm -f conftest.er1
63212 cat conftest.err >&5
63213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63214 (exit $ac_status); } &&
63215 { ac_try='test -z "$ac_c_werror_flag"
63216 || test ! -s conftest.err'
63217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63218 (eval $ac_try) 2>&5
63219 ac_status=$?
63220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63221 (exit $ac_status); }; } &&
63222 { ac_try='test -s conftest$ac_exeext'
63223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63224 (eval $ac_try) 2>&5
63225 ac_status=$?
63226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63227 (exit $ac_status); }; }; then
63228 eval "$as_ac_var=yes"
63229 else
63230 echo "$as_me: failed program was:" >&5
63231 sed 's/^/| /' conftest.$ac_ext >&5
63233 eval "$as_ac_var=no"
63235 rm -f conftest.err conftest.$ac_objext \
63236 conftest$ac_exeext conftest.$ac_ext
63238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63240 if test `eval echo '${'$as_ac_var'}'` = yes; then
63241 cat >>confdefs.h <<_ACEOF
63242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63243 _ACEOF
63246 done
63251 echo "$as_me:$LINENO: checking for long double round functions" >&5
63252 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63253 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63254 echo $ECHO_N "(cached) $ECHO_C" >&6
63255 else
63259 ac_ext=cc
63260 ac_cpp='$CXXCPP $CPPFLAGS'
63261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63265 cat >conftest.$ac_ext <<_ACEOF
63266 /* confdefs.h. */
63267 _ACEOF
63268 cat confdefs.h >>conftest.$ac_ext
63269 cat >>conftest.$ac_ext <<_ACEOF
63270 /* end confdefs.h. */
63271 #include <math.h>
63273 main ()
63275 `for x in ceill floorl; do echo "$x (0);"; done`
63277 return 0;
63279 _ACEOF
63280 rm -f conftest.$ac_objext
63281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63282 (eval $ac_compile) 2>conftest.er1
63283 ac_status=$?
63284 grep -v '^ *+' conftest.er1 >conftest.err
63285 rm -f conftest.er1
63286 cat conftest.err >&5
63287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63288 (exit $ac_status); } &&
63289 { ac_try='test -z "$ac_cxx_werror_flag"
63290 || test ! -s conftest.err'
63291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63292 (eval $ac_try) 2>&5
63293 ac_status=$?
63294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63295 (exit $ac_status); }; } &&
63296 { ac_try='test -s conftest.$ac_objext'
63297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63298 (eval $ac_try) 2>&5
63299 ac_status=$?
63300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63301 (exit $ac_status); }; }; then
63302 glibcxx_cv_func_long_double_round_use=yes
63303 else
63304 echo "$as_me: failed program was:" >&5
63305 sed 's/^/| /' conftest.$ac_ext >&5
63307 glibcxx_cv_func_long_double_round_use=no
63309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63310 ac_ext=c
63311 ac_cpp='$CPP $CPPFLAGS'
63312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63319 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63320 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63323 for ac_func in ceill floorl
63325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63326 echo "$as_me:$LINENO: checking for $ac_func" >&5
63327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63328 if eval "test \"\${$as_ac_var+set}\" = set"; then
63329 echo $ECHO_N "(cached) $ECHO_C" >&6
63330 else
63331 if test x$gcc_no_link = xyes; then
63332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63334 { (exit 1); exit 1; }; }
63336 cat >conftest.$ac_ext <<_ACEOF
63337 /* confdefs.h. */
63338 _ACEOF
63339 cat confdefs.h >>conftest.$ac_ext
63340 cat >>conftest.$ac_ext <<_ACEOF
63341 /* end confdefs.h. */
63342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63344 #define $ac_func innocuous_$ac_func
63346 /* System header to define __stub macros and hopefully few prototypes,
63347 which can conflict with char $ac_func (); below.
63348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63349 <limits.h> exists even on freestanding compilers. */
63351 #ifdef __STDC__
63352 # include <limits.h>
63353 #else
63354 # include <assert.h>
63355 #endif
63357 #undef $ac_func
63359 /* Override any gcc2 internal prototype to avoid an error. */
63360 #ifdef __cplusplus
63361 extern "C"
63363 #endif
63364 /* We use char because int might match the return type of a gcc2
63365 builtin and then its argument prototype would still apply. */
63366 char $ac_func ();
63367 /* The GNU C library defines this for functions which it implements
63368 to always fail with ENOSYS. Some functions are actually named
63369 something starting with __ and the normal name is an alias. */
63370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63371 choke me
63372 #else
63373 char (*f) () = $ac_func;
63374 #endif
63375 #ifdef __cplusplus
63377 #endif
63380 main ()
63382 return f != $ac_func;
63384 return 0;
63386 _ACEOF
63387 rm -f conftest.$ac_objext conftest$ac_exeext
63388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63389 (eval $ac_link) 2>conftest.er1
63390 ac_status=$?
63391 grep -v '^ *+' conftest.er1 >conftest.err
63392 rm -f conftest.er1
63393 cat conftest.err >&5
63394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63395 (exit $ac_status); } &&
63396 { ac_try='test -z "$ac_c_werror_flag"
63397 || test ! -s conftest.err'
63398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63399 (eval $ac_try) 2>&5
63400 ac_status=$?
63401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63402 (exit $ac_status); }; } &&
63403 { ac_try='test -s conftest$ac_exeext'
63404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63405 (eval $ac_try) 2>&5
63406 ac_status=$?
63407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63408 (exit $ac_status); }; }; then
63409 eval "$as_ac_var=yes"
63410 else
63411 echo "$as_me: failed program was:" >&5
63412 sed 's/^/| /' conftest.$ac_ext >&5
63414 eval "$as_ac_var=no"
63416 rm -f conftest.err conftest.$ac_objext \
63417 conftest$ac_exeext conftest.$ac_ext
63419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63421 if test `eval echo '${'$as_ac_var'}'` = yes; then
63422 cat >>confdefs.h <<_ACEOF
63423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63424 _ACEOF
63427 done
63433 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63434 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63435 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63436 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63437 echo $ECHO_N "(cached) $ECHO_C" >&6
63438 else
63442 ac_ext=cc
63443 ac_cpp='$CXXCPP $CPPFLAGS'
63444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63448 cat >conftest.$ac_ext <<_ACEOF
63449 /* confdefs.h. */
63450 _ACEOF
63451 cat confdefs.h >>conftest.$ac_ext
63452 cat >>conftest.$ac_ext <<_ACEOF
63453 /* end confdefs.h. */
63454 #include <math.h>
63455 #ifdef HAVE_IEEEFP_H
63456 #include <ieeefp.h>
63457 #endif
63460 main ()
63462 isnanl(0);
63464 return 0;
63466 _ACEOF
63467 rm -f conftest.$ac_objext
63468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63469 (eval $ac_compile) 2>conftest.er1
63470 ac_status=$?
63471 grep -v '^ *+' conftest.er1 >conftest.err
63472 rm -f conftest.er1
63473 cat conftest.err >&5
63474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63475 (exit $ac_status); } &&
63476 { ac_try='test -z "$ac_cxx_werror_flag"
63477 || test ! -s conftest.err'
63478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63479 (eval $ac_try) 2>&5
63480 ac_status=$?
63481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63482 (exit $ac_status); }; } &&
63483 { ac_try='test -s conftest.$ac_objext'
63484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63485 (eval $ac_try) 2>&5
63486 ac_status=$?
63487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63488 (exit $ac_status); }; }; then
63489 glibcxx_cv_func_isnanl_use=yes
63490 else
63491 echo "$as_me: failed program was:" >&5
63492 sed 's/^/| /' conftest.$ac_ext >&5
63494 glibcxx_cv_func_isnanl_use=no
63496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63497 ac_ext=c
63498 ac_cpp='$CPP $CPPFLAGS'
63499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63507 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63508 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63510 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63512 for ac_func in isnanl
63514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63515 echo "$as_me:$LINENO: checking for $ac_func" >&5
63516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63517 if eval "test \"\${$as_ac_var+set}\" = set"; then
63518 echo $ECHO_N "(cached) $ECHO_C" >&6
63519 else
63520 if test x$gcc_no_link = xyes; then
63521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63523 { (exit 1); exit 1; }; }
63525 cat >conftest.$ac_ext <<_ACEOF
63526 /* confdefs.h. */
63527 _ACEOF
63528 cat confdefs.h >>conftest.$ac_ext
63529 cat >>conftest.$ac_ext <<_ACEOF
63530 /* end confdefs.h. */
63531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63533 #define $ac_func innocuous_$ac_func
63535 /* System header to define __stub macros and hopefully few prototypes,
63536 which can conflict with char $ac_func (); below.
63537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63538 <limits.h> exists even on freestanding compilers. */
63540 #ifdef __STDC__
63541 # include <limits.h>
63542 #else
63543 # include <assert.h>
63544 #endif
63546 #undef $ac_func
63548 /* Override any gcc2 internal prototype to avoid an error. */
63549 #ifdef __cplusplus
63550 extern "C"
63552 #endif
63553 /* We use char because int might match the return type of a gcc2
63554 builtin and then its argument prototype would still apply. */
63555 char $ac_func ();
63556 /* The GNU C library defines this for functions which it implements
63557 to always fail with ENOSYS. Some functions are actually named
63558 something starting with __ and the normal name is an alias. */
63559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63560 choke me
63561 #else
63562 char (*f) () = $ac_func;
63563 #endif
63564 #ifdef __cplusplus
63566 #endif
63569 main ()
63571 return f != $ac_func;
63573 return 0;
63575 _ACEOF
63576 rm -f conftest.$ac_objext conftest$ac_exeext
63577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63578 (eval $ac_link) 2>conftest.er1
63579 ac_status=$?
63580 grep -v '^ *+' conftest.er1 >conftest.err
63581 rm -f conftest.er1
63582 cat conftest.err >&5
63583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63584 (exit $ac_status); } &&
63585 { ac_try='test -z "$ac_c_werror_flag"
63586 || test ! -s conftest.err'
63587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63588 (eval $ac_try) 2>&5
63589 ac_status=$?
63590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63591 (exit $ac_status); }; } &&
63592 { ac_try='test -s conftest$ac_exeext'
63593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63594 (eval $ac_try) 2>&5
63595 ac_status=$?
63596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63597 (exit $ac_status); }; }; then
63598 eval "$as_ac_var=yes"
63599 else
63600 echo "$as_me: failed program was:" >&5
63601 sed 's/^/| /' conftest.$ac_ext >&5
63603 eval "$as_ac_var=no"
63605 rm -f conftest.err conftest.$ac_objext \
63606 conftest$ac_exeext conftest.$ac_ext
63608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63610 if test `eval echo '${'$as_ac_var'}'` = yes; then
63611 cat >>confdefs.h <<_ACEOF
63612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63613 _ACEOF
63616 done
63618 else
63620 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
63621 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
63622 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63623 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
63624 echo $ECHO_N "(cached) $ECHO_C" >&6
63625 else
63629 ac_ext=cc
63630 ac_cpp='$CXXCPP $CPPFLAGS'
63631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63635 cat >conftest.$ac_ext <<_ACEOF
63636 /* confdefs.h. */
63637 _ACEOF
63638 cat confdefs.h >>conftest.$ac_ext
63639 cat >>conftest.$ac_ext <<_ACEOF
63640 /* end confdefs.h. */
63641 #include <math.h>
63642 #ifdef HAVE_IEEEFP_H
63643 #include <ieeefp.h>
63644 #endif
63647 main ()
63649 _isnanl(0);
63651 return 0;
63653 _ACEOF
63654 rm -f conftest.$ac_objext
63655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63656 (eval $ac_compile) 2>conftest.er1
63657 ac_status=$?
63658 grep -v '^ *+' conftest.er1 >conftest.err
63659 rm -f conftest.er1
63660 cat conftest.err >&5
63661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63662 (exit $ac_status); } &&
63663 { ac_try='test -z "$ac_cxx_werror_flag"
63664 || test ! -s conftest.err'
63665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63666 (eval $ac_try) 2>&5
63667 ac_status=$?
63668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63669 (exit $ac_status); }; } &&
63670 { ac_try='test -s conftest.$ac_objext'
63671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63672 (eval $ac_try) 2>&5
63673 ac_status=$?
63674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63675 (exit $ac_status); }; }; then
63676 glibcxx_cv_func__isnanl_use=yes
63677 else
63678 echo "$as_me: failed program was:" >&5
63679 sed 's/^/| /' conftest.$ac_ext >&5
63681 glibcxx_cv_func__isnanl_use=no
63683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63684 ac_ext=c
63685 ac_cpp='$CPP $CPPFLAGS'
63686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63695 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63697 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63699 for ac_func in _isnanl
63701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63702 echo "$as_me:$LINENO: checking for $ac_func" >&5
63703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63704 if eval "test \"\${$as_ac_var+set}\" = set"; then
63705 echo $ECHO_N "(cached) $ECHO_C" >&6
63706 else
63707 if test x$gcc_no_link = xyes; then
63708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63710 { (exit 1); exit 1; }; }
63712 cat >conftest.$ac_ext <<_ACEOF
63713 /* confdefs.h. */
63714 _ACEOF
63715 cat confdefs.h >>conftest.$ac_ext
63716 cat >>conftest.$ac_ext <<_ACEOF
63717 /* end confdefs.h. */
63718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63720 #define $ac_func innocuous_$ac_func
63722 /* System header to define __stub macros and hopefully few prototypes,
63723 which can conflict with char $ac_func (); below.
63724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63725 <limits.h> exists even on freestanding compilers. */
63727 #ifdef __STDC__
63728 # include <limits.h>
63729 #else
63730 # include <assert.h>
63731 #endif
63733 #undef $ac_func
63735 /* Override any gcc2 internal prototype to avoid an error. */
63736 #ifdef __cplusplus
63737 extern "C"
63739 #endif
63740 /* We use char because int might match the return type of a gcc2
63741 builtin and then its argument prototype would still apply. */
63742 char $ac_func ();
63743 /* The GNU C library defines this for functions which it implements
63744 to always fail with ENOSYS. Some functions are actually named
63745 something starting with __ and the normal name is an alias. */
63746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63747 choke me
63748 #else
63749 char (*f) () = $ac_func;
63750 #endif
63751 #ifdef __cplusplus
63753 #endif
63756 main ()
63758 return f != $ac_func;
63760 return 0;
63762 _ACEOF
63763 rm -f conftest.$ac_objext conftest$ac_exeext
63764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63765 (eval $ac_link) 2>conftest.er1
63766 ac_status=$?
63767 grep -v '^ *+' conftest.er1 >conftest.err
63768 rm -f conftest.er1
63769 cat conftest.err >&5
63770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63771 (exit $ac_status); } &&
63772 { ac_try='test -z "$ac_c_werror_flag"
63773 || test ! -s conftest.err'
63774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63775 (eval $ac_try) 2>&5
63776 ac_status=$?
63777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63778 (exit $ac_status); }; } &&
63779 { ac_try='test -s conftest$ac_exeext'
63780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63781 (eval $ac_try) 2>&5
63782 ac_status=$?
63783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63784 (exit $ac_status); }; }; then
63785 eval "$as_ac_var=yes"
63786 else
63787 echo "$as_me: failed program was:" >&5
63788 sed 's/^/| /' conftest.$ac_ext >&5
63790 eval "$as_ac_var=no"
63792 rm -f conftest.err conftest.$ac_objext \
63793 conftest$ac_exeext conftest.$ac_ext
63795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63797 if test `eval echo '${'$as_ac_var'}'` = yes; then
63798 cat >>confdefs.h <<_ACEOF
63799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63800 _ACEOF
63803 done
63810 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63811 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63812 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63813 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63814 echo $ECHO_N "(cached) $ECHO_C" >&6
63815 else
63819 ac_ext=cc
63820 ac_cpp='$CXXCPP $CPPFLAGS'
63821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63825 cat >conftest.$ac_ext <<_ACEOF
63826 /* confdefs.h. */
63827 _ACEOF
63828 cat confdefs.h >>conftest.$ac_ext
63829 cat >>conftest.$ac_ext <<_ACEOF
63830 /* end confdefs.h. */
63831 #include <math.h>
63832 #ifdef HAVE_IEEEFP_H
63833 #include <ieeefp.h>
63834 #endif
63837 main ()
63839 isinfl(0);
63841 return 0;
63843 _ACEOF
63844 rm -f conftest.$ac_objext
63845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63846 (eval $ac_compile) 2>conftest.er1
63847 ac_status=$?
63848 grep -v '^ *+' conftest.er1 >conftest.err
63849 rm -f conftest.er1
63850 cat conftest.err >&5
63851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63852 (exit $ac_status); } &&
63853 { ac_try='test -z "$ac_cxx_werror_flag"
63854 || test ! -s conftest.err'
63855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63856 (eval $ac_try) 2>&5
63857 ac_status=$?
63858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63859 (exit $ac_status); }; } &&
63860 { ac_try='test -s conftest.$ac_objext'
63861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63862 (eval $ac_try) 2>&5
63863 ac_status=$?
63864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63865 (exit $ac_status); }; }; then
63866 glibcxx_cv_func_isinfl_use=yes
63867 else
63868 echo "$as_me: failed program was:" >&5
63869 sed 's/^/| /' conftest.$ac_ext >&5
63871 glibcxx_cv_func_isinfl_use=no
63873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63874 ac_ext=c
63875 ac_cpp='$CPP $CPPFLAGS'
63876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63885 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63887 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63889 for ac_func in isinfl
63891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63892 echo "$as_me:$LINENO: checking for $ac_func" >&5
63893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63894 if eval "test \"\${$as_ac_var+set}\" = set"; then
63895 echo $ECHO_N "(cached) $ECHO_C" >&6
63896 else
63897 if test x$gcc_no_link = xyes; then
63898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63900 { (exit 1); exit 1; }; }
63902 cat >conftest.$ac_ext <<_ACEOF
63903 /* confdefs.h. */
63904 _ACEOF
63905 cat confdefs.h >>conftest.$ac_ext
63906 cat >>conftest.$ac_ext <<_ACEOF
63907 /* end confdefs.h. */
63908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63910 #define $ac_func innocuous_$ac_func
63912 /* System header to define __stub macros and hopefully few prototypes,
63913 which can conflict with char $ac_func (); below.
63914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63915 <limits.h> exists even on freestanding compilers. */
63917 #ifdef __STDC__
63918 # include <limits.h>
63919 #else
63920 # include <assert.h>
63921 #endif
63923 #undef $ac_func
63925 /* Override any gcc2 internal prototype to avoid an error. */
63926 #ifdef __cplusplus
63927 extern "C"
63929 #endif
63930 /* We use char because int might match the return type of a gcc2
63931 builtin and then its argument prototype would still apply. */
63932 char $ac_func ();
63933 /* The GNU C library defines this for functions which it implements
63934 to always fail with ENOSYS. Some functions are actually named
63935 something starting with __ and the normal name is an alias. */
63936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63937 choke me
63938 #else
63939 char (*f) () = $ac_func;
63940 #endif
63941 #ifdef __cplusplus
63943 #endif
63946 main ()
63948 return f != $ac_func;
63950 return 0;
63952 _ACEOF
63953 rm -f conftest.$ac_objext conftest$ac_exeext
63954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63955 (eval $ac_link) 2>conftest.er1
63956 ac_status=$?
63957 grep -v '^ *+' conftest.er1 >conftest.err
63958 rm -f conftest.er1
63959 cat conftest.err >&5
63960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63961 (exit $ac_status); } &&
63962 { ac_try='test -z "$ac_c_werror_flag"
63963 || test ! -s conftest.err'
63964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63965 (eval $ac_try) 2>&5
63966 ac_status=$?
63967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63968 (exit $ac_status); }; } &&
63969 { ac_try='test -s conftest$ac_exeext'
63970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63971 (eval $ac_try) 2>&5
63972 ac_status=$?
63973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63974 (exit $ac_status); }; }; then
63975 eval "$as_ac_var=yes"
63976 else
63977 echo "$as_me: failed program was:" >&5
63978 sed 's/^/| /' conftest.$ac_ext >&5
63980 eval "$as_ac_var=no"
63982 rm -f conftest.err conftest.$ac_objext \
63983 conftest$ac_exeext conftest.$ac_ext
63985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63987 if test `eval echo '${'$as_ac_var'}'` = yes; then
63988 cat >>confdefs.h <<_ACEOF
63989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63990 _ACEOF
63993 done
63995 else
63997 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
63998 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
63999 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64000 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64001 echo $ECHO_N "(cached) $ECHO_C" >&6
64002 else
64006 ac_ext=cc
64007 ac_cpp='$CXXCPP $CPPFLAGS'
64008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64012 cat >conftest.$ac_ext <<_ACEOF
64013 /* confdefs.h. */
64014 _ACEOF
64015 cat confdefs.h >>conftest.$ac_ext
64016 cat >>conftest.$ac_ext <<_ACEOF
64017 /* end confdefs.h. */
64018 #include <math.h>
64019 #ifdef HAVE_IEEEFP_H
64020 #include <ieeefp.h>
64021 #endif
64024 main ()
64026 _isinfl(0);
64028 return 0;
64030 _ACEOF
64031 rm -f conftest.$ac_objext
64032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64033 (eval $ac_compile) 2>conftest.er1
64034 ac_status=$?
64035 grep -v '^ *+' conftest.er1 >conftest.err
64036 rm -f conftest.er1
64037 cat conftest.err >&5
64038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64039 (exit $ac_status); } &&
64040 { ac_try='test -z "$ac_cxx_werror_flag"
64041 || test ! -s conftest.err'
64042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64043 (eval $ac_try) 2>&5
64044 ac_status=$?
64045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64046 (exit $ac_status); }; } &&
64047 { ac_try='test -s conftest.$ac_objext'
64048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64049 (eval $ac_try) 2>&5
64050 ac_status=$?
64051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64052 (exit $ac_status); }; }; then
64053 glibcxx_cv_func__isinfl_use=yes
64054 else
64055 echo "$as_me: failed program was:" >&5
64056 sed 's/^/| /' conftest.$ac_ext >&5
64058 glibcxx_cv_func__isinfl_use=no
64060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64061 ac_ext=c
64062 ac_cpp='$CPP $CPPFLAGS'
64063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64072 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64074 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64076 for ac_func in _isinfl
64078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64079 echo "$as_me:$LINENO: checking for $ac_func" >&5
64080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64081 if eval "test \"\${$as_ac_var+set}\" = set"; then
64082 echo $ECHO_N "(cached) $ECHO_C" >&6
64083 else
64084 if test x$gcc_no_link = xyes; then
64085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64087 { (exit 1); exit 1; }; }
64089 cat >conftest.$ac_ext <<_ACEOF
64090 /* confdefs.h. */
64091 _ACEOF
64092 cat confdefs.h >>conftest.$ac_ext
64093 cat >>conftest.$ac_ext <<_ACEOF
64094 /* end confdefs.h. */
64095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64097 #define $ac_func innocuous_$ac_func
64099 /* System header to define __stub macros and hopefully few prototypes,
64100 which can conflict with char $ac_func (); below.
64101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64102 <limits.h> exists even on freestanding compilers. */
64104 #ifdef __STDC__
64105 # include <limits.h>
64106 #else
64107 # include <assert.h>
64108 #endif
64110 #undef $ac_func
64112 /* Override any gcc2 internal prototype to avoid an error. */
64113 #ifdef __cplusplus
64114 extern "C"
64116 #endif
64117 /* We use char because int might match the return type of a gcc2
64118 builtin and then its argument prototype would still apply. */
64119 char $ac_func ();
64120 /* The GNU C library defines this for functions which it implements
64121 to always fail with ENOSYS. Some functions are actually named
64122 something starting with __ and the normal name is an alias. */
64123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64124 choke me
64125 #else
64126 char (*f) () = $ac_func;
64127 #endif
64128 #ifdef __cplusplus
64130 #endif
64133 main ()
64135 return f != $ac_func;
64137 return 0;
64139 _ACEOF
64140 rm -f conftest.$ac_objext conftest$ac_exeext
64141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64142 (eval $ac_link) 2>conftest.er1
64143 ac_status=$?
64144 grep -v '^ *+' conftest.er1 >conftest.err
64145 rm -f conftest.er1
64146 cat conftest.err >&5
64147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64148 (exit $ac_status); } &&
64149 { ac_try='test -z "$ac_c_werror_flag"
64150 || test ! -s conftest.err'
64151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64152 (eval $ac_try) 2>&5
64153 ac_status=$?
64154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64155 (exit $ac_status); }; } &&
64156 { ac_try='test -s conftest$ac_exeext'
64157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64158 (eval $ac_try) 2>&5
64159 ac_status=$?
64160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64161 (exit $ac_status); }; }; then
64162 eval "$as_ac_var=yes"
64163 else
64164 echo "$as_me: failed program was:" >&5
64165 sed 's/^/| /' conftest.$ac_ext >&5
64167 eval "$as_ac_var=no"
64169 rm -f conftest.err conftest.$ac_objext \
64170 conftest$ac_exeext conftest.$ac_ext
64172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64174 if test `eval echo '${'$as_ac_var'}'` = yes; then
64175 cat >>confdefs.h <<_ACEOF
64176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64177 _ACEOF
64180 done
64187 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64188 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64189 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64190 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64191 echo $ECHO_N "(cached) $ECHO_C" >&6
64192 else
64196 ac_ext=cc
64197 ac_cpp='$CXXCPP $CPPFLAGS'
64198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64202 cat >conftest.$ac_ext <<_ACEOF
64203 /* confdefs.h. */
64204 _ACEOF
64205 cat confdefs.h >>conftest.$ac_ext
64206 cat >>conftest.$ac_ext <<_ACEOF
64207 /* end confdefs.h. */
64208 #include <math.h>
64210 main ()
64212 copysignl(0, 0);
64214 return 0;
64216 _ACEOF
64217 rm -f conftest.$ac_objext
64218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64219 (eval $ac_compile) 2>conftest.er1
64220 ac_status=$?
64221 grep -v '^ *+' conftest.er1 >conftest.err
64222 rm -f conftest.er1
64223 cat conftest.err >&5
64224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64225 (exit $ac_status); } &&
64226 { ac_try='test -z "$ac_cxx_werror_flag"
64227 || test ! -s conftest.err'
64228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64229 (eval $ac_try) 2>&5
64230 ac_status=$?
64231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64232 (exit $ac_status); }; } &&
64233 { ac_try='test -s conftest.$ac_objext'
64234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64235 (eval $ac_try) 2>&5
64236 ac_status=$?
64237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64238 (exit $ac_status); }; }; then
64239 glibcxx_cv_func_copysignl_use=yes
64240 else
64241 echo "$as_me: failed program was:" >&5
64242 sed 's/^/| /' conftest.$ac_ext >&5
64244 glibcxx_cv_func_copysignl_use=no
64246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64247 ac_ext=c
64248 ac_cpp='$CPP $CPPFLAGS'
64249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64258 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64260 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64262 for ac_func in copysignl
64264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64265 echo "$as_me:$LINENO: checking for $ac_func" >&5
64266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64267 if eval "test \"\${$as_ac_var+set}\" = set"; then
64268 echo $ECHO_N "(cached) $ECHO_C" >&6
64269 else
64270 if test x$gcc_no_link = xyes; then
64271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64273 { (exit 1); exit 1; }; }
64275 cat >conftest.$ac_ext <<_ACEOF
64276 /* confdefs.h. */
64277 _ACEOF
64278 cat confdefs.h >>conftest.$ac_ext
64279 cat >>conftest.$ac_ext <<_ACEOF
64280 /* end confdefs.h. */
64281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64283 #define $ac_func innocuous_$ac_func
64285 /* System header to define __stub macros and hopefully few prototypes,
64286 which can conflict with char $ac_func (); below.
64287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64288 <limits.h> exists even on freestanding compilers. */
64290 #ifdef __STDC__
64291 # include <limits.h>
64292 #else
64293 # include <assert.h>
64294 #endif
64296 #undef $ac_func
64298 /* Override any gcc2 internal prototype to avoid an error. */
64299 #ifdef __cplusplus
64300 extern "C"
64302 #endif
64303 /* We use char because int might match the return type of a gcc2
64304 builtin and then its argument prototype would still apply. */
64305 char $ac_func ();
64306 /* The GNU C library defines this for functions which it implements
64307 to always fail with ENOSYS. Some functions are actually named
64308 something starting with __ and the normal name is an alias. */
64309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64310 choke me
64311 #else
64312 char (*f) () = $ac_func;
64313 #endif
64314 #ifdef __cplusplus
64316 #endif
64319 main ()
64321 return f != $ac_func;
64323 return 0;
64325 _ACEOF
64326 rm -f conftest.$ac_objext conftest$ac_exeext
64327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64328 (eval $ac_link) 2>conftest.er1
64329 ac_status=$?
64330 grep -v '^ *+' conftest.er1 >conftest.err
64331 rm -f conftest.er1
64332 cat conftest.err >&5
64333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64334 (exit $ac_status); } &&
64335 { ac_try='test -z "$ac_c_werror_flag"
64336 || test ! -s conftest.err'
64337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64338 (eval $ac_try) 2>&5
64339 ac_status=$?
64340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64341 (exit $ac_status); }; } &&
64342 { ac_try='test -s conftest$ac_exeext'
64343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64344 (eval $ac_try) 2>&5
64345 ac_status=$?
64346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64347 (exit $ac_status); }; }; then
64348 eval "$as_ac_var=yes"
64349 else
64350 echo "$as_me: failed program was:" >&5
64351 sed 's/^/| /' conftest.$ac_ext >&5
64353 eval "$as_ac_var=no"
64355 rm -f conftest.err conftest.$ac_objext \
64356 conftest$ac_exeext conftest.$ac_ext
64358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64360 if test `eval echo '${'$as_ac_var'}'` = yes; then
64361 cat >>confdefs.h <<_ACEOF
64362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64363 _ACEOF
64366 done
64368 else
64370 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64371 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64372 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64373 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64374 echo $ECHO_N "(cached) $ECHO_C" >&6
64375 else
64379 ac_ext=cc
64380 ac_cpp='$CXXCPP $CPPFLAGS'
64381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64385 cat >conftest.$ac_ext <<_ACEOF
64386 /* confdefs.h. */
64387 _ACEOF
64388 cat confdefs.h >>conftest.$ac_ext
64389 cat >>conftest.$ac_ext <<_ACEOF
64390 /* end confdefs.h. */
64391 #include <math.h>
64393 main ()
64395 _copysignl(0, 0);
64397 return 0;
64399 _ACEOF
64400 rm -f conftest.$ac_objext
64401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64402 (eval $ac_compile) 2>conftest.er1
64403 ac_status=$?
64404 grep -v '^ *+' conftest.er1 >conftest.err
64405 rm -f conftest.er1
64406 cat conftest.err >&5
64407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64408 (exit $ac_status); } &&
64409 { ac_try='test -z "$ac_cxx_werror_flag"
64410 || test ! -s conftest.err'
64411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64412 (eval $ac_try) 2>&5
64413 ac_status=$?
64414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64415 (exit $ac_status); }; } &&
64416 { ac_try='test -s conftest.$ac_objext'
64417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64418 (eval $ac_try) 2>&5
64419 ac_status=$?
64420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64421 (exit $ac_status); }; }; then
64422 glibcxx_cv_func__copysignl_use=yes
64423 else
64424 echo "$as_me: failed program was:" >&5
64425 sed 's/^/| /' conftest.$ac_ext >&5
64427 glibcxx_cv_func__copysignl_use=no
64429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64430 ac_ext=c
64431 ac_cpp='$CPP $CPPFLAGS'
64432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64440 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64441 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64443 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64445 for ac_func in _copysignl
64447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64448 echo "$as_me:$LINENO: checking for $ac_func" >&5
64449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64450 if eval "test \"\${$as_ac_var+set}\" = set"; then
64451 echo $ECHO_N "(cached) $ECHO_C" >&6
64452 else
64453 if test x$gcc_no_link = xyes; then
64454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64456 { (exit 1); exit 1; }; }
64458 cat >conftest.$ac_ext <<_ACEOF
64459 /* confdefs.h. */
64460 _ACEOF
64461 cat confdefs.h >>conftest.$ac_ext
64462 cat >>conftest.$ac_ext <<_ACEOF
64463 /* end confdefs.h. */
64464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64466 #define $ac_func innocuous_$ac_func
64468 /* System header to define __stub macros and hopefully few prototypes,
64469 which can conflict with char $ac_func (); below.
64470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64471 <limits.h> exists even on freestanding compilers. */
64473 #ifdef __STDC__
64474 # include <limits.h>
64475 #else
64476 # include <assert.h>
64477 #endif
64479 #undef $ac_func
64481 /* Override any gcc2 internal prototype to avoid an error. */
64482 #ifdef __cplusplus
64483 extern "C"
64485 #endif
64486 /* We use char because int might match the return type of a gcc2
64487 builtin and then its argument prototype would still apply. */
64488 char $ac_func ();
64489 /* The GNU C library defines this for functions which it implements
64490 to always fail with ENOSYS. Some functions are actually named
64491 something starting with __ and the normal name is an alias. */
64492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64493 choke me
64494 #else
64495 char (*f) () = $ac_func;
64496 #endif
64497 #ifdef __cplusplus
64499 #endif
64502 main ()
64504 return f != $ac_func;
64506 return 0;
64508 _ACEOF
64509 rm -f conftest.$ac_objext conftest$ac_exeext
64510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64511 (eval $ac_link) 2>conftest.er1
64512 ac_status=$?
64513 grep -v '^ *+' conftest.er1 >conftest.err
64514 rm -f conftest.er1
64515 cat conftest.err >&5
64516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64517 (exit $ac_status); } &&
64518 { ac_try='test -z "$ac_c_werror_flag"
64519 || test ! -s conftest.err'
64520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64521 (eval $ac_try) 2>&5
64522 ac_status=$?
64523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64524 (exit $ac_status); }; } &&
64525 { ac_try='test -s conftest$ac_exeext'
64526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64527 (eval $ac_try) 2>&5
64528 ac_status=$?
64529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64530 (exit $ac_status); }; }; then
64531 eval "$as_ac_var=yes"
64532 else
64533 echo "$as_me: failed program was:" >&5
64534 sed 's/^/| /' conftest.$ac_ext >&5
64536 eval "$as_ac_var=no"
64538 rm -f conftest.err conftest.$ac_objext \
64539 conftest$ac_exeext conftest.$ac_ext
64541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64543 if test `eval echo '${'$as_ac_var'}'` = yes; then
64544 cat >>confdefs.h <<_ACEOF
64545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64546 _ACEOF
64549 done
64556 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
64557 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
64558 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64559 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
64560 echo $ECHO_N "(cached) $ECHO_C" >&6
64561 else
64565 ac_ext=cc
64566 ac_cpp='$CXXCPP $CPPFLAGS'
64567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64571 cat >conftest.$ac_ext <<_ACEOF
64572 /* confdefs.h. */
64573 _ACEOF
64574 cat confdefs.h >>conftest.$ac_ext
64575 cat >>conftest.$ac_ext <<_ACEOF
64576 /* end confdefs.h. */
64577 #include <math.h>
64579 main ()
64581 atan2l(0, 0);
64583 return 0;
64585 _ACEOF
64586 rm -f conftest.$ac_objext
64587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64588 (eval $ac_compile) 2>conftest.er1
64589 ac_status=$?
64590 grep -v '^ *+' conftest.er1 >conftest.err
64591 rm -f conftest.er1
64592 cat conftest.err >&5
64593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64594 (exit $ac_status); } &&
64595 { ac_try='test -z "$ac_cxx_werror_flag"
64596 || test ! -s conftest.err'
64597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64598 (eval $ac_try) 2>&5
64599 ac_status=$?
64600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64601 (exit $ac_status); }; } &&
64602 { ac_try='test -s conftest.$ac_objext'
64603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64604 (eval $ac_try) 2>&5
64605 ac_status=$?
64606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64607 (exit $ac_status); }; }; then
64608 glibcxx_cv_func_atan2l_use=yes
64609 else
64610 echo "$as_me: failed program was:" >&5
64611 sed 's/^/| /' conftest.$ac_ext >&5
64613 glibcxx_cv_func_atan2l_use=no
64615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64616 ac_ext=c
64617 ac_cpp='$CPP $CPPFLAGS'
64618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64626 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
64627 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
64629 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64631 for ac_func in atan2l
64633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64634 echo "$as_me:$LINENO: checking for $ac_func" >&5
64635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64636 if eval "test \"\${$as_ac_var+set}\" = set"; then
64637 echo $ECHO_N "(cached) $ECHO_C" >&6
64638 else
64639 if test x$gcc_no_link = xyes; then
64640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64642 { (exit 1); exit 1; }; }
64644 cat >conftest.$ac_ext <<_ACEOF
64645 /* confdefs.h. */
64646 _ACEOF
64647 cat confdefs.h >>conftest.$ac_ext
64648 cat >>conftest.$ac_ext <<_ACEOF
64649 /* end confdefs.h. */
64650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64652 #define $ac_func innocuous_$ac_func
64654 /* System header to define __stub macros and hopefully few prototypes,
64655 which can conflict with char $ac_func (); below.
64656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64657 <limits.h> exists even on freestanding compilers. */
64659 #ifdef __STDC__
64660 # include <limits.h>
64661 #else
64662 # include <assert.h>
64663 #endif
64665 #undef $ac_func
64667 /* Override any gcc2 internal prototype to avoid an error. */
64668 #ifdef __cplusplus
64669 extern "C"
64671 #endif
64672 /* We use char because int might match the return type of a gcc2
64673 builtin and then its argument prototype would still apply. */
64674 char $ac_func ();
64675 /* The GNU C library defines this for functions which it implements
64676 to always fail with ENOSYS. Some functions are actually named
64677 something starting with __ and the normal name is an alias. */
64678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64679 choke me
64680 #else
64681 char (*f) () = $ac_func;
64682 #endif
64683 #ifdef __cplusplus
64685 #endif
64688 main ()
64690 return f != $ac_func;
64692 return 0;
64694 _ACEOF
64695 rm -f conftest.$ac_objext conftest$ac_exeext
64696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64697 (eval $ac_link) 2>conftest.er1
64698 ac_status=$?
64699 grep -v '^ *+' conftest.er1 >conftest.err
64700 rm -f conftest.er1
64701 cat conftest.err >&5
64702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64703 (exit $ac_status); } &&
64704 { ac_try='test -z "$ac_c_werror_flag"
64705 || test ! -s conftest.err'
64706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64707 (eval $ac_try) 2>&5
64708 ac_status=$?
64709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64710 (exit $ac_status); }; } &&
64711 { ac_try='test -s conftest$ac_exeext'
64712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64713 (eval $ac_try) 2>&5
64714 ac_status=$?
64715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64716 (exit $ac_status); }; }; then
64717 eval "$as_ac_var=yes"
64718 else
64719 echo "$as_me: failed program was:" >&5
64720 sed 's/^/| /' conftest.$ac_ext >&5
64722 eval "$as_ac_var=no"
64724 rm -f conftest.err conftest.$ac_objext \
64725 conftest$ac_exeext conftest.$ac_ext
64727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64729 if test `eval echo '${'$as_ac_var'}'` = yes; then
64730 cat >>confdefs.h <<_ACEOF
64731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64732 _ACEOF
64735 done
64737 else
64739 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64740 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64741 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64742 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64743 echo $ECHO_N "(cached) $ECHO_C" >&6
64744 else
64748 ac_ext=cc
64749 ac_cpp='$CXXCPP $CPPFLAGS'
64750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64754 cat >conftest.$ac_ext <<_ACEOF
64755 /* confdefs.h. */
64756 _ACEOF
64757 cat confdefs.h >>conftest.$ac_ext
64758 cat >>conftest.$ac_ext <<_ACEOF
64759 /* end confdefs.h. */
64760 #include <math.h>
64762 main ()
64764 _atan2l(0, 0);
64766 return 0;
64768 _ACEOF
64769 rm -f conftest.$ac_objext
64770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64771 (eval $ac_compile) 2>conftest.er1
64772 ac_status=$?
64773 grep -v '^ *+' conftest.er1 >conftest.err
64774 rm -f conftest.er1
64775 cat conftest.err >&5
64776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64777 (exit $ac_status); } &&
64778 { ac_try='test -z "$ac_cxx_werror_flag"
64779 || test ! -s conftest.err'
64780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64781 (eval $ac_try) 2>&5
64782 ac_status=$?
64783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64784 (exit $ac_status); }; } &&
64785 { ac_try='test -s conftest.$ac_objext'
64786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64787 (eval $ac_try) 2>&5
64788 ac_status=$?
64789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64790 (exit $ac_status); }; }; then
64791 glibcxx_cv_func__atan2l_use=yes
64792 else
64793 echo "$as_me: failed program was:" >&5
64794 sed 's/^/| /' conftest.$ac_ext >&5
64796 glibcxx_cv_func__atan2l_use=no
64798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64799 ac_ext=c
64800 ac_cpp='$CPP $CPPFLAGS'
64801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64809 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64810 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64812 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64814 for ac_func in _atan2l
64816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64817 echo "$as_me:$LINENO: checking for $ac_func" >&5
64818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64819 if eval "test \"\${$as_ac_var+set}\" = set"; then
64820 echo $ECHO_N "(cached) $ECHO_C" >&6
64821 else
64822 if test x$gcc_no_link = xyes; then
64823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64825 { (exit 1); exit 1; }; }
64827 cat >conftest.$ac_ext <<_ACEOF
64828 /* confdefs.h. */
64829 _ACEOF
64830 cat confdefs.h >>conftest.$ac_ext
64831 cat >>conftest.$ac_ext <<_ACEOF
64832 /* end confdefs.h. */
64833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64835 #define $ac_func innocuous_$ac_func
64837 /* System header to define __stub macros and hopefully few prototypes,
64838 which can conflict with char $ac_func (); below.
64839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64840 <limits.h> exists even on freestanding compilers. */
64842 #ifdef __STDC__
64843 # include <limits.h>
64844 #else
64845 # include <assert.h>
64846 #endif
64848 #undef $ac_func
64850 /* Override any gcc2 internal prototype to avoid an error. */
64851 #ifdef __cplusplus
64852 extern "C"
64854 #endif
64855 /* We use char because int might match the return type of a gcc2
64856 builtin and then its argument prototype would still apply. */
64857 char $ac_func ();
64858 /* The GNU C library defines this for functions which it implements
64859 to always fail with ENOSYS. Some functions are actually named
64860 something starting with __ and the normal name is an alias. */
64861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64862 choke me
64863 #else
64864 char (*f) () = $ac_func;
64865 #endif
64866 #ifdef __cplusplus
64868 #endif
64871 main ()
64873 return f != $ac_func;
64875 return 0;
64877 _ACEOF
64878 rm -f conftest.$ac_objext conftest$ac_exeext
64879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64880 (eval $ac_link) 2>conftest.er1
64881 ac_status=$?
64882 grep -v '^ *+' conftest.er1 >conftest.err
64883 rm -f conftest.er1
64884 cat conftest.err >&5
64885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64886 (exit $ac_status); } &&
64887 { ac_try='test -z "$ac_c_werror_flag"
64888 || test ! -s conftest.err'
64889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64890 (eval $ac_try) 2>&5
64891 ac_status=$?
64892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64893 (exit $ac_status); }; } &&
64894 { ac_try='test -s conftest$ac_exeext'
64895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64896 (eval $ac_try) 2>&5
64897 ac_status=$?
64898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64899 (exit $ac_status); }; }; then
64900 eval "$as_ac_var=yes"
64901 else
64902 echo "$as_me: failed program was:" >&5
64903 sed 's/^/| /' conftest.$ac_ext >&5
64905 eval "$as_ac_var=no"
64907 rm -f conftest.err conftest.$ac_objext \
64908 conftest$ac_exeext conftest.$ac_ext
64910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64912 if test `eval echo '${'$as_ac_var'}'` = yes; then
64913 cat >>confdefs.h <<_ACEOF
64914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64915 _ACEOF
64918 done
64925 echo "$as_me:$LINENO: checking for expl declaration" >&5
64926 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64927 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64928 if test "${glibcxx_cv_func_expl_use+set}" = set; then
64929 echo $ECHO_N "(cached) $ECHO_C" >&6
64930 else
64934 ac_ext=cc
64935 ac_cpp='$CXXCPP $CPPFLAGS'
64936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64940 cat >conftest.$ac_ext <<_ACEOF
64941 /* confdefs.h. */
64942 _ACEOF
64943 cat confdefs.h >>conftest.$ac_ext
64944 cat >>conftest.$ac_ext <<_ACEOF
64945 /* end confdefs.h. */
64946 #include <math.h>
64947 #ifdef HAVE_IEEEFP_H
64948 #include <ieeefp.h>
64949 #endif
64952 main ()
64954 expl(0);
64956 return 0;
64958 _ACEOF
64959 rm -f conftest.$ac_objext
64960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64961 (eval $ac_compile) 2>conftest.er1
64962 ac_status=$?
64963 grep -v '^ *+' conftest.er1 >conftest.err
64964 rm -f conftest.er1
64965 cat conftest.err >&5
64966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64967 (exit $ac_status); } &&
64968 { ac_try='test -z "$ac_cxx_werror_flag"
64969 || test ! -s conftest.err'
64970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64971 (eval $ac_try) 2>&5
64972 ac_status=$?
64973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64974 (exit $ac_status); }; } &&
64975 { ac_try='test -s conftest.$ac_objext'
64976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64977 (eval $ac_try) 2>&5
64978 ac_status=$?
64979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64980 (exit $ac_status); }; }; then
64981 glibcxx_cv_func_expl_use=yes
64982 else
64983 echo "$as_me: failed program was:" >&5
64984 sed 's/^/| /' conftest.$ac_ext >&5
64986 glibcxx_cv_func_expl_use=no
64988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64989 ac_ext=c
64990 ac_cpp='$CPP $CPPFLAGS'
64991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65000 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65002 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65004 for ac_func in expl
65006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65007 echo "$as_me:$LINENO: checking for $ac_func" >&5
65008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65009 if eval "test \"\${$as_ac_var+set}\" = set"; then
65010 echo $ECHO_N "(cached) $ECHO_C" >&6
65011 else
65012 if test x$gcc_no_link = xyes; then
65013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65015 { (exit 1); exit 1; }; }
65017 cat >conftest.$ac_ext <<_ACEOF
65018 /* confdefs.h. */
65019 _ACEOF
65020 cat confdefs.h >>conftest.$ac_ext
65021 cat >>conftest.$ac_ext <<_ACEOF
65022 /* end confdefs.h. */
65023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65025 #define $ac_func innocuous_$ac_func
65027 /* System header to define __stub macros and hopefully few prototypes,
65028 which can conflict with char $ac_func (); below.
65029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65030 <limits.h> exists even on freestanding compilers. */
65032 #ifdef __STDC__
65033 # include <limits.h>
65034 #else
65035 # include <assert.h>
65036 #endif
65038 #undef $ac_func
65040 /* Override any gcc2 internal prototype to avoid an error. */
65041 #ifdef __cplusplus
65042 extern "C"
65044 #endif
65045 /* We use char because int might match the return type of a gcc2
65046 builtin and then its argument prototype would still apply. */
65047 char $ac_func ();
65048 /* The GNU C library defines this for functions which it implements
65049 to always fail with ENOSYS. Some functions are actually named
65050 something starting with __ and the normal name is an alias. */
65051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65052 choke me
65053 #else
65054 char (*f) () = $ac_func;
65055 #endif
65056 #ifdef __cplusplus
65058 #endif
65061 main ()
65063 return f != $ac_func;
65065 return 0;
65067 _ACEOF
65068 rm -f conftest.$ac_objext conftest$ac_exeext
65069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65070 (eval $ac_link) 2>conftest.er1
65071 ac_status=$?
65072 grep -v '^ *+' conftest.er1 >conftest.err
65073 rm -f conftest.er1
65074 cat conftest.err >&5
65075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65076 (exit $ac_status); } &&
65077 { ac_try='test -z "$ac_c_werror_flag"
65078 || test ! -s conftest.err'
65079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65080 (eval $ac_try) 2>&5
65081 ac_status=$?
65082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65083 (exit $ac_status); }; } &&
65084 { ac_try='test -s conftest$ac_exeext'
65085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65086 (eval $ac_try) 2>&5
65087 ac_status=$?
65088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65089 (exit $ac_status); }; }; then
65090 eval "$as_ac_var=yes"
65091 else
65092 echo "$as_me: failed program was:" >&5
65093 sed 's/^/| /' conftest.$ac_ext >&5
65095 eval "$as_ac_var=no"
65097 rm -f conftest.err conftest.$ac_objext \
65098 conftest$ac_exeext conftest.$ac_ext
65100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65102 if test `eval echo '${'$as_ac_var'}'` = yes; then
65103 cat >>confdefs.h <<_ACEOF
65104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65105 _ACEOF
65108 done
65110 else
65112 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65113 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65114 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65115 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65116 echo $ECHO_N "(cached) $ECHO_C" >&6
65117 else
65121 ac_ext=cc
65122 ac_cpp='$CXXCPP $CPPFLAGS'
65123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65127 cat >conftest.$ac_ext <<_ACEOF
65128 /* confdefs.h. */
65129 _ACEOF
65130 cat confdefs.h >>conftest.$ac_ext
65131 cat >>conftest.$ac_ext <<_ACEOF
65132 /* end confdefs.h. */
65133 #include <math.h>
65134 #ifdef HAVE_IEEEFP_H
65135 #include <ieeefp.h>
65136 #endif
65139 main ()
65141 _expl(0);
65143 return 0;
65145 _ACEOF
65146 rm -f conftest.$ac_objext
65147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65148 (eval $ac_compile) 2>conftest.er1
65149 ac_status=$?
65150 grep -v '^ *+' conftest.er1 >conftest.err
65151 rm -f conftest.er1
65152 cat conftest.err >&5
65153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65154 (exit $ac_status); } &&
65155 { ac_try='test -z "$ac_cxx_werror_flag"
65156 || test ! -s conftest.err'
65157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65158 (eval $ac_try) 2>&5
65159 ac_status=$?
65160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65161 (exit $ac_status); }; } &&
65162 { ac_try='test -s conftest.$ac_objext'
65163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65164 (eval $ac_try) 2>&5
65165 ac_status=$?
65166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65167 (exit $ac_status); }; }; then
65168 glibcxx_cv_func__expl_use=yes
65169 else
65170 echo "$as_me: failed program was:" >&5
65171 sed 's/^/| /' conftest.$ac_ext >&5
65173 glibcxx_cv_func__expl_use=no
65175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65176 ac_ext=c
65177 ac_cpp='$CPP $CPPFLAGS'
65178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65187 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65189 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65191 for ac_func in _expl
65193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65194 echo "$as_me:$LINENO: checking for $ac_func" >&5
65195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65196 if eval "test \"\${$as_ac_var+set}\" = set"; then
65197 echo $ECHO_N "(cached) $ECHO_C" >&6
65198 else
65199 if test x$gcc_no_link = xyes; then
65200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65202 { (exit 1); exit 1; }; }
65204 cat >conftest.$ac_ext <<_ACEOF
65205 /* confdefs.h. */
65206 _ACEOF
65207 cat confdefs.h >>conftest.$ac_ext
65208 cat >>conftest.$ac_ext <<_ACEOF
65209 /* end confdefs.h. */
65210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65212 #define $ac_func innocuous_$ac_func
65214 /* System header to define __stub macros and hopefully few prototypes,
65215 which can conflict with char $ac_func (); below.
65216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65217 <limits.h> exists even on freestanding compilers. */
65219 #ifdef __STDC__
65220 # include <limits.h>
65221 #else
65222 # include <assert.h>
65223 #endif
65225 #undef $ac_func
65227 /* Override any gcc2 internal prototype to avoid an error. */
65228 #ifdef __cplusplus
65229 extern "C"
65231 #endif
65232 /* We use char because int might match the return type of a gcc2
65233 builtin and then its argument prototype would still apply. */
65234 char $ac_func ();
65235 /* The GNU C library defines this for functions which it implements
65236 to always fail with ENOSYS. Some functions are actually named
65237 something starting with __ and the normal name is an alias. */
65238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65239 choke me
65240 #else
65241 char (*f) () = $ac_func;
65242 #endif
65243 #ifdef __cplusplus
65245 #endif
65248 main ()
65250 return f != $ac_func;
65252 return 0;
65254 _ACEOF
65255 rm -f conftest.$ac_objext conftest$ac_exeext
65256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65257 (eval $ac_link) 2>conftest.er1
65258 ac_status=$?
65259 grep -v '^ *+' conftest.er1 >conftest.err
65260 rm -f conftest.er1
65261 cat conftest.err >&5
65262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65263 (exit $ac_status); } &&
65264 { ac_try='test -z "$ac_c_werror_flag"
65265 || test ! -s conftest.err'
65266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65267 (eval $ac_try) 2>&5
65268 ac_status=$?
65269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65270 (exit $ac_status); }; } &&
65271 { ac_try='test -s conftest$ac_exeext'
65272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65273 (eval $ac_try) 2>&5
65274 ac_status=$?
65275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65276 (exit $ac_status); }; }; then
65277 eval "$as_ac_var=yes"
65278 else
65279 echo "$as_me: failed program was:" >&5
65280 sed 's/^/| /' conftest.$ac_ext >&5
65282 eval "$as_ac_var=no"
65284 rm -f conftest.err conftest.$ac_objext \
65285 conftest$ac_exeext conftest.$ac_ext
65287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65289 if test `eval echo '${'$as_ac_var'}'` = yes; then
65290 cat >>confdefs.h <<_ACEOF
65291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65292 _ACEOF
65295 done
65302 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65303 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65304 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65305 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65306 echo $ECHO_N "(cached) $ECHO_C" >&6
65307 else
65311 ac_ext=cc
65312 ac_cpp='$CXXCPP $CPPFLAGS'
65313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65317 cat >conftest.$ac_ext <<_ACEOF
65318 /* confdefs.h. */
65319 _ACEOF
65320 cat confdefs.h >>conftest.$ac_ext
65321 cat >>conftest.$ac_ext <<_ACEOF
65322 /* end confdefs.h. */
65323 #include <math.h>
65324 #ifdef HAVE_IEEEFP_H
65325 #include <ieeefp.h>
65326 #endif
65329 main ()
65331 fabsl(0);
65333 return 0;
65335 _ACEOF
65336 rm -f conftest.$ac_objext
65337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65338 (eval $ac_compile) 2>conftest.er1
65339 ac_status=$?
65340 grep -v '^ *+' conftest.er1 >conftest.err
65341 rm -f conftest.er1
65342 cat conftest.err >&5
65343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65344 (exit $ac_status); } &&
65345 { ac_try='test -z "$ac_cxx_werror_flag"
65346 || test ! -s conftest.err'
65347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65348 (eval $ac_try) 2>&5
65349 ac_status=$?
65350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65351 (exit $ac_status); }; } &&
65352 { ac_try='test -s conftest.$ac_objext'
65353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65354 (eval $ac_try) 2>&5
65355 ac_status=$?
65356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65357 (exit $ac_status); }; }; then
65358 glibcxx_cv_func_fabsl_use=yes
65359 else
65360 echo "$as_me: failed program was:" >&5
65361 sed 's/^/| /' conftest.$ac_ext >&5
65363 glibcxx_cv_func_fabsl_use=no
65365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65366 ac_ext=c
65367 ac_cpp='$CPP $CPPFLAGS'
65368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65376 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65377 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65379 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65381 for ac_func in fabsl
65383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65384 echo "$as_me:$LINENO: checking for $ac_func" >&5
65385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65386 if eval "test \"\${$as_ac_var+set}\" = set"; then
65387 echo $ECHO_N "(cached) $ECHO_C" >&6
65388 else
65389 if test x$gcc_no_link = xyes; then
65390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65392 { (exit 1); exit 1; }; }
65394 cat >conftest.$ac_ext <<_ACEOF
65395 /* confdefs.h. */
65396 _ACEOF
65397 cat confdefs.h >>conftest.$ac_ext
65398 cat >>conftest.$ac_ext <<_ACEOF
65399 /* end confdefs.h. */
65400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65402 #define $ac_func innocuous_$ac_func
65404 /* System header to define __stub macros and hopefully few prototypes,
65405 which can conflict with char $ac_func (); below.
65406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65407 <limits.h> exists even on freestanding compilers. */
65409 #ifdef __STDC__
65410 # include <limits.h>
65411 #else
65412 # include <assert.h>
65413 #endif
65415 #undef $ac_func
65417 /* Override any gcc2 internal prototype to avoid an error. */
65418 #ifdef __cplusplus
65419 extern "C"
65421 #endif
65422 /* We use char because int might match the return type of a gcc2
65423 builtin and then its argument prototype would still apply. */
65424 char $ac_func ();
65425 /* The GNU C library defines this for functions which it implements
65426 to always fail with ENOSYS. Some functions are actually named
65427 something starting with __ and the normal name is an alias. */
65428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65429 choke me
65430 #else
65431 char (*f) () = $ac_func;
65432 #endif
65433 #ifdef __cplusplus
65435 #endif
65438 main ()
65440 return f != $ac_func;
65442 return 0;
65444 _ACEOF
65445 rm -f conftest.$ac_objext conftest$ac_exeext
65446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65447 (eval $ac_link) 2>conftest.er1
65448 ac_status=$?
65449 grep -v '^ *+' conftest.er1 >conftest.err
65450 rm -f conftest.er1
65451 cat conftest.err >&5
65452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65453 (exit $ac_status); } &&
65454 { ac_try='test -z "$ac_c_werror_flag"
65455 || test ! -s conftest.err'
65456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65457 (eval $ac_try) 2>&5
65458 ac_status=$?
65459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65460 (exit $ac_status); }; } &&
65461 { ac_try='test -s conftest$ac_exeext'
65462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65463 (eval $ac_try) 2>&5
65464 ac_status=$?
65465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65466 (exit $ac_status); }; }; then
65467 eval "$as_ac_var=yes"
65468 else
65469 echo "$as_me: failed program was:" >&5
65470 sed 's/^/| /' conftest.$ac_ext >&5
65472 eval "$as_ac_var=no"
65474 rm -f conftest.err conftest.$ac_objext \
65475 conftest$ac_exeext conftest.$ac_ext
65477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65479 if test `eval echo '${'$as_ac_var'}'` = yes; then
65480 cat >>confdefs.h <<_ACEOF
65481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65482 _ACEOF
65485 done
65487 else
65489 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65490 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65491 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65492 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65493 echo $ECHO_N "(cached) $ECHO_C" >&6
65494 else
65498 ac_ext=cc
65499 ac_cpp='$CXXCPP $CPPFLAGS'
65500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65504 cat >conftest.$ac_ext <<_ACEOF
65505 /* confdefs.h. */
65506 _ACEOF
65507 cat confdefs.h >>conftest.$ac_ext
65508 cat >>conftest.$ac_ext <<_ACEOF
65509 /* end confdefs.h. */
65510 #include <math.h>
65511 #ifdef HAVE_IEEEFP_H
65512 #include <ieeefp.h>
65513 #endif
65516 main ()
65518 _fabsl(0);
65520 return 0;
65522 _ACEOF
65523 rm -f conftest.$ac_objext
65524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65525 (eval $ac_compile) 2>conftest.er1
65526 ac_status=$?
65527 grep -v '^ *+' conftest.er1 >conftest.err
65528 rm -f conftest.er1
65529 cat conftest.err >&5
65530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65531 (exit $ac_status); } &&
65532 { ac_try='test -z "$ac_cxx_werror_flag"
65533 || test ! -s conftest.err'
65534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65535 (eval $ac_try) 2>&5
65536 ac_status=$?
65537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65538 (exit $ac_status); }; } &&
65539 { ac_try='test -s conftest.$ac_objext'
65540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65541 (eval $ac_try) 2>&5
65542 ac_status=$?
65543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65544 (exit $ac_status); }; }; then
65545 glibcxx_cv_func__fabsl_use=yes
65546 else
65547 echo "$as_me: failed program was:" >&5
65548 sed 's/^/| /' conftest.$ac_ext >&5
65550 glibcxx_cv_func__fabsl_use=no
65552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65553 ac_ext=c
65554 ac_cpp='$CPP $CPPFLAGS'
65555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65563 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
65564 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
65566 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65568 for ac_func in _fabsl
65570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65571 echo "$as_me:$LINENO: checking for $ac_func" >&5
65572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65573 if eval "test \"\${$as_ac_var+set}\" = set"; then
65574 echo $ECHO_N "(cached) $ECHO_C" >&6
65575 else
65576 if test x$gcc_no_link = xyes; then
65577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65579 { (exit 1); exit 1; }; }
65581 cat >conftest.$ac_ext <<_ACEOF
65582 /* confdefs.h. */
65583 _ACEOF
65584 cat confdefs.h >>conftest.$ac_ext
65585 cat >>conftest.$ac_ext <<_ACEOF
65586 /* end confdefs.h. */
65587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65589 #define $ac_func innocuous_$ac_func
65591 /* System header to define __stub macros and hopefully few prototypes,
65592 which can conflict with char $ac_func (); below.
65593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65594 <limits.h> exists even on freestanding compilers. */
65596 #ifdef __STDC__
65597 # include <limits.h>
65598 #else
65599 # include <assert.h>
65600 #endif
65602 #undef $ac_func
65604 /* Override any gcc2 internal prototype to avoid an error. */
65605 #ifdef __cplusplus
65606 extern "C"
65608 #endif
65609 /* We use char because int might match the return type of a gcc2
65610 builtin and then its argument prototype would still apply. */
65611 char $ac_func ();
65612 /* The GNU C library defines this for functions which it implements
65613 to always fail with ENOSYS. Some functions are actually named
65614 something starting with __ and the normal name is an alias. */
65615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65616 choke me
65617 #else
65618 char (*f) () = $ac_func;
65619 #endif
65620 #ifdef __cplusplus
65622 #endif
65625 main ()
65627 return f != $ac_func;
65629 return 0;
65631 _ACEOF
65632 rm -f conftest.$ac_objext conftest$ac_exeext
65633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65634 (eval $ac_link) 2>conftest.er1
65635 ac_status=$?
65636 grep -v '^ *+' conftest.er1 >conftest.err
65637 rm -f conftest.er1
65638 cat conftest.err >&5
65639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65640 (exit $ac_status); } &&
65641 { ac_try='test -z "$ac_c_werror_flag"
65642 || test ! -s conftest.err'
65643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65644 (eval $ac_try) 2>&5
65645 ac_status=$?
65646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65647 (exit $ac_status); }; } &&
65648 { ac_try='test -s conftest$ac_exeext'
65649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65650 (eval $ac_try) 2>&5
65651 ac_status=$?
65652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65653 (exit $ac_status); }; }; then
65654 eval "$as_ac_var=yes"
65655 else
65656 echo "$as_me: failed program was:" >&5
65657 sed 's/^/| /' conftest.$ac_ext >&5
65659 eval "$as_ac_var=no"
65661 rm -f conftest.err conftest.$ac_objext \
65662 conftest$ac_exeext conftest.$ac_ext
65664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65666 if test `eval echo '${'$as_ac_var'}'` = yes; then
65667 cat >>confdefs.h <<_ACEOF
65668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65669 _ACEOF
65672 done
65679 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
65680 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
65681 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65682 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
65683 echo $ECHO_N "(cached) $ECHO_C" >&6
65684 else
65688 ac_ext=cc
65689 ac_cpp='$CXXCPP $CPPFLAGS'
65690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65694 cat >conftest.$ac_ext <<_ACEOF
65695 /* confdefs.h. */
65696 _ACEOF
65697 cat confdefs.h >>conftest.$ac_ext
65698 cat >>conftest.$ac_ext <<_ACEOF
65699 /* end confdefs.h. */
65700 #include <math.h>
65702 main ()
65704 fmodl(0, 0);
65706 return 0;
65708 _ACEOF
65709 rm -f conftest.$ac_objext
65710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65711 (eval $ac_compile) 2>conftest.er1
65712 ac_status=$?
65713 grep -v '^ *+' conftest.er1 >conftest.err
65714 rm -f conftest.er1
65715 cat conftest.err >&5
65716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65717 (exit $ac_status); } &&
65718 { ac_try='test -z "$ac_cxx_werror_flag"
65719 || test ! -s conftest.err'
65720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65721 (eval $ac_try) 2>&5
65722 ac_status=$?
65723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65724 (exit $ac_status); }; } &&
65725 { ac_try='test -s conftest.$ac_objext'
65726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65727 (eval $ac_try) 2>&5
65728 ac_status=$?
65729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65730 (exit $ac_status); }; }; then
65731 glibcxx_cv_func_fmodl_use=yes
65732 else
65733 echo "$as_me: failed program was:" >&5
65734 sed 's/^/| /' conftest.$ac_ext >&5
65736 glibcxx_cv_func_fmodl_use=no
65738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65739 ac_ext=c
65740 ac_cpp='$CPP $CPPFLAGS'
65741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65750 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65752 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65754 for ac_func in fmodl
65756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65757 echo "$as_me:$LINENO: checking for $ac_func" >&5
65758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65759 if eval "test \"\${$as_ac_var+set}\" = set"; then
65760 echo $ECHO_N "(cached) $ECHO_C" >&6
65761 else
65762 if test x$gcc_no_link = xyes; then
65763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65765 { (exit 1); exit 1; }; }
65767 cat >conftest.$ac_ext <<_ACEOF
65768 /* confdefs.h. */
65769 _ACEOF
65770 cat confdefs.h >>conftest.$ac_ext
65771 cat >>conftest.$ac_ext <<_ACEOF
65772 /* end confdefs.h. */
65773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65775 #define $ac_func innocuous_$ac_func
65777 /* System header to define __stub macros and hopefully few prototypes,
65778 which can conflict with char $ac_func (); below.
65779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65780 <limits.h> exists even on freestanding compilers. */
65782 #ifdef __STDC__
65783 # include <limits.h>
65784 #else
65785 # include <assert.h>
65786 #endif
65788 #undef $ac_func
65790 /* Override any gcc2 internal prototype to avoid an error. */
65791 #ifdef __cplusplus
65792 extern "C"
65794 #endif
65795 /* We use char because int might match the return type of a gcc2
65796 builtin and then its argument prototype would still apply. */
65797 char $ac_func ();
65798 /* The GNU C library defines this for functions which it implements
65799 to always fail with ENOSYS. Some functions are actually named
65800 something starting with __ and the normal name is an alias. */
65801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65802 choke me
65803 #else
65804 char (*f) () = $ac_func;
65805 #endif
65806 #ifdef __cplusplus
65808 #endif
65811 main ()
65813 return f != $ac_func;
65815 return 0;
65817 _ACEOF
65818 rm -f conftest.$ac_objext conftest$ac_exeext
65819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65820 (eval $ac_link) 2>conftest.er1
65821 ac_status=$?
65822 grep -v '^ *+' conftest.er1 >conftest.err
65823 rm -f conftest.er1
65824 cat conftest.err >&5
65825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65826 (exit $ac_status); } &&
65827 { ac_try='test -z "$ac_c_werror_flag"
65828 || test ! -s conftest.err'
65829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65830 (eval $ac_try) 2>&5
65831 ac_status=$?
65832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65833 (exit $ac_status); }; } &&
65834 { ac_try='test -s conftest$ac_exeext'
65835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65836 (eval $ac_try) 2>&5
65837 ac_status=$?
65838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65839 (exit $ac_status); }; }; then
65840 eval "$as_ac_var=yes"
65841 else
65842 echo "$as_me: failed program was:" >&5
65843 sed 's/^/| /' conftest.$ac_ext >&5
65845 eval "$as_ac_var=no"
65847 rm -f conftest.err conftest.$ac_objext \
65848 conftest$ac_exeext conftest.$ac_ext
65850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65852 if test `eval echo '${'$as_ac_var'}'` = yes; then
65853 cat >>confdefs.h <<_ACEOF
65854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65855 _ACEOF
65858 done
65860 else
65862 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65863 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65864 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65865 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65866 echo $ECHO_N "(cached) $ECHO_C" >&6
65867 else
65871 ac_ext=cc
65872 ac_cpp='$CXXCPP $CPPFLAGS'
65873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65877 cat >conftest.$ac_ext <<_ACEOF
65878 /* confdefs.h. */
65879 _ACEOF
65880 cat confdefs.h >>conftest.$ac_ext
65881 cat >>conftest.$ac_ext <<_ACEOF
65882 /* end confdefs.h. */
65883 #include <math.h>
65885 main ()
65887 _fmodl(0, 0);
65889 return 0;
65891 _ACEOF
65892 rm -f conftest.$ac_objext
65893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65894 (eval $ac_compile) 2>conftest.er1
65895 ac_status=$?
65896 grep -v '^ *+' conftest.er1 >conftest.err
65897 rm -f conftest.er1
65898 cat conftest.err >&5
65899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65900 (exit $ac_status); } &&
65901 { ac_try='test -z "$ac_cxx_werror_flag"
65902 || test ! -s conftest.err'
65903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65904 (eval $ac_try) 2>&5
65905 ac_status=$?
65906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65907 (exit $ac_status); }; } &&
65908 { ac_try='test -s conftest.$ac_objext'
65909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65910 (eval $ac_try) 2>&5
65911 ac_status=$?
65912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65913 (exit $ac_status); }; }; then
65914 glibcxx_cv_func__fmodl_use=yes
65915 else
65916 echo "$as_me: failed program was:" >&5
65917 sed 's/^/| /' conftest.$ac_ext >&5
65919 glibcxx_cv_func__fmodl_use=no
65921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65922 ac_ext=c
65923 ac_cpp='$CPP $CPPFLAGS'
65924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65933 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65935 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65937 for ac_func in _fmodl
65939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65940 echo "$as_me:$LINENO: checking for $ac_func" >&5
65941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65942 if eval "test \"\${$as_ac_var+set}\" = set"; then
65943 echo $ECHO_N "(cached) $ECHO_C" >&6
65944 else
65945 if test x$gcc_no_link = xyes; then
65946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65948 { (exit 1); exit 1; }; }
65950 cat >conftest.$ac_ext <<_ACEOF
65951 /* confdefs.h. */
65952 _ACEOF
65953 cat confdefs.h >>conftest.$ac_ext
65954 cat >>conftest.$ac_ext <<_ACEOF
65955 /* end confdefs.h. */
65956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65958 #define $ac_func innocuous_$ac_func
65960 /* System header to define __stub macros and hopefully few prototypes,
65961 which can conflict with char $ac_func (); below.
65962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65963 <limits.h> exists even on freestanding compilers. */
65965 #ifdef __STDC__
65966 # include <limits.h>
65967 #else
65968 # include <assert.h>
65969 #endif
65971 #undef $ac_func
65973 /* Override any gcc2 internal prototype to avoid an error. */
65974 #ifdef __cplusplus
65975 extern "C"
65977 #endif
65978 /* We use char because int might match the return type of a gcc2
65979 builtin and then its argument prototype would still apply. */
65980 char $ac_func ();
65981 /* The GNU C library defines this for functions which it implements
65982 to always fail with ENOSYS. Some functions are actually named
65983 something starting with __ and the normal name is an alias. */
65984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65985 choke me
65986 #else
65987 char (*f) () = $ac_func;
65988 #endif
65989 #ifdef __cplusplus
65991 #endif
65994 main ()
65996 return f != $ac_func;
65998 return 0;
66000 _ACEOF
66001 rm -f conftest.$ac_objext conftest$ac_exeext
66002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66003 (eval $ac_link) 2>conftest.er1
66004 ac_status=$?
66005 grep -v '^ *+' conftest.er1 >conftest.err
66006 rm -f conftest.er1
66007 cat conftest.err >&5
66008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66009 (exit $ac_status); } &&
66010 { ac_try='test -z "$ac_c_werror_flag"
66011 || test ! -s conftest.err'
66012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66013 (eval $ac_try) 2>&5
66014 ac_status=$?
66015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66016 (exit $ac_status); }; } &&
66017 { ac_try='test -s conftest$ac_exeext'
66018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66019 (eval $ac_try) 2>&5
66020 ac_status=$?
66021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66022 (exit $ac_status); }; }; then
66023 eval "$as_ac_var=yes"
66024 else
66025 echo "$as_me: failed program was:" >&5
66026 sed 's/^/| /' conftest.$ac_ext >&5
66028 eval "$as_ac_var=no"
66030 rm -f conftest.err conftest.$ac_objext \
66031 conftest$ac_exeext conftest.$ac_ext
66033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66035 if test `eval echo '${'$as_ac_var'}'` = yes; then
66036 cat >>confdefs.h <<_ACEOF
66037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66038 _ACEOF
66041 done
66048 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66049 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66050 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66051 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66052 echo $ECHO_N "(cached) $ECHO_C" >&6
66053 else
66057 ac_ext=cc
66058 ac_cpp='$CXXCPP $CPPFLAGS'
66059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66063 cat >conftest.$ac_ext <<_ACEOF
66064 /* confdefs.h. */
66065 _ACEOF
66066 cat confdefs.h >>conftest.$ac_ext
66067 cat >>conftest.$ac_ext <<_ACEOF
66068 /* end confdefs.h. */
66069 #include <math.h>
66071 main ()
66073 frexpl(0, 0);
66075 return 0;
66077 _ACEOF
66078 rm -f conftest.$ac_objext
66079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66080 (eval $ac_compile) 2>conftest.er1
66081 ac_status=$?
66082 grep -v '^ *+' conftest.er1 >conftest.err
66083 rm -f conftest.er1
66084 cat conftest.err >&5
66085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66086 (exit $ac_status); } &&
66087 { ac_try='test -z "$ac_cxx_werror_flag"
66088 || test ! -s conftest.err'
66089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66090 (eval $ac_try) 2>&5
66091 ac_status=$?
66092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66093 (exit $ac_status); }; } &&
66094 { ac_try='test -s conftest.$ac_objext'
66095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66096 (eval $ac_try) 2>&5
66097 ac_status=$?
66098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66099 (exit $ac_status); }; }; then
66100 glibcxx_cv_func_frexpl_use=yes
66101 else
66102 echo "$as_me: failed program was:" >&5
66103 sed 's/^/| /' conftest.$ac_ext >&5
66105 glibcxx_cv_func_frexpl_use=no
66107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66108 ac_ext=c
66109 ac_cpp='$CPP $CPPFLAGS'
66110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66118 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66119 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66121 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66123 for ac_func in frexpl
66125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66126 echo "$as_me:$LINENO: checking for $ac_func" >&5
66127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66128 if eval "test \"\${$as_ac_var+set}\" = set"; then
66129 echo $ECHO_N "(cached) $ECHO_C" >&6
66130 else
66131 if test x$gcc_no_link = xyes; then
66132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66134 { (exit 1); exit 1; }; }
66136 cat >conftest.$ac_ext <<_ACEOF
66137 /* confdefs.h. */
66138 _ACEOF
66139 cat confdefs.h >>conftest.$ac_ext
66140 cat >>conftest.$ac_ext <<_ACEOF
66141 /* end confdefs.h. */
66142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66144 #define $ac_func innocuous_$ac_func
66146 /* System header to define __stub macros and hopefully few prototypes,
66147 which can conflict with char $ac_func (); below.
66148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66149 <limits.h> exists even on freestanding compilers. */
66151 #ifdef __STDC__
66152 # include <limits.h>
66153 #else
66154 # include <assert.h>
66155 #endif
66157 #undef $ac_func
66159 /* Override any gcc2 internal prototype to avoid an error. */
66160 #ifdef __cplusplus
66161 extern "C"
66163 #endif
66164 /* We use char because int might match the return type of a gcc2
66165 builtin and then its argument prototype would still apply. */
66166 char $ac_func ();
66167 /* The GNU C library defines this for functions which it implements
66168 to always fail with ENOSYS. Some functions are actually named
66169 something starting with __ and the normal name is an alias. */
66170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66171 choke me
66172 #else
66173 char (*f) () = $ac_func;
66174 #endif
66175 #ifdef __cplusplus
66177 #endif
66180 main ()
66182 return f != $ac_func;
66184 return 0;
66186 _ACEOF
66187 rm -f conftest.$ac_objext conftest$ac_exeext
66188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66189 (eval $ac_link) 2>conftest.er1
66190 ac_status=$?
66191 grep -v '^ *+' conftest.er1 >conftest.err
66192 rm -f conftest.er1
66193 cat conftest.err >&5
66194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66195 (exit $ac_status); } &&
66196 { ac_try='test -z "$ac_c_werror_flag"
66197 || test ! -s conftest.err'
66198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66199 (eval $ac_try) 2>&5
66200 ac_status=$?
66201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66202 (exit $ac_status); }; } &&
66203 { ac_try='test -s conftest$ac_exeext'
66204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66205 (eval $ac_try) 2>&5
66206 ac_status=$?
66207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66208 (exit $ac_status); }; }; then
66209 eval "$as_ac_var=yes"
66210 else
66211 echo "$as_me: failed program was:" >&5
66212 sed 's/^/| /' conftest.$ac_ext >&5
66214 eval "$as_ac_var=no"
66216 rm -f conftest.err conftest.$ac_objext \
66217 conftest$ac_exeext conftest.$ac_ext
66219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66221 if test `eval echo '${'$as_ac_var'}'` = yes; then
66222 cat >>confdefs.h <<_ACEOF
66223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66224 _ACEOF
66227 done
66229 else
66231 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66232 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66233 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66234 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66235 echo $ECHO_N "(cached) $ECHO_C" >&6
66236 else
66240 ac_ext=cc
66241 ac_cpp='$CXXCPP $CPPFLAGS'
66242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66246 cat >conftest.$ac_ext <<_ACEOF
66247 /* confdefs.h. */
66248 _ACEOF
66249 cat confdefs.h >>conftest.$ac_ext
66250 cat >>conftest.$ac_ext <<_ACEOF
66251 /* end confdefs.h. */
66252 #include <math.h>
66254 main ()
66256 _frexpl(0, 0);
66258 return 0;
66260 _ACEOF
66261 rm -f conftest.$ac_objext
66262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66263 (eval $ac_compile) 2>conftest.er1
66264 ac_status=$?
66265 grep -v '^ *+' conftest.er1 >conftest.err
66266 rm -f conftest.er1
66267 cat conftest.err >&5
66268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66269 (exit $ac_status); } &&
66270 { ac_try='test -z "$ac_cxx_werror_flag"
66271 || test ! -s conftest.err'
66272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66273 (eval $ac_try) 2>&5
66274 ac_status=$?
66275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66276 (exit $ac_status); }; } &&
66277 { ac_try='test -s conftest.$ac_objext'
66278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66279 (eval $ac_try) 2>&5
66280 ac_status=$?
66281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66282 (exit $ac_status); }; }; then
66283 glibcxx_cv_func__frexpl_use=yes
66284 else
66285 echo "$as_me: failed program was:" >&5
66286 sed 's/^/| /' conftest.$ac_ext >&5
66288 glibcxx_cv_func__frexpl_use=no
66290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66291 ac_ext=c
66292 ac_cpp='$CPP $CPPFLAGS'
66293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66302 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66304 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66306 for ac_func in _frexpl
66308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66309 echo "$as_me:$LINENO: checking for $ac_func" >&5
66310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66311 if eval "test \"\${$as_ac_var+set}\" = set"; then
66312 echo $ECHO_N "(cached) $ECHO_C" >&6
66313 else
66314 if test x$gcc_no_link = xyes; then
66315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66317 { (exit 1); exit 1; }; }
66319 cat >conftest.$ac_ext <<_ACEOF
66320 /* confdefs.h. */
66321 _ACEOF
66322 cat confdefs.h >>conftest.$ac_ext
66323 cat >>conftest.$ac_ext <<_ACEOF
66324 /* end confdefs.h. */
66325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66327 #define $ac_func innocuous_$ac_func
66329 /* System header to define __stub macros and hopefully few prototypes,
66330 which can conflict with char $ac_func (); below.
66331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66332 <limits.h> exists even on freestanding compilers. */
66334 #ifdef __STDC__
66335 # include <limits.h>
66336 #else
66337 # include <assert.h>
66338 #endif
66340 #undef $ac_func
66342 /* Override any gcc2 internal prototype to avoid an error. */
66343 #ifdef __cplusplus
66344 extern "C"
66346 #endif
66347 /* We use char because int might match the return type of a gcc2
66348 builtin and then its argument prototype would still apply. */
66349 char $ac_func ();
66350 /* The GNU C library defines this for functions which it implements
66351 to always fail with ENOSYS. Some functions are actually named
66352 something starting with __ and the normal name is an alias. */
66353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66354 choke me
66355 #else
66356 char (*f) () = $ac_func;
66357 #endif
66358 #ifdef __cplusplus
66360 #endif
66363 main ()
66365 return f != $ac_func;
66367 return 0;
66369 _ACEOF
66370 rm -f conftest.$ac_objext conftest$ac_exeext
66371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66372 (eval $ac_link) 2>conftest.er1
66373 ac_status=$?
66374 grep -v '^ *+' conftest.er1 >conftest.err
66375 rm -f conftest.er1
66376 cat conftest.err >&5
66377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66378 (exit $ac_status); } &&
66379 { ac_try='test -z "$ac_c_werror_flag"
66380 || test ! -s conftest.err'
66381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66382 (eval $ac_try) 2>&5
66383 ac_status=$?
66384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66385 (exit $ac_status); }; } &&
66386 { ac_try='test -s conftest$ac_exeext'
66387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66388 (eval $ac_try) 2>&5
66389 ac_status=$?
66390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66391 (exit $ac_status); }; }; then
66392 eval "$as_ac_var=yes"
66393 else
66394 echo "$as_me: failed program was:" >&5
66395 sed 's/^/| /' conftest.$ac_ext >&5
66397 eval "$as_ac_var=no"
66399 rm -f conftest.err conftest.$ac_objext \
66400 conftest$ac_exeext conftest.$ac_ext
66402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66404 if test `eval echo '${'$as_ac_var'}'` = yes; then
66405 cat >>confdefs.h <<_ACEOF
66406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66407 _ACEOF
66410 done
66417 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66418 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66419 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66420 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66421 echo $ECHO_N "(cached) $ECHO_C" >&6
66422 else
66426 ac_ext=cc
66427 ac_cpp='$CXXCPP $CPPFLAGS'
66428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66432 cat >conftest.$ac_ext <<_ACEOF
66433 /* confdefs.h. */
66434 _ACEOF
66435 cat confdefs.h >>conftest.$ac_ext
66436 cat >>conftest.$ac_ext <<_ACEOF
66437 /* end confdefs.h. */
66438 #include <math.h>
66440 main ()
66442 hypotl(0, 0);
66444 return 0;
66446 _ACEOF
66447 rm -f conftest.$ac_objext
66448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66449 (eval $ac_compile) 2>conftest.er1
66450 ac_status=$?
66451 grep -v '^ *+' conftest.er1 >conftest.err
66452 rm -f conftest.er1
66453 cat conftest.err >&5
66454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66455 (exit $ac_status); } &&
66456 { ac_try='test -z "$ac_cxx_werror_flag"
66457 || test ! -s conftest.err'
66458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66459 (eval $ac_try) 2>&5
66460 ac_status=$?
66461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66462 (exit $ac_status); }; } &&
66463 { ac_try='test -s conftest.$ac_objext'
66464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66465 (eval $ac_try) 2>&5
66466 ac_status=$?
66467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66468 (exit $ac_status); }; }; then
66469 glibcxx_cv_func_hypotl_use=yes
66470 else
66471 echo "$as_me: failed program was:" >&5
66472 sed 's/^/| /' conftest.$ac_ext >&5
66474 glibcxx_cv_func_hypotl_use=no
66476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66477 ac_ext=c
66478 ac_cpp='$CPP $CPPFLAGS'
66479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66487 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
66488 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
66490 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
66492 for ac_func in hypotl
66494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66495 echo "$as_me:$LINENO: checking for $ac_func" >&5
66496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66497 if eval "test \"\${$as_ac_var+set}\" = set"; then
66498 echo $ECHO_N "(cached) $ECHO_C" >&6
66499 else
66500 if test x$gcc_no_link = xyes; then
66501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66503 { (exit 1); exit 1; }; }
66505 cat >conftest.$ac_ext <<_ACEOF
66506 /* confdefs.h. */
66507 _ACEOF
66508 cat confdefs.h >>conftest.$ac_ext
66509 cat >>conftest.$ac_ext <<_ACEOF
66510 /* end confdefs.h. */
66511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66513 #define $ac_func innocuous_$ac_func
66515 /* System header to define __stub macros and hopefully few prototypes,
66516 which can conflict with char $ac_func (); below.
66517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66518 <limits.h> exists even on freestanding compilers. */
66520 #ifdef __STDC__
66521 # include <limits.h>
66522 #else
66523 # include <assert.h>
66524 #endif
66526 #undef $ac_func
66528 /* Override any gcc2 internal prototype to avoid an error. */
66529 #ifdef __cplusplus
66530 extern "C"
66532 #endif
66533 /* We use char because int might match the return type of a gcc2
66534 builtin and then its argument prototype would still apply. */
66535 char $ac_func ();
66536 /* The GNU C library defines this for functions which it implements
66537 to always fail with ENOSYS. Some functions are actually named
66538 something starting with __ and the normal name is an alias. */
66539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66540 choke me
66541 #else
66542 char (*f) () = $ac_func;
66543 #endif
66544 #ifdef __cplusplus
66546 #endif
66549 main ()
66551 return f != $ac_func;
66553 return 0;
66555 _ACEOF
66556 rm -f conftest.$ac_objext conftest$ac_exeext
66557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66558 (eval $ac_link) 2>conftest.er1
66559 ac_status=$?
66560 grep -v '^ *+' conftest.er1 >conftest.err
66561 rm -f conftest.er1
66562 cat conftest.err >&5
66563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66564 (exit $ac_status); } &&
66565 { ac_try='test -z "$ac_c_werror_flag"
66566 || test ! -s conftest.err'
66567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66568 (eval $ac_try) 2>&5
66569 ac_status=$?
66570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66571 (exit $ac_status); }; } &&
66572 { ac_try='test -s conftest$ac_exeext'
66573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66574 (eval $ac_try) 2>&5
66575 ac_status=$?
66576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66577 (exit $ac_status); }; }; then
66578 eval "$as_ac_var=yes"
66579 else
66580 echo "$as_me: failed program was:" >&5
66581 sed 's/^/| /' conftest.$ac_ext >&5
66583 eval "$as_ac_var=no"
66585 rm -f conftest.err conftest.$ac_objext \
66586 conftest$ac_exeext conftest.$ac_ext
66588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66590 if test `eval echo '${'$as_ac_var'}'` = yes; then
66591 cat >>confdefs.h <<_ACEOF
66592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66593 _ACEOF
66596 done
66598 else
66600 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
66601 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
66602 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66603 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
66604 echo $ECHO_N "(cached) $ECHO_C" >&6
66605 else
66609 ac_ext=cc
66610 ac_cpp='$CXXCPP $CPPFLAGS'
66611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66615 cat >conftest.$ac_ext <<_ACEOF
66616 /* confdefs.h. */
66617 _ACEOF
66618 cat confdefs.h >>conftest.$ac_ext
66619 cat >>conftest.$ac_ext <<_ACEOF
66620 /* end confdefs.h. */
66621 #include <math.h>
66623 main ()
66625 _hypotl(0, 0);
66627 return 0;
66629 _ACEOF
66630 rm -f conftest.$ac_objext
66631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66632 (eval $ac_compile) 2>conftest.er1
66633 ac_status=$?
66634 grep -v '^ *+' conftest.er1 >conftest.err
66635 rm -f conftest.er1
66636 cat conftest.err >&5
66637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66638 (exit $ac_status); } &&
66639 { ac_try='test -z "$ac_cxx_werror_flag"
66640 || test ! -s conftest.err'
66641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66642 (eval $ac_try) 2>&5
66643 ac_status=$?
66644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66645 (exit $ac_status); }; } &&
66646 { ac_try='test -s conftest.$ac_objext'
66647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66648 (eval $ac_try) 2>&5
66649 ac_status=$?
66650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66651 (exit $ac_status); }; }; then
66652 glibcxx_cv_func__hypotl_use=yes
66653 else
66654 echo "$as_me: failed program was:" >&5
66655 sed 's/^/| /' conftest.$ac_ext >&5
66657 glibcxx_cv_func__hypotl_use=no
66659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66660 ac_ext=c
66661 ac_cpp='$CPP $CPPFLAGS'
66662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66670 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
66671 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
66673 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66675 for ac_func in _hypotl
66677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66678 echo "$as_me:$LINENO: checking for $ac_func" >&5
66679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66680 if eval "test \"\${$as_ac_var+set}\" = set"; then
66681 echo $ECHO_N "(cached) $ECHO_C" >&6
66682 else
66683 if test x$gcc_no_link = xyes; then
66684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66686 { (exit 1); exit 1; }; }
66688 cat >conftest.$ac_ext <<_ACEOF
66689 /* confdefs.h. */
66690 _ACEOF
66691 cat confdefs.h >>conftest.$ac_ext
66692 cat >>conftest.$ac_ext <<_ACEOF
66693 /* end confdefs.h. */
66694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66696 #define $ac_func innocuous_$ac_func
66698 /* System header to define __stub macros and hopefully few prototypes,
66699 which can conflict with char $ac_func (); below.
66700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66701 <limits.h> exists even on freestanding compilers. */
66703 #ifdef __STDC__
66704 # include <limits.h>
66705 #else
66706 # include <assert.h>
66707 #endif
66709 #undef $ac_func
66711 /* Override any gcc2 internal prototype to avoid an error. */
66712 #ifdef __cplusplus
66713 extern "C"
66715 #endif
66716 /* We use char because int might match the return type of a gcc2
66717 builtin and then its argument prototype would still apply. */
66718 char $ac_func ();
66719 /* The GNU C library defines this for functions which it implements
66720 to always fail with ENOSYS. Some functions are actually named
66721 something starting with __ and the normal name is an alias. */
66722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66723 choke me
66724 #else
66725 char (*f) () = $ac_func;
66726 #endif
66727 #ifdef __cplusplus
66729 #endif
66732 main ()
66734 return f != $ac_func;
66736 return 0;
66738 _ACEOF
66739 rm -f conftest.$ac_objext conftest$ac_exeext
66740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66741 (eval $ac_link) 2>conftest.er1
66742 ac_status=$?
66743 grep -v '^ *+' conftest.er1 >conftest.err
66744 rm -f conftest.er1
66745 cat conftest.err >&5
66746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66747 (exit $ac_status); } &&
66748 { ac_try='test -z "$ac_c_werror_flag"
66749 || test ! -s conftest.err'
66750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66751 (eval $ac_try) 2>&5
66752 ac_status=$?
66753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66754 (exit $ac_status); }; } &&
66755 { ac_try='test -s conftest$ac_exeext'
66756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66757 (eval $ac_try) 2>&5
66758 ac_status=$?
66759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66760 (exit $ac_status); }; }; then
66761 eval "$as_ac_var=yes"
66762 else
66763 echo "$as_me: failed program was:" >&5
66764 sed 's/^/| /' conftest.$ac_ext >&5
66766 eval "$as_ac_var=no"
66768 rm -f conftest.err conftest.$ac_objext \
66769 conftest$ac_exeext conftest.$ac_ext
66771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66773 if test `eval echo '${'$as_ac_var'}'` = yes; then
66774 cat >>confdefs.h <<_ACEOF
66775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66776 _ACEOF
66779 done
66786 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66787 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66788 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66789 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66790 echo $ECHO_N "(cached) $ECHO_C" >&6
66791 else
66795 ac_ext=cc
66796 ac_cpp='$CXXCPP $CPPFLAGS'
66797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66801 cat >conftest.$ac_ext <<_ACEOF
66802 /* confdefs.h. */
66803 _ACEOF
66804 cat confdefs.h >>conftest.$ac_ext
66805 cat >>conftest.$ac_ext <<_ACEOF
66806 /* end confdefs.h. */
66807 #include <math.h>
66809 main ()
66811 ldexpl(0, 0);
66813 return 0;
66815 _ACEOF
66816 rm -f conftest.$ac_objext
66817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66818 (eval $ac_compile) 2>conftest.er1
66819 ac_status=$?
66820 grep -v '^ *+' conftest.er1 >conftest.err
66821 rm -f conftest.er1
66822 cat conftest.err >&5
66823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66824 (exit $ac_status); } &&
66825 { ac_try='test -z "$ac_cxx_werror_flag"
66826 || test ! -s conftest.err'
66827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66828 (eval $ac_try) 2>&5
66829 ac_status=$?
66830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66831 (exit $ac_status); }; } &&
66832 { ac_try='test -s conftest.$ac_objext'
66833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66834 (eval $ac_try) 2>&5
66835 ac_status=$?
66836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66837 (exit $ac_status); }; }; then
66838 glibcxx_cv_func_ldexpl_use=yes
66839 else
66840 echo "$as_me: failed program was:" >&5
66841 sed 's/^/| /' conftest.$ac_ext >&5
66843 glibcxx_cv_func_ldexpl_use=no
66845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66846 ac_ext=c
66847 ac_cpp='$CPP $CPPFLAGS'
66848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66856 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66857 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66859 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66861 for ac_func in ldexpl
66863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66864 echo "$as_me:$LINENO: checking for $ac_func" >&5
66865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66866 if eval "test \"\${$as_ac_var+set}\" = set"; then
66867 echo $ECHO_N "(cached) $ECHO_C" >&6
66868 else
66869 if test x$gcc_no_link = xyes; then
66870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66872 { (exit 1); exit 1; }; }
66874 cat >conftest.$ac_ext <<_ACEOF
66875 /* confdefs.h. */
66876 _ACEOF
66877 cat confdefs.h >>conftest.$ac_ext
66878 cat >>conftest.$ac_ext <<_ACEOF
66879 /* end confdefs.h. */
66880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66882 #define $ac_func innocuous_$ac_func
66884 /* System header to define __stub macros and hopefully few prototypes,
66885 which can conflict with char $ac_func (); below.
66886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66887 <limits.h> exists even on freestanding compilers. */
66889 #ifdef __STDC__
66890 # include <limits.h>
66891 #else
66892 # include <assert.h>
66893 #endif
66895 #undef $ac_func
66897 /* Override any gcc2 internal prototype to avoid an error. */
66898 #ifdef __cplusplus
66899 extern "C"
66901 #endif
66902 /* We use char because int might match the return type of a gcc2
66903 builtin and then its argument prototype would still apply. */
66904 char $ac_func ();
66905 /* The GNU C library defines this for functions which it implements
66906 to always fail with ENOSYS. Some functions are actually named
66907 something starting with __ and the normal name is an alias. */
66908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66909 choke me
66910 #else
66911 char (*f) () = $ac_func;
66912 #endif
66913 #ifdef __cplusplus
66915 #endif
66918 main ()
66920 return f != $ac_func;
66922 return 0;
66924 _ACEOF
66925 rm -f conftest.$ac_objext conftest$ac_exeext
66926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66927 (eval $ac_link) 2>conftest.er1
66928 ac_status=$?
66929 grep -v '^ *+' conftest.er1 >conftest.err
66930 rm -f conftest.er1
66931 cat conftest.err >&5
66932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66933 (exit $ac_status); } &&
66934 { ac_try='test -z "$ac_c_werror_flag"
66935 || test ! -s conftest.err'
66936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66937 (eval $ac_try) 2>&5
66938 ac_status=$?
66939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66940 (exit $ac_status); }; } &&
66941 { ac_try='test -s conftest$ac_exeext'
66942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66943 (eval $ac_try) 2>&5
66944 ac_status=$?
66945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66946 (exit $ac_status); }; }; then
66947 eval "$as_ac_var=yes"
66948 else
66949 echo "$as_me: failed program was:" >&5
66950 sed 's/^/| /' conftest.$ac_ext >&5
66952 eval "$as_ac_var=no"
66954 rm -f conftest.err conftest.$ac_objext \
66955 conftest$ac_exeext conftest.$ac_ext
66957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66959 if test `eval echo '${'$as_ac_var'}'` = yes; then
66960 cat >>confdefs.h <<_ACEOF
66961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66962 _ACEOF
66965 done
66967 else
66969 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66970 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66971 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66972 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66973 echo $ECHO_N "(cached) $ECHO_C" >&6
66974 else
66978 ac_ext=cc
66979 ac_cpp='$CXXCPP $CPPFLAGS'
66980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66984 cat >conftest.$ac_ext <<_ACEOF
66985 /* confdefs.h. */
66986 _ACEOF
66987 cat confdefs.h >>conftest.$ac_ext
66988 cat >>conftest.$ac_ext <<_ACEOF
66989 /* end confdefs.h. */
66990 #include <math.h>
66992 main ()
66994 _ldexpl(0, 0);
66996 return 0;
66998 _ACEOF
66999 rm -f conftest.$ac_objext
67000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67001 (eval $ac_compile) 2>conftest.er1
67002 ac_status=$?
67003 grep -v '^ *+' conftest.er1 >conftest.err
67004 rm -f conftest.er1
67005 cat conftest.err >&5
67006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67007 (exit $ac_status); } &&
67008 { ac_try='test -z "$ac_cxx_werror_flag"
67009 || test ! -s conftest.err'
67010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67011 (eval $ac_try) 2>&5
67012 ac_status=$?
67013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67014 (exit $ac_status); }; } &&
67015 { ac_try='test -s conftest.$ac_objext'
67016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67017 (eval $ac_try) 2>&5
67018 ac_status=$?
67019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67020 (exit $ac_status); }; }; then
67021 glibcxx_cv_func__ldexpl_use=yes
67022 else
67023 echo "$as_me: failed program was:" >&5
67024 sed 's/^/| /' conftest.$ac_ext >&5
67026 glibcxx_cv_func__ldexpl_use=no
67028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67029 ac_ext=c
67030 ac_cpp='$CPP $CPPFLAGS'
67031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67039 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67040 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67042 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67044 for ac_func in _ldexpl
67046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67047 echo "$as_me:$LINENO: checking for $ac_func" >&5
67048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67049 if eval "test \"\${$as_ac_var+set}\" = set"; then
67050 echo $ECHO_N "(cached) $ECHO_C" >&6
67051 else
67052 if test x$gcc_no_link = xyes; then
67053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67055 { (exit 1); exit 1; }; }
67057 cat >conftest.$ac_ext <<_ACEOF
67058 /* confdefs.h. */
67059 _ACEOF
67060 cat confdefs.h >>conftest.$ac_ext
67061 cat >>conftest.$ac_ext <<_ACEOF
67062 /* end confdefs.h. */
67063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67065 #define $ac_func innocuous_$ac_func
67067 /* System header to define __stub macros and hopefully few prototypes,
67068 which can conflict with char $ac_func (); below.
67069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67070 <limits.h> exists even on freestanding compilers. */
67072 #ifdef __STDC__
67073 # include <limits.h>
67074 #else
67075 # include <assert.h>
67076 #endif
67078 #undef $ac_func
67080 /* Override any gcc2 internal prototype to avoid an error. */
67081 #ifdef __cplusplus
67082 extern "C"
67084 #endif
67085 /* We use char because int might match the return type of a gcc2
67086 builtin and then its argument prototype would still apply. */
67087 char $ac_func ();
67088 /* The GNU C library defines this for functions which it implements
67089 to always fail with ENOSYS. Some functions are actually named
67090 something starting with __ and the normal name is an alias. */
67091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67092 choke me
67093 #else
67094 char (*f) () = $ac_func;
67095 #endif
67096 #ifdef __cplusplus
67098 #endif
67101 main ()
67103 return f != $ac_func;
67105 return 0;
67107 _ACEOF
67108 rm -f conftest.$ac_objext conftest$ac_exeext
67109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67110 (eval $ac_link) 2>conftest.er1
67111 ac_status=$?
67112 grep -v '^ *+' conftest.er1 >conftest.err
67113 rm -f conftest.er1
67114 cat conftest.err >&5
67115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67116 (exit $ac_status); } &&
67117 { ac_try='test -z "$ac_c_werror_flag"
67118 || test ! -s conftest.err'
67119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67120 (eval $ac_try) 2>&5
67121 ac_status=$?
67122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67123 (exit $ac_status); }; } &&
67124 { ac_try='test -s conftest$ac_exeext'
67125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67126 (eval $ac_try) 2>&5
67127 ac_status=$?
67128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67129 (exit $ac_status); }; }; then
67130 eval "$as_ac_var=yes"
67131 else
67132 echo "$as_me: failed program was:" >&5
67133 sed 's/^/| /' conftest.$ac_ext >&5
67135 eval "$as_ac_var=no"
67137 rm -f conftest.err conftest.$ac_objext \
67138 conftest$ac_exeext conftest.$ac_ext
67140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67142 if test `eval echo '${'$as_ac_var'}'` = yes; then
67143 cat >>confdefs.h <<_ACEOF
67144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67145 _ACEOF
67148 done
67155 echo "$as_me:$LINENO: checking for logl declaration" >&5
67156 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67157 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67158 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67159 echo $ECHO_N "(cached) $ECHO_C" >&6
67160 else
67164 ac_ext=cc
67165 ac_cpp='$CXXCPP $CPPFLAGS'
67166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67170 cat >conftest.$ac_ext <<_ACEOF
67171 /* confdefs.h. */
67172 _ACEOF
67173 cat confdefs.h >>conftest.$ac_ext
67174 cat >>conftest.$ac_ext <<_ACEOF
67175 /* end confdefs.h. */
67176 #include <math.h>
67177 #ifdef HAVE_IEEEFP_H
67178 #include <ieeefp.h>
67179 #endif
67182 main ()
67184 logl(0);
67186 return 0;
67188 _ACEOF
67189 rm -f conftest.$ac_objext
67190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67191 (eval $ac_compile) 2>conftest.er1
67192 ac_status=$?
67193 grep -v '^ *+' conftest.er1 >conftest.err
67194 rm -f conftest.er1
67195 cat conftest.err >&5
67196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67197 (exit $ac_status); } &&
67198 { ac_try='test -z "$ac_cxx_werror_flag"
67199 || test ! -s conftest.err'
67200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67201 (eval $ac_try) 2>&5
67202 ac_status=$?
67203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67204 (exit $ac_status); }; } &&
67205 { ac_try='test -s conftest.$ac_objext'
67206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67207 (eval $ac_try) 2>&5
67208 ac_status=$?
67209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67210 (exit $ac_status); }; }; then
67211 glibcxx_cv_func_logl_use=yes
67212 else
67213 echo "$as_me: failed program was:" >&5
67214 sed 's/^/| /' conftest.$ac_ext >&5
67216 glibcxx_cv_func_logl_use=no
67218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67219 ac_ext=c
67220 ac_cpp='$CPP $CPPFLAGS'
67221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67229 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67230 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67232 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67234 for ac_func in logl
67236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67237 echo "$as_me:$LINENO: checking for $ac_func" >&5
67238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67239 if eval "test \"\${$as_ac_var+set}\" = set"; then
67240 echo $ECHO_N "(cached) $ECHO_C" >&6
67241 else
67242 if test x$gcc_no_link = xyes; then
67243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67245 { (exit 1); exit 1; }; }
67247 cat >conftest.$ac_ext <<_ACEOF
67248 /* confdefs.h. */
67249 _ACEOF
67250 cat confdefs.h >>conftest.$ac_ext
67251 cat >>conftest.$ac_ext <<_ACEOF
67252 /* end confdefs.h. */
67253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67255 #define $ac_func innocuous_$ac_func
67257 /* System header to define __stub macros and hopefully few prototypes,
67258 which can conflict with char $ac_func (); below.
67259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67260 <limits.h> exists even on freestanding compilers. */
67262 #ifdef __STDC__
67263 # include <limits.h>
67264 #else
67265 # include <assert.h>
67266 #endif
67268 #undef $ac_func
67270 /* Override any gcc2 internal prototype to avoid an error. */
67271 #ifdef __cplusplus
67272 extern "C"
67274 #endif
67275 /* We use char because int might match the return type of a gcc2
67276 builtin and then its argument prototype would still apply. */
67277 char $ac_func ();
67278 /* The GNU C library defines this for functions which it implements
67279 to always fail with ENOSYS. Some functions are actually named
67280 something starting with __ and the normal name is an alias. */
67281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67282 choke me
67283 #else
67284 char (*f) () = $ac_func;
67285 #endif
67286 #ifdef __cplusplus
67288 #endif
67291 main ()
67293 return f != $ac_func;
67295 return 0;
67297 _ACEOF
67298 rm -f conftest.$ac_objext conftest$ac_exeext
67299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67300 (eval $ac_link) 2>conftest.er1
67301 ac_status=$?
67302 grep -v '^ *+' conftest.er1 >conftest.err
67303 rm -f conftest.er1
67304 cat conftest.err >&5
67305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67306 (exit $ac_status); } &&
67307 { ac_try='test -z "$ac_c_werror_flag"
67308 || test ! -s conftest.err'
67309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67310 (eval $ac_try) 2>&5
67311 ac_status=$?
67312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67313 (exit $ac_status); }; } &&
67314 { ac_try='test -s conftest$ac_exeext'
67315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67316 (eval $ac_try) 2>&5
67317 ac_status=$?
67318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67319 (exit $ac_status); }; }; then
67320 eval "$as_ac_var=yes"
67321 else
67322 echo "$as_me: failed program was:" >&5
67323 sed 's/^/| /' conftest.$ac_ext >&5
67325 eval "$as_ac_var=no"
67327 rm -f conftest.err conftest.$ac_objext \
67328 conftest$ac_exeext conftest.$ac_ext
67330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67332 if test `eval echo '${'$as_ac_var'}'` = yes; then
67333 cat >>confdefs.h <<_ACEOF
67334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67335 _ACEOF
67338 done
67340 else
67342 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67343 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67344 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67345 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67346 echo $ECHO_N "(cached) $ECHO_C" >&6
67347 else
67351 ac_ext=cc
67352 ac_cpp='$CXXCPP $CPPFLAGS'
67353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67357 cat >conftest.$ac_ext <<_ACEOF
67358 /* confdefs.h. */
67359 _ACEOF
67360 cat confdefs.h >>conftest.$ac_ext
67361 cat >>conftest.$ac_ext <<_ACEOF
67362 /* end confdefs.h. */
67363 #include <math.h>
67364 #ifdef HAVE_IEEEFP_H
67365 #include <ieeefp.h>
67366 #endif
67369 main ()
67371 _logl(0);
67373 return 0;
67375 _ACEOF
67376 rm -f conftest.$ac_objext
67377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67378 (eval $ac_compile) 2>conftest.er1
67379 ac_status=$?
67380 grep -v '^ *+' conftest.er1 >conftest.err
67381 rm -f conftest.er1
67382 cat conftest.err >&5
67383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67384 (exit $ac_status); } &&
67385 { ac_try='test -z "$ac_cxx_werror_flag"
67386 || test ! -s conftest.err'
67387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67388 (eval $ac_try) 2>&5
67389 ac_status=$?
67390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67391 (exit $ac_status); }; } &&
67392 { ac_try='test -s conftest.$ac_objext'
67393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67394 (eval $ac_try) 2>&5
67395 ac_status=$?
67396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67397 (exit $ac_status); }; }; then
67398 glibcxx_cv_func__logl_use=yes
67399 else
67400 echo "$as_me: failed program was:" >&5
67401 sed 's/^/| /' conftest.$ac_ext >&5
67403 glibcxx_cv_func__logl_use=no
67405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67406 ac_ext=c
67407 ac_cpp='$CPP $CPPFLAGS'
67408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67417 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67419 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67421 for ac_func in _logl
67423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67424 echo "$as_me:$LINENO: checking for $ac_func" >&5
67425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67426 if eval "test \"\${$as_ac_var+set}\" = set"; then
67427 echo $ECHO_N "(cached) $ECHO_C" >&6
67428 else
67429 if test x$gcc_no_link = xyes; then
67430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67432 { (exit 1); exit 1; }; }
67434 cat >conftest.$ac_ext <<_ACEOF
67435 /* confdefs.h. */
67436 _ACEOF
67437 cat confdefs.h >>conftest.$ac_ext
67438 cat >>conftest.$ac_ext <<_ACEOF
67439 /* end confdefs.h. */
67440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67442 #define $ac_func innocuous_$ac_func
67444 /* System header to define __stub macros and hopefully few prototypes,
67445 which can conflict with char $ac_func (); below.
67446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67447 <limits.h> exists even on freestanding compilers. */
67449 #ifdef __STDC__
67450 # include <limits.h>
67451 #else
67452 # include <assert.h>
67453 #endif
67455 #undef $ac_func
67457 /* Override any gcc2 internal prototype to avoid an error. */
67458 #ifdef __cplusplus
67459 extern "C"
67461 #endif
67462 /* We use char because int might match the return type of a gcc2
67463 builtin and then its argument prototype would still apply. */
67464 char $ac_func ();
67465 /* The GNU C library defines this for functions which it implements
67466 to always fail with ENOSYS. Some functions are actually named
67467 something starting with __ and the normal name is an alias. */
67468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67469 choke me
67470 #else
67471 char (*f) () = $ac_func;
67472 #endif
67473 #ifdef __cplusplus
67475 #endif
67478 main ()
67480 return f != $ac_func;
67482 return 0;
67484 _ACEOF
67485 rm -f conftest.$ac_objext conftest$ac_exeext
67486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67487 (eval $ac_link) 2>conftest.er1
67488 ac_status=$?
67489 grep -v '^ *+' conftest.er1 >conftest.err
67490 rm -f conftest.er1
67491 cat conftest.err >&5
67492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67493 (exit $ac_status); } &&
67494 { ac_try='test -z "$ac_c_werror_flag"
67495 || test ! -s conftest.err'
67496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67497 (eval $ac_try) 2>&5
67498 ac_status=$?
67499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67500 (exit $ac_status); }; } &&
67501 { ac_try='test -s conftest$ac_exeext'
67502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67503 (eval $ac_try) 2>&5
67504 ac_status=$?
67505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67506 (exit $ac_status); }; }; then
67507 eval "$as_ac_var=yes"
67508 else
67509 echo "$as_me: failed program was:" >&5
67510 sed 's/^/| /' conftest.$ac_ext >&5
67512 eval "$as_ac_var=no"
67514 rm -f conftest.err conftest.$ac_objext \
67515 conftest$ac_exeext conftest.$ac_ext
67517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67519 if test `eval echo '${'$as_ac_var'}'` = yes; then
67520 cat >>confdefs.h <<_ACEOF
67521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67522 _ACEOF
67525 done
67532 echo "$as_me:$LINENO: checking for log10l declaration" >&5
67533 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
67534 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67535 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
67536 echo $ECHO_N "(cached) $ECHO_C" >&6
67537 else
67541 ac_ext=cc
67542 ac_cpp='$CXXCPP $CPPFLAGS'
67543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67547 cat >conftest.$ac_ext <<_ACEOF
67548 /* confdefs.h. */
67549 _ACEOF
67550 cat confdefs.h >>conftest.$ac_ext
67551 cat >>conftest.$ac_ext <<_ACEOF
67552 /* end confdefs.h. */
67553 #include <math.h>
67554 #ifdef HAVE_IEEEFP_H
67555 #include <ieeefp.h>
67556 #endif
67559 main ()
67561 log10l(0);
67563 return 0;
67565 _ACEOF
67566 rm -f conftest.$ac_objext
67567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67568 (eval $ac_compile) 2>conftest.er1
67569 ac_status=$?
67570 grep -v '^ *+' conftest.er1 >conftest.err
67571 rm -f conftest.er1
67572 cat conftest.err >&5
67573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67574 (exit $ac_status); } &&
67575 { ac_try='test -z "$ac_cxx_werror_flag"
67576 || test ! -s conftest.err'
67577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67578 (eval $ac_try) 2>&5
67579 ac_status=$?
67580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67581 (exit $ac_status); }; } &&
67582 { ac_try='test -s conftest.$ac_objext'
67583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67584 (eval $ac_try) 2>&5
67585 ac_status=$?
67586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67587 (exit $ac_status); }; }; then
67588 glibcxx_cv_func_log10l_use=yes
67589 else
67590 echo "$as_me: failed program was:" >&5
67591 sed 's/^/| /' conftest.$ac_ext >&5
67593 glibcxx_cv_func_log10l_use=no
67595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67596 ac_ext=c
67597 ac_cpp='$CPP $CPPFLAGS'
67598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67606 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
67607 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
67609 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67611 for ac_func in log10l
67613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67614 echo "$as_me:$LINENO: checking for $ac_func" >&5
67615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67616 if eval "test \"\${$as_ac_var+set}\" = set"; then
67617 echo $ECHO_N "(cached) $ECHO_C" >&6
67618 else
67619 if test x$gcc_no_link = xyes; then
67620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67622 { (exit 1); exit 1; }; }
67624 cat >conftest.$ac_ext <<_ACEOF
67625 /* confdefs.h. */
67626 _ACEOF
67627 cat confdefs.h >>conftest.$ac_ext
67628 cat >>conftest.$ac_ext <<_ACEOF
67629 /* end confdefs.h. */
67630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67632 #define $ac_func innocuous_$ac_func
67634 /* System header to define __stub macros and hopefully few prototypes,
67635 which can conflict with char $ac_func (); below.
67636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67637 <limits.h> exists even on freestanding compilers. */
67639 #ifdef __STDC__
67640 # include <limits.h>
67641 #else
67642 # include <assert.h>
67643 #endif
67645 #undef $ac_func
67647 /* Override any gcc2 internal prototype to avoid an error. */
67648 #ifdef __cplusplus
67649 extern "C"
67651 #endif
67652 /* We use char because int might match the return type of a gcc2
67653 builtin and then its argument prototype would still apply. */
67654 char $ac_func ();
67655 /* The GNU C library defines this for functions which it implements
67656 to always fail with ENOSYS. Some functions are actually named
67657 something starting with __ and the normal name is an alias. */
67658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67659 choke me
67660 #else
67661 char (*f) () = $ac_func;
67662 #endif
67663 #ifdef __cplusplus
67665 #endif
67668 main ()
67670 return f != $ac_func;
67672 return 0;
67674 _ACEOF
67675 rm -f conftest.$ac_objext conftest$ac_exeext
67676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67677 (eval $ac_link) 2>conftest.er1
67678 ac_status=$?
67679 grep -v '^ *+' conftest.er1 >conftest.err
67680 rm -f conftest.er1
67681 cat conftest.err >&5
67682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67683 (exit $ac_status); } &&
67684 { ac_try='test -z "$ac_c_werror_flag"
67685 || test ! -s conftest.err'
67686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67687 (eval $ac_try) 2>&5
67688 ac_status=$?
67689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67690 (exit $ac_status); }; } &&
67691 { ac_try='test -s conftest$ac_exeext'
67692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67693 (eval $ac_try) 2>&5
67694 ac_status=$?
67695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67696 (exit $ac_status); }; }; then
67697 eval "$as_ac_var=yes"
67698 else
67699 echo "$as_me: failed program was:" >&5
67700 sed 's/^/| /' conftest.$ac_ext >&5
67702 eval "$as_ac_var=no"
67704 rm -f conftest.err conftest.$ac_objext \
67705 conftest$ac_exeext conftest.$ac_ext
67707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67709 if test `eval echo '${'$as_ac_var'}'` = yes; then
67710 cat >>confdefs.h <<_ACEOF
67711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67712 _ACEOF
67715 done
67717 else
67719 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67720 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67721 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67722 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67723 echo $ECHO_N "(cached) $ECHO_C" >&6
67724 else
67728 ac_ext=cc
67729 ac_cpp='$CXXCPP $CPPFLAGS'
67730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67734 cat >conftest.$ac_ext <<_ACEOF
67735 /* confdefs.h. */
67736 _ACEOF
67737 cat confdefs.h >>conftest.$ac_ext
67738 cat >>conftest.$ac_ext <<_ACEOF
67739 /* end confdefs.h. */
67740 #include <math.h>
67741 #ifdef HAVE_IEEEFP_H
67742 #include <ieeefp.h>
67743 #endif
67746 main ()
67748 _log10l(0);
67750 return 0;
67752 _ACEOF
67753 rm -f conftest.$ac_objext
67754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67755 (eval $ac_compile) 2>conftest.er1
67756 ac_status=$?
67757 grep -v '^ *+' conftest.er1 >conftest.err
67758 rm -f conftest.er1
67759 cat conftest.err >&5
67760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67761 (exit $ac_status); } &&
67762 { ac_try='test -z "$ac_cxx_werror_flag"
67763 || test ! -s conftest.err'
67764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67765 (eval $ac_try) 2>&5
67766 ac_status=$?
67767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67768 (exit $ac_status); }; } &&
67769 { ac_try='test -s conftest.$ac_objext'
67770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67771 (eval $ac_try) 2>&5
67772 ac_status=$?
67773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67774 (exit $ac_status); }; }; then
67775 glibcxx_cv_func__log10l_use=yes
67776 else
67777 echo "$as_me: failed program was:" >&5
67778 sed 's/^/| /' conftest.$ac_ext >&5
67780 glibcxx_cv_func__log10l_use=no
67782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67783 ac_ext=c
67784 ac_cpp='$CPP $CPPFLAGS'
67785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67793 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67794 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67796 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67798 for ac_func in _log10l
67800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67801 echo "$as_me:$LINENO: checking for $ac_func" >&5
67802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67803 if eval "test \"\${$as_ac_var+set}\" = set"; then
67804 echo $ECHO_N "(cached) $ECHO_C" >&6
67805 else
67806 if test x$gcc_no_link = xyes; then
67807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67809 { (exit 1); exit 1; }; }
67811 cat >conftest.$ac_ext <<_ACEOF
67812 /* confdefs.h. */
67813 _ACEOF
67814 cat confdefs.h >>conftest.$ac_ext
67815 cat >>conftest.$ac_ext <<_ACEOF
67816 /* end confdefs.h. */
67817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67819 #define $ac_func innocuous_$ac_func
67821 /* System header to define __stub macros and hopefully few prototypes,
67822 which can conflict with char $ac_func (); below.
67823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67824 <limits.h> exists even on freestanding compilers. */
67826 #ifdef __STDC__
67827 # include <limits.h>
67828 #else
67829 # include <assert.h>
67830 #endif
67832 #undef $ac_func
67834 /* Override any gcc2 internal prototype to avoid an error. */
67835 #ifdef __cplusplus
67836 extern "C"
67838 #endif
67839 /* We use char because int might match the return type of a gcc2
67840 builtin and then its argument prototype would still apply. */
67841 char $ac_func ();
67842 /* The GNU C library defines this for functions which it implements
67843 to always fail with ENOSYS. Some functions are actually named
67844 something starting with __ and the normal name is an alias. */
67845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67846 choke me
67847 #else
67848 char (*f) () = $ac_func;
67849 #endif
67850 #ifdef __cplusplus
67852 #endif
67855 main ()
67857 return f != $ac_func;
67859 return 0;
67861 _ACEOF
67862 rm -f conftest.$ac_objext conftest$ac_exeext
67863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67864 (eval $ac_link) 2>conftest.er1
67865 ac_status=$?
67866 grep -v '^ *+' conftest.er1 >conftest.err
67867 rm -f conftest.er1
67868 cat conftest.err >&5
67869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67870 (exit $ac_status); } &&
67871 { ac_try='test -z "$ac_c_werror_flag"
67872 || test ! -s conftest.err'
67873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67874 (eval $ac_try) 2>&5
67875 ac_status=$?
67876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67877 (exit $ac_status); }; } &&
67878 { ac_try='test -s conftest$ac_exeext'
67879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67880 (eval $ac_try) 2>&5
67881 ac_status=$?
67882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67883 (exit $ac_status); }; }; then
67884 eval "$as_ac_var=yes"
67885 else
67886 echo "$as_me: failed program was:" >&5
67887 sed 's/^/| /' conftest.$ac_ext >&5
67889 eval "$as_ac_var=no"
67891 rm -f conftest.err conftest.$ac_objext \
67892 conftest$ac_exeext conftest.$ac_ext
67894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67896 if test `eval echo '${'$as_ac_var'}'` = yes; then
67897 cat >>confdefs.h <<_ACEOF
67898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67899 _ACEOF
67902 done
67909 echo "$as_me:$LINENO: checking for modfl declaration" >&5
67910 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67911 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67912 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67913 echo $ECHO_N "(cached) $ECHO_C" >&6
67914 else
67918 ac_ext=cc
67919 ac_cpp='$CXXCPP $CPPFLAGS'
67920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67924 cat >conftest.$ac_ext <<_ACEOF
67925 /* confdefs.h. */
67926 _ACEOF
67927 cat confdefs.h >>conftest.$ac_ext
67928 cat >>conftest.$ac_ext <<_ACEOF
67929 /* end confdefs.h. */
67930 #include <math.h>
67932 main ()
67934 modfl(0, 0);
67936 return 0;
67938 _ACEOF
67939 rm -f conftest.$ac_objext
67940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67941 (eval $ac_compile) 2>conftest.er1
67942 ac_status=$?
67943 grep -v '^ *+' conftest.er1 >conftest.err
67944 rm -f conftest.er1
67945 cat conftest.err >&5
67946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67947 (exit $ac_status); } &&
67948 { ac_try='test -z "$ac_cxx_werror_flag"
67949 || test ! -s conftest.err'
67950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67951 (eval $ac_try) 2>&5
67952 ac_status=$?
67953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67954 (exit $ac_status); }; } &&
67955 { ac_try='test -s conftest.$ac_objext'
67956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67957 (eval $ac_try) 2>&5
67958 ac_status=$?
67959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67960 (exit $ac_status); }; }; then
67961 glibcxx_cv_func_modfl_use=yes
67962 else
67963 echo "$as_me: failed program was:" >&5
67964 sed 's/^/| /' conftest.$ac_ext >&5
67966 glibcxx_cv_func_modfl_use=no
67968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67969 ac_ext=c
67970 ac_cpp='$CPP $CPPFLAGS'
67971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
67980 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
67982 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67984 for ac_func in modfl
67986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67987 echo "$as_me:$LINENO: checking for $ac_func" >&5
67988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67989 if eval "test \"\${$as_ac_var+set}\" = set"; then
67990 echo $ECHO_N "(cached) $ECHO_C" >&6
67991 else
67992 if test x$gcc_no_link = xyes; then
67993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67995 { (exit 1); exit 1; }; }
67997 cat >conftest.$ac_ext <<_ACEOF
67998 /* confdefs.h. */
67999 _ACEOF
68000 cat confdefs.h >>conftest.$ac_ext
68001 cat >>conftest.$ac_ext <<_ACEOF
68002 /* end confdefs.h. */
68003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68005 #define $ac_func innocuous_$ac_func
68007 /* System header to define __stub macros and hopefully few prototypes,
68008 which can conflict with char $ac_func (); below.
68009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68010 <limits.h> exists even on freestanding compilers. */
68012 #ifdef __STDC__
68013 # include <limits.h>
68014 #else
68015 # include <assert.h>
68016 #endif
68018 #undef $ac_func
68020 /* Override any gcc2 internal prototype to avoid an error. */
68021 #ifdef __cplusplus
68022 extern "C"
68024 #endif
68025 /* We use char because int might match the return type of a gcc2
68026 builtin and then its argument prototype would still apply. */
68027 char $ac_func ();
68028 /* The GNU C library defines this for functions which it implements
68029 to always fail with ENOSYS. Some functions are actually named
68030 something starting with __ and the normal name is an alias. */
68031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68032 choke me
68033 #else
68034 char (*f) () = $ac_func;
68035 #endif
68036 #ifdef __cplusplus
68038 #endif
68041 main ()
68043 return f != $ac_func;
68045 return 0;
68047 _ACEOF
68048 rm -f conftest.$ac_objext conftest$ac_exeext
68049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68050 (eval $ac_link) 2>conftest.er1
68051 ac_status=$?
68052 grep -v '^ *+' conftest.er1 >conftest.err
68053 rm -f conftest.er1
68054 cat conftest.err >&5
68055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68056 (exit $ac_status); } &&
68057 { ac_try='test -z "$ac_c_werror_flag"
68058 || test ! -s conftest.err'
68059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68060 (eval $ac_try) 2>&5
68061 ac_status=$?
68062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68063 (exit $ac_status); }; } &&
68064 { ac_try='test -s conftest$ac_exeext'
68065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68066 (eval $ac_try) 2>&5
68067 ac_status=$?
68068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68069 (exit $ac_status); }; }; then
68070 eval "$as_ac_var=yes"
68071 else
68072 echo "$as_me: failed program was:" >&5
68073 sed 's/^/| /' conftest.$ac_ext >&5
68075 eval "$as_ac_var=no"
68077 rm -f conftest.err conftest.$ac_objext \
68078 conftest$ac_exeext conftest.$ac_ext
68080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68082 if test `eval echo '${'$as_ac_var'}'` = yes; then
68083 cat >>confdefs.h <<_ACEOF
68084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68085 _ACEOF
68088 done
68090 else
68092 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68093 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68094 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68095 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68096 echo $ECHO_N "(cached) $ECHO_C" >&6
68097 else
68101 ac_ext=cc
68102 ac_cpp='$CXXCPP $CPPFLAGS'
68103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68107 cat >conftest.$ac_ext <<_ACEOF
68108 /* confdefs.h. */
68109 _ACEOF
68110 cat confdefs.h >>conftest.$ac_ext
68111 cat >>conftest.$ac_ext <<_ACEOF
68112 /* end confdefs.h. */
68113 #include <math.h>
68115 main ()
68117 _modfl(0, 0);
68119 return 0;
68121 _ACEOF
68122 rm -f conftest.$ac_objext
68123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68124 (eval $ac_compile) 2>conftest.er1
68125 ac_status=$?
68126 grep -v '^ *+' conftest.er1 >conftest.err
68127 rm -f conftest.er1
68128 cat conftest.err >&5
68129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68130 (exit $ac_status); } &&
68131 { ac_try='test -z "$ac_cxx_werror_flag"
68132 || test ! -s conftest.err'
68133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68134 (eval $ac_try) 2>&5
68135 ac_status=$?
68136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68137 (exit $ac_status); }; } &&
68138 { ac_try='test -s conftest.$ac_objext'
68139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68140 (eval $ac_try) 2>&5
68141 ac_status=$?
68142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68143 (exit $ac_status); }; }; then
68144 glibcxx_cv_func__modfl_use=yes
68145 else
68146 echo "$as_me: failed program was:" >&5
68147 sed 's/^/| /' conftest.$ac_ext >&5
68149 glibcxx_cv_func__modfl_use=no
68151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68152 ac_ext=c
68153 ac_cpp='$CPP $CPPFLAGS'
68154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68163 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68165 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68167 for ac_func in _modfl
68169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68170 echo "$as_me:$LINENO: checking for $ac_func" >&5
68171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68172 if eval "test \"\${$as_ac_var+set}\" = set"; then
68173 echo $ECHO_N "(cached) $ECHO_C" >&6
68174 else
68175 if test x$gcc_no_link = xyes; then
68176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68178 { (exit 1); exit 1; }; }
68180 cat >conftest.$ac_ext <<_ACEOF
68181 /* confdefs.h. */
68182 _ACEOF
68183 cat confdefs.h >>conftest.$ac_ext
68184 cat >>conftest.$ac_ext <<_ACEOF
68185 /* end confdefs.h. */
68186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68188 #define $ac_func innocuous_$ac_func
68190 /* System header to define __stub macros and hopefully few prototypes,
68191 which can conflict with char $ac_func (); below.
68192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68193 <limits.h> exists even on freestanding compilers. */
68195 #ifdef __STDC__
68196 # include <limits.h>
68197 #else
68198 # include <assert.h>
68199 #endif
68201 #undef $ac_func
68203 /* Override any gcc2 internal prototype to avoid an error. */
68204 #ifdef __cplusplus
68205 extern "C"
68207 #endif
68208 /* We use char because int might match the return type of a gcc2
68209 builtin and then its argument prototype would still apply. */
68210 char $ac_func ();
68211 /* The GNU C library defines this for functions which it implements
68212 to always fail with ENOSYS. Some functions are actually named
68213 something starting with __ and the normal name is an alias. */
68214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68215 choke me
68216 #else
68217 char (*f) () = $ac_func;
68218 #endif
68219 #ifdef __cplusplus
68221 #endif
68224 main ()
68226 return f != $ac_func;
68228 return 0;
68230 _ACEOF
68231 rm -f conftest.$ac_objext conftest$ac_exeext
68232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68233 (eval $ac_link) 2>conftest.er1
68234 ac_status=$?
68235 grep -v '^ *+' conftest.er1 >conftest.err
68236 rm -f conftest.er1
68237 cat conftest.err >&5
68238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68239 (exit $ac_status); } &&
68240 { ac_try='test -z "$ac_c_werror_flag"
68241 || test ! -s conftest.err'
68242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68243 (eval $ac_try) 2>&5
68244 ac_status=$?
68245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68246 (exit $ac_status); }; } &&
68247 { ac_try='test -s conftest$ac_exeext'
68248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68249 (eval $ac_try) 2>&5
68250 ac_status=$?
68251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68252 (exit $ac_status); }; }; then
68253 eval "$as_ac_var=yes"
68254 else
68255 echo "$as_me: failed program was:" >&5
68256 sed 's/^/| /' conftest.$ac_ext >&5
68258 eval "$as_ac_var=no"
68260 rm -f conftest.err conftest.$ac_objext \
68261 conftest$ac_exeext conftest.$ac_ext
68263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68265 if test `eval echo '${'$as_ac_var'}'` = yes; then
68266 cat >>confdefs.h <<_ACEOF
68267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68268 _ACEOF
68271 done
68278 echo "$as_me:$LINENO: checking for powl declaration" >&5
68279 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68280 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68281 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68282 echo $ECHO_N "(cached) $ECHO_C" >&6
68283 else
68287 ac_ext=cc
68288 ac_cpp='$CXXCPP $CPPFLAGS'
68289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68293 cat >conftest.$ac_ext <<_ACEOF
68294 /* confdefs.h. */
68295 _ACEOF
68296 cat confdefs.h >>conftest.$ac_ext
68297 cat >>conftest.$ac_ext <<_ACEOF
68298 /* end confdefs.h. */
68299 #include <math.h>
68301 main ()
68303 powl(0, 0);
68305 return 0;
68307 _ACEOF
68308 rm -f conftest.$ac_objext
68309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68310 (eval $ac_compile) 2>conftest.er1
68311 ac_status=$?
68312 grep -v '^ *+' conftest.er1 >conftest.err
68313 rm -f conftest.er1
68314 cat conftest.err >&5
68315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68316 (exit $ac_status); } &&
68317 { ac_try='test -z "$ac_cxx_werror_flag"
68318 || test ! -s conftest.err'
68319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68320 (eval $ac_try) 2>&5
68321 ac_status=$?
68322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68323 (exit $ac_status); }; } &&
68324 { ac_try='test -s conftest.$ac_objext'
68325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68326 (eval $ac_try) 2>&5
68327 ac_status=$?
68328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68329 (exit $ac_status); }; }; then
68330 glibcxx_cv_func_powl_use=yes
68331 else
68332 echo "$as_me: failed program was:" >&5
68333 sed 's/^/| /' conftest.$ac_ext >&5
68335 glibcxx_cv_func_powl_use=no
68337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68338 ac_ext=c
68339 ac_cpp='$CPP $CPPFLAGS'
68340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68348 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68349 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68351 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68353 for ac_func in powl
68355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68356 echo "$as_me:$LINENO: checking for $ac_func" >&5
68357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68358 if eval "test \"\${$as_ac_var+set}\" = set"; then
68359 echo $ECHO_N "(cached) $ECHO_C" >&6
68360 else
68361 if test x$gcc_no_link = xyes; then
68362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68364 { (exit 1); exit 1; }; }
68366 cat >conftest.$ac_ext <<_ACEOF
68367 /* confdefs.h. */
68368 _ACEOF
68369 cat confdefs.h >>conftest.$ac_ext
68370 cat >>conftest.$ac_ext <<_ACEOF
68371 /* end confdefs.h. */
68372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68374 #define $ac_func innocuous_$ac_func
68376 /* System header to define __stub macros and hopefully few prototypes,
68377 which can conflict with char $ac_func (); below.
68378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68379 <limits.h> exists even on freestanding compilers. */
68381 #ifdef __STDC__
68382 # include <limits.h>
68383 #else
68384 # include <assert.h>
68385 #endif
68387 #undef $ac_func
68389 /* Override any gcc2 internal prototype to avoid an error. */
68390 #ifdef __cplusplus
68391 extern "C"
68393 #endif
68394 /* We use char because int might match the return type of a gcc2
68395 builtin and then its argument prototype would still apply. */
68396 char $ac_func ();
68397 /* The GNU C library defines this for functions which it implements
68398 to always fail with ENOSYS. Some functions are actually named
68399 something starting with __ and the normal name is an alias. */
68400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68401 choke me
68402 #else
68403 char (*f) () = $ac_func;
68404 #endif
68405 #ifdef __cplusplus
68407 #endif
68410 main ()
68412 return f != $ac_func;
68414 return 0;
68416 _ACEOF
68417 rm -f conftest.$ac_objext conftest$ac_exeext
68418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68419 (eval $ac_link) 2>conftest.er1
68420 ac_status=$?
68421 grep -v '^ *+' conftest.er1 >conftest.err
68422 rm -f conftest.er1
68423 cat conftest.err >&5
68424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68425 (exit $ac_status); } &&
68426 { ac_try='test -z "$ac_c_werror_flag"
68427 || test ! -s conftest.err'
68428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68429 (eval $ac_try) 2>&5
68430 ac_status=$?
68431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68432 (exit $ac_status); }; } &&
68433 { ac_try='test -s conftest$ac_exeext'
68434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68435 (eval $ac_try) 2>&5
68436 ac_status=$?
68437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68438 (exit $ac_status); }; }; then
68439 eval "$as_ac_var=yes"
68440 else
68441 echo "$as_me: failed program was:" >&5
68442 sed 's/^/| /' conftest.$ac_ext >&5
68444 eval "$as_ac_var=no"
68446 rm -f conftest.err conftest.$ac_objext \
68447 conftest$ac_exeext conftest.$ac_ext
68449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68451 if test `eval echo '${'$as_ac_var'}'` = yes; then
68452 cat >>confdefs.h <<_ACEOF
68453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68454 _ACEOF
68457 done
68459 else
68461 echo "$as_me:$LINENO: checking for _powl declaration" >&5
68462 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68463 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68464 if test "${glibcxx_cv_func__powl_use+set}" = set; then
68465 echo $ECHO_N "(cached) $ECHO_C" >&6
68466 else
68470 ac_ext=cc
68471 ac_cpp='$CXXCPP $CPPFLAGS'
68472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68476 cat >conftest.$ac_ext <<_ACEOF
68477 /* confdefs.h. */
68478 _ACEOF
68479 cat confdefs.h >>conftest.$ac_ext
68480 cat >>conftest.$ac_ext <<_ACEOF
68481 /* end confdefs.h. */
68482 #include <math.h>
68484 main ()
68486 _powl(0, 0);
68488 return 0;
68490 _ACEOF
68491 rm -f conftest.$ac_objext
68492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68493 (eval $ac_compile) 2>conftest.er1
68494 ac_status=$?
68495 grep -v '^ *+' conftest.er1 >conftest.err
68496 rm -f conftest.er1
68497 cat conftest.err >&5
68498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68499 (exit $ac_status); } &&
68500 { ac_try='test -z "$ac_cxx_werror_flag"
68501 || test ! -s conftest.err'
68502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68503 (eval $ac_try) 2>&5
68504 ac_status=$?
68505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68506 (exit $ac_status); }; } &&
68507 { ac_try='test -s conftest.$ac_objext'
68508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68509 (eval $ac_try) 2>&5
68510 ac_status=$?
68511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68512 (exit $ac_status); }; }; then
68513 glibcxx_cv_func__powl_use=yes
68514 else
68515 echo "$as_me: failed program was:" >&5
68516 sed 's/^/| /' conftest.$ac_ext >&5
68518 glibcxx_cv_func__powl_use=no
68520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68521 ac_ext=c
68522 ac_cpp='$CPP $CPPFLAGS'
68523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68531 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
68532 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
68534 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68536 for ac_func in _powl
68538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68539 echo "$as_me:$LINENO: checking for $ac_func" >&5
68540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68541 if eval "test \"\${$as_ac_var+set}\" = set"; then
68542 echo $ECHO_N "(cached) $ECHO_C" >&6
68543 else
68544 if test x$gcc_no_link = xyes; then
68545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68547 { (exit 1); exit 1; }; }
68549 cat >conftest.$ac_ext <<_ACEOF
68550 /* confdefs.h. */
68551 _ACEOF
68552 cat confdefs.h >>conftest.$ac_ext
68553 cat >>conftest.$ac_ext <<_ACEOF
68554 /* end confdefs.h. */
68555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68557 #define $ac_func innocuous_$ac_func
68559 /* System header to define __stub macros and hopefully few prototypes,
68560 which can conflict with char $ac_func (); below.
68561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68562 <limits.h> exists even on freestanding compilers. */
68564 #ifdef __STDC__
68565 # include <limits.h>
68566 #else
68567 # include <assert.h>
68568 #endif
68570 #undef $ac_func
68572 /* Override any gcc2 internal prototype to avoid an error. */
68573 #ifdef __cplusplus
68574 extern "C"
68576 #endif
68577 /* We use char because int might match the return type of a gcc2
68578 builtin and then its argument prototype would still apply. */
68579 char $ac_func ();
68580 /* The GNU C library defines this for functions which it implements
68581 to always fail with ENOSYS. Some functions are actually named
68582 something starting with __ and the normal name is an alias. */
68583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68584 choke me
68585 #else
68586 char (*f) () = $ac_func;
68587 #endif
68588 #ifdef __cplusplus
68590 #endif
68593 main ()
68595 return f != $ac_func;
68597 return 0;
68599 _ACEOF
68600 rm -f conftest.$ac_objext conftest$ac_exeext
68601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68602 (eval $ac_link) 2>conftest.er1
68603 ac_status=$?
68604 grep -v '^ *+' conftest.er1 >conftest.err
68605 rm -f conftest.er1
68606 cat conftest.err >&5
68607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68608 (exit $ac_status); } &&
68609 { ac_try='test -z "$ac_c_werror_flag"
68610 || test ! -s conftest.err'
68611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68612 (eval $ac_try) 2>&5
68613 ac_status=$?
68614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68615 (exit $ac_status); }; } &&
68616 { ac_try='test -s conftest$ac_exeext'
68617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68618 (eval $ac_try) 2>&5
68619 ac_status=$?
68620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68621 (exit $ac_status); }; }; then
68622 eval "$as_ac_var=yes"
68623 else
68624 echo "$as_me: failed program was:" >&5
68625 sed 's/^/| /' conftest.$ac_ext >&5
68627 eval "$as_ac_var=no"
68629 rm -f conftest.err conftest.$ac_objext \
68630 conftest$ac_exeext conftest.$ac_ext
68632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68634 if test `eval echo '${'$as_ac_var'}'` = yes; then
68635 cat >>confdefs.h <<_ACEOF
68636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68637 _ACEOF
68640 done
68647 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
68648 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
68649 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68650 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
68651 echo $ECHO_N "(cached) $ECHO_C" >&6
68652 else
68656 ac_ext=cc
68657 ac_cpp='$CXXCPP $CPPFLAGS'
68658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68662 cat >conftest.$ac_ext <<_ACEOF
68663 /* confdefs.h. */
68664 _ACEOF
68665 cat confdefs.h >>conftest.$ac_ext
68666 cat >>conftest.$ac_ext <<_ACEOF
68667 /* end confdefs.h. */
68668 #include <math.h>
68669 #ifdef HAVE_IEEEFP_H
68670 #include <ieeefp.h>
68671 #endif
68674 main ()
68676 sqrtl(0);
68678 return 0;
68680 _ACEOF
68681 rm -f conftest.$ac_objext
68682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68683 (eval $ac_compile) 2>conftest.er1
68684 ac_status=$?
68685 grep -v '^ *+' conftest.er1 >conftest.err
68686 rm -f conftest.er1
68687 cat conftest.err >&5
68688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68689 (exit $ac_status); } &&
68690 { ac_try='test -z "$ac_cxx_werror_flag"
68691 || test ! -s conftest.err'
68692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68693 (eval $ac_try) 2>&5
68694 ac_status=$?
68695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68696 (exit $ac_status); }; } &&
68697 { ac_try='test -s conftest.$ac_objext'
68698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68699 (eval $ac_try) 2>&5
68700 ac_status=$?
68701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68702 (exit $ac_status); }; }; then
68703 glibcxx_cv_func_sqrtl_use=yes
68704 else
68705 echo "$as_me: failed program was:" >&5
68706 sed 's/^/| /' conftest.$ac_ext >&5
68708 glibcxx_cv_func_sqrtl_use=no
68710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68711 ac_ext=c
68712 ac_cpp='$CPP $CPPFLAGS'
68713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68721 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68722 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68724 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68726 for ac_func in sqrtl
68728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68729 echo "$as_me:$LINENO: checking for $ac_func" >&5
68730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68731 if eval "test \"\${$as_ac_var+set}\" = set"; then
68732 echo $ECHO_N "(cached) $ECHO_C" >&6
68733 else
68734 if test x$gcc_no_link = xyes; then
68735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68737 { (exit 1); exit 1; }; }
68739 cat >conftest.$ac_ext <<_ACEOF
68740 /* confdefs.h. */
68741 _ACEOF
68742 cat confdefs.h >>conftest.$ac_ext
68743 cat >>conftest.$ac_ext <<_ACEOF
68744 /* end confdefs.h. */
68745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68747 #define $ac_func innocuous_$ac_func
68749 /* System header to define __stub macros and hopefully few prototypes,
68750 which can conflict with char $ac_func (); below.
68751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68752 <limits.h> exists even on freestanding compilers. */
68754 #ifdef __STDC__
68755 # include <limits.h>
68756 #else
68757 # include <assert.h>
68758 #endif
68760 #undef $ac_func
68762 /* Override any gcc2 internal prototype to avoid an error. */
68763 #ifdef __cplusplus
68764 extern "C"
68766 #endif
68767 /* We use char because int might match the return type of a gcc2
68768 builtin and then its argument prototype would still apply. */
68769 char $ac_func ();
68770 /* The GNU C library defines this for functions which it implements
68771 to always fail with ENOSYS. Some functions are actually named
68772 something starting with __ and the normal name is an alias. */
68773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68774 choke me
68775 #else
68776 char (*f) () = $ac_func;
68777 #endif
68778 #ifdef __cplusplus
68780 #endif
68783 main ()
68785 return f != $ac_func;
68787 return 0;
68789 _ACEOF
68790 rm -f conftest.$ac_objext conftest$ac_exeext
68791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68792 (eval $ac_link) 2>conftest.er1
68793 ac_status=$?
68794 grep -v '^ *+' conftest.er1 >conftest.err
68795 rm -f conftest.er1
68796 cat conftest.err >&5
68797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68798 (exit $ac_status); } &&
68799 { ac_try='test -z "$ac_c_werror_flag"
68800 || test ! -s conftest.err'
68801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68802 (eval $ac_try) 2>&5
68803 ac_status=$?
68804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68805 (exit $ac_status); }; } &&
68806 { ac_try='test -s conftest$ac_exeext'
68807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68808 (eval $ac_try) 2>&5
68809 ac_status=$?
68810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68811 (exit $ac_status); }; }; then
68812 eval "$as_ac_var=yes"
68813 else
68814 echo "$as_me: failed program was:" >&5
68815 sed 's/^/| /' conftest.$ac_ext >&5
68817 eval "$as_ac_var=no"
68819 rm -f conftest.err conftest.$ac_objext \
68820 conftest$ac_exeext conftest.$ac_ext
68822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68824 if test `eval echo '${'$as_ac_var'}'` = yes; then
68825 cat >>confdefs.h <<_ACEOF
68826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68827 _ACEOF
68830 done
68832 else
68834 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68835 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68836 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68837 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68838 echo $ECHO_N "(cached) $ECHO_C" >&6
68839 else
68843 ac_ext=cc
68844 ac_cpp='$CXXCPP $CPPFLAGS'
68845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68849 cat >conftest.$ac_ext <<_ACEOF
68850 /* confdefs.h. */
68851 _ACEOF
68852 cat confdefs.h >>conftest.$ac_ext
68853 cat >>conftest.$ac_ext <<_ACEOF
68854 /* end confdefs.h. */
68855 #include <math.h>
68856 #ifdef HAVE_IEEEFP_H
68857 #include <ieeefp.h>
68858 #endif
68861 main ()
68863 _sqrtl(0);
68865 return 0;
68867 _ACEOF
68868 rm -f conftest.$ac_objext
68869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68870 (eval $ac_compile) 2>conftest.er1
68871 ac_status=$?
68872 grep -v '^ *+' conftest.er1 >conftest.err
68873 rm -f conftest.er1
68874 cat conftest.err >&5
68875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68876 (exit $ac_status); } &&
68877 { ac_try='test -z "$ac_cxx_werror_flag"
68878 || test ! -s conftest.err'
68879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68880 (eval $ac_try) 2>&5
68881 ac_status=$?
68882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68883 (exit $ac_status); }; } &&
68884 { ac_try='test -s conftest.$ac_objext'
68885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68886 (eval $ac_try) 2>&5
68887 ac_status=$?
68888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68889 (exit $ac_status); }; }; then
68890 glibcxx_cv_func__sqrtl_use=yes
68891 else
68892 echo "$as_me: failed program was:" >&5
68893 sed 's/^/| /' conftest.$ac_ext >&5
68895 glibcxx_cv_func__sqrtl_use=no
68897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68898 ac_ext=c
68899 ac_cpp='$CPP $CPPFLAGS'
68900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68909 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68911 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68913 for ac_func in _sqrtl
68915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68916 echo "$as_me:$LINENO: checking for $ac_func" >&5
68917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68918 if eval "test \"\${$as_ac_var+set}\" = set"; then
68919 echo $ECHO_N "(cached) $ECHO_C" >&6
68920 else
68921 if test x$gcc_no_link = xyes; then
68922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68924 { (exit 1); exit 1; }; }
68926 cat >conftest.$ac_ext <<_ACEOF
68927 /* confdefs.h. */
68928 _ACEOF
68929 cat confdefs.h >>conftest.$ac_ext
68930 cat >>conftest.$ac_ext <<_ACEOF
68931 /* end confdefs.h. */
68932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68934 #define $ac_func innocuous_$ac_func
68936 /* System header to define __stub macros and hopefully few prototypes,
68937 which can conflict with char $ac_func (); below.
68938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68939 <limits.h> exists even on freestanding compilers. */
68941 #ifdef __STDC__
68942 # include <limits.h>
68943 #else
68944 # include <assert.h>
68945 #endif
68947 #undef $ac_func
68949 /* Override any gcc2 internal prototype to avoid an error. */
68950 #ifdef __cplusplus
68951 extern "C"
68953 #endif
68954 /* We use char because int might match the return type of a gcc2
68955 builtin and then its argument prototype would still apply. */
68956 char $ac_func ();
68957 /* The GNU C library defines this for functions which it implements
68958 to always fail with ENOSYS. Some functions are actually named
68959 something starting with __ and the normal name is an alias. */
68960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68961 choke me
68962 #else
68963 char (*f) () = $ac_func;
68964 #endif
68965 #ifdef __cplusplus
68967 #endif
68970 main ()
68972 return f != $ac_func;
68974 return 0;
68976 _ACEOF
68977 rm -f conftest.$ac_objext conftest$ac_exeext
68978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68979 (eval $ac_link) 2>conftest.er1
68980 ac_status=$?
68981 grep -v '^ *+' conftest.er1 >conftest.err
68982 rm -f conftest.er1
68983 cat conftest.err >&5
68984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68985 (exit $ac_status); } &&
68986 { ac_try='test -z "$ac_c_werror_flag"
68987 || test ! -s conftest.err'
68988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68989 (eval $ac_try) 2>&5
68990 ac_status=$?
68991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68992 (exit $ac_status); }; } &&
68993 { ac_try='test -s conftest$ac_exeext'
68994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68995 (eval $ac_try) 2>&5
68996 ac_status=$?
68997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68998 (exit $ac_status); }; }; then
68999 eval "$as_ac_var=yes"
69000 else
69001 echo "$as_me: failed program was:" >&5
69002 sed 's/^/| /' conftest.$ac_ext >&5
69004 eval "$as_ac_var=no"
69006 rm -f conftest.err conftest.$ac_objext \
69007 conftest$ac_exeext conftest.$ac_ext
69009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69011 if test `eval echo '${'$as_ac_var'}'` = yes; then
69012 cat >>confdefs.h <<_ACEOF
69013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69014 _ACEOF
69017 done
69024 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69025 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69026 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69027 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69028 echo $ECHO_N "(cached) $ECHO_C" >&6
69029 else
69033 ac_ext=cc
69034 ac_cpp='$CXXCPP $CPPFLAGS'
69035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69039 cat >conftest.$ac_ext <<_ACEOF
69040 /* confdefs.h. */
69041 _ACEOF
69042 cat confdefs.h >>conftest.$ac_ext
69043 cat >>conftest.$ac_ext <<_ACEOF
69044 /* end confdefs.h. */
69045 #include <math.h>
69047 main ()
69049 sincosl(0, 0, 0);
69051 return 0;
69053 _ACEOF
69054 rm -f conftest.$ac_objext
69055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69056 (eval $ac_compile) 2>conftest.er1
69057 ac_status=$?
69058 grep -v '^ *+' conftest.er1 >conftest.err
69059 rm -f conftest.er1
69060 cat conftest.err >&5
69061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69062 (exit $ac_status); } &&
69063 { ac_try='test -z "$ac_cxx_werror_flag"
69064 || test ! -s conftest.err'
69065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69066 (eval $ac_try) 2>&5
69067 ac_status=$?
69068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69069 (exit $ac_status); }; } &&
69070 { ac_try='test -s conftest.$ac_objext'
69071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69072 (eval $ac_try) 2>&5
69073 ac_status=$?
69074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69075 (exit $ac_status); }; }; then
69076 glibcxx_cv_func_sincosl_use=yes
69077 else
69078 echo "$as_me: failed program was:" >&5
69079 sed 's/^/| /' conftest.$ac_ext >&5
69081 glibcxx_cv_func_sincosl_use=no
69083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69084 ac_ext=c
69085 ac_cpp='$CPP $CPPFLAGS'
69086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69095 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69097 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69099 for ac_func in sincosl
69101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69102 echo "$as_me:$LINENO: checking for $ac_func" >&5
69103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69104 if eval "test \"\${$as_ac_var+set}\" = set"; then
69105 echo $ECHO_N "(cached) $ECHO_C" >&6
69106 else
69107 if test x$gcc_no_link = xyes; then
69108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69110 { (exit 1); exit 1; }; }
69112 cat >conftest.$ac_ext <<_ACEOF
69113 /* confdefs.h. */
69114 _ACEOF
69115 cat confdefs.h >>conftest.$ac_ext
69116 cat >>conftest.$ac_ext <<_ACEOF
69117 /* end confdefs.h. */
69118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69120 #define $ac_func innocuous_$ac_func
69122 /* System header to define __stub macros and hopefully few prototypes,
69123 which can conflict with char $ac_func (); below.
69124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69125 <limits.h> exists even on freestanding compilers. */
69127 #ifdef __STDC__
69128 # include <limits.h>
69129 #else
69130 # include <assert.h>
69131 #endif
69133 #undef $ac_func
69135 /* Override any gcc2 internal prototype to avoid an error. */
69136 #ifdef __cplusplus
69137 extern "C"
69139 #endif
69140 /* We use char because int might match the return type of a gcc2
69141 builtin and then its argument prototype would still apply. */
69142 char $ac_func ();
69143 /* The GNU C library defines this for functions which it implements
69144 to always fail with ENOSYS. Some functions are actually named
69145 something starting with __ and the normal name is an alias. */
69146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69147 choke me
69148 #else
69149 char (*f) () = $ac_func;
69150 #endif
69151 #ifdef __cplusplus
69153 #endif
69156 main ()
69158 return f != $ac_func;
69160 return 0;
69162 _ACEOF
69163 rm -f conftest.$ac_objext conftest$ac_exeext
69164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69165 (eval $ac_link) 2>conftest.er1
69166 ac_status=$?
69167 grep -v '^ *+' conftest.er1 >conftest.err
69168 rm -f conftest.er1
69169 cat conftest.err >&5
69170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69171 (exit $ac_status); } &&
69172 { ac_try='test -z "$ac_c_werror_flag"
69173 || test ! -s conftest.err'
69174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69175 (eval $ac_try) 2>&5
69176 ac_status=$?
69177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69178 (exit $ac_status); }; } &&
69179 { ac_try='test -s conftest$ac_exeext'
69180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69181 (eval $ac_try) 2>&5
69182 ac_status=$?
69183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69184 (exit $ac_status); }; }; then
69185 eval "$as_ac_var=yes"
69186 else
69187 echo "$as_me: failed program was:" >&5
69188 sed 's/^/| /' conftest.$ac_ext >&5
69190 eval "$as_ac_var=no"
69192 rm -f conftest.err conftest.$ac_objext \
69193 conftest$ac_exeext conftest.$ac_ext
69195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69197 if test `eval echo '${'$as_ac_var'}'` = yes; then
69198 cat >>confdefs.h <<_ACEOF
69199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69200 _ACEOF
69203 done
69205 else
69207 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69208 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69209 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69210 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69211 echo $ECHO_N "(cached) $ECHO_C" >&6
69212 else
69216 ac_ext=cc
69217 ac_cpp='$CXXCPP $CPPFLAGS'
69218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69222 cat >conftest.$ac_ext <<_ACEOF
69223 /* confdefs.h. */
69224 _ACEOF
69225 cat confdefs.h >>conftest.$ac_ext
69226 cat >>conftest.$ac_ext <<_ACEOF
69227 /* end confdefs.h. */
69228 #include <math.h>
69230 main ()
69232 _sincosl(0, 0, 0);
69234 return 0;
69236 _ACEOF
69237 rm -f conftest.$ac_objext
69238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69239 (eval $ac_compile) 2>conftest.er1
69240 ac_status=$?
69241 grep -v '^ *+' conftest.er1 >conftest.err
69242 rm -f conftest.er1
69243 cat conftest.err >&5
69244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69245 (exit $ac_status); } &&
69246 { ac_try='test -z "$ac_cxx_werror_flag"
69247 || test ! -s conftest.err'
69248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69249 (eval $ac_try) 2>&5
69250 ac_status=$?
69251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69252 (exit $ac_status); }; } &&
69253 { ac_try='test -s conftest.$ac_objext'
69254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69255 (eval $ac_try) 2>&5
69256 ac_status=$?
69257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69258 (exit $ac_status); }; }; then
69259 glibcxx_cv_func__sincosl_use=yes
69260 else
69261 echo "$as_me: failed program was:" >&5
69262 sed 's/^/| /' conftest.$ac_ext >&5
69264 glibcxx_cv_func__sincosl_use=no
69266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69267 ac_ext=c
69268 ac_cpp='$CPP $CPPFLAGS'
69269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69277 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69278 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69280 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69282 for ac_func in _sincosl
69284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69285 echo "$as_me:$LINENO: checking for $ac_func" >&5
69286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69287 if eval "test \"\${$as_ac_var+set}\" = set"; then
69288 echo $ECHO_N "(cached) $ECHO_C" >&6
69289 else
69290 if test x$gcc_no_link = xyes; then
69291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69293 { (exit 1); exit 1; }; }
69295 cat >conftest.$ac_ext <<_ACEOF
69296 /* confdefs.h. */
69297 _ACEOF
69298 cat confdefs.h >>conftest.$ac_ext
69299 cat >>conftest.$ac_ext <<_ACEOF
69300 /* end confdefs.h. */
69301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69303 #define $ac_func innocuous_$ac_func
69305 /* System header to define __stub macros and hopefully few prototypes,
69306 which can conflict with char $ac_func (); below.
69307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69308 <limits.h> exists even on freestanding compilers. */
69310 #ifdef __STDC__
69311 # include <limits.h>
69312 #else
69313 # include <assert.h>
69314 #endif
69316 #undef $ac_func
69318 /* Override any gcc2 internal prototype to avoid an error. */
69319 #ifdef __cplusplus
69320 extern "C"
69322 #endif
69323 /* We use char because int might match the return type of a gcc2
69324 builtin and then its argument prototype would still apply. */
69325 char $ac_func ();
69326 /* The GNU C library defines this for functions which it implements
69327 to always fail with ENOSYS. Some functions are actually named
69328 something starting with __ and the normal name is an alias. */
69329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69330 choke me
69331 #else
69332 char (*f) () = $ac_func;
69333 #endif
69334 #ifdef __cplusplus
69336 #endif
69339 main ()
69341 return f != $ac_func;
69343 return 0;
69345 _ACEOF
69346 rm -f conftest.$ac_objext conftest$ac_exeext
69347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69348 (eval $ac_link) 2>conftest.er1
69349 ac_status=$?
69350 grep -v '^ *+' conftest.er1 >conftest.err
69351 rm -f conftest.er1
69352 cat conftest.err >&5
69353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69354 (exit $ac_status); } &&
69355 { ac_try='test -z "$ac_c_werror_flag"
69356 || test ! -s conftest.err'
69357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69358 (eval $ac_try) 2>&5
69359 ac_status=$?
69360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69361 (exit $ac_status); }; } &&
69362 { ac_try='test -s conftest$ac_exeext'
69363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69364 (eval $ac_try) 2>&5
69365 ac_status=$?
69366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69367 (exit $ac_status); }; }; then
69368 eval "$as_ac_var=yes"
69369 else
69370 echo "$as_me: failed program was:" >&5
69371 sed 's/^/| /' conftest.$ac_ext >&5
69373 eval "$as_ac_var=no"
69375 rm -f conftest.err conftest.$ac_objext \
69376 conftest$ac_exeext conftest.$ac_ext
69378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69380 if test `eval echo '${'$as_ac_var'}'` = yes; then
69381 cat >>confdefs.h <<_ACEOF
69382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69383 _ACEOF
69386 done
69393 echo "$as_me:$LINENO: checking for finitel declaration" >&5
69394 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69395 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69396 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69397 echo $ECHO_N "(cached) $ECHO_C" >&6
69398 else
69402 ac_ext=cc
69403 ac_cpp='$CXXCPP $CPPFLAGS'
69404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69408 cat >conftest.$ac_ext <<_ACEOF
69409 /* confdefs.h. */
69410 _ACEOF
69411 cat confdefs.h >>conftest.$ac_ext
69412 cat >>conftest.$ac_ext <<_ACEOF
69413 /* end confdefs.h. */
69414 #include <math.h>
69415 #ifdef HAVE_IEEEFP_H
69416 #include <ieeefp.h>
69417 #endif
69420 main ()
69422 finitel(0);
69424 return 0;
69426 _ACEOF
69427 rm -f conftest.$ac_objext
69428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69429 (eval $ac_compile) 2>conftest.er1
69430 ac_status=$?
69431 grep -v '^ *+' conftest.er1 >conftest.err
69432 rm -f conftest.er1
69433 cat conftest.err >&5
69434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69435 (exit $ac_status); } &&
69436 { ac_try='test -z "$ac_cxx_werror_flag"
69437 || test ! -s conftest.err'
69438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69439 (eval $ac_try) 2>&5
69440 ac_status=$?
69441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69442 (exit $ac_status); }; } &&
69443 { ac_try='test -s conftest.$ac_objext'
69444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69445 (eval $ac_try) 2>&5
69446 ac_status=$?
69447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69448 (exit $ac_status); }; }; then
69449 glibcxx_cv_func_finitel_use=yes
69450 else
69451 echo "$as_me: failed program was:" >&5
69452 sed 's/^/| /' conftest.$ac_ext >&5
69454 glibcxx_cv_func_finitel_use=no
69456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69457 ac_ext=c
69458 ac_cpp='$CPP $CPPFLAGS'
69459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
69468 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
69470 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69472 for ac_func in finitel
69474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69475 echo "$as_me:$LINENO: checking for $ac_func" >&5
69476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69477 if eval "test \"\${$as_ac_var+set}\" = set"; then
69478 echo $ECHO_N "(cached) $ECHO_C" >&6
69479 else
69480 if test x$gcc_no_link = xyes; then
69481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69483 { (exit 1); exit 1; }; }
69485 cat >conftest.$ac_ext <<_ACEOF
69486 /* confdefs.h. */
69487 _ACEOF
69488 cat confdefs.h >>conftest.$ac_ext
69489 cat >>conftest.$ac_ext <<_ACEOF
69490 /* end confdefs.h. */
69491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69493 #define $ac_func innocuous_$ac_func
69495 /* System header to define __stub macros and hopefully few prototypes,
69496 which can conflict with char $ac_func (); below.
69497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69498 <limits.h> exists even on freestanding compilers. */
69500 #ifdef __STDC__
69501 # include <limits.h>
69502 #else
69503 # include <assert.h>
69504 #endif
69506 #undef $ac_func
69508 /* Override any gcc2 internal prototype to avoid an error. */
69509 #ifdef __cplusplus
69510 extern "C"
69512 #endif
69513 /* We use char because int might match the return type of a gcc2
69514 builtin and then its argument prototype would still apply. */
69515 char $ac_func ();
69516 /* The GNU C library defines this for functions which it implements
69517 to always fail with ENOSYS. Some functions are actually named
69518 something starting with __ and the normal name is an alias. */
69519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69520 choke me
69521 #else
69522 char (*f) () = $ac_func;
69523 #endif
69524 #ifdef __cplusplus
69526 #endif
69529 main ()
69531 return f != $ac_func;
69533 return 0;
69535 _ACEOF
69536 rm -f conftest.$ac_objext conftest$ac_exeext
69537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69538 (eval $ac_link) 2>conftest.er1
69539 ac_status=$?
69540 grep -v '^ *+' conftest.er1 >conftest.err
69541 rm -f conftest.er1
69542 cat conftest.err >&5
69543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69544 (exit $ac_status); } &&
69545 { ac_try='test -z "$ac_c_werror_flag"
69546 || test ! -s conftest.err'
69547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69548 (eval $ac_try) 2>&5
69549 ac_status=$?
69550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69551 (exit $ac_status); }; } &&
69552 { ac_try='test -s conftest$ac_exeext'
69553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69554 (eval $ac_try) 2>&5
69555 ac_status=$?
69556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69557 (exit $ac_status); }; }; then
69558 eval "$as_ac_var=yes"
69559 else
69560 echo "$as_me: failed program was:" >&5
69561 sed 's/^/| /' conftest.$ac_ext >&5
69563 eval "$as_ac_var=no"
69565 rm -f conftest.err conftest.$ac_objext \
69566 conftest$ac_exeext conftest.$ac_ext
69568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69570 if test `eval echo '${'$as_ac_var'}'` = yes; then
69571 cat >>confdefs.h <<_ACEOF
69572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69573 _ACEOF
69576 done
69578 else
69580 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
69581 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
69582 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69583 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
69584 echo $ECHO_N "(cached) $ECHO_C" >&6
69585 else
69589 ac_ext=cc
69590 ac_cpp='$CXXCPP $CPPFLAGS'
69591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69595 cat >conftest.$ac_ext <<_ACEOF
69596 /* confdefs.h. */
69597 _ACEOF
69598 cat confdefs.h >>conftest.$ac_ext
69599 cat >>conftest.$ac_ext <<_ACEOF
69600 /* end confdefs.h. */
69601 #include <math.h>
69602 #ifdef HAVE_IEEEFP_H
69603 #include <ieeefp.h>
69604 #endif
69607 main ()
69609 _finitel(0);
69611 return 0;
69613 _ACEOF
69614 rm -f conftest.$ac_objext
69615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69616 (eval $ac_compile) 2>conftest.er1
69617 ac_status=$?
69618 grep -v '^ *+' conftest.er1 >conftest.err
69619 rm -f conftest.er1
69620 cat conftest.err >&5
69621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69622 (exit $ac_status); } &&
69623 { ac_try='test -z "$ac_cxx_werror_flag"
69624 || test ! -s conftest.err'
69625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69626 (eval $ac_try) 2>&5
69627 ac_status=$?
69628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69629 (exit $ac_status); }; } &&
69630 { ac_try='test -s conftest.$ac_objext'
69631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69632 (eval $ac_try) 2>&5
69633 ac_status=$?
69634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69635 (exit $ac_status); }; }; then
69636 glibcxx_cv_func__finitel_use=yes
69637 else
69638 echo "$as_me: failed program was:" >&5
69639 sed 's/^/| /' conftest.$ac_ext >&5
69641 glibcxx_cv_func__finitel_use=no
69643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69644 ac_ext=c
69645 ac_cpp='$CPP $CPPFLAGS'
69646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69654 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
69655 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
69657 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69659 for ac_func in _finitel
69661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69662 echo "$as_me:$LINENO: checking for $ac_func" >&5
69663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69664 if eval "test \"\${$as_ac_var+set}\" = set"; then
69665 echo $ECHO_N "(cached) $ECHO_C" >&6
69666 else
69667 if test x$gcc_no_link = xyes; then
69668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69670 { (exit 1); exit 1; }; }
69672 cat >conftest.$ac_ext <<_ACEOF
69673 /* confdefs.h. */
69674 _ACEOF
69675 cat confdefs.h >>conftest.$ac_ext
69676 cat >>conftest.$ac_ext <<_ACEOF
69677 /* end confdefs.h. */
69678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69680 #define $ac_func innocuous_$ac_func
69682 /* System header to define __stub macros and hopefully few prototypes,
69683 which can conflict with char $ac_func (); below.
69684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69685 <limits.h> exists even on freestanding compilers. */
69687 #ifdef __STDC__
69688 # include <limits.h>
69689 #else
69690 # include <assert.h>
69691 #endif
69693 #undef $ac_func
69695 /* Override any gcc2 internal prototype to avoid an error. */
69696 #ifdef __cplusplus
69697 extern "C"
69699 #endif
69700 /* We use char because int might match the return type of a gcc2
69701 builtin and then its argument prototype would still apply. */
69702 char $ac_func ();
69703 /* The GNU C library defines this for functions which it implements
69704 to always fail with ENOSYS. Some functions are actually named
69705 something starting with __ and the normal name is an alias. */
69706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69707 choke me
69708 #else
69709 char (*f) () = $ac_func;
69710 #endif
69711 #ifdef __cplusplus
69713 #endif
69716 main ()
69718 return f != $ac_func;
69720 return 0;
69722 _ACEOF
69723 rm -f conftest.$ac_objext conftest$ac_exeext
69724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69725 (eval $ac_link) 2>conftest.er1
69726 ac_status=$?
69727 grep -v '^ *+' conftest.er1 >conftest.err
69728 rm -f conftest.er1
69729 cat conftest.err >&5
69730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69731 (exit $ac_status); } &&
69732 { ac_try='test -z "$ac_c_werror_flag"
69733 || test ! -s conftest.err'
69734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69735 (eval $ac_try) 2>&5
69736 ac_status=$?
69737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69738 (exit $ac_status); }; } &&
69739 { ac_try='test -s conftest$ac_exeext'
69740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69741 (eval $ac_try) 2>&5
69742 ac_status=$?
69743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69744 (exit $ac_status); }; }; then
69745 eval "$as_ac_var=yes"
69746 else
69747 echo "$as_me: failed program was:" >&5
69748 sed 's/^/| /' conftest.$ac_ext >&5
69750 eval "$as_ac_var=no"
69752 rm -f conftest.err conftest.$ac_objext \
69753 conftest$ac_exeext conftest.$ac_ext
69755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69757 if test `eval echo '${'$as_ac_var'}'` = yes; then
69758 cat >>confdefs.h <<_ACEOF
69759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69760 _ACEOF
69763 done
69771 echo "$as_me:$LINENO: checking for _float trig functions" >&5
69772 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69773 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69774 echo $ECHO_N "(cached) $ECHO_C" >&6
69775 else
69779 ac_ext=cc
69780 ac_cpp='$CXXCPP $CPPFLAGS'
69781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69785 cat >conftest.$ac_ext <<_ACEOF
69786 /* confdefs.h. */
69787 _ACEOF
69788 cat confdefs.h >>conftest.$ac_ext
69789 cat >>conftest.$ac_ext <<_ACEOF
69790 /* end confdefs.h. */
69791 #include <math.h>
69793 main ()
69795 `for x in _acosf _asinf _atanf \
69796 _cosf _sinf _tanf \
69797 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69799 return 0;
69801 _ACEOF
69802 rm -f conftest.$ac_objext
69803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69804 (eval $ac_compile) 2>conftest.er1
69805 ac_status=$?
69806 grep -v '^ *+' conftest.er1 >conftest.err
69807 rm -f conftest.er1
69808 cat conftest.err >&5
69809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69810 (exit $ac_status); } &&
69811 { ac_try='test -z "$ac_cxx_werror_flag"
69812 || test ! -s conftest.err'
69813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69814 (eval $ac_try) 2>&5
69815 ac_status=$?
69816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69817 (exit $ac_status); }; } &&
69818 { ac_try='test -s conftest.$ac_objext'
69819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69820 (eval $ac_try) 2>&5
69821 ac_status=$?
69822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69823 (exit $ac_status); }; }; then
69824 glibcxx_cv_func__float_trig_use=yes
69825 else
69826 echo "$as_me: failed program was:" >&5
69827 sed 's/^/| /' conftest.$ac_ext >&5
69829 glibcxx_cv_func__float_trig_use=no
69831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69832 ac_ext=c
69833 ac_cpp='$CPP $CPPFLAGS'
69834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69840 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69841 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69842 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69852 for ac_func in _acosf _asinf _atanf \
69853 _cosf _sinf _tanf \
69854 _coshf _sinhf _tanhf
69856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69857 echo "$as_me:$LINENO: checking for $ac_func" >&5
69858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69859 if eval "test \"\${$as_ac_var+set}\" = set"; then
69860 echo $ECHO_N "(cached) $ECHO_C" >&6
69861 else
69862 if test x$gcc_no_link = xyes; then
69863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69865 { (exit 1); exit 1; }; }
69867 cat >conftest.$ac_ext <<_ACEOF
69868 /* confdefs.h. */
69869 _ACEOF
69870 cat confdefs.h >>conftest.$ac_ext
69871 cat >>conftest.$ac_ext <<_ACEOF
69872 /* end confdefs.h. */
69873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69875 #define $ac_func innocuous_$ac_func
69877 /* System header to define __stub macros and hopefully few prototypes,
69878 which can conflict with char $ac_func (); below.
69879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69880 <limits.h> exists even on freestanding compilers. */
69882 #ifdef __STDC__
69883 # include <limits.h>
69884 #else
69885 # include <assert.h>
69886 #endif
69888 #undef $ac_func
69890 /* Override any gcc2 internal prototype to avoid an error. */
69891 #ifdef __cplusplus
69892 extern "C"
69894 #endif
69895 /* We use char because int might match the return type of a gcc2
69896 builtin and then its argument prototype would still apply. */
69897 char $ac_func ();
69898 /* The GNU C library defines this for functions which it implements
69899 to always fail with ENOSYS. Some functions are actually named
69900 something starting with __ and the normal name is an alias. */
69901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69902 choke me
69903 #else
69904 char (*f) () = $ac_func;
69905 #endif
69906 #ifdef __cplusplus
69908 #endif
69911 main ()
69913 return f != $ac_func;
69915 return 0;
69917 _ACEOF
69918 rm -f conftest.$ac_objext conftest$ac_exeext
69919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69920 (eval $ac_link) 2>conftest.er1
69921 ac_status=$?
69922 grep -v '^ *+' conftest.er1 >conftest.err
69923 rm -f conftest.er1
69924 cat conftest.err >&5
69925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69926 (exit $ac_status); } &&
69927 { ac_try='test -z "$ac_c_werror_flag"
69928 || test ! -s conftest.err'
69929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69930 (eval $ac_try) 2>&5
69931 ac_status=$?
69932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69933 (exit $ac_status); }; } &&
69934 { ac_try='test -s conftest$ac_exeext'
69935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69936 (eval $ac_try) 2>&5
69937 ac_status=$?
69938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69939 (exit $ac_status); }; }; then
69940 eval "$as_ac_var=yes"
69941 else
69942 echo "$as_me: failed program was:" >&5
69943 sed 's/^/| /' conftest.$ac_ext >&5
69945 eval "$as_ac_var=no"
69947 rm -f conftest.err conftest.$ac_objext \
69948 conftest$ac_exeext conftest.$ac_ext
69950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69952 if test `eval echo '${'$as_ac_var'}'` = yes; then
69953 cat >>confdefs.h <<_ACEOF
69954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69955 _ACEOF
69958 done
69963 echo "$as_me:$LINENO: checking for _float round functions" >&5
69964 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69965 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69966 echo $ECHO_N "(cached) $ECHO_C" >&6
69967 else
69971 ac_ext=cc
69972 ac_cpp='$CXXCPP $CPPFLAGS'
69973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69977 cat >conftest.$ac_ext <<_ACEOF
69978 /* confdefs.h. */
69979 _ACEOF
69980 cat confdefs.h >>conftest.$ac_ext
69981 cat >>conftest.$ac_ext <<_ACEOF
69982 /* end confdefs.h. */
69983 #include <math.h>
69985 main ()
69987 `for x in _ceilf _floorf; do echo "$x (0);"; done`
69989 return 0;
69991 _ACEOF
69992 rm -f conftest.$ac_objext
69993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69994 (eval $ac_compile) 2>conftest.er1
69995 ac_status=$?
69996 grep -v '^ *+' conftest.er1 >conftest.err
69997 rm -f conftest.er1
69998 cat conftest.err >&5
69999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70000 (exit $ac_status); } &&
70001 { ac_try='test -z "$ac_cxx_werror_flag"
70002 || test ! -s conftest.err'
70003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70004 (eval $ac_try) 2>&5
70005 ac_status=$?
70006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70007 (exit $ac_status); }; } &&
70008 { ac_try='test -s conftest.$ac_objext'
70009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70010 (eval $ac_try) 2>&5
70011 ac_status=$?
70012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70013 (exit $ac_status); }; }; then
70014 glibcxx_cv_func__float_round_use=yes
70015 else
70016 echo "$as_me: failed program was:" >&5
70017 sed 's/^/| /' conftest.$ac_ext >&5
70019 glibcxx_cv_func__float_round_use=no
70021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70022 ac_ext=c
70023 ac_cpp='$CPP $CPPFLAGS'
70024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
70031 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
70032 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
70035 for ac_func in _ceilf _floorf
70037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70038 echo "$as_me:$LINENO: checking for $ac_func" >&5
70039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70040 if eval "test \"\${$as_ac_var+set}\" = set"; then
70041 echo $ECHO_N "(cached) $ECHO_C" >&6
70042 else
70043 if test x$gcc_no_link = xyes; then
70044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70046 { (exit 1); exit 1; }; }
70048 cat >conftest.$ac_ext <<_ACEOF
70049 /* confdefs.h. */
70050 _ACEOF
70051 cat confdefs.h >>conftest.$ac_ext
70052 cat >>conftest.$ac_ext <<_ACEOF
70053 /* end confdefs.h. */
70054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70056 #define $ac_func innocuous_$ac_func
70058 /* System header to define __stub macros and hopefully few prototypes,
70059 which can conflict with char $ac_func (); below.
70060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70061 <limits.h> exists even on freestanding compilers. */
70063 #ifdef __STDC__
70064 # include <limits.h>
70065 #else
70066 # include <assert.h>
70067 #endif
70069 #undef $ac_func
70071 /* Override any gcc2 internal prototype to avoid an error. */
70072 #ifdef __cplusplus
70073 extern "C"
70075 #endif
70076 /* We use char because int might match the return type of a gcc2
70077 builtin and then its argument prototype would still apply. */
70078 char $ac_func ();
70079 /* The GNU C library defines this for functions which it implements
70080 to always fail with ENOSYS. Some functions are actually named
70081 something starting with __ and the normal name is an alias. */
70082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70083 choke me
70084 #else
70085 char (*f) () = $ac_func;
70086 #endif
70087 #ifdef __cplusplus
70089 #endif
70092 main ()
70094 return f != $ac_func;
70096 return 0;
70098 _ACEOF
70099 rm -f conftest.$ac_objext conftest$ac_exeext
70100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70101 (eval $ac_link) 2>conftest.er1
70102 ac_status=$?
70103 grep -v '^ *+' conftest.er1 >conftest.err
70104 rm -f conftest.er1
70105 cat conftest.err >&5
70106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70107 (exit $ac_status); } &&
70108 { ac_try='test -z "$ac_c_werror_flag"
70109 || test ! -s conftest.err'
70110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70111 (eval $ac_try) 2>&5
70112 ac_status=$?
70113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70114 (exit $ac_status); }; } &&
70115 { ac_try='test -s conftest$ac_exeext'
70116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70117 (eval $ac_try) 2>&5
70118 ac_status=$?
70119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70120 (exit $ac_status); }; }; then
70121 eval "$as_ac_var=yes"
70122 else
70123 echo "$as_me: failed program was:" >&5
70124 sed 's/^/| /' conftest.$ac_ext >&5
70126 eval "$as_ac_var=no"
70128 rm -f conftest.err conftest.$ac_objext \
70129 conftest$ac_exeext conftest.$ac_ext
70131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70133 if test `eval echo '${'$as_ac_var'}'` = yes; then
70134 cat >>confdefs.h <<_ACEOF
70135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70136 _ACEOF
70139 done
70145 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70146 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70147 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70148 echo $ECHO_N "(cached) $ECHO_C" >&6
70149 else
70153 ac_ext=cc
70154 ac_cpp='$CXXCPP $CPPFLAGS'
70155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70159 cat >conftest.$ac_ext <<_ACEOF
70160 /* confdefs.h. */
70161 _ACEOF
70162 cat confdefs.h >>conftest.$ac_ext
70163 cat >>conftest.$ac_ext <<_ACEOF
70164 /* end confdefs.h. */
70165 #include <math.h>
70167 main ()
70169 `for x in _acosl _asinl _atanl \
70170 _cosl _sinl _tanl \
70171 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
70173 return 0;
70175 _ACEOF
70176 rm -f conftest.$ac_objext
70177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70178 (eval $ac_compile) 2>conftest.er1
70179 ac_status=$?
70180 grep -v '^ *+' conftest.er1 >conftest.err
70181 rm -f conftest.er1
70182 cat conftest.err >&5
70183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70184 (exit $ac_status); } &&
70185 { ac_try='test -z "$ac_cxx_werror_flag"
70186 || test ! -s conftest.err'
70187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70188 (eval $ac_try) 2>&5
70189 ac_status=$?
70190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70191 (exit $ac_status); }; } &&
70192 { ac_try='test -s conftest.$ac_objext'
70193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70194 (eval $ac_try) 2>&5
70195 ac_status=$?
70196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70197 (exit $ac_status); }; }; then
70198 glibcxx_cv_func__long_double_trig_use=yes
70199 else
70200 echo "$as_me: failed program was:" >&5
70201 sed 's/^/| /' conftest.$ac_ext >&5
70203 glibcxx_cv_func__long_double_trig_use=no
70205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70206 ac_ext=c
70207 ac_cpp='$CPP $CPPFLAGS'
70208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
70215 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
70216 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70226 for ac_func in _acosl _asinl _atanl \
70227 _cosl _sinl _tanl \
70228 _coshl _sinhl _tanhl
70230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70231 echo "$as_me:$LINENO: checking for $ac_func" >&5
70232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70233 if eval "test \"\${$as_ac_var+set}\" = set"; then
70234 echo $ECHO_N "(cached) $ECHO_C" >&6
70235 else
70236 if test x$gcc_no_link = xyes; then
70237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70239 { (exit 1); exit 1; }; }
70241 cat >conftest.$ac_ext <<_ACEOF
70242 /* confdefs.h. */
70243 _ACEOF
70244 cat confdefs.h >>conftest.$ac_ext
70245 cat >>conftest.$ac_ext <<_ACEOF
70246 /* end confdefs.h. */
70247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70249 #define $ac_func innocuous_$ac_func
70251 /* System header to define __stub macros and hopefully few prototypes,
70252 which can conflict with char $ac_func (); below.
70253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70254 <limits.h> exists even on freestanding compilers. */
70256 #ifdef __STDC__
70257 # include <limits.h>
70258 #else
70259 # include <assert.h>
70260 #endif
70262 #undef $ac_func
70264 /* Override any gcc2 internal prototype to avoid an error. */
70265 #ifdef __cplusplus
70266 extern "C"
70268 #endif
70269 /* We use char because int might match the return type of a gcc2
70270 builtin and then its argument prototype would still apply. */
70271 char $ac_func ();
70272 /* The GNU C library defines this for functions which it implements
70273 to always fail with ENOSYS. Some functions are actually named
70274 something starting with __ and the normal name is an alias. */
70275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70276 choke me
70277 #else
70278 char (*f) () = $ac_func;
70279 #endif
70280 #ifdef __cplusplus
70282 #endif
70285 main ()
70287 return f != $ac_func;
70289 return 0;
70291 _ACEOF
70292 rm -f conftest.$ac_objext conftest$ac_exeext
70293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70294 (eval $ac_link) 2>conftest.er1
70295 ac_status=$?
70296 grep -v '^ *+' conftest.er1 >conftest.err
70297 rm -f conftest.er1
70298 cat conftest.err >&5
70299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70300 (exit $ac_status); } &&
70301 { ac_try='test -z "$ac_c_werror_flag"
70302 || test ! -s conftest.err'
70303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70304 (eval $ac_try) 2>&5
70305 ac_status=$?
70306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70307 (exit $ac_status); }; } &&
70308 { ac_try='test -s conftest$ac_exeext'
70309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70310 (eval $ac_try) 2>&5
70311 ac_status=$?
70312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70313 (exit $ac_status); }; }; then
70314 eval "$as_ac_var=yes"
70315 else
70316 echo "$as_me: failed program was:" >&5
70317 sed 's/^/| /' conftest.$ac_ext >&5
70319 eval "$as_ac_var=no"
70321 rm -f conftest.err conftest.$ac_objext \
70322 conftest$ac_exeext conftest.$ac_ext
70324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70326 if test `eval echo '${'$as_ac_var'}'` = yes; then
70327 cat >>confdefs.h <<_ACEOF
70328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70329 _ACEOF
70332 done
70337 echo "$as_me:$LINENO: checking for _long double round functions" >&5
70338 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70339 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70340 echo $ECHO_N "(cached) $ECHO_C" >&6
70341 else
70345 ac_ext=cc
70346 ac_cpp='$CXXCPP $CPPFLAGS'
70347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70351 cat >conftest.$ac_ext <<_ACEOF
70352 /* confdefs.h. */
70353 _ACEOF
70354 cat confdefs.h >>conftest.$ac_ext
70355 cat >>conftest.$ac_ext <<_ACEOF
70356 /* end confdefs.h. */
70357 #include <math.h>
70359 main ()
70361 `for x in _ceill _floorl; do echo "$x (0);"; done`
70363 return 0;
70365 _ACEOF
70366 rm -f conftest.$ac_objext
70367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70368 (eval $ac_compile) 2>conftest.er1
70369 ac_status=$?
70370 grep -v '^ *+' conftest.er1 >conftest.err
70371 rm -f conftest.er1
70372 cat conftest.err >&5
70373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70374 (exit $ac_status); } &&
70375 { ac_try='test -z "$ac_cxx_werror_flag"
70376 || test ! -s conftest.err'
70377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70378 (eval $ac_try) 2>&5
70379 ac_status=$?
70380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70381 (exit $ac_status); }; } &&
70382 { ac_try='test -s conftest.$ac_objext'
70383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70384 (eval $ac_try) 2>&5
70385 ac_status=$?
70386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70387 (exit $ac_status); }; }; then
70388 glibcxx_cv_func__long_double_round_use=yes
70389 else
70390 echo "$as_me: failed program was:" >&5
70391 sed 's/^/| /' conftest.$ac_ext >&5
70393 glibcxx_cv_func__long_double_round_use=no
70395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70396 ac_ext=c
70397 ac_cpp='$CPP $CPPFLAGS'
70398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70405 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70406 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70409 for ac_func in _ceill _floorl
70411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70412 echo "$as_me:$LINENO: checking for $ac_func" >&5
70413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70414 if eval "test \"\${$as_ac_var+set}\" = set"; then
70415 echo $ECHO_N "(cached) $ECHO_C" >&6
70416 else
70417 if test x$gcc_no_link = xyes; then
70418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70420 { (exit 1); exit 1; }; }
70422 cat >conftest.$ac_ext <<_ACEOF
70423 /* confdefs.h. */
70424 _ACEOF
70425 cat confdefs.h >>conftest.$ac_ext
70426 cat >>conftest.$ac_ext <<_ACEOF
70427 /* end confdefs.h. */
70428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70430 #define $ac_func innocuous_$ac_func
70432 /* System header to define __stub macros and hopefully few prototypes,
70433 which can conflict with char $ac_func (); below.
70434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70435 <limits.h> exists even on freestanding compilers. */
70437 #ifdef __STDC__
70438 # include <limits.h>
70439 #else
70440 # include <assert.h>
70441 #endif
70443 #undef $ac_func
70445 /* Override any gcc2 internal prototype to avoid an error. */
70446 #ifdef __cplusplus
70447 extern "C"
70449 #endif
70450 /* We use char because int might match the return type of a gcc2
70451 builtin and then its argument prototype would still apply. */
70452 char $ac_func ();
70453 /* The GNU C library defines this for functions which it implements
70454 to always fail with ENOSYS. Some functions are actually named
70455 something starting with __ and the normal name is an alias. */
70456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70457 choke me
70458 #else
70459 char (*f) () = $ac_func;
70460 #endif
70461 #ifdef __cplusplus
70463 #endif
70466 main ()
70468 return f != $ac_func;
70470 return 0;
70472 _ACEOF
70473 rm -f conftest.$ac_objext conftest$ac_exeext
70474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70475 (eval $ac_link) 2>conftest.er1
70476 ac_status=$?
70477 grep -v '^ *+' conftest.er1 >conftest.err
70478 rm -f conftest.er1
70479 cat conftest.err >&5
70480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70481 (exit $ac_status); } &&
70482 { ac_try='test -z "$ac_c_werror_flag"
70483 || test ! -s conftest.err'
70484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70485 (eval $ac_try) 2>&5
70486 ac_status=$?
70487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70488 (exit $ac_status); }; } &&
70489 { ac_try='test -s conftest$ac_exeext'
70490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70491 (eval $ac_try) 2>&5
70492 ac_status=$?
70493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70494 (exit $ac_status); }; }; then
70495 eval "$as_ac_var=yes"
70496 else
70497 echo "$as_me: failed program was:" >&5
70498 sed 's/^/| /' conftest.$ac_ext >&5
70500 eval "$as_ac_var=no"
70502 rm -f conftest.err conftest.$ac_objext \
70503 conftest$ac_exeext conftest.$ac_ext
70505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70507 if test `eval echo '${'$as_ac_var'}'` = yes; then
70508 cat >>confdefs.h <<_ACEOF
70509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70510 _ACEOF
70513 done
70518 LIBS="$ac_save_LIBS"
70519 CXXFLAGS="$ac_save_CXXFLAGS"
70523 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70524 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70525 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70526 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70527 echo $ECHO_N "(cached) $ECHO_C" >&6
70528 else
70532 ac_ext=cc
70533 ac_cpp='$CXXCPP $CPPFLAGS'
70534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70538 cat >conftest.$ac_ext <<_ACEOF
70539 /* confdefs.h. */
70540 _ACEOF
70541 cat confdefs.h >>conftest.$ac_ext
70542 cat >>conftest.$ac_ext <<_ACEOF
70543 /* end confdefs.h. */
70544 #include <math.h>
70546 main ()
70548 __builtin_abs(0);
70550 return 0;
70552 _ACEOF
70553 rm -f conftest.$ac_objext
70554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70555 (eval $ac_compile) 2>conftest.er1
70556 ac_status=$?
70557 grep -v '^ *+' conftest.er1 >conftest.err
70558 rm -f conftest.er1
70559 cat conftest.err >&5
70560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70561 (exit $ac_status); } &&
70562 { ac_try='test -z "$ac_cxx_werror_flag"
70563 || test ! -s conftest.err'
70564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70565 (eval $ac_try) 2>&5
70566 ac_status=$?
70567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70568 (exit $ac_status); }; } &&
70569 { ac_try='test -s conftest.$ac_objext'
70570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70571 (eval $ac_try) 2>&5
70572 ac_status=$?
70573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70574 (exit $ac_status); }; }; then
70575 glibcxx_cv_func___builtin_abs_use=yes
70576 else
70577 echo "$as_me: failed program was:" >&5
70578 sed 's/^/| /' conftest.$ac_ext >&5
70580 glibcxx_cv_func___builtin_abs_use=no
70582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70583 ac_ext=c
70584 ac_cpp='$CPP $CPPFLAGS'
70585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70593 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70594 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70595 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70596 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70597 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70598 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70599 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70600 echo $ECHO_N "(cached) $ECHO_C" >&6
70601 else
70603 if test x$gcc_no_link = xyes; then
70604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70606 { (exit 1); exit 1; }; }
70608 cat >conftest.$ac_ext <<_ACEOF
70609 /* confdefs.h. */
70610 _ACEOF
70611 cat confdefs.h >>conftest.$ac_ext
70612 cat >>conftest.$ac_ext <<_ACEOF
70613 /* end confdefs.h. */
70614 #include <math.h>
70616 main ()
70618 __builtin_abs(0);
70620 return 0;
70622 _ACEOF
70623 rm -f conftest.$ac_objext conftest$ac_exeext
70624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70625 (eval $ac_link) 2>conftest.er1
70626 ac_status=$?
70627 grep -v '^ *+' conftest.er1 >conftest.err
70628 rm -f conftest.er1
70629 cat conftest.err >&5
70630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70631 (exit $ac_status); } &&
70632 { ac_try='test -z "$ac_c_werror_flag"
70633 || test ! -s conftest.err'
70634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70635 (eval $ac_try) 2>&5
70636 ac_status=$?
70637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70638 (exit $ac_status); }; } &&
70639 { ac_try='test -s conftest$ac_exeext'
70640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70641 (eval $ac_try) 2>&5
70642 ac_status=$?
70643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70644 (exit $ac_status); }; }; then
70645 glibcxx_cv_func___builtin_abs_link=yes
70646 else
70647 echo "$as_me: failed program was:" >&5
70648 sed 's/^/| /' conftest.$ac_ext >&5
70650 glibcxx_cv_func___builtin_abs_link=no
70652 rm -f conftest.err conftest.$ac_objext \
70653 conftest$ac_exeext conftest.$ac_ext
70658 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70659 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70660 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70661 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70663 cat >>confdefs.h <<_ACEOF
70664 #define ${ac_tr_func} 1
70665 _ACEOF
70671 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70672 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70673 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70674 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70675 echo $ECHO_N "(cached) $ECHO_C" >&6
70676 else
70680 ac_ext=cc
70681 ac_cpp='$CXXCPP $CPPFLAGS'
70682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70686 cat >conftest.$ac_ext <<_ACEOF
70687 /* confdefs.h. */
70688 _ACEOF
70689 cat confdefs.h >>conftest.$ac_ext
70690 cat >>conftest.$ac_ext <<_ACEOF
70691 /* end confdefs.h. */
70692 #include <math.h>
70694 main ()
70696 __builtin_fabsf(0);
70698 return 0;
70700 _ACEOF
70701 rm -f conftest.$ac_objext
70702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70703 (eval $ac_compile) 2>conftest.er1
70704 ac_status=$?
70705 grep -v '^ *+' conftest.er1 >conftest.err
70706 rm -f conftest.er1
70707 cat conftest.err >&5
70708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70709 (exit $ac_status); } &&
70710 { ac_try='test -z "$ac_cxx_werror_flag"
70711 || test ! -s conftest.err'
70712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70713 (eval $ac_try) 2>&5
70714 ac_status=$?
70715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70716 (exit $ac_status); }; } &&
70717 { ac_try='test -s conftest.$ac_objext'
70718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70719 (eval $ac_try) 2>&5
70720 ac_status=$?
70721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70722 (exit $ac_status); }; }; then
70723 glibcxx_cv_func___builtin_fabsf_use=yes
70724 else
70725 echo "$as_me: failed program was:" >&5
70726 sed 's/^/| /' conftest.$ac_ext >&5
70728 glibcxx_cv_func___builtin_fabsf_use=no
70730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70731 ac_ext=c
70732 ac_cpp='$CPP $CPPFLAGS'
70733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70741 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70742 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70743 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70744 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70745 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70746 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70747 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70748 echo $ECHO_N "(cached) $ECHO_C" >&6
70749 else
70751 if test x$gcc_no_link = xyes; then
70752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70754 { (exit 1); exit 1; }; }
70756 cat >conftest.$ac_ext <<_ACEOF
70757 /* confdefs.h. */
70758 _ACEOF
70759 cat confdefs.h >>conftest.$ac_ext
70760 cat >>conftest.$ac_ext <<_ACEOF
70761 /* end confdefs.h. */
70762 #include <math.h>
70764 main ()
70766 __builtin_fabsf(0);
70768 return 0;
70770 _ACEOF
70771 rm -f conftest.$ac_objext conftest$ac_exeext
70772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70773 (eval $ac_link) 2>conftest.er1
70774 ac_status=$?
70775 grep -v '^ *+' conftest.er1 >conftest.err
70776 rm -f conftest.er1
70777 cat conftest.err >&5
70778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70779 (exit $ac_status); } &&
70780 { ac_try='test -z "$ac_c_werror_flag"
70781 || test ! -s conftest.err'
70782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70783 (eval $ac_try) 2>&5
70784 ac_status=$?
70785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70786 (exit $ac_status); }; } &&
70787 { ac_try='test -s conftest$ac_exeext'
70788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70789 (eval $ac_try) 2>&5
70790 ac_status=$?
70791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70792 (exit $ac_status); }; }; then
70793 glibcxx_cv_func___builtin_fabsf_link=yes
70794 else
70795 echo "$as_me: failed program was:" >&5
70796 sed 's/^/| /' conftest.$ac_ext >&5
70798 glibcxx_cv_func___builtin_fabsf_link=no
70800 rm -f conftest.err conftest.$ac_objext \
70801 conftest$ac_exeext conftest.$ac_ext
70806 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70807 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70808 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70809 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70811 cat >>confdefs.h <<_ACEOF
70812 #define ${ac_tr_func} 1
70813 _ACEOF
70819 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70820 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70821 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70822 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70823 echo $ECHO_N "(cached) $ECHO_C" >&6
70824 else
70828 ac_ext=cc
70829 ac_cpp='$CXXCPP $CPPFLAGS'
70830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70834 cat >conftest.$ac_ext <<_ACEOF
70835 /* confdefs.h. */
70836 _ACEOF
70837 cat confdefs.h >>conftest.$ac_ext
70838 cat >>conftest.$ac_ext <<_ACEOF
70839 /* end confdefs.h. */
70840 #include <math.h>
70842 main ()
70844 __builtin_fabs(0);
70846 return 0;
70848 _ACEOF
70849 rm -f conftest.$ac_objext
70850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70851 (eval $ac_compile) 2>conftest.er1
70852 ac_status=$?
70853 grep -v '^ *+' conftest.er1 >conftest.err
70854 rm -f conftest.er1
70855 cat conftest.err >&5
70856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70857 (exit $ac_status); } &&
70858 { ac_try='test -z "$ac_cxx_werror_flag"
70859 || test ! -s conftest.err'
70860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70861 (eval $ac_try) 2>&5
70862 ac_status=$?
70863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70864 (exit $ac_status); }; } &&
70865 { ac_try='test -s conftest.$ac_objext'
70866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70867 (eval $ac_try) 2>&5
70868 ac_status=$?
70869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70870 (exit $ac_status); }; }; then
70871 glibcxx_cv_func___builtin_fabs_use=yes
70872 else
70873 echo "$as_me: failed program was:" >&5
70874 sed 's/^/| /' conftest.$ac_ext >&5
70876 glibcxx_cv_func___builtin_fabs_use=no
70878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70879 ac_ext=c
70880 ac_cpp='$CPP $CPPFLAGS'
70881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70889 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70890 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70891 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70892 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70893 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70894 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70895 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70896 echo $ECHO_N "(cached) $ECHO_C" >&6
70897 else
70899 if test x$gcc_no_link = xyes; then
70900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70902 { (exit 1); exit 1; }; }
70904 cat >conftest.$ac_ext <<_ACEOF
70905 /* confdefs.h. */
70906 _ACEOF
70907 cat confdefs.h >>conftest.$ac_ext
70908 cat >>conftest.$ac_ext <<_ACEOF
70909 /* end confdefs.h. */
70910 #include <math.h>
70912 main ()
70914 __builtin_fabs(0);
70916 return 0;
70918 _ACEOF
70919 rm -f conftest.$ac_objext conftest$ac_exeext
70920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70921 (eval $ac_link) 2>conftest.er1
70922 ac_status=$?
70923 grep -v '^ *+' conftest.er1 >conftest.err
70924 rm -f conftest.er1
70925 cat conftest.err >&5
70926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70927 (exit $ac_status); } &&
70928 { ac_try='test -z "$ac_c_werror_flag"
70929 || test ! -s conftest.err'
70930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70931 (eval $ac_try) 2>&5
70932 ac_status=$?
70933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70934 (exit $ac_status); }; } &&
70935 { ac_try='test -s conftest$ac_exeext'
70936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70937 (eval $ac_try) 2>&5
70938 ac_status=$?
70939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70940 (exit $ac_status); }; }; then
70941 glibcxx_cv_func___builtin_fabs_link=yes
70942 else
70943 echo "$as_me: failed program was:" >&5
70944 sed 's/^/| /' conftest.$ac_ext >&5
70946 glibcxx_cv_func___builtin_fabs_link=no
70948 rm -f conftest.err conftest.$ac_objext \
70949 conftest$ac_exeext conftest.$ac_ext
70954 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70955 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70956 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70957 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70959 cat >>confdefs.h <<_ACEOF
70960 #define ${ac_tr_func} 1
70961 _ACEOF
70967 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70968 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70969 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70970 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70971 echo $ECHO_N "(cached) $ECHO_C" >&6
70972 else
70976 ac_ext=cc
70977 ac_cpp='$CXXCPP $CPPFLAGS'
70978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70982 cat >conftest.$ac_ext <<_ACEOF
70983 /* confdefs.h. */
70984 _ACEOF
70985 cat confdefs.h >>conftest.$ac_ext
70986 cat >>conftest.$ac_ext <<_ACEOF
70987 /* end confdefs.h. */
70988 #include <math.h>
70990 main ()
70992 __builtin_fabsl(0);
70994 return 0;
70996 _ACEOF
70997 rm -f conftest.$ac_objext
70998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70999 (eval $ac_compile) 2>conftest.er1
71000 ac_status=$?
71001 grep -v '^ *+' conftest.er1 >conftest.err
71002 rm -f conftest.er1
71003 cat conftest.err >&5
71004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71005 (exit $ac_status); } &&
71006 { ac_try='test -z "$ac_cxx_werror_flag"
71007 || test ! -s conftest.err'
71008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71009 (eval $ac_try) 2>&5
71010 ac_status=$?
71011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71012 (exit $ac_status); }; } &&
71013 { ac_try='test -s conftest.$ac_objext'
71014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71015 (eval $ac_try) 2>&5
71016 ac_status=$?
71017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71018 (exit $ac_status); }; }; then
71019 glibcxx_cv_func___builtin_fabsl_use=yes
71020 else
71021 echo "$as_me: failed program was:" >&5
71022 sed 's/^/| /' conftest.$ac_ext >&5
71024 glibcxx_cv_func___builtin_fabsl_use=no
71026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71027 ac_ext=c
71028 ac_cpp='$CPP $CPPFLAGS'
71029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71037 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71038 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71039 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71040 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71041 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71042 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71043 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71044 echo $ECHO_N "(cached) $ECHO_C" >&6
71045 else
71047 if test x$gcc_no_link = xyes; then
71048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71050 { (exit 1); exit 1; }; }
71052 cat >conftest.$ac_ext <<_ACEOF
71053 /* confdefs.h. */
71054 _ACEOF
71055 cat confdefs.h >>conftest.$ac_ext
71056 cat >>conftest.$ac_ext <<_ACEOF
71057 /* end confdefs.h. */
71058 #include <math.h>
71060 main ()
71062 __builtin_fabsl(0);
71064 return 0;
71066 _ACEOF
71067 rm -f conftest.$ac_objext conftest$ac_exeext
71068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71069 (eval $ac_link) 2>conftest.er1
71070 ac_status=$?
71071 grep -v '^ *+' conftest.er1 >conftest.err
71072 rm -f conftest.er1
71073 cat conftest.err >&5
71074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71075 (exit $ac_status); } &&
71076 { ac_try='test -z "$ac_c_werror_flag"
71077 || test ! -s conftest.err'
71078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71079 (eval $ac_try) 2>&5
71080 ac_status=$?
71081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71082 (exit $ac_status); }; } &&
71083 { ac_try='test -s conftest$ac_exeext'
71084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71085 (eval $ac_try) 2>&5
71086 ac_status=$?
71087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71088 (exit $ac_status); }; }; then
71089 glibcxx_cv_func___builtin_fabsl_link=yes
71090 else
71091 echo "$as_me: failed program was:" >&5
71092 sed 's/^/| /' conftest.$ac_ext >&5
71094 glibcxx_cv_func___builtin_fabsl_link=no
71096 rm -f conftest.err conftest.$ac_objext \
71097 conftest$ac_exeext conftest.$ac_ext
71102 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71103 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71104 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71105 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71107 cat >>confdefs.h <<_ACEOF
71108 #define ${ac_tr_func} 1
71109 _ACEOF
71115 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71116 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71117 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71118 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71119 echo $ECHO_N "(cached) $ECHO_C" >&6
71120 else
71124 ac_ext=cc
71125 ac_cpp='$CXXCPP $CPPFLAGS'
71126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71130 cat >conftest.$ac_ext <<_ACEOF
71131 /* confdefs.h. */
71132 _ACEOF
71133 cat confdefs.h >>conftest.$ac_ext
71134 cat >>conftest.$ac_ext <<_ACEOF
71135 /* end confdefs.h. */
71136 #include <math.h>
71138 main ()
71140 __builtin_labs(0);
71142 return 0;
71144 _ACEOF
71145 rm -f conftest.$ac_objext
71146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71147 (eval $ac_compile) 2>conftest.er1
71148 ac_status=$?
71149 grep -v '^ *+' conftest.er1 >conftest.err
71150 rm -f conftest.er1
71151 cat conftest.err >&5
71152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71153 (exit $ac_status); } &&
71154 { ac_try='test -z "$ac_cxx_werror_flag"
71155 || test ! -s conftest.err'
71156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71157 (eval $ac_try) 2>&5
71158 ac_status=$?
71159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71160 (exit $ac_status); }; } &&
71161 { ac_try='test -s conftest.$ac_objext'
71162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71163 (eval $ac_try) 2>&5
71164 ac_status=$?
71165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71166 (exit $ac_status); }; }; then
71167 glibcxx_cv_func___builtin_labs_use=yes
71168 else
71169 echo "$as_me: failed program was:" >&5
71170 sed 's/^/| /' conftest.$ac_ext >&5
71172 glibcxx_cv_func___builtin_labs_use=no
71174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71175 ac_ext=c
71176 ac_cpp='$CPP $CPPFLAGS'
71177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71185 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71186 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71187 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71188 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71189 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71190 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71191 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71192 echo $ECHO_N "(cached) $ECHO_C" >&6
71193 else
71195 if test x$gcc_no_link = xyes; then
71196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71198 { (exit 1); exit 1; }; }
71200 cat >conftest.$ac_ext <<_ACEOF
71201 /* confdefs.h. */
71202 _ACEOF
71203 cat confdefs.h >>conftest.$ac_ext
71204 cat >>conftest.$ac_ext <<_ACEOF
71205 /* end confdefs.h. */
71206 #include <math.h>
71208 main ()
71210 __builtin_labs(0);
71212 return 0;
71214 _ACEOF
71215 rm -f conftest.$ac_objext conftest$ac_exeext
71216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71217 (eval $ac_link) 2>conftest.er1
71218 ac_status=$?
71219 grep -v '^ *+' conftest.er1 >conftest.err
71220 rm -f conftest.er1
71221 cat conftest.err >&5
71222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71223 (exit $ac_status); } &&
71224 { ac_try='test -z "$ac_c_werror_flag"
71225 || test ! -s conftest.err'
71226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71227 (eval $ac_try) 2>&5
71228 ac_status=$?
71229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71230 (exit $ac_status); }; } &&
71231 { ac_try='test -s conftest$ac_exeext'
71232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71233 (eval $ac_try) 2>&5
71234 ac_status=$?
71235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71236 (exit $ac_status); }; }; then
71237 glibcxx_cv_func___builtin_labs_link=yes
71238 else
71239 echo "$as_me: failed program was:" >&5
71240 sed 's/^/| /' conftest.$ac_ext >&5
71242 glibcxx_cv_func___builtin_labs_link=no
71244 rm -f conftest.err conftest.$ac_objext \
71245 conftest$ac_exeext conftest.$ac_ext
71250 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71251 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71252 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71253 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71255 cat >>confdefs.h <<_ACEOF
71256 #define ${ac_tr_func} 1
71257 _ACEOF
71264 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71265 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71266 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71267 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71268 echo $ECHO_N "(cached) $ECHO_C" >&6
71269 else
71273 ac_ext=cc
71274 ac_cpp='$CXXCPP $CPPFLAGS'
71275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71279 cat >conftest.$ac_ext <<_ACEOF
71280 /* confdefs.h. */
71281 _ACEOF
71282 cat confdefs.h >>conftest.$ac_ext
71283 cat >>conftest.$ac_ext <<_ACEOF
71284 /* end confdefs.h. */
71285 #include <math.h>
71287 main ()
71289 __builtin_sqrtf(0);
71291 return 0;
71293 _ACEOF
71294 rm -f conftest.$ac_objext
71295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71296 (eval $ac_compile) 2>conftest.er1
71297 ac_status=$?
71298 grep -v '^ *+' conftest.er1 >conftest.err
71299 rm -f conftest.er1
71300 cat conftest.err >&5
71301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71302 (exit $ac_status); } &&
71303 { ac_try='test -z "$ac_cxx_werror_flag"
71304 || test ! -s conftest.err'
71305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71306 (eval $ac_try) 2>&5
71307 ac_status=$?
71308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71309 (exit $ac_status); }; } &&
71310 { ac_try='test -s conftest.$ac_objext'
71311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71312 (eval $ac_try) 2>&5
71313 ac_status=$?
71314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71315 (exit $ac_status); }; }; then
71316 glibcxx_cv_func___builtin_sqrtf_use=yes
71317 else
71318 echo "$as_me: failed program was:" >&5
71319 sed 's/^/| /' conftest.$ac_ext >&5
71321 glibcxx_cv_func___builtin_sqrtf_use=no
71323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71324 ac_ext=c
71325 ac_cpp='$CPP $CPPFLAGS'
71326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71334 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71335 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71336 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71337 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71338 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71339 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71340 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71341 echo $ECHO_N "(cached) $ECHO_C" >&6
71342 else
71344 if test x$gcc_no_link = xyes; then
71345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71347 { (exit 1); exit 1; }; }
71349 cat >conftest.$ac_ext <<_ACEOF
71350 /* confdefs.h. */
71351 _ACEOF
71352 cat confdefs.h >>conftest.$ac_ext
71353 cat >>conftest.$ac_ext <<_ACEOF
71354 /* end confdefs.h. */
71355 #include <math.h>
71357 main ()
71359 __builtin_sqrtf(0);
71361 return 0;
71363 _ACEOF
71364 rm -f conftest.$ac_objext conftest$ac_exeext
71365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71366 (eval $ac_link) 2>conftest.er1
71367 ac_status=$?
71368 grep -v '^ *+' conftest.er1 >conftest.err
71369 rm -f conftest.er1
71370 cat conftest.err >&5
71371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71372 (exit $ac_status); } &&
71373 { ac_try='test -z "$ac_c_werror_flag"
71374 || test ! -s conftest.err'
71375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71376 (eval $ac_try) 2>&5
71377 ac_status=$?
71378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71379 (exit $ac_status); }; } &&
71380 { ac_try='test -s conftest$ac_exeext'
71381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71382 (eval $ac_try) 2>&5
71383 ac_status=$?
71384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71385 (exit $ac_status); }; }; then
71386 glibcxx_cv_func___builtin_sqrtf_link=yes
71387 else
71388 echo "$as_me: failed program was:" >&5
71389 sed 's/^/| /' conftest.$ac_ext >&5
71391 glibcxx_cv_func___builtin_sqrtf_link=no
71393 rm -f conftest.err conftest.$ac_objext \
71394 conftest$ac_exeext conftest.$ac_ext
71399 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71400 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71401 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71402 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71404 cat >>confdefs.h <<_ACEOF
71405 #define ${ac_tr_func} 1
71406 _ACEOF
71412 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71413 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71414 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71415 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71416 echo $ECHO_N "(cached) $ECHO_C" >&6
71417 else
71421 ac_ext=cc
71422 ac_cpp='$CXXCPP $CPPFLAGS'
71423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71427 cat >conftest.$ac_ext <<_ACEOF
71428 /* confdefs.h. */
71429 _ACEOF
71430 cat confdefs.h >>conftest.$ac_ext
71431 cat >>conftest.$ac_ext <<_ACEOF
71432 /* end confdefs.h. */
71433 #include <math.h>
71435 main ()
71437 __builtin_sqrt(0);
71439 return 0;
71441 _ACEOF
71442 rm -f conftest.$ac_objext
71443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71444 (eval $ac_compile) 2>conftest.er1
71445 ac_status=$?
71446 grep -v '^ *+' conftest.er1 >conftest.err
71447 rm -f conftest.er1
71448 cat conftest.err >&5
71449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71450 (exit $ac_status); } &&
71451 { ac_try='test -z "$ac_cxx_werror_flag"
71452 || test ! -s conftest.err'
71453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71454 (eval $ac_try) 2>&5
71455 ac_status=$?
71456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71457 (exit $ac_status); }; } &&
71458 { ac_try='test -s conftest.$ac_objext'
71459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71460 (eval $ac_try) 2>&5
71461 ac_status=$?
71462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71463 (exit $ac_status); }; }; then
71464 glibcxx_cv_func___builtin_sqrt_use=yes
71465 else
71466 echo "$as_me: failed program was:" >&5
71467 sed 's/^/| /' conftest.$ac_ext >&5
71469 glibcxx_cv_func___builtin_sqrt_use=no
71471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71472 ac_ext=c
71473 ac_cpp='$CPP $CPPFLAGS'
71474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71482 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71483 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71484 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71485 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71486 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71487 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71488 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71489 echo $ECHO_N "(cached) $ECHO_C" >&6
71490 else
71492 if test x$gcc_no_link = xyes; then
71493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71495 { (exit 1); exit 1; }; }
71497 cat >conftest.$ac_ext <<_ACEOF
71498 /* confdefs.h. */
71499 _ACEOF
71500 cat confdefs.h >>conftest.$ac_ext
71501 cat >>conftest.$ac_ext <<_ACEOF
71502 /* end confdefs.h. */
71503 #include <math.h>
71505 main ()
71507 __builtin_sqrt(0);
71509 return 0;
71511 _ACEOF
71512 rm -f conftest.$ac_objext conftest$ac_exeext
71513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71514 (eval $ac_link) 2>conftest.er1
71515 ac_status=$?
71516 grep -v '^ *+' conftest.er1 >conftest.err
71517 rm -f conftest.er1
71518 cat conftest.err >&5
71519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71520 (exit $ac_status); } &&
71521 { ac_try='test -z "$ac_c_werror_flag"
71522 || test ! -s conftest.err'
71523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71524 (eval $ac_try) 2>&5
71525 ac_status=$?
71526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71527 (exit $ac_status); }; } &&
71528 { ac_try='test -s conftest$ac_exeext'
71529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71530 (eval $ac_try) 2>&5
71531 ac_status=$?
71532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71533 (exit $ac_status); }; }; then
71534 glibcxx_cv_func___builtin_sqrt_link=yes
71535 else
71536 echo "$as_me: failed program was:" >&5
71537 sed 's/^/| /' conftest.$ac_ext >&5
71539 glibcxx_cv_func___builtin_sqrt_link=no
71541 rm -f conftest.err conftest.$ac_objext \
71542 conftest$ac_exeext conftest.$ac_ext
71547 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71548 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71549 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71550 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71552 cat >>confdefs.h <<_ACEOF
71553 #define ${ac_tr_func} 1
71554 _ACEOF
71560 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71561 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71562 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71563 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71564 echo $ECHO_N "(cached) $ECHO_C" >&6
71565 else
71569 ac_ext=cc
71570 ac_cpp='$CXXCPP $CPPFLAGS'
71571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71575 cat >conftest.$ac_ext <<_ACEOF
71576 /* confdefs.h. */
71577 _ACEOF
71578 cat confdefs.h >>conftest.$ac_ext
71579 cat >>conftest.$ac_ext <<_ACEOF
71580 /* end confdefs.h. */
71581 #include <math.h>
71583 main ()
71585 __builtin_sqrtl(0);
71587 return 0;
71589 _ACEOF
71590 rm -f conftest.$ac_objext
71591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71592 (eval $ac_compile) 2>conftest.er1
71593 ac_status=$?
71594 grep -v '^ *+' conftest.er1 >conftest.err
71595 rm -f conftest.er1
71596 cat conftest.err >&5
71597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71598 (exit $ac_status); } &&
71599 { ac_try='test -z "$ac_cxx_werror_flag"
71600 || test ! -s conftest.err'
71601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71602 (eval $ac_try) 2>&5
71603 ac_status=$?
71604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71605 (exit $ac_status); }; } &&
71606 { ac_try='test -s conftest.$ac_objext'
71607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71608 (eval $ac_try) 2>&5
71609 ac_status=$?
71610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71611 (exit $ac_status); }; }; then
71612 glibcxx_cv_func___builtin_sqrtl_use=yes
71613 else
71614 echo "$as_me: failed program was:" >&5
71615 sed 's/^/| /' conftest.$ac_ext >&5
71617 glibcxx_cv_func___builtin_sqrtl_use=no
71619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71620 ac_ext=c
71621 ac_cpp='$CPP $CPPFLAGS'
71622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71630 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71631 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71632 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71633 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71634 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71635 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71636 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71637 echo $ECHO_N "(cached) $ECHO_C" >&6
71638 else
71640 if test x$gcc_no_link = xyes; then
71641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71643 { (exit 1); exit 1; }; }
71645 cat >conftest.$ac_ext <<_ACEOF
71646 /* confdefs.h. */
71647 _ACEOF
71648 cat confdefs.h >>conftest.$ac_ext
71649 cat >>conftest.$ac_ext <<_ACEOF
71650 /* end confdefs.h. */
71651 #include <math.h>
71653 main ()
71655 __builtin_sqrtl(0);
71657 return 0;
71659 _ACEOF
71660 rm -f conftest.$ac_objext conftest$ac_exeext
71661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71662 (eval $ac_link) 2>conftest.er1
71663 ac_status=$?
71664 grep -v '^ *+' conftest.er1 >conftest.err
71665 rm -f conftest.er1
71666 cat conftest.err >&5
71667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71668 (exit $ac_status); } &&
71669 { ac_try='test -z "$ac_c_werror_flag"
71670 || test ! -s conftest.err'
71671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71672 (eval $ac_try) 2>&5
71673 ac_status=$?
71674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71675 (exit $ac_status); }; } &&
71676 { ac_try='test -s conftest$ac_exeext'
71677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71678 (eval $ac_try) 2>&5
71679 ac_status=$?
71680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71681 (exit $ac_status); }; }; then
71682 glibcxx_cv_func___builtin_sqrtl_link=yes
71683 else
71684 echo "$as_me: failed program was:" >&5
71685 sed 's/^/| /' conftest.$ac_ext >&5
71687 glibcxx_cv_func___builtin_sqrtl_link=no
71689 rm -f conftest.err conftest.$ac_objext \
71690 conftest$ac_exeext conftest.$ac_ext
71695 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71696 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71697 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71698 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71700 cat >>confdefs.h <<_ACEOF
71701 #define ${ac_tr_func} 1
71702 _ACEOF
71709 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71710 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71711 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71712 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71713 echo $ECHO_N "(cached) $ECHO_C" >&6
71714 else
71718 ac_ext=cc
71719 ac_cpp='$CXXCPP $CPPFLAGS'
71720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71724 cat >conftest.$ac_ext <<_ACEOF
71725 /* confdefs.h. */
71726 _ACEOF
71727 cat confdefs.h >>conftest.$ac_ext
71728 cat >>conftest.$ac_ext <<_ACEOF
71729 /* end confdefs.h. */
71730 #include <math.h>
71732 main ()
71734 __builtin_sinf(0);
71736 return 0;
71738 _ACEOF
71739 rm -f conftest.$ac_objext
71740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71741 (eval $ac_compile) 2>conftest.er1
71742 ac_status=$?
71743 grep -v '^ *+' conftest.er1 >conftest.err
71744 rm -f conftest.er1
71745 cat conftest.err >&5
71746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71747 (exit $ac_status); } &&
71748 { ac_try='test -z "$ac_cxx_werror_flag"
71749 || test ! -s conftest.err'
71750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71751 (eval $ac_try) 2>&5
71752 ac_status=$?
71753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71754 (exit $ac_status); }; } &&
71755 { ac_try='test -s conftest.$ac_objext'
71756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71757 (eval $ac_try) 2>&5
71758 ac_status=$?
71759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71760 (exit $ac_status); }; }; then
71761 glibcxx_cv_func___builtin_sinf_use=yes
71762 else
71763 echo "$as_me: failed program was:" >&5
71764 sed 's/^/| /' conftest.$ac_ext >&5
71766 glibcxx_cv_func___builtin_sinf_use=no
71768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71769 ac_ext=c
71770 ac_cpp='$CPP $CPPFLAGS'
71771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71779 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71780 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71781 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71782 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71783 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71784 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71785 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71786 echo $ECHO_N "(cached) $ECHO_C" >&6
71787 else
71789 if test x$gcc_no_link = xyes; then
71790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71792 { (exit 1); exit 1; }; }
71794 cat >conftest.$ac_ext <<_ACEOF
71795 /* confdefs.h. */
71796 _ACEOF
71797 cat confdefs.h >>conftest.$ac_ext
71798 cat >>conftest.$ac_ext <<_ACEOF
71799 /* end confdefs.h. */
71800 #include <math.h>
71802 main ()
71804 __builtin_sinf(0);
71806 return 0;
71808 _ACEOF
71809 rm -f conftest.$ac_objext conftest$ac_exeext
71810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71811 (eval $ac_link) 2>conftest.er1
71812 ac_status=$?
71813 grep -v '^ *+' conftest.er1 >conftest.err
71814 rm -f conftest.er1
71815 cat conftest.err >&5
71816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71817 (exit $ac_status); } &&
71818 { ac_try='test -z "$ac_c_werror_flag"
71819 || test ! -s conftest.err'
71820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71821 (eval $ac_try) 2>&5
71822 ac_status=$?
71823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71824 (exit $ac_status); }; } &&
71825 { ac_try='test -s conftest$ac_exeext'
71826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71827 (eval $ac_try) 2>&5
71828 ac_status=$?
71829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71830 (exit $ac_status); }; }; then
71831 glibcxx_cv_func___builtin_sinf_link=yes
71832 else
71833 echo "$as_me: failed program was:" >&5
71834 sed 's/^/| /' conftest.$ac_ext >&5
71836 glibcxx_cv_func___builtin_sinf_link=no
71838 rm -f conftest.err conftest.$ac_objext \
71839 conftest$ac_exeext conftest.$ac_ext
71844 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71845 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71846 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71847 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71849 cat >>confdefs.h <<_ACEOF
71850 #define ${ac_tr_func} 1
71851 _ACEOF
71857 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71858 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71859 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71860 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71861 echo $ECHO_N "(cached) $ECHO_C" >&6
71862 else
71866 ac_ext=cc
71867 ac_cpp='$CXXCPP $CPPFLAGS'
71868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71872 cat >conftest.$ac_ext <<_ACEOF
71873 /* confdefs.h. */
71874 _ACEOF
71875 cat confdefs.h >>conftest.$ac_ext
71876 cat >>conftest.$ac_ext <<_ACEOF
71877 /* end confdefs.h. */
71878 #include <math.h>
71880 main ()
71882 __builtin_sin(0);
71884 return 0;
71886 _ACEOF
71887 rm -f conftest.$ac_objext
71888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71889 (eval $ac_compile) 2>conftest.er1
71890 ac_status=$?
71891 grep -v '^ *+' conftest.er1 >conftest.err
71892 rm -f conftest.er1
71893 cat conftest.err >&5
71894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71895 (exit $ac_status); } &&
71896 { ac_try='test -z "$ac_cxx_werror_flag"
71897 || test ! -s conftest.err'
71898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71899 (eval $ac_try) 2>&5
71900 ac_status=$?
71901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71902 (exit $ac_status); }; } &&
71903 { ac_try='test -s conftest.$ac_objext'
71904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71905 (eval $ac_try) 2>&5
71906 ac_status=$?
71907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71908 (exit $ac_status); }; }; then
71909 glibcxx_cv_func___builtin_sin_use=yes
71910 else
71911 echo "$as_me: failed program was:" >&5
71912 sed 's/^/| /' conftest.$ac_ext >&5
71914 glibcxx_cv_func___builtin_sin_use=no
71916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71917 ac_ext=c
71918 ac_cpp='$CPP $CPPFLAGS'
71919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71927 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71928 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71929 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71930 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71931 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71932 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71933 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71934 echo $ECHO_N "(cached) $ECHO_C" >&6
71935 else
71937 if test x$gcc_no_link = xyes; then
71938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71940 { (exit 1); exit 1; }; }
71942 cat >conftest.$ac_ext <<_ACEOF
71943 /* confdefs.h. */
71944 _ACEOF
71945 cat confdefs.h >>conftest.$ac_ext
71946 cat >>conftest.$ac_ext <<_ACEOF
71947 /* end confdefs.h. */
71948 #include <math.h>
71950 main ()
71952 __builtin_sin(0);
71954 return 0;
71956 _ACEOF
71957 rm -f conftest.$ac_objext conftest$ac_exeext
71958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71959 (eval $ac_link) 2>conftest.er1
71960 ac_status=$?
71961 grep -v '^ *+' conftest.er1 >conftest.err
71962 rm -f conftest.er1
71963 cat conftest.err >&5
71964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71965 (exit $ac_status); } &&
71966 { ac_try='test -z "$ac_c_werror_flag"
71967 || test ! -s conftest.err'
71968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71969 (eval $ac_try) 2>&5
71970 ac_status=$?
71971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71972 (exit $ac_status); }; } &&
71973 { ac_try='test -s conftest$ac_exeext'
71974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71975 (eval $ac_try) 2>&5
71976 ac_status=$?
71977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71978 (exit $ac_status); }; }; then
71979 glibcxx_cv_func___builtin_sin_link=yes
71980 else
71981 echo "$as_me: failed program was:" >&5
71982 sed 's/^/| /' conftest.$ac_ext >&5
71984 glibcxx_cv_func___builtin_sin_link=no
71986 rm -f conftest.err conftest.$ac_objext \
71987 conftest$ac_exeext conftest.$ac_ext
71992 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71993 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71994 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71995 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71997 cat >>confdefs.h <<_ACEOF
71998 #define ${ac_tr_func} 1
71999 _ACEOF
72005 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72006 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72007 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72008 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72009 echo $ECHO_N "(cached) $ECHO_C" >&6
72010 else
72014 ac_ext=cc
72015 ac_cpp='$CXXCPP $CPPFLAGS'
72016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72020 cat >conftest.$ac_ext <<_ACEOF
72021 /* confdefs.h. */
72022 _ACEOF
72023 cat confdefs.h >>conftest.$ac_ext
72024 cat >>conftest.$ac_ext <<_ACEOF
72025 /* end confdefs.h. */
72026 #include <math.h>
72028 main ()
72030 __builtin_sinl(0);
72032 return 0;
72034 _ACEOF
72035 rm -f conftest.$ac_objext
72036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72037 (eval $ac_compile) 2>conftest.er1
72038 ac_status=$?
72039 grep -v '^ *+' conftest.er1 >conftest.err
72040 rm -f conftest.er1
72041 cat conftest.err >&5
72042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72043 (exit $ac_status); } &&
72044 { ac_try='test -z "$ac_cxx_werror_flag"
72045 || test ! -s conftest.err'
72046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72047 (eval $ac_try) 2>&5
72048 ac_status=$?
72049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72050 (exit $ac_status); }; } &&
72051 { ac_try='test -s conftest.$ac_objext'
72052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72053 (eval $ac_try) 2>&5
72054 ac_status=$?
72055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72056 (exit $ac_status); }; }; then
72057 glibcxx_cv_func___builtin_sinl_use=yes
72058 else
72059 echo "$as_me: failed program was:" >&5
72060 sed 's/^/| /' conftest.$ac_ext >&5
72062 glibcxx_cv_func___builtin_sinl_use=no
72064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72065 ac_ext=c
72066 ac_cpp='$CPP $CPPFLAGS'
72067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72075 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72076 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72077 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72078 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72079 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72080 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72081 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72082 echo $ECHO_N "(cached) $ECHO_C" >&6
72083 else
72085 if test x$gcc_no_link = xyes; then
72086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72088 { (exit 1); exit 1; }; }
72090 cat >conftest.$ac_ext <<_ACEOF
72091 /* confdefs.h. */
72092 _ACEOF
72093 cat confdefs.h >>conftest.$ac_ext
72094 cat >>conftest.$ac_ext <<_ACEOF
72095 /* end confdefs.h. */
72096 #include <math.h>
72098 main ()
72100 __builtin_sinl(0);
72102 return 0;
72104 _ACEOF
72105 rm -f conftest.$ac_objext conftest$ac_exeext
72106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72107 (eval $ac_link) 2>conftest.er1
72108 ac_status=$?
72109 grep -v '^ *+' conftest.er1 >conftest.err
72110 rm -f conftest.er1
72111 cat conftest.err >&5
72112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72113 (exit $ac_status); } &&
72114 { ac_try='test -z "$ac_c_werror_flag"
72115 || test ! -s conftest.err'
72116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72117 (eval $ac_try) 2>&5
72118 ac_status=$?
72119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72120 (exit $ac_status); }; } &&
72121 { ac_try='test -s conftest$ac_exeext'
72122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72123 (eval $ac_try) 2>&5
72124 ac_status=$?
72125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72126 (exit $ac_status); }; }; then
72127 glibcxx_cv_func___builtin_sinl_link=yes
72128 else
72129 echo "$as_me: failed program was:" >&5
72130 sed 's/^/| /' conftest.$ac_ext >&5
72132 glibcxx_cv_func___builtin_sinl_link=no
72134 rm -f conftest.err conftest.$ac_objext \
72135 conftest$ac_exeext conftest.$ac_ext
72140 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72141 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72142 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72143 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72145 cat >>confdefs.h <<_ACEOF
72146 #define ${ac_tr_func} 1
72147 _ACEOF
72154 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72155 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72156 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72157 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72158 echo $ECHO_N "(cached) $ECHO_C" >&6
72159 else
72163 ac_ext=cc
72164 ac_cpp='$CXXCPP $CPPFLAGS'
72165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72169 cat >conftest.$ac_ext <<_ACEOF
72170 /* confdefs.h. */
72171 _ACEOF
72172 cat confdefs.h >>conftest.$ac_ext
72173 cat >>conftest.$ac_ext <<_ACEOF
72174 /* end confdefs.h. */
72175 #include <math.h>
72177 main ()
72179 __builtin_cosf(0);
72181 return 0;
72183 _ACEOF
72184 rm -f conftest.$ac_objext
72185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72186 (eval $ac_compile) 2>conftest.er1
72187 ac_status=$?
72188 grep -v '^ *+' conftest.er1 >conftest.err
72189 rm -f conftest.er1
72190 cat conftest.err >&5
72191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72192 (exit $ac_status); } &&
72193 { ac_try='test -z "$ac_cxx_werror_flag"
72194 || test ! -s conftest.err'
72195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72196 (eval $ac_try) 2>&5
72197 ac_status=$?
72198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72199 (exit $ac_status); }; } &&
72200 { ac_try='test -s conftest.$ac_objext'
72201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72202 (eval $ac_try) 2>&5
72203 ac_status=$?
72204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72205 (exit $ac_status); }; }; then
72206 glibcxx_cv_func___builtin_cosf_use=yes
72207 else
72208 echo "$as_me: failed program was:" >&5
72209 sed 's/^/| /' conftest.$ac_ext >&5
72211 glibcxx_cv_func___builtin_cosf_use=no
72213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72214 ac_ext=c
72215 ac_cpp='$CPP $CPPFLAGS'
72216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72224 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72225 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72226 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72227 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72228 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72229 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72230 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72231 echo $ECHO_N "(cached) $ECHO_C" >&6
72232 else
72234 if test x$gcc_no_link = xyes; then
72235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72237 { (exit 1); exit 1; }; }
72239 cat >conftest.$ac_ext <<_ACEOF
72240 /* confdefs.h. */
72241 _ACEOF
72242 cat confdefs.h >>conftest.$ac_ext
72243 cat >>conftest.$ac_ext <<_ACEOF
72244 /* end confdefs.h. */
72245 #include <math.h>
72247 main ()
72249 __builtin_cosf(0);
72251 return 0;
72253 _ACEOF
72254 rm -f conftest.$ac_objext conftest$ac_exeext
72255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72256 (eval $ac_link) 2>conftest.er1
72257 ac_status=$?
72258 grep -v '^ *+' conftest.er1 >conftest.err
72259 rm -f conftest.er1
72260 cat conftest.err >&5
72261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72262 (exit $ac_status); } &&
72263 { ac_try='test -z "$ac_c_werror_flag"
72264 || test ! -s conftest.err'
72265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72266 (eval $ac_try) 2>&5
72267 ac_status=$?
72268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72269 (exit $ac_status); }; } &&
72270 { ac_try='test -s conftest$ac_exeext'
72271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72272 (eval $ac_try) 2>&5
72273 ac_status=$?
72274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72275 (exit $ac_status); }; }; then
72276 glibcxx_cv_func___builtin_cosf_link=yes
72277 else
72278 echo "$as_me: failed program was:" >&5
72279 sed 's/^/| /' conftest.$ac_ext >&5
72281 glibcxx_cv_func___builtin_cosf_link=no
72283 rm -f conftest.err conftest.$ac_objext \
72284 conftest$ac_exeext conftest.$ac_ext
72289 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72290 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72291 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72292 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72294 cat >>confdefs.h <<_ACEOF
72295 #define ${ac_tr_func} 1
72296 _ACEOF
72302 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72303 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72304 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72305 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72306 echo $ECHO_N "(cached) $ECHO_C" >&6
72307 else
72311 ac_ext=cc
72312 ac_cpp='$CXXCPP $CPPFLAGS'
72313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72317 cat >conftest.$ac_ext <<_ACEOF
72318 /* confdefs.h. */
72319 _ACEOF
72320 cat confdefs.h >>conftest.$ac_ext
72321 cat >>conftest.$ac_ext <<_ACEOF
72322 /* end confdefs.h. */
72323 #include <math.h>
72325 main ()
72327 __builtin_cos(0);
72329 return 0;
72331 _ACEOF
72332 rm -f conftest.$ac_objext
72333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72334 (eval $ac_compile) 2>conftest.er1
72335 ac_status=$?
72336 grep -v '^ *+' conftest.er1 >conftest.err
72337 rm -f conftest.er1
72338 cat conftest.err >&5
72339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72340 (exit $ac_status); } &&
72341 { ac_try='test -z "$ac_cxx_werror_flag"
72342 || test ! -s conftest.err'
72343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72344 (eval $ac_try) 2>&5
72345 ac_status=$?
72346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72347 (exit $ac_status); }; } &&
72348 { ac_try='test -s conftest.$ac_objext'
72349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72350 (eval $ac_try) 2>&5
72351 ac_status=$?
72352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72353 (exit $ac_status); }; }; then
72354 glibcxx_cv_func___builtin_cos_use=yes
72355 else
72356 echo "$as_me: failed program was:" >&5
72357 sed 's/^/| /' conftest.$ac_ext >&5
72359 glibcxx_cv_func___builtin_cos_use=no
72361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72362 ac_ext=c
72363 ac_cpp='$CPP $CPPFLAGS'
72364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72372 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72373 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72374 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72375 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72376 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72377 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72378 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72379 echo $ECHO_N "(cached) $ECHO_C" >&6
72380 else
72382 if test x$gcc_no_link = xyes; then
72383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72385 { (exit 1); exit 1; }; }
72387 cat >conftest.$ac_ext <<_ACEOF
72388 /* confdefs.h. */
72389 _ACEOF
72390 cat confdefs.h >>conftest.$ac_ext
72391 cat >>conftest.$ac_ext <<_ACEOF
72392 /* end confdefs.h. */
72393 #include <math.h>
72395 main ()
72397 __builtin_cos(0);
72399 return 0;
72401 _ACEOF
72402 rm -f conftest.$ac_objext conftest$ac_exeext
72403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72404 (eval $ac_link) 2>conftest.er1
72405 ac_status=$?
72406 grep -v '^ *+' conftest.er1 >conftest.err
72407 rm -f conftest.er1
72408 cat conftest.err >&5
72409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72410 (exit $ac_status); } &&
72411 { ac_try='test -z "$ac_c_werror_flag"
72412 || test ! -s conftest.err'
72413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72414 (eval $ac_try) 2>&5
72415 ac_status=$?
72416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72417 (exit $ac_status); }; } &&
72418 { ac_try='test -s conftest$ac_exeext'
72419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72420 (eval $ac_try) 2>&5
72421 ac_status=$?
72422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72423 (exit $ac_status); }; }; then
72424 glibcxx_cv_func___builtin_cos_link=yes
72425 else
72426 echo "$as_me: failed program was:" >&5
72427 sed 's/^/| /' conftest.$ac_ext >&5
72429 glibcxx_cv_func___builtin_cos_link=no
72431 rm -f conftest.err conftest.$ac_objext \
72432 conftest$ac_exeext conftest.$ac_ext
72437 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72438 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72439 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72440 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72442 cat >>confdefs.h <<_ACEOF
72443 #define ${ac_tr_func} 1
72444 _ACEOF
72450 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72451 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72452 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72453 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72454 echo $ECHO_N "(cached) $ECHO_C" >&6
72455 else
72459 ac_ext=cc
72460 ac_cpp='$CXXCPP $CPPFLAGS'
72461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72465 cat >conftest.$ac_ext <<_ACEOF
72466 /* confdefs.h. */
72467 _ACEOF
72468 cat confdefs.h >>conftest.$ac_ext
72469 cat >>conftest.$ac_ext <<_ACEOF
72470 /* end confdefs.h. */
72471 #include <math.h>
72473 main ()
72475 __builtin_cosl(0);
72477 return 0;
72479 _ACEOF
72480 rm -f conftest.$ac_objext
72481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72482 (eval $ac_compile) 2>conftest.er1
72483 ac_status=$?
72484 grep -v '^ *+' conftest.er1 >conftest.err
72485 rm -f conftest.er1
72486 cat conftest.err >&5
72487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72488 (exit $ac_status); } &&
72489 { ac_try='test -z "$ac_cxx_werror_flag"
72490 || test ! -s conftest.err'
72491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72492 (eval $ac_try) 2>&5
72493 ac_status=$?
72494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72495 (exit $ac_status); }; } &&
72496 { ac_try='test -s conftest.$ac_objext'
72497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72498 (eval $ac_try) 2>&5
72499 ac_status=$?
72500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72501 (exit $ac_status); }; }; then
72502 glibcxx_cv_func___builtin_cosl_use=yes
72503 else
72504 echo "$as_me: failed program was:" >&5
72505 sed 's/^/| /' conftest.$ac_ext >&5
72507 glibcxx_cv_func___builtin_cosl_use=no
72509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72510 ac_ext=c
72511 ac_cpp='$CPP $CPPFLAGS'
72512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72520 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72521 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72522 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72523 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72524 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72525 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72526 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72527 echo $ECHO_N "(cached) $ECHO_C" >&6
72528 else
72530 if test x$gcc_no_link = xyes; then
72531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72533 { (exit 1); exit 1; }; }
72535 cat >conftest.$ac_ext <<_ACEOF
72536 /* confdefs.h. */
72537 _ACEOF
72538 cat confdefs.h >>conftest.$ac_ext
72539 cat >>conftest.$ac_ext <<_ACEOF
72540 /* end confdefs.h. */
72541 #include <math.h>
72543 main ()
72545 __builtin_cosl(0);
72547 return 0;
72549 _ACEOF
72550 rm -f conftest.$ac_objext conftest$ac_exeext
72551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72552 (eval $ac_link) 2>conftest.er1
72553 ac_status=$?
72554 grep -v '^ *+' conftest.er1 >conftest.err
72555 rm -f conftest.er1
72556 cat conftest.err >&5
72557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72558 (exit $ac_status); } &&
72559 { ac_try='test -z "$ac_c_werror_flag"
72560 || test ! -s conftest.err'
72561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72562 (eval $ac_try) 2>&5
72563 ac_status=$?
72564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72565 (exit $ac_status); }; } &&
72566 { ac_try='test -s conftest$ac_exeext'
72567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72568 (eval $ac_try) 2>&5
72569 ac_status=$?
72570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72571 (exit $ac_status); }; }; then
72572 glibcxx_cv_func___builtin_cosl_link=yes
72573 else
72574 echo "$as_me: failed program was:" >&5
72575 sed 's/^/| /' conftest.$ac_ext >&5
72577 glibcxx_cv_func___builtin_cosl_link=no
72579 rm -f conftest.err conftest.$ac_objext \
72580 conftest$ac_exeext conftest.$ac_ext
72585 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72586 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72587 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72588 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72590 cat >>confdefs.h <<_ACEOF
72591 #define ${ac_tr_func} 1
72592 _ACEOF
72600 echo "$as_me:$LINENO: checking for main in -lm" >&5
72601 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72602 if test "${ac_cv_lib_m_main+set}" = set; then
72603 echo $ECHO_N "(cached) $ECHO_C" >&6
72604 else
72605 ac_check_lib_save_LIBS=$LIBS
72606 LIBS="-lm $LIBS"
72607 if test x$gcc_no_link = xyes; then
72608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72610 { (exit 1); exit 1; }; }
72612 cat >conftest.$ac_ext <<_ACEOF
72613 /* confdefs.h. */
72614 _ACEOF
72615 cat confdefs.h >>conftest.$ac_ext
72616 cat >>conftest.$ac_ext <<_ACEOF
72617 /* end confdefs.h. */
72621 main ()
72623 main ();
72625 return 0;
72627 _ACEOF
72628 rm -f conftest.$ac_objext conftest$ac_exeext
72629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72630 (eval $ac_link) 2>conftest.er1
72631 ac_status=$?
72632 grep -v '^ *+' conftest.er1 >conftest.err
72633 rm -f conftest.er1
72634 cat conftest.err >&5
72635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72636 (exit $ac_status); } &&
72637 { ac_try='test -z "$ac_c_werror_flag"
72638 || test ! -s conftest.err'
72639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72640 (eval $ac_try) 2>&5
72641 ac_status=$?
72642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72643 (exit $ac_status); }; } &&
72644 { ac_try='test -s conftest$ac_exeext'
72645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72646 (eval $ac_try) 2>&5
72647 ac_status=$?
72648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72649 (exit $ac_status); }; }; then
72650 ac_cv_lib_m_main=yes
72651 else
72652 echo "$as_me: failed program was:" >&5
72653 sed 's/^/| /' conftest.$ac_ext >&5
72655 ac_cv_lib_m_main=no
72657 rm -f conftest.err conftest.$ac_objext \
72658 conftest$ac_exeext conftest.$ac_ext
72659 LIBS=$ac_check_lib_save_LIBS
72661 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72662 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72663 if test $ac_cv_lib_m_main = yes; then
72664 cat >>confdefs.h <<_ACEOF
72665 #define HAVE_LIBM 1
72666 _ACEOF
72668 LIBS="-lm $LIBS"
72673 for ac_func in copysignf
72675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72676 echo "$as_me:$LINENO: checking for $ac_func" >&5
72677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72678 if eval "test \"\${$as_ac_var+set}\" = set"; then
72679 echo $ECHO_N "(cached) $ECHO_C" >&6
72680 else
72681 if test x$gcc_no_link = xyes; then
72682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72684 { (exit 1); exit 1; }; }
72686 cat >conftest.$ac_ext <<_ACEOF
72687 /* confdefs.h. */
72688 _ACEOF
72689 cat confdefs.h >>conftest.$ac_ext
72690 cat >>conftest.$ac_ext <<_ACEOF
72691 /* end confdefs.h. */
72692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72694 #define $ac_func innocuous_$ac_func
72696 /* System header to define __stub macros and hopefully few prototypes,
72697 which can conflict with char $ac_func (); below.
72698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72699 <limits.h> exists even on freestanding compilers. */
72701 #ifdef __STDC__
72702 # include <limits.h>
72703 #else
72704 # include <assert.h>
72705 #endif
72707 #undef $ac_func
72709 /* Override any gcc2 internal prototype to avoid an error. */
72710 #ifdef __cplusplus
72711 extern "C"
72713 #endif
72714 /* We use char because int might match the return type of a gcc2
72715 builtin and then its argument prototype would still apply. */
72716 char $ac_func ();
72717 /* The GNU C library defines this for functions which it implements
72718 to always fail with ENOSYS. Some functions are actually named
72719 something starting with __ and the normal name is an alias. */
72720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72721 choke me
72722 #else
72723 char (*f) () = $ac_func;
72724 #endif
72725 #ifdef __cplusplus
72727 #endif
72730 main ()
72732 return f != $ac_func;
72734 return 0;
72736 _ACEOF
72737 rm -f conftest.$ac_objext conftest$ac_exeext
72738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72739 (eval $ac_link) 2>conftest.er1
72740 ac_status=$?
72741 grep -v '^ *+' conftest.er1 >conftest.err
72742 rm -f conftest.er1
72743 cat conftest.err >&5
72744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72745 (exit $ac_status); } &&
72746 { ac_try='test -z "$ac_c_werror_flag"
72747 || test ! -s conftest.err'
72748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72749 (eval $ac_try) 2>&5
72750 ac_status=$?
72751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72752 (exit $ac_status); }; } &&
72753 { ac_try='test -s conftest$ac_exeext'
72754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72755 (eval $ac_try) 2>&5
72756 ac_status=$?
72757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72758 (exit $ac_status); }; }; then
72759 eval "$as_ac_var=yes"
72760 else
72761 echo "$as_me: failed program was:" >&5
72762 sed 's/^/| /' conftest.$ac_ext >&5
72764 eval "$as_ac_var=no"
72766 rm -f conftest.err conftest.$ac_objext \
72767 conftest$ac_exeext conftest.$ac_ext
72769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72771 if test `eval echo '${'$as_ac_var'}'` = yes; then
72772 cat >>confdefs.h <<_ACEOF
72773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72774 _ACEOF
72776 else
72777 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72779 done
72783 for ac_func in __signbit
72785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72786 echo "$as_me:$LINENO: checking for $ac_func" >&5
72787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72788 if eval "test \"\${$as_ac_var+set}\" = set"; then
72789 echo $ECHO_N "(cached) $ECHO_C" >&6
72790 else
72791 if test x$gcc_no_link = xyes; then
72792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72794 { (exit 1); exit 1; }; }
72796 cat >conftest.$ac_ext <<_ACEOF
72797 /* confdefs.h. */
72798 _ACEOF
72799 cat confdefs.h >>conftest.$ac_ext
72800 cat >>conftest.$ac_ext <<_ACEOF
72801 /* end confdefs.h. */
72802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72804 #define $ac_func innocuous_$ac_func
72806 /* System header to define __stub macros and hopefully few prototypes,
72807 which can conflict with char $ac_func (); below.
72808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72809 <limits.h> exists even on freestanding compilers. */
72811 #ifdef __STDC__
72812 # include <limits.h>
72813 #else
72814 # include <assert.h>
72815 #endif
72817 #undef $ac_func
72819 /* Override any gcc2 internal prototype to avoid an error. */
72820 #ifdef __cplusplus
72821 extern "C"
72823 #endif
72824 /* We use char because int might match the return type of a gcc2
72825 builtin and then its argument prototype would still apply. */
72826 char $ac_func ();
72827 /* The GNU C library defines this for functions which it implements
72828 to always fail with ENOSYS. Some functions are actually named
72829 something starting with __ and the normal name is an alias. */
72830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72831 choke me
72832 #else
72833 char (*f) () = $ac_func;
72834 #endif
72835 #ifdef __cplusplus
72837 #endif
72840 main ()
72842 return f != $ac_func;
72844 return 0;
72846 _ACEOF
72847 rm -f conftest.$ac_objext conftest$ac_exeext
72848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72849 (eval $ac_link) 2>conftest.er1
72850 ac_status=$?
72851 grep -v '^ *+' conftest.er1 >conftest.err
72852 rm -f conftest.er1
72853 cat conftest.err >&5
72854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72855 (exit $ac_status); } &&
72856 { ac_try='test -z "$ac_c_werror_flag"
72857 || test ! -s conftest.err'
72858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72859 (eval $ac_try) 2>&5
72860 ac_status=$?
72861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72862 (exit $ac_status); }; } &&
72863 { ac_try='test -s conftest$ac_exeext'
72864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72865 (eval $ac_try) 2>&5
72866 ac_status=$?
72867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72868 (exit $ac_status); }; }; then
72869 eval "$as_ac_var=yes"
72870 else
72871 echo "$as_me: failed program was:" >&5
72872 sed 's/^/| /' conftest.$ac_ext >&5
72874 eval "$as_ac_var=no"
72876 rm -f conftest.err conftest.$ac_objext \
72877 conftest$ac_exeext conftest.$ac_ext
72879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72881 if test `eval echo '${'$as_ac_var'}'` = yes; then
72882 cat >>confdefs.h <<_ACEOF
72883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72884 _ACEOF
72886 else
72887 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72889 done
72893 for ac_func in __signbitf
72895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72896 echo "$as_me:$LINENO: checking for $ac_func" >&5
72897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72898 if eval "test \"\${$as_ac_var+set}\" = set"; then
72899 echo $ECHO_N "(cached) $ECHO_C" >&6
72900 else
72901 if test x$gcc_no_link = xyes; then
72902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72904 { (exit 1); exit 1; }; }
72906 cat >conftest.$ac_ext <<_ACEOF
72907 /* confdefs.h. */
72908 _ACEOF
72909 cat confdefs.h >>conftest.$ac_ext
72910 cat >>conftest.$ac_ext <<_ACEOF
72911 /* end confdefs.h. */
72912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72914 #define $ac_func innocuous_$ac_func
72916 /* System header to define __stub macros and hopefully few prototypes,
72917 which can conflict with char $ac_func (); below.
72918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72919 <limits.h> exists even on freestanding compilers. */
72921 #ifdef __STDC__
72922 # include <limits.h>
72923 #else
72924 # include <assert.h>
72925 #endif
72927 #undef $ac_func
72929 /* Override any gcc2 internal prototype to avoid an error. */
72930 #ifdef __cplusplus
72931 extern "C"
72933 #endif
72934 /* We use char because int might match the return type of a gcc2
72935 builtin and then its argument prototype would still apply. */
72936 char $ac_func ();
72937 /* The GNU C library defines this for functions which it implements
72938 to always fail with ENOSYS. Some functions are actually named
72939 something starting with __ and the normal name is an alias. */
72940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72941 choke me
72942 #else
72943 char (*f) () = $ac_func;
72944 #endif
72945 #ifdef __cplusplus
72947 #endif
72950 main ()
72952 return f != $ac_func;
72954 return 0;
72956 _ACEOF
72957 rm -f conftest.$ac_objext conftest$ac_exeext
72958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72959 (eval $ac_link) 2>conftest.er1
72960 ac_status=$?
72961 grep -v '^ *+' conftest.er1 >conftest.err
72962 rm -f conftest.er1
72963 cat conftest.err >&5
72964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72965 (exit $ac_status); } &&
72966 { ac_try='test -z "$ac_c_werror_flag"
72967 || test ! -s conftest.err'
72968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72969 (eval $ac_try) 2>&5
72970 ac_status=$?
72971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72972 (exit $ac_status); }; } &&
72973 { ac_try='test -s conftest$ac_exeext'
72974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72975 (eval $ac_try) 2>&5
72976 ac_status=$?
72977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72978 (exit $ac_status); }; }; then
72979 eval "$as_ac_var=yes"
72980 else
72981 echo "$as_me: failed program was:" >&5
72982 sed 's/^/| /' conftest.$ac_ext >&5
72984 eval "$as_ac_var=no"
72986 rm -f conftest.err conftest.$ac_objext \
72987 conftest$ac_exeext conftest.$ac_ext
72989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72991 if test `eval echo '${'$as_ac_var'}'` = yes; then
72992 cat >>confdefs.h <<_ACEOF
72993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72994 _ACEOF
72996 else
72997 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72999 done
73002 if test x$ac_cv_func_copysignl = x"yes"; then
73004 for ac_func in __signbitl
73006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73007 echo "$as_me:$LINENO: checking for $ac_func" >&5
73008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73009 if eval "test \"\${$as_ac_var+set}\" = set"; then
73010 echo $ECHO_N "(cached) $ECHO_C" >&6
73011 else
73012 if test x$gcc_no_link = xyes; then
73013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73015 { (exit 1); exit 1; }; }
73017 cat >conftest.$ac_ext <<_ACEOF
73018 /* confdefs.h. */
73019 _ACEOF
73020 cat confdefs.h >>conftest.$ac_ext
73021 cat >>conftest.$ac_ext <<_ACEOF
73022 /* end confdefs.h. */
73023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73025 #define $ac_func innocuous_$ac_func
73027 /* System header to define __stub macros and hopefully few prototypes,
73028 which can conflict with char $ac_func (); below.
73029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73030 <limits.h> exists even on freestanding compilers. */
73032 #ifdef __STDC__
73033 # include <limits.h>
73034 #else
73035 # include <assert.h>
73036 #endif
73038 #undef $ac_func
73040 /* Override any gcc2 internal prototype to avoid an error. */
73041 #ifdef __cplusplus
73042 extern "C"
73044 #endif
73045 /* We use char because int might match the return type of a gcc2
73046 builtin and then its argument prototype would still apply. */
73047 char $ac_func ();
73048 /* The GNU C library defines this for functions which it implements
73049 to always fail with ENOSYS. Some functions are actually named
73050 something starting with __ and the normal name is an alias. */
73051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73052 choke me
73053 #else
73054 char (*f) () = $ac_func;
73055 #endif
73056 #ifdef __cplusplus
73058 #endif
73061 main ()
73063 return f != $ac_func;
73065 return 0;
73067 _ACEOF
73068 rm -f conftest.$ac_objext conftest$ac_exeext
73069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73070 (eval $ac_link) 2>conftest.er1
73071 ac_status=$?
73072 grep -v '^ *+' conftest.er1 >conftest.err
73073 rm -f conftest.er1
73074 cat conftest.err >&5
73075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73076 (exit $ac_status); } &&
73077 { ac_try='test -z "$ac_c_werror_flag"
73078 || test ! -s conftest.err'
73079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73080 (eval $ac_try) 2>&5
73081 ac_status=$?
73082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73083 (exit $ac_status); }; } &&
73084 { ac_try='test -s conftest$ac_exeext'
73085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73086 (eval $ac_try) 2>&5
73087 ac_status=$?
73088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73089 (exit $ac_status); }; }; then
73090 eval "$as_ac_var=yes"
73091 else
73092 echo "$as_me: failed program was:" >&5
73093 sed 's/^/| /' conftest.$ac_ext >&5
73095 eval "$as_ac_var=no"
73097 rm -f conftest.err conftest.$ac_objext \
73098 conftest$ac_exeext conftest.$ac_ext
73100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73102 if test `eval echo '${'$as_ac_var'}'` = yes; then
73103 cat >>confdefs.h <<_ACEOF
73104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73105 _ACEOF
73107 else
73108 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73110 done
73114 # Used in libmath/Makefile.am.
73115 if test -n "$LIBMATHOBJS"; then
73116 need_libmath=yes
73121 # Test wchar.h for mbstate_t, which is needed for char_traits and
73122 # others even if wchar_t support is not on.
73123 echo "$as_me:$LINENO: checking for mbstate_t" >&5
73124 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
73125 cat >conftest.$ac_ext <<_ACEOF
73126 /* confdefs.h. */
73127 _ACEOF
73128 cat confdefs.h >>conftest.$ac_ext
73129 cat >>conftest.$ac_ext <<_ACEOF
73130 /* end confdefs.h. */
73131 #include <wchar.h>
73133 main ()
73135 mbstate_t teststate;
73137 return 0;
73139 _ACEOF
73140 rm -f conftest.$ac_objext
73141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73142 (eval $ac_compile) 2>conftest.er1
73143 ac_status=$?
73144 grep -v '^ *+' conftest.er1 >conftest.err
73145 rm -f conftest.er1
73146 cat conftest.err >&5
73147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73148 (exit $ac_status); } &&
73149 { ac_try='test -z "$ac_c_werror_flag"
73150 || test ! -s conftest.err'
73151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73152 (eval $ac_try) 2>&5
73153 ac_status=$?
73154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73155 (exit $ac_status); }; } &&
73156 { ac_try='test -s conftest.$ac_objext'
73157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73158 (eval $ac_try) 2>&5
73159 ac_status=$?
73160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73161 (exit $ac_status); }; }; then
73162 have_mbstate_t=yes
73163 else
73164 echo "$as_me: failed program was:" >&5
73165 sed 's/^/| /' conftest.$ac_ext >&5
73167 have_mbstate_t=no
73169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73170 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
73171 echo "${ECHO_T}$have_mbstate_t" >&6
73172 if test x"$have_mbstate_t" = xyes; then
73173 cat >>confdefs.h <<\_ACEOF
73174 #define HAVE_MBSTATE_T 1
73175 _ACEOF
73179 # Sanity check for existence of ISO C99 headers for extended encoding.
73181 for ac_header in wchar.h
73183 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73185 echo "$as_me:$LINENO: checking for $ac_header" >&5
73186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73188 echo $ECHO_N "(cached) $ECHO_C" >&6
73190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73192 else
73193 # Is the header compilable?
73194 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73195 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73196 cat >conftest.$ac_ext <<_ACEOF
73197 /* confdefs.h. */
73198 _ACEOF
73199 cat confdefs.h >>conftest.$ac_ext
73200 cat >>conftest.$ac_ext <<_ACEOF
73201 /* end confdefs.h. */
73202 $ac_includes_default
73203 #include <$ac_header>
73204 _ACEOF
73205 rm -f conftest.$ac_objext
73206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73207 (eval $ac_compile) 2>conftest.er1
73208 ac_status=$?
73209 grep -v '^ *+' conftest.er1 >conftest.err
73210 rm -f conftest.er1
73211 cat conftest.err >&5
73212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73213 (exit $ac_status); } &&
73214 { ac_try='test -z "$ac_c_werror_flag"
73215 || test ! -s conftest.err'
73216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73217 (eval $ac_try) 2>&5
73218 ac_status=$?
73219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73220 (exit $ac_status); }; } &&
73221 { ac_try='test -s conftest.$ac_objext'
73222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73223 (eval $ac_try) 2>&5
73224 ac_status=$?
73225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73226 (exit $ac_status); }; }; then
73227 ac_header_compiler=yes
73228 else
73229 echo "$as_me: failed program was:" >&5
73230 sed 's/^/| /' conftest.$ac_ext >&5
73232 ac_header_compiler=no
73234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73235 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73236 echo "${ECHO_T}$ac_header_compiler" >&6
73238 # Is the header present?
73239 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73240 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73241 cat >conftest.$ac_ext <<_ACEOF
73242 /* confdefs.h. */
73243 _ACEOF
73244 cat confdefs.h >>conftest.$ac_ext
73245 cat >>conftest.$ac_ext <<_ACEOF
73246 /* end confdefs.h. */
73247 #include <$ac_header>
73248 _ACEOF
73249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73251 ac_status=$?
73252 grep -v '^ *+' conftest.er1 >conftest.err
73253 rm -f conftest.er1
73254 cat conftest.err >&5
73255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73256 (exit $ac_status); } >/dev/null; then
73257 if test -s conftest.err; then
73258 ac_cpp_err=$ac_c_preproc_warn_flag
73259 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73260 else
73261 ac_cpp_err=
73263 else
73264 ac_cpp_err=yes
73266 if test -z "$ac_cpp_err"; then
73267 ac_header_preproc=yes
73268 else
73269 echo "$as_me: failed program was:" >&5
73270 sed 's/^/| /' conftest.$ac_ext >&5
73272 ac_header_preproc=no
73274 rm -f conftest.err conftest.$ac_ext
73275 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73276 echo "${ECHO_T}$ac_header_preproc" >&6
73278 # So? What about this header?
73279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73280 yes:no: )
73281 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73282 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73284 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73285 ac_header_preproc=yes
73287 no:yes:* )
73288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73291 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73292 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73293 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73294 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73295 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73298 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73299 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73301 cat <<\_ASBOX
73302 ## ----------------------------------------- ##
73303 ## Report this to the package-unused lists. ##
73304 ## ----------------------------------------- ##
73305 _ASBOX
73307 sed "s/^/$as_me: WARNING: /" >&2
73309 esac
73310 echo "$as_me:$LINENO: checking for $ac_header" >&5
73311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73313 echo $ECHO_N "(cached) $ECHO_C" >&6
73314 else
73315 eval "$as_ac_Header=\$ac_header_preproc"
73317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73322 cat >>confdefs.h <<_ACEOF
73323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73324 _ACEOF
73325 ac_has_wchar_h=yes
73326 else
73327 ac_has_wchar_h=no
73330 done
73333 for ac_header in wctype.h
73335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73337 echo "$as_me:$LINENO: checking for $ac_header" >&5
73338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73340 echo $ECHO_N "(cached) $ECHO_C" >&6
73342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73344 else
73345 # Is the header compilable?
73346 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73347 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73348 cat >conftest.$ac_ext <<_ACEOF
73349 /* confdefs.h. */
73350 _ACEOF
73351 cat confdefs.h >>conftest.$ac_ext
73352 cat >>conftest.$ac_ext <<_ACEOF
73353 /* end confdefs.h. */
73354 $ac_includes_default
73355 #include <$ac_header>
73356 _ACEOF
73357 rm -f conftest.$ac_objext
73358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73359 (eval $ac_compile) 2>conftest.er1
73360 ac_status=$?
73361 grep -v '^ *+' conftest.er1 >conftest.err
73362 rm -f conftest.er1
73363 cat conftest.err >&5
73364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73365 (exit $ac_status); } &&
73366 { ac_try='test -z "$ac_c_werror_flag"
73367 || test ! -s conftest.err'
73368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73369 (eval $ac_try) 2>&5
73370 ac_status=$?
73371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73372 (exit $ac_status); }; } &&
73373 { ac_try='test -s conftest.$ac_objext'
73374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73375 (eval $ac_try) 2>&5
73376 ac_status=$?
73377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73378 (exit $ac_status); }; }; then
73379 ac_header_compiler=yes
73380 else
73381 echo "$as_me: failed program was:" >&5
73382 sed 's/^/| /' conftest.$ac_ext >&5
73384 ac_header_compiler=no
73386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73387 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73388 echo "${ECHO_T}$ac_header_compiler" >&6
73390 # Is the header present?
73391 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73392 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73393 cat >conftest.$ac_ext <<_ACEOF
73394 /* confdefs.h. */
73395 _ACEOF
73396 cat confdefs.h >>conftest.$ac_ext
73397 cat >>conftest.$ac_ext <<_ACEOF
73398 /* end confdefs.h. */
73399 #include <$ac_header>
73400 _ACEOF
73401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73403 ac_status=$?
73404 grep -v '^ *+' conftest.er1 >conftest.err
73405 rm -f conftest.er1
73406 cat conftest.err >&5
73407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73408 (exit $ac_status); } >/dev/null; then
73409 if test -s conftest.err; then
73410 ac_cpp_err=$ac_c_preproc_warn_flag
73411 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73412 else
73413 ac_cpp_err=
73415 else
73416 ac_cpp_err=yes
73418 if test -z "$ac_cpp_err"; then
73419 ac_header_preproc=yes
73420 else
73421 echo "$as_me: failed program was:" >&5
73422 sed 's/^/| /' conftest.$ac_ext >&5
73424 ac_header_preproc=no
73426 rm -f conftest.err conftest.$ac_ext
73427 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73428 echo "${ECHO_T}$ac_header_preproc" >&6
73430 # So? What about this header?
73431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73432 yes:no: )
73433 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73434 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73436 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73437 ac_header_preproc=yes
73439 no:yes:* )
73440 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73441 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73442 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73443 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73444 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73445 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73446 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73447 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73450 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73451 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73453 cat <<\_ASBOX
73454 ## ----------------------------------------- ##
73455 ## Report this to the package-unused lists. ##
73456 ## ----------------------------------------- ##
73457 _ASBOX
73459 sed "s/^/$as_me: WARNING: /" >&2
73461 esac
73462 echo "$as_me:$LINENO: checking for $ac_header" >&5
73463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73465 echo $ECHO_N "(cached) $ECHO_C" >&6
73466 else
73467 eval "$as_ac_Header=\$ac_header_preproc"
73469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73474 cat >>confdefs.h <<_ACEOF
73475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73476 _ACEOF
73477 ac_has_wctype_h=yes
73478 else
73479 ac_has_wctype_h=no
73482 done
73485 # Only continue checking if the ISO C99 headers exist and support is on.
73486 if test x"$ac_has_wchar_h" = xyes &&
73487 test x"$ac_has_wctype_h" = xyes &&
73488 test x"$enable_c_mbchar" != xno; then
73490 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73491 # numeric_limits can instantiate type_traits<wchar_t>
73492 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73493 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73494 cat >conftest.$ac_ext <<_ACEOF
73495 /* confdefs.h. */
73496 _ACEOF
73497 cat confdefs.h >>conftest.$ac_ext
73498 cat >>conftest.$ac_ext <<_ACEOF
73499 /* end confdefs.h. */
73500 #include <wchar.h>
73502 main ()
73504 int i = WCHAR_MIN; int j = WCHAR_MAX;
73506 return 0;
73508 _ACEOF
73509 rm -f conftest.$ac_objext
73510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73511 (eval $ac_compile) 2>conftest.er1
73512 ac_status=$?
73513 grep -v '^ *+' conftest.er1 >conftest.err
73514 rm -f conftest.er1
73515 cat conftest.err >&5
73516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73517 (exit $ac_status); } &&
73518 { ac_try='test -z "$ac_c_werror_flag"
73519 || test ! -s conftest.err'
73520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73521 (eval $ac_try) 2>&5
73522 ac_status=$?
73523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73524 (exit $ac_status); }; } &&
73525 { ac_try='test -s conftest.$ac_objext'
73526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73527 (eval $ac_try) 2>&5
73528 ac_status=$?
73529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73530 (exit $ac_status); }; }; then
73531 has_wchar_minmax=yes
73532 else
73533 echo "$as_me: failed program was:" >&5
73534 sed 's/^/| /' conftest.$ac_ext >&5
73536 has_wchar_minmax=no
73538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73539 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73540 echo "${ECHO_T}$has_wchar_minmax" >&6
73542 # Test wchar.h for WEOF, which is what we use to determine whether
73543 # to specialize for char_traits<wchar_t> or not.
73544 echo "$as_me:$LINENO: checking for WEOF" >&5
73545 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73546 cat >conftest.$ac_ext <<_ACEOF
73547 /* confdefs.h. */
73548 _ACEOF
73549 cat confdefs.h >>conftest.$ac_ext
73550 cat >>conftest.$ac_ext <<_ACEOF
73551 /* end confdefs.h. */
73553 #include <wchar.h>
73554 #include <stddef.h>
73556 main ()
73558 wint_t i = WEOF;
73560 return 0;
73562 _ACEOF
73563 rm -f conftest.$ac_objext
73564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73565 (eval $ac_compile) 2>conftest.er1
73566 ac_status=$?
73567 grep -v '^ *+' conftest.er1 >conftest.err
73568 rm -f conftest.er1
73569 cat conftest.err >&5
73570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73571 (exit $ac_status); } &&
73572 { ac_try='test -z "$ac_c_werror_flag"
73573 || test ! -s conftest.err'
73574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73575 (eval $ac_try) 2>&5
73576 ac_status=$?
73577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73578 (exit $ac_status); }; } &&
73579 { ac_try='test -s conftest.$ac_objext'
73580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73581 (eval $ac_try) 2>&5
73582 ac_status=$?
73583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73584 (exit $ac_status); }; }; then
73585 has_weof=yes
73586 else
73587 echo "$as_me: failed program was:" >&5
73588 sed 's/^/| /' conftest.$ac_ext >&5
73590 has_weof=no
73592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73593 echo "$as_me:$LINENO: result: $has_weof" >&5
73594 echo "${ECHO_T}$has_weof" >&6
73596 # Tests for wide character functions used in char_traits<wchar_t>.
73597 ac_wfuncs=yes
73604 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73607 echo "$as_me:$LINENO: checking for $ac_func" >&5
73608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73609 if eval "test \"\${$as_ac_var+set}\" = set"; then
73610 echo $ECHO_N "(cached) $ECHO_C" >&6
73611 else
73612 if test x$gcc_no_link = xyes; then
73613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73615 { (exit 1); exit 1; }; }
73617 cat >conftest.$ac_ext <<_ACEOF
73618 /* confdefs.h. */
73619 _ACEOF
73620 cat confdefs.h >>conftest.$ac_ext
73621 cat >>conftest.$ac_ext <<_ACEOF
73622 /* end confdefs.h. */
73623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73625 #define $ac_func innocuous_$ac_func
73627 /* System header to define __stub macros and hopefully few prototypes,
73628 which can conflict with char $ac_func (); below.
73629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73630 <limits.h> exists even on freestanding compilers. */
73632 #ifdef __STDC__
73633 # include <limits.h>
73634 #else
73635 # include <assert.h>
73636 #endif
73638 #undef $ac_func
73640 /* Override any gcc2 internal prototype to avoid an error. */
73641 #ifdef __cplusplus
73642 extern "C"
73644 #endif
73645 /* We use char because int might match the return type of a gcc2
73646 builtin and then its argument prototype would still apply. */
73647 char $ac_func ();
73648 /* The GNU C library defines this for functions which it implements
73649 to always fail with ENOSYS. Some functions are actually named
73650 something starting with __ and the normal name is an alias. */
73651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73652 choke me
73653 #else
73654 char (*f) () = $ac_func;
73655 #endif
73656 #ifdef __cplusplus
73658 #endif
73661 main ()
73663 return f != $ac_func;
73665 return 0;
73667 _ACEOF
73668 rm -f conftest.$ac_objext conftest$ac_exeext
73669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73670 (eval $ac_link) 2>conftest.er1
73671 ac_status=$?
73672 grep -v '^ *+' conftest.er1 >conftest.err
73673 rm -f conftest.er1
73674 cat conftest.err >&5
73675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73676 (exit $ac_status); } &&
73677 { ac_try='test -z "$ac_c_werror_flag"
73678 || test ! -s conftest.err'
73679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73680 (eval $ac_try) 2>&5
73681 ac_status=$?
73682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73683 (exit $ac_status); }; } &&
73684 { ac_try='test -s conftest$ac_exeext'
73685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73686 (eval $ac_try) 2>&5
73687 ac_status=$?
73688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73689 (exit $ac_status); }; }; then
73690 eval "$as_ac_var=yes"
73691 else
73692 echo "$as_me: failed program was:" >&5
73693 sed 's/^/| /' conftest.$ac_ext >&5
73695 eval "$as_ac_var=no"
73697 rm -f conftest.err conftest.$ac_objext \
73698 conftest$ac_exeext conftest.$ac_ext
73700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73702 if test `eval echo '${'$as_ac_var'}'` = yes; then
73703 cat >>confdefs.h <<_ACEOF
73704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73705 _ACEOF
73707 else
73708 ac_wfuncs=no
73710 done
73713 # Checks for names injected into std:: by the c_std headers.
73760 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73761 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73762 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73763 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73764 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73765 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73768 echo "$as_me:$LINENO: checking for $ac_func" >&5
73769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73770 if eval "test \"\${$as_ac_var+set}\" = set"; then
73771 echo $ECHO_N "(cached) $ECHO_C" >&6
73772 else
73773 if test x$gcc_no_link = xyes; then
73774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73776 { (exit 1); exit 1; }; }
73778 cat >conftest.$ac_ext <<_ACEOF
73779 /* confdefs.h. */
73780 _ACEOF
73781 cat confdefs.h >>conftest.$ac_ext
73782 cat >>conftest.$ac_ext <<_ACEOF
73783 /* end confdefs.h. */
73784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73786 #define $ac_func innocuous_$ac_func
73788 /* System header to define __stub macros and hopefully few prototypes,
73789 which can conflict with char $ac_func (); below.
73790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73791 <limits.h> exists even on freestanding compilers. */
73793 #ifdef __STDC__
73794 # include <limits.h>
73795 #else
73796 # include <assert.h>
73797 #endif
73799 #undef $ac_func
73801 /* Override any gcc2 internal prototype to avoid an error. */
73802 #ifdef __cplusplus
73803 extern "C"
73805 #endif
73806 /* We use char because int might match the return type of a gcc2
73807 builtin and then its argument prototype would still apply. */
73808 char $ac_func ();
73809 /* The GNU C library defines this for functions which it implements
73810 to always fail with ENOSYS. Some functions are actually named
73811 something starting with __ and the normal name is an alias. */
73812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73813 choke me
73814 #else
73815 char (*f) () = $ac_func;
73816 #endif
73817 #ifdef __cplusplus
73819 #endif
73822 main ()
73824 return f != $ac_func;
73826 return 0;
73828 _ACEOF
73829 rm -f conftest.$ac_objext conftest$ac_exeext
73830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73831 (eval $ac_link) 2>conftest.er1
73832 ac_status=$?
73833 grep -v '^ *+' conftest.er1 >conftest.err
73834 rm -f conftest.er1
73835 cat conftest.err >&5
73836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73837 (exit $ac_status); } &&
73838 { ac_try='test -z "$ac_c_werror_flag"
73839 || test ! -s conftest.err'
73840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73841 (eval $ac_try) 2>&5
73842 ac_status=$?
73843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73844 (exit $ac_status); }; } &&
73845 { ac_try='test -s conftest$ac_exeext'
73846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73847 (eval $ac_try) 2>&5
73848 ac_status=$?
73849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73850 (exit $ac_status); }; }; then
73851 eval "$as_ac_var=yes"
73852 else
73853 echo "$as_me: failed program was:" >&5
73854 sed 's/^/| /' conftest.$ac_ext >&5
73856 eval "$as_ac_var=no"
73858 rm -f conftest.err conftest.$ac_objext \
73859 conftest$ac_exeext conftest.$ac_ext
73861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73863 if test `eval echo '${'$as_ac_var'}'` = yes; then
73864 cat >>confdefs.h <<_ACEOF
73865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73866 _ACEOF
73868 else
73869 ac_wfuncs=no
73871 done
73874 # Checks for wide character functions that are not required
73875 # for basic wchar_t support. Don't disable support if they are missing.
73876 # Injection of these is wrapped with guard macros.
73882 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73885 echo "$as_me:$LINENO: checking for $ac_func" >&5
73886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73887 if eval "test \"\${$as_ac_var+set}\" = set"; then
73888 echo $ECHO_N "(cached) $ECHO_C" >&6
73889 else
73890 if test x$gcc_no_link = xyes; then
73891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73893 { (exit 1); exit 1; }; }
73895 cat >conftest.$ac_ext <<_ACEOF
73896 /* confdefs.h. */
73897 _ACEOF
73898 cat confdefs.h >>conftest.$ac_ext
73899 cat >>conftest.$ac_ext <<_ACEOF
73900 /* end confdefs.h. */
73901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73903 #define $ac_func innocuous_$ac_func
73905 /* System header to define __stub macros and hopefully few prototypes,
73906 which can conflict with char $ac_func (); below.
73907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73908 <limits.h> exists even on freestanding compilers. */
73910 #ifdef __STDC__
73911 # include <limits.h>
73912 #else
73913 # include <assert.h>
73914 #endif
73916 #undef $ac_func
73918 /* Override any gcc2 internal prototype to avoid an error. */
73919 #ifdef __cplusplus
73920 extern "C"
73922 #endif
73923 /* We use char because int might match the return type of a gcc2
73924 builtin and then its argument prototype would still apply. */
73925 char $ac_func ();
73926 /* The GNU C library defines this for functions which it implements
73927 to always fail with ENOSYS. Some functions are actually named
73928 something starting with __ and the normal name is an alias. */
73929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73930 choke me
73931 #else
73932 char (*f) () = $ac_func;
73933 #endif
73934 #ifdef __cplusplus
73936 #endif
73939 main ()
73941 return f != $ac_func;
73943 return 0;
73945 _ACEOF
73946 rm -f conftest.$ac_objext conftest$ac_exeext
73947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73948 (eval $ac_link) 2>conftest.er1
73949 ac_status=$?
73950 grep -v '^ *+' conftest.er1 >conftest.err
73951 rm -f conftest.er1
73952 cat conftest.err >&5
73953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73954 (exit $ac_status); } &&
73955 { ac_try='test -z "$ac_c_werror_flag"
73956 || test ! -s conftest.err'
73957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73958 (eval $ac_try) 2>&5
73959 ac_status=$?
73960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73961 (exit $ac_status); }; } &&
73962 { ac_try='test -s conftest$ac_exeext'
73963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73964 (eval $ac_try) 2>&5
73965 ac_status=$?
73966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73967 (exit $ac_status); }; }; then
73968 eval "$as_ac_var=yes"
73969 else
73970 echo "$as_me: failed program was:" >&5
73971 sed 's/^/| /' conftest.$ac_ext >&5
73973 eval "$as_ac_var=no"
73975 rm -f conftest.err conftest.$ac_objext \
73976 conftest$ac_exeext conftest.$ac_ext
73978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73980 if test `eval echo '${'$as_ac_var'}'` = yes; then
73981 cat >>confdefs.h <<_ACEOF
73982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73983 _ACEOF
73986 done
73989 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
73990 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
73991 if test x"$has_weof" = xyes &&
73992 test x"$has_wchar_minmax" = xyes &&
73993 test x"$ac_wfuncs" = xyes;
73994 then
73995 ac_isoC99_wchar_t=yes
73996 else
73997 ac_isoC99_wchar_t=no
73999 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
74000 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
74002 # Use iconv for wchar_t to char conversions. As such, check for
74003 # X/Open Portability Guide, version 2 features (XPG2).
74004 if test "${ac_cv_header_iconv_h+set}" = set; then
74005 echo "$as_me:$LINENO: checking for iconv.h" >&5
74006 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74007 if test "${ac_cv_header_iconv_h+set}" = set; then
74008 echo $ECHO_N "(cached) $ECHO_C" >&6
74010 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74011 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74012 else
74013 # Is the header compilable?
74014 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74015 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74016 cat >conftest.$ac_ext <<_ACEOF
74017 /* confdefs.h. */
74018 _ACEOF
74019 cat confdefs.h >>conftest.$ac_ext
74020 cat >>conftest.$ac_ext <<_ACEOF
74021 /* end confdefs.h. */
74022 $ac_includes_default
74023 #include <iconv.h>
74024 _ACEOF
74025 rm -f conftest.$ac_objext
74026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74027 (eval $ac_compile) 2>conftest.er1
74028 ac_status=$?
74029 grep -v '^ *+' conftest.er1 >conftest.err
74030 rm -f conftest.er1
74031 cat conftest.err >&5
74032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74033 (exit $ac_status); } &&
74034 { ac_try='test -z "$ac_c_werror_flag"
74035 || test ! -s conftest.err'
74036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74037 (eval $ac_try) 2>&5
74038 ac_status=$?
74039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74040 (exit $ac_status); }; } &&
74041 { ac_try='test -s conftest.$ac_objext'
74042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74043 (eval $ac_try) 2>&5
74044 ac_status=$?
74045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74046 (exit $ac_status); }; }; then
74047 ac_header_compiler=yes
74048 else
74049 echo "$as_me: failed program was:" >&5
74050 sed 's/^/| /' conftest.$ac_ext >&5
74052 ac_header_compiler=no
74054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74056 echo "${ECHO_T}$ac_header_compiler" >&6
74058 # Is the header present?
74059 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74060 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74061 cat >conftest.$ac_ext <<_ACEOF
74062 /* confdefs.h. */
74063 _ACEOF
74064 cat confdefs.h >>conftest.$ac_ext
74065 cat >>conftest.$ac_ext <<_ACEOF
74066 /* end confdefs.h. */
74067 #include <iconv.h>
74068 _ACEOF
74069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74071 ac_status=$?
74072 grep -v '^ *+' conftest.er1 >conftest.err
74073 rm -f conftest.er1
74074 cat conftest.err >&5
74075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74076 (exit $ac_status); } >/dev/null; then
74077 if test -s conftest.err; then
74078 ac_cpp_err=$ac_c_preproc_warn_flag
74079 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74080 else
74081 ac_cpp_err=
74083 else
74084 ac_cpp_err=yes
74086 if test -z "$ac_cpp_err"; then
74087 ac_header_preproc=yes
74088 else
74089 echo "$as_me: failed program was:" >&5
74090 sed 's/^/| /' conftest.$ac_ext >&5
74092 ac_header_preproc=no
74094 rm -f conftest.err conftest.$ac_ext
74095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74096 echo "${ECHO_T}$ac_header_preproc" >&6
74098 # So? What about this header?
74099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74100 yes:no: )
74101 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74102 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74103 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74104 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74105 ac_header_preproc=yes
74107 no:yes:* )
74108 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74109 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74110 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74111 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74112 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74113 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74114 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74115 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74116 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74117 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74118 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74119 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74121 cat <<\_ASBOX
74122 ## ----------------------------------------- ##
74123 ## Report this to the package-unused lists. ##
74124 ## ----------------------------------------- ##
74125 _ASBOX
74127 sed "s/^/$as_me: WARNING: /" >&2
74129 esac
74130 echo "$as_me:$LINENO: checking for iconv.h" >&5
74131 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74132 if test "${ac_cv_header_iconv_h+set}" = set; then
74133 echo $ECHO_N "(cached) $ECHO_C" >&6
74134 else
74135 ac_cv_header_iconv_h=$ac_header_preproc
74137 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74138 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74141 if test $ac_cv_header_iconv_h = yes; then
74142 ac_has_iconv_h=yes
74143 else
74144 ac_has_iconv_h=no
74148 if test "${ac_cv_header_langinfo_h+set}" = set; then
74149 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74150 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74151 if test "${ac_cv_header_langinfo_h+set}" = set; then
74152 echo $ECHO_N "(cached) $ECHO_C" >&6
74154 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74155 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74156 else
74157 # Is the header compilable?
74158 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74159 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74160 cat >conftest.$ac_ext <<_ACEOF
74161 /* confdefs.h. */
74162 _ACEOF
74163 cat confdefs.h >>conftest.$ac_ext
74164 cat >>conftest.$ac_ext <<_ACEOF
74165 /* end confdefs.h. */
74166 $ac_includes_default
74167 #include <langinfo.h>
74168 _ACEOF
74169 rm -f conftest.$ac_objext
74170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74171 (eval $ac_compile) 2>conftest.er1
74172 ac_status=$?
74173 grep -v '^ *+' conftest.er1 >conftest.err
74174 rm -f conftest.er1
74175 cat conftest.err >&5
74176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74177 (exit $ac_status); } &&
74178 { ac_try='test -z "$ac_c_werror_flag"
74179 || test ! -s conftest.err'
74180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74181 (eval $ac_try) 2>&5
74182 ac_status=$?
74183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74184 (exit $ac_status); }; } &&
74185 { ac_try='test -s conftest.$ac_objext'
74186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74187 (eval $ac_try) 2>&5
74188 ac_status=$?
74189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74190 (exit $ac_status); }; }; then
74191 ac_header_compiler=yes
74192 else
74193 echo "$as_me: failed program was:" >&5
74194 sed 's/^/| /' conftest.$ac_ext >&5
74196 ac_header_compiler=no
74198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74200 echo "${ECHO_T}$ac_header_compiler" >&6
74202 # Is the header present?
74203 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74204 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74205 cat >conftest.$ac_ext <<_ACEOF
74206 /* confdefs.h. */
74207 _ACEOF
74208 cat confdefs.h >>conftest.$ac_ext
74209 cat >>conftest.$ac_ext <<_ACEOF
74210 /* end confdefs.h. */
74211 #include <langinfo.h>
74212 _ACEOF
74213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74215 ac_status=$?
74216 grep -v '^ *+' conftest.er1 >conftest.err
74217 rm -f conftest.er1
74218 cat conftest.err >&5
74219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74220 (exit $ac_status); } >/dev/null; then
74221 if test -s conftest.err; then
74222 ac_cpp_err=$ac_c_preproc_warn_flag
74223 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74224 else
74225 ac_cpp_err=
74227 else
74228 ac_cpp_err=yes
74230 if test -z "$ac_cpp_err"; then
74231 ac_header_preproc=yes
74232 else
74233 echo "$as_me: failed program was:" >&5
74234 sed 's/^/| /' conftest.$ac_ext >&5
74236 ac_header_preproc=no
74238 rm -f conftest.err conftest.$ac_ext
74239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74240 echo "${ECHO_T}$ac_header_preproc" >&6
74242 # So? What about this header?
74243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74244 yes:no: )
74245 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74246 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74247 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74248 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74249 ac_header_preproc=yes
74251 no:yes:* )
74252 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74253 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74254 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74255 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74256 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74257 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74258 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74259 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74260 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74261 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74262 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74263 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74265 cat <<\_ASBOX
74266 ## ----------------------------------------- ##
74267 ## Report this to the package-unused lists. ##
74268 ## ----------------------------------------- ##
74269 _ASBOX
74271 sed "s/^/$as_me: WARNING: /" >&2
74273 esac
74274 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74275 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74276 if test "${ac_cv_header_langinfo_h+set}" = set; then
74277 echo $ECHO_N "(cached) $ECHO_C" >&6
74278 else
74279 ac_cv_header_langinfo_h=$ac_header_preproc
74281 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74282 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74285 if test $ac_cv_header_langinfo_h = yes; then
74286 ac_has_langinfo_h=yes
74287 else
74288 ac_has_langinfo_h=no
74293 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74294 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74295 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74296 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74297 echo $ECHO_N "(cached) $ECHO_C" >&6
74298 else
74299 ac_check_lib_save_LIBS=$LIBS
74300 LIBS="-liconv $LIBS"
74301 if test x$gcc_no_link = xyes; then
74302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74304 { (exit 1); exit 1; }; }
74306 cat >conftest.$ac_ext <<_ACEOF
74307 /* confdefs.h. */
74308 _ACEOF
74309 cat confdefs.h >>conftest.$ac_ext
74310 cat >>conftest.$ac_ext <<_ACEOF
74311 /* end confdefs.h. */
74313 /* Override any gcc2 internal prototype to avoid an error. */
74314 #ifdef __cplusplus
74315 extern "C"
74316 #endif
74317 /* We use char because int might match the return type of a gcc2
74318 builtin and then its argument prototype would still apply. */
74319 char iconv ();
74321 main ()
74323 iconv ();
74325 return 0;
74327 _ACEOF
74328 rm -f conftest.$ac_objext conftest$ac_exeext
74329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74330 (eval $ac_link) 2>conftest.er1
74331 ac_status=$?
74332 grep -v '^ *+' conftest.er1 >conftest.err
74333 rm -f conftest.er1
74334 cat conftest.err >&5
74335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74336 (exit $ac_status); } &&
74337 { ac_try='test -z "$ac_c_werror_flag"
74338 || test ! -s conftest.err'
74339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74340 (eval $ac_try) 2>&5
74341 ac_status=$?
74342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74343 (exit $ac_status); }; } &&
74344 { ac_try='test -s conftest$ac_exeext'
74345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74346 (eval $ac_try) 2>&5
74347 ac_status=$?
74348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74349 (exit $ac_status); }; }; then
74350 ac_cv_lib_iconv_iconv=yes
74351 else
74352 echo "$as_me: failed program was:" >&5
74353 sed 's/^/| /' conftest.$ac_ext >&5
74355 ac_cv_lib_iconv_iconv=no
74357 rm -f conftest.err conftest.$ac_objext \
74358 conftest$ac_exeext conftest.$ac_ext
74359 LIBS=$ac_check_lib_save_LIBS
74361 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74362 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74363 if test $ac_cv_lib_iconv_iconv = yes; then
74364 LIBICONV="-liconv"
74367 ac_save_LIBS="$LIBS"
74368 LIBS="$LIBS $LIBICONV"
74375 for ac_func in iconv_open iconv_close iconv nl_langinfo
74377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74378 echo "$as_me:$LINENO: checking for $ac_func" >&5
74379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74380 if eval "test \"\${$as_ac_var+set}\" = set"; then
74381 echo $ECHO_N "(cached) $ECHO_C" >&6
74382 else
74383 if test x$gcc_no_link = xyes; then
74384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74386 { (exit 1); exit 1; }; }
74388 cat >conftest.$ac_ext <<_ACEOF
74389 /* confdefs.h. */
74390 _ACEOF
74391 cat confdefs.h >>conftest.$ac_ext
74392 cat >>conftest.$ac_ext <<_ACEOF
74393 /* end confdefs.h. */
74394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74396 #define $ac_func innocuous_$ac_func
74398 /* System header to define __stub macros and hopefully few prototypes,
74399 which can conflict with char $ac_func (); below.
74400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74401 <limits.h> exists even on freestanding compilers. */
74403 #ifdef __STDC__
74404 # include <limits.h>
74405 #else
74406 # include <assert.h>
74407 #endif
74409 #undef $ac_func
74411 /* Override any gcc2 internal prototype to avoid an error. */
74412 #ifdef __cplusplus
74413 extern "C"
74415 #endif
74416 /* We use char because int might match the return type of a gcc2
74417 builtin and then its argument prototype would still apply. */
74418 char $ac_func ();
74419 /* The GNU C library defines this for functions which it implements
74420 to always fail with ENOSYS. Some functions are actually named
74421 something starting with __ and the normal name is an alias. */
74422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74423 choke me
74424 #else
74425 char (*f) () = $ac_func;
74426 #endif
74427 #ifdef __cplusplus
74429 #endif
74432 main ()
74434 return f != $ac_func;
74436 return 0;
74438 _ACEOF
74439 rm -f conftest.$ac_objext conftest$ac_exeext
74440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74441 (eval $ac_link) 2>conftest.er1
74442 ac_status=$?
74443 grep -v '^ *+' conftest.er1 >conftest.err
74444 rm -f conftest.er1
74445 cat conftest.err >&5
74446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74447 (exit $ac_status); } &&
74448 { ac_try='test -z "$ac_c_werror_flag"
74449 || test ! -s conftest.err'
74450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74451 (eval $ac_try) 2>&5
74452 ac_status=$?
74453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74454 (exit $ac_status); }; } &&
74455 { ac_try='test -s conftest$ac_exeext'
74456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74457 (eval $ac_try) 2>&5
74458 ac_status=$?
74459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74460 (exit $ac_status); }; }; then
74461 eval "$as_ac_var=yes"
74462 else
74463 echo "$as_me: failed program was:" >&5
74464 sed 's/^/| /' conftest.$ac_ext >&5
74466 eval "$as_ac_var=no"
74468 rm -f conftest.err conftest.$ac_objext \
74469 conftest$ac_exeext conftest.$ac_ext
74471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74473 if test `eval echo '${'$as_ac_var'}'` = yes; then
74474 cat >>confdefs.h <<_ACEOF
74475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74476 _ACEOF
74477 ac_XPG2funcs=yes
74478 else
74479 ac_XPG2funcs=no
74481 done
74484 LIBS="$ac_save_LIBS"
74486 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74487 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74488 if test x"$ac_has_iconv_h" = xyes &&
74489 test x"$ac_has_langinfo_h" = xyes &&
74490 test x"$ac_XPG2funcs" = xyes;
74491 then
74492 ac_XPG2_wchar_t=yes
74493 else
74494 ac_XPG2_wchar_t=no
74496 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74497 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74499 # At the moment, only enable wchar_t specializations if all the
74500 # above support is present.
74501 if test x"$ac_isoC99_wchar_t" = xyes &&
74502 test x"$ac_XPG2_wchar_t" = xyes;
74503 then
74504 cat >>confdefs.h <<\_ACEOF
74505 #define _GLIBCXX_USE_WCHAR_T 1
74506 _ACEOF
74508 enable_wchar_t=yes
74511 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74512 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74513 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74514 echo "${ECHO_T}$enable_wchar_t" >&6
74517 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74518 ac_save_CXXFLAGS="$CXXFLAGS"
74519 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74522 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74523 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74524 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74525 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74526 echo $ECHO_N "(cached) $ECHO_C" >&6
74527 else
74531 ac_ext=cc
74532 ac_cpp='$CXXCPP $CPPFLAGS'
74533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74537 cat >conftest.$ac_ext <<_ACEOF
74538 /* confdefs.h. */
74539 _ACEOF
74540 cat confdefs.h >>conftest.$ac_ext
74541 cat >>conftest.$ac_ext <<_ACEOF
74542 /* end confdefs.h. */
74543 #include <stdlib.h>
74545 main ()
74547 strtold(0, 0);
74549 return 0;
74551 _ACEOF
74552 rm -f conftest.$ac_objext
74553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74554 (eval $ac_compile) 2>conftest.er1
74555 ac_status=$?
74556 grep -v '^ *+' conftest.er1 >conftest.err
74557 rm -f conftest.er1
74558 cat conftest.err >&5
74559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74560 (exit $ac_status); } &&
74561 { ac_try='test -z "$ac_cxx_werror_flag"
74562 || test ! -s conftest.err'
74563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74564 (eval $ac_try) 2>&5
74565 ac_status=$?
74566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74567 (exit $ac_status); }; } &&
74568 { ac_try='test -s conftest.$ac_objext'
74569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74570 (eval $ac_try) 2>&5
74571 ac_status=$?
74572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74573 (exit $ac_status); }; }; then
74574 glibcxx_cv_func_strtold_use=yes
74575 else
74576 echo "$as_me: failed program was:" >&5
74577 sed 's/^/| /' conftest.$ac_ext >&5
74579 glibcxx_cv_func_strtold_use=no
74581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74582 ac_ext=c
74583 ac_cpp='$CPP $CPPFLAGS'
74584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74592 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74593 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74594 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74596 for ac_func in strtold
74598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74599 echo "$as_me:$LINENO: checking for $ac_func" >&5
74600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74601 if eval "test \"\${$as_ac_var+set}\" = set"; then
74602 echo $ECHO_N "(cached) $ECHO_C" >&6
74603 else
74604 if test x$gcc_no_link = xyes; then
74605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74607 { (exit 1); exit 1; }; }
74609 cat >conftest.$ac_ext <<_ACEOF
74610 /* confdefs.h. */
74611 _ACEOF
74612 cat confdefs.h >>conftest.$ac_ext
74613 cat >>conftest.$ac_ext <<_ACEOF
74614 /* end confdefs.h. */
74615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74617 #define $ac_func innocuous_$ac_func
74619 /* System header to define __stub macros and hopefully few prototypes,
74620 which can conflict with char $ac_func (); below.
74621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74622 <limits.h> exists even on freestanding compilers. */
74624 #ifdef __STDC__
74625 # include <limits.h>
74626 #else
74627 # include <assert.h>
74628 #endif
74630 #undef $ac_func
74632 /* Override any gcc2 internal prototype to avoid an error. */
74633 #ifdef __cplusplus
74634 extern "C"
74636 #endif
74637 /* We use char because int might match the return type of a gcc2
74638 builtin and then its argument prototype would still apply. */
74639 char $ac_func ();
74640 /* The GNU C library defines this for functions which it implements
74641 to always fail with ENOSYS. Some functions are actually named
74642 something starting with __ and the normal name is an alias. */
74643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74644 choke me
74645 #else
74646 char (*f) () = $ac_func;
74647 #endif
74648 #ifdef __cplusplus
74650 #endif
74653 main ()
74655 return f != $ac_func;
74657 return 0;
74659 _ACEOF
74660 rm -f conftest.$ac_objext conftest$ac_exeext
74661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74662 (eval $ac_link) 2>conftest.er1
74663 ac_status=$?
74664 grep -v '^ *+' conftest.er1 >conftest.err
74665 rm -f conftest.er1
74666 cat conftest.err >&5
74667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74668 (exit $ac_status); } &&
74669 { ac_try='test -z "$ac_c_werror_flag"
74670 || test ! -s conftest.err'
74671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74672 (eval $ac_try) 2>&5
74673 ac_status=$?
74674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74675 (exit $ac_status); }; } &&
74676 { ac_try='test -s conftest$ac_exeext'
74677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74678 (eval $ac_try) 2>&5
74679 ac_status=$?
74680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74681 (exit $ac_status); }; }; then
74682 eval "$as_ac_var=yes"
74683 else
74684 echo "$as_me: failed program was:" >&5
74685 sed 's/^/| /' conftest.$ac_ext >&5
74687 eval "$as_ac_var=no"
74689 rm -f conftest.err conftest.$ac_objext \
74690 conftest$ac_exeext conftest.$ac_ext
74692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74694 if test `eval echo '${'$as_ac_var'}'` = yes; then
74695 cat >>confdefs.h <<_ACEOF
74696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74697 _ACEOF
74700 done
74705 echo "$as_me:$LINENO: checking for strtof declaration" >&5
74706 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74707 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74708 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74709 echo $ECHO_N "(cached) $ECHO_C" >&6
74710 else
74714 ac_ext=cc
74715 ac_cpp='$CXXCPP $CPPFLAGS'
74716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74720 cat >conftest.$ac_ext <<_ACEOF
74721 /* confdefs.h. */
74722 _ACEOF
74723 cat confdefs.h >>conftest.$ac_ext
74724 cat >>conftest.$ac_ext <<_ACEOF
74725 /* end confdefs.h. */
74726 #include <stdlib.h>
74728 main ()
74730 strtof(0, 0);
74732 return 0;
74734 _ACEOF
74735 rm -f conftest.$ac_objext
74736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74737 (eval $ac_compile) 2>conftest.er1
74738 ac_status=$?
74739 grep -v '^ *+' conftest.er1 >conftest.err
74740 rm -f conftest.er1
74741 cat conftest.err >&5
74742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74743 (exit $ac_status); } &&
74744 { ac_try='test -z "$ac_cxx_werror_flag"
74745 || test ! -s conftest.err'
74746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74747 (eval $ac_try) 2>&5
74748 ac_status=$?
74749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74750 (exit $ac_status); }; } &&
74751 { ac_try='test -s conftest.$ac_objext'
74752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74753 (eval $ac_try) 2>&5
74754 ac_status=$?
74755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74756 (exit $ac_status); }; }; then
74757 glibcxx_cv_func_strtof_use=yes
74758 else
74759 echo "$as_me: failed program was:" >&5
74760 sed 's/^/| /' conftest.$ac_ext >&5
74762 glibcxx_cv_func_strtof_use=no
74764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74765 ac_ext=c
74766 ac_cpp='$CPP $CPPFLAGS'
74767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74775 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74776 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74777 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74779 for ac_func in strtof
74781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74782 echo "$as_me:$LINENO: checking for $ac_func" >&5
74783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74784 if eval "test \"\${$as_ac_var+set}\" = set"; then
74785 echo $ECHO_N "(cached) $ECHO_C" >&6
74786 else
74787 if test x$gcc_no_link = xyes; then
74788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74790 { (exit 1); exit 1; }; }
74792 cat >conftest.$ac_ext <<_ACEOF
74793 /* confdefs.h. */
74794 _ACEOF
74795 cat confdefs.h >>conftest.$ac_ext
74796 cat >>conftest.$ac_ext <<_ACEOF
74797 /* end confdefs.h. */
74798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74800 #define $ac_func innocuous_$ac_func
74802 /* System header to define __stub macros and hopefully few prototypes,
74803 which can conflict with char $ac_func (); below.
74804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74805 <limits.h> exists even on freestanding compilers. */
74807 #ifdef __STDC__
74808 # include <limits.h>
74809 #else
74810 # include <assert.h>
74811 #endif
74813 #undef $ac_func
74815 /* Override any gcc2 internal prototype to avoid an error. */
74816 #ifdef __cplusplus
74817 extern "C"
74819 #endif
74820 /* We use char because int might match the return type of a gcc2
74821 builtin and then its argument prototype would still apply. */
74822 char $ac_func ();
74823 /* The GNU C library defines this for functions which it implements
74824 to always fail with ENOSYS. Some functions are actually named
74825 something starting with __ and the normal name is an alias. */
74826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74827 choke me
74828 #else
74829 char (*f) () = $ac_func;
74830 #endif
74831 #ifdef __cplusplus
74833 #endif
74836 main ()
74838 return f != $ac_func;
74840 return 0;
74842 _ACEOF
74843 rm -f conftest.$ac_objext conftest$ac_exeext
74844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74845 (eval $ac_link) 2>conftest.er1
74846 ac_status=$?
74847 grep -v '^ *+' conftest.er1 >conftest.err
74848 rm -f conftest.er1
74849 cat conftest.err >&5
74850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74851 (exit $ac_status); } &&
74852 { ac_try='test -z "$ac_c_werror_flag"
74853 || test ! -s conftest.err'
74854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74855 (eval $ac_try) 2>&5
74856 ac_status=$?
74857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74858 (exit $ac_status); }; } &&
74859 { ac_try='test -s conftest$ac_exeext'
74860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74861 (eval $ac_try) 2>&5
74862 ac_status=$?
74863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74864 (exit $ac_status); }; }; then
74865 eval "$as_ac_var=yes"
74866 else
74867 echo "$as_me: failed program was:" >&5
74868 sed 's/^/| /' conftest.$ac_ext >&5
74870 eval "$as_ac_var=no"
74872 rm -f conftest.err conftest.$ac_objext \
74873 conftest$ac_exeext conftest.$ac_ext
74875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74877 if test `eval echo '${'$as_ac_var'}'` = yes; then
74878 cat >>confdefs.h <<_ACEOF
74879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74880 _ACEOF
74883 done
74888 CXXFLAGS="$ac_save_CXXFLAGS"
74891 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74892 echo $ECHO_N "(cached) $ECHO_C" >&6
74893 else
74895 if test x$gcc_no_link = xyes; then
74896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74898 { (exit 1); exit 1; }; }
74900 cat >conftest.$ac_ext <<_ACEOF
74901 /* confdefs.h. */
74902 _ACEOF
74903 cat confdefs.h >>conftest.$ac_ext
74904 cat >>conftest.$ac_ext <<_ACEOF
74905 /* end confdefs.h. */
74906 #include <sys/stat.h>
74908 main ()
74910 struct stat buffer;
74911 fstat(0, &buffer);
74912 S_ISREG(buffer.st_mode);
74914 return 0;
74916 _ACEOF
74917 rm -f conftest.$ac_objext conftest$ac_exeext
74918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74919 (eval $ac_link) 2>conftest.er1
74920 ac_status=$?
74921 grep -v '^ *+' conftest.er1 >conftest.err
74922 rm -f conftest.er1
74923 cat conftest.err >&5
74924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74925 (exit $ac_status); } &&
74926 { ac_try='test -z "$ac_c_werror_flag"
74927 || test ! -s conftest.err'
74928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74929 (eval $ac_try) 2>&5
74930 ac_status=$?
74931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74932 (exit $ac_status); }; } &&
74933 { ac_try='test -s conftest$ac_exeext'
74934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74935 (eval $ac_try) 2>&5
74936 ac_status=$?
74937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74938 (exit $ac_status); }; }; then
74939 glibcxx_cv_S_ISREG=yes
74940 else
74941 echo "$as_me: failed program was:" >&5
74942 sed 's/^/| /' conftest.$ac_ext >&5
74944 glibcxx_cv_S_ISREG=no
74946 rm -f conftest.err conftest.$ac_objext \
74947 conftest$ac_exeext conftest.$ac_ext
74951 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74952 echo $ECHO_N "(cached) $ECHO_C" >&6
74953 else
74955 if test x$gcc_no_link = xyes; then
74956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74958 { (exit 1); exit 1; }; }
74960 cat >conftest.$ac_ext <<_ACEOF
74961 /* confdefs.h. */
74962 _ACEOF
74963 cat confdefs.h >>conftest.$ac_ext
74964 cat >>conftest.$ac_ext <<_ACEOF
74965 /* end confdefs.h. */
74966 #include <sys/stat.h>
74968 main ()
74970 struct stat buffer;
74971 fstat(0, &buffer);
74972 S_IFREG & buffer.st_mode;
74974 return 0;
74976 _ACEOF
74977 rm -f conftest.$ac_objext conftest$ac_exeext
74978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74979 (eval $ac_link) 2>conftest.er1
74980 ac_status=$?
74981 grep -v '^ *+' conftest.er1 >conftest.err
74982 rm -f conftest.er1
74983 cat conftest.err >&5
74984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74985 (exit $ac_status); } &&
74986 { ac_try='test -z "$ac_c_werror_flag"
74987 || test ! -s conftest.err'
74988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74989 (eval $ac_try) 2>&5
74990 ac_status=$?
74991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74992 (exit $ac_status); }; } &&
74993 { ac_try='test -s conftest$ac_exeext'
74994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74995 (eval $ac_try) 2>&5
74996 ac_status=$?
74997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74998 (exit $ac_status); }; }; then
74999 glibcxx_cv_S_IFREG=yes
75000 else
75001 echo "$as_me: failed program was:" >&5
75002 sed 's/^/| /' conftest.$ac_ext >&5
75004 glibcxx_cv_S_IFREG=no
75006 rm -f conftest.err conftest.$ac_objext \
75007 conftest$ac_exeext conftest.$ac_ext
75011 if test $glibcxx_cv_S_ISREG = yes; then
75012 cat >>confdefs.h <<\_ACEOF
75013 #define HAVE_S_ISREG 1
75014 _ACEOF
75016 elif test $glibcxx_cv_S_IFREG = yes; then
75017 cat >>confdefs.h <<\_ACEOF
75018 #define HAVE_S_IFREG 1
75019 _ACEOF
75023 cat >>confdefs.h <<\_ACEOF
75024 #define HAVE_WRITEV 1
75025 _ACEOF
75029 *-freebsd*)
75046 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75047 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75048 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75049 sys/time.h unistd.h
75051 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75053 echo "$as_me:$LINENO: checking for $ac_header" >&5
75054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75056 echo $ECHO_N "(cached) $ECHO_C" >&6
75058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75060 else
75061 # Is the header compilable?
75062 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75063 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75064 cat >conftest.$ac_ext <<_ACEOF
75065 /* confdefs.h. */
75066 _ACEOF
75067 cat confdefs.h >>conftest.$ac_ext
75068 cat >>conftest.$ac_ext <<_ACEOF
75069 /* end confdefs.h. */
75070 $ac_includes_default
75071 #include <$ac_header>
75072 _ACEOF
75073 rm -f conftest.$ac_objext
75074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75075 (eval $ac_compile) 2>conftest.er1
75076 ac_status=$?
75077 grep -v '^ *+' conftest.er1 >conftest.err
75078 rm -f conftest.er1
75079 cat conftest.err >&5
75080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75081 (exit $ac_status); } &&
75082 { ac_try='test -z "$ac_c_werror_flag"
75083 || test ! -s conftest.err'
75084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75085 (eval $ac_try) 2>&5
75086 ac_status=$?
75087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75088 (exit $ac_status); }; } &&
75089 { ac_try='test -s conftest.$ac_objext'
75090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75091 (eval $ac_try) 2>&5
75092 ac_status=$?
75093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75094 (exit $ac_status); }; }; then
75095 ac_header_compiler=yes
75096 else
75097 echo "$as_me: failed program was:" >&5
75098 sed 's/^/| /' conftest.$ac_ext >&5
75100 ac_header_compiler=no
75102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75104 echo "${ECHO_T}$ac_header_compiler" >&6
75106 # Is the header present?
75107 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75108 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75109 cat >conftest.$ac_ext <<_ACEOF
75110 /* confdefs.h. */
75111 _ACEOF
75112 cat confdefs.h >>conftest.$ac_ext
75113 cat >>conftest.$ac_ext <<_ACEOF
75114 /* end confdefs.h. */
75115 #include <$ac_header>
75116 _ACEOF
75117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75119 ac_status=$?
75120 grep -v '^ *+' conftest.er1 >conftest.err
75121 rm -f conftest.er1
75122 cat conftest.err >&5
75123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75124 (exit $ac_status); } >/dev/null; then
75125 if test -s conftest.err; then
75126 ac_cpp_err=$ac_c_preproc_warn_flag
75127 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75128 else
75129 ac_cpp_err=
75131 else
75132 ac_cpp_err=yes
75134 if test -z "$ac_cpp_err"; then
75135 ac_header_preproc=yes
75136 else
75137 echo "$as_me: failed program was:" >&5
75138 sed 's/^/| /' conftest.$ac_ext >&5
75140 ac_header_preproc=no
75142 rm -f conftest.err conftest.$ac_ext
75143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75144 echo "${ECHO_T}$ac_header_preproc" >&6
75146 # So? What about this header?
75147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75148 yes:no: )
75149 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75150 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75152 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75153 ac_header_preproc=yes
75155 no:yes:* )
75156 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75157 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75158 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75159 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75160 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75161 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75162 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75163 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75165 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75166 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75167 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75169 cat <<\_ASBOX
75170 ## ----------------------------------------- ##
75171 ## Report this to the package-unused lists. ##
75172 ## ----------------------------------------- ##
75173 _ASBOX
75175 sed "s/^/$as_me: WARNING: /" >&2
75177 esac
75178 echo "$as_me:$LINENO: checking for $ac_header" >&5
75179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75181 echo $ECHO_N "(cached) $ECHO_C" >&6
75182 else
75183 eval "$as_ac_Header=\$ac_header_preproc"
75185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75189 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75190 cat >>confdefs.h <<_ACEOF
75191 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75192 _ACEOF
75196 done
75198 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75201 # If we're not using GNU ld, then there's no point in even trying these
75202 # tests. Check for that first. We should have already tested for gld
75203 # by now (in libtool), but require it now just to be safe...
75204 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75205 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75209 # The name set by libtool depends on the version of libtool. Shame on us
75210 # for depending on an impl detail, but c'est la vie. Older versions used
75211 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75212 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75213 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75214 # set (hence we're using an older libtool), then set it.
75215 if test x${with_gnu_ld+set} != xset; then
75216 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75217 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75218 with_gnu_ld=no
75219 else
75220 with_gnu_ld=$ac_cv_prog_gnu_ld
75224 # Start by getting the version number. I think the libtool test already
75225 # does some of this, but throws away the result.
75227 ldver=`$LD --version 2>/dev/null | head -1 | \
75228 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75230 glibcxx_gnu_ld_version=`echo $ldver | \
75231 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75233 # Set --gc-sections.
75234 if test "$with_gnu_ld" = "notbroken"; then
75235 # GNU ld it is! Joy and bunny rabbits!
75237 # All these tests are for C++; save the language and the compiler flags.
75238 # Need to do this so that g++ won't try to link in libstdc++
75239 ac_test_CFLAGS="${CFLAGS+set}"
75240 ac_save_CFLAGS="$CFLAGS"
75241 CFLAGS='-x c++ -Wl,--gc-sections'
75243 # Check for -Wl,--gc-sections
75244 # XXX This test is broken at the moment, as symbols required for linking
75245 # are now in libsupc++ (not built yet). In addition, this test has
75246 # cored on solaris in the past. In addition, --gc-sections doesn't
75247 # really work at the moment (keeps on discarding used sections, first
75248 # .eh_frame and now some of the glibc sections for iconv).
75249 # Bzzzzt. Thanks for playing, maybe next time.
75250 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75251 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75252 if test "$cross_compiling" = yes; then
75253 ac_sectionLDflags=yes
75254 else
75255 cat >conftest.$ac_ext <<_ACEOF
75256 /* confdefs.h. */
75257 _ACEOF
75258 cat confdefs.h >>conftest.$ac_ext
75259 cat >>conftest.$ac_ext <<_ACEOF
75260 /* end confdefs.h. */
75262 int main(void)
75264 try { throw 1; }
75265 catch (...) { };
75266 return 0;
75269 _ACEOF
75270 rm -f conftest$ac_exeext
75271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75272 (eval $ac_link) 2>&5
75273 ac_status=$?
75274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75275 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75277 (eval $ac_try) 2>&5
75278 ac_status=$?
75279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75280 (exit $ac_status); }; }; then
75281 ac_sectionLDflags=yes
75282 else
75283 echo "$as_me: program exited with status $ac_status" >&5
75284 echo "$as_me: failed program was:" >&5
75285 sed 's/^/| /' conftest.$ac_ext >&5
75287 ( exit $ac_status )
75288 ac_sectionLDflags=no
75290 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75292 if test "$ac_test_CFLAGS" = set; then
75293 CFLAGS="$ac_save_CFLAGS"
75294 else
75295 # this is the suspicious part
75296 CFLAGS=''
75298 if test "$ac_sectionLDflags" = "yes"; then
75299 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75301 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75302 echo "${ECHO_T}$ac_sectionLDflags" >&6
75305 # Set linker optimization flags.
75306 if test x"$with_gnu_ld" = x"yes"; then
75307 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75315 echo "$as_me:$LINENO: checking for main in -lm" >&5
75316 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75317 if test "${ac_cv_lib_m_main+set}" = set; then
75318 echo $ECHO_N "(cached) $ECHO_C" >&6
75319 else
75320 ac_check_lib_save_LIBS=$LIBS
75321 LIBS="-lm $LIBS"
75322 if test x$gcc_no_link = xyes; then
75323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75325 { (exit 1); exit 1; }; }
75327 cat >conftest.$ac_ext <<_ACEOF
75328 /* confdefs.h. */
75329 _ACEOF
75330 cat confdefs.h >>conftest.$ac_ext
75331 cat >>conftest.$ac_ext <<_ACEOF
75332 /* end confdefs.h. */
75336 main ()
75338 main ();
75340 return 0;
75342 _ACEOF
75343 rm -f conftest.$ac_objext conftest$ac_exeext
75344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75345 (eval $ac_link) 2>conftest.er1
75346 ac_status=$?
75347 grep -v '^ *+' conftest.er1 >conftest.err
75348 rm -f conftest.er1
75349 cat conftest.err >&5
75350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75351 (exit $ac_status); } &&
75352 { ac_try='test -z "$ac_c_werror_flag"
75353 || test ! -s conftest.err'
75354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75355 (eval $ac_try) 2>&5
75356 ac_status=$?
75357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75358 (exit $ac_status); }; } &&
75359 { ac_try='test -s conftest$ac_exeext'
75360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75361 (eval $ac_try) 2>&5
75362 ac_status=$?
75363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75364 (exit $ac_status); }; }; then
75365 ac_cv_lib_m_main=yes
75366 else
75367 echo "$as_me: failed program was:" >&5
75368 sed 's/^/| /' conftest.$ac_ext >&5
75370 ac_cv_lib_m_main=no
75372 rm -f conftest.err conftest.$ac_objext \
75373 conftest$ac_exeext conftest.$ac_ext
75374 LIBS=$ac_check_lib_save_LIBS
75376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75377 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75378 if test $ac_cv_lib_m_main = yes; then
75379 cat >>confdefs.h <<_ACEOF
75380 #define HAVE_LIBM 1
75381 _ACEOF
75383 LIBS="-lm $LIBS"
75388 for ac_func in copysignf
75390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75391 echo "$as_me:$LINENO: checking for $ac_func" >&5
75392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75393 if eval "test \"\${$as_ac_var+set}\" = set"; then
75394 echo $ECHO_N "(cached) $ECHO_C" >&6
75395 else
75396 if test x$gcc_no_link = xyes; then
75397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75399 { (exit 1); exit 1; }; }
75401 cat >conftest.$ac_ext <<_ACEOF
75402 /* confdefs.h. */
75403 _ACEOF
75404 cat confdefs.h >>conftest.$ac_ext
75405 cat >>conftest.$ac_ext <<_ACEOF
75406 /* end confdefs.h. */
75407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75409 #define $ac_func innocuous_$ac_func
75411 /* System header to define __stub macros and hopefully few prototypes,
75412 which can conflict with char $ac_func (); below.
75413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75414 <limits.h> exists even on freestanding compilers. */
75416 #ifdef __STDC__
75417 # include <limits.h>
75418 #else
75419 # include <assert.h>
75420 #endif
75422 #undef $ac_func
75424 /* Override any gcc2 internal prototype to avoid an error. */
75425 #ifdef __cplusplus
75426 extern "C"
75428 #endif
75429 /* We use char because int might match the return type of a gcc2
75430 builtin and then its argument prototype would still apply. */
75431 char $ac_func ();
75432 /* The GNU C library defines this for functions which it implements
75433 to always fail with ENOSYS. Some functions are actually named
75434 something starting with __ and the normal name is an alias. */
75435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75436 choke me
75437 #else
75438 char (*f) () = $ac_func;
75439 #endif
75440 #ifdef __cplusplus
75442 #endif
75445 main ()
75447 return f != $ac_func;
75449 return 0;
75451 _ACEOF
75452 rm -f conftest.$ac_objext conftest$ac_exeext
75453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75454 (eval $ac_link) 2>conftest.er1
75455 ac_status=$?
75456 grep -v '^ *+' conftest.er1 >conftest.err
75457 rm -f conftest.er1
75458 cat conftest.err >&5
75459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75460 (exit $ac_status); } &&
75461 { ac_try='test -z "$ac_c_werror_flag"
75462 || test ! -s conftest.err'
75463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75464 (eval $ac_try) 2>&5
75465 ac_status=$?
75466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75467 (exit $ac_status); }; } &&
75468 { ac_try='test -s conftest$ac_exeext'
75469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75470 (eval $ac_try) 2>&5
75471 ac_status=$?
75472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75473 (exit $ac_status); }; }; then
75474 eval "$as_ac_var=yes"
75475 else
75476 echo "$as_me: failed program was:" >&5
75477 sed 's/^/| /' conftest.$ac_ext >&5
75479 eval "$as_ac_var=no"
75481 rm -f conftest.err conftest.$ac_objext \
75482 conftest$ac_exeext conftest.$ac_ext
75484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75486 if test `eval echo '${'$as_ac_var'}'` = yes; then
75487 cat >>confdefs.h <<_ACEOF
75488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75489 _ACEOF
75491 else
75492 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75494 done
75498 for ac_func in __signbit
75500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75501 echo "$as_me:$LINENO: checking for $ac_func" >&5
75502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75503 if eval "test \"\${$as_ac_var+set}\" = set"; then
75504 echo $ECHO_N "(cached) $ECHO_C" >&6
75505 else
75506 if test x$gcc_no_link = xyes; then
75507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75509 { (exit 1); exit 1; }; }
75511 cat >conftest.$ac_ext <<_ACEOF
75512 /* confdefs.h. */
75513 _ACEOF
75514 cat confdefs.h >>conftest.$ac_ext
75515 cat >>conftest.$ac_ext <<_ACEOF
75516 /* end confdefs.h. */
75517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75519 #define $ac_func innocuous_$ac_func
75521 /* System header to define __stub macros and hopefully few prototypes,
75522 which can conflict with char $ac_func (); below.
75523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75524 <limits.h> exists even on freestanding compilers. */
75526 #ifdef __STDC__
75527 # include <limits.h>
75528 #else
75529 # include <assert.h>
75530 #endif
75532 #undef $ac_func
75534 /* Override any gcc2 internal prototype to avoid an error. */
75535 #ifdef __cplusplus
75536 extern "C"
75538 #endif
75539 /* We use char because int might match the return type of a gcc2
75540 builtin and then its argument prototype would still apply. */
75541 char $ac_func ();
75542 /* The GNU C library defines this for functions which it implements
75543 to always fail with ENOSYS. Some functions are actually named
75544 something starting with __ and the normal name is an alias. */
75545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75546 choke me
75547 #else
75548 char (*f) () = $ac_func;
75549 #endif
75550 #ifdef __cplusplus
75552 #endif
75555 main ()
75557 return f != $ac_func;
75559 return 0;
75561 _ACEOF
75562 rm -f conftest.$ac_objext conftest$ac_exeext
75563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75564 (eval $ac_link) 2>conftest.er1
75565 ac_status=$?
75566 grep -v '^ *+' conftest.er1 >conftest.err
75567 rm -f conftest.er1
75568 cat conftest.err >&5
75569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75570 (exit $ac_status); } &&
75571 { ac_try='test -z "$ac_c_werror_flag"
75572 || test ! -s conftest.err'
75573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75574 (eval $ac_try) 2>&5
75575 ac_status=$?
75576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75577 (exit $ac_status); }; } &&
75578 { ac_try='test -s conftest$ac_exeext'
75579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75580 (eval $ac_try) 2>&5
75581 ac_status=$?
75582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75583 (exit $ac_status); }; }; then
75584 eval "$as_ac_var=yes"
75585 else
75586 echo "$as_me: failed program was:" >&5
75587 sed 's/^/| /' conftest.$ac_ext >&5
75589 eval "$as_ac_var=no"
75591 rm -f conftest.err conftest.$ac_objext \
75592 conftest$ac_exeext conftest.$ac_ext
75594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75596 if test `eval echo '${'$as_ac_var'}'` = yes; then
75597 cat >>confdefs.h <<_ACEOF
75598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75599 _ACEOF
75601 else
75602 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75604 done
75608 for ac_func in __signbitf
75610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75611 echo "$as_me:$LINENO: checking for $ac_func" >&5
75612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75613 if eval "test \"\${$as_ac_var+set}\" = set"; then
75614 echo $ECHO_N "(cached) $ECHO_C" >&6
75615 else
75616 if test x$gcc_no_link = xyes; then
75617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75619 { (exit 1); exit 1; }; }
75621 cat >conftest.$ac_ext <<_ACEOF
75622 /* confdefs.h. */
75623 _ACEOF
75624 cat confdefs.h >>conftest.$ac_ext
75625 cat >>conftest.$ac_ext <<_ACEOF
75626 /* end confdefs.h. */
75627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75629 #define $ac_func innocuous_$ac_func
75631 /* System header to define __stub macros and hopefully few prototypes,
75632 which can conflict with char $ac_func (); below.
75633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75634 <limits.h> exists even on freestanding compilers. */
75636 #ifdef __STDC__
75637 # include <limits.h>
75638 #else
75639 # include <assert.h>
75640 #endif
75642 #undef $ac_func
75644 /* Override any gcc2 internal prototype to avoid an error. */
75645 #ifdef __cplusplus
75646 extern "C"
75648 #endif
75649 /* We use char because int might match the return type of a gcc2
75650 builtin and then its argument prototype would still apply. */
75651 char $ac_func ();
75652 /* The GNU C library defines this for functions which it implements
75653 to always fail with ENOSYS. Some functions are actually named
75654 something starting with __ and the normal name is an alias. */
75655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75656 choke me
75657 #else
75658 char (*f) () = $ac_func;
75659 #endif
75660 #ifdef __cplusplus
75662 #endif
75665 main ()
75667 return f != $ac_func;
75669 return 0;
75671 _ACEOF
75672 rm -f conftest.$ac_objext conftest$ac_exeext
75673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75674 (eval $ac_link) 2>conftest.er1
75675 ac_status=$?
75676 grep -v '^ *+' conftest.er1 >conftest.err
75677 rm -f conftest.er1
75678 cat conftest.err >&5
75679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75680 (exit $ac_status); } &&
75681 { ac_try='test -z "$ac_c_werror_flag"
75682 || test ! -s conftest.err'
75683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75684 (eval $ac_try) 2>&5
75685 ac_status=$?
75686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75687 (exit $ac_status); }; } &&
75688 { ac_try='test -s conftest$ac_exeext'
75689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75690 (eval $ac_try) 2>&5
75691 ac_status=$?
75692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75693 (exit $ac_status); }; }; then
75694 eval "$as_ac_var=yes"
75695 else
75696 echo "$as_me: failed program was:" >&5
75697 sed 's/^/| /' conftest.$ac_ext >&5
75699 eval "$as_ac_var=no"
75701 rm -f conftest.err conftest.$ac_objext \
75702 conftest$ac_exeext conftest.$ac_ext
75704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75706 if test `eval echo '${'$as_ac_var'}'` = yes; then
75707 cat >>confdefs.h <<_ACEOF
75708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75709 _ACEOF
75711 else
75712 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75714 done
75717 if test x$ac_cv_func_copysignl = x"yes"; then
75719 for ac_func in __signbitl
75721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75722 echo "$as_me:$LINENO: checking for $ac_func" >&5
75723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75724 if eval "test \"\${$as_ac_var+set}\" = set"; then
75725 echo $ECHO_N "(cached) $ECHO_C" >&6
75726 else
75727 if test x$gcc_no_link = xyes; then
75728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75730 { (exit 1); exit 1; }; }
75732 cat >conftest.$ac_ext <<_ACEOF
75733 /* confdefs.h. */
75734 _ACEOF
75735 cat confdefs.h >>conftest.$ac_ext
75736 cat >>conftest.$ac_ext <<_ACEOF
75737 /* end confdefs.h. */
75738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75740 #define $ac_func innocuous_$ac_func
75742 /* System header to define __stub macros and hopefully few prototypes,
75743 which can conflict with char $ac_func (); below.
75744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75745 <limits.h> exists even on freestanding compilers. */
75747 #ifdef __STDC__
75748 # include <limits.h>
75749 #else
75750 # include <assert.h>
75751 #endif
75753 #undef $ac_func
75755 /* Override any gcc2 internal prototype to avoid an error. */
75756 #ifdef __cplusplus
75757 extern "C"
75759 #endif
75760 /* We use char because int might match the return type of a gcc2
75761 builtin and then its argument prototype would still apply. */
75762 char $ac_func ();
75763 /* The GNU C library defines this for functions which it implements
75764 to always fail with ENOSYS. Some functions are actually named
75765 something starting with __ and the normal name is an alias. */
75766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75767 choke me
75768 #else
75769 char (*f) () = $ac_func;
75770 #endif
75771 #ifdef __cplusplus
75773 #endif
75776 main ()
75778 return f != $ac_func;
75780 return 0;
75782 _ACEOF
75783 rm -f conftest.$ac_objext conftest$ac_exeext
75784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75785 (eval $ac_link) 2>conftest.er1
75786 ac_status=$?
75787 grep -v '^ *+' conftest.er1 >conftest.err
75788 rm -f conftest.er1
75789 cat conftest.err >&5
75790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75791 (exit $ac_status); } &&
75792 { ac_try='test -z "$ac_c_werror_flag"
75793 || test ! -s conftest.err'
75794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75795 (eval $ac_try) 2>&5
75796 ac_status=$?
75797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75798 (exit $ac_status); }; } &&
75799 { ac_try='test -s conftest$ac_exeext'
75800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75801 (eval $ac_try) 2>&5
75802 ac_status=$?
75803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75804 (exit $ac_status); }; }; then
75805 eval "$as_ac_var=yes"
75806 else
75807 echo "$as_me: failed program was:" >&5
75808 sed 's/^/| /' conftest.$ac_ext >&5
75810 eval "$as_ac_var=no"
75812 rm -f conftest.err conftest.$ac_objext \
75813 conftest$ac_exeext conftest.$ac_ext
75815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75817 if test `eval echo '${'$as_ac_var'}'` = yes; then
75818 cat >>confdefs.h <<_ACEOF
75819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75820 _ACEOF
75822 else
75823 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75825 done
75829 # Used in libmath/Makefile.am.
75830 if test -n "$LIBMATHOBJS"; then
75831 need_libmath=yes
75836 # Test wchar.h for mbstate_t, which is needed for char_traits and
75837 # others even if wchar_t support is not on.
75838 echo "$as_me:$LINENO: checking for mbstate_t" >&5
75839 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75840 cat >conftest.$ac_ext <<_ACEOF
75841 /* confdefs.h. */
75842 _ACEOF
75843 cat confdefs.h >>conftest.$ac_ext
75844 cat >>conftest.$ac_ext <<_ACEOF
75845 /* end confdefs.h. */
75846 #include <wchar.h>
75848 main ()
75850 mbstate_t teststate;
75852 return 0;
75854 _ACEOF
75855 rm -f conftest.$ac_objext
75856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75857 (eval $ac_compile) 2>conftest.er1
75858 ac_status=$?
75859 grep -v '^ *+' conftest.er1 >conftest.err
75860 rm -f conftest.er1
75861 cat conftest.err >&5
75862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75863 (exit $ac_status); } &&
75864 { ac_try='test -z "$ac_c_werror_flag"
75865 || test ! -s conftest.err'
75866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75867 (eval $ac_try) 2>&5
75868 ac_status=$?
75869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75870 (exit $ac_status); }; } &&
75871 { ac_try='test -s conftest.$ac_objext'
75872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75873 (eval $ac_try) 2>&5
75874 ac_status=$?
75875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75876 (exit $ac_status); }; }; then
75877 have_mbstate_t=yes
75878 else
75879 echo "$as_me: failed program was:" >&5
75880 sed 's/^/| /' conftest.$ac_ext >&5
75882 have_mbstate_t=no
75884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75885 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75886 echo "${ECHO_T}$have_mbstate_t" >&6
75887 if test x"$have_mbstate_t" = xyes; then
75888 cat >>confdefs.h <<\_ACEOF
75889 #define HAVE_MBSTATE_T 1
75890 _ACEOF
75894 # Sanity check for existence of ISO C99 headers for extended encoding.
75896 for ac_header in wchar.h
75898 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75900 echo "$as_me:$LINENO: checking for $ac_header" >&5
75901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75903 echo $ECHO_N "(cached) $ECHO_C" >&6
75905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75907 else
75908 # Is the header compilable?
75909 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75911 cat >conftest.$ac_ext <<_ACEOF
75912 /* confdefs.h. */
75913 _ACEOF
75914 cat confdefs.h >>conftest.$ac_ext
75915 cat >>conftest.$ac_ext <<_ACEOF
75916 /* end confdefs.h. */
75917 $ac_includes_default
75918 #include <$ac_header>
75919 _ACEOF
75920 rm -f conftest.$ac_objext
75921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75922 (eval $ac_compile) 2>conftest.er1
75923 ac_status=$?
75924 grep -v '^ *+' conftest.er1 >conftest.err
75925 rm -f conftest.er1
75926 cat conftest.err >&5
75927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75928 (exit $ac_status); } &&
75929 { ac_try='test -z "$ac_c_werror_flag"
75930 || test ! -s conftest.err'
75931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75932 (eval $ac_try) 2>&5
75933 ac_status=$?
75934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75935 (exit $ac_status); }; } &&
75936 { ac_try='test -s conftest.$ac_objext'
75937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75938 (eval $ac_try) 2>&5
75939 ac_status=$?
75940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75941 (exit $ac_status); }; }; then
75942 ac_header_compiler=yes
75943 else
75944 echo "$as_me: failed program was:" >&5
75945 sed 's/^/| /' conftest.$ac_ext >&5
75947 ac_header_compiler=no
75949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75951 echo "${ECHO_T}$ac_header_compiler" >&6
75953 # Is the header present?
75954 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75956 cat >conftest.$ac_ext <<_ACEOF
75957 /* confdefs.h. */
75958 _ACEOF
75959 cat confdefs.h >>conftest.$ac_ext
75960 cat >>conftest.$ac_ext <<_ACEOF
75961 /* end confdefs.h. */
75962 #include <$ac_header>
75963 _ACEOF
75964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75966 ac_status=$?
75967 grep -v '^ *+' conftest.er1 >conftest.err
75968 rm -f conftest.er1
75969 cat conftest.err >&5
75970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75971 (exit $ac_status); } >/dev/null; then
75972 if test -s conftest.err; then
75973 ac_cpp_err=$ac_c_preproc_warn_flag
75974 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75975 else
75976 ac_cpp_err=
75978 else
75979 ac_cpp_err=yes
75981 if test -z "$ac_cpp_err"; then
75982 ac_header_preproc=yes
75983 else
75984 echo "$as_me: failed program was:" >&5
75985 sed 's/^/| /' conftest.$ac_ext >&5
75987 ac_header_preproc=no
75989 rm -f conftest.err conftest.$ac_ext
75990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75991 echo "${ECHO_T}$ac_header_preproc" >&6
75993 # So? What about this header?
75994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75995 yes:no: )
75996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75999 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76000 ac_header_preproc=yes
76002 no:yes:* )
76003 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76004 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76005 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76006 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76007 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76008 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76009 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76016 cat <<\_ASBOX
76017 ## ----------------------------------------- ##
76018 ## Report this to the package-unused lists. ##
76019 ## ----------------------------------------- ##
76020 _ASBOX
76022 sed "s/^/$as_me: WARNING: /" >&2
76024 esac
76025 echo "$as_me:$LINENO: checking for $ac_header" >&5
76026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76028 echo $ECHO_N "(cached) $ECHO_C" >&6
76029 else
76030 eval "$as_ac_Header=\$ac_header_preproc"
76032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76037 cat >>confdefs.h <<_ACEOF
76038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76039 _ACEOF
76040 ac_has_wchar_h=yes
76041 else
76042 ac_has_wchar_h=no
76045 done
76048 for ac_header in wctype.h
76050 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76052 echo "$as_me:$LINENO: checking for $ac_header" >&5
76053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76055 echo $ECHO_N "(cached) $ECHO_C" >&6
76057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76058 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76059 else
76060 # Is the header compilable?
76061 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76062 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76063 cat >conftest.$ac_ext <<_ACEOF
76064 /* confdefs.h. */
76065 _ACEOF
76066 cat confdefs.h >>conftest.$ac_ext
76067 cat >>conftest.$ac_ext <<_ACEOF
76068 /* end confdefs.h. */
76069 $ac_includes_default
76070 #include <$ac_header>
76071 _ACEOF
76072 rm -f conftest.$ac_objext
76073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76074 (eval $ac_compile) 2>conftest.er1
76075 ac_status=$?
76076 grep -v '^ *+' conftest.er1 >conftest.err
76077 rm -f conftest.er1
76078 cat conftest.err >&5
76079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76080 (exit $ac_status); } &&
76081 { ac_try='test -z "$ac_c_werror_flag"
76082 || test ! -s conftest.err'
76083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76084 (eval $ac_try) 2>&5
76085 ac_status=$?
76086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76087 (exit $ac_status); }; } &&
76088 { ac_try='test -s conftest.$ac_objext'
76089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76090 (eval $ac_try) 2>&5
76091 ac_status=$?
76092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76093 (exit $ac_status); }; }; then
76094 ac_header_compiler=yes
76095 else
76096 echo "$as_me: failed program was:" >&5
76097 sed 's/^/| /' conftest.$ac_ext >&5
76099 ac_header_compiler=no
76101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76102 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76103 echo "${ECHO_T}$ac_header_compiler" >&6
76105 # Is the header present?
76106 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76107 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76108 cat >conftest.$ac_ext <<_ACEOF
76109 /* confdefs.h. */
76110 _ACEOF
76111 cat confdefs.h >>conftest.$ac_ext
76112 cat >>conftest.$ac_ext <<_ACEOF
76113 /* end confdefs.h. */
76114 #include <$ac_header>
76115 _ACEOF
76116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76118 ac_status=$?
76119 grep -v '^ *+' conftest.er1 >conftest.err
76120 rm -f conftest.er1
76121 cat conftest.err >&5
76122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76123 (exit $ac_status); } >/dev/null; then
76124 if test -s conftest.err; then
76125 ac_cpp_err=$ac_c_preproc_warn_flag
76126 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76127 else
76128 ac_cpp_err=
76130 else
76131 ac_cpp_err=yes
76133 if test -z "$ac_cpp_err"; then
76134 ac_header_preproc=yes
76135 else
76136 echo "$as_me: failed program was:" >&5
76137 sed 's/^/| /' conftest.$ac_ext >&5
76139 ac_header_preproc=no
76141 rm -f conftest.err conftest.$ac_ext
76142 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76143 echo "${ECHO_T}$ac_header_preproc" >&6
76145 # So? What about this header?
76146 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76147 yes:no: )
76148 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76149 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76151 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76152 ac_header_preproc=yes
76154 no:yes:* )
76155 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76156 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76157 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76158 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76159 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76160 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76161 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76162 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76164 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76165 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76166 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76168 cat <<\_ASBOX
76169 ## ----------------------------------------- ##
76170 ## Report this to the package-unused lists. ##
76171 ## ----------------------------------------- ##
76172 _ASBOX
76174 sed "s/^/$as_me: WARNING: /" >&2
76176 esac
76177 echo "$as_me:$LINENO: checking for $ac_header" >&5
76178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76180 echo $ECHO_N "(cached) $ECHO_C" >&6
76181 else
76182 eval "$as_ac_Header=\$ac_header_preproc"
76184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76189 cat >>confdefs.h <<_ACEOF
76190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76191 _ACEOF
76192 ac_has_wctype_h=yes
76193 else
76194 ac_has_wctype_h=no
76197 done
76200 # Only continue checking if the ISO C99 headers exist and support is on.
76201 if test x"$ac_has_wchar_h" = xyes &&
76202 test x"$ac_has_wctype_h" = xyes &&
76203 test x"$enable_c_mbchar" != xno; then
76205 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
76206 # numeric_limits can instantiate type_traits<wchar_t>
76207 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
76208 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
76209 cat >conftest.$ac_ext <<_ACEOF
76210 /* confdefs.h. */
76211 _ACEOF
76212 cat confdefs.h >>conftest.$ac_ext
76213 cat >>conftest.$ac_ext <<_ACEOF
76214 /* end confdefs.h. */
76215 #include <wchar.h>
76217 main ()
76219 int i = WCHAR_MIN; int j = WCHAR_MAX;
76221 return 0;
76223 _ACEOF
76224 rm -f conftest.$ac_objext
76225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76226 (eval $ac_compile) 2>conftest.er1
76227 ac_status=$?
76228 grep -v '^ *+' conftest.er1 >conftest.err
76229 rm -f conftest.er1
76230 cat conftest.err >&5
76231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76232 (exit $ac_status); } &&
76233 { ac_try='test -z "$ac_c_werror_flag"
76234 || test ! -s conftest.err'
76235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76236 (eval $ac_try) 2>&5
76237 ac_status=$?
76238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76239 (exit $ac_status); }; } &&
76240 { ac_try='test -s conftest.$ac_objext'
76241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76242 (eval $ac_try) 2>&5
76243 ac_status=$?
76244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76245 (exit $ac_status); }; }; then
76246 has_wchar_minmax=yes
76247 else
76248 echo "$as_me: failed program was:" >&5
76249 sed 's/^/| /' conftest.$ac_ext >&5
76251 has_wchar_minmax=no
76253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76254 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
76255 echo "${ECHO_T}$has_wchar_minmax" >&6
76257 # Test wchar.h for WEOF, which is what we use to determine whether
76258 # to specialize for char_traits<wchar_t> or not.
76259 echo "$as_me:$LINENO: checking for WEOF" >&5
76260 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
76261 cat >conftest.$ac_ext <<_ACEOF
76262 /* confdefs.h. */
76263 _ACEOF
76264 cat confdefs.h >>conftest.$ac_ext
76265 cat >>conftest.$ac_ext <<_ACEOF
76266 /* end confdefs.h. */
76268 #include <wchar.h>
76269 #include <stddef.h>
76271 main ()
76273 wint_t i = WEOF;
76275 return 0;
76277 _ACEOF
76278 rm -f conftest.$ac_objext
76279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76280 (eval $ac_compile) 2>conftest.er1
76281 ac_status=$?
76282 grep -v '^ *+' conftest.er1 >conftest.err
76283 rm -f conftest.er1
76284 cat conftest.err >&5
76285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76286 (exit $ac_status); } &&
76287 { ac_try='test -z "$ac_c_werror_flag"
76288 || test ! -s conftest.err'
76289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76290 (eval $ac_try) 2>&5
76291 ac_status=$?
76292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76293 (exit $ac_status); }; } &&
76294 { ac_try='test -s conftest.$ac_objext'
76295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76296 (eval $ac_try) 2>&5
76297 ac_status=$?
76298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76299 (exit $ac_status); }; }; then
76300 has_weof=yes
76301 else
76302 echo "$as_me: failed program was:" >&5
76303 sed 's/^/| /' conftest.$ac_ext >&5
76305 has_weof=no
76307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76308 echo "$as_me:$LINENO: result: $has_weof" >&5
76309 echo "${ECHO_T}$has_weof" >&6
76311 # Tests for wide character functions used in char_traits<wchar_t>.
76312 ac_wfuncs=yes
76319 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
76321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76322 echo "$as_me:$LINENO: checking for $ac_func" >&5
76323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76324 if eval "test \"\${$as_ac_var+set}\" = set"; then
76325 echo $ECHO_N "(cached) $ECHO_C" >&6
76326 else
76327 if test x$gcc_no_link = xyes; then
76328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76330 { (exit 1); exit 1; }; }
76332 cat >conftest.$ac_ext <<_ACEOF
76333 /* confdefs.h. */
76334 _ACEOF
76335 cat confdefs.h >>conftest.$ac_ext
76336 cat >>conftest.$ac_ext <<_ACEOF
76337 /* end confdefs.h. */
76338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76340 #define $ac_func innocuous_$ac_func
76342 /* System header to define __stub macros and hopefully few prototypes,
76343 which can conflict with char $ac_func (); below.
76344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76345 <limits.h> exists even on freestanding compilers. */
76347 #ifdef __STDC__
76348 # include <limits.h>
76349 #else
76350 # include <assert.h>
76351 #endif
76353 #undef $ac_func
76355 /* Override any gcc2 internal prototype to avoid an error. */
76356 #ifdef __cplusplus
76357 extern "C"
76359 #endif
76360 /* We use char because int might match the return type of a gcc2
76361 builtin and then its argument prototype would still apply. */
76362 char $ac_func ();
76363 /* The GNU C library defines this for functions which it implements
76364 to always fail with ENOSYS. Some functions are actually named
76365 something starting with __ and the normal name is an alias. */
76366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76367 choke me
76368 #else
76369 char (*f) () = $ac_func;
76370 #endif
76371 #ifdef __cplusplus
76373 #endif
76376 main ()
76378 return f != $ac_func;
76380 return 0;
76382 _ACEOF
76383 rm -f conftest.$ac_objext conftest$ac_exeext
76384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76385 (eval $ac_link) 2>conftest.er1
76386 ac_status=$?
76387 grep -v '^ *+' conftest.er1 >conftest.err
76388 rm -f conftest.er1
76389 cat conftest.err >&5
76390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76391 (exit $ac_status); } &&
76392 { ac_try='test -z "$ac_c_werror_flag"
76393 || test ! -s conftest.err'
76394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76395 (eval $ac_try) 2>&5
76396 ac_status=$?
76397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76398 (exit $ac_status); }; } &&
76399 { ac_try='test -s conftest$ac_exeext'
76400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76401 (eval $ac_try) 2>&5
76402 ac_status=$?
76403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76404 (exit $ac_status); }; }; then
76405 eval "$as_ac_var=yes"
76406 else
76407 echo "$as_me: failed program was:" >&5
76408 sed 's/^/| /' conftest.$ac_ext >&5
76410 eval "$as_ac_var=no"
76412 rm -f conftest.err conftest.$ac_objext \
76413 conftest$ac_exeext conftest.$ac_ext
76415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76417 if test `eval echo '${'$as_ac_var'}'` = yes; then
76418 cat >>confdefs.h <<_ACEOF
76419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76420 _ACEOF
76422 else
76423 ac_wfuncs=no
76425 done
76428 # Checks for names injected into std:: by the c_std headers.
76475 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
76476 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
76477 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
76478 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
76479 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
76480 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
76482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76483 echo "$as_me:$LINENO: checking for $ac_func" >&5
76484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76485 if eval "test \"\${$as_ac_var+set}\" = set"; then
76486 echo $ECHO_N "(cached) $ECHO_C" >&6
76487 else
76488 if test x$gcc_no_link = xyes; then
76489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76491 { (exit 1); exit 1; }; }
76493 cat >conftest.$ac_ext <<_ACEOF
76494 /* confdefs.h. */
76495 _ACEOF
76496 cat confdefs.h >>conftest.$ac_ext
76497 cat >>conftest.$ac_ext <<_ACEOF
76498 /* end confdefs.h. */
76499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76501 #define $ac_func innocuous_$ac_func
76503 /* System header to define __stub macros and hopefully few prototypes,
76504 which can conflict with char $ac_func (); below.
76505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76506 <limits.h> exists even on freestanding compilers. */
76508 #ifdef __STDC__
76509 # include <limits.h>
76510 #else
76511 # include <assert.h>
76512 #endif
76514 #undef $ac_func
76516 /* Override any gcc2 internal prototype to avoid an error. */
76517 #ifdef __cplusplus
76518 extern "C"
76520 #endif
76521 /* We use char because int might match the return type of a gcc2
76522 builtin and then its argument prototype would still apply. */
76523 char $ac_func ();
76524 /* The GNU C library defines this for functions which it implements
76525 to always fail with ENOSYS. Some functions are actually named
76526 something starting with __ and the normal name is an alias. */
76527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76528 choke me
76529 #else
76530 char (*f) () = $ac_func;
76531 #endif
76532 #ifdef __cplusplus
76534 #endif
76537 main ()
76539 return f != $ac_func;
76541 return 0;
76543 _ACEOF
76544 rm -f conftest.$ac_objext conftest$ac_exeext
76545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76546 (eval $ac_link) 2>conftest.er1
76547 ac_status=$?
76548 grep -v '^ *+' conftest.er1 >conftest.err
76549 rm -f conftest.er1
76550 cat conftest.err >&5
76551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76552 (exit $ac_status); } &&
76553 { ac_try='test -z "$ac_c_werror_flag"
76554 || test ! -s conftest.err'
76555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76556 (eval $ac_try) 2>&5
76557 ac_status=$?
76558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76559 (exit $ac_status); }; } &&
76560 { ac_try='test -s conftest$ac_exeext'
76561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76562 (eval $ac_try) 2>&5
76563 ac_status=$?
76564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76565 (exit $ac_status); }; }; then
76566 eval "$as_ac_var=yes"
76567 else
76568 echo "$as_me: failed program was:" >&5
76569 sed 's/^/| /' conftest.$ac_ext >&5
76571 eval "$as_ac_var=no"
76573 rm -f conftest.err conftest.$ac_objext \
76574 conftest$ac_exeext conftest.$ac_ext
76576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76578 if test `eval echo '${'$as_ac_var'}'` = yes; then
76579 cat >>confdefs.h <<_ACEOF
76580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76581 _ACEOF
76583 else
76584 ac_wfuncs=no
76586 done
76589 # Checks for wide character functions that are not required
76590 # for basic wchar_t support. Don't disable support if they are missing.
76591 # Injection of these is wrapped with guard macros.
76597 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
76599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76600 echo "$as_me:$LINENO: checking for $ac_func" >&5
76601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76602 if eval "test \"\${$as_ac_var+set}\" = set"; then
76603 echo $ECHO_N "(cached) $ECHO_C" >&6
76604 else
76605 if test x$gcc_no_link = xyes; then
76606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76608 { (exit 1); exit 1; }; }
76610 cat >conftest.$ac_ext <<_ACEOF
76611 /* confdefs.h. */
76612 _ACEOF
76613 cat confdefs.h >>conftest.$ac_ext
76614 cat >>conftest.$ac_ext <<_ACEOF
76615 /* end confdefs.h. */
76616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76618 #define $ac_func innocuous_$ac_func
76620 /* System header to define __stub macros and hopefully few prototypes,
76621 which can conflict with char $ac_func (); below.
76622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76623 <limits.h> exists even on freestanding compilers. */
76625 #ifdef __STDC__
76626 # include <limits.h>
76627 #else
76628 # include <assert.h>
76629 #endif
76631 #undef $ac_func
76633 /* Override any gcc2 internal prototype to avoid an error. */
76634 #ifdef __cplusplus
76635 extern "C"
76637 #endif
76638 /* We use char because int might match the return type of a gcc2
76639 builtin and then its argument prototype would still apply. */
76640 char $ac_func ();
76641 /* The GNU C library defines this for functions which it implements
76642 to always fail with ENOSYS. Some functions are actually named
76643 something starting with __ and the normal name is an alias. */
76644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76645 choke me
76646 #else
76647 char (*f) () = $ac_func;
76648 #endif
76649 #ifdef __cplusplus
76651 #endif
76654 main ()
76656 return f != $ac_func;
76658 return 0;
76660 _ACEOF
76661 rm -f conftest.$ac_objext conftest$ac_exeext
76662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76663 (eval $ac_link) 2>conftest.er1
76664 ac_status=$?
76665 grep -v '^ *+' conftest.er1 >conftest.err
76666 rm -f conftest.er1
76667 cat conftest.err >&5
76668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76669 (exit $ac_status); } &&
76670 { ac_try='test -z "$ac_c_werror_flag"
76671 || test ! -s conftest.err'
76672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76673 (eval $ac_try) 2>&5
76674 ac_status=$?
76675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76676 (exit $ac_status); }; } &&
76677 { ac_try='test -s conftest$ac_exeext'
76678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76679 (eval $ac_try) 2>&5
76680 ac_status=$?
76681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76682 (exit $ac_status); }; }; then
76683 eval "$as_ac_var=yes"
76684 else
76685 echo "$as_me: failed program was:" >&5
76686 sed 's/^/| /' conftest.$ac_ext >&5
76688 eval "$as_ac_var=no"
76690 rm -f conftest.err conftest.$ac_objext \
76691 conftest$ac_exeext conftest.$ac_ext
76693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76695 if test `eval echo '${'$as_ac_var'}'` = yes; then
76696 cat >>confdefs.h <<_ACEOF
76697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76698 _ACEOF
76701 done
76704 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
76705 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
76706 if test x"$has_weof" = xyes &&
76707 test x"$has_wchar_minmax" = xyes &&
76708 test x"$ac_wfuncs" = xyes;
76709 then
76710 ac_isoC99_wchar_t=yes
76711 else
76712 ac_isoC99_wchar_t=no
76714 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
76715 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
76717 # Use iconv for wchar_t to char conversions. As such, check for
76718 # X/Open Portability Guide, version 2 features (XPG2).
76719 if test "${ac_cv_header_iconv_h+set}" = set; then
76720 echo "$as_me:$LINENO: checking for iconv.h" >&5
76721 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76722 if test "${ac_cv_header_iconv_h+set}" = set; then
76723 echo $ECHO_N "(cached) $ECHO_C" >&6
76725 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76726 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76727 else
76728 # Is the header compilable?
76729 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76730 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76731 cat >conftest.$ac_ext <<_ACEOF
76732 /* confdefs.h. */
76733 _ACEOF
76734 cat confdefs.h >>conftest.$ac_ext
76735 cat >>conftest.$ac_ext <<_ACEOF
76736 /* end confdefs.h. */
76737 $ac_includes_default
76738 #include <iconv.h>
76739 _ACEOF
76740 rm -f conftest.$ac_objext
76741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76742 (eval $ac_compile) 2>conftest.er1
76743 ac_status=$?
76744 grep -v '^ *+' conftest.er1 >conftest.err
76745 rm -f conftest.er1
76746 cat conftest.err >&5
76747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76748 (exit $ac_status); } &&
76749 { ac_try='test -z "$ac_c_werror_flag"
76750 || test ! -s conftest.err'
76751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76752 (eval $ac_try) 2>&5
76753 ac_status=$?
76754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76755 (exit $ac_status); }; } &&
76756 { ac_try='test -s conftest.$ac_objext'
76757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76758 (eval $ac_try) 2>&5
76759 ac_status=$?
76760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76761 (exit $ac_status); }; }; then
76762 ac_header_compiler=yes
76763 else
76764 echo "$as_me: failed program was:" >&5
76765 sed 's/^/| /' conftest.$ac_ext >&5
76767 ac_header_compiler=no
76769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76771 echo "${ECHO_T}$ac_header_compiler" >&6
76773 # Is the header present?
76774 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76775 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76776 cat >conftest.$ac_ext <<_ACEOF
76777 /* confdefs.h. */
76778 _ACEOF
76779 cat confdefs.h >>conftest.$ac_ext
76780 cat >>conftest.$ac_ext <<_ACEOF
76781 /* end confdefs.h. */
76782 #include <iconv.h>
76783 _ACEOF
76784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76786 ac_status=$?
76787 grep -v '^ *+' conftest.er1 >conftest.err
76788 rm -f conftest.er1
76789 cat conftest.err >&5
76790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76791 (exit $ac_status); } >/dev/null; then
76792 if test -s conftest.err; then
76793 ac_cpp_err=$ac_c_preproc_warn_flag
76794 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76795 else
76796 ac_cpp_err=
76798 else
76799 ac_cpp_err=yes
76801 if test -z "$ac_cpp_err"; then
76802 ac_header_preproc=yes
76803 else
76804 echo "$as_me: failed program was:" >&5
76805 sed 's/^/| /' conftest.$ac_ext >&5
76807 ac_header_preproc=no
76809 rm -f conftest.err conftest.$ac_ext
76810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76811 echo "${ECHO_T}$ac_header_preproc" >&6
76813 # So? What about this header?
76814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76815 yes:no: )
76816 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76817 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76818 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76819 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76820 ac_header_preproc=yes
76822 no:yes:* )
76823 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76824 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76825 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76826 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76827 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76828 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76829 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76830 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76831 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76832 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76833 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76834 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76836 cat <<\_ASBOX
76837 ## ----------------------------------------- ##
76838 ## Report this to the package-unused lists. ##
76839 ## ----------------------------------------- ##
76840 _ASBOX
76842 sed "s/^/$as_me: WARNING: /" >&2
76844 esac
76845 echo "$as_me:$LINENO: checking for iconv.h" >&5
76846 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76847 if test "${ac_cv_header_iconv_h+set}" = set; then
76848 echo $ECHO_N "(cached) $ECHO_C" >&6
76849 else
76850 ac_cv_header_iconv_h=$ac_header_preproc
76852 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76853 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76856 if test $ac_cv_header_iconv_h = yes; then
76857 ac_has_iconv_h=yes
76858 else
76859 ac_has_iconv_h=no
76863 if test "${ac_cv_header_langinfo_h+set}" = set; then
76864 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76865 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76866 if test "${ac_cv_header_langinfo_h+set}" = set; then
76867 echo $ECHO_N "(cached) $ECHO_C" >&6
76869 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76870 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76871 else
76872 # Is the header compilable?
76873 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76874 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76875 cat >conftest.$ac_ext <<_ACEOF
76876 /* confdefs.h. */
76877 _ACEOF
76878 cat confdefs.h >>conftest.$ac_ext
76879 cat >>conftest.$ac_ext <<_ACEOF
76880 /* end confdefs.h. */
76881 $ac_includes_default
76882 #include <langinfo.h>
76883 _ACEOF
76884 rm -f conftest.$ac_objext
76885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76886 (eval $ac_compile) 2>conftest.er1
76887 ac_status=$?
76888 grep -v '^ *+' conftest.er1 >conftest.err
76889 rm -f conftest.er1
76890 cat conftest.err >&5
76891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76892 (exit $ac_status); } &&
76893 { ac_try='test -z "$ac_c_werror_flag"
76894 || test ! -s conftest.err'
76895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76896 (eval $ac_try) 2>&5
76897 ac_status=$?
76898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76899 (exit $ac_status); }; } &&
76900 { ac_try='test -s conftest.$ac_objext'
76901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76902 (eval $ac_try) 2>&5
76903 ac_status=$?
76904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76905 (exit $ac_status); }; }; then
76906 ac_header_compiler=yes
76907 else
76908 echo "$as_me: failed program was:" >&5
76909 sed 's/^/| /' conftest.$ac_ext >&5
76911 ac_header_compiler=no
76913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76914 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76915 echo "${ECHO_T}$ac_header_compiler" >&6
76917 # Is the header present?
76918 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76919 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76920 cat >conftest.$ac_ext <<_ACEOF
76921 /* confdefs.h. */
76922 _ACEOF
76923 cat confdefs.h >>conftest.$ac_ext
76924 cat >>conftest.$ac_ext <<_ACEOF
76925 /* end confdefs.h. */
76926 #include <langinfo.h>
76927 _ACEOF
76928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76930 ac_status=$?
76931 grep -v '^ *+' conftest.er1 >conftest.err
76932 rm -f conftest.er1
76933 cat conftest.err >&5
76934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76935 (exit $ac_status); } >/dev/null; then
76936 if test -s conftest.err; then
76937 ac_cpp_err=$ac_c_preproc_warn_flag
76938 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76939 else
76940 ac_cpp_err=
76942 else
76943 ac_cpp_err=yes
76945 if test -z "$ac_cpp_err"; then
76946 ac_header_preproc=yes
76947 else
76948 echo "$as_me: failed program was:" >&5
76949 sed 's/^/| /' conftest.$ac_ext >&5
76951 ac_header_preproc=no
76953 rm -f conftest.err conftest.$ac_ext
76954 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76955 echo "${ECHO_T}$ac_header_preproc" >&6
76957 # So? What about this header?
76958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76959 yes:no: )
76960 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76961 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76962 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76963 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76964 ac_header_preproc=yes
76966 no:yes:* )
76967 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76968 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76969 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76970 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76971 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76972 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76973 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76974 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76975 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76976 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76977 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76978 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76980 cat <<\_ASBOX
76981 ## ----------------------------------------- ##
76982 ## Report this to the package-unused lists. ##
76983 ## ----------------------------------------- ##
76984 _ASBOX
76986 sed "s/^/$as_me: WARNING: /" >&2
76988 esac
76989 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76990 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76991 if test "${ac_cv_header_langinfo_h+set}" = set; then
76992 echo $ECHO_N "(cached) $ECHO_C" >&6
76993 else
76994 ac_cv_header_langinfo_h=$ac_header_preproc
76996 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76997 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77000 if test $ac_cv_header_langinfo_h = yes; then
77001 ac_has_langinfo_h=yes
77002 else
77003 ac_has_langinfo_h=no
77008 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77009 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77010 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77011 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77012 echo $ECHO_N "(cached) $ECHO_C" >&6
77013 else
77014 ac_check_lib_save_LIBS=$LIBS
77015 LIBS="-liconv $LIBS"
77016 if test x$gcc_no_link = xyes; then
77017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77019 { (exit 1); exit 1; }; }
77021 cat >conftest.$ac_ext <<_ACEOF
77022 /* confdefs.h. */
77023 _ACEOF
77024 cat confdefs.h >>conftest.$ac_ext
77025 cat >>conftest.$ac_ext <<_ACEOF
77026 /* end confdefs.h. */
77028 /* Override any gcc2 internal prototype to avoid an error. */
77029 #ifdef __cplusplus
77030 extern "C"
77031 #endif
77032 /* We use char because int might match the return type of a gcc2
77033 builtin and then its argument prototype would still apply. */
77034 char iconv ();
77036 main ()
77038 iconv ();
77040 return 0;
77042 _ACEOF
77043 rm -f conftest.$ac_objext conftest$ac_exeext
77044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77045 (eval $ac_link) 2>conftest.er1
77046 ac_status=$?
77047 grep -v '^ *+' conftest.er1 >conftest.err
77048 rm -f conftest.er1
77049 cat conftest.err >&5
77050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77051 (exit $ac_status); } &&
77052 { ac_try='test -z "$ac_c_werror_flag"
77053 || test ! -s conftest.err'
77054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77055 (eval $ac_try) 2>&5
77056 ac_status=$?
77057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77058 (exit $ac_status); }; } &&
77059 { ac_try='test -s conftest$ac_exeext'
77060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77061 (eval $ac_try) 2>&5
77062 ac_status=$?
77063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77064 (exit $ac_status); }; }; then
77065 ac_cv_lib_iconv_iconv=yes
77066 else
77067 echo "$as_me: failed program was:" >&5
77068 sed 's/^/| /' conftest.$ac_ext >&5
77070 ac_cv_lib_iconv_iconv=no
77072 rm -f conftest.err conftest.$ac_objext \
77073 conftest$ac_exeext conftest.$ac_ext
77074 LIBS=$ac_check_lib_save_LIBS
77076 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77077 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77078 if test $ac_cv_lib_iconv_iconv = yes; then
77079 LIBICONV="-liconv"
77082 ac_save_LIBS="$LIBS"
77083 LIBS="$LIBS $LIBICONV"
77090 for ac_func in iconv_open iconv_close iconv nl_langinfo
77092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77093 echo "$as_me:$LINENO: checking for $ac_func" >&5
77094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77095 if eval "test \"\${$as_ac_var+set}\" = set"; then
77096 echo $ECHO_N "(cached) $ECHO_C" >&6
77097 else
77098 if test x$gcc_no_link = xyes; then
77099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77101 { (exit 1); exit 1; }; }
77103 cat >conftest.$ac_ext <<_ACEOF
77104 /* confdefs.h. */
77105 _ACEOF
77106 cat confdefs.h >>conftest.$ac_ext
77107 cat >>conftest.$ac_ext <<_ACEOF
77108 /* end confdefs.h. */
77109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77111 #define $ac_func innocuous_$ac_func
77113 /* System header to define __stub macros and hopefully few prototypes,
77114 which can conflict with char $ac_func (); below.
77115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77116 <limits.h> exists even on freestanding compilers. */
77118 #ifdef __STDC__
77119 # include <limits.h>
77120 #else
77121 # include <assert.h>
77122 #endif
77124 #undef $ac_func
77126 /* Override any gcc2 internal prototype to avoid an error. */
77127 #ifdef __cplusplus
77128 extern "C"
77130 #endif
77131 /* We use char because int might match the return type of a gcc2
77132 builtin and then its argument prototype would still apply. */
77133 char $ac_func ();
77134 /* The GNU C library defines this for functions which it implements
77135 to always fail with ENOSYS. Some functions are actually named
77136 something starting with __ and the normal name is an alias. */
77137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77138 choke me
77139 #else
77140 char (*f) () = $ac_func;
77141 #endif
77142 #ifdef __cplusplus
77144 #endif
77147 main ()
77149 return f != $ac_func;
77151 return 0;
77153 _ACEOF
77154 rm -f conftest.$ac_objext conftest$ac_exeext
77155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77156 (eval $ac_link) 2>conftest.er1
77157 ac_status=$?
77158 grep -v '^ *+' conftest.er1 >conftest.err
77159 rm -f conftest.er1
77160 cat conftest.err >&5
77161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77162 (exit $ac_status); } &&
77163 { ac_try='test -z "$ac_c_werror_flag"
77164 || test ! -s conftest.err'
77165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77166 (eval $ac_try) 2>&5
77167 ac_status=$?
77168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77169 (exit $ac_status); }; } &&
77170 { ac_try='test -s conftest$ac_exeext'
77171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77172 (eval $ac_try) 2>&5
77173 ac_status=$?
77174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77175 (exit $ac_status); }; }; then
77176 eval "$as_ac_var=yes"
77177 else
77178 echo "$as_me: failed program was:" >&5
77179 sed 's/^/| /' conftest.$ac_ext >&5
77181 eval "$as_ac_var=no"
77183 rm -f conftest.err conftest.$ac_objext \
77184 conftest$ac_exeext conftest.$ac_ext
77186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77188 if test `eval echo '${'$as_ac_var'}'` = yes; then
77189 cat >>confdefs.h <<_ACEOF
77190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77191 _ACEOF
77192 ac_XPG2funcs=yes
77193 else
77194 ac_XPG2funcs=no
77196 done
77199 LIBS="$ac_save_LIBS"
77201 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
77202 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
77203 if test x"$ac_has_iconv_h" = xyes &&
77204 test x"$ac_has_langinfo_h" = xyes &&
77205 test x"$ac_XPG2funcs" = xyes;
77206 then
77207 ac_XPG2_wchar_t=yes
77208 else
77209 ac_XPG2_wchar_t=no
77211 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
77212 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
77214 # At the moment, only enable wchar_t specializations if all the
77215 # above support is present.
77216 if test x"$ac_isoC99_wchar_t" = xyes &&
77217 test x"$ac_XPG2_wchar_t" = xyes;
77218 then
77219 cat >>confdefs.h <<\_ACEOF
77220 #define _GLIBCXX_USE_WCHAR_T 1
77221 _ACEOF
77223 enable_wchar_t=yes
77226 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
77227 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
77228 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
77229 echo "${ECHO_T}$enable_wchar_t" >&6
77231 cat >>confdefs.h <<\_ACEOF
77232 #define HAVE_LC_MESSAGES 1
77233 _ACEOF
77235 cat >>confdefs.h <<\_ACEOF
77236 #define HAVE_GETPAGESIZE 1
77237 _ACEOF
77239 cat >>confdefs.h <<\_ACEOF
77240 #define HAVE_SETENV 1
77241 _ACEOF
77243 cat >>confdefs.h <<\_ACEOF
77244 #define HAVE_SIGSETJMP 1
77245 _ACEOF
77247 cat >>confdefs.h <<\_ACEOF
77248 #define HAVE_COPYSIGN 1
77249 _ACEOF
77251 cat >>confdefs.h <<\_ACEOF
77252 #define HAVE_COPYSIGNF 1
77253 _ACEOF
77255 cat >>confdefs.h <<\_ACEOF
77256 #define HAVE_FINITEF 1
77257 _ACEOF
77259 cat >>confdefs.h <<\_ACEOF
77260 #define HAVE_FINITE 1
77261 _ACEOF
77263 cat >>confdefs.h <<\_ACEOF
77264 #define HAVE_FREXPF 1
77265 _ACEOF
77267 cat >>confdefs.h <<\_ACEOF
77268 #define HAVE_HYPOT 1
77269 _ACEOF
77271 cat >>confdefs.h <<\_ACEOF
77272 #define HAVE_HYPOTF 1
77273 _ACEOF
77275 cat >>confdefs.h <<\_ACEOF
77276 #define HAVE_ISINF 1
77277 _ACEOF
77279 cat >>confdefs.h <<\_ACEOF
77280 #define HAVE_ISNAN 1
77281 _ACEOF
77283 cat >>confdefs.h <<\_ACEOF
77284 #define HAVE_ISNANF 1
77285 _ACEOF
77288 cat >>confdefs.h <<\_ACEOF
77289 #define HAVE_MMAP 1
77290 _ACEOF
77292 cat >>confdefs.h <<\_ACEOF
77293 #define HAVE_ACOSF 1
77294 _ACEOF
77296 cat >>confdefs.h <<\_ACEOF
77297 #define HAVE_ASINF 1
77298 _ACEOF
77300 cat >>confdefs.h <<\_ACEOF
77301 #define HAVE_ATAN2F 1
77302 _ACEOF
77304 cat >>confdefs.h <<\_ACEOF
77305 #define HAVE_ATANF 1
77306 _ACEOF
77308 cat >>confdefs.h <<\_ACEOF
77309 #define HAVE_CEILF 1
77310 _ACEOF
77312 cat >>confdefs.h <<\_ACEOF
77313 #define HAVE_COPYSIGN 1
77314 _ACEOF
77316 cat >>confdefs.h <<\_ACEOF
77317 #define HAVE_COPYSIGNF 1
77318 _ACEOF
77320 cat >>confdefs.h <<\_ACEOF
77321 #define HAVE_COSF 1
77322 _ACEOF
77324 cat >>confdefs.h <<\_ACEOF
77325 #define HAVE_COSHF 1
77326 _ACEOF
77328 cat >>confdefs.h <<\_ACEOF
77329 #define HAVE_EXPF 1
77330 _ACEOF
77332 cat >>confdefs.h <<\_ACEOF
77333 #define HAVE_FABSF 1
77334 _ACEOF
77336 cat >>confdefs.h <<\_ACEOF
77337 #define HAVE_FLOORF 1
77338 _ACEOF
77340 cat >>confdefs.h <<\_ACEOF
77341 #define HAVE_FMODF 1
77342 _ACEOF
77344 cat >>confdefs.h <<\_ACEOF
77345 #define HAVE_FREXPF 1
77346 _ACEOF
77348 cat >>confdefs.h <<\_ACEOF
77349 #define HAVE_LDEXPF 1
77350 _ACEOF
77352 cat >>confdefs.h <<\_ACEOF
77353 #define HAVE_LOG10F 1
77354 _ACEOF
77356 cat >>confdefs.h <<\_ACEOF
77357 #define HAVE_LOGF 1
77358 _ACEOF
77360 cat >>confdefs.h <<\_ACEOF
77361 #define HAVE_MODFF 1
77362 _ACEOF
77364 cat >>confdefs.h <<\_ACEOF
77365 #define HAVE_POWF 1
77366 _ACEOF
77368 cat >>confdefs.h <<\_ACEOF
77369 #define HAVE_SINF 1
77370 _ACEOF
77372 cat >>confdefs.h <<\_ACEOF
77373 #define HAVE_SINHF 1
77374 _ACEOF
77376 cat >>confdefs.h <<\_ACEOF
77377 #define HAVE_SQRTF 1
77378 _ACEOF
77380 cat >>confdefs.h <<\_ACEOF
77381 #define HAVE_TANF 1
77382 _ACEOF
77384 cat >>confdefs.h <<\_ACEOF
77385 #define HAVE_TANHF 1
77386 _ACEOF
77388 if test x"long_double_math_on_this_cpu" = x"yes"; then
77389 cat >>confdefs.h <<\_ACEOF
77390 #define HAVE_FINITEL 1
77391 _ACEOF
77393 cat >>confdefs.h <<\_ACEOF
77394 #define HAVE_ISINFL 1
77395 _ACEOF
77397 cat >>confdefs.h <<\_ACEOF
77398 #define HAVE_ISNANL 1
77399 _ACEOF
77403 *-hpux*)
77416 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77417 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77418 fp.h locale.h float.h inttypes.h
77420 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77422 echo "$as_me:$LINENO: checking for $ac_header" >&5
77423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77425 echo $ECHO_N "(cached) $ECHO_C" >&6
77427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77429 else
77430 # Is the header compilable?
77431 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77432 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77433 cat >conftest.$ac_ext <<_ACEOF
77434 /* confdefs.h. */
77435 _ACEOF
77436 cat confdefs.h >>conftest.$ac_ext
77437 cat >>conftest.$ac_ext <<_ACEOF
77438 /* end confdefs.h. */
77439 $ac_includes_default
77440 #include <$ac_header>
77441 _ACEOF
77442 rm -f conftest.$ac_objext
77443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77444 (eval $ac_compile) 2>conftest.er1
77445 ac_status=$?
77446 grep -v '^ *+' conftest.er1 >conftest.err
77447 rm -f conftest.er1
77448 cat conftest.err >&5
77449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77450 (exit $ac_status); } &&
77451 { ac_try='test -z "$ac_c_werror_flag"
77452 || test ! -s conftest.err'
77453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77454 (eval $ac_try) 2>&5
77455 ac_status=$?
77456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77457 (exit $ac_status); }; } &&
77458 { ac_try='test -s conftest.$ac_objext'
77459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77460 (eval $ac_try) 2>&5
77461 ac_status=$?
77462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77463 (exit $ac_status); }; }; then
77464 ac_header_compiler=yes
77465 else
77466 echo "$as_me: failed program was:" >&5
77467 sed 's/^/| /' conftest.$ac_ext >&5
77469 ac_header_compiler=no
77471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77473 echo "${ECHO_T}$ac_header_compiler" >&6
77475 # Is the header present?
77476 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77477 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77478 cat >conftest.$ac_ext <<_ACEOF
77479 /* confdefs.h. */
77480 _ACEOF
77481 cat confdefs.h >>conftest.$ac_ext
77482 cat >>conftest.$ac_ext <<_ACEOF
77483 /* end confdefs.h. */
77484 #include <$ac_header>
77485 _ACEOF
77486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77488 ac_status=$?
77489 grep -v '^ *+' conftest.er1 >conftest.err
77490 rm -f conftest.er1
77491 cat conftest.err >&5
77492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77493 (exit $ac_status); } >/dev/null; then
77494 if test -s conftest.err; then
77495 ac_cpp_err=$ac_c_preproc_warn_flag
77496 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77497 else
77498 ac_cpp_err=
77500 else
77501 ac_cpp_err=yes
77503 if test -z "$ac_cpp_err"; then
77504 ac_header_preproc=yes
77505 else
77506 echo "$as_me: failed program was:" >&5
77507 sed 's/^/| /' conftest.$ac_ext >&5
77509 ac_header_preproc=no
77511 rm -f conftest.err conftest.$ac_ext
77512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77513 echo "${ECHO_T}$ac_header_preproc" >&6
77515 # So? What about this header?
77516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77517 yes:no: )
77518 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77519 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77521 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77522 ac_header_preproc=yes
77524 no:yes:* )
77525 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77527 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77528 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77529 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77530 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77531 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77532 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77534 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77535 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77536 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77538 cat <<\_ASBOX
77539 ## ----------------------------------------- ##
77540 ## Report this to the package-unused lists. ##
77541 ## ----------------------------------------- ##
77542 _ASBOX
77544 sed "s/^/$as_me: WARNING: /" >&2
77546 esac
77547 echo "$as_me:$LINENO: checking for $ac_header" >&5
77548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77550 echo $ECHO_N "(cached) $ECHO_C" >&6
77551 else
77552 eval "$as_ac_Header=\$ac_header_preproc"
77554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77558 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77559 cat >>confdefs.h <<_ACEOF
77560 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77561 _ACEOF
77565 done
77567 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77570 # If we're not using GNU ld, then there's no point in even trying these
77571 # tests. Check for that first. We should have already tested for gld
77572 # by now (in libtool), but require it now just to be safe...
77573 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77574 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77578 # The name set by libtool depends on the version of libtool. Shame on us
77579 # for depending on an impl detail, but c'est la vie. Older versions used
77580 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77581 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77582 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77583 # set (hence we're using an older libtool), then set it.
77584 if test x${with_gnu_ld+set} != xset; then
77585 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77586 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77587 with_gnu_ld=no
77588 else
77589 with_gnu_ld=$ac_cv_prog_gnu_ld
77593 # Start by getting the version number. I think the libtool test already
77594 # does some of this, but throws away the result.
77596 ldver=`$LD --version 2>/dev/null | head -1 | \
77597 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77599 glibcxx_gnu_ld_version=`echo $ldver | \
77600 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77602 # Set --gc-sections.
77603 if test "$with_gnu_ld" = "notbroken"; then
77604 # GNU ld it is! Joy and bunny rabbits!
77606 # All these tests are for C++; save the language and the compiler flags.
77607 # Need to do this so that g++ won't try to link in libstdc++
77608 ac_test_CFLAGS="${CFLAGS+set}"
77609 ac_save_CFLAGS="$CFLAGS"
77610 CFLAGS='-x c++ -Wl,--gc-sections'
77612 # Check for -Wl,--gc-sections
77613 # XXX This test is broken at the moment, as symbols required for linking
77614 # are now in libsupc++ (not built yet). In addition, this test has
77615 # cored on solaris in the past. In addition, --gc-sections doesn't
77616 # really work at the moment (keeps on discarding used sections, first
77617 # .eh_frame and now some of the glibc sections for iconv).
77618 # Bzzzzt. Thanks for playing, maybe next time.
77619 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77620 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77621 if test "$cross_compiling" = yes; then
77622 ac_sectionLDflags=yes
77623 else
77624 cat >conftest.$ac_ext <<_ACEOF
77625 /* confdefs.h. */
77626 _ACEOF
77627 cat confdefs.h >>conftest.$ac_ext
77628 cat >>conftest.$ac_ext <<_ACEOF
77629 /* end confdefs.h. */
77631 int main(void)
77633 try { throw 1; }
77634 catch (...) { };
77635 return 0;
77638 _ACEOF
77639 rm -f conftest$ac_exeext
77640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77641 (eval $ac_link) 2>&5
77642 ac_status=$?
77643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77646 (eval $ac_try) 2>&5
77647 ac_status=$?
77648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77649 (exit $ac_status); }; }; then
77650 ac_sectionLDflags=yes
77651 else
77652 echo "$as_me: program exited with status $ac_status" >&5
77653 echo "$as_me: failed program was:" >&5
77654 sed 's/^/| /' conftest.$ac_ext >&5
77656 ( exit $ac_status )
77657 ac_sectionLDflags=no
77659 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77661 if test "$ac_test_CFLAGS" = set; then
77662 CFLAGS="$ac_save_CFLAGS"
77663 else
77664 # this is the suspicious part
77665 CFLAGS=''
77667 if test "$ac_sectionLDflags" = "yes"; then
77668 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77670 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77671 echo "${ECHO_T}$ac_sectionLDflags" >&6
77674 # Set linker optimization flags.
77675 if test x"$with_gnu_ld" = x"yes"; then
77676 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77684 echo "$as_me:$LINENO: checking for main in -lm" >&5
77685 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77686 if test "${ac_cv_lib_m_main+set}" = set; then
77687 echo $ECHO_N "(cached) $ECHO_C" >&6
77688 else
77689 ac_check_lib_save_LIBS=$LIBS
77690 LIBS="-lm $LIBS"
77691 if test x$gcc_no_link = xyes; then
77692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77694 { (exit 1); exit 1; }; }
77696 cat >conftest.$ac_ext <<_ACEOF
77697 /* confdefs.h. */
77698 _ACEOF
77699 cat confdefs.h >>conftest.$ac_ext
77700 cat >>conftest.$ac_ext <<_ACEOF
77701 /* end confdefs.h. */
77705 main ()
77707 main ();
77709 return 0;
77711 _ACEOF
77712 rm -f conftest.$ac_objext conftest$ac_exeext
77713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77714 (eval $ac_link) 2>conftest.er1
77715 ac_status=$?
77716 grep -v '^ *+' conftest.er1 >conftest.err
77717 rm -f conftest.er1
77718 cat conftest.err >&5
77719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77720 (exit $ac_status); } &&
77721 { ac_try='test -z "$ac_c_werror_flag"
77722 || test ! -s conftest.err'
77723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77724 (eval $ac_try) 2>&5
77725 ac_status=$?
77726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77727 (exit $ac_status); }; } &&
77728 { ac_try='test -s conftest$ac_exeext'
77729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77730 (eval $ac_try) 2>&5
77731 ac_status=$?
77732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77733 (exit $ac_status); }; }; then
77734 ac_cv_lib_m_main=yes
77735 else
77736 echo "$as_me: failed program was:" >&5
77737 sed 's/^/| /' conftest.$ac_ext >&5
77739 ac_cv_lib_m_main=no
77741 rm -f conftest.err conftest.$ac_objext \
77742 conftest$ac_exeext conftest.$ac_ext
77743 LIBS=$ac_check_lib_save_LIBS
77745 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77746 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77747 if test $ac_cv_lib_m_main = yes; then
77748 cat >>confdefs.h <<_ACEOF
77749 #define HAVE_LIBM 1
77750 _ACEOF
77752 LIBS="-lm $LIBS"
77757 for ac_func in copysignf
77759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77760 echo "$as_me:$LINENO: checking for $ac_func" >&5
77761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77762 if eval "test \"\${$as_ac_var+set}\" = set"; then
77763 echo $ECHO_N "(cached) $ECHO_C" >&6
77764 else
77765 if test x$gcc_no_link = xyes; then
77766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77768 { (exit 1); exit 1; }; }
77770 cat >conftest.$ac_ext <<_ACEOF
77771 /* confdefs.h. */
77772 _ACEOF
77773 cat confdefs.h >>conftest.$ac_ext
77774 cat >>conftest.$ac_ext <<_ACEOF
77775 /* end confdefs.h. */
77776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77778 #define $ac_func innocuous_$ac_func
77780 /* System header to define __stub macros and hopefully few prototypes,
77781 which can conflict with char $ac_func (); below.
77782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77783 <limits.h> exists even on freestanding compilers. */
77785 #ifdef __STDC__
77786 # include <limits.h>
77787 #else
77788 # include <assert.h>
77789 #endif
77791 #undef $ac_func
77793 /* Override any gcc2 internal prototype to avoid an error. */
77794 #ifdef __cplusplus
77795 extern "C"
77797 #endif
77798 /* We use char because int might match the return type of a gcc2
77799 builtin and then its argument prototype would still apply. */
77800 char $ac_func ();
77801 /* The GNU C library defines this for functions which it implements
77802 to always fail with ENOSYS. Some functions are actually named
77803 something starting with __ and the normal name is an alias. */
77804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77805 choke me
77806 #else
77807 char (*f) () = $ac_func;
77808 #endif
77809 #ifdef __cplusplus
77811 #endif
77814 main ()
77816 return f != $ac_func;
77818 return 0;
77820 _ACEOF
77821 rm -f conftest.$ac_objext conftest$ac_exeext
77822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77823 (eval $ac_link) 2>conftest.er1
77824 ac_status=$?
77825 grep -v '^ *+' conftest.er1 >conftest.err
77826 rm -f conftest.er1
77827 cat conftest.err >&5
77828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77829 (exit $ac_status); } &&
77830 { ac_try='test -z "$ac_c_werror_flag"
77831 || test ! -s conftest.err'
77832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77833 (eval $ac_try) 2>&5
77834 ac_status=$?
77835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77836 (exit $ac_status); }; } &&
77837 { ac_try='test -s conftest$ac_exeext'
77838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77839 (eval $ac_try) 2>&5
77840 ac_status=$?
77841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77842 (exit $ac_status); }; }; then
77843 eval "$as_ac_var=yes"
77844 else
77845 echo "$as_me: failed program was:" >&5
77846 sed 's/^/| /' conftest.$ac_ext >&5
77848 eval "$as_ac_var=no"
77850 rm -f conftest.err conftest.$ac_objext \
77851 conftest$ac_exeext conftest.$ac_ext
77853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77855 if test `eval echo '${'$as_ac_var'}'` = yes; then
77856 cat >>confdefs.h <<_ACEOF
77857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77858 _ACEOF
77860 else
77861 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77863 done
77867 for ac_func in __signbit
77869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77870 echo "$as_me:$LINENO: checking for $ac_func" >&5
77871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77872 if eval "test \"\${$as_ac_var+set}\" = set"; then
77873 echo $ECHO_N "(cached) $ECHO_C" >&6
77874 else
77875 if test x$gcc_no_link = xyes; then
77876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77878 { (exit 1); exit 1; }; }
77880 cat >conftest.$ac_ext <<_ACEOF
77881 /* confdefs.h. */
77882 _ACEOF
77883 cat confdefs.h >>conftest.$ac_ext
77884 cat >>conftest.$ac_ext <<_ACEOF
77885 /* end confdefs.h. */
77886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77888 #define $ac_func innocuous_$ac_func
77890 /* System header to define __stub macros and hopefully few prototypes,
77891 which can conflict with char $ac_func (); below.
77892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77893 <limits.h> exists even on freestanding compilers. */
77895 #ifdef __STDC__
77896 # include <limits.h>
77897 #else
77898 # include <assert.h>
77899 #endif
77901 #undef $ac_func
77903 /* Override any gcc2 internal prototype to avoid an error. */
77904 #ifdef __cplusplus
77905 extern "C"
77907 #endif
77908 /* We use char because int might match the return type of a gcc2
77909 builtin and then its argument prototype would still apply. */
77910 char $ac_func ();
77911 /* The GNU C library defines this for functions which it implements
77912 to always fail with ENOSYS. Some functions are actually named
77913 something starting with __ and the normal name is an alias. */
77914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77915 choke me
77916 #else
77917 char (*f) () = $ac_func;
77918 #endif
77919 #ifdef __cplusplus
77921 #endif
77924 main ()
77926 return f != $ac_func;
77928 return 0;
77930 _ACEOF
77931 rm -f conftest.$ac_objext conftest$ac_exeext
77932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77933 (eval $ac_link) 2>conftest.er1
77934 ac_status=$?
77935 grep -v '^ *+' conftest.er1 >conftest.err
77936 rm -f conftest.er1
77937 cat conftest.err >&5
77938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77939 (exit $ac_status); } &&
77940 { ac_try='test -z "$ac_c_werror_flag"
77941 || test ! -s conftest.err'
77942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77943 (eval $ac_try) 2>&5
77944 ac_status=$?
77945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77946 (exit $ac_status); }; } &&
77947 { ac_try='test -s conftest$ac_exeext'
77948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77949 (eval $ac_try) 2>&5
77950 ac_status=$?
77951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77952 (exit $ac_status); }; }; then
77953 eval "$as_ac_var=yes"
77954 else
77955 echo "$as_me: failed program was:" >&5
77956 sed 's/^/| /' conftest.$ac_ext >&5
77958 eval "$as_ac_var=no"
77960 rm -f conftest.err conftest.$ac_objext \
77961 conftest$ac_exeext conftest.$ac_ext
77963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77965 if test `eval echo '${'$as_ac_var'}'` = yes; then
77966 cat >>confdefs.h <<_ACEOF
77967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77968 _ACEOF
77970 else
77971 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77973 done
77977 for ac_func in __signbitf
77979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77980 echo "$as_me:$LINENO: checking for $ac_func" >&5
77981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77982 if eval "test \"\${$as_ac_var+set}\" = set"; then
77983 echo $ECHO_N "(cached) $ECHO_C" >&6
77984 else
77985 if test x$gcc_no_link = xyes; then
77986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77988 { (exit 1); exit 1; }; }
77990 cat >conftest.$ac_ext <<_ACEOF
77991 /* confdefs.h. */
77992 _ACEOF
77993 cat confdefs.h >>conftest.$ac_ext
77994 cat >>conftest.$ac_ext <<_ACEOF
77995 /* end confdefs.h. */
77996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77998 #define $ac_func innocuous_$ac_func
78000 /* System header to define __stub macros and hopefully few prototypes,
78001 which can conflict with char $ac_func (); below.
78002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78003 <limits.h> exists even on freestanding compilers. */
78005 #ifdef __STDC__
78006 # include <limits.h>
78007 #else
78008 # include <assert.h>
78009 #endif
78011 #undef $ac_func
78013 /* Override any gcc2 internal prototype to avoid an error. */
78014 #ifdef __cplusplus
78015 extern "C"
78017 #endif
78018 /* We use char because int might match the return type of a gcc2
78019 builtin and then its argument prototype would still apply. */
78020 char $ac_func ();
78021 /* The GNU C library defines this for functions which it implements
78022 to always fail with ENOSYS. Some functions are actually named
78023 something starting with __ and the normal name is an alias. */
78024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78025 choke me
78026 #else
78027 char (*f) () = $ac_func;
78028 #endif
78029 #ifdef __cplusplus
78031 #endif
78034 main ()
78036 return f != $ac_func;
78038 return 0;
78040 _ACEOF
78041 rm -f conftest.$ac_objext conftest$ac_exeext
78042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78043 (eval $ac_link) 2>conftest.er1
78044 ac_status=$?
78045 grep -v '^ *+' conftest.er1 >conftest.err
78046 rm -f conftest.er1
78047 cat conftest.err >&5
78048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78049 (exit $ac_status); } &&
78050 { ac_try='test -z "$ac_c_werror_flag"
78051 || test ! -s conftest.err'
78052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78053 (eval $ac_try) 2>&5
78054 ac_status=$?
78055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78056 (exit $ac_status); }; } &&
78057 { ac_try='test -s conftest$ac_exeext'
78058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78059 (eval $ac_try) 2>&5
78060 ac_status=$?
78061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78062 (exit $ac_status); }; }; then
78063 eval "$as_ac_var=yes"
78064 else
78065 echo "$as_me: failed program was:" >&5
78066 sed 's/^/| /' conftest.$ac_ext >&5
78068 eval "$as_ac_var=no"
78070 rm -f conftest.err conftest.$ac_objext \
78071 conftest$ac_exeext conftest.$ac_ext
78073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78075 if test `eval echo '${'$as_ac_var'}'` = yes; then
78076 cat >>confdefs.h <<_ACEOF
78077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78078 _ACEOF
78080 else
78081 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78083 done
78086 if test x$ac_cv_func_copysignl = x"yes"; then
78088 for ac_func in __signbitl
78090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78091 echo "$as_me:$LINENO: checking for $ac_func" >&5
78092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78093 if eval "test \"\${$as_ac_var+set}\" = set"; then
78094 echo $ECHO_N "(cached) $ECHO_C" >&6
78095 else
78096 if test x$gcc_no_link = xyes; then
78097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78099 { (exit 1); exit 1; }; }
78101 cat >conftest.$ac_ext <<_ACEOF
78102 /* confdefs.h. */
78103 _ACEOF
78104 cat confdefs.h >>conftest.$ac_ext
78105 cat >>conftest.$ac_ext <<_ACEOF
78106 /* end confdefs.h. */
78107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78109 #define $ac_func innocuous_$ac_func
78111 /* System header to define __stub macros and hopefully few prototypes,
78112 which can conflict with char $ac_func (); below.
78113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78114 <limits.h> exists even on freestanding compilers. */
78116 #ifdef __STDC__
78117 # include <limits.h>
78118 #else
78119 # include <assert.h>
78120 #endif
78122 #undef $ac_func
78124 /* Override any gcc2 internal prototype to avoid an error. */
78125 #ifdef __cplusplus
78126 extern "C"
78128 #endif
78129 /* We use char because int might match the return type of a gcc2
78130 builtin and then its argument prototype would still apply. */
78131 char $ac_func ();
78132 /* The GNU C library defines this for functions which it implements
78133 to always fail with ENOSYS. Some functions are actually named
78134 something starting with __ and the normal name is an alias. */
78135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78136 choke me
78137 #else
78138 char (*f) () = $ac_func;
78139 #endif
78140 #ifdef __cplusplus
78142 #endif
78145 main ()
78147 return f != $ac_func;
78149 return 0;
78151 _ACEOF
78152 rm -f conftest.$ac_objext conftest$ac_exeext
78153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78154 (eval $ac_link) 2>conftest.er1
78155 ac_status=$?
78156 grep -v '^ *+' conftest.er1 >conftest.err
78157 rm -f conftest.er1
78158 cat conftest.err >&5
78159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78160 (exit $ac_status); } &&
78161 { ac_try='test -z "$ac_c_werror_flag"
78162 || test ! -s conftest.err'
78163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78164 (eval $ac_try) 2>&5
78165 ac_status=$?
78166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78167 (exit $ac_status); }; } &&
78168 { ac_try='test -s conftest$ac_exeext'
78169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78170 (eval $ac_try) 2>&5
78171 ac_status=$?
78172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78173 (exit $ac_status); }; }; then
78174 eval "$as_ac_var=yes"
78175 else
78176 echo "$as_me: failed program was:" >&5
78177 sed 's/^/| /' conftest.$ac_ext >&5
78179 eval "$as_ac_var=no"
78181 rm -f conftest.err conftest.$ac_objext \
78182 conftest$ac_exeext conftest.$ac_ext
78184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78186 if test `eval echo '${'$as_ac_var'}'` = yes; then
78187 cat >>confdefs.h <<_ACEOF
78188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78189 _ACEOF
78191 else
78192 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78194 done
78198 # Used in libmath/Makefile.am.
78199 if test -n "$LIBMATHOBJS"; then
78200 need_libmath=yes
78205 # Test wchar.h for mbstate_t, which is needed for char_traits and
78206 # others even if wchar_t support is not on.
78207 echo "$as_me:$LINENO: checking for mbstate_t" >&5
78208 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78209 cat >conftest.$ac_ext <<_ACEOF
78210 /* confdefs.h. */
78211 _ACEOF
78212 cat confdefs.h >>conftest.$ac_ext
78213 cat >>conftest.$ac_ext <<_ACEOF
78214 /* end confdefs.h. */
78215 #include <wchar.h>
78217 main ()
78219 mbstate_t teststate;
78221 return 0;
78223 _ACEOF
78224 rm -f conftest.$ac_objext
78225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78226 (eval $ac_compile) 2>conftest.er1
78227 ac_status=$?
78228 grep -v '^ *+' conftest.er1 >conftest.err
78229 rm -f conftest.er1
78230 cat conftest.err >&5
78231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78232 (exit $ac_status); } &&
78233 { ac_try='test -z "$ac_c_werror_flag"
78234 || test ! -s conftest.err'
78235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78236 (eval $ac_try) 2>&5
78237 ac_status=$?
78238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78239 (exit $ac_status); }; } &&
78240 { ac_try='test -s conftest.$ac_objext'
78241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78242 (eval $ac_try) 2>&5
78243 ac_status=$?
78244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78245 (exit $ac_status); }; }; then
78246 have_mbstate_t=yes
78247 else
78248 echo "$as_me: failed program was:" >&5
78249 sed 's/^/| /' conftest.$ac_ext >&5
78251 have_mbstate_t=no
78253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78254 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78255 echo "${ECHO_T}$have_mbstate_t" >&6
78256 if test x"$have_mbstate_t" = xyes; then
78257 cat >>confdefs.h <<\_ACEOF
78258 #define HAVE_MBSTATE_T 1
78259 _ACEOF
78263 # Sanity check for existence of ISO C99 headers for extended encoding.
78265 for ac_header in wchar.h
78267 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78269 echo "$as_me:$LINENO: checking for $ac_header" >&5
78270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78272 echo $ECHO_N "(cached) $ECHO_C" >&6
78274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78276 else
78277 # Is the header compilable?
78278 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78279 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78280 cat >conftest.$ac_ext <<_ACEOF
78281 /* confdefs.h. */
78282 _ACEOF
78283 cat confdefs.h >>conftest.$ac_ext
78284 cat >>conftest.$ac_ext <<_ACEOF
78285 /* end confdefs.h. */
78286 $ac_includes_default
78287 #include <$ac_header>
78288 _ACEOF
78289 rm -f conftest.$ac_objext
78290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78291 (eval $ac_compile) 2>conftest.er1
78292 ac_status=$?
78293 grep -v '^ *+' conftest.er1 >conftest.err
78294 rm -f conftest.er1
78295 cat conftest.err >&5
78296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78297 (exit $ac_status); } &&
78298 { ac_try='test -z "$ac_c_werror_flag"
78299 || test ! -s conftest.err'
78300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78301 (eval $ac_try) 2>&5
78302 ac_status=$?
78303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78304 (exit $ac_status); }; } &&
78305 { ac_try='test -s conftest.$ac_objext'
78306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78307 (eval $ac_try) 2>&5
78308 ac_status=$?
78309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78310 (exit $ac_status); }; }; then
78311 ac_header_compiler=yes
78312 else
78313 echo "$as_me: failed program was:" >&5
78314 sed 's/^/| /' conftest.$ac_ext >&5
78316 ac_header_compiler=no
78318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78319 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78320 echo "${ECHO_T}$ac_header_compiler" >&6
78322 # Is the header present?
78323 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78324 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78325 cat >conftest.$ac_ext <<_ACEOF
78326 /* confdefs.h. */
78327 _ACEOF
78328 cat confdefs.h >>conftest.$ac_ext
78329 cat >>conftest.$ac_ext <<_ACEOF
78330 /* end confdefs.h. */
78331 #include <$ac_header>
78332 _ACEOF
78333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78334 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78335 ac_status=$?
78336 grep -v '^ *+' conftest.er1 >conftest.err
78337 rm -f conftest.er1
78338 cat conftest.err >&5
78339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78340 (exit $ac_status); } >/dev/null; then
78341 if test -s conftest.err; then
78342 ac_cpp_err=$ac_c_preproc_warn_flag
78343 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78344 else
78345 ac_cpp_err=
78347 else
78348 ac_cpp_err=yes
78350 if test -z "$ac_cpp_err"; then
78351 ac_header_preproc=yes
78352 else
78353 echo "$as_me: failed program was:" >&5
78354 sed 's/^/| /' conftest.$ac_ext >&5
78356 ac_header_preproc=no
78358 rm -f conftest.err conftest.$ac_ext
78359 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78360 echo "${ECHO_T}$ac_header_preproc" >&6
78362 # So? What about this header?
78363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78364 yes:no: )
78365 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78366 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78368 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78369 ac_header_preproc=yes
78371 no:yes:* )
78372 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78374 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78376 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78377 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78378 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78379 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78381 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78382 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78383 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78385 cat <<\_ASBOX
78386 ## ----------------------------------------- ##
78387 ## Report this to the package-unused lists. ##
78388 ## ----------------------------------------- ##
78389 _ASBOX
78391 sed "s/^/$as_me: WARNING: /" >&2
78393 esac
78394 echo "$as_me:$LINENO: checking for $ac_header" >&5
78395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78397 echo $ECHO_N "(cached) $ECHO_C" >&6
78398 else
78399 eval "$as_ac_Header=\$ac_header_preproc"
78401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78406 cat >>confdefs.h <<_ACEOF
78407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78408 _ACEOF
78409 ac_has_wchar_h=yes
78410 else
78411 ac_has_wchar_h=no
78414 done
78417 for ac_header in wctype.h
78419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78421 echo "$as_me:$LINENO: checking for $ac_header" >&5
78422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78424 echo $ECHO_N "(cached) $ECHO_C" >&6
78426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78428 else
78429 # Is the header compilable?
78430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78432 cat >conftest.$ac_ext <<_ACEOF
78433 /* confdefs.h. */
78434 _ACEOF
78435 cat confdefs.h >>conftest.$ac_ext
78436 cat >>conftest.$ac_ext <<_ACEOF
78437 /* end confdefs.h. */
78438 $ac_includes_default
78439 #include <$ac_header>
78440 _ACEOF
78441 rm -f conftest.$ac_objext
78442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78443 (eval $ac_compile) 2>conftest.er1
78444 ac_status=$?
78445 grep -v '^ *+' conftest.er1 >conftest.err
78446 rm -f conftest.er1
78447 cat conftest.err >&5
78448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78449 (exit $ac_status); } &&
78450 { ac_try='test -z "$ac_c_werror_flag"
78451 || test ! -s conftest.err'
78452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78453 (eval $ac_try) 2>&5
78454 ac_status=$?
78455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78456 (exit $ac_status); }; } &&
78457 { ac_try='test -s conftest.$ac_objext'
78458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78459 (eval $ac_try) 2>&5
78460 ac_status=$?
78461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78462 (exit $ac_status); }; }; then
78463 ac_header_compiler=yes
78464 else
78465 echo "$as_me: failed program was:" >&5
78466 sed 's/^/| /' conftest.$ac_ext >&5
78468 ac_header_compiler=no
78470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78472 echo "${ECHO_T}$ac_header_compiler" >&6
78474 # Is the header present?
78475 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78477 cat >conftest.$ac_ext <<_ACEOF
78478 /* confdefs.h. */
78479 _ACEOF
78480 cat confdefs.h >>conftest.$ac_ext
78481 cat >>conftest.$ac_ext <<_ACEOF
78482 /* end confdefs.h. */
78483 #include <$ac_header>
78484 _ACEOF
78485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78486 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78487 ac_status=$?
78488 grep -v '^ *+' conftest.er1 >conftest.err
78489 rm -f conftest.er1
78490 cat conftest.err >&5
78491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78492 (exit $ac_status); } >/dev/null; then
78493 if test -s conftest.err; then
78494 ac_cpp_err=$ac_c_preproc_warn_flag
78495 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78496 else
78497 ac_cpp_err=
78499 else
78500 ac_cpp_err=yes
78502 if test -z "$ac_cpp_err"; then
78503 ac_header_preproc=yes
78504 else
78505 echo "$as_me: failed program was:" >&5
78506 sed 's/^/| /' conftest.$ac_ext >&5
78508 ac_header_preproc=no
78510 rm -f conftest.err conftest.$ac_ext
78511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78512 echo "${ECHO_T}$ac_header_preproc" >&6
78514 # So? What about this header?
78515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78516 yes:no: )
78517 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78518 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78520 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78521 ac_header_preproc=yes
78523 no:yes:* )
78524 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78525 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78526 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78527 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78528 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78529 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78530 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78531 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78534 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78535 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78537 cat <<\_ASBOX
78538 ## ----------------------------------------- ##
78539 ## Report this to the package-unused lists. ##
78540 ## ----------------------------------------- ##
78541 _ASBOX
78543 sed "s/^/$as_me: WARNING: /" >&2
78545 esac
78546 echo "$as_me:$LINENO: checking for $ac_header" >&5
78547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78549 echo $ECHO_N "(cached) $ECHO_C" >&6
78550 else
78551 eval "$as_ac_Header=\$ac_header_preproc"
78553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78558 cat >>confdefs.h <<_ACEOF
78559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78560 _ACEOF
78561 ac_has_wctype_h=yes
78562 else
78563 ac_has_wctype_h=no
78566 done
78569 # Only continue checking if the ISO C99 headers exist and support is on.
78570 if test x"$ac_has_wchar_h" = xyes &&
78571 test x"$ac_has_wctype_h" = xyes &&
78572 test x"$enable_c_mbchar" != xno; then
78574 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78575 # numeric_limits can instantiate type_traits<wchar_t>
78576 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78577 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78578 cat >conftest.$ac_ext <<_ACEOF
78579 /* confdefs.h. */
78580 _ACEOF
78581 cat confdefs.h >>conftest.$ac_ext
78582 cat >>conftest.$ac_ext <<_ACEOF
78583 /* end confdefs.h. */
78584 #include <wchar.h>
78586 main ()
78588 int i = WCHAR_MIN; int j = WCHAR_MAX;
78590 return 0;
78592 _ACEOF
78593 rm -f conftest.$ac_objext
78594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78595 (eval $ac_compile) 2>conftest.er1
78596 ac_status=$?
78597 grep -v '^ *+' conftest.er1 >conftest.err
78598 rm -f conftest.er1
78599 cat conftest.err >&5
78600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78601 (exit $ac_status); } &&
78602 { ac_try='test -z "$ac_c_werror_flag"
78603 || test ! -s conftest.err'
78604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78605 (eval $ac_try) 2>&5
78606 ac_status=$?
78607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78608 (exit $ac_status); }; } &&
78609 { ac_try='test -s conftest.$ac_objext'
78610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78611 (eval $ac_try) 2>&5
78612 ac_status=$?
78613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78614 (exit $ac_status); }; }; then
78615 has_wchar_minmax=yes
78616 else
78617 echo "$as_me: failed program was:" >&5
78618 sed 's/^/| /' conftest.$ac_ext >&5
78620 has_wchar_minmax=no
78622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78623 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78624 echo "${ECHO_T}$has_wchar_minmax" >&6
78626 # Test wchar.h for WEOF, which is what we use to determine whether
78627 # to specialize for char_traits<wchar_t> or not.
78628 echo "$as_me:$LINENO: checking for WEOF" >&5
78629 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78630 cat >conftest.$ac_ext <<_ACEOF
78631 /* confdefs.h. */
78632 _ACEOF
78633 cat confdefs.h >>conftest.$ac_ext
78634 cat >>conftest.$ac_ext <<_ACEOF
78635 /* end confdefs.h. */
78637 #include <wchar.h>
78638 #include <stddef.h>
78640 main ()
78642 wint_t i = WEOF;
78644 return 0;
78646 _ACEOF
78647 rm -f conftest.$ac_objext
78648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78649 (eval $ac_compile) 2>conftest.er1
78650 ac_status=$?
78651 grep -v '^ *+' conftest.er1 >conftest.err
78652 rm -f conftest.er1
78653 cat conftest.err >&5
78654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78655 (exit $ac_status); } &&
78656 { ac_try='test -z "$ac_c_werror_flag"
78657 || test ! -s conftest.err'
78658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78659 (eval $ac_try) 2>&5
78660 ac_status=$?
78661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78662 (exit $ac_status); }; } &&
78663 { ac_try='test -s conftest.$ac_objext'
78664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78665 (eval $ac_try) 2>&5
78666 ac_status=$?
78667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78668 (exit $ac_status); }; }; then
78669 has_weof=yes
78670 else
78671 echo "$as_me: failed program was:" >&5
78672 sed 's/^/| /' conftest.$ac_ext >&5
78674 has_weof=no
78676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78677 echo "$as_me:$LINENO: result: $has_weof" >&5
78678 echo "${ECHO_T}$has_weof" >&6
78680 # Tests for wide character functions used in char_traits<wchar_t>.
78681 ac_wfuncs=yes
78688 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78691 echo "$as_me:$LINENO: checking for $ac_func" >&5
78692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78693 if eval "test \"\${$as_ac_var+set}\" = set"; then
78694 echo $ECHO_N "(cached) $ECHO_C" >&6
78695 else
78696 if test x$gcc_no_link = xyes; then
78697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78699 { (exit 1); exit 1; }; }
78701 cat >conftest.$ac_ext <<_ACEOF
78702 /* confdefs.h. */
78703 _ACEOF
78704 cat confdefs.h >>conftest.$ac_ext
78705 cat >>conftest.$ac_ext <<_ACEOF
78706 /* end confdefs.h. */
78707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78709 #define $ac_func innocuous_$ac_func
78711 /* System header to define __stub macros and hopefully few prototypes,
78712 which can conflict with char $ac_func (); below.
78713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78714 <limits.h> exists even on freestanding compilers. */
78716 #ifdef __STDC__
78717 # include <limits.h>
78718 #else
78719 # include <assert.h>
78720 #endif
78722 #undef $ac_func
78724 /* Override any gcc2 internal prototype to avoid an error. */
78725 #ifdef __cplusplus
78726 extern "C"
78728 #endif
78729 /* We use char because int might match the return type of a gcc2
78730 builtin and then its argument prototype would still apply. */
78731 char $ac_func ();
78732 /* The GNU C library defines this for functions which it implements
78733 to always fail with ENOSYS. Some functions are actually named
78734 something starting with __ and the normal name is an alias. */
78735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78736 choke me
78737 #else
78738 char (*f) () = $ac_func;
78739 #endif
78740 #ifdef __cplusplus
78742 #endif
78745 main ()
78747 return f != $ac_func;
78749 return 0;
78751 _ACEOF
78752 rm -f conftest.$ac_objext conftest$ac_exeext
78753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78754 (eval $ac_link) 2>conftest.er1
78755 ac_status=$?
78756 grep -v '^ *+' conftest.er1 >conftest.err
78757 rm -f conftest.er1
78758 cat conftest.err >&5
78759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78760 (exit $ac_status); } &&
78761 { ac_try='test -z "$ac_c_werror_flag"
78762 || test ! -s conftest.err'
78763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78764 (eval $ac_try) 2>&5
78765 ac_status=$?
78766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78767 (exit $ac_status); }; } &&
78768 { ac_try='test -s conftest$ac_exeext'
78769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78770 (eval $ac_try) 2>&5
78771 ac_status=$?
78772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78773 (exit $ac_status); }; }; then
78774 eval "$as_ac_var=yes"
78775 else
78776 echo "$as_me: failed program was:" >&5
78777 sed 's/^/| /' conftest.$ac_ext >&5
78779 eval "$as_ac_var=no"
78781 rm -f conftest.err conftest.$ac_objext \
78782 conftest$ac_exeext conftest.$ac_ext
78784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78786 if test `eval echo '${'$as_ac_var'}'` = yes; then
78787 cat >>confdefs.h <<_ACEOF
78788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78789 _ACEOF
78791 else
78792 ac_wfuncs=no
78794 done
78797 # Checks for names injected into std:: by the c_std headers.
78844 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78845 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78846 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78847 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78848 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78849 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78852 echo "$as_me:$LINENO: checking for $ac_func" >&5
78853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78854 if eval "test \"\${$as_ac_var+set}\" = set"; then
78855 echo $ECHO_N "(cached) $ECHO_C" >&6
78856 else
78857 if test x$gcc_no_link = xyes; then
78858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78860 { (exit 1); exit 1; }; }
78862 cat >conftest.$ac_ext <<_ACEOF
78863 /* confdefs.h. */
78864 _ACEOF
78865 cat confdefs.h >>conftest.$ac_ext
78866 cat >>conftest.$ac_ext <<_ACEOF
78867 /* end confdefs.h. */
78868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78870 #define $ac_func innocuous_$ac_func
78872 /* System header to define __stub macros and hopefully few prototypes,
78873 which can conflict with char $ac_func (); below.
78874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78875 <limits.h> exists even on freestanding compilers. */
78877 #ifdef __STDC__
78878 # include <limits.h>
78879 #else
78880 # include <assert.h>
78881 #endif
78883 #undef $ac_func
78885 /* Override any gcc2 internal prototype to avoid an error. */
78886 #ifdef __cplusplus
78887 extern "C"
78889 #endif
78890 /* We use char because int might match the return type of a gcc2
78891 builtin and then its argument prototype would still apply. */
78892 char $ac_func ();
78893 /* The GNU C library defines this for functions which it implements
78894 to always fail with ENOSYS. Some functions are actually named
78895 something starting with __ and the normal name is an alias. */
78896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78897 choke me
78898 #else
78899 char (*f) () = $ac_func;
78900 #endif
78901 #ifdef __cplusplus
78903 #endif
78906 main ()
78908 return f != $ac_func;
78910 return 0;
78912 _ACEOF
78913 rm -f conftest.$ac_objext conftest$ac_exeext
78914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78915 (eval $ac_link) 2>conftest.er1
78916 ac_status=$?
78917 grep -v '^ *+' conftest.er1 >conftest.err
78918 rm -f conftest.er1
78919 cat conftest.err >&5
78920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78921 (exit $ac_status); } &&
78922 { ac_try='test -z "$ac_c_werror_flag"
78923 || test ! -s conftest.err'
78924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78925 (eval $ac_try) 2>&5
78926 ac_status=$?
78927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78928 (exit $ac_status); }; } &&
78929 { ac_try='test -s conftest$ac_exeext'
78930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78931 (eval $ac_try) 2>&5
78932 ac_status=$?
78933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78934 (exit $ac_status); }; }; then
78935 eval "$as_ac_var=yes"
78936 else
78937 echo "$as_me: failed program was:" >&5
78938 sed 's/^/| /' conftest.$ac_ext >&5
78940 eval "$as_ac_var=no"
78942 rm -f conftest.err conftest.$ac_objext \
78943 conftest$ac_exeext conftest.$ac_ext
78945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78947 if test `eval echo '${'$as_ac_var'}'` = yes; then
78948 cat >>confdefs.h <<_ACEOF
78949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78950 _ACEOF
78952 else
78953 ac_wfuncs=no
78955 done
78958 # Checks for wide character functions that are not required
78959 # for basic wchar_t support. Don't disable support if they are missing.
78960 # Injection of these is wrapped with guard macros.
78966 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78969 echo "$as_me:$LINENO: checking for $ac_func" >&5
78970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78971 if eval "test \"\${$as_ac_var+set}\" = set"; then
78972 echo $ECHO_N "(cached) $ECHO_C" >&6
78973 else
78974 if test x$gcc_no_link = xyes; then
78975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78977 { (exit 1); exit 1; }; }
78979 cat >conftest.$ac_ext <<_ACEOF
78980 /* confdefs.h. */
78981 _ACEOF
78982 cat confdefs.h >>conftest.$ac_ext
78983 cat >>conftest.$ac_ext <<_ACEOF
78984 /* end confdefs.h. */
78985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78987 #define $ac_func innocuous_$ac_func
78989 /* System header to define __stub macros and hopefully few prototypes,
78990 which can conflict with char $ac_func (); below.
78991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78992 <limits.h> exists even on freestanding compilers. */
78994 #ifdef __STDC__
78995 # include <limits.h>
78996 #else
78997 # include <assert.h>
78998 #endif
79000 #undef $ac_func
79002 /* Override any gcc2 internal prototype to avoid an error. */
79003 #ifdef __cplusplus
79004 extern "C"
79006 #endif
79007 /* We use char because int might match the return type of a gcc2
79008 builtin and then its argument prototype would still apply. */
79009 char $ac_func ();
79010 /* The GNU C library defines this for functions which it implements
79011 to always fail with ENOSYS. Some functions are actually named
79012 something starting with __ and the normal name is an alias. */
79013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79014 choke me
79015 #else
79016 char (*f) () = $ac_func;
79017 #endif
79018 #ifdef __cplusplus
79020 #endif
79023 main ()
79025 return f != $ac_func;
79027 return 0;
79029 _ACEOF
79030 rm -f conftest.$ac_objext conftest$ac_exeext
79031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79032 (eval $ac_link) 2>conftest.er1
79033 ac_status=$?
79034 grep -v '^ *+' conftest.er1 >conftest.err
79035 rm -f conftest.er1
79036 cat conftest.err >&5
79037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79038 (exit $ac_status); } &&
79039 { ac_try='test -z "$ac_c_werror_flag"
79040 || test ! -s conftest.err'
79041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79042 (eval $ac_try) 2>&5
79043 ac_status=$?
79044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79045 (exit $ac_status); }; } &&
79046 { ac_try='test -s conftest$ac_exeext'
79047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79048 (eval $ac_try) 2>&5
79049 ac_status=$?
79050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79051 (exit $ac_status); }; }; then
79052 eval "$as_ac_var=yes"
79053 else
79054 echo "$as_me: failed program was:" >&5
79055 sed 's/^/| /' conftest.$ac_ext >&5
79057 eval "$as_ac_var=no"
79059 rm -f conftest.err conftest.$ac_objext \
79060 conftest$ac_exeext conftest.$ac_ext
79062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79064 if test `eval echo '${'$as_ac_var'}'` = yes; then
79065 cat >>confdefs.h <<_ACEOF
79066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79067 _ACEOF
79070 done
79073 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79074 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79075 if test x"$has_weof" = xyes &&
79076 test x"$has_wchar_minmax" = xyes &&
79077 test x"$ac_wfuncs" = xyes;
79078 then
79079 ac_isoC99_wchar_t=yes
79080 else
79081 ac_isoC99_wchar_t=no
79083 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79084 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79086 # Use iconv for wchar_t to char conversions. As such, check for
79087 # X/Open Portability Guide, version 2 features (XPG2).
79088 if test "${ac_cv_header_iconv_h+set}" = set; then
79089 echo "$as_me:$LINENO: checking for iconv.h" >&5
79090 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79091 if test "${ac_cv_header_iconv_h+set}" = set; then
79092 echo $ECHO_N "(cached) $ECHO_C" >&6
79094 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79095 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79096 else
79097 # Is the header compilable?
79098 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79099 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79100 cat >conftest.$ac_ext <<_ACEOF
79101 /* confdefs.h. */
79102 _ACEOF
79103 cat confdefs.h >>conftest.$ac_ext
79104 cat >>conftest.$ac_ext <<_ACEOF
79105 /* end confdefs.h. */
79106 $ac_includes_default
79107 #include <iconv.h>
79108 _ACEOF
79109 rm -f conftest.$ac_objext
79110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79111 (eval $ac_compile) 2>conftest.er1
79112 ac_status=$?
79113 grep -v '^ *+' conftest.er1 >conftest.err
79114 rm -f conftest.er1
79115 cat conftest.err >&5
79116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79117 (exit $ac_status); } &&
79118 { ac_try='test -z "$ac_c_werror_flag"
79119 || test ! -s conftest.err'
79120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79121 (eval $ac_try) 2>&5
79122 ac_status=$?
79123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79124 (exit $ac_status); }; } &&
79125 { ac_try='test -s conftest.$ac_objext'
79126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79127 (eval $ac_try) 2>&5
79128 ac_status=$?
79129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79130 (exit $ac_status); }; }; then
79131 ac_header_compiler=yes
79132 else
79133 echo "$as_me: failed program was:" >&5
79134 sed 's/^/| /' conftest.$ac_ext >&5
79136 ac_header_compiler=no
79138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79140 echo "${ECHO_T}$ac_header_compiler" >&6
79142 # Is the header present?
79143 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79144 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79145 cat >conftest.$ac_ext <<_ACEOF
79146 /* confdefs.h. */
79147 _ACEOF
79148 cat confdefs.h >>conftest.$ac_ext
79149 cat >>conftest.$ac_ext <<_ACEOF
79150 /* end confdefs.h. */
79151 #include <iconv.h>
79152 _ACEOF
79153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79155 ac_status=$?
79156 grep -v '^ *+' conftest.er1 >conftest.err
79157 rm -f conftest.er1
79158 cat conftest.err >&5
79159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79160 (exit $ac_status); } >/dev/null; then
79161 if test -s conftest.err; then
79162 ac_cpp_err=$ac_c_preproc_warn_flag
79163 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79164 else
79165 ac_cpp_err=
79167 else
79168 ac_cpp_err=yes
79170 if test -z "$ac_cpp_err"; then
79171 ac_header_preproc=yes
79172 else
79173 echo "$as_me: failed program was:" >&5
79174 sed 's/^/| /' conftest.$ac_ext >&5
79176 ac_header_preproc=no
79178 rm -f conftest.err conftest.$ac_ext
79179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79180 echo "${ECHO_T}$ac_header_preproc" >&6
79182 # So? What about this header?
79183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79184 yes:no: )
79185 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79186 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79187 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79188 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79189 ac_header_preproc=yes
79191 no:yes:* )
79192 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79193 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79194 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79195 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79196 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79197 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79198 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79199 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79200 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79201 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79202 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79203 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79205 cat <<\_ASBOX
79206 ## ----------------------------------------- ##
79207 ## Report this to the package-unused lists. ##
79208 ## ----------------------------------------- ##
79209 _ASBOX
79211 sed "s/^/$as_me: WARNING: /" >&2
79213 esac
79214 echo "$as_me:$LINENO: checking for iconv.h" >&5
79215 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79216 if test "${ac_cv_header_iconv_h+set}" = set; then
79217 echo $ECHO_N "(cached) $ECHO_C" >&6
79218 else
79219 ac_cv_header_iconv_h=$ac_header_preproc
79221 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79222 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79225 if test $ac_cv_header_iconv_h = yes; then
79226 ac_has_iconv_h=yes
79227 else
79228 ac_has_iconv_h=no
79232 if test "${ac_cv_header_langinfo_h+set}" = set; then
79233 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79234 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79235 if test "${ac_cv_header_langinfo_h+set}" = set; then
79236 echo $ECHO_N "(cached) $ECHO_C" >&6
79238 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79239 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79240 else
79241 # Is the header compilable?
79242 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79243 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79244 cat >conftest.$ac_ext <<_ACEOF
79245 /* confdefs.h. */
79246 _ACEOF
79247 cat confdefs.h >>conftest.$ac_ext
79248 cat >>conftest.$ac_ext <<_ACEOF
79249 /* end confdefs.h. */
79250 $ac_includes_default
79251 #include <langinfo.h>
79252 _ACEOF
79253 rm -f conftest.$ac_objext
79254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79255 (eval $ac_compile) 2>conftest.er1
79256 ac_status=$?
79257 grep -v '^ *+' conftest.er1 >conftest.err
79258 rm -f conftest.er1
79259 cat conftest.err >&5
79260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79261 (exit $ac_status); } &&
79262 { ac_try='test -z "$ac_c_werror_flag"
79263 || test ! -s conftest.err'
79264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79265 (eval $ac_try) 2>&5
79266 ac_status=$?
79267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79268 (exit $ac_status); }; } &&
79269 { ac_try='test -s conftest.$ac_objext'
79270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79271 (eval $ac_try) 2>&5
79272 ac_status=$?
79273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79274 (exit $ac_status); }; }; then
79275 ac_header_compiler=yes
79276 else
79277 echo "$as_me: failed program was:" >&5
79278 sed 's/^/| /' conftest.$ac_ext >&5
79280 ac_header_compiler=no
79282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79284 echo "${ECHO_T}$ac_header_compiler" >&6
79286 # Is the header present?
79287 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79288 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79289 cat >conftest.$ac_ext <<_ACEOF
79290 /* confdefs.h. */
79291 _ACEOF
79292 cat confdefs.h >>conftest.$ac_ext
79293 cat >>conftest.$ac_ext <<_ACEOF
79294 /* end confdefs.h. */
79295 #include <langinfo.h>
79296 _ACEOF
79297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79299 ac_status=$?
79300 grep -v '^ *+' conftest.er1 >conftest.err
79301 rm -f conftest.er1
79302 cat conftest.err >&5
79303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79304 (exit $ac_status); } >/dev/null; then
79305 if test -s conftest.err; then
79306 ac_cpp_err=$ac_c_preproc_warn_flag
79307 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79308 else
79309 ac_cpp_err=
79311 else
79312 ac_cpp_err=yes
79314 if test -z "$ac_cpp_err"; then
79315 ac_header_preproc=yes
79316 else
79317 echo "$as_me: failed program was:" >&5
79318 sed 's/^/| /' conftest.$ac_ext >&5
79320 ac_header_preproc=no
79322 rm -f conftest.err conftest.$ac_ext
79323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79324 echo "${ECHO_T}$ac_header_preproc" >&6
79326 # So? What about this header?
79327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79328 yes:no: )
79329 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79330 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79331 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79332 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79333 ac_header_preproc=yes
79335 no:yes:* )
79336 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79337 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79338 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79339 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79340 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79341 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79342 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79343 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79344 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79345 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79346 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79347 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79349 cat <<\_ASBOX
79350 ## ----------------------------------------- ##
79351 ## Report this to the package-unused lists. ##
79352 ## ----------------------------------------- ##
79353 _ASBOX
79355 sed "s/^/$as_me: WARNING: /" >&2
79357 esac
79358 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79359 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79360 if test "${ac_cv_header_langinfo_h+set}" = set; then
79361 echo $ECHO_N "(cached) $ECHO_C" >&6
79362 else
79363 ac_cv_header_langinfo_h=$ac_header_preproc
79365 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79366 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79369 if test $ac_cv_header_langinfo_h = yes; then
79370 ac_has_langinfo_h=yes
79371 else
79372 ac_has_langinfo_h=no
79377 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79378 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79379 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79380 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79381 echo $ECHO_N "(cached) $ECHO_C" >&6
79382 else
79383 ac_check_lib_save_LIBS=$LIBS
79384 LIBS="-liconv $LIBS"
79385 if test x$gcc_no_link = xyes; then
79386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79388 { (exit 1); exit 1; }; }
79390 cat >conftest.$ac_ext <<_ACEOF
79391 /* confdefs.h. */
79392 _ACEOF
79393 cat confdefs.h >>conftest.$ac_ext
79394 cat >>conftest.$ac_ext <<_ACEOF
79395 /* end confdefs.h. */
79397 /* Override any gcc2 internal prototype to avoid an error. */
79398 #ifdef __cplusplus
79399 extern "C"
79400 #endif
79401 /* We use char because int might match the return type of a gcc2
79402 builtin and then its argument prototype would still apply. */
79403 char iconv ();
79405 main ()
79407 iconv ();
79409 return 0;
79411 _ACEOF
79412 rm -f conftest.$ac_objext conftest$ac_exeext
79413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79414 (eval $ac_link) 2>conftest.er1
79415 ac_status=$?
79416 grep -v '^ *+' conftest.er1 >conftest.err
79417 rm -f conftest.er1
79418 cat conftest.err >&5
79419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79420 (exit $ac_status); } &&
79421 { ac_try='test -z "$ac_c_werror_flag"
79422 || test ! -s conftest.err'
79423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79424 (eval $ac_try) 2>&5
79425 ac_status=$?
79426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79427 (exit $ac_status); }; } &&
79428 { ac_try='test -s conftest$ac_exeext'
79429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79430 (eval $ac_try) 2>&5
79431 ac_status=$?
79432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79433 (exit $ac_status); }; }; then
79434 ac_cv_lib_iconv_iconv=yes
79435 else
79436 echo "$as_me: failed program was:" >&5
79437 sed 's/^/| /' conftest.$ac_ext >&5
79439 ac_cv_lib_iconv_iconv=no
79441 rm -f conftest.err conftest.$ac_objext \
79442 conftest$ac_exeext conftest.$ac_ext
79443 LIBS=$ac_check_lib_save_LIBS
79445 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79446 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79447 if test $ac_cv_lib_iconv_iconv = yes; then
79448 LIBICONV="-liconv"
79451 ac_save_LIBS="$LIBS"
79452 LIBS="$LIBS $LIBICONV"
79459 for ac_func in iconv_open iconv_close iconv nl_langinfo
79461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79462 echo "$as_me:$LINENO: checking for $ac_func" >&5
79463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79464 if eval "test \"\${$as_ac_var+set}\" = set"; then
79465 echo $ECHO_N "(cached) $ECHO_C" >&6
79466 else
79467 if test x$gcc_no_link = xyes; then
79468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79470 { (exit 1); exit 1; }; }
79472 cat >conftest.$ac_ext <<_ACEOF
79473 /* confdefs.h. */
79474 _ACEOF
79475 cat confdefs.h >>conftest.$ac_ext
79476 cat >>conftest.$ac_ext <<_ACEOF
79477 /* end confdefs.h. */
79478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79480 #define $ac_func innocuous_$ac_func
79482 /* System header to define __stub macros and hopefully few prototypes,
79483 which can conflict with char $ac_func (); below.
79484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79485 <limits.h> exists even on freestanding compilers. */
79487 #ifdef __STDC__
79488 # include <limits.h>
79489 #else
79490 # include <assert.h>
79491 #endif
79493 #undef $ac_func
79495 /* Override any gcc2 internal prototype to avoid an error. */
79496 #ifdef __cplusplus
79497 extern "C"
79499 #endif
79500 /* We use char because int might match the return type of a gcc2
79501 builtin and then its argument prototype would still apply. */
79502 char $ac_func ();
79503 /* The GNU C library defines this for functions which it implements
79504 to always fail with ENOSYS. Some functions are actually named
79505 something starting with __ and the normal name is an alias. */
79506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79507 choke me
79508 #else
79509 char (*f) () = $ac_func;
79510 #endif
79511 #ifdef __cplusplus
79513 #endif
79516 main ()
79518 return f != $ac_func;
79520 return 0;
79522 _ACEOF
79523 rm -f conftest.$ac_objext conftest$ac_exeext
79524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79525 (eval $ac_link) 2>conftest.er1
79526 ac_status=$?
79527 grep -v '^ *+' conftest.er1 >conftest.err
79528 rm -f conftest.er1
79529 cat conftest.err >&5
79530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79531 (exit $ac_status); } &&
79532 { ac_try='test -z "$ac_c_werror_flag"
79533 || test ! -s conftest.err'
79534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79535 (eval $ac_try) 2>&5
79536 ac_status=$?
79537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79538 (exit $ac_status); }; } &&
79539 { ac_try='test -s conftest$ac_exeext'
79540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79541 (eval $ac_try) 2>&5
79542 ac_status=$?
79543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79544 (exit $ac_status); }; }; then
79545 eval "$as_ac_var=yes"
79546 else
79547 echo "$as_me: failed program was:" >&5
79548 sed 's/^/| /' conftest.$ac_ext >&5
79550 eval "$as_ac_var=no"
79552 rm -f conftest.err conftest.$ac_objext \
79553 conftest$ac_exeext conftest.$ac_ext
79555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79557 if test `eval echo '${'$as_ac_var'}'` = yes; then
79558 cat >>confdefs.h <<_ACEOF
79559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79560 _ACEOF
79561 ac_XPG2funcs=yes
79562 else
79563 ac_XPG2funcs=no
79565 done
79568 LIBS="$ac_save_LIBS"
79570 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79571 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79572 if test x"$ac_has_iconv_h" = xyes &&
79573 test x"$ac_has_langinfo_h" = xyes &&
79574 test x"$ac_XPG2funcs" = xyes;
79575 then
79576 ac_XPG2_wchar_t=yes
79577 else
79578 ac_XPG2_wchar_t=no
79580 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79581 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79583 # At the moment, only enable wchar_t specializations if all the
79584 # above support is present.
79585 if test x"$ac_isoC99_wchar_t" = xyes &&
79586 test x"$ac_XPG2_wchar_t" = xyes;
79587 then
79588 cat >>confdefs.h <<\_ACEOF
79589 #define _GLIBCXX_USE_WCHAR_T 1
79590 _ACEOF
79592 enable_wchar_t=yes
79595 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79596 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79597 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79598 echo "${ECHO_T}$enable_wchar_t" >&6
79600 cat >>confdefs.h <<\_ACEOF
79601 #define HAVE_COPYSIGN 1
79602 _ACEOF
79604 cat >>confdefs.h <<\_ACEOF
79605 #define HAVE_COPYSIGNF 1
79606 _ACEOF
79608 cat >>confdefs.h <<\_ACEOF
79609 #define HAVE_FREXPF 1
79610 _ACEOF
79612 cat >>confdefs.h <<\_ACEOF
79613 #define HAVE_HYPOT 1
79614 _ACEOF
79616 case "$target" in
79617 *-hpux10*)
79618 cat >>confdefs.h <<\_ACEOF
79619 #define HAVE_FINITE 1
79620 _ACEOF
79622 cat >>confdefs.h <<\_ACEOF
79623 #define HAVE_FINITEF 1
79624 _ACEOF
79626 cat >>confdefs.h <<\_ACEOF
79627 #define HAVE_ISINF 1
79628 _ACEOF
79630 cat >>confdefs.h <<\_ACEOF
79631 #define HAVE_ISINFF 1
79632 _ACEOF
79634 cat >>confdefs.h <<\_ACEOF
79635 #define HAVE_ISNAN 1
79636 _ACEOF
79638 cat >>confdefs.h <<\_ACEOF
79639 #define HAVE_ISNANF 1
79640 _ACEOF
79643 esac
79645 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
79661 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79662 machine/endian.h machine/param.h sys/machine.h sys/types.h \
79663 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
79665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79667 echo "$as_me:$LINENO: checking for $ac_header" >&5
79668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79670 echo $ECHO_N "(cached) $ECHO_C" >&6
79672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79674 else
79675 # Is the header compilable?
79676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79678 cat >conftest.$ac_ext <<_ACEOF
79679 /* confdefs.h. */
79680 _ACEOF
79681 cat confdefs.h >>conftest.$ac_ext
79682 cat >>conftest.$ac_ext <<_ACEOF
79683 /* end confdefs.h. */
79684 $ac_includes_default
79685 #include <$ac_header>
79686 _ACEOF
79687 rm -f conftest.$ac_objext
79688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79689 (eval $ac_compile) 2>conftest.er1
79690 ac_status=$?
79691 grep -v '^ *+' conftest.er1 >conftest.err
79692 rm -f conftest.er1
79693 cat conftest.err >&5
79694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79695 (exit $ac_status); } &&
79696 { ac_try='test -z "$ac_c_werror_flag"
79697 || test ! -s conftest.err'
79698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79699 (eval $ac_try) 2>&5
79700 ac_status=$?
79701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79702 (exit $ac_status); }; } &&
79703 { ac_try='test -s conftest.$ac_objext'
79704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79705 (eval $ac_try) 2>&5
79706 ac_status=$?
79707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79708 (exit $ac_status); }; }; then
79709 ac_header_compiler=yes
79710 else
79711 echo "$as_me: failed program was:" >&5
79712 sed 's/^/| /' conftest.$ac_ext >&5
79714 ac_header_compiler=no
79716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79718 echo "${ECHO_T}$ac_header_compiler" >&6
79720 # Is the header present?
79721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79723 cat >conftest.$ac_ext <<_ACEOF
79724 /* confdefs.h. */
79725 _ACEOF
79726 cat confdefs.h >>conftest.$ac_ext
79727 cat >>conftest.$ac_ext <<_ACEOF
79728 /* end confdefs.h. */
79729 #include <$ac_header>
79730 _ACEOF
79731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79733 ac_status=$?
79734 grep -v '^ *+' conftest.er1 >conftest.err
79735 rm -f conftest.er1
79736 cat conftest.err >&5
79737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79738 (exit $ac_status); } >/dev/null; then
79739 if test -s conftest.err; then
79740 ac_cpp_err=$ac_c_preproc_warn_flag
79741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79742 else
79743 ac_cpp_err=
79745 else
79746 ac_cpp_err=yes
79748 if test -z "$ac_cpp_err"; then
79749 ac_header_preproc=yes
79750 else
79751 echo "$as_me: failed program was:" >&5
79752 sed 's/^/| /' conftest.$ac_ext >&5
79754 ac_header_preproc=no
79756 rm -f conftest.err conftest.$ac_ext
79757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79758 echo "${ECHO_T}$ac_header_preproc" >&6
79760 # So? What about this header?
79761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79762 yes:no: )
79763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79767 ac_header_preproc=yes
79769 no:yes:* )
79770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79783 cat <<\_ASBOX
79784 ## ----------------------------------------- ##
79785 ## Report this to the package-unused lists. ##
79786 ## ----------------------------------------- ##
79787 _ASBOX
79789 sed "s/^/$as_me: WARNING: /" >&2
79791 esac
79792 echo "$as_me:$LINENO: checking for $ac_header" >&5
79793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79795 echo $ECHO_N "(cached) $ECHO_C" >&6
79796 else
79797 eval "$as_ac_Header=\$ac_header_preproc"
79799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79804 cat >>confdefs.h <<_ACEOF
79805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79806 _ACEOF
79810 done
79812 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79815 # If we're not using GNU ld, then there's no point in even trying these
79816 # tests. Check for that first. We should have already tested for gld
79817 # by now (in libtool), but require it now just to be safe...
79818 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79819 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79823 # The name set by libtool depends on the version of libtool. Shame on us
79824 # for depending on an impl detail, but c'est la vie. Older versions used
79825 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79826 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79827 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79828 # set (hence we're using an older libtool), then set it.
79829 if test x${with_gnu_ld+set} != xset; then
79830 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79831 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79832 with_gnu_ld=no
79833 else
79834 with_gnu_ld=$ac_cv_prog_gnu_ld
79838 # Start by getting the version number. I think the libtool test already
79839 # does some of this, but throws away the result.
79841 ldver=`$LD --version 2>/dev/null | head -1 | \
79842 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79844 glibcxx_gnu_ld_version=`echo $ldver | \
79845 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79847 # Set --gc-sections.
79848 if test "$with_gnu_ld" = "notbroken"; then
79849 # GNU ld it is! Joy and bunny rabbits!
79851 # All these tests are for C++; save the language and the compiler flags.
79852 # Need to do this so that g++ won't try to link in libstdc++
79853 ac_test_CFLAGS="${CFLAGS+set}"
79854 ac_save_CFLAGS="$CFLAGS"
79855 CFLAGS='-x c++ -Wl,--gc-sections'
79857 # Check for -Wl,--gc-sections
79858 # XXX This test is broken at the moment, as symbols required for linking
79859 # are now in libsupc++ (not built yet). In addition, this test has
79860 # cored on solaris in the past. In addition, --gc-sections doesn't
79861 # really work at the moment (keeps on discarding used sections, first
79862 # .eh_frame and now some of the glibc sections for iconv).
79863 # Bzzzzt. Thanks for playing, maybe next time.
79864 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79865 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79866 if test "$cross_compiling" = yes; then
79867 ac_sectionLDflags=yes
79868 else
79869 cat >conftest.$ac_ext <<_ACEOF
79870 /* confdefs.h. */
79871 _ACEOF
79872 cat confdefs.h >>conftest.$ac_ext
79873 cat >>conftest.$ac_ext <<_ACEOF
79874 /* end confdefs.h. */
79876 int main(void)
79878 try { throw 1; }
79879 catch (...) { };
79880 return 0;
79883 _ACEOF
79884 rm -f conftest$ac_exeext
79885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79886 (eval $ac_link) 2>&5
79887 ac_status=$?
79888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79889 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79891 (eval $ac_try) 2>&5
79892 ac_status=$?
79893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79894 (exit $ac_status); }; }; then
79895 ac_sectionLDflags=yes
79896 else
79897 echo "$as_me: program exited with status $ac_status" >&5
79898 echo "$as_me: failed program was:" >&5
79899 sed 's/^/| /' conftest.$ac_ext >&5
79901 ( exit $ac_status )
79902 ac_sectionLDflags=no
79904 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79906 if test "$ac_test_CFLAGS" = set; then
79907 CFLAGS="$ac_save_CFLAGS"
79908 else
79909 # this is the suspicious part
79910 CFLAGS=''
79912 if test "$ac_sectionLDflags" = "yes"; then
79913 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79915 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79916 echo "${ECHO_T}$ac_sectionLDflags" >&6
79919 # Set linker optimization flags.
79920 if test x"$with_gnu_ld" = x"yes"; then
79921 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79929 echo "$as_me:$LINENO: checking for main in -lm" >&5
79930 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79931 if test "${ac_cv_lib_m_main+set}" = set; then
79932 echo $ECHO_N "(cached) $ECHO_C" >&6
79933 else
79934 ac_check_lib_save_LIBS=$LIBS
79935 LIBS="-lm $LIBS"
79936 if test x$gcc_no_link = xyes; then
79937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79939 { (exit 1); exit 1; }; }
79941 cat >conftest.$ac_ext <<_ACEOF
79942 /* confdefs.h. */
79943 _ACEOF
79944 cat confdefs.h >>conftest.$ac_ext
79945 cat >>conftest.$ac_ext <<_ACEOF
79946 /* end confdefs.h. */
79950 main ()
79952 main ();
79954 return 0;
79956 _ACEOF
79957 rm -f conftest.$ac_objext conftest$ac_exeext
79958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79959 (eval $ac_link) 2>conftest.er1
79960 ac_status=$?
79961 grep -v '^ *+' conftest.er1 >conftest.err
79962 rm -f conftest.er1
79963 cat conftest.err >&5
79964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79965 (exit $ac_status); } &&
79966 { ac_try='test -z "$ac_c_werror_flag"
79967 || test ! -s conftest.err'
79968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79969 (eval $ac_try) 2>&5
79970 ac_status=$?
79971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79972 (exit $ac_status); }; } &&
79973 { ac_try='test -s conftest$ac_exeext'
79974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79975 (eval $ac_try) 2>&5
79976 ac_status=$?
79977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79978 (exit $ac_status); }; }; then
79979 ac_cv_lib_m_main=yes
79980 else
79981 echo "$as_me: failed program was:" >&5
79982 sed 's/^/| /' conftest.$ac_ext >&5
79984 ac_cv_lib_m_main=no
79986 rm -f conftest.err conftest.$ac_objext \
79987 conftest$ac_exeext conftest.$ac_ext
79988 LIBS=$ac_check_lib_save_LIBS
79990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79991 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79992 if test $ac_cv_lib_m_main = yes; then
79993 cat >>confdefs.h <<_ACEOF
79994 #define HAVE_LIBM 1
79995 _ACEOF
79997 LIBS="-lm $LIBS"
80002 for ac_func in copysignf
80004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80005 echo "$as_me:$LINENO: checking for $ac_func" >&5
80006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80007 if eval "test \"\${$as_ac_var+set}\" = set"; then
80008 echo $ECHO_N "(cached) $ECHO_C" >&6
80009 else
80010 if test x$gcc_no_link = xyes; then
80011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80013 { (exit 1); exit 1; }; }
80015 cat >conftest.$ac_ext <<_ACEOF
80016 /* confdefs.h. */
80017 _ACEOF
80018 cat confdefs.h >>conftest.$ac_ext
80019 cat >>conftest.$ac_ext <<_ACEOF
80020 /* end confdefs.h. */
80021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80023 #define $ac_func innocuous_$ac_func
80025 /* System header to define __stub macros and hopefully few prototypes,
80026 which can conflict with char $ac_func (); below.
80027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80028 <limits.h> exists even on freestanding compilers. */
80030 #ifdef __STDC__
80031 # include <limits.h>
80032 #else
80033 # include <assert.h>
80034 #endif
80036 #undef $ac_func
80038 /* Override any gcc2 internal prototype to avoid an error. */
80039 #ifdef __cplusplus
80040 extern "C"
80042 #endif
80043 /* We use char because int might match the return type of a gcc2
80044 builtin and then its argument prototype would still apply. */
80045 char $ac_func ();
80046 /* The GNU C library defines this for functions which it implements
80047 to always fail with ENOSYS. Some functions are actually named
80048 something starting with __ and the normal name is an alias. */
80049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80050 choke me
80051 #else
80052 char (*f) () = $ac_func;
80053 #endif
80054 #ifdef __cplusplus
80056 #endif
80059 main ()
80061 return f != $ac_func;
80063 return 0;
80065 _ACEOF
80066 rm -f conftest.$ac_objext conftest$ac_exeext
80067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80068 (eval $ac_link) 2>conftest.er1
80069 ac_status=$?
80070 grep -v '^ *+' conftest.er1 >conftest.err
80071 rm -f conftest.er1
80072 cat conftest.err >&5
80073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80074 (exit $ac_status); } &&
80075 { ac_try='test -z "$ac_c_werror_flag"
80076 || test ! -s conftest.err'
80077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80078 (eval $ac_try) 2>&5
80079 ac_status=$?
80080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80081 (exit $ac_status); }; } &&
80082 { ac_try='test -s conftest$ac_exeext'
80083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80084 (eval $ac_try) 2>&5
80085 ac_status=$?
80086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80087 (exit $ac_status); }; }; then
80088 eval "$as_ac_var=yes"
80089 else
80090 echo "$as_me: failed program was:" >&5
80091 sed 's/^/| /' conftest.$ac_ext >&5
80093 eval "$as_ac_var=no"
80095 rm -f conftest.err conftest.$ac_objext \
80096 conftest$ac_exeext conftest.$ac_ext
80098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80100 if test `eval echo '${'$as_ac_var'}'` = yes; then
80101 cat >>confdefs.h <<_ACEOF
80102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80103 _ACEOF
80105 else
80106 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80108 done
80112 for ac_func in __signbit
80114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80115 echo "$as_me:$LINENO: checking for $ac_func" >&5
80116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80117 if eval "test \"\${$as_ac_var+set}\" = set"; then
80118 echo $ECHO_N "(cached) $ECHO_C" >&6
80119 else
80120 if test x$gcc_no_link = xyes; then
80121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80123 { (exit 1); exit 1; }; }
80125 cat >conftest.$ac_ext <<_ACEOF
80126 /* confdefs.h. */
80127 _ACEOF
80128 cat confdefs.h >>conftest.$ac_ext
80129 cat >>conftest.$ac_ext <<_ACEOF
80130 /* end confdefs.h. */
80131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80133 #define $ac_func innocuous_$ac_func
80135 /* System header to define __stub macros and hopefully few prototypes,
80136 which can conflict with char $ac_func (); below.
80137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80138 <limits.h> exists even on freestanding compilers. */
80140 #ifdef __STDC__
80141 # include <limits.h>
80142 #else
80143 # include <assert.h>
80144 #endif
80146 #undef $ac_func
80148 /* Override any gcc2 internal prototype to avoid an error. */
80149 #ifdef __cplusplus
80150 extern "C"
80152 #endif
80153 /* We use char because int might match the return type of a gcc2
80154 builtin and then its argument prototype would still apply. */
80155 char $ac_func ();
80156 /* The GNU C library defines this for functions which it implements
80157 to always fail with ENOSYS. Some functions are actually named
80158 something starting with __ and the normal name is an alias. */
80159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80160 choke me
80161 #else
80162 char (*f) () = $ac_func;
80163 #endif
80164 #ifdef __cplusplus
80166 #endif
80169 main ()
80171 return f != $ac_func;
80173 return 0;
80175 _ACEOF
80176 rm -f conftest.$ac_objext conftest$ac_exeext
80177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80178 (eval $ac_link) 2>conftest.er1
80179 ac_status=$?
80180 grep -v '^ *+' conftest.er1 >conftest.err
80181 rm -f conftest.er1
80182 cat conftest.err >&5
80183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80184 (exit $ac_status); } &&
80185 { ac_try='test -z "$ac_c_werror_flag"
80186 || test ! -s conftest.err'
80187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80188 (eval $ac_try) 2>&5
80189 ac_status=$?
80190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80191 (exit $ac_status); }; } &&
80192 { ac_try='test -s conftest$ac_exeext'
80193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80194 (eval $ac_try) 2>&5
80195 ac_status=$?
80196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80197 (exit $ac_status); }; }; then
80198 eval "$as_ac_var=yes"
80199 else
80200 echo "$as_me: failed program was:" >&5
80201 sed 's/^/| /' conftest.$ac_ext >&5
80203 eval "$as_ac_var=no"
80205 rm -f conftest.err conftest.$ac_objext \
80206 conftest$ac_exeext conftest.$ac_ext
80208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80210 if test `eval echo '${'$as_ac_var'}'` = yes; then
80211 cat >>confdefs.h <<_ACEOF
80212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80213 _ACEOF
80215 else
80216 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80218 done
80222 for ac_func in __signbitf
80224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80225 echo "$as_me:$LINENO: checking for $ac_func" >&5
80226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80227 if eval "test \"\${$as_ac_var+set}\" = set"; then
80228 echo $ECHO_N "(cached) $ECHO_C" >&6
80229 else
80230 if test x$gcc_no_link = xyes; then
80231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80233 { (exit 1); exit 1; }; }
80235 cat >conftest.$ac_ext <<_ACEOF
80236 /* confdefs.h. */
80237 _ACEOF
80238 cat confdefs.h >>conftest.$ac_ext
80239 cat >>conftest.$ac_ext <<_ACEOF
80240 /* end confdefs.h. */
80241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80243 #define $ac_func innocuous_$ac_func
80245 /* System header to define __stub macros and hopefully few prototypes,
80246 which can conflict with char $ac_func (); below.
80247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80248 <limits.h> exists even on freestanding compilers. */
80250 #ifdef __STDC__
80251 # include <limits.h>
80252 #else
80253 # include <assert.h>
80254 #endif
80256 #undef $ac_func
80258 /* Override any gcc2 internal prototype to avoid an error. */
80259 #ifdef __cplusplus
80260 extern "C"
80262 #endif
80263 /* We use char because int might match the return type of a gcc2
80264 builtin and then its argument prototype would still apply. */
80265 char $ac_func ();
80266 /* The GNU C library defines this for functions which it implements
80267 to always fail with ENOSYS. Some functions are actually named
80268 something starting with __ and the normal name is an alias. */
80269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80270 choke me
80271 #else
80272 char (*f) () = $ac_func;
80273 #endif
80274 #ifdef __cplusplus
80276 #endif
80279 main ()
80281 return f != $ac_func;
80283 return 0;
80285 _ACEOF
80286 rm -f conftest.$ac_objext conftest$ac_exeext
80287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80288 (eval $ac_link) 2>conftest.er1
80289 ac_status=$?
80290 grep -v '^ *+' conftest.er1 >conftest.err
80291 rm -f conftest.er1
80292 cat conftest.err >&5
80293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80294 (exit $ac_status); } &&
80295 { ac_try='test -z "$ac_c_werror_flag"
80296 || test ! -s conftest.err'
80297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80298 (eval $ac_try) 2>&5
80299 ac_status=$?
80300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80301 (exit $ac_status); }; } &&
80302 { ac_try='test -s conftest$ac_exeext'
80303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80304 (eval $ac_try) 2>&5
80305 ac_status=$?
80306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80307 (exit $ac_status); }; }; then
80308 eval "$as_ac_var=yes"
80309 else
80310 echo "$as_me: failed program was:" >&5
80311 sed 's/^/| /' conftest.$ac_ext >&5
80313 eval "$as_ac_var=no"
80315 rm -f conftest.err conftest.$ac_objext \
80316 conftest$ac_exeext conftest.$ac_ext
80318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80320 if test `eval echo '${'$as_ac_var'}'` = yes; then
80321 cat >>confdefs.h <<_ACEOF
80322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80323 _ACEOF
80325 else
80326 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80328 done
80331 if test x$ac_cv_func_copysignl = x"yes"; then
80333 for ac_func in __signbitl
80335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80336 echo "$as_me:$LINENO: checking for $ac_func" >&5
80337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80338 if eval "test \"\${$as_ac_var+set}\" = set"; then
80339 echo $ECHO_N "(cached) $ECHO_C" >&6
80340 else
80341 if test x$gcc_no_link = xyes; then
80342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80344 { (exit 1); exit 1; }; }
80346 cat >conftest.$ac_ext <<_ACEOF
80347 /* confdefs.h. */
80348 _ACEOF
80349 cat confdefs.h >>conftest.$ac_ext
80350 cat >>conftest.$ac_ext <<_ACEOF
80351 /* end confdefs.h. */
80352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80354 #define $ac_func innocuous_$ac_func
80356 /* System header to define __stub macros and hopefully few prototypes,
80357 which can conflict with char $ac_func (); below.
80358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80359 <limits.h> exists even on freestanding compilers. */
80361 #ifdef __STDC__
80362 # include <limits.h>
80363 #else
80364 # include <assert.h>
80365 #endif
80367 #undef $ac_func
80369 /* Override any gcc2 internal prototype to avoid an error. */
80370 #ifdef __cplusplus
80371 extern "C"
80373 #endif
80374 /* We use char because int might match the return type of a gcc2
80375 builtin and then its argument prototype would still apply. */
80376 char $ac_func ();
80377 /* The GNU C library defines this for functions which it implements
80378 to always fail with ENOSYS. Some functions are actually named
80379 something starting with __ and the normal name is an alias. */
80380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80381 choke me
80382 #else
80383 char (*f) () = $ac_func;
80384 #endif
80385 #ifdef __cplusplus
80387 #endif
80390 main ()
80392 return f != $ac_func;
80394 return 0;
80396 _ACEOF
80397 rm -f conftest.$ac_objext conftest$ac_exeext
80398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80399 (eval $ac_link) 2>conftest.er1
80400 ac_status=$?
80401 grep -v '^ *+' conftest.er1 >conftest.err
80402 rm -f conftest.er1
80403 cat conftest.err >&5
80404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80405 (exit $ac_status); } &&
80406 { ac_try='test -z "$ac_c_werror_flag"
80407 || test ! -s conftest.err'
80408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80409 (eval $ac_try) 2>&5
80410 ac_status=$?
80411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80412 (exit $ac_status); }; } &&
80413 { ac_try='test -s conftest$ac_exeext'
80414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80415 (eval $ac_try) 2>&5
80416 ac_status=$?
80417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80418 (exit $ac_status); }; }; then
80419 eval "$as_ac_var=yes"
80420 else
80421 echo "$as_me: failed program was:" >&5
80422 sed 's/^/| /' conftest.$ac_ext >&5
80424 eval "$as_ac_var=no"
80426 rm -f conftest.err conftest.$ac_objext \
80427 conftest$ac_exeext conftest.$ac_ext
80429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80431 if test `eval echo '${'$as_ac_var'}'` = yes; then
80432 cat >>confdefs.h <<_ACEOF
80433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80434 _ACEOF
80436 else
80437 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80439 done
80443 # Used in libmath/Makefile.am.
80444 if test -n "$LIBMATHOBJS"; then
80445 need_libmath=yes
80450 # Test wchar.h for mbstate_t, which is needed for char_traits and
80451 # others even if wchar_t support is not on.
80452 echo "$as_me:$LINENO: checking for mbstate_t" >&5
80453 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80454 cat >conftest.$ac_ext <<_ACEOF
80455 /* confdefs.h. */
80456 _ACEOF
80457 cat confdefs.h >>conftest.$ac_ext
80458 cat >>conftest.$ac_ext <<_ACEOF
80459 /* end confdefs.h. */
80460 #include <wchar.h>
80462 main ()
80464 mbstate_t teststate;
80466 return 0;
80468 _ACEOF
80469 rm -f conftest.$ac_objext
80470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80471 (eval $ac_compile) 2>conftest.er1
80472 ac_status=$?
80473 grep -v '^ *+' conftest.er1 >conftest.err
80474 rm -f conftest.er1
80475 cat conftest.err >&5
80476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80477 (exit $ac_status); } &&
80478 { ac_try='test -z "$ac_c_werror_flag"
80479 || test ! -s conftest.err'
80480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80481 (eval $ac_try) 2>&5
80482 ac_status=$?
80483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80484 (exit $ac_status); }; } &&
80485 { ac_try='test -s conftest.$ac_objext'
80486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80487 (eval $ac_try) 2>&5
80488 ac_status=$?
80489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80490 (exit $ac_status); }; }; then
80491 have_mbstate_t=yes
80492 else
80493 echo "$as_me: failed program was:" >&5
80494 sed 's/^/| /' conftest.$ac_ext >&5
80496 have_mbstate_t=no
80498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80499 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80500 echo "${ECHO_T}$have_mbstate_t" >&6
80501 if test x"$have_mbstate_t" = xyes; then
80502 cat >>confdefs.h <<\_ACEOF
80503 #define HAVE_MBSTATE_T 1
80504 _ACEOF
80508 # Sanity check for existence of ISO C99 headers for extended encoding.
80510 for ac_header in wchar.h
80512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80514 echo "$as_me:$LINENO: checking for $ac_header" >&5
80515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80517 echo $ECHO_N "(cached) $ECHO_C" >&6
80519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80521 else
80522 # Is the header compilable?
80523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80525 cat >conftest.$ac_ext <<_ACEOF
80526 /* confdefs.h. */
80527 _ACEOF
80528 cat confdefs.h >>conftest.$ac_ext
80529 cat >>conftest.$ac_ext <<_ACEOF
80530 /* end confdefs.h. */
80531 $ac_includes_default
80532 #include <$ac_header>
80533 _ACEOF
80534 rm -f conftest.$ac_objext
80535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80536 (eval $ac_compile) 2>conftest.er1
80537 ac_status=$?
80538 grep -v '^ *+' conftest.er1 >conftest.err
80539 rm -f conftest.er1
80540 cat conftest.err >&5
80541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80542 (exit $ac_status); } &&
80543 { ac_try='test -z "$ac_c_werror_flag"
80544 || test ! -s conftest.err'
80545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80546 (eval $ac_try) 2>&5
80547 ac_status=$?
80548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80549 (exit $ac_status); }; } &&
80550 { ac_try='test -s conftest.$ac_objext'
80551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80552 (eval $ac_try) 2>&5
80553 ac_status=$?
80554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80555 (exit $ac_status); }; }; then
80556 ac_header_compiler=yes
80557 else
80558 echo "$as_me: failed program was:" >&5
80559 sed 's/^/| /' conftest.$ac_ext >&5
80561 ac_header_compiler=no
80563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80565 echo "${ECHO_T}$ac_header_compiler" >&6
80567 # Is the header present?
80568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80570 cat >conftest.$ac_ext <<_ACEOF
80571 /* confdefs.h. */
80572 _ACEOF
80573 cat confdefs.h >>conftest.$ac_ext
80574 cat >>conftest.$ac_ext <<_ACEOF
80575 /* end confdefs.h. */
80576 #include <$ac_header>
80577 _ACEOF
80578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80580 ac_status=$?
80581 grep -v '^ *+' conftest.er1 >conftest.err
80582 rm -f conftest.er1
80583 cat conftest.err >&5
80584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80585 (exit $ac_status); } >/dev/null; then
80586 if test -s conftest.err; then
80587 ac_cpp_err=$ac_c_preproc_warn_flag
80588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80589 else
80590 ac_cpp_err=
80592 else
80593 ac_cpp_err=yes
80595 if test -z "$ac_cpp_err"; then
80596 ac_header_preproc=yes
80597 else
80598 echo "$as_me: failed program was:" >&5
80599 sed 's/^/| /' conftest.$ac_ext >&5
80601 ac_header_preproc=no
80603 rm -f conftest.err conftest.$ac_ext
80604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80605 echo "${ECHO_T}$ac_header_preproc" >&6
80607 # So? What about this header?
80608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80609 yes:no: )
80610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80614 ac_header_preproc=yes
80616 no:yes:* )
80617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80630 cat <<\_ASBOX
80631 ## ----------------------------------------- ##
80632 ## Report this to the package-unused lists. ##
80633 ## ----------------------------------------- ##
80634 _ASBOX
80636 sed "s/^/$as_me: WARNING: /" >&2
80638 esac
80639 echo "$as_me:$LINENO: checking for $ac_header" >&5
80640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80642 echo $ECHO_N "(cached) $ECHO_C" >&6
80643 else
80644 eval "$as_ac_Header=\$ac_header_preproc"
80646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80651 cat >>confdefs.h <<_ACEOF
80652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80653 _ACEOF
80654 ac_has_wchar_h=yes
80655 else
80656 ac_has_wchar_h=no
80659 done
80662 for ac_header in wctype.h
80664 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80666 echo "$as_me:$LINENO: checking for $ac_header" >&5
80667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80669 echo $ECHO_N "(cached) $ECHO_C" >&6
80671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80673 else
80674 # Is the header compilable?
80675 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80676 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80677 cat >conftest.$ac_ext <<_ACEOF
80678 /* confdefs.h. */
80679 _ACEOF
80680 cat confdefs.h >>conftest.$ac_ext
80681 cat >>conftest.$ac_ext <<_ACEOF
80682 /* end confdefs.h. */
80683 $ac_includes_default
80684 #include <$ac_header>
80685 _ACEOF
80686 rm -f conftest.$ac_objext
80687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80688 (eval $ac_compile) 2>conftest.er1
80689 ac_status=$?
80690 grep -v '^ *+' conftest.er1 >conftest.err
80691 rm -f conftest.er1
80692 cat conftest.err >&5
80693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80694 (exit $ac_status); } &&
80695 { ac_try='test -z "$ac_c_werror_flag"
80696 || test ! -s conftest.err'
80697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80698 (eval $ac_try) 2>&5
80699 ac_status=$?
80700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80701 (exit $ac_status); }; } &&
80702 { ac_try='test -s conftest.$ac_objext'
80703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80704 (eval $ac_try) 2>&5
80705 ac_status=$?
80706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80707 (exit $ac_status); }; }; then
80708 ac_header_compiler=yes
80709 else
80710 echo "$as_me: failed program was:" >&5
80711 sed 's/^/| /' conftest.$ac_ext >&5
80713 ac_header_compiler=no
80715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80717 echo "${ECHO_T}$ac_header_compiler" >&6
80719 # Is the header present?
80720 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80722 cat >conftest.$ac_ext <<_ACEOF
80723 /* confdefs.h. */
80724 _ACEOF
80725 cat confdefs.h >>conftest.$ac_ext
80726 cat >>conftest.$ac_ext <<_ACEOF
80727 /* end confdefs.h. */
80728 #include <$ac_header>
80729 _ACEOF
80730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80732 ac_status=$?
80733 grep -v '^ *+' conftest.er1 >conftest.err
80734 rm -f conftest.er1
80735 cat conftest.err >&5
80736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80737 (exit $ac_status); } >/dev/null; then
80738 if test -s conftest.err; then
80739 ac_cpp_err=$ac_c_preproc_warn_flag
80740 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80741 else
80742 ac_cpp_err=
80744 else
80745 ac_cpp_err=yes
80747 if test -z "$ac_cpp_err"; then
80748 ac_header_preproc=yes
80749 else
80750 echo "$as_me: failed program was:" >&5
80751 sed 's/^/| /' conftest.$ac_ext >&5
80753 ac_header_preproc=no
80755 rm -f conftest.err conftest.$ac_ext
80756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80757 echo "${ECHO_T}$ac_header_preproc" >&6
80759 # So? What about this header?
80760 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80761 yes:no: )
80762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80765 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80766 ac_header_preproc=yes
80768 no:yes:* )
80769 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80771 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80773 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80774 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80775 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80776 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80782 cat <<\_ASBOX
80783 ## ----------------------------------------- ##
80784 ## Report this to the package-unused lists. ##
80785 ## ----------------------------------------- ##
80786 _ASBOX
80788 sed "s/^/$as_me: WARNING: /" >&2
80790 esac
80791 echo "$as_me:$LINENO: checking for $ac_header" >&5
80792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80794 echo $ECHO_N "(cached) $ECHO_C" >&6
80795 else
80796 eval "$as_ac_Header=\$ac_header_preproc"
80798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80803 cat >>confdefs.h <<_ACEOF
80804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80805 _ACEOF
80806 ac_has_wctype_h=yes
80807 else
80808 ac_has_wctype_h=no
80811 done
80814 # Only continue checking if the ISO C99 headers exist and support is on.
80815 if test x"$ac_has_wchar_h" = xyes &&
80816 test x"$ac_has_wctype_h" = xyes &&
80817 test x"$enable_c_mbchar" != xno; then
80819 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80820 # numeric_limits can instantiate type_traits<wchar_t>
80821 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80822 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80823 cat >conftest.$ac_ext <<_ACEOF
80824 /* confdefs.h. */
80825 _ACEOF
80826 cat confdefs.h >>conftest.$ac_ext
80827 cat >>conftest.$ac_ext <<_ACEOF
80828 /* end confdefs.h. */
80829 #include <wchar.h>
80831 main ()
80833 int i = WCHAR_MIN; int j = WCHAR_MAX;
80835 return 0;
80837 _ACEOF
80838 rm -f conftest.$ac_objext
80839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80840 (eval $ac_compile) 2>conftest.er1
80841 ac_status=$?
80842 grep -v '^ *+' conftest.er1 >conftest.err
80843 rm -f conftest.er1
80844 cat conftest.err >&5
80845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80846 (exit $ac_status); } &&
80847 { ac_try='test -z "$ac_c_werror_flag"
80848 || test ! -s conftest.err'
80849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80850 (eval $ac_try) 2>&5
80851 ac_status=$?
80852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80853 (exit $ac_status); }; } &&
80854 { ac_try='test -s conftest.$ac_objext'
80855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80856 (eval $ac_try) 2>&5
80857 ac_status=$?
80858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80859 (exit $ac_status); }; }; then
80860 has_wchar_minmax=yes
80861 else
80862 echo "$as_me: failed program was:" >&5
80863 sed 's/^/| /' conftest.$ac_ext >&5
80865 has_wchar_minmax=no
80867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80868 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80869 echo "${ECHO_T}$has_wchar_minmax" >&6
80871 # Test wchar.h for WEOF, which is what we use to determine whether
80872 # to specialize for char_traits<wchar_t> or not.
80873 echo "$as_me:$LINENO: checking for WEOF" >&5
80874 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80875 cat >conftest.$ac_ext <<_ACEOF
80876 /* confdefs.h. */
80877 _ACEOF
80878 cat confdefs.h >>conftest.$ac_ext
80879 cat >>conftest.$ac_ext <<_ACEOF
80880 /* end confdefs.h. */
80882 #include <wchar.h>
80883 #include <stddef.h>
80885 main ()
80887 wint_t i = WEOF;
80889 return 0;
80891 _ACEOF
80892 rm -f conftest.$ac_objext
80893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80894 (eval $ac_compile) 2>conftest.er1
80895 ac_status=$?
80896 grep -v '^ *+' conftest.er1 >conftest.err
80897 rm -f conftest.er1
80898 cat conftest.err >&5
80899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80900 (exit $ac_status); } &&
80901 { ac_try='test -z "$ac_c_werror_flag"
80902 || test ! -s conftest.err'
80903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80904 (eval $ac_try) 2>&5
80905 ac_status=$?
80906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80907 (exit $ac_status); }; } &&
80908 { ac_try='test -s conftest.$ac_objext'
80909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80910 (eval $ac_try) 2>&5
80911 ac_status=$?
80912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80913 (exit $ac_status); }; }; then
80914 has_weof=yes
80915 else
80916 echo "$as_me: failed program was:" >&5
80917 sed 's/^/| /' conftest.$ac_ext >&5
80919 has_weof=no
80921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80922 echo "$as_me:$LINENO: result: $has_weof" >&5
80923 echo "${ECHO_T}$has_weof" >&6
80925 # Tests for wide character functions used in char_traits<wchar_t>.
80926 ac_wfuncs=yes
80933 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80936 echo "$as_me:$LINENO: checking for $ac_func" >&5
80937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80938 if eval "test \"\${$as_ac_var+set}\" = set"; then
80939 echo $ECHO_N "(cached) $ECHO_C" >&6
80940 else
80941 if test x$gcc_no_link = xyes; then
80942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80944 { (exit 1); exit 1; }; }
80946 cat >conftest.$ac_ext <<_ACEOF
80947 /* confdefs.h. */
80948 _ACEOF
80949 cat confdefs.h >>conftest.$ac_ext
80950 cat >>conftest.$ac_ext <<_ACEOF
80951 /* end confdefs.h. */
80952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80954 #define $ac_func innocuous_$ac_func
80956 /* System header to define __stub macros and hopefully few prototypes,
80957 which can conflict with char $ac_func (); below.
80958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80959 <limits.h> exists even on freestanding compilers. */
80961 #ifdef __STDC__
80962 # include <limits.h>
80963 #else
80964 # include <assert.h>
80965 #endif
80967 #undef $ac_func
80969 /* Override any gcc2 internal prototype to avoid an error. */
80970 #ifdef __cplusplus
80971 extern "C"
80973 #endif
80974 /* We use char because int might match the return type of a gcc2
80975 builtin and then its argument prototype would still apply. */
80976 char $ac_func ();
80977 /* The GNU C library defines this for functions which it implements
80978 to always fail with ENOSYS. Some functions are actually named
80979 something starting with __ and the normal name is an alias. */
80980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80981 choke me
80982 #else
80983 char (*f) () = $ac_func;
80984 #endif
80985 #ifdef __cplusplus
80987 #endif
80990 main ()
80992 return f != $ac_func;
80994 return 0;
80996 _ACEOF
80997 rm -f conftest.$ac_objext conftest$ac_exeext
80998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80999 (eval $ac_link) 2>conftest.er1
81000 ac_status=$?
81001 grep -v '^ *+' conftest.er1 >conftest.err
81002 rm -f conftest.er1
81003 cat conftest.err >&5
81004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81005 (exit $ac_status); } &&
81006 { ac_try='test -z "$ac_c_werror_flag"
81007 || test ! -s conftest.err'
81008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81009 (eval $ac_try) 2>&5
81010 ac_status=$?
81011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81012 (exit $ac_status); }; } &&
81013 { ac_try='test -s conftest$ac_exeext'
81014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81015 (eval $ac_try) 2>&5
81016 ac_status=$?
81017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81018 (exit $ac_status); }; }; then
81019 eval "$as_ac_var=yes"
81020 else
81021 echo "$as_me: failed program was:" >&5
81022 sed 's/^/| /' conftest.$ac_ext >&5
81024 eval "$as_ac_var=no"
81026 rm -f conftest.err conftest.$ac_objext \
81027 conftest$ac_exeext conftest.$ac_ext
81029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81031 if test `eval echo '${'$as_ac_var'}'` = yes; then
81032 cat >>confdefs.h <<_ACEOF
81033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81034 _ACEOF
81036 else
81037 ac_wfuncs=no
81039 done
81042 # Checks for names injected into std:: by the c_std headers.
81089 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81090 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81091 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81092 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81093 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81094 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81097 echo "$as_me:$LINENO: checking for $ac_func" >&5
81098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81099 if eval "test \"\${$as_ac_var+set}\" = set"; then
81100 echo $ECHO_N "(cached) $ECHO_C" >&6
81101 else
81102 if test x$gcc_no_link = xyes; then
81103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81105 { (exit 1); exit 1; }; }
81107 cat >conftest.$ac_ext <<_ACEOF
81108 /* confdefs.h. */
81109 _ACEOF
81110 cat confdefs.h >>conftest.$ac_ext
81111 cat >>conftest.$ac_ext <<_ACEOF
81112 /* end confdefs.h. */
81113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81115 #define $ac_func innocuous_$ac_func
81117 /* System header to define __stub macros and hopefully few prototypes,
81118 which can conflict with char $ac_func (); below.
81119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81120 <limits.h> exists even on freestanding compilers. */
81122 #ifdef __STDC__
81123 # include <limits.h>
81124 #else
81125 # include <assert.h>
81126 #endif
81128 #undef $ac_func
81130 /* Override any gcc2 internal prototype to avoid an error. */
81131 #ifdef __cplusplus
81132 extern "C"
81134 #endif
81135 /* We use char because int might match the return type of a gcc2
81136 builtin and then its argument prototype would still apply. */
81137 char $ac_func ();
81138 /* The GNU C library defines this for functions which it implements
81139 to always fail with ENOSYS. Some functions are actually named
81140 something starting with __ and the normal name is an alias. */
81141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81142 choke me
81143 #else
81144 char (*f) () = $ac_func;
81145 #endif
81146 #ifdef __cplusplus
81148 #endif
81151 main ()
81153 return f != $ac_func;
81155 return 0;
81157 _ACEOF
81158 rm -f conftest.$ac_objext conftest$ac_exeext
81159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81160 (eval $ac_link) 2>conftest.er1
81161 ac_status=$?
81162 grep -v '^ *+' conftest.er1 >conftest.err
81163 rm -f conftest.er1
81164 cat conftest.err >&5
81165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81166 (exit $ac_status); } &&
81167 { ac_try='test -z "$ac_c_werror_flag"
81168 || test ! -s conftest.err'
81169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81170 (eval $ac_try) 2>&5
81171 ac_status=$?
81172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81173 (exit $ac_status); }; } &&
81174 { ac_try='test -s conftest$ac_exeext'
81175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81176 (eval $ac_try) 2>&5
81177 ac_status=$?
81178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81179 (exit $ac_status); }; }; then
81180 eval "$as_ac_var=yes"
81181 else
81182 echo "$as_me: failed program was:" >&5
81183 sed 's/^/| /' conftest.$ac_ext >&5
81185 eval "$as_ac_var=no"
81187 rm -f conftest.err conftest.$ac_objext \
81188 conftest$ac_exeext conftest.$ac_ext
81190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81192 if test `eval echo '${'$as_ac_var'}'` = yes; then
81193 cat >>confdefs.h <<_ACEOF
81194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81195 _ACEOF
81197 else
81198 ac_wfuncs=no
81200 done
81203 # Checks for wide character functions that are not required
81204 # for basic wchar_t support. Don't disable support if they are missing.
81205 # Injection of these is wrapped with guard macros.
81211 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81214 echo "$as_me:$LINENO: checking for $ac_func" >&5
81215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81216 if eval "test \"\${$as_ac_var+set}\" = set"; then
81217 echo $ECHO_N "(cached) $ECHO_C" >&6
81218 else
81219 if test x$gcc_no_link = xyes; then
81220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81222 { (exit 1); exit 1; }; }
81224 cat >conftest.$ac_ext <<_ACEOF
81225 /* confdefs.h. */
81226 _ACEOF
81227 cat confdefs.h >>conftest.$ac_ext
81228 cat >>conftest.$ac_ext <<_ACEOF
81229 /* end confdefs.h. */
81230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81232 #define $ac_func innocuous_$ac_func
81234 /* System header to define __stub macros and hopefully few prototypes,
81235 which can conflict with char $ac_func (); below.
81236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81237 <limits.h> exists even on freestanding compilers. */
81239 #ifdef __STDC__
81240 # include <limits.h>
81241 #else
81242 # include <assert.h>
81243 #endif
81245 #undef $ac_func
81247 /* Override any gcc2 internal prototype to avoid an error. */
81248 #ifdef __cplusplus
81249 extern "C"
81251 #endif
81252 /* We use char because int might match the return type of a gcc2
81253 builtin and then its argument prototype would still apply. */
81254 char $ac_func ();
81255 /* The GNU C library defines this for functions which it implements
81256 to always fail with ENOSYS. Some functions are actually named
81257 something starting with __ and the normal name is an alias. */
81258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81259 choke me
81260 #else
81261 char (*f) () = $ac_func;
81262 #endif
81263 #ifdef __cplusplus
81265 #endif
81268 main ()
81270 return f != $ac_func;
81272 return 0;
81274 _ACEOF
81275 rm -f conftest.$ac_objext conftest$ac_exeext
81276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81277 (eval $ac_link) 2>conftest.er1
81278 ac_status=$?
81279 grep -v '^ *+' conftest.er1 >conftest.err
81280 rm -f conftest.er1
81281 cat conftest.err >&5
81282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81283 (exit $ac_status); } &&
81284 { ac_try='test -z "$ac_c_werror_flag"
81285 || test ! -s conftest.err'
81286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81287 (eval $ac_try) 2>&5
81288 ac_status=$?
81289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81290 (exit $ac_status); }; } &&
81291 { ac_try='test -s conftest$ac_exeext'
81292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81293 (eval $ac_try) 2>&5
81294 ac_status=$?
81295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81296 (exit $ac_status); }; }; then
81297 eval "$as_ac_var=yes"
81298 else
81299 echo "$as_me: failed program was:" >&5
81300 sed 's/^/| /' conftest.$ac_ext >&5
81302 eval "$as_ac_var=no"
81304 rm -f conftest.err conftest.$ac_objext \
81305 conftest$ac_exeext conftest.$ac_ext
81307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81309 if test `eval echo '${'$as_ac_var'}'` = yes; then
81310 cat >>confdefs.h <<_ACEOF
81311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81312 _ACEOF
81315 done
81318 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81319 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81320 if test x"$has_weof" = xyes &&
81321 test x"$has_wchar_minmax" = xyes &&
81322 test x"$ac_wfuncs" = xyes;
81323 then
81324 ac_isoC99_wchar_t=yes
81325 else
81326 ac_isoC99_wchar_t=no
81328 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81329 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81331 # Use iconv for wchar_t to char conversions. As such, check for
81332 # X/Open Portability Guide, version 2 features (XPG2).
81333 if test "${ac_cv_header_iconv_h+set}" = set; then
81334 echo "$as_me:$LINENO: checking for iconv.h" >&5
81335 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81336 if test "${ac_cv_header_iconv_h+set}" = set; then
81337 echo $ECHO_N "(cached) $ECHO_C" >&6
81339 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81340 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81341 else
81342 # Is the header compilable?
81343 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81344 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81345 cat >conftest.$ac_ext <<_ACEOF
81346 /* confdefs.h. */
81347 _ACEOF
81348 cat confdefs.h >>conftest.$ac_ext
81349 cat >>conftest.$ac_ext <<_ACEOF
81350 /* end confdefs.h. */
81351 $ac_includes_default
81352 #include <iconv.h>
81353 _ACEOF
81354 rm -f conftest.$ac_objext
81355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81356 (eval $ac_compile) 2>conftest.er1
81357 ac_status=$?
81358 grep -v '^ *+' conftest.er1 >conftest.err
81359 rm -f conftest.er1
81360 cat conftest.err >&5
81361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81362 (exit $ac_status); } &&
81363 { ac_try='test -z "$ac_c_werror_flag"
81364 || test ! -s conftest.err'
81365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81366 (eval $ac_try) 2>&5
81367 ac_status=$?
81368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81369 (exit $ac_status); }; } &&
81370 { ac_try='test -s conftest.$ac_objext'
81371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81372 (eval $ac_try) 2>&5
81373 ac_status=$?
81374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81375 (exit $ac_status); }; }; then
81376 ac_header_compiler=yes
81377 else
81378 echo "$as_me: failed program was:" >&5
81379 sed 's/^/| /' conftest.$ac_ext >&5
81381 ac_header_compiler=no
81383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81385 echo "${ECHO_T}$ac_header_compiler" >&6
81387 # Is the header present?
81388 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81389 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81390 cat >conftest.$ac_ext <<_ACEOF
81391 /* confdefs.h. */
81392 _ACEOF
81393 cat confdefs.h >>conftest.$ac_ext
81394 cat >>conftest.$ac_ext <<_ACEOF
81395 /* end confdefs.h. */
81396 #include <iconv.h>
81397 _ACEOF
81398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81400 ac_status=$?
81401 grep -v '^ *+' conftest.er1 >conftest.err
81402 rm -f conftest.er1
81403 cat conftest.err >&5
81404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81405 (exit $ac_status); } >/dev/null; then
81406 if test -s conftest.err; then
81407 ac_cpp_err=$ac_c_preproc_warn_flag
81408 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81409 else
81410 ac_cpp_err=
81412 else
81413 ac_cpp_err=yes
81415 if test -z "$ac_cpp_err"; then
81416 ac_header_preproc=yes
81417 else
81418 echo "$as_me: failed program was:" >&5
81419 sed 's/^/| /' conftest.$ac_ext >&5
81421 ac_header_preproc=no
81423 rm -f conftest.err conftest.$ac_ext
81424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81425 echo "${ECHO_T}$ac_header_preproc" >&6
81427 # So? What about this header?
81428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81429 yes:no: )
81430 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81431 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81432 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81433 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81434 ac_header_preproc=yes
81436 no:yes:* )
81437 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81438 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81439 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81440 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81441 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81442 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81443 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81444 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81445 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81446 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81447 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81448 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81450 cat <<\_ASBOX
81451 ## ----------------------------------------- ##
81452 ## Report this to the package-unused lists. ##
81453 ## ----------------------------------------- ##
81454 _ASBOX
81456 sed "s/^/$as_me: WARNING: /" >&2
81458 esac
81459 echo "$as_me:$LINENO: checking for iconv.h" >&5
81460 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81461 if test "${ac_cv_header_iconv_h+set}" = set; then
81462 echo $ECHO_N "(cached) $ECHO_C" >&6
81463 else
81464 ac_cv_header_iconv_h=$ac_header_preproc
81466 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81467 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81470 if test $ac_cv_header_iconv_h = yes; then
81471 ac_has_iconv_h=yes
81472 else
81473 ac_has_iconv_h=no
81477 if test "${ac_cv_header_langinfo_h+set}" = set; then
81478 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81479 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81480 if test "${ac_cv_header_langinfo_h+set}" = set; then
81481 echo $ECHO_N "(cached) $ECHO_C" >&6
81483 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81484 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81485 else
81486 # Is the header compilable?
81487 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81488 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81489 cat >conftest.$ac_ext <<_ACEOF
81490 /* confdefs.h. */
81491 _ACEOF
81492 cat confdefs.h >>conftest.$ac_ext
81493 cat >>conftest.$ac_ext <<_ACEOF
81494 /* end confdefs.h. */
81495 $ac_includes_default
81496 #include <langinfo.h>
81497 _ACEOF
81498 rm -f conftest.$ac_objext
81499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81500 (eval $ac_compile) 2>conftest.er1
81501 ac_status=$?
81502 grep -v '^ *+' conftest.er1 >conftest.err
81503 rm -f conftest.er1
81504 cat conftest.err >&5
81505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81506 (exit $ac_status); } &&
81507 { ac_try='test -z "$ac_c_werror_flag"
81508 || test ! -s conftest.err'
81509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81510 (eval $ac_try) 2>&5
81511 ac_status=$?
81512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81513 (exit $ac_status); }; } &&
81514 { ac_try='test -s conftest.$ac_objext'
81515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81516 (eval $ac_try) 2>&5
81517 ac_status=$?
81518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81519 (exit $ac_status); }; }; then
81520 ac_header_compiler=yes
81521 else
81522 echo "$as_me: failed program was:" >&5
81523 sed 's/^/| /' conftest.$ac_ext >&5
81525 ac_header_compiler=no
81527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81529 echo "${ECHO_T}$ac_header_compiler" >&6
81531 # Is the header present?
81532 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81533 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81534 cat >conftest.$ac_ext <<_ACEOF
81535 /* confdefs.h. */
81536 _ACEOF
81537 cat confdefs.h >>conftest.$ac_ext
81538 cat >>conftest.$ac_ext <<_ACEOF
81539 /* end confdefs.h. */
81540 #include <langinfo.h>
81541 _ACEOF
81542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81544 ac_status=$?
81545 grep -v '^ *+' conftest.er1 >conftest.err
81546 rm -f conftest.er1
81547 cat conftest.err >&5
81548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81549 (exit $ac_status); } >/dev/null; then
81550 if test -s conftest.err; then
81551 ac_cpp_err=$ac_c_preproc_warn_flag
81552 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81553 else
81554 ac_cpp_err=
81556 else
81557 ac_cpp_err=yes
81559 if test -z "$ac_cpp_err"; then
81560 ac_header_preproc=yes
81561 else
81562 echo "$as_me: failed program was:" >&5
81563 sed 's/^/| /' conftest.$ac_ext >&5
81565 ac_header_preproc=no
81567 rm -f conftest.err conftest.$ac_ext
81568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81569 echo "${ECHO_T}$ac_header_preproc" >&6
81571 # So? What about this header?
81572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81573 yes:no: )
81574 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81575 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81576 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81577 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81578 ac_header_preproc=yes
81580 no:yes:* )
81581 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81582 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81583 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81584 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81585 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81586 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81587 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81588 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81589 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81590 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81591 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81592 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81594 cat <<\_ASBOX
81595 ## ----------------------------------------- ##
81596 ## Report this to the package-unused lists. ##
81597 ## ----------------------------------------- ##
81598 _ASBOX
81600 sed "s/^/$as_me: WARNING: /" >&2
81602 esac
81603 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81604 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81605 if test "${ac_cv_header_langinfo_h+set}" = set; then
81606 echo $ECHO_N "(cached) $ECHO_C" >&6
81607 else
81608 ac_cv_header_langinfo_h=$ac_header_preproc
81610 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81611 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81614 if test $ac_cv_header_langinfo_h = yes; then
81615 ac_has_langinfo_h=yes
81616 else
81617 ac_has_langinfo_h=no
81622 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81623 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81624 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81625 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81626 echo $ECHO_N "(cached) $ECHO_C" >&6
81627 else
81628 ac_check_lib_save_LIBS=$LIBS
81629 LIBS="-liconv $LIBS"
81630 if test x$gcc_no_link = xyes; then
81631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81633 { (exit 1); exit 1; }; }
81635 cat >conftest.$ac_ext <<_ACEOF
81636 /* confdefs.h. */
81637 _ACEOF
81638 cat confdefs.h >>conftest.$ac_ext
81639 cat >>conftest.$ac_ext <<_ACEOF
81640 /* end confdefs.h. */
81642 /* Override any gcc2 internal prototype to avoid an error. */
81643 #ifdef __cplusplus
81644 extern "C"
81645 #endif
81646 /* We use char because int might match the return type of a gcc2
81647 builtin and then its argument prototype would still apply. */
81648 char iconv ();
81650 main ()
81652 iconv ();
81654 return 0;
81656 _ACEOF
81657 rm -f conftest.$ac_objext conftest$ac_exeext
81658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81659 (eval $ac_link) 2>conftest.er1
81660 ac_status=$?
81661 grep -v '^ *+' conftest.er1 >conftest.err
81662 rm -f conftest.er1
81663 cat conftest.err >&5
81664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81665 (exit $ac_status); } &&
81666 { ac_try='test -z "$ac_c_werror_flag"
81667 || test ! -s conftest.err'
81668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81669 (eval $ac_try) 2>&5
81670 ac_status=$?
81671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81672 (exit $ac_status); }; } &&
81673 { ac_try='test -s conftest$ac_exeext'
81674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81675 (eval $ac_try) 2>&5
81676 ac_status=$?
81677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81678 (exit $ac_status); }; }; then
81679 ac_cv_lib_iconv_iconv=yes
81680 else
81681 echo "$as_me: failed program was:" >&5
81682 sed 's/^/| /' conftest.$ac_ext >&5
81684 ac_cv_lib_iconv_iconv=no
81686 rm -f conftest.err conftest.$ac_objext \
81687 conftest$ac_exeext conftest.$ac_ext
81688 LIBS=$ac_check_lib_save_LIBS
81690 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81691 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81692 if test $ac_cv_lib_iconv_iconv = yes; then
81693 LIBICONV="-liconv"
81696 ac_save_LIBS="$LIBS"
81697 LIBS="$LIBS $LIBICONV"
81704 for ac_func in iconv_open iconv_close iconv nl_langinfo
81706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81707 echo "$as_me:$LINENO: checking for $ac_func" >&5
81708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81709 if eval "test \"\${$as_ac_var+set}\" = set"; then
81710 echo $ECHO_N "(cached) $ECHO_C" >&6
81711 else
81712 if test x$gcc_no_link = xyes; then
81713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81715 { (exit 1); exit 1; }; }
81717 cat >conftest.$ac_ext <<_ACEOF
81718 /* confdefs.h. */
81719 _ACEOF
81720 cat confdefs.h >>conftest.$ac_ext
81721 cat >>conftest.$ac_ext <<_ACEOF
81722 /* end confdefs.h. */
81723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81725 #define $ac_func innocuous_$ac_func
81727 /* System header to define __stub macros and hopefully few prototypes,
81728 which can conflict with char $ac_func (); below.
81729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81730 <limits.h> exists even on freestanding compilers. */
81732 #ifdef __STDC__
81733 # include <limits.h>
81734 #else
81735 # include <assert.h>
81736 #endif
81738 #undef $ac_func
81740 /* Override any gcc2 internal prototype to avoid an error. */
81741 #ifdef __cplusplus
81742 extern "C"
81744 #endif
81745 /* We use char because int might match the return type of a gcc2
81746 builtin and then its argument prototype would still apply. */
81747 char $ac_func ();
81748 /* The GNU C library defines this for functions which it implements
81749 to always fail with ENOSYS. Some functions are actually named
81750 something starting with __ and the normal name is an alias. */
81751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81752 choke me
81753 #else
81754 char (*f) () = $ac_func;
81755 #endif
81756 #ifdef __cplusplus
81758 #endif
81761 main ()
81763 return f != $ac_func;
81765 return 0;
81767 _ACEOF
81768 rm -f conftest.$ac_objext conftest$ac_exeext
81769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81770 (eval $ac_link) 2>conftest.er1
81771 ac_status=$?
81772 grep -v '^ *+' conftest.er1 >conftest.err
81773 rm -f conftest.er1
81774 cat conftest.err >&5
81775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81776 (exit $ac_status); } &&
81777 { ac_try='test -z "$ac_c_werror_flag"
81778 || test ! -s conftest.err'
81779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81780 (eval $ac_try) 2>&5
81781 ac_status=$?
81782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81783 (exit $ac_status); }; } &&
81784 { ac_try='test -s conftest$ac_exeext'
81785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81786 (eval $ac_try) 2>&5
81787 ac_status=$?
81788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81789 (exit $ac_status); }; }; then
81790 eval "$as_ac_var=yes"
81791 else
81792 echo "$as_me: failed program was:" >&5
81793 sed 's/^/| /' conftest.$ac_ext >&5
81795 eval "$as_ac_var=no"
81797 rm -f conftest.err conftest.$ac_objext \
81798 conftest$ac_exeext conftest.$ac_ext
81800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81802 if test `eval echo '${'$as_ac_var'}'` = yes; then
81803 cat >>confdefs.h <<_ACEOF
81804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81805 _ACEOF
81806 ac_XPG2funcs=yes
81807 else
81808 ac_XPG2funcs=no
81810 done
81813 LIBS="$ac_save_LIBS"
81815 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81816 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81817 if test x"$ac_has_iconv_h" = xyes &&
81818 test x"$ac_has_langinfo_h" = xyes &&
81819 test x"$ac_XPG2funcs" = xyes;
81820 then
81821 ac_XPG2_wchar_t=yes
81822 else
81823 ac_XPG2_wchar_t=no
81825 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81826 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81828 # At the moment, only enable wchar_t specializations if all the
81829 # above support is present.
81830 if test x"$ac_isoC99_wchar_t" = xyes &&
81831 test x"$ac_XPG2_wchar_t" = xyes;
81832 then
81833 cat >>confdefs.h <<\_ACEOF
81834 #define _GLIBCXX_USE_WCHAR_T 1
81835 _ACEOF
81837 enable_wchar_t=yes
81840 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81841 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81842 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81843 echo "${ECHO_T}$enable_wchar_t" >&6
81846 # For LFS.
81847 cat >>confdefs.h <<\_ACEOF
81848 #define HAVE_INT64_T 1
81849 _ACEOF
81851 case "$target" in
81852 *-uclinux*)
81853 # Don't enable LFS with uClibc
81856 cat >>confdefs.h <<\_ACEOF
81857 #define _GLIBCXX_USE_LFS 1
81858 _ACEOF
81860 esac
81862 # For showmanyc_helper().
81865 for ac_header in sys/ioctl.h sys/filio.h
81867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81869 echo "$as_me:$LINENO: checking for $ac_header" >&5
81870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81872 echo $ECHO_N "(cached) $ECHO_C" >&6
81874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81876 else
81877 # Is the header compilable?
81878 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81880 cat >conftest.$ac_ext <<_ACEOF
81881 /* confdefs.h. */
81882 _ACEOF
81883 cat confdefs.h >>conftest.$ac_ext
81884 cat >>conftest.$ac_ext <<_ACEOF
81885 /* end confdefs.h. */
81886 $ac_includes_default
81887 #include <$ac_header>
81888 _ACEOF
81889 rm -f conftest.$ac_objext
81890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81891 (eval $ac_compile) 2>conftest.er1
81892 ac_status=$?
81893 grep -v '^ *+' conftest.er1 >conftest.err
81894 rm -f conftest.er1
81895 cat conftest.err >&5
81896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81897 (exit $ac_status); } &&
81898 { ac_try='test -z "$ac_c_werror_flag"
81899 || test ! -s conftest.err'
81900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81901 (eval $ac_try) 2>&5
81902 ac_status=$?
81903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81904 (exit $ac_status); }; } &&
81905 { ac_try='test -s conftest.$ac_objext'
81906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81907 (eval $ac_try) 2>&5
81908 ac_status=$?
81909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81910 (exit $ac_status); }; }; then
81911 ac_header_compiler=yes
81912 else
81913 echo "$as_me: failed program was:" >&5
81914 sed 's/^/| /' conftest.$ac_ext >&5
81916 ac_header_compiler=no
81918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81920 echo "${ECHO_T}$ac_header_compiler" >&6
81922 # Is the header present?
81923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81925 cat >conftest.$ac_ext <<_ACEOF
81926 /* confdefs.h. */
81927 _ACEOF
81928 cat confdefs.h >>conftest.$ac_ext
81929 cat >>conftest.$ac_ext <<_ACEOF
81930 /* end confdefs.h. */
81931 #include <$ac_header>
81932 _ACEOF
81933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81934 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81935 ac_status=$?
81936 grep -v '^ *+' conftest.er1 >conftest.err
81937 rm -f conftest.er1
81938 cat conftest.err >&5
81939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81940 (exit $ac_status); } >/dev/null; then
81941 if test -s conftest.err; then
81942 ac_cpp_err=$ac_c_preproc_warn_flag
81943 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81944 else
81945 ac_cpp_err=
81947 else
81948 ac_cpp_err=yes
81950 if test -z "$ac_cpp_err"; then
81951 ac_header_preproc=yes
81952 else
81953 echo "$as_me: failed program was:" >&5
81954 sed 's/^/| /' conftest.$ac_ext >&5
81956 ac_header_preproc=no
81958 rm -f conftest.err conftest.$ac_ext
81959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81960 echo "${ECHO_T}$ac_header_preproc" >&6
81962 # So? What about this header?
81963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81964 yes:no: )
81965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81968 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81969 ac_header_preproc=yes
81971 no:yes:* )
81972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81976 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81977 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81978 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81979 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81985 cat <<\_ASBOX
81986 ## ----------------------------------------- ##
81987 ## Report this to the package-unused lists. ##
81988 ## ----------------------------------------- ##
81989 _ASBOX
81991 sed "s/^/$as_me: WARNING: /" >&2
81993 esac
81994 echo "$as_me:$LINENO: checking for $ac_header" >&5
81995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81997 echo $ECHO_N "(cached) $ECHO_C" >&6
81998 else
81999 eval "$as_ac_Header=\$ac_header_preproc"
82001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82006 cat >>confdefs.h <<_ACEOF
82007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82008 _ACEOF
82012 done
82015 if test "${glibcxx_cv_POLL+set}" = set; then
82016 echo $ECHO_N "(cached) $ECHO_C" >&6
82017 else
82019 if test x$gcc_no_link = xyes; then
82020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82022 { (exit 1); exit 1; }; }
82024 cat >conftest.$ac_ext <<_ACEOF
82025 /* confdefs.h. */
82026 _ACEOF
82027 cat confdefs.h >>conftest.$ac_ext
82028 cat >>conftest.$ac_ext <<_ACEOF
82029 /* end confdefs.h. */
82030 #include <poll.h>
82032 main ()
82034 struct pollfd pfd[1];
82035 pfd[0].events = POLLIN;
82036 poll(pfd, 1, 0);
82038 return 0;
82040 _ACEOF
82041 rm -f conftest.$ac_objext conftest$ac_exeext
82042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82043 (eval $ac_link) 2>conftest.er1
82044 ac_status=$?
82045 grep -v '^ *+' conftest.er1 >conftest.err
82046 rm -f conftest.er1
82047 cat conftest.err >&5
82048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82049 (exit $ac_status); } &&
82050 { ac_try='test -z "$ac_c_werror_flag"
82051 || test ! -s conftest.err'
82052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82053 (eval $ac_try) 2>&5
82054 ac_status=$?
82055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82056 (exit $ac_status); }; } &&
82057 { ac_try='test -s conftest$ac_exeext'
82058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82059 (eval $ac_try) 2>&5
82060 ac_status=$?
82061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82062 (exit $ac_status); }; }; then
82063 glibcxx_cv_POLL=yes
82064 else
82065 echo "$as_me: failed program was:" >&5
82066 sed 's/^/| /' conftest.$ac_ext >&5
82068 glibcxx_cv_POLL=no
82070 rm -f conftest.err conftest.$ac_objext \
82071 conftest$ac_exeext conftest.$ac_ext
82075 if test $glibcxx_cv_POLL = yes; then
82076 cat >>confdefs.h <<\_ACEOF
82077 #define HAVE_POLL 1
82078 _ACEOF
82083 if test "${glibcxx_cv_S_ISREG+set}" = set; then
82084 echo $ECHO_N "(cached) $ECHO_C" >&6
82085 else
82087 if test x$gcc_no_link = xyes; then
82088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82090 { (exit 1); exit 1; }; }
82092 cat >conftest.$ac_ext <<_ACEOF
82093 /* confdefs.h. */
82094 _ACEOF
82095 cat confdefs.h >>conftest.$ac_ext
82096 cat >>conftest.$ac_ext <<_ACEOF
82097 /* end confdefs.h. */
82098 #include <sys/stat.h>
82100 main ()
82102 struct stat buffer;
82103 fstat(0, &buffer);
82104 S_ISREG(buffer.st_mode);
82106 return 0;
82108 _ACEOF
82109 rm -f conftest.$ac_objext conftest$ac_exeext
82110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82111 (eval $ac_link) 2>conftest.er1
82112 ac_status=$?
82113 grep -v '^ *+' conftest.er1 >conftest.err
82114 rm -f conftest.er1
82115 cat conftest.err >&5
82116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82117 (exit $ac_status); } &&
82118 { ac_try='test -z "$ac_c_werror_flag"
82119 || test ! -s conftest.err'
82120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82121 (eval $ac_try) 2>&5
82122 ac_status=$?
82123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82124 (exit $ac_status); }; } &&
82125 { ac_try='test -s conftest$ac_exeext'
82126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82127 (eval $ac_try) 2>&5
82128 ac_status=$?
82129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82130 (exit $ac_status); }; }; then
82131 glibcxx_cv_S_ISREG=yes
82132 else
82133 echo "$as_me: failed program was:" >&5
82134 sed 's/^/| /' conftest.$ac_ext >&5
82136 glibcxx_cv_S_ISREG=no
82138 rm -f conftest.err conftest.$ac_objext \
82139 conftest$ac_exeext conftest.$ac_ext
82143 if test "${glibcxx_cv_S_IFREG+set}" = set; then
82144 echo $ECHO_N "(cached) $ECHO_C" >&6
82145 else
82147 if test x$gcc_no_link = xyes; then
82148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82150 { (exit 1); exit 1; }; }
82152 cat >conftest.$ac_ext <<_ACEOF
82153 /* confdefs.h. */
82154 _ACEOF
82155 cat confdefs.h >>conftest.$ac_ext
82156 cat >>conftest.$ac_ext <<_ACEOF
82157 /* end confdefs.h. */
82158 #include <sys/stat.h>
82160 main ()
82162 struct stat buffer;
82163 fstat(0, &buffer);
82164 S_IFREG & buffer.st_mode;
82166 return 0;
82168 _ACEOF
82169 rm -f conftest.$ac_objext conftest$ac_exeext
82170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82171 (eval $ac_link) 2>conftest.er1
82172 ac_status=$?
82173 grep -v '^ *+' conftest.er1 >conftest.err
82174 rm -f conftest.er1
82175 cat conftest.err >&5
82176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82177 (exit $ac_status); } &&
82178 { ac_try='test -z "$ac_c_werror_flag"
82179 || test ! -s conftest.err'
82180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82181 (eval $ac_try) 2>&5
82182 ac_status=$?
82183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82184 (exit $ac_status); }; } &&
82185 { ac_try='test -s conftest$ac_exeext'
82186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82187 (eval $ac_try) 2>&5
82188 ac_status=$?
82189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82190 (exit $ac_status); }; }; then
82191 glibcxx_cv_S_IFREG=yes
82192 else
82193 echo "$as_me: failed program was:" >&5
82194 sed 's/^/| /' conftest.$ac_ext >&5
82196 glibcxx_cv_S_IFREG=no
82198 rm -f conftest.err conftest.$ac_objext \
82199 conftest$ac_exeext conftest.$ac_ext
82203 if test $glibcxx_cv_S_ISREG = yes; then
82204 cat >>confdefs.h <<\_ACEOF
82205 #define HAVE_S_ISREG 1
82206 _ACEOF
82208 elif test $glibcxx_cv_S_IFREG = yes; then
82209 cat >>confdefs.h <<\_ACEOF
82210 #define HAVE_S_IFREG 1
82211 _ACEOF
82216 # For xsputn_2().
82218 for ac_header in sys/uio.h
82220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82222 echo "$as_me:$LINENO: checking for $ac_header" >&5
82223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82225 echo $ECHO_N "(cached) $ECHO_C" >&6
82227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82229 else
82230 # Is the header compilable?
82231 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82232 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82233 cat >conftest.$ac_ext <<_ACEOF
82234 /* confdefs.h. */
82235 _ACEOF
82236 cat confdefs.h >>conftest.$ac_ext
82237 cat >>conftest.$ac_ext <<_ACEOF
82238 /* end confdefs.h. */
82239 $ac_includes_default
82240 #include <$ac_header>
82241 _ACEOF
82242 rm -f conftest.$ac_objext
82243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82244 (eval $ac_compile) 2>conftest.er1
82245 ac_status=$?
82246 grep -v '^ *+' conftest.er1 >conftest.err
82247 rm -f conftest.er1
82248 cat conftest.err >&5
82249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82250 (exit $ac_status); } &&
82251 { ac_try='test -z "$ac_c_werror_flag"
82252 || test ! -s conftest.err'
82253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82254 (eval $ac_try) 2>&5
82255 ac_status=$?
82256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82257 (exit $ac_status); }; } &&
82258 { ac_try='test -s conftest.$ac_objext'
82259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82260 (eval $ac_try) 2>&5
82261 ac_status=$?
82262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82263 (exit $ac_status); }; }; then
82264 ac_header_compiler=yes
82265 else
82266 echo "$as_me: failed program was:" >&5
82267 sed 's/^/| /' conftest.$ac_ext >&5
82269 ac_header_compiler=no
82271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82272 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82273 echo "${ECHO_T}$ac_header_compiler" >&6
82275 # Is the header present?
82276 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82277 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82278 cat >conftest.$ac_ext <<_ACEOF
82279 /* confdefs.h. */
82280 _ACEOF
82281 cat confdefs.h >>conftest.$ac_ext
82282 cat >>conftest.$ac_ext <<_ACEOF
82283 /* end confdefs.h. */
82284 #include <$ac_header>
82285 _ACEOF
82286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82287 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82288 ac_status=$?
82289 grep -v '^ *+' conftest.er1 >conftest.err
82290 rm -f conftest.er1
82291 cat conftest.err >&5
82292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82293 (exit $ac_status); } >/dev/null; then
82294 if test -s conftest.err; then
82295 ac_cpp_err=$ac_c_preproc_warn_flag
82296 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82297 else
82298 ac_cpp_err=
82300 else
82301 ac_cpp_err=yes
82303 if test -z "$ac_cpp_err"; then
82304 ac_header_preproc=yes
82305 else
82306 echo "$as_me: failed program was:" >&5
82307 sed 's/^/| /' conftest.$ac_ext >&5
82309 ac_header_preproc=no
82311 rm -f conftest.err conftest.$ac_ext
82312 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82313 echo "${ECHO_T}$ac_header_preproc" >&6
82315 # So? What about this header?
82316 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82317 yes:no: )
82318 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82319 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82321 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82322 ac_header_preproc=yes
82324 no:yes:* )
82325 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82326 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82327 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82328 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82329 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82330 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82331 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82332 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82334 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82335 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82336 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82338 cat <<\_ASBOX
82339 ## ----------------------------------------- ##
82340 ## Report this to the package-unused lists. ##
82341 ## ----------------------------------------- ##
82342 _ASBOX
82344 sed "s/^/$as_me: WARNING: /" >&2
82346 esac
82347 echo "$as_me:$LINENO: checking for $ac_header" >&5
82348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82350 echo $ECHO_N "(cached) $ECHO_C" >&6
82351 else
82352 eval "$as_ac_Header=\$ac_header_preproc"
82354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82358 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82359 cat >>confdefs.h <<_ACEOF
82360 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82361 _ACEOF
82365 done
82368 if test "${glibcxx_cv_WRITEV+set}" = set; then
82369 echo $ECHO_N "(cached) $ECHO_C" >&6
82370 else
82372 if test x$gcc_no_link = xyes; then
82373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82375 { (exit 1); exit 1; }; }
82377 cat >conftest.$ac_ext <<_ACEOF
82378 /* confdefs.h. */
82379 _ACEOF
82380 cat confdefs.h >>conftest.$ac_ext
82381 cat >>conftest.$ac_ext <<_ACEOF
82382 /* end confdefs.h. */
82383 #include <sys/uio.h>
82385 main ()
82387 struct iovec iov[2];
82388 writev(0, iov, 0);
82390 return 0;
82392 _ACEOF
82393 rm -f conftest.$ac_objext conftest$ac_exeext
82394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82395 (eval $ac_link) 2>conftest.er1
82396 ac_status=$?
82397 grep -v '^ *+' conftest.er1 >conftest.err
82398 rm -f conftest.er1
82399 cat conftest.err >&5
82400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82401 (exit $ac_status); } &&
82402 { ac_try='test -z "$ac_c_werror_flag"
82403 || test ! -s conftest.err'
82404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82405 (eval $ac_try) 2>&5
82406 ac_status=$?
82407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82408 (exit $ac_status); }; } &&
82409 { ac_try='test -s conftest$ac_exeext'
82410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82411 (eval $ac_try) 2>&5
82412 ac_status=$?
82413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82414 (exit $ac_status); }; }; then
82415 glibcxx_cv_WRITEV=yes
82416 else
82417 echo "$as_me: failed program was:" >&5
82418 sed 's/^/| /' conftest.$ac_ext >&5
82420 glibcxx_cv_WRITEV=no
82422 rm -f conftest.err conftest.$ac_objext \
82423 conftest$ac_exeext conftest.$ac_ext
82427 if test $glibcxx_cv_WRITEV = yes; then
82428 cat >>confdefs.h <<\_ACEOF
82429 #define HAVE_WRITEV 1
82430 _ACEOF
82435 cat >>confdefs.h <<\_ACEOF
82436 #define HAVE_ACOSF 1
82437 _ACEOF
82439 cat >>confdefs.h <<\_ACEOF
82440 #define HAVE_ASINF 1
82441 _ACEOF
82443 cat >>confdefs.h <<\_ACEOF
82444 #define HAVE_ATANF 1
82445 _ACEOF
82447 cat >>confdefs.h <<\_ACEOF
82448 #define HAVE_ATAN2F 1
82449 _ACEOF
82451 cat >>confdefs.h <<\_ACEOF
82452 #define HAVE_CEILF 1
82453 _ACEOF
82455 cat >>confdefs.h <<\_ACEOF
82456 #define HAVE_COPYSIGN 1
82457 _ACEOF
82459 cat >>confdefs.h <<\_ACEOF
82460 #define HAVE_COPYSIGNF 1
82461 _ACEOF
82463 cat >>confdefs.h <<\_ACEOF
82464 #define HAVE_COSF 1
82465 _ACEOF
82467 cat >>confdefs.h <<\_ACEOF
82468 #define HAVE_COSHF 1
82469 _ACEOF
82471 cat >>confdefs.h <<\_ACEOF
82472 #define HAVE_EXPF 1
82473 _ACEOF
82475 cat >>confdefs.h <<\_ACEOF
82476 #define HAVE_FABSF 1
82477 _ACEOF
82479 cat >>confdefs.h <<\_ACEOF
82480 #define HAVE_FINITE 1
82481 _ACEOF
82483 cat >>confdefs.h <<\_ACEOF
82484 #define HAVE_FINITEF 1
82485 _ACEOF
82487 cat >>confdefs.h <<\_ACEOF
82488 #define HAVE_FLOORF 1
82489 _ACEOF
82491 cat >>confdefs.h <<\_ACEOF
82492 #define HAVE_FMODF 1
82493 _ACEOF
82495 cat >>confdefs.h <<\_ACEOF
82496 #define HAVE_FREXPF 1
82497 _ACEOF
82499 cat >>confdefs.h <<\_ACEOF
82500 #define HAVE_HYPOT 1
82501 _ACEOF
82503 cat >>confdefs.h <<\_ACEOF
82504 #define HAVE_HYPOTF 1
82505 _ACEOF
82507 cat >>confdefs.h <<\_ACEOF
82508 #define HAVE_ISINF 1
82509 _ACEOF
82511 cat >>confdefs.h <<\_ACEOF
82512 #define HAVE_ISINFF 1
82513 _ACEOF
82515 cat >>confdefs.h <<\_ACEOF
82516 #define HAVE_ISNAN 1
82517 _ACEOF
82519 cat >>confdefs.h <<\_ACEOF
82520 #define HAVE_ISNANF 1
82521 _ACEOF
82523 cat >>confdefs.h <<\_ACEOF
82524 #define HAVE_LOGF 1
82525 _ACEOF
82527 cat >>confdefs.h <<\_ACEOF
82528 #define HAVE_LOG10F 1
82529 _ACEOF
82531 cat >>confdefs.h <<\_ACEOF
82532 #define HAVE_MODFF 1
82533 _ACEOF
82535 cat >>confdefs.h <<\_ACEOF
82536 #define HAVE_SINF 1
82537 _ACEOF
82539 cat >>confdefs.h <<\_ACEOF
82540 #define HAVE_SINHF 1
82541 _ACEOF
82543 cat >>confdefs.h <<\_ACEOF
82544 #define HAVE_SINCOS 1
82545 _ACEOF
82547 cat >>confdefs.h <<\_ACEOF
82548 #define HAVE_SINCOSF 1
82549 _ACEOF
82551 cat >>confdefs.h <<\_ACEOF
82552 #define HAVE_SQRTF 1
82553 _ACEOF
82555 cat >>confdefs.h <<\_ACEOF
82556 #define HAVE_TANF 1
82557 _ACEOF
82559 cat >>confdefs.h <<\_ACEOF
82560 #define HAVE_TANHF 1
82561 _ACEOF
82563 if test x"long_double_math_on_this_cpu" = x"yes"; then
82564 cat >>confdefs.h <<\_ACEOF
82565 #define HAVE_ACOSL 1
82566 _ACEOF
82568 cat >>confdefs.h <<\_ACEOF
82569 #define HAVE_ASINL 1
82570 _ACEOF
82572 cat >>confdefs.h <<\_ACEOF
82573 #define HAVE_ATANL 1
82574 _ACEOF
82576 cat >>confdefs.h <<\_ACEOF
82577 #define HAVE_ATAN2L 1
82578 _ACEOF
82580 cat >>confdefs.h <<\_ACEOF
82581 #define HAVE_CEILL 1
82582 _ACEOF
82584 cat >>confdefs.h <<\_ACEOF
82585 #define HAVE_COPYSIGNL 1
82586 _ACEOF
82588 cat >>confdefs.h <<\_ACEOF
82589 #define HAVE_COSL 1
82590 _ACEOF
82592 cat >>confdefs.h <<\_ACEOF
82593 #define HAVE_COSHL 1
82594 _ACEOF
82596 cat >>confdefs.h <<\_ACEOF
82597 #define HAVE_EXPL 1
82598 _ACEOF
82600 cat >>confdefs.h <<\_ACEOF
82601 #define HAVE_FABSL 1
82602 _ACEOF
82604 cat >>confdefs.h <<\_ACEOF
82605 #define HAVE_FINITEL 1
82606 _ACEOF
82608 cat >>confdefs.h <<\_ACEOF
82609 #define HAVE_FLOORL 1
82610 _ACEOF
82612 cat >>confdefs.h <<\_ACEOF
82613 #define HAVE_FMODL 1
82614 _ACEOF
82616 cat >>confdefs.h <<\_ACEOF
82617 #define HAVE_FREXPL 1
82618 _ACEOF
82620 cat >>confdefs.h <<\_ACEOF
82621 #define HAVE_HYPOTL 1
82622 _ACEOF
82624 cat >>confdefs.h <<\_ACEOF
82625 #define HAVE_ISINFL 1
82626 _ACEOF
82628 cat >>confdefs.h <<\_ACEOF
82629 #define HAVE_ISNANL 1
82630 _ACEOF
82632 cat >>confdefs.h <<\_ACEOF
82633 #define HAVE_LOGL 1
82634 _ACEOF
82636 cat >>confdefs.h <<\_ACEOF
82637 #define HAVE_LOG10L 1
82638 _ACEOF
82640 cat >>confdefs.h <<\_ACEOF
82641 #define HAVE_MODFL 1
82642 _ACEOF
82644 cat >>confdefs.h <<\_ACEOF
82645 #define HAVE_POWL 1
82646 _ACEOF
82648 cat >>confdefs.h <<\_ACEOF
82649 #define HAVE_SINL 1
82650 _ACEOF
82652 cat >>confdefs.h <<\_ACEOF
82653 #define HAVE_SINHL 1
82654 _ACEOF
82656 cat >>confdefs.h <<\_ACEOF
82657 #define HAVE_SINCOSL 1
82658 _ACEOF
82660 cat >>confdefs.h <<\_ACEOF
82661 #define HAVE_SQRTL 1
82662 _ACEOF
82664 cat >>confdefs.h <<\_ACEOF
82665 #define HAVE_TANL 1
82666 _ACEOF
82668 cat >>confdefs.h <<\_ACEOF
82669 #define HAVE_TANHL 1
82670 _ACEOF
82674 *-mingw32*)
82678 for ac_header in sys/types.h locale.h float.h
82680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82682 echo "$as_me:$LINENO: checking for $ac_header" >&5
82683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82685 echo $ECHO_N "(cached) $ECHO_C" >&6
82687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82689 else
82690 # Is the header compilable?
82691 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82692 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82693 cat >conftest.$ac_ext <<_ACEOF
82694 /* confdefs.h. */
82695 _ACEOF
82696 cat confdefs.h >>conftest.$ac_ext
82697 cat >>conftest.$ac_ext <<_ACEOF
82698 /* end confdefs.h. */
82699 $ac_includes_default
82700 #include <$ac_header>
82701 _ACEOF
82702 rm -f conftest.$ac_objext
82703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82704 (eval $ac_compile) 2>conftest.er1
82705 ac_status=$?
82706 grep -v '^ *+' conftest.er1 >conftest.err
82707 rm -f conftest.er1
82708 cat conftest.err >&5
82709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82710 (exit $ac_status); } &&
82711 { ac_try='test -z "$ac_c_werror_flag"
82712 || test ! -s conftest.err'
82713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82714 (eval $ac_try) 2>&5
82715 ac_status=$?
82716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82717 (exit $ac_status); }; } &&
82718 { ac_try='test -s conftest.$ac_objext'
82719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82720 (eval $ac_try) 2>&5
82721 ac_status=$?
82722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82723 (exit $ac_status); }; }; then
82724 ac_header_compiler=yes
82725 else
82726 echo "$as_me: failed program was:" >&5
82727 sed 's/^/| /' conftest.$ac_ext >&5
82729 ac_header_compiler=no
82731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82733 echo "${ECHO_T}$ac_header_compiler" >&6
82735 # Is the header present?
82736 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82738 cat >conftest.$ac_ext <<_ACEOF
82739 /* confdefs.h. */
82740 _ACEOF
82741 cat confdefs.h >>conftest.$ac_ext
82742 cat >>conftest.$ac_ext <<_ACEOF
82743 /* end confdefs.h. */
82744 #include <$ac_header>
82745 _ACEOF
82746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82748 ac_status=$?
82749 grep -v '^ *+' conftest.er1 >conftest.err
82750 rm -f conftest.er1
82751 cat conftest.err >&5
82752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82753 (exit $ac_status); } >/dev/null; then
82754 if test -s conftest.err; then
82755 ac_cpp_err=$ac_c_preproc_warn_flag
82756 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82757 else
82758 ac_cpp_err=
82760 else
82761 ac_cpp_err=yes
82763 if test -z "$ac_cpp_err"; then
82764 ac_header_preproc=yes
82765 else
82766 echo "$as_me: failed program was:" >&5
82767 sed 's/^/| /' conftest.$ac_ext >&5
82769 ac_header_preproc=no
82771 rm -f conftest.err conftest.$ac_ext
82772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82773 echo "${ECHO_T}$ac_header_preproc" >&6
82775 # So? What about this header?
82776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82777 yes:no: )
82778 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82779 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82781 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82782 ac_header_preproc=yes
82784 no:yes:* )
82785 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82786 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82787 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82788 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82789 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82790 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82791 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82792 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82795 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82796 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82798 cat <<\_ASBOX
82799 ## ----------------------------------------- ##
82800 ## Report this to the package-unused lists. ##
82801 ## ----------------------------------------- ##
82802 _ASBOX
82804 sed "s/^/$as_me: WARNING: /" >&2
82806 esac
82807 echo "$as_me:$LINENO: checking for $ac_header" >&5
82808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82810 echo $ECHO_N "(cached) $ECHO_C" >&6
82811 else
82812 eval "$as_ac_Header=\$ac_header_preproc"
82814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82819 cat >>confdefs.h <<_ACEOF
82820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82821 _ACEOF
82825 done
82828 # If we're not using GNU ld, then there's no point in even trying these
82829 # tests. Check for that first. We should have already tested for gld
82830 # by now (in libtool), but require it now just to be safe...
82831 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82832 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82836 # The name set by libtool depends on the version of libtool. Shame on us
82837 # for depending on an impl detail, but c'est la vie. Older versions used
82838 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82839 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82840 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82841 # set (hence we're using an older libtool), then set it.
82842 if test x${with_gnu_ld+set} != xset; then
82843 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82844 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82845 with_gnu_ld=no
82846 else
82847 with_gnu_ld=$ac_cv_prog_gnu_ld
82851 # Start by getting the version number. I think the libtool test already
82852 # does some of this, but throws away the result.
82854 ldver=`$LD --version 2>/dev/null | head -1 | \
82855 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82857 glibcxx_gnu_ld_version=`echo $ldver | \
82858 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82860 # Set --gc-sections.
82861 if test "$with_gnu_ld" = "notbroken"; then
82862 # GNU ld it is! Joy and bunny rabbits!
82864 # All these tests are for C++; save the language and the compiler flags.
82865 # Need to do this so that g++ won't try to link in libstdc++
82866 ac_test_CFLAGS="${CFLAGS+set}"
82867 ac_save_CFLAGS="$CFLAGS"
82868 CFLAGS='-x c++ -Wl,--gc-sections'
82870 # Check for -Wl,--gc-sections
82871 # XXX This test is broken at the moment, as symbols required for linking
82872 # are now in libsupc++ (not built yet). In addition, this test has
82873 # cored on solaris in the past. In addition, --gc-sections doesn't
82874 # really work at the moment (keeps on discarding used sections, first
82875 # .eh_frame and now some of the glibc sections for iconv).
82876 # Bzzzzt. Thanks for playing, maybe next time.
82877 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82878 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82879 if test "$cross_compiling" = yes; then
82880 ac_sectionLDflags=yes
82881 else
82882 cat >conftest.$ac_ext <<_ACEOF
82883 /* confdefs.h. */
82884 _ACEOF
82885 cat confdefs.h >>conftest.$ac_ext
82886 cat >>conftest.$ac_ext <<_ACEOF
82887 /* end confdefs.h. */
82889 int main(void)
82891 try { throw 1; }
82892 catch (...) { };
82893 return 0;
82896 _ACEOF
82897 rm -f conftest$ac_exeext
82898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82899 (eval $ac_link) 2>&5
82900 ac_status=$?
82901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82904 (eval $ac_try) 2>&5
82905 ac_status=$?
82906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82907 (exit $ac_status); }; }; then
82908 ac_sectionLDflags=yes
82909 else
82910 echo "$as_me: program exited with status $ac_status" >&5
82911 echo "$as_me: failed program was:" >&5
82912 sed 's/^/| /' conftest.$ac_ext >&5
82914 ( exit $ac_status )
82915 ac_sectionLDflags=no
82917 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82919 if test "$ac_test_CFLAGS" = set; then
82920 CFLAGS="$ac_save_CFLAGS"
82921 else
82922 # this is the suspicious part
82923 CFLAGS=''
82925 if test "$ac_sectionLDflags" = "yes"; then
82926 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82928 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82929 echo "${ECHO_T}$ac_sectionLDflags" >&6
82932 # Set linker optimization flags.
82933 if test x"$with_gnu_ld" = x"yes"; then
82934 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82942 echo "$as_me:$LINENO: checking for main in -lm" >&5
82943 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82944 if test "${ac_cv_lib_m_main+set}" = set; then
82945 echo $ECHO_N "(cached) $ECHO_C" >&6
82946 else
82947 ac_check_lib_save_LIBS=$LIBS
82948 LIBS="-lm $LIBS"
82949 if test x$gcc_no_link = xyes; then
82950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82952 { (exit 1); exit 1; }; }
82954 cat >conftest.$ac_ext <<_ACEOF
82955 /* confdefs.h. */
82956 _ACEOF
82957 cat confdefs.h >>conftest.$ac_ext
82958 cat >>conftest.$ac_ext <<_ACEOF
82959 /* end confdefs.h. */
82963 main ()
82965 main ();
82967 return 0;
82969 _ACEOF
82970 rm -f conftest.$ac_objext conftest$ac_exeext
82971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82972 (eval $ac_link) 2>conftest.er1
82973 ac_status=$?
82974 grep -v '^ *+' conftest.er1 >conftest.err
82975 rm -f conftest.er1
82976 cat conftest.err >&5
82977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82978 (exit $ac_status); } &&
82979 { ac_try='test -z "$ac_c_werror_flag"
82980 || test ! -s conftest.err'
82981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82982 (eval $ac_try) 2>&5
82983 ac_status=$?
82984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82985 (exit $ac_status); }; } &&
82986 { ac_try='test -s conftest$ac_exeext'
82987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82988 (eval $ac_try) 2>&5
82989 ac_status=$?
82990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82991 (exit $ac_status); }; }; then
82992 ac_cv_lib_m_main=yes
82993 else
82994 echo "$as_me: failed program was:" >&5
82995 sed 's/^/| /' conftest.$ac_ext >&5
82997 ac_cv_lib_m_main=no
82999 rm -f conftest.err conftest.$ac_objext \
83000 conftest$ac_exeext conftest.$ac_ext
83001 LIBS=$ac_check_lib_save_LIBS
83003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83004 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83005 if test $ac_cv_lib_m_main = yes; then
83006 cat >>confdefs.h <<_ACEOF
83007 #define HAVE_LIBM 1
83008 _ACEOF
83010 LIBS="-lm $LIBS"
83015 for ac_func in copysignf
83017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83018 echo "$as_me:$LINENO: checking for $ac_func" >&5
83019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83020 if eval "test \"\${$as_ac_var+set}\" = set"; then
83021 echo $ECHO_N "(cached) $ECHO_C" >&6
83022 else
83023 if test x$gcc_no_link = xyes; then
83024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83026 { (exit 1); exit 1; }; }
83028 cat >conftest.$ac_ext <<_ACEOF
83029 /* confdefs.h. */
83030 _ACEOF
83031 cat confdefs.h >>conftest.$ac_ext
83032 cat >>conftest.$ac_ext <<_ACEOF
83033 /* end confdefs.h. */
83034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83036 #define $ac_func innocuous_$ac_func
83038 /* System header to define __stub macros and hopefully few prototypes,
83039 which can conflict with char $ac_func (); below.
83040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83041 <limits.h> exists even on freestanding compilers. */
83043 #ifdef __STDC__
83044 # include <limits.h>
83045 #else
83046 # include <assert.h>
83047 #endif
83049 #undef $ac_func
83051 /* Override any gcc2 internal prototype to avoid an error. */
83052 #ifdef __cplusplus
83053 extern "C"
83055 #endif
83056 /* We use char because int might match the return type of a gcc2
83057 builtin and then its argument prototype would still apply. */
83058 char $ac_func ();
83059 /* The GNU C library defines this for functions which it implements
83060 to always fail with ENOSYS. Some functions are actually named
83061 something starting with __ and the normal name is an alias. */
83062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83063 choke me
83064 #else
83065 char (*f) () = $ac_func;
83066 #endif
83067 #ifdef __cplusplus
83069 #endif
83072 main ()
83074 return f != $ac_func;
83076 return 0;
83078 _ACEOF
83079 rm -f conftest.$ac_objext conftest$ac_exeext
83080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83081 (eval $ac_link) 2>conftest.er1
83082 ac_status=$?
83083 grep -v '^ *+' conftest.er1 >conftest.err
83084 rm -f conftest.er1
83085 cat conftest.err >&5
83086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83087 (exit $ac_status); } &&
83088 { ac_try='test -z "$ac_c_werror_flag"
83089 || test ! -s conftest.err'
83090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83091 (eval $ac_try) 2>&5
83092 ac_status=$?
83093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83094 (exit $ac_status); }; } &&
83095 { ac_try='test -s conftest$ac_exeext'
83096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83097 (eval $ac_try) 2>&5
83098 ac_status=$?
83099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83100 (exit $ac_status); }; }; then
83101 eval "$as_ac_var=yes"
83102 else
83103 echo "$as_me: failed program was:" >&5
83104 sed 's/^/| /' conftest.$ac_ext >&5
83106 eval "$as_ac_var=no"
83108 rm -f conftest.err conftest.$ac_objext \
83109 conftest$ac_exeext conftest.$ac_ext
83111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83113 if test `eval echo '${'$as_ac_var'}'` = yes; then
83114 cat >>confdefs.h <<_ACEOF
83115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83116 _ACEOF
83118 else
83119 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83121 done
83125 for ac_func in __signbit
83127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83128 echo "$as_me:$LINENO: checking for $ac_func" >&5
83129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83130 if eval "test \"\${$as_ac_var+set}\" = set"; then
83131 echo $ECHO_N "(cached) $ECHO_C" >&6
83132 else
83133 if test x$gcc_no_link = xyes; then
83134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83136 { (exit 1); exit 1; }; }
83138 cat >conftest.$ac_ext <<_ACEOF
83139 /* confdefs.h. */
83140 _ACEOF
83141 cat confdefs.h >>conftest.$ac_ext
83142 cat >>conftest.$ac_ext <<_ACEOF
83143 /* end confdefs.h. */
83144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83146 #define $ac_func innocuous_$ac_func
83148 /* System header to define __stub macros and hopefully few prototypes,
83149 which can conflict with char $ac_func (); below.
83150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83151 <limits.h> exists even on freestanding compilers. */
83153 #ifdef __STDC__
83154 # include <limits.h>
83155 #else
83156 # include <assert.h>
83157 #endif
83159 #undef $ac_func
83161 /* Override any gcc2 internal prototype to avoid an error. */
83162 #ifdef __cplusplus
83163 extern "C"
83165 #endif
83166 /* We use char because int might match the return type of a gcc2
83167 builtin and then its argument prototype would still apply. */
83168 char $ac_func ();
83169 /* The GNU C library defines this for functions which it implements
83170 to always fail with ENOSYS. Some functions are actually named
83171 something starting with __ and the normal name is an alias. */
83172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83173 choke me
83174 #else
83175 char (*f) () = $ac_func;
83176 #endif
83177 #ifdef __cplusplus
83179 #endif
83182 main ()
83184 return f != $ac_func;
83186 return 0;
83188 _ACEOF
83189 rm -f conftest.$ac_objext conftest$ac_exeext
83190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83191 (eval $ac_link) 2>conftest.er1
83192 ac_status=$?
83193 grep -v '^ *+' conftest.er1 >conftest.err
83194 rm -f conftest.er1
83195 cat conftest.err >&5
83196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83197 (exit $ac_status); } &&
83198 { ac_try='test -z "$ac_c_werror_flag"
83199 || test ! -s conftest.err'
83200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83201 (eval $ac_try) 2>&5
83202 ac_status=$?
83203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83204 (exit $ac_status); }; } &&
83205 { ac_try='test -s conftest$ac_exeext'
83206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83207 (eval $ac_try) 2>&5
83208 ac_status=$?
83209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83210 (exit $ac_status); }; }; then
83211 eval "$as_ac_var=yes"
83212 else
83213 echo "$as_me: failed program was:" >&5
83214 sed 's/^/| /' conftest.$ac_ext >&5
83216 eval "$as_ac_var=no"
83218 rm -f conftest.err conftest.$ac_objext \
83219 conftest$ac_exeext conftest.$ac_ext
83221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83223 if test `eval echo '${'$as_ac_var'}'` = yes; then
83224 cat >>confdefs.h <<_ACEOF
83225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83226 _ACEOF
83228 else
83229 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83231 done
83235 for ac_func in __signbitf
83237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83238 echo "$as_me:$LINENO: checking for $ac_func" >&5
83239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83240 if eval "test \"\${$as_ac_var+set}\" = set"; then
83241 echo $ECHO_N "(cached) $ECHO_C" >&6
83242 else
83243 if test x$gcc_no_link = xyes; then
83244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83246 { (exit 1); exit 1; }; }
83248 cat >conftest.$ac_ext <<_ACEOF
83249 /* confdefs.h. */
83250 _ACEOF
83251 cat confdefs.h >>conftest.$ac_ext
83252 cat >>conftest.$ac_ext <<_ACEOF
83253 /* end confdefs.h. */
83254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83256 #define $ac_func innocuous_$ac_func
83258 /* System header to define __stub macros and hopefully few prototypes,
83259 which can conflict with char $ac_func (); below.
83260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83261 <limits.h> exists even on freestanding compilers. */
83263 #ifdef __STDC__
83264 # include <limits.h>
83265 #else
83266 # include <assert.h>
83267 #endif
83269 #undef $ac_func
83271 /* Override any gcc2 internal prototype to avoid an error. */
83272 #ifdef __cplusplus
83273 extern "C"
83275 #endif
83276 /* We use char because int might match the return type of a gcc2
83277 builtin and then its argument prototype would still apply. */
83278 char $ac_func ();
83279 /* The GNU C library defines this for functions which it implements
83280 to always fail with ENOSYS. Some functions are actually named
83281 something starting with __ and the normal name is an alias. */
83282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83283 choke me
83284 #else
83285 char (*f) () = $ac_func;
83286 #endif
83287 #ifdef __cplusplus
83289 #endif
83292 main ()
83294 return f != $ac_func;
83296 return 0;
83298 _ACEOF
83299 rm -f conftest.$ac_objext conftest$ac_exeext
83300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83301 (eval $ac_link) 2>conftest.er1
83302 ac_status=$?
83303 grep -v '^ *+' conftest.er1 >conftest.err
83304 rm -f conftest.er1
83305 cat conftest.err >&5
83306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83307 (exit $ac_status); } &&
83308 { ac_try='test -z "$ac_c_werror_flag"
83309 || test ! -s conftest.err'
83310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83311 (eval $ac_try) 2>&5
83312 ac_status=$?
83313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83314 (exit $ac_status); }; } &&
83315 { ac_try='test -s conftest$ac_exeext'
83316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83317 (eval $ac_try) 2>&5
83318 ac_status=$?
83319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83320 (exit $ac_status); }; }; then
83321 eval "$as_ac_var=yes"
83322 else
83323 echo "$as_me: failed program was:" >&5
83324 sed 's/^/| /' conftest.$ac_ext >&5
83326 eval "$as_ac_var=no"
83328 rm -f conftest.err conftest.$ac_objext \
83329 conftest$ac_exeext conftest.$ac_ext
83331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83333 if test `eval echo '${'$as_ac_var'}'` = yes; then
83334 cat >>confdefs.h <<_ACEOF
83335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83336 _ACEOF
83338 else
83339 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83341 done
83344 if test x$ac_cv_func_copysignl = x"yes"; then
83346 for ac_func in __signbitl
83348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83349 echo "$as_me:$LINENO: checking for $ac_func" >&5
83350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83351 if eval "test \"\${$as_ac_var+set}\" = set"; then
83352 echo $ECHO_N "(cached) $ECHO_C" >&6
83353 else
83354 if test x$gcc_no_link = xyes; then
83355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83357 { (exit 1); exit 1; }; }
83359 cat >conftest.$ac_ext <<_ACEOF
83360 /* confdefs.h. */
83361 _ACEOF
83362 cat confdefs.h >>conftest.$ac_ext
83363 cat >>conftest.$ac_ext <<_ACEOF
83364 /* end confdefs.h. */
83365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83367 #define $ac_func innocuous_$ac_func
83369 /* System header to define __stub macros and hopefully few prototypes,
83370 which can conflict with char $ac_func (); below.
83371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83372 <limits.h> exists even on freestanding compilers. */
83374 #ifdef __STDC__
83375 # include <limits.h>
83376 #else
83377 # include <assert.h>
83378 #endif
83380 #undef $ac_func
83382 /* Override any gcc2 internal prototype to avoid an error. */
83383 #ifdef __cplusplus
83384 extern "C"
83386 #endif
83387 /* We use char because int might match the return type of a gcc2
83388 builtin and then its argument prototype would still apply. */
83389 char $ac_func ();
83390 /* The GNU C library defines this for functions which it implements
83391 to always fail with ENOSYS. Some functions are actually named
83392 something starting with __ and the normal name is an alias. */
83393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83394 choke me
83395 #else
83396 char (*f) () = $ac_func;
83397 #endif
83398 #ifdef __cplusplus
83400 #endif
83403 main ()
83405 return f != $ac_func;
83407 return 0;
83409 _ACEOF
83410 rm -f conftest.$ac_objext conftest$ac_exeext
83411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83412 (eval $ac_link) 2>conftest.er1
83413 ac_status=$?
83414 grep -v '^ *+' conftest.er1 >conftest.err
83415 rm -f conftest.er1
83416 cat conftest.err >&5
83417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83418 (exit $ac_status); } &&
83419 { ac_try='test -z "$ac_c_werror_flag"
83420 || test ! -s conftest.err'
83421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83422 (eval $ac_try) 2>&5
83423 ac_status=$?
83424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83425 (exit $ac_status); }; } &&
83426 { ac_try='test -s conftest$ac_exeext'
83427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83428 (eval $ac_try) 2>&5
83429 ac_status=$?
83430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83431 (exit $ac_status); }; }; then
83432 eval "$as_ac_var=yes"
83433 else
83434 echo "$as_me: failed program was:" >&5
83435 sed 's/^/| /' conftest.$ac_ext >&5
83437 eval "$as_ac_var=no"
83439 rm -f conftest.err conftest.$ac_objext \
83440 conftest$ac_exeext conftest.$ac_ext
83442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83444 if test `eval echo '${'$as_ac_var'}'` = yes; then
83445 cat >>confdefs.h <<_ACEOF
83446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83447 _ACEOF
83449 else
83450 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83452 done
83456 # Used in libmath/Makefile.am.
83457 if test -n "$LIBMATHOBJS"; then
83458 need_libmath=yes
83463 # Test wchar.h for mbstate_t, which is needed for char_traits and
83464 # others even if wchar_t support is not on.
83465 echo "$as_me:$LINENO: checking for mbstate_t" >&5
83466 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
83467 cat >conftest.$ac_ext <<_ACEOF
83468 /* confdefs.h. */
83469 _ACEOF
83470 cat confdefs.h >>conftest.$ac_ext
83471 cat >>conftest.$ac_ext <<_ACEOF
83472 /* end confdefs.h. */
83473 #include <wchar.h>
83475 main ()
83477 mbstate_t teststate;
83479 return 0;
83481 _ACEOF
83482 rm -f conftest.$ac_objext
83483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83484 (eval $ac_compile) 2>conftest.er1
83485 ac_status=$?
83486 grep -v '^ *+' conftest.er1 >conftest.err
83487 rm -f conftest.er1
83488 cat conftest.err >&5
83489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83490 (exit $ac_status); } &&
83491 { ac_try='test -z "$ac_c_werror_flag"
83492 || test ! -s conftest.err'
83493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83494 (eval $ac_try) 2>&5
83495 ac_status=$?
83496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83497 (exit $ac_status); }; } &&
83498 { ac_try='test -s conftest.$ac_objext'
83499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83500 (eval $ac_try) 2>&5
83501 ac_status=$?
83502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83503 (exit $ac_status); }; }; then
83504 have_mbstate_t=yes
83505 else
83506 echo "$as_me: failed program was:" >&5
83507 sed 's/^/| /' conftest.$ac_ext >&5
83509 have_mbstate_t=no
83511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83512 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
83513 echo "${ECHO_T}$have_mbstate_t" >&6
83514 if test x"$have_mbstate_t" = xyes; then
83515 cat >>confdefs.h <<\_ACEOF
83516 #define HAVE_MBSTATE_T 1
83517 _ACEOF
83521 # Sanity check for existence of ISO C99 headers for extended encoding.
83523 for ac_header in wchar.h
83525 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83527 echo "$as_me:$LINENO: checking for $ac_header" >&5
83528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83530 echo $ECHO_N "(cached) $ECHO_C" >&6
83532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83534 else
83535 # Is the header compilable?
83536 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83538 cat >conftest.$ac_ext <<_ACEOF
83539 /* confdefs.h. */
83540 _ACEOF
83541 cat confdefs.h >>conftest.$ac_ext
83542 cat >>conftest.$ac_ext <<_ACEOF
83543 /* end confdefs.h. */
83544 $ac_includes_default
83545 #include <$ac_header>
83546 _ACEOF
83547 rm -f conftest.$ac_objext
83548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83549 (eval $ac_compile) 2>conftest.er1
83550 ac_status=$?
83551 grep -v '^ *+' conftest.er1 >conftest.err
83552 rm -f conftest.er1
83553 cat conftest.err >&5
83554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83555 (exit $ac_status); } &&
83556 { ac_try='test -z "$ac_c_werror_flag"
83557 || test ! -s conftest.err'
83558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83559 (eval $ac_try) 2>&5
83560 ac_status=$?
83561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83562 (exit $ac_status); }; } &&
83563 { ac_try='test -s conftest.$ac_objext'
83564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83565 (eval $ac_try) 2>&5
83566 ac_status=$?
83567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83568 (exit $ac_status); }; }; then
83569 ac_header_compiler=yes
83570 else
83571 echo "$as_me: failed program was:" >&5
83572 sed 's/^/| /' conftest.$ac_ext >&5
83574 ac_header_compiler=no
83576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83578 echo "${ECHO_T}$ac_header_compiler" >&6
83580 # Is the header present?
83581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83583 cat >conftest.$ac_ext <<_ACEOF
83584 /* confdefs.h. */
83585 _ACEOF
83586 cat confdefs.h >>conftest.$ac_ext
83587 cat >>conftest.$ac_ext <<_ACEOF
83588 /* end confdefs.h. */
83589 #include <$ac_header>
83590 _ACEOF
83591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83593 ac_status=$?
83594 grep -v '^ *+' conftest.er1 >conftest.err
83595 rm -f conftest.er1
83596 cat conftest.err >&5
83597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83598 (exit $ac_status); } >/dev/null; then
83599 if test -s conftest.err; then
83600 ac_cpp_err=$ac_c_preproc_warn_flag
83601 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83602 else
83603 ac_cpp_err=
83605 else
83606 ac_cpp_err=yes
83608 if test -z "$ac_cpp_err"; then
83609 ac_header_preproc=yes
83610 else
83611 echo "$as_me: failed program was:" >&5
83612 sed 's/^/| /' conftest.$ac_ext >&5
83614 ac_header_preproc=no
83616 rm -f conftest.err conftest.$ac_ext
83617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83618 echo "${ECHO_T}$ac_header_preproc" >&6
83620 # So? What about this header?
83621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83622 yes:no: )
83623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83626 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83627 ac_header_preproc=yes
83629 no:yes:* )
83630 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83631 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83632 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83633 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83634 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83635 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83636 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83637 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83639 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83640 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83641 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83643 cat <<\_ASBOX
83644 ## ----------------------------------------- ##
83645 ## Report this to the package-unused lists. ##
83646 ## ----------------------------------------- ##
83647 _ASBOX
83649 sed "s/^/$as_me: WARNING: /" >&2
83651 esac
83652 echo "$as_me:$LINENO: checking for $ac_header" >&5
83653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83655 echo $ECHO_N "(cached) $ECHO_C" >&6
83656 else
83657 eval "$as_ac_Header=\$ac_header_preproc"
83659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83664 cat >>confdefs.h <<_ACEOF
83665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83666 _ACEOF
83667 ac_has_wchar_h=yes
83668 else
83669 ac_has_wchar_h=no
83672 done
83675 for ac_header in wctype.h
83677 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83679 echo "$as_me:$LINENO: checking for $ac_header" >&5
83680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83682 echo $ECHO_N "(cached) $ECHO_C" >&6
83684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83686 else
83687 # Is the header compilable?
83688 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83689 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83690 cat >conftest.$ac_ext <<_ACEOF
83691 /* confdefs.h. */
83692 _ACEOF
83693 cat confdefs.h >>conftest.$ac_ext
83694 cat >>conftest.$ac_ext <<_ACEOF
83695 /* end confdefs.h. */
83696 $ac_includes_default
83697 #include <$ac_header>
83698 _ACEOF
83699 rm -f conftest.$ac_objext
83700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83701 (eval $ac_compile) 2>conftest.er1
83702 ac_status=$?
83703 grep -v '^ *+' conftest.er1 >conftest.err
83704 rm -f conftest.er1
83705 cat conftest.err >&5
83706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83707 (exit $ac_status); } &&
83708 { ac_try='test -z "$ac_c_werror_flag"
83709 || test ! -s conftest.err'
83710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83711 (eval $ac_try) 2>&5
83712 ac_status=$?
83713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83714 (exit $ac_status); }; } &&
83715 { ac_try='test -s conftest.$ac_objext'
83716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83717 (eval $ac_try) 2>&5
83718 ac_status=$?
83719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83720 (exit $ac_status); }; }; then
83721 ac_header_compiler=yes
83722 else
83723 echo "$as_me: failed program was:" >&5
83724 sed 's/^/| /' conftest.$ac_ext >&5
83726 ac_header_compiler=no
83728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83729 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83730 echo "${ECHO_T}$ac_header_compiler" >&6
83732 # Is the header present?
83733 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83734 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83735 cat >conftest.$ac_ext <<_ACEOF
83736 /* confdefs.h. */
83737 _ACEOF
83738 cat confdefs.h >>conftest.$ac_ext
83739 cat >>conftest.$ac_ext <<_ACEOF
83740 /* end confdefs.h. */
83741 #include <$ac_header>
83742 _ACEOF
83743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83745 ac_status=$?
83746 grep -v '^ *+' conftest.er1 >conftest.err
83747 rm -f conftest.er1
83748 cat conftest.err >&5
83749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83750 (exit $ac_status); } >/dev/null; then
83751 if test -s conftest.err; then
83752 ac_cpp_err=$ac_c_preproc_warn_flag
83753 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83754 else
83755 ac_cpp_err=
83757 else
83758 ac_cpp_err=yes
83760 if test -z "$ac_cpp_err"; then
83761 ac_header_preproc=yes
83762 else
83763 echo "$as_me: failed program was:" >&5
83764 sed 's/^/| /' conftest.$ac_ext >&5
83766 ac_header_preproc=no
83768 rm -f conftest.err conftest.$ac_ext
83769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83770 echo "${ECHO_T}$ac_header_preproc" >&6
83772 # So? What about this header?
83773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83774 yes:no: )
83775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83778 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83779 ac_header_preproc=yes
83781 no:yes:* )
83782 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83783 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83784 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83785 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83786 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83787 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83788 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83789 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83792 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83793 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83795 cat <<\_ASBOX
83796 ## ----------------------------------------- ##
83797 ## Report this to the package-unused lists. ##
83798 ## ----------------------------------------- ##
83799 _ASBOX
83801 sed "s/^/$as_me: WARNING: /" >&2
83803 esac
83804 echo "$as_me:$LINENO: checking for $ac_header" >&5
83805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83807 echo $ECHO_N "(cached) $ECHO_C" >&6
83808 else
83809 eval "$as_ac_Header=\$ac_header_preproc"
83811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83816 cat >>confdefs.h <<_ACEOF
83817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83818 _ACEOF
83819 ac_has_wctype_h=yes
83820 else
83821 ac_has_wctype_h=no
83824 done
83827 # Only continue checking if the ISO C99 headers exist and support is on.
83828 if test x"$ac_has_wchar_h" = xyes &&
83829 test x"$ac_has_wctype_h" = xyes &&
83830 test x"$enable_c_mbchar" != xno; then
83832 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
83833 # numeric_limits can instantiate type_traits<wchar_t>
83834 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
83835 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
83836 cat >conftest.$ac_ext <<_ACEOF
83837 /* confdefs.h. */
83838 _ACEOF
83839 cat confdefs.h >>conftest.$ac_ext
83840 cat >>conftest.$ac_ext <<_ACEOF
83841 /* end confdefs.h. */
83842 #include <wchar.h>
83844 main ()
83846 int i = WCHAR_MIN; int j = WCHAR_MAX;
83848 return 0;
83850 _ACEOF
83851 rm -f conftest.$ac_objext
83852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83853 (eval $ac_compile) 2>conftest.er1
83854 ac_status=$?
83855 grep -v '^ *+' conftest.er1 >conftest.err
83856 rm -f conftest.er1
83857 cat conftest.err >&5
83858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83859 (exit $ac_status); } &&
83860 { ac_try='test -z "$ac_c_werror_flag"
83861 || test ! -s conftest.err'
83862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83863 (eval $ac_try) 2>&5
83864 ac_status=$?
83865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83866 (exit $ac_status); }; } &&
83867 { ac_try='test -s conftest.$ac_objext'
83868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83869 (eval $ac_try) 2>&5
83870 ac_status=$?
83871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83872 (exit $ac_status); }; }; then
83873 has_wchar_minmax=yes
83874 else
83875 echo "$as_me: failed program was:" >&5
83876 sed 's/^/| /' conftest.$ac_ext >&5
83878 has_wchar_minmax=no
83880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83881 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
83882 echo "${ECHO_T}$has_wchar_minmax" >&6
83884 # Test wchar.h for WEOF, which is what we use to determine whether
83885 # to specialize for char_traits<wchar_t> or not.
83886 echo "$as_me:$LINENO: checking for WEOF" >&5
83887 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
83888 cat >conftest.$ac_ext <<_ACEOF
83889 /* confdefs.h. */
83890 _ACEOF
83891 cat confdefs.h >>conftest.$ac_ext
83892 cat >>conftest.$ac_ext <<_ACEOF
83893 /* end confdefs.h. */
83895 #include <wchar.h>
83896 #include <stddef.h>
83898 main ()
83900 wint_t i = WEOF;
83902 return 0;
83904 _ACEOF
83905 rm -f conftest.$ac_objext
83906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83907 (eval $ac_compile) 2>conftest.er1
83908 ac_status=$?
83909 grep -v '^ *+' conftest.er1 >conftest.err
83910 rm -f conftest.er1
83911 cat conftest.err >&5
83912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83913 (exit $ac_status); } &&
83914 { ac_try='test -z "$ac_c_werror_flag"
83915 || test ! -s conftest.err'
83916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83917 (eval $ac_try) 2>&5
83918 ac_status=$?
83919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83920 (exit $ac_status); }; } &&
83921 { ac_try='test -s conftest.$ac_objext'
83922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83923 (eval $ac_try) 2>&5
83924 ac_status=$?
83925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83926 (exit $ac_status); }; }; then
83927 has_weof=yes
83928 else
83929 echo "$as_me: failed program was:" >&5
83930 sed 's/^/| /' conftest.$ac_ext >&5
83932 has_weof=no
83934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83935 echo "$as_me:$LINENO: result: $has_weof" >&5
83936 echo "${ECHO_T}$has_weof" >&6
83938 # Tests for wide character functions used in char_traits<wchar_t>.
83939 ac_wfuncs=yes
83946 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83949 echo "$as_me:$LINENO: checking for $ac_func" >&5
83950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83951 if eval "test \"\${$as_ac_var+set}\" = set"; then
83952 echo $ECHO_N "(cached) $ECHO_C" >&6
83953 else
83954 if test x$gcc_no_link = xyes; then
83955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83957 { (exit 1); exit 1; }; }
83959 cat >conftest.$ac_ext <<_ACEOF
83960 /* confdefs.h. */
83961 _ACEOF
83962 cat confdefs.h >>conftest.$ac_ext
83963 cat >>conftest.$ac_ext <<_ACEOF
83964 /* end confdefs.h. */
83965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83967 #define $ac_func innocuous_$ac_func
83969 /* System header to define __stub macros and hopefully few prototypes,
83970 which can conflict with char $ac_func (); below.
83971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83972 <limits.h> exists even on freestanding compilers. */
83974 #ifdef __STDC__
83975 # include <limits.h>
83976 #else
83977 # include <assert.h>
83978 #endif
83980 #undef $ac_func
83982 /* Override any gcc2 internal prototype to avoid an error. */
83983 #ifdef __cplusplus
83984 extern "C"
83986 #endif
83987 /* We use char because int might match the return type of a gcc2
83988 builtin and then its argument prototype would still apply. */
83989 char $ac_func ();
83990 /* The GNU C library defines this for functions which it implements
83991 to always fail with ENOSYS. Some functions are actually named
83992 something starting with __ and the normal name is an alias. */
83993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83994 choke me
83995 #else
83996 char (*f) () = $ac_func;
83997 #endif
83998 #ifdef __cplusplus
84000 #endif
84003 main ()
84005 return f != $ac_func;
84007 return 0;
84009 _ACEOF
84010 rm -f conftest.$ac_objext conftest$ac_exeext
84011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84012 (eval $ac_link) 2>conftest.er1
84013 ac_status=$?
84014 grep -v '^ *+' conftest.er1 >conftest.err
84015 rm -f conftest.er1
84016 cat conftest.err >&5
84017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84018 (exit $ac_status); } &&
84019 { ac_try='test -z "$ac_c_werror_flag"
84020 || test ! -s conftest.err'
84021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84022 (eval $ac_try) 2>&5
84023 ac_status=$?
84024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84025 (exit $ac_status); }; } &&
84026 { ac_try='test -s conftest$ac_exeext'
84027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84028 (eval $ac_try) 2>&5
84029 ac_status=$?
84030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84031 (exit $ac_status); }; }; then
84032 eval "$as_ac_var=yes"
84033 else
84034 echo "$as_me: failed program was:" >&5
84035 sed 's/^/| /' conftest.$ac_ext >&5
84037 eval "$as_ac_var=no"
84039 rm -f conftest.err conftest.$ac_objext \
84040 conftest$ac_exeext conftest.$ac_ext
84042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84044 if test `eval echo '${'$as_ac_var'}'` = yes; then
84045 cat >>confdefs.h <<_ACEOF
84046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84047 _ACEOF
84049 else
84050 ac_wfuncs=no
84052 done
84055 # Checks for names injected into std:: by the c_std headers.
84102 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
84103 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
84104 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
84105 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
84106 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
84107 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
84109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84110 echo "$as_me:$LINENO: checking for $ac_func" >&5
84111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84112 if eval "test \"\${$as_ac_var+set}\" = set"; then
84113 echo $ECHO_N "(cached) $ECHO_C" >&6
84114 else
84115 if test x$gcc_no_link = xyes; then
84116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84118 { (exit 1); exit 1; }; }
84120 cat >conftest.$ac_ext <<_ACEOF
84121 /* confdefs.h. */
84122 _ACEOF
84123 cat confdefs.h >>conftest.$ac_ext
84124 cat >>conftest.$ac_ext <<_ACEOF
84125 /* end confdefs.h. */
84126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84128 #define $ac_func innocuous_$ac_func
84130 /* System header to define __stub macros and hopefully few prototypes,
84131 which can conflict with char $ac_func (); below.
84132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84133 <limits.h> exists even on freestanding compilers. */
84135 #ifdef __STDC__
84136 # include <limits.h>
84137 #else
84138 # include <assert.h>
84139 #endif
84141 #undef $ac_func
84143 /* Override any gcc2 internal prototype to avoid an error. */
84144 #ifdef __cplusplus
84145 extern "C"
84147 #endif
84148 /* We use char because int might match the return type of a gcc2
84149 builtin and then its argument prototype would still apply. */
84150 char $ac_func ();
84151 /* The GNU C library defines this for functions which it implements
84152 to always fail with ENOSYS. Some functions are actually named
84153 something starting with __ and the normal name is an alias. */
84154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84155 choke me
84156 #else
84157 char (*f) () = $ac_func;
84158 #endif
84159 #ifdef __cplusplus
84161 #endif
84164 main ()
84166 return f != $ac_func;
84168 return 0;
84170 _ACEOF
84171 rm -f conftest.$ac_objext conftest$ac_exeext
84172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84173 (eval $ac_link) 2>conftest.er1
84174 ac_status=$?
84175 grep -v '^ *+' conftest.er1 >conftest.err
84176 rm -f conftest.er1
84177 cat conftest.err >&5
84178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84179 (exit $ac_status); } &&
84180 { ac_try='test -z "$ac_c_werror_flag"
84181 || test ! -s conftest.err'
84182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84183 (eval $ac_try) 2>&5
84184 ac_status=$?
84185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84186 (exit $ac_status); }; } &&
84187 { ac_try='test -s conftest$ac_exeext'
84188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84189 (eval $ac_try) 2>&5
84190 ac_status=$?
84191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84192 (exit $ac_status); }; }; then
84193 eval "$as_ac_var=yes"
84194 else
84195 echo "$as_me: failed program was:" >&5
84196 sed 's/^/| /' conftest.$ac_ext >&5
84198 eval "$as_ac_var=no"
84200 rm -f conftest.err conftest.$ac_objext \
84201 conftest$ac_exeext conftest.$ac_ext
84203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84205 if test `eval echo '${'$as_ac_var'}'` = yes; then
84206 cat >>confdefs.h <<_ACEOF
84207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84208 _ACEOF
84210 else
84211 ac_wfuncs=no
84213 done
84216 # Checks for wide character functions that are not required
84217 # for basic wchar_t support. Don't disable support if they are missing.
84218 # Injection of these is wrapped with guard macros.
84224 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
84226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84227 echo "$as_me:$LINENO: checking for $ac_func" >&5
84228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84229 if eval "test \"\${$as_ac_var+set}\" = set"; then
84230 echo $ECHO_N "(cached) $ECHO_C" >&6
84231 else
84232 if test x$gcc_no_link = xyes; then
84233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84235 { (exit 1); exit 1; }; }
84237 cat >conftest.$ac_ext <<_ACEOF
84238 /* confdefs.h. */
84239 _ACEOF
84240 cat confdefs.h >>conftest.$ac_ext
84241 cat >>conftest.$ac_ext <<_ACEOF
84242 /* end confdefs.h. */
84243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84245 #define $ac_func innocuous_$ac_func
84247 /* System header to define __stub macros and hopefully few prototypes,
84248 which can conflict with char $ac_func (); below.
84249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84250 <limits.h> exists even on freestanding compilers. */
84252 #ifdef __STDC__
84253 # include <limits.h>
84254 #else
84255 # include <assert.h>
84256 #endif
84258 #undef $ac_func
84260 /* Override any gcc2 internal prototype to avoid an error. */
84261 #ifdef __cplusplus
84262 extern "C"
84264 #endif
84265 /* We use char because int might match the return type of a gcc2
84266 builtin and then its argument prototype would still apply. */
84267 char $ac_func ();
84268 /* The GNU C library defines this for functions which it implements
84269 to always fail with ENOSYS. Some functions are actually named
84270 something starting with __ and the normal name is an alias. */
84271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84272 choke me
84273 #else
84274 char (*f) () = $ac_func;
84275 #endif
84276 #ifdef __cplusplus
84278 #endif
84281 main ()
84283 return f != $ac_func;
84285 return 0;
84287 _ACEOF
84288 rm -f conftest.$ac_objext conftest$ac_exeext
84289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84290 (eval $ac_link) 2>conftest.er1
84291 ac_status=$?
84292 grep -v '^ *+' conftest.er1 >conftest.err
84293 rm -f conftest.er1
84294 cat conftest.err >&5
84295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84296 (exit $ac_status); } &&
84297 { ac_try='test -z "$ac_c_werror_flag"
84298 || test ! -s conftest.err'
84299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84300 (eval $ac_try) 2>&5
84301 ac_status=$?
84302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84303 (exit $ac_status); }; } &&
84304 { ac_try='test -s conftest$ac_exeext'
84305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84306 (eval $ac_try) 2>&5
84307 ac_status=$?
84308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84309 (exit $ac_status); }; }; then
84310 eval "$as_ac_var=yes"
84311 else
84312 echo "$as_me: failed program was:" >&5
84313 sed 's/^/| /' conftest.$ac_ext >&5
84315 eval "$as_ac_var=no"
84317 rm -f conftest.err conftest.$ac_objext \
84318 conftest$ac_exeext conftest.$ac_ext
84320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84322 if test `eval echo '${'$as_ac_var'}'` = yes; then
84323 cat >>confdefs.h <<_ACEOF
84324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84325 _ACEOF
84328 done
84331 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
84332 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
84333 if test x"$has_weof" = xyes &&
84334 test x"$has_wchar_minmax" = xyes &&
84335 test x"$ac_wfuncs" = xyes;
84336 then
84337 ac_isoC99_wchar_t=yes
84338 else
84339 ac_isoC99_wchar_t=no
84341 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
84342 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
84344 # Use iconv for wchar_t to char conversions. As such, check for
84345 # X/Open Portability Guide, version 2 features (XPG2).
84346 if test "${ac_cv_header_iconv_h+set}" = set; then
84347 echo "$as_me:$LINENO: checking for iconv.h" >&5
84348 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84349 if test "${ac_cv_header_iconv_h+set}" = set; then
84350 echo $ECHO_N "(cached) $ECHO_C" >&6
84352 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84353 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84354 else
84355 # Is the header compilable?
84356 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84357 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84358 cat >conftest.$ac_ext <<_ACEOF
84359 /* confdefs.h. */
84360 _ACEOF
84361 cat confdefs.h >>conftest.$ac_ext
84362 cat >>conftest.$ac_ext <<_ACEOF
84363 /* end confdefs.h. */
84364 $ac_includes_default
84365 #include <iconv.h>
84366 _ACEOF
84367 rm -f conftest.$ac_objext
84368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84369 (eval $ac_compile) 2>conftest.er1
84370 ac_status=$?
84371 grep -v '^ *+' conftest.er1 >conftest.err
84372 rm -f conftest.er1
84373 cat conftest.err >&5
84374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84375 (exit $ac_status); } &&
84376 { ac_try='test -z "$ac_c_werror_flag"
84377 || test ! -s conftest.err'
84378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84379 (eval $ac_try) 2>&5
84380 ac_status=$?
84381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84382 (exit $ac_status); }; } &&
84383 { ac_try='test -s conftest.$ac_objext'
84384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84385 (eval $ac_try) 2>&5
84386 ac_status=$?
84387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84388 (exit $ac_status); }; }; then
84389 ac_header_compiler=yes
84390 else
84391 echo "$as_me: failed program was:" >&5
84392 sed 's/^/| /' conftest.$ac_ext >&5
84394 ac_header_compiler=no
84396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84398 echo "${ECHO_T}$ac_header_compiler" >&6
84400 # Is the header present?
84401 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84402 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84403 cat >conftest.$ac_ext <<_ACEOF
84404 /* confdefs.h. */
84405 _ACEOF
84406 cat confdefs.h >>conftest.$ac_ext
84407 cat >>conftest.$ac_ext <<_ACEOF
84408 /* end confdefs.h. */
84409 #include <iconv.h>
84410 _ACEOF
84411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84413 ac_status=$?
84414 grep -v '^ *+' conftest.er1 >conftest.err
84415 rm -f conftest.er1
84416 cat conftest.err >&5
84417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84418 (exit $ac_status); } >/dev/null; then
84419 if test -s conftest.err; then
84420 ac_cpp_err=$ac_c_preproc_warn_flag
84421 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84422 else
84423 ac_cpp_err=
84425 else
84426 ac_cpp_err=yes
84428 if test -z "$ac_cpp_err"; then
84429 ac_header_preproc=yes
84430 else
84431 echo "$as_me: failed program was:" >&5
84432 sed 's/^/| /' conftest.$ac_ext >&5
84434 ac_header_preproc=no
84436 rm -f conftest.err conftest.$ac_ext
84437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84438 echo "${ECHO_T}$ac_header_preproc" >&6
84440 # So? What about this header?
84441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84442 yes:no: )
84443 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84444 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84445 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84446 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84447 ac_header_preproc=yes
84449 no:yes:* )
84450 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84451 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84452 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84453 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84454 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84455 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84456 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84457 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84458 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84459 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84460 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84461 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84463 cat <<\_ASBOX
84464 ## ----------------------------------------- ##
84465 ## Report this to the package-unused lists. ##
84466 ## ----------------------------------------- ##
84467 _ASBOX
84469 sed "s/^/$as_me: WARNING: /" >&2
84471 esac
84472 echo "$as_me:$LINENO: checking for iconv.h" >&5
84473 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84474 if test "${ac_cv_header_iconv_h+set}" = set; then
84475 echo $ECHO_N "(cached) $ECHO_C" >&6
84476 else
84477 ac_cv_header_iconv_h=$ac_header_preproc
84479 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84480 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84483 if test $ac_cv_header_iconv_h = yes; then
84484 ac_has_iconv_h=yes
84485 else
84486 ac_has_iconv_h=no
84490 if test "${ac_cv_header_langinfo_h+set}" = set; then
84491 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84492 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84493 if test "${ac_cv_header_langinfo_h+set}" = set; then
84494 echo $ECHO_N "(cached) $ECHO_C" >&6
84496 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84497 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84498 else
84499 # Is the header compilable?
84500 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84501 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84502 cat >conftest.$ac_ext <<_ACEOF
84503 /* confdefs.h. */
84504 _ACEOF
84505 cat confdefs.h >>conftest.$ac_ext
84506 cat >>conftest.$ac_ext <<_ACEOF
84507 /* end confdefs.h. */
84508 $ac_includes_default
84509 #include <langinfo.h>
84510 _ACEOF
84511 rm -f conftest.$ac_objext
84512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84513 (eval $ac_compile) 2>conftest.er1
84514 ac_status=$?
84515 grep -v '^ *+' conftest.er1 >conftest.err
84516 rm -f conftest.er1
84517 cat conftest.err >&5
84518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84519 (exit $ac_status); } &&
84520 { ac_try='test -z "$ac_c_werror_flag"
84521 || test ! -s conftest.err'
84522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84523 (eval $ac_try) 2>&5
84524 ac_status=$?
84525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84526 (exit $ac_status); }; } &&
84527 { ac_try='test -s conftest.$ac_objext'
84528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84529 (eval $ac_try) 2>&5
84530 ac_status=$?
84531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84532 (exit $ac_status); }; }; then
84533 ac_header_compiler=yes
84534 else
84535 echo "$as_me: failed program was:" >&5
84536 sed 's/^/| /' conftest.$ac_ext >&5
84538 ac_header_compiler=no
84540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84542 echo "${ECHO_T}$ac_header_compiler" >&6
84544 # Is the header present?
84545 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84546 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84547 cat >conftest.$ac_ext <<_ACEOF
84548 /* confdefs.h. */
84549 _ACEOF
84550 cat confdefs.h >>conftest.$ac_ext
84551 cat >>conftest.$ac_ext <<_ACEOF
84552 /* end confdefs.h. */
84553 #include <langinfo.h>
84554 _ACEOF
84555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84557 ac_status=$?
84558 grep -v '^ *+' conftest.er1 >conftest.err
84559 rm -f conftest.er1
84560 cat conftest.err >&5
84561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84562 (exit $ac_status); } >/dev/null; then
84563 if test -s conftest.err; then
84564 ac_cpp_err=$ac_c_preproc_warn_flag
84565 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84566 else
84567 ac_cpp_err=
84569 else
84570 ac_cpp_err=yes
84572 if test -z "$ac_cpp_err"; then
84573 ac_header_preproc=yes
84574 else
84575 echo "$as_me: failed program was:" >&5
84576 sed 's/^/| /' conftest.$ac_ext >&5
84578 ac_header_preproc=no
84580 rm -f conftest.err conftest.$ac_ext
84581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84582 echo "${ECHO_T}$ac_header_preproc" >&6
84584 # So? What about this header?
84585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84586 yes:no: )
84587 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84588 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84589 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84590 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84591 ac_header_preproc=yes
84593 no:yes:* )
84594 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84595 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84596 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84597 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84598 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84599 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84600 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84601 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84602 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84603 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84604 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84605 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84607 cat <<\_ASBOX
84608 ## ----------------------------------------- ##
84609 ## Report this to the package-unused lists. ##
84610 ## ----------------------------------------- ##
84611 _ASBOX
84613 sed "s/^/$as_me: WARNING: /" >&2
84615 esac
84616 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84617 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84618 if test "${ac_cv_header_langinfo_h+set}" = set; then
84619 echo $ECHO_N "(cached) $ECHO_C" >&6
84620 else
84621 ac_cv_header_langinfo_h=$ac_header_preproc
84623 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84624 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84627 if test $ac_cv_header_langinfo_h = yes; then
84628 ac_has_langinfo_h=yes
84629 else
84630 ac_has_langinfo_h=no
84635 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84636 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84637 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84638 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84639 echo $ECHO_N "(cached) $ECHO_C" >&6
84640 else
84641 ac_check_lib_save_LIBS=$LIBS
84642 LIBS="-liconv $LIBS"
84643 if test x$gcc_no_link = xyes; then
84644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84646 { (exit 1); exit 1; }; }
84648 cat >conftest.$ac_ext <<_ACEOF
84649 /* confdefs.h. */
84650 _ACEOF
84651 cat confdefs.h >>conftest.$ac_ext
84652 cat >>conftest.$ac_ext <<_ACEOF
84653 /* end confdefs.h. */
84655 /* Override any gcc2 internal prototype to avoid an error. */
84656 #ifdef __cplusplus
84657 extern "C"
84658 #endif
84659 /* We use char because int might match the return type of a gcc2
84660 builtin and then its argument prototype would still apply. */
84661 char iconv ();
84663 main ()
84665 iconv ();
84667 return 0;
84669 _ACEOF
84670 rm -f conftest.$ac_objext conftest$ac_exeext
84671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84672 (eval $ac_link) 2>conftest.er1
84673 ac_status=$?
84674 grep -v '^ *+' conftest.er1 >conftest.err
84675 rm -f conftest.er1
84676 cat conftest.err >&5
84677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84678 (exit $ac_status); } &&
84679 { ac_try='test -z "$ac_c_werror_flag"
84680 || test ! -s conftest.err'
84681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84682 (eval $ac_try) 2>&5
84683 ac_status=$?
84684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84685 (exit $ac_status); }; } &&
84686 { ac_try='test -s conftest$ac_exeext'
84687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84688 (eval $ac_try) 2>&5
84689 ac_status=$?
84690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84691 (exit $ac_status); }; }; then
84692 ac_cv_lib_iconv_iconv=yes
84693 else
84694 echo "$as_me: failed program was:" >&5
84695 sed 's/^/| /' conftest.$ac_ext >&5
84697 ac_cv_lib_iconv_iconv=no
84699 rm -f conftest.err conftest.$ac_objext \
84700 conftest$ac_exeext conftest.$ac_ext
84701 LIBS=$ac_check_lib_save_LIBS
84703 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84704 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84705 if test $ac_cv_lib_iconv_iconv = yes; then
84706 LIBICONV="-liconv"
84709 ac_save_LIBS="$LIBS"
84710 LIBS="$LIBS $LIBICONV"
84717 for ac_func in iconv_open iconv_close iconv nl_langinfo
84719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84720 echo "$as_me:$LINENO: checking for $ac_func" >&5
84721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84722 if eval "test \"\${$as_ac_var+set}\" = set"; then
84723 echo $ECHO_N "(cached) $ECHO_C" >&6
84724 else
84725 if test x$gcc_no_link = xyes; then
84726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84728 { (exit 1); exit 1; }; }
84730 cat >conftest.$ac_ext <<_ACEOF
84731 /* confdefs.h. */
84732 _ACEOF
84733 cat confdefs.h >>conftest.$ac_ext
84734 cat >>conftest.$ac_ext <<_ACEOF
84735 /* end confdefs.h. */
84736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84738 #define $ac_func innocuous_$ac_func
84740 /* System header to define __stub macros and hopefully few prototypes,
84741 which can conflict with char $ac_func (); below.
84742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84743 <limits.h> exists even on freestanding compilers. */
84745 #ifdef __STDC__
84746 # include <limits.h>
84747 #else
84748 # include <assert.h>
84749 #endif
84751 #undef $ac_func
84753 /* Override any gcc2 internal prototype to avoid an error. */
84754 #ifdef __cplusplus
84755 extern "C"
84757 #endif
84758 /* We use char because int might match the return type of a gcc2
84759 builtin and then its argument prototype would still apply. */
84760 char $ac_func ();
84761 /* The GNU C library defines this for functions which it implements
84762 to always fail with ENOSYS. Some functions are actually named
84763 something starting with __ and the normal name is an alias. */
84764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84765 choke me
84766 #else
84767 char (*f) () = $ac_func;
84768 #endif
84769 #ifdef __cplusplus
84771 #endif
84774 main ()
84776 return f != $ac_func;
84778 return 0;
84780 _ACEOF
84781 rm -f conftest.$ac_objext conftest$ac_exeext
84782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84783 (eval $ac_link) 2>conftest.er1
84784 ac_status=$?
84785 grep -v '^ *+' conftest.er1 >conftest.err
84786 rm -f conftest.er1
84787 cat conftest.err >&5
84788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84789 (exit $ac_status); } &&
84790 { ac_try='test -z "$ac_c_werror_flag"
84791 || test ! -s conftest.err'
84792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84793 (eval $ac_try) 2>&5
84794 ac_status=$?
84795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84796 (exit $ac_status); }; } &&
84797 { ac_try='test -s conftest$ac_exeext'
84798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84799 (eval $ac_try) 2>&5
84800 ac_status=$?
84801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84802 (exit $ac_status); }; }; then
84803 eval "$as_ac_var=yes"
84804 else
84805 echo "$as_me: failed program was:" >&5
84806 sed 's/^/| /' conftest.$ac_ext >&5
84808 eval "$as_ac_var=no"
84810 rm -f conftest.err conftest.$ac_objext \
84811 conftest$ac_exeext conftest.$ac_ext
84813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84815 if test `eval echo '${'$as_ac_var'}'` = yes; then
84816 cat >>confdefs.h <<_ACEOF
84817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84818 _ACEOF
84819 ac_XPG2funcs=yes
84820 else
84821 ac_XPG2funcs=no
84823 done
84826 LIBS="$ac_save_LIBS"
84828 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
84829 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
84830 if test x"$ac_has_iconv_h" = xyes &&
84831 test x"$ac_has_langinfo_h" = xyes &&
84832 test x"$ac_XPG2funcs" = xyes;
84833 then
84834 ac_XPG2_wchar_t=yes
84835 else
84836 ac_XPG2_wchar_t=no
84838 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
84839 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
84841 # At the moment, only enable wchar_t specializations if all the
84842 # above support is present.
84843 if test x"$ac_isoC99_wchar_t" = xyes &&
84844 test x"$ac_XPG2_wchar_t" = xyes;
84845 then
84846 cat >>confdefs.h <<\_ACEOF
84847 #define _GLIBCXX_USE_WCHAR_T 1
84848 _ACEOF
84850 enable_wchar_t=yes
84853 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
84854 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
84855 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
84856 echo "${ECHO_T}$enable_wchar_t" >&6
84859 *-netbsd*)
84872 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84873 machine/endian.h machine/param.h sys/machine.h sys/types.h \
84874 fp.h locale.h float.h inttypes.h
84876 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84878 echo "$as_me:$LINENO: checking for $ac_header" >&5
84879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84881 echo $ECHO_N "(cached) $ECHO_C" >&6
84883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84885 else
84886 # Is the header compilable?
84887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84889 cat >conftest.$ac_ext <<_ACEOF
84890 /* confdefs.h. */
84891 _ACEOF
84892 cat confdefs.h >>conftest.$ac_ext
84893 cat >>conftest.$ac_ext <<_ACEOF
84894 /* end confdefs.h. */
84895 $ac_includes_default
84896 #include <$ac_header>
84897 _ACEOF
84898 rm -f conftest.$ac_objext
84899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84900 (eval $ac_compile) 2>conftest.er1
84901 ac_status=$?
84902 grep -v '^ *+' conftest.er1 >conftest.err
84903 rm -f conftest.er1
84904 cat conftest.err >&5
84905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84906 (exit $ac_status); } &&
84907 { ac_try='test -z "$ac_c_werror_flag"
84908 || test ! -s conftest.err'
84909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84910 (eval $ac_try) 2>&5
84911 ac_status=$?
84912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84913 (exit $ac_status); }; } &&
84914 { ac_try='test -s conftest.$ac_objext'
84915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84916 (eval $ac_try) 2>&5
84917 ac_status=$?
84918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84919 (exit $ac_status); }; }; then
84920 ac_header_compiler=yes
84921 else
84922 echo "$as_me: failed program was:" >&5
84923 sed 's/^/| /' conftest.$ac_ext >&5
84925 ac_header_compiler=no
84927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84929 echo "${ECHO_T}$ac_header_compiler" >&6
84931 # Is the header present?
84932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84934 cat >conftest.$ac_ext <<_ACEOF
84935 /* confdefs.h. */
84936 _ACEOF
84937 cat confdefs.h >>conftest.$ac_ext
84938 cat >>conftest.$ac_ext <<_ACEOF
84939 /* end confdefs.h. */
84940 #include <$ac_header>
84941 _ACEOF
84942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84944 ac_status=$?
84945 grep -v '^ *+' conftest.er1 >conftest.err
84946 rm -f conftest.er1
84947 cat conftest.err >&5
84948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84949 (exit $ac_status); } >/dev/null; then
84950 if test -s conftest.err; then
84951 ac_cpp_err=$ac_c_preproc_warn_flag
84952 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84953 else
84954 ac_cpp_err=
84956 else
84957 ac_cpp_err=yes
84959 if test -z "$ac_cpp_err"; then
84960 ac_header_preproc=yes
84961 else
84962 echo "$as_me: failed program was:" >&5
84963 sed 's/^/| /' conftest.$ac_ext >&5
84965 ac_header_preproc=no
84967 rm -f conftest.err conftest.$ac_ext
84968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84969 echo "${ECHO_T}$ac_header_preproc" >&6
84971 # So? What about this header?
84972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84973 yes:no: )
84974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84978 ac_header_preproc=yes
84980 no:yes:* )
84981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84994 cat <<\_ASBOX
84995 ## ----------------------------------------- ##
84996 ## Report this to the package-unused lists. ##
84997 ## ----------------------------------------- ##
84998 _ASBOX
85000 sed "s/^/$as_me: WARNING: /" >&2
85002 esac
85003 echo "$as_me:$LINENO: checking for $ac_header" >&5
85004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85006 echo $ECHO_N "(cached) $ECHO_C" >&6
85007 else
85008 eval "$as_ac_Header=\$ac_header_preproc"
85010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85015 cat >>confdefs.h <<_ACEOF
85016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85017 _ACEOF
85021 done
85023 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85026 # If we're not using GNU ld, then there's no point in even trying these
85027 # tests. Check for that first. We should have already tested for gld
85028 # by now (in libtool), but require it now just to be safe...
85029 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85030 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85034 # The name set by libtool depends on the version of libtool. Shame on us
85035 # for depending on an impl detail, but c'est la vie. Older versions used
85036 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85037 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85038 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85039 # set (hence we're using an older libtool), then set it.
85040 if test x${with_gnu_ld+set} != xset; then
85041 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85042 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85043 with_gnu_ld=no
85044 else
85045 with_gnu_ld=$ac_cv_prog_gnu_ld
85049 # Start by getting the version number. I think the libtool test already
85050 # does some of this, but throws away the result.
85052 ldver=`$LD --version 2>/dev/null | head -1 | \
85053 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85055 glibcxx_gnu_ld_version=`echo $ldver | \
85056 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85058 # Set --gc-sections.
85059 if test "$with_gnu_ld" = "notbroken"; then
85060 # GNU ld it is! Joy and bunny rabbits!
85062 # All these tests are for C++; save the language and the compiler flags.
85063 # Need to do this so that g++ won't try to link in libstdc++
85064 ac_test_CFLAGS="${CFLAGS+set}"
85065 ac_save_CFLAGS="$CFLAGS"
85066 CFLAGS='-x c++ -Wl,--gc-sections'
85068 # Check for -Wl,--gc-sections
85069 # XXX This test is broken at the moment, as symbols required for linking
85070 # are now in libsupc++ (not built yet). In addition, this test has
85071 # cored on solaris in the past. In addition, --gc-sections doesn't
85072 # really work at the moment (keeps on discarding used sections, first
85073 # .eh_frame and now some of the glibc sections for iconv).
85074 # Bzzzzt. Thanks for playing, maybe next time.
85075 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85076 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85077 if test "$cross_compiling" = yes; then
85078 ac_sectionLDflags=yes
85079 else
85080 cat >conftest.$ac_ext <<_ACEOF
85081 /* confdefs.h. */
85082 _ACEOF
85083 cat confdefs.h >>conftest.$ac_ext
85084 cat >>conftest.$ac_ext <<_ACEOF
85085 /* end confdefs.h. */
85087 int main(void)
85089 try { throw 1; }
85090 catch (...) { };
85091 return 0;
85094 _ACEOF
85095 rm -f conftest$ac_exeext
85096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85097 (eval $ac_link) 2>&5
85098 ac_status=$?
85099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85102 (eval $ac_try) 2>&5
85103 ac_status=$?
85104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85105 (exit $ac_status); }; }; then
85106 ac_sectionLDflags=yes
85107 else
85108 echo "$as_me: program exited with status $ac_status" >&5
85109 echo "$as_me: failed program was:" >&5
85110 sed 's/^/| /' conftest.$ac_ext >&5
85112 ( exit $ac_status )
85113 ac_sectionLDflags=no
85115 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85117 if test "$ac_test_CFLAGS" = set; then
85118 CFLAGS="$ac_save_CFLAGS"
85119 else
85120 # this is the suspicious part
85121 CFLAGS=''
85123 if test "$ac_sectionLDflags" = "yes"; then
85124 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85126 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85127 echo "${ECHO_T}$ac_sectionLDflags" >&6
85130 # Set linker optimization flags.
85131 if test x"$with_gnu_ld" = x"yes"; then
85132 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85140 echo "$as_me:$LINENO: checking for main in -lm" >&5
85141 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85142 if test "${ac_cv_lib_m_main+set}" = set; then
85143 echo $ECHO_N "(cached) $ECHO_C" >&6
85144 else
85145 ac_check_lib_save_LIBS=$LIBS
85146 LIBS="-lm $LIBS"
85147 if test x$gcc_no_link = xyes; then
85148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85150 { (exit 1); exit 1; }; }
85152 cat >conftest.$ac_ext <<_ACEOF
85153 /* confdefs.h. */
85154 _ACEOF
85155 cat confdefs.h >>conftest.$ac_ext
85156 cat >>conftest.$ac_ext <<_ACEOF
85157 /* end confdefs.h. */
85161 main ()
85163 main ();
85165 return 0;
85167 _ACEOF
85168 rm -f conftest.$ac_objext conftest$ac_exeext
85169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85170 (eval $ac_link) 2>conftest.er1
85171 ac_status=$?
85172 grep -v '^ *+' conftest.er1 >conftest.err
85173 rm -f conftest.er1
85174 cat conftest.err >&5
85175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85176 (exit $ac_status); } &&
85177 { ac_try='test -z "$ac_c_werror_flag"
85178 || test ! -s conftest.err'
85179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85180 (eval $ac_try) 2>&5
85181 ac_status=$?
85182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85183 (exit $ac_status); }; } &&
85184 { ac_try='test -s conftest$ac_exeext'
85185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85186 (eval $ac_try) 2>&5
85187 ac_status=$?
85188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85189 (exit $ac_status); }; }; then
85190 ac_cv_lib_m_main=yes
85191 else
85192 echo "$as_me: failed program was:" >&5
85193 sed 's/^/| /' conftest.$ac_ext >&5
85195 ac_cv_lib_m_main=no
85197 rm -f conftest.err conftest.$ac_objext \
85198 conftest$ac_exeext conftest.$ac_ext
85199 LIBS=$ac_check_lib_save_LIBS
85201 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85202 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85203 if test $ac_cv_lib_m_main = yes; then
85204 cat >>confdefs.h <<_ACEOF
85205 #define HAVE_LIBM 1
85206 _ACEOF
85208 LIBS="-lm $LIBS"
85213 for ac_func in copysignf
85215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85216 echo "$as_me:$LINENO: checking for $ac_func" >&5
85217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85218 if eval "test \"\${$as_ac_var+set}\" = set"; then
85219 echo $ECHO_N "(cached) $ECHO_C" >&6
85220 else
85221 if test x$gcc_no_link = xyes; then
85222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85224 { (exit 1); exit 1; }; }
85226 cat >conftest.$ac_ext <<_ACEOF
85227 /* confdefs.h. */
85228 _ACEOF
85229 cat confdefs.h >>conftest.$ac_ext
85230 cat >>conftest.$ac_ext <<_ACEOF
85231 /* end confdefs.h. */
85232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85234 #define $ac_func innocuous_$ac_func
85236 /* System header to define __stub macros and hopefully few prototypes,
85237 which can conflict with char $ac_func (); below.
85238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85239 <limits.h> exists even on freestanding compilers. */
85241 #ifdef __STDC__
85242 # include <limits.h>
85243 #else
85244 # include <assert.h>
85245 #endif
85247 #undef $ac_func
85249 /* Override any gcc2 internal prototype to avoid an error. */
85250 #ifdef __cplusplus
85251 extern "C"
85253 #endif
85254 /* We use char because int might match the return type of a gcc2
85255 builtin and then its argument prototype would still apply. */
85256 char $ac_func ();
85257 /* The GNU C library defines this for functions which it implements
85258 to always fail with ENOSYS. Some functions are actually named
85259 something starting with __ and the normal name is an alias. */
85260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85261 choke me
85262 #else
85263 char (*f) () = $ac_func;
85264 #endif
85265 #ifdef __cplusplus
85267 #endif
85270 main ()
85272 return f != $ac_func;
85274 return 0;
85276 _ACEOF
85277 rm -f conftest.$ac_objext conftest$ac_exeext
85278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85279 (eval $ac_link) 2>conftest.er1
85280 ac_status=$?
85281 grep -v '^ *+' conftest.er1 >conftest.err
85282 rm -f conftest.er1
85283 cat conftest.err >&5
85284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85285 (exit $ac_status); } &&
85286 { ac_try='test -z "$ac_c_werror_flag"
85287 || test ! -s conftest.err'
85288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85289 (eval $ac_try) 2>&5
85290 ac_status=$?
85291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85292 (exit $ac_status); }; } &&
85293 { ac_try='test -s conftest$ac_exeext'
85294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85295 (eval $ac_try) 2>&5
85296 ac_status=$?
85297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85298 (exit $ac_status); }; }; then
85299 eval "$as_ac_var=yes"
85300 else
85301 echo "$as_me: failed program was:" >&5
85302 sed 's/^/| /' conftest.$ac_ext >&5
85304 eval "$as_ac_var=no"
85306 rm -f conftest.err conftest.$ac_objext \
85307 conftest$ac_exeext conftest.$ac_ext
85309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85311 if test `eval echo '${'$as_ac_var'}'` = yes; then
85312 cat >>confdefs.h <<_ACEOF
85313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85314 _ACEOF
85316 else
85317 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85319 done
85323 for ac_func in __signbit
85325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85326 echo "$as_me:$LINENO: checking for $ac_func" >&5
85327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85328 if eval "test \"\${$as_ac_var+set}\" = set"; then
85329 echo $ECHO_N "(cached) $ECHO_C" >&6
85330 else
85331 if test x$gcc_no_link = xyes; then
85332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85334 { (exit 1); exit 1; }; }
85336 cat >conftest.$ac_ext <<_ACEOF
85337 /* confdefs.h. */
85338 _ACEOF
85339 cat confdefs.h >>conftest.$ac_ext
85340 cat >>conftest.$ac_ext <<_ACEOF
85341 /* end confdefs.h. */
85342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85344 #define $ac_func innocuous_$ac_func
85346 /* System header to define __stub macros and hopefully few prototypes,
85347 which can conflict with char $ac_func (); below.
85348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85349 <limits.h> exists even on freestanding compilers. */
85351 #ifdef __STDC__
85352 # include <limits.h>
85353 #else
85354 # include <assert.h>
85355 #endif
85357 #undef $ac_func
85359 /* Override any gcc2 internal prototype to avoid an error. */
85360 #ifdef __cplusplus
85361 extern "C"
85363 #endif
85364 /* We use char because int might match the return type of a gcc2
85365 builtin and then its argument prototype would still apply. */
85366 char $ac_func ();
85367 /* The GNU C library defines this for functions which it implements
85368 to always fail with ENOSYS. Some functions are actually named
85369 something starting with __ and the normal name is an alias. */
85370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85371 choke me
85372 #else
85373 char (*f) () = $ac_func;
85374 #endif
85375 #ifdef __cplusplus
85377 #endif
85380 main ()
85382 return f != $ac_func;
85384 return 0;
85386 _ACEOF
85387 rm -f conftest.$ac_objext conftest$ac_exeext
85388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85389 (eval $ac_link) 2>conftest.er1
85390 ac_status=$?
85391 grep -v '^ *+' conftest.er1 >conftest.err
85392 rm -f conftest.er1
85393 cat conftest.err >&5
85394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85395 (exit $ac_status); } &&
85396 { ac_try='test -z "$ac_c_werror_flag"
85397 || test ! -s conftest.err'
85398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85399 (eval $ac_try) 2>&5
85400 ac_status=$?
85401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85402 (exit $ac_status); }; } &&
85403 { ac_try='test -s conftest$ac_exeext'
85404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85405 (eval $ac_try) 2>&5
85406 ac_status=$?
85407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85408 (exit $ac_status); }; }; then
85409 eval "$as_ac_var=yes"
85410 else
85411 echo "$as_me: failed program was:" >&5
85412 sed 's/^/| /' conftest.$ac_ext >&5
85414 eval "$as_ac_var=no"
85416 rm -f conftest.err conftest.$ac_objext \
85417 conftest$ac_exeext conftest.$ac_ext
85419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85421 if test `eval echo '${'$as_ac_var'}'` = yes; then
85422 cat >>confdefs.h <<_ACEOF
85423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85424 _ACEOF
85426 else
85427 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85429 done
85433 for ac_func in __signbitf
85435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85436 echo "$as_me:$LINENO: checking for $ac_func" >&5
85437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85438 if eval "test \"\${$as_ac_var+set}\" = set"; then
85439 echo $ECHO_N "(cached) $ECHO_C" >&6
85440 else
85441 if test x$gcc_no_link = xyes; then
85442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85444 { (exit 1); exit 1; }; }
85446 cat >conftest.$ac_ext <<_ACEOF
85447 /* confdefs.h. */
85448 _ACEOF
85449 cat confdefs.h >>conftest.$ac_ext
85450 cat >>conftest.$ac_ext <<_ACEOF
85451 /* end confdefs.h. */
85452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85454 #define $ac_func innocuous_$ac_func
85456 /* System header to define __stub macros and hopefully few prototypes,
85457 which can conflict with char $ac_func (); below.
85458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85459 <limits.h> exists even on freestanding compilers. */
85461 #ifdef __STDC__
85462 # include <limits.h>
85463 #else
85464 # include <assert.h>
85465 #endif
85467 #undef $ac_func
85469 /* Override any gcc2 internal prototype to avoid an error. */
85470 #ifdef __cplusplus
85471 extern "C"
85473 #endif
85474 /* We use char because int might match the return type of a gcc2
85475 builtin and then its argument prototype would still apply. */
85476 char $ac_func ();
85477 /* The GNU C library defines this for functions which it implements
85478 to always fail with ENOSYS. Some functions are actually named
85479 something starting with __ and the normal name is an alias. */
85480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85481 choke me
85482 #else
85483 char (*f) () = $ac_func;
85484 #endif
85485 #ifdef __cplusplus
85487 #endif
85490 main ()
85492 return f != $ac_func;
85494 return 0;
85496 _ACEOF
85497 rm -f conftest.$ac_objext conftest$ac_exeext
85498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85499 (eval $ac_link) 2>conftest.er1
85500 ac_status=$?
85501 grep -v '^ *+' conftest.er1 >conftest.err
85502 rm -f conftest.er1
85503 cat conftest.err >&5
85504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85505 (exit $ac_status); } &&
85506 { ac_try='test -z "$ac_c_werror_flag"
85507 || test ! -s conftest.err'
85508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85509 (eval $ac_try) 2>&5
85510 ac_status=$?
85511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85512 (exit $ac_status); }; } &&
85513 { ac_try='test -s conftest$ac_exeext'
85514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85515 (eval $ac_try) 2>&5
85516 ac_status=$?
85517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85518 (exit $ac_status); }; }; then
85519 eval "$as_ac_var=yes"
85520 else
85521 echo "$as_me: failed program was:" >&5
85522 sed 's/^/| /' conftest.$ac_ext >&5
85524 eval "$as_ac_var=no"
85526 rm -f conftest.err conftest.$ac_objext \
85527 conftest$ac_exeext conftest.$ac_ext
85529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85531 if test `eval echo '${'$as_ac_var'}'` = yes; then
85532 cat >>confdefs.h <<_ACEOF
85533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85534 _ACEOF
85536 else
85537 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85539 done
85542 if test x$ac_cv_func_copysignl = x"yes"; then
85544 for ac_func in __signbitl
85546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85547 echo "$as_me:$LINENO: checking for $ac_func" >&5
85548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85549 if eval "test \"\${$as_ac_var+set}\" = set"; then
85550 echo $ECHO_N "(cached) $ECHO_C" >&6
85551 else
85552 if test x$gcc_no_link = xyes; then
85553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85555 { (exit 1); exit 1; }; }
85557 cat >conftest.$ac_ext <<_ACEOF
85558 /* confdefs.h. */
85559 _ACEOF
85560 cat confdefs.h >>conftest.$ac_ext
85561 cat >>conftest.$ac_ext <<_ACEOF
85562 /* end confdefs.h. */
85563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85565 #define $ac_func innocuous_$ac_func
85567 /* System header to define __stub macros and hopefully few prototypes,
85568 which can conflict with char $ac_func (); below.
85569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85570 <limits.h> exists even on freestanding compilers. */
85572 #ifdef __STDC__
85573 # include <limits.h>
85574 #else
85575 # include <assert.h>
85576 #endif
85578 #undef $ac_func
85580 /* Override any gcc2 internal prototype to avoid an error. */
85581 #ifdef __cplusplus
85582 extern "C"
85584 #endif
85585 /* We use char because int might match the return type of a gcc2
85586 builtin and then its argument prototype would still apply. */
85587 char $ac_func ();
85588 /* The GNU C library defines this for functions which it implements
85589 to always fail with ENOSYS. Some functions are actually named
85590 something starting with __ and the normal name is an alias. */
85591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85592 choke me
85593 #else
85594 char (*f) () = $ac_func;
85595 #endif
85596 #ifdef __cplusplus
85598 #endif
85601 main ()
85603 return f != $ac_func;
85605 return 0;
85607 _ACEOF
85608 rm -f conftest.$ac_objext conftest$ac_exeext
85609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85610 (eval $ac_link) 2>conftest.er1
85611 ac_status=$?
85612 grep -v '^ *+' conftest.er1 >conftest.err
85613 rm -f conftest.er1
85614 cat conftest.err >&5
85615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85616 (exit $ac_status); } &&
85617 { ac_try='test -z "$ac_c_werror_flag"
85618 || test ! -s conftest.err'
85619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85620 (eval $ac_try) 2>&5
85621 ac_status=$?
85622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85623 (exit $ac_status); }; } &&
85624 { ac_try='test -s conftest$ac_exeext'
85625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85626 (eval $ac_try) 2>&5
85627 ac_status=$?
85628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85629 (exit $ac_status); }; }; then
85630 eval "$as_ac_var=yes"
85631 else
85632 echo "$as_me: failed program was:" >&5
85633 sed 's/^/| /' conftest.$ac_ext >&5
85635 eval "$as_ac_var=no"
85637 rm -f conftest.err conftest.$ac_objext \
85638 conftest$ac_exeext conftest.$ac_ext
85640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85642 if test `eval echo '${'$as_ac_var'}'` = yes; then
85643 cat >>confdefs.h <<_ACEOF
85644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85645 _ACEOF
85647 else
85648 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85650 done
85654 # Used in libmath/Makefile.am.
85655 if test -n "$LIBMATHOBJS"; then
85656 need_libmath=yes
85661 # Test wchar.h for mbstate_t, which is needed for char_traits and
85662 # others even if wchar_t support is not on.
85663 echo "$as_me:$LINENO: checking for mbstate_t" >&5
85664 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85665 cat >conftest.$ac_ext <<_ACEOF
85666 /* confdefs.h. */
85667 _ACEOF
85668 cat confdefs.h >>conftest.$ac_ext
85669 cat >>conftest.$ac_ext <<_ACEOF
85670 /* end confdefs.h. */
85671 #include <wchar.h>
85673 main ()
85675 mbstate_t teststate;
85677 return 0;
85679 _ACEOF
85680 rm -f conftest.$ac_objext
85681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85682 (eval $ac_compile) 2>conftest.er1
85683 ac_status=$?
85684 grep -v '^ *+' conftest.er1 >conftest.err
85685 rm -f conftest.er1
85686 cat conftest.err >&5
85687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85688 (exit $ac_status); } &&
85689 { ac_try='test -z "$ac_c_werror_flag"
85690 || test ! -s conftest.err'
85691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85692 (eval $ac_try) 2>&5
85693 ac_status=$?
85694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85695 (exit $ac_status); }; } &&
85696 { ac_try='test -s conftest.$ac_objext'
85697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85698 (eval $ac_try) 2>&5
85699 ac_status=$?
85700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85701 (exit $ac_status); }; }; then
85702 have_mbstate_t=yes
85703 else
85704 echo "$as_me: failed program was:" >&5
85705 sed 's/^/| /' conftest.$ac_ext >&5
85707 have_mbstate_t=no
85709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85710 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85711 echo "${ECHO_T}$have_mbstate_t" >&6
85712 if test x"$have_mbstate_t" = xyes; then
85713 cat >>confdefs.h <<\_ACEOF
85714 #define HAVE_MBSTATE_T 1
85715 _ACEOF
85719 # Sanity check for existence of ISO C99 headers for extended encoding.
85721 for ac_header in wchar.h
85723 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85725 echo "$as_me:$LINENO: checking for $ac_header" >&5
85726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85728 echo $ECHO_N "(cached) $ECHO_C" >&6
85730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85732 else
85733 # Is the header compilable?
85734 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85735 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85736 cat >conftest.$ac_ext <<_ACEOF
85737 /* confdefs.h. */
85738 _ACEOF
85739 cat confdefs.h >>conftest.$ac_ext
85740 cat >>conftest.$ac_ext <<_ACEOF
85741 /* end confdefs.h. */
85742 $ac_includes_default
85743 #include <$ac_header>
85744 _ACEOF
85745 rm -f conftest.$ac_objext
85746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85747 (eval $ac_compile) 2>conftest.er1
85748 ac_status=$?
85749 grep -v '^ *+' conftest.er1 >conftest.err
85750 rm -f conftest.er1
85751 cat conftest.err >&5
85752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85753 (exit $ac_status); } &&
85754 { ac_try='test -z "$ac_c_werror_flag"
85755 || test ! -s conftest.err'
85756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85757 (eval $ac_try) 2>&5
85758 ac_status=$?
85759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85760 (exit $ac_status); }; } &&
85761 { ac_try='test -s conftest.$ac_objext'
85762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85763 (eval $ac_try) 2>&5
85764 ac_status=$?
85765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85766 (exit $ac_status); }; }; then
85767 ac_header_compiler=yes
85768 else
85769 echo "$as_me: failed program was:" >&5
85770 sed 's/^/| /' conftest.$ac_ext >&5
85772 ac_header_compiler=no
85774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85776 echo "${ECHO_T}$ac_header_compiler" >&6
85778 # Is the header present?
85779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85781 cat >conftest.$ac_ext <<_ACEOF
85782 /* confdefs.h. */
85783 _ACEOF
85784 cat confdefs.h >>conftest.$ac_ext
85785 cat >>conftest.$ac_ext <<_ACEOF
85786 /* end confdefs.h. */
85787 #include <$ac_header>
85788 _ACEOF
85789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85791 ac_status=$?
85792 grep -v '^ *+' conftest.er1 >conftest.err
85793 rm -f conftest.er1
85794 cat conftest.err >&5
85795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85796 (exit $ac_status); } >/dev/null; then
85797 if test -s conftest.err; then
85798 ac_cpp_err=$ac_c_preproc_warn_flag
85799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85800 else
85801 ac_cpp_err=
85803 else
85804 ac_cpp_err=yes
85806 if test -z "$ac_cpp_err"; then
85807 ac_header_preproc=yes
85808 else
85809 echo "$as_me: failed program was:" >&5
85810 sed 's/^/| /' conftest.$ac_ext >&5
85812 ac_header_preproc=no
85814 rm -f conftest.err conftest.$ac_ext
85815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85816 echo "${ECHO_T}$ac_header_preproc" >&6
85818 # So? What about this header?
85819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85820 yes:no: )
85821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85825 ac_header_preproc=yes
85827 no:yes:* )
85828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85841 cat <<\_ASBOX
85842 ## ----------------------------------------- ##
85843 ## Report this to the package-unused lists. ##
85844 ## ----------------------------------------- ##
85845 _ASBOX
85847 sed "s/^/$as_me: WARNING: /" >&2
85849 esac
85850 echo "$as_me:$LINENO: checking for $ac_header" >&5
85851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85853 echo $ECHO_N "(cached) $ECHO_C" >&6
85854 else
85855 eval "$as_ac_Header=\$ac_header_preproc"
85857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85862 cat >>confdefs.h <<_ACEOF
85863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85864 _ACEOF
85865 ac_has_wchar_h=yes
85866 else
85867 ac_has_wchar_h=no
85870 done
85873 for ac_header in wctype.h
85875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85877 echo "$as_me:$LINENO: checking for $ac_header" >&5
85878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85880 echo $ECHO_N "(cached) $ECHO_C" >&6
85882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85884 else
85885 # Is the header compilable?
85886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85888 cat >conftest.$ac_ext <<_ACEOF
85889 /* confdefs.h. */
85890 _ACEOF
85891 cat confdefs.h >>conftest.$ac_ext
85892 cat >>conftest.$ac_ext <<_ACEOF
85893 /* end confdefs.h. */
85894 $ac_includes_default
85895 #include <$ac_header>
85896 _ACEOF
85897 rm -f conftest.$ac_objext
85898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85899 (eval $ac_compile) 2>conftest.er1
85900 ac_status=$?
85901 grep -v '^ *+' conftest.er1 >conftest.err
85902 rm -f conftest.er1
85903 cat conftest.err >&5
85904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85905 (exit $ac_status); } &&
85906 { ac_try='test -z "$ac_c_werror_flag"
85907 || test ! -s conftest.err'
85908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85909 (eval $ac_try) 2>&5
85910 ac_status=$?
85911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85912 (exit $ac_status); }; } &&
85913 { ac_try='test -s conftest.$ac_objext'
85914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85915 (eval $ac_try) 2>&5
85916 ac_status=$?
85917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85918 (exit $ac_status); }; }; then
85919 ac_header_compiler=yes
85920 else
85921 echo "$as_me: failed program was:" >&5
85922 sed 's/^/| /' conftest.$ac_ext >&5
85924 ac_header_compiler=no
85926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85928 echo "${ECHO_T}$ac_header_compiler" >&6
85930 # Is the header present?
85931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85933 cat >conftest.$ac_ext <<_ACEOF
85934 /* confdefs.h. */
85935 _ACEOF
85936 cat confdefs.h >>conftest.$ac_ext
85937 cat >>conftest.$ac_ext <<_ACEOF
85938 /* end confdefs.h. */
85939 #include <$ac_header>
85940 _ACEOF
85941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85943 ac_status=$?
85944 grep -v '^ *+' conftest.er1 >conftest.err
85945 rm -f conftest.er1
85946 cat conftest.err >&5
85947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85948 (exit $ac_status); } >/dev/null; then
85949 if test -s conftest.err; then
85950 ac_cpp_err=$ac_c_preproc_warn_flag
85951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85952 else
85953 ac_cpp_err=
85955 else
85956 ac_cpp_err=yes
85958 if test -z "$ac_cpp_err"; then
85959 ac_header_preproc=yes
85960 else
85961 echo "$as_me: failed program was:" >&5
85962 sed 's/^/| /' conftest.$ac_ext >&5
85964 ac_header_preproc=no
85966 rm -f conftest.err conftest.$ac_ext
85967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85968 echo "${ECHO_T}$ac_header_preproc" >&6
85970 # So? What about this header?
85971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85972 yes:no: )
85973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85977 ac_header_preproc=yes
85979 no:yes:* )
85980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85993 cat <<\_ASBOX
85994 ## ----------------------------------------- ##
85995 ## Report this to the package-unused lists. ##
85996 ## ----------------------------------------- ##
85997 _ASBOX
85999 sed "s/^/$as_me: WARNING: /" >&2
86001 esac
86002 echo "$as_me:$LINENO: checking for $ac_header" >&5
86003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86005 echo $ECHO_N "(cached) $ECHO_C" >&6
86006 else
86007 eval "$as_ac_Header=\$ac_header_preproc"
86009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86014 cat >>confdefs.h <<_ACEOF
86015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86016 _ACEOF
86017 ac_has_wctype_h=yes
86018 else
86019 ac_has_wctype_h=no
86022 done
86025 # Only continue checking if the ISO C99 headers exist and support is on.
86026 if test x"$ac_has_wchar_h" = xyes &&
86027 test x"$ac_has_wctype_h" = xyes &&
86028 test x"$enable_c_mbchar" != xno; then
86030 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
86031 # numeric_limits can instantiate type_traits<wchar_t>
86032 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
86033 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
86034 cat >conftest.$ac_ext <<_ACEOF
86035 /* confdefs.h. */
86036 _ACEOF
86037 cat confdefs.h >>conftest.$ac_ext
86038 cat >>conftest.$ac_ext <<_ACEOF
86039 /* end confdefs.h. */
86040 #include <wchar.h>
86042 main ()
86044 int i = WCHAR_MIN; int j = WCHAR_MAX;
86046 return 0;
86048 _ACEOF
86049 rm -f conftest.$ac_objext
86050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86051 (eval $ac_compile) 2>conftest.er1
86052 ac_status=$?
86053 grep -v '^ *+' conftest.er1 >conftest.err
86054 rm -f conftest.er1
86055 cat conftest.err >&5
86056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86057 (exit $ac_status); } &&
86058 { ac_try='test -z "$ac_c_werror_flag"
86059 || test ! -s conftest.err'
86060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86061 (eval $ac_try) 2>&5
86062 ac_status=$?
86063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86064 (exit $ac_status); }; } &&
86065 { ac_try='test -s conftest.$ac_objext'
86066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86067 (eval $ac_try) 2>&5
86068 ac_status=$?
86069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86070 (exit $ac_status); }; }; then
86071 has_wchar_minmax=yes
86072 else
86073 echo "$as_me: failed program was:" >&5
86074 sed 's/^/| /' conftest.$ac_ext >&5
86076 has_wchar_minmax=no
86078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86079 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
86080 echo "${ECHO_T}$has_wchar_minmax" >&6
86082 # Test wchar.h for WEOF, which is what we use to determine whether
86083 # to specialize for char_traits<wchar_t> or not.
86084 echo "$as_me:$LINENO: checking for WEOF" >&5
86085 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
86086 cat >conftest.$ac_ext <<_ACEOF
86087 /* confdefs.h. */
86088 _ACEOF
86089 cat confdefs.h >>conftest.$ac_ext
86090 cat >>conftest.$ac_ext <<_ACEOF
86091 /* end confdefs.h. */
86093 #include <wchar.h>
86094 #include <stddef.h>
86096 main ()
86098 wint_t i = WEOF;
86100 return 0;
86102 _ACEOF
86103 rm -f conftest.$ac_objext
86104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86105 (eval $ac_compile) 2>conftest.er1
86106 ac_status=$?
86107 grep -v '^ *+' conftest.er1 >conftest.err
86108 rm -f conftest.er1
86109 cat conftest.err >&5
86110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86111 (exit $ac_status); } &&
86112 { ac_try='test -z "$ac_c_werror_flag"
86113 || test ! -s conftest.err'
86114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86115 (eval $ac_try) 2>&5
86116 ac_status=$?
86117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86118 (exit $ac_status); }; } &&
86119 { ac_try='test -s conftest.$ac_objext'
86120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86121 (eval $ac_try) 2>&5
86122 ac_status=$?
86123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86124 (exit $ac_status); }; }; then
86125 has_weof=yes
86126 else
86127 echo "$as_me: failed program was:" >&5
86128 sed 's/^/| /' conftest.$ac_ext >&5
86130 has_weof=no
86132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86133 echo "$as_me:$LINENO: result: $has_weof" >&5
86134 echo "${ECHO_T}$has_weof" >&6
86136 # Tests for wide character functions used in char_traits<wchar_t>.
86137 ac_wfuncs=yes
86144 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
86146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86147 echo "$as_me:$LINENO: checking for $ac_func" >&5
86148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86149 if eval "test \"\${$as_ac_var+set}\" = set"; then
86150 echo $ECHO_N "(cached) $ECHO_C" >&6
86151 else
86152 if test x$gcc_no_link = xyes; then
86153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86155 { (exit 1); exit 1; }; }
86157 cat >conftest.$ac_ext <<_ACEOF
86158 /* confdefs.h. */
86159 _ACEOF
86160 cat confdefs.h >>conftest.$ac_ext
86161 cat >>conftest.$ac_ext <<_ACEOF
86162 /* end confdefs.h. */
86163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86165 #define $ac_func innocuous_$ac_func
86167 /* System header to define __stub macros and hopefully few prototypes,
86168 which can conflict with char $ac_func (); below.
86169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86170 <limits.h> exists even on freestanding compilers. */
86172 #ifdef __STDC__
86173 # include <limits.h>
86174 #else
86175 # include <assert.h>
86176 #endif
86178 #undef $ac_func
86180 /* Override any gcc2 internal prototype to avoid an error. */
86181 #ifdef __cplusplus
86182 extern "C"
86184 #endif
86185 /* We use char because int might match the return type of a gcc2
86186 builtin and then its argument prototype would still apply. */
86187 char $ac_func ();
86188 /* The GNU C library defines this for functions which it implements
86189 to always fail with ENOSYS. Some functions are actually named
86190 something starting with __ and the normal name is an alias. */
86191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86192 choke me
86193 #else
86194 char (*f) () = $ac_func;
86195 #endif
86196 #ifdef __cplusplus
86198 #endif
86201 main ()
86203 return f != $ac_func;
86205 return 0;
86207 _ACEOF
86208 rm -f conftest.$ac_objext conftest$ac_exeext
86209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86210 (eval $ac_link) 2>conftest.er1
86211 ac_status=$?
86212 grep -v '^ *+' conftest.er1 >conftest.err
86213 rm -f conftest.er1
86214 cat conftest.err >&5
86215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86216 (exit $ac_status); } &&
86217 { ac_try='test -z "$ac_c_werror_flag"
86218 || test ! -s conftest.err'
86219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86220 (eval $ac_try) 2>&5
86221 ac_status=$?
86222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86223 (exit $ac_status); }; } &&
86224 { ac_try='test -s conftest$ac_exeext'
86225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86226 (eval $ac_try) 2>&5
86227 ac_status=$?
86228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86229 (exit $ac_status); }; }; then
86230 eval "$as_ac_var=yes"
86231 else
86232 echo "$as_me: failed program was:" >&5
86233 sed 's/^/| /' conftest.$ac_ext >&5
86235 eval "$as_ac_var=no"
86237 rm -f conftest.err conftest.$ac_objext \
86238 conftest$ac_exeext conftest.$ac_ext
86240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86242 if test `eval echo '${'$as_ac_var'}'` = yes; then
86243 cat >>confdefs.h <<_ACEOF
86244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86245 _ACEOF
86247 else
86248 ac_wfuncs=no
86250 done
86253 # Checks for names injected into std:: by the c_std headers.
86300 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
86301 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
86302 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
86303 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
86304 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
86305 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
86307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86308 echo "$as_me:$LINENO: checking for $ac_func" >&5
86309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86310 if eval "test \"\${$as_ac_var+set}\" = set"; then
86311 echo $ECHO_N "(cached) $ECHO_C" >&6
86312 else
86313 if test x$gcc_no_link = xyes; then
86314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86316 { (exit 1); exit 1; }; }
86318 cat >conftest.$ac_ext <<_ACEOF
86319 /* confdefs.h. */
86320 _ACEOF
86321 cat confdefs.h >>conftest.$ac_ext
86322 cat >>conftest.$ac_ext <<_ACEOF
86323 /* end confdefs.h. */
86324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86326 #define $ac_func innocuous_$ac_func
86328 /* System header to define __stub macros and hopefully few prototypes,
86329 which can conflict with char $ac_func (); below.
86330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86331 <limits.h> exists even on freestanding compilers. */
86333 #ifdef __STDC__
86334 # include <limits.h>
86335 #else
86336 # include <assert.h>
86337 #endif
86339 #undef $ac_func
86341 /* Override any gcc2 internal prototype to avoid an error. */
86342 #ifdef __cplusplus
86343 extern "C"
86345 #endif
86346 /* We use char because int might match the return type of a gcc2
86347 builtin and then its argument prototype would still apply. */
86348 char $ac_func ();
86349 /* The GNU C library defines this for functions which it implements
86350 to always fail with ENOSYS. Some functions are actually named
86351 something starting with __ and the normal name is an alias. */
86352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86353 choke me
86354 #else
86355 char (*f) () = $ac_func;
86356 #endif
86357 #ifdef __cplusplus
86359 #endif
86362 main ()
86364 return f != $ac_func;
86366 return 0;
86368 _ACEOF
86369 rm -f conftest.$ac_objext conftest$ac_exeext
86370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86371 (eval $ac_link) 2>conftest.er1
86372 ac_status=$?
86373 grep -v '^ *+' conftest.er1 >conftest.err
86374 rm -f conftest.er1
86375 cat conftest.err >&5
86376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86377 (exit $ac_status); } &&
86378 { ac_try='test -z "$ac_c_werror_flag"
86379 || test ! -s conftest.err'
86380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86381 (eval $ac_try) 2>&5
86382 ac_status=$?
86383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86384 (exit $ac_status); }; } &&
86385 { ac_try='test -s conftest$ac_exeext'
86386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86387 (eval $ac_try) 2>&5
86388 ac_status=$?
86389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86390 (exit $ac_status); }; }; then
86391 eval "$as_ac_var=yes"
86392 else
86393 echo "$as_me: failed program was:" >&5
86394 sed 's/^/| /' conftest.$ac_ext >&5
86396 eval "$as_ac_var=no"
86398 rm -f conftest.err conftest.$ac_objext \
86399 conftest$ac_exeext conftest.$ac_ext
86401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86403 if test `eval echo '${'$as_ac_var'}'` = yes; then
86404 cat >>confdefs.h <<_ACEOF
86405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86406 _ACEOF
86408 else
86409 ac_wfuncs=no
86411 done
86414 # Checks for wide character functions that are not required
86415 # for basic wchar_t support. Don't disable support if they are missing.
86416 # Injection of these is wrapped with guard macros.
86422 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
86424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86425 echo "$as_me:$LINENO: checking for $ac_func" >&5
86426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86427 if eval "test \"\${$as_ac_var+set}\" = set"; then
86428 echo $ECHO_N "(cached) $ECHO_C" >&6
86429 else
86430 if test x$gcc_no_link = xyes; then
86431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86433 { (exit 1); exit 1; }; }
86435 cat >conftest.$ac_ext <<_ACEOF
86436 /* confdefs.h. */
86437 _ACEOF
86438 cat confdefs.h >>conftest.$ac_ext
86439 cat >>conftest.$ac_ext <<_ACEOF
86440 /* end confdefs.h. */
86441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86443 #define $ac_func innocuous_$ac_func
86445 /* System header to define __stub macros and hopefully few prototypes,
86446 which can conflict with char $ac_func (); below.
86447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86448 <limits.h> exists even on freestanding compilers. */
86450 #ifdef __STDC__
86451 # include <limits.h>
86452 #else
86453 # include <assert.h>
86454 #endif
86456 #undef $ac_func
86458 /* Override any gcc2 internal prototype to avoid an error. */
86459 #ifdef __cplusplus
86460 extern "C"
86462 #endif
86463 /* We use char because int might match the return type of a gcc2
86464 builtin and then its argument prototype would still apply. */
86465 char $ac_func ();
86466 /* The GNU C library defines this for functions which it implements
86467 to always fail with ENOSYS. Some functions are actually named
86468 something starting with __ and the normal name is an alias. */
86469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86470 choke me
86471 #else
86472 char (*f) () = $ac_func;
86473 #endif
86474 #ifdef __cplusplus
86476 #endif
86479 main ()
86481 return f != $ac_func;
86483 return 0;
86485 _ACEOF
86486 rm -f conftest.$ac_objext conftest$ac_exeext
86487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86488 (eval $ac_link) 2>conftest.er1
86489 ac_status=$?
86490 grep -v '^ *+' conftest.er1 >conftest.err
86491 rm -f conftest.er1
86492 cat conftest.err >&5
86493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86494 (exit $ac_status); } &&
86495 { ac_try='test -z "$ac_c_werror_flag"
86496 || test ! -s conftest.err'
86497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86498 (eval $ac_try) 2>&5
86499 ac_status=$?
86500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86501 (exit $ac_status); }; } &&
86502 { ac_try='test -s conftest$ac_exeext'
86503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86504 (eval $ac_try) 2>&5
86505 ac_status=$?
86506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86507 (exit $ac_status); }; }; then
86508 eval "$as_ac_var=yes"
86509 else
86510 echo "$as_me: failed program was:" >&5
86511 sed 's/^/| /' conftest.$ac_ext >&5
86513 eval "$as_ac_var=no"
86515 rm -f conftest.err conftest.$ac_objext \
86516 conftest$ac_exeext conftest.$ac_ext
86518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86520 if test `eval echo '${'$as_ac_var'}'` = yes; then
86521 cat >>confdefs.h <<_ACEOF
86522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86523 _ACEOF
86526 done
86529 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86530 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86531 if test x"$has_weof" = xyes &&
86532 test x"$has_wchar_minmax" = xyes &&
86533 test x"$ac_wfuncs" = xyes;
86534 then
86535 ac_isoC99_wchar_t=yes
86536 else
86537 ac_isoC99_wchar_t=no
86539 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86540 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86542 # Use iconv for wchar_t to char conversions. As such, check for
86543 # X/Open Portability Guide, version 2 features (XPG2).
86544 if test "${ac_cv_header_iconv_h+set}" = set; then
86545 echo "$as_me:$LINENO: checking for iconv.h" >&5
86546 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86547 if test "${ac_cv_header_iconv_h+set}" = set; then
86548 echo $ECHO_N "(cached) $ECHO_C" >&6
86550 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86551 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86552 else
86553 # Is the header compilable?
86554 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86555 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86556 cat >conftest.$ac_ext <<_ACEOF
86557 /* confdefs.h. */
86558 _ACEOF
86559 cat confdefs.h >>conftest.$ac_ext
86560 cat >>conftest.$ac_ext <<_ACEOF
86561 /* end confdefs.h. */
86562 $ac_includes_default
86563 #include <iconv.h>
86564 _ACEOF
86565 rm -f conftest.$ac_objext
86566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86567 (eval $ac_compile) 2>conftest.er1
86568 ac_status=$?
86569 grep -v '^ *+' conftest.er1 >conftest.err
86570 rm -f conftest.er1
86571 cat conftest.err >&5
86572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86573 (exit $ac_status); } &&
86574 { ac_try='test -z "$ac_c_werror_flag"
86575 || test ! -s conftest.err'
86576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86577 (eval $ac_try) 2>&5
86578 ac_status=$?
86579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86580 (exit $ac_status); }; } &&
86581 { ac_try='test -s conftest.$ac_objext'
86582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86583 (eval $ac_try) 2>&5
86584 ac_status=$?
86585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86586 (exit $ac_status); }; }; then
86587 ac_header_compiler=yes
86588 else
86589 echo "$as_me: failed program was:" >&5
86590 sed 's/^/| /' conftest.$ac_ext >&5
86592 ac_header_compiler=no
86594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86595 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86596 echo "${ECHO_T}$ac_header_compiler" >&6
86598 # Is the header present?
86599 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86600 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86601 cat >conftest.$ac_ext <<_ACEOF
86602 /* confdefs.h. */
86603 _ACEOF
86604 cat confdefs.h >>conftest.$ac_ext
86605 cat >>conftest.$ac_ext <<_ACEOF
86606 /* end confdefs.h. */
86607 #include <iconv.h>
86608 _ACEOF
86609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86611 ac_status=$?
86612 grep -v '^ *+' conftest.er1 >conftest.err
86613 rm -f conftest.er1
86614 cat conftest.err >&5
86615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86616 (exit $ac_status); } >/dev/null; then
86617 if test -s conftest.err; then
86618 ac_cpp_err=$ac_c_preproc_warn_flag
86619 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86620 else
86621 ac_cpp_err=
86623 else
86624 ac_cpp_err=yes
86626 if test -z "$ac_cpp_err"; then
86627 ac_header_preproc=yes
86628 else
86629 echo "$as_me: failed program was:" >&5
86630 sed 's/^/| /' conftest.$ac_ext >&5
86632 ac_header_preproc=no
86634 rm -f conftest.err conftest.$ac_ext
86635 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86636 echo "${ECHO_T}$ac_header_preproc" >&6
86638 # So? What about this header?
86639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86640 yes:no: )
86641 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86642 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86643 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86644 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86645 ac_header_preproc=yes
86647 no:yes:* )
86648 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86649 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86650 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86651 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86652 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86653 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86654 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86655 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86656 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86657 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86658 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86659 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86661 cat <<\_ASBOX
86662 ## ----------------------------------------- ##
86663 ## Report this to the package-unused lists. ##
86664 ## ----------------------------------------- ##
86665 _ASBOX
86667 sed "s/^/$as_me: WARNING: /" >&2
86669 esac
86670 echo "$as_me:$LINENO: checking for iconv.h" >&5
86671 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86672 if test "${ac_cv_header_iconv_h+set}" = set; then
86673 echo $ECHO_N "(cached) $ECHO_C" >&6
86674 else
86675 ac_cv_header_iconv_h=$ac_header_preproc
86677 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86678 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86681 if test $ac_cv_header_iconv_h = yes; then
86682 ac_has_iconv_h=yes
86683 else
86684 ac_has_iconv_h=no
86688 if test "${ac_cv_header_langinfo_h+set}" = set; then
86689 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86690 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86691 if test "${ac_cv_header_langinfo_h+set}" = set; then
86692 echo $ECHO_N "(cached) $ECHO_C" >&6
86694 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86695 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86696 else
86697 # Is the header compilable?
86698 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86699 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86700 cat >conftest.$ac_ext <<_ACEOF
86701 /* confdefs.h. */
86702 _ACEOF
86703 cat confdefs.h >>conftest.$ac_ext
86704 cat >>conftest.$ac_ext <<_ACEOF
86705 /* end confdefs.h. */
86706 $ac_includes_default
86707 #include <langinfo.h>
86708 _ACEOF
86709 rm -f conftest.$ac_objext
86710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86711 (eval $ac_compile) 2>conftest.er1
86712 ac_status=$?
86713 grep -v '^ *+' conftest.er1 >conftest.err
86714 rm -f conftest.er1
86715 cat conftest.err >&5
86716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86717 (exit $ac_status); } &&
86718 { ac_try='test -z "$ac_c_werror_flag"
86719 || test ! -s conftest.err'
86720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86721 (eval $ac_try) 2>&5
86722 ac_status=$?
86723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86724 (exit $ac_status); }; } &&
86725 { ac_try='test -s conftest.$ac_objext'
86726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86727 (eval $ac_try) 2>&5
86728 ac_status=$?
86729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86730 (exit $ac_status); }; }; then
86731 ac_header_compiler=yes
86732 else
86733 echo "$as_me: failed program was:" >&5
86734 sed 's/^/| /' conftest.$ac_ext >&5
86736 ac_header_compiler=no
86738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86740 echo "${ECHO_T}$ac_header_compiler" >&6
86742 # Is the header present?
86743 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86744 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86745 cat >conftest.$ac_ext <<_ACEOF
86746 /* confdefs.h. */
86747 _ACEOF
86748 cat confdefs.h >>conftest.$ac_ext
86749 cat >>conftest.$ac_ext <<_ACEOF
86750 /* end confdefs.h. */
86751 #include <langinfo.h>
86752 _ACEOF
86753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86755 ac_status=$?
86756 grep -v '^ *+' conftest.er1 >conftest.err
86757 rm -f conftest.er1
86758 cat conftest.err >&5
86759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86760 (exit $ac_status); } >/dev/null; then
86761 if test -s conftest.err; then
86762 ac_cpp_err=$ac_c_preproc_warn_flag
86763 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86764 else
86765 ac_cpp_err=
86767 else
86768 ac_cpp_err=yes
86770 if test -z "$ac_cpp_err"; then
86771 ac_header_preproc=yes
86772 else
86773 echo "$as_me: failed program was:" >&5
86774 sed 's/^/| /' conftest.$ac_ext >&5
86776 ac_header_preproc=no
86778 rm -f conftest.err conftest.$ac_ext
86779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86780 echo "${ECHO_T}$ac_header_preproc" >&6
86782 # So? What about this header?
86783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86784 yes:no: )
86785 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86786 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86787 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86788 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86789 ac_header_preproc=yes
86791 no:yes:* )
86792 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86793 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86794 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86795 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86796 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86797 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86798 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86799 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86800 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86801 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86802 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86803 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86805 cat <<\_ASBOX
86806 ## ----------------------------------------- ##
86807 ## Report this to the package-unused lists. ##
86808 ## ----------------------------------------- ##
86809 _ASBOX
86811 sed "s/^/$as_me: WARNING: /" >&2
86813 esac
86814 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86815 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86816 if test "${ac_cv_header_langinfo_h+set}" = set; then
86817 echo $ECHO_N "(cached) $ECHO_C" >&6
86818 else
86819 ac_cv_header_langinfo_h=$ac_header_preproc
86821 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86822 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86825 if test $ac_cv_header_langinfo_h = yes; then
86826 ac_has_langinfo_h=yes
86827 else
86828 ac_has_langinfo_h=no
86833 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86834 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86835 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86836 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86837 echo $ECHO_N "(cached) $ECHO_C" >&6
86838 else
86839 ac_check_lib_save_LIBS=$LIBS
86840 LIBS="-liconv $LIBS"
86841 if test x$gcc_no_link = xyes; then
86842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86844 { (exit 1); exit 1; }; }
86846 cat >conftest.$ac_ext <<_ACEOF
86847 /* confdefs.h. */
86848 _ACEOF
86849 cat confdefs.h >>conftest.$ac_ext
86850 cat >>conftest.$ac_ext <<_ACEOF
86851 /* end confdefs.h. */
86853 /* Override any gcc2 internal prototype to avoid an error. */
86854 #ifdef __cplusplus
86855 extern "C"
86856 #endif
86857 /* We use char because int might match the return type of a gcc2
86858 builtin and then its argument prototype would still apply. */
86859 char iconv ();
86861 main ()
86863 iconv ();
86865 return 0;
86867 _ACEOF
86868 rm -f conftest.$ac_objext conftest$ac_exeext
86869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86870 (eval $ac_link) 2>conftest.er1
86871 ac_status=$?
86872 grep -v '^ *+' conftest.er1 >conftest.err
86873 rm -f conftest.er1
86874 cat conftest.err >&5
86875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86876 (exit $ac_status); } &&
86877 { ac_try='test -z "$ac_c_werror_flag"
86878 || test ! -s conftest.err'
86879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86880 (eval $ac_try) 2>&5
86881 ac_status=$?
86882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86883 (exit $ac_status); }; } &&
86884 { ac_try='test -s conftest$ac_exeext'
86885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86886 (eval $ac_try) 2>&5
86887 ac_status=$?
86888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86889 (exit $ac_status); }; }; then
86890 ac_cv_lib_iconv_iconv=yes
86891 else
86892 echo "$as_me: failed program was:" >&5
86893 sed 's/^/| /' conftest.$ac_ext >&5
86895 ac_cv_lib_iconv_iconv=no
86897 rm -f conftest.err conftest.$ac_objext \
86898 conftest$ac_exeext conftest.$ac_ext
86899 LIBS=$ac_check_lib_save_LIBS
86901 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86902 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86903 if test $ac_cv_lib_iconv_iconv = yes; then
86904 LIBICONV="-liconv"
86907 ac_save_LIBS="$LIBS"
86908 LIBS="$LIBS $LIBICONV"
86915 for ac_func in iconv_open iconv_close iconv nl_langinfo
86917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86918 echo "$as_me:$LINENO: checking for $ac_func" >&5
86919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86920 if eval "test \"\${$as_ac_var+set}\" = set"; then
86921 echo $ECHO_N "(cached) $ECHO_C" >&6
86922 else
86923 if test x$gcc_no_link = xyes; then
86924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86926 { (exit 1); exit 1; }; }
86928 cat >conftest.$ac_ext <<_ACEOF
86929 /* confdefs.h. */
86930 _ACEOF
86931 cat confdefs.h >>conftest.$ac_ext
86932 cat >>conftest.$ac_ext <<_ACEOF
86933 /* end confdefs.h. */
86934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86936 #define $ac_func innocuous_$ac_func
86938 /* System header to define __stub macros and hopefully few prototypes,
86939 which can conflict with char $ac_func (); below.
86940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86941 <limits.h> exists even on freestanding compilers. */
86943 #ifdef __STDC__
86944 # include <limits.h>
86945 #else
86946 # include <assert.h>
86947 #endif
86949 #undef $ac_func
86951 /* Override any gcc2 internal prototype to avoid an error. */
86952 #ifdef __cplusplus
86953 extern "C"
86955 #endif
86956 /* We use char because int might match the return type of a gcc2
86957 builtin and then its argument prototype would still apply. */
86958 char $ac_func ();
86959 /* The GNU C library defines this for functions which it implements
86960 to always fail with ENOSYS. Some functions are actually named
86961 something starting with __ and the normal name is an alias. */
86962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86963 choke me
86964 #else
86965 char (*f) () = $ac_func;
86966 #endif
86967 #ifdef __cplusplus
86969 #endif
86972 main ()
86974 return f != $ac_func;
86976 return 0;
86978 _ACEOF
86979 rm -f conftest.$ac_objext conftest$ac_exeext
86980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86981 (eval $ac_link) 2>conftest.er1
86982 ac_status=$?
86983 grep -v '^ *+' conftest.er1 >conftest.err
86984 rm -f conftest.er1
86985 cat conftest.err >&5
86986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86987 (exit $ac_status); } &&
86988 { ac_try='test -z "$ac_c_werror_flag"
86989 || test ! -s conftest.err'
86990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86991 (eval $ac_try) 2>&5
86992 ac_status=$?
86993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86994 (exit $ac_status); }; } &&
86995 { ac_try='test -s conftest$ac_exeext'
86996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86997 (eval $ac_try) 2>&5
86998 ac_status=$?
86999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87000 (exit $ac_status); }; }; then
87001 eval "$as_ac_var=yes"
87002 else
87003 echo "$as_me: failed program was:" >&5
87004 sed 's/^/| /' conftest.$ac_ext >&5
87006 eval "$as_ac_var=no"
87008 rm -f conftest.err conftest.$ac_objext \
87009 conftest$ac_exeext conftest.$ac_ext
87011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87013 if test `eval echo '${'$as_ac_var'}'` = yes; then
87014 cat >>confdefs.h <<_ACEOF
87015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87016 _ACEOF
87017 ac_XPG2funcs=yes
87018 else
87019 ac_XPG2funcs=no
87021 done
87024 LIBS="$ac_save_LIBS"
87026 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
87027 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
87028 if test x"$ac_has_iconv_h" = xyes &&
87029 test x"$ac_has_langinfo_h" = xyes &&
87030 test x"$ac_XPG2funcs" = xyes;
87031 then
87032 ac_XPG2_wchar_t=yes
87033 else
87034 ac_XPG2_wchar_t=no
87036 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
87037 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
87039 # At the moment, only enable wchar_t specializations if all the
87040 # above support is present.
87041 if test x"$ac_isoC99_wchar_t" = xyes &&
87042 test x"$ac_XPG2_wchar_t" = xyes;
87043 then
87044 cat >>confdefs.h <<\_ACEOF
87045 #define _GLIBCXX_USE_WCHAR_T 1
87046 _ACEOF
87048 enable_wchar_t=yes
87051 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
87052 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
87053 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
87054 echo "${ECHO_T}$enable_wchar_t" >&6
87056 cat >>confdefs.h <<\_ACEOF
87057 #define HAVE_COPYSIGN 1
87058 _ACEOF
87060 cat >>confdefs.h <<\_ACEOF
87061 #define HAVE_COPYSIGNF 1
87062 _ACEOF
87064 cat >>confdefs.h <<\_ACEOF
87065 #define HAVE_FINITEF 1
87066 _ACEOF
87068 cat >>confdefs.h <<\_ACEOF
87069 #define HAVE_FINITE 1
87070 _ACEOF
87072 cat >>confdefs.h <<\_ACEOF
87073 #define HAVE_FREXPF 1
87074 _ACEOF
87076 cat >>confdefs.h <<\_ACEOF
87077 #define HAVE_HYPOTF 1
87078 _ACEOF
87080 cat >>confdefs.h <<\_ACEOF
87081 #define HAVE_ISINF 1
87082 _ACEOF
87084 cat >>confdefs.h <<\_ACEOF
87085 #define HAVE_ISINFF 1
87086 _ACEOF
87088 cat >>confdefs.h <<\_ACEOF
87089 #define HAVE_ISNAN 1
87090 _ACEOF
87092 cat >>confdefs.h <<\_ACEOF
87093 #define HAVE_ISNANF 1
87094 _ACEOF
87096 if test x"long_double_math_on_this_cpu" = x"yes"; then
87097 cat >>confdefs.h <<\_ACEOF
87098 #define HAVE_FINITEL 1
87099 _ACEOF
87101 cat >>confdefs.h <<\_ACEOF
87102 #define HAVE_ISINFL 1
87103 _ACEOF
87105 cat >>confdefs.h <<\_ACEOF
87106 #define HAVE_ISNANL 1
87107 _ACEOF
87111 *-netware)
87120 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
87121 sys/types.h locale.h float.h inttypes.h
87123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87125 echo "$as_me:$LINENO: checking for $ac_header" >&5
87126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87128 echo $ECHO_N "(cached) $ECHO_C" >&6
87130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87132 else
87133 # Is the header compilable?
87134 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87136 cat >conftest.$ac_ext <<_ACEOF
87137 /* confdefs.h. */
87138 _ACEOF
87139 cat confdefs.h >>conftest.$ac_ext
87140 cat >>conftest.$ac_ext <<_ACEOF
87141 /* end confdefs.h. */
87142 $ac_includes_default
87143 #include <$ac_header>
87144 _ACEOF
87145 rm -f conftest.$ac_objext
87146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87147 (eval $ac_compile) 2>conftest.er1
87148 ac_status=$?
87149 grep -v '^ *+' conftest.er1 >conftest.err
87150 rm -f conftest.er1
87151 cat conftest.err >&5
87152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87153 (exit $ac_status); } &&
87154 { ac_try='test -z "$ac_c_werror_flag"
87155 || test ! -s conftest.err'
87156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87157 (eval $ac_try) 2>&5
87158 ac_status=$?
87159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87160 (exit $ac_status); }; } &&
87161 { ac_try='test -s conftest.$ac_objext'
87162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87163 (eval $ac_try) 2>&5
87164 ac_status=$?
87165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87166 (exit $ac_status); }; }; then
87167 ac_header_compiler=yes
87168 else
87169 echo "$as_me: failed program was:" >&5
87170 sed 's/^/| /' conftest.$ac_ext >&5
87172 ac_header_compiler=no
87174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87176 echo "${ECHO_T}$ac_header_compiler" >&6
87178 # Is the header present?
87179 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87181 cat >conftest.$ac_ext <<_ACEOF
87182 /* confdefs.h. */
87183 _ACEOF
87184 cat confdefs.h >>conftest.$ac_ext
87185 cat >>conftest.$ac_ext <<_ACEOF
87186 /* end confdefs.h. */
87187 #include <$ac_header>
87188 _ACEOF
87189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87191 ac_status=$?
87192 grep -v '^ *+' conftest.er1 >conftest.err
87193 rm -f conftest.er1
87194 cat conftest.err >&5
87195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87196 (exit $ac_status); } >/dev/null; then
87197 if test -s conftest.err; then
87198 ac_cpp_err=$ac_c_preproc_warn_flag
87199 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87200 else
87201 ac_cpp_err=
87203 else
87204 ac_cpp_err=yes
87206 if test -z "$ac_cpp_err"; then
87207 ac_header_preproc=yes
87208 else
87209 echo "$as_me: failed program was:" >&5
87210 sed 's/^/| /' conftest.$ac_ext >&5
87212 ac_header_preproc=no
87214 rm -f conftest.err conftest.$ac_ext
87215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87216 echo "${ECHO_T}$ac_header_preproc" >&6
87218 # So? What about this header?
87219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87220 yes:no: )
87221 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87222 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87224 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87225 ac_header_preproc=yes
87227 no:yes:* )
87228 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87229 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87230 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87231 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87232 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87233 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87234 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87235 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87238 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87239 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87241 cat <<\_ASBOX
87242 ## ----------------------------------------- ##
87243 ## Report this to the package-unused lists. ##
87244 ## ----------------------------------------- ##
87245 _ASBOX
87247 sed "s/^/$as_me: WARNING: /" >&2
87249 esac
87250 echo "$as_me:$LINENO: checking for $ac_header" >&5
87251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87253 echo $ECHO_N "(cached) $ECHO_C" >&6
87254 else
87255 eval "$as_ac_Header=\$ac_header_preproc"
87257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87262 cat >>confdefs.h <<_ACEOF
87263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87264 _ACEOF
87268 done
87270 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87273 # If we're not using GNU ld, then there's no point in even trying these
87274 # tests. Check for that first. We should have already tested for gld
87275 # by now (in libtool), but require it now just to be safe...
87276 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87277 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87281 # The name set by libtool depends on the version of libtool. Shame on us
87282 # for depending on an impl detail, but c'est la vie. Older versions used
87283 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87284 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87285 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87286 # set (hence we're using an older libtool), then set it.
87287 if test x${with_gnu_ld+set} != xset; then
87288 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87289 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87290 with_gnu_ld=no
87291 else
87292 with_gnu_ld=$ac_cv_prog_gnu_ld
87296 # Start by getting the version number. I think the libtool test already
87297 # does some of this, but throws away the result.
87299 ldver=`$LD --version 2>/dev/null | head -1 | \
87300 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87302 glibcxx_gnu_ld_version=`echo $ldver | \
87303 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87305 # Set --gc-sections.
87306 if test "$with_gnu_ld" = "notbroken"; then
87307 # GNU ld it is! Joy and bunny rabbits!
87309 # All these tests are for C++; save the language and the compiler flags.
87310 # Need to do this so that g++ won't try to link in libstdc++
87311 ac_test_CFLAGS="${CFLAGS+set}"
87312 ac_save_CFLAGS="$CFLAGS"
87313 CFLAGS='-x c++ -Wl,--gc-sections'
87315 # Check for -Wl,--gc-sections
87316 # XXX This test is broken at the moment, as symbols required for linking
87317 # are now in libsupc++ (not built yet). In addition, this test has
87318 # cored on solaris in the past. In addition, --gc-sections doesn't
87319 # really work at the moment (keeps on discarding used sections, first
87320 # .eh_frame and now some of the glibc sections for iconv).
87321 # Bzzzzt. Thanks for playing, maybe next time.
87322 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87323 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87324 if test "$cross_compiling" = yes; then
87325 ac_sectionLDflags=yes
87326 else
87327 cat >conftest.$ac_ext <<_ACEOF
87328 /* confdefs.h. */
87329 _ACEOF
87330 cat confdefs.h >>conftest.$ac_ext
87331 cat >>conftest.$ac_ext <<_ACEOF
87332 /* end confdefs.h. */
87334 int main(void)
87336 try { throw 1; }
87337 catch (...) { };
87338 return 0;
87341 _ACEOF
87342 rm -f conftest$ac_exeext
87343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87344 (eval $ac_link) 2>&5
87345 ac_status=$?
87346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87347 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
87348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87349 (eval $ac_try) 2>&5
87350 ac_status=$?
87351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87352 (exit $ac_status); }; }; then
87353 ac_sectionLDflags=yes
87354 else
87355 echo "$as_me: program exited with status $ac_status" >&5
87356 echo "$as_me: failed program was:" >&5
87357 sed 's/^/| /' conftest.$ac_ext >&5
87359 ( exit $ac_status )
87360 ac_sectionLDflags=no
87362 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
87364 if test "$ac_test_CFLAGS" = set; then
87365 CFLAGS="$ac_save_CFLAGS"
87366 else
87367 # this is the suspicious part
87368 CFLAGS=''
87370 if test "$ac_sectionLDflags" = "yes"; then
87371 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87373 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
87374 echo "${ECHO_T}$ac_sectionLDflags" >&6
87377 # Set linker optimization flags.
87378 if test x"$with_gnu_ld" = x"yes"; then
87379 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87387 echo "$as_me:$LINENO: checking for main in -lm" >&5
87388 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87389 if test "${ac_cv_lib_m_main+set}" = set; then
87390 echo $ECHO_N "(cached) $ECHO_C" >&6
87391 else
87392 ac_check_lib_save_LIBS=$LIBS
87393 LIBS="-lm $LIBS"
87394 if test x$gcc_no_link = xyes; then
87395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87397 { (exit 1); exit 1; }; }
87399 cat >conftest.$ac_ext <<_ACEOF
87400 /* confdefs.h. */
87401 _ACEOF
87402 cat confdefs.h >>conftest.$ac_ext
87403 cat >>conftest.$ac_ext <<_ACEOF
87404 /* end confdefs.h. */
87408 main ()
87410 main ();
87412 return 0;
87414 _ACEOF
87415 rm -f conftest.$ac_objext conftest$ac_exeext
87416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87417 (eval $ac_link) 2>conftest.er1
87418 ac_status=$?
87419 grep -v '^ *+' conftest.er1 >conftest.err
87420 rm -f conftest.er1
87421 cat conftest.err >&5
87422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87423 (exit $ac_status); } &&
87424 { ac_try='test -z "$ac_c_werror_flag"
87425 || test ! -s conftest.err'
87426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87427 (eval $ac_try) 2>&5
87428 ac_status=$?
87429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87430 (exit $ac_status); }; } &&
87431 { ac_try='test -s conftest$ac_exeext'
87432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87433 (eval $ac_try) 2>&5
87434 ac_status=$?
87435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87436 (exit $ac_status); }; }; then
87437 ac_cv_lib_m_main=yes
87438 else
87439 echo "$as_me: failed program was:" >&5
87440 sed 's/^/| /' conftest.$ac_ext >&5
87442 ac_cv_lib_m_main=no
87444 rm -f conftest.err conftest.$ac_objext \
87445 conftest$ac_exeext conftest.$ac_ext
87446 LIBS=$ac_check_lib_save_LIBS
87448 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87449 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87450 if test $ac_cv_lib_m_main = yes; then
87451 cat >>confdefs.h <<_ACEOF
87452 #define HAVE_LIBM 1
87453 _ACEOF
87455 LIBS="-lm $LIBS"
87460 for ac_func in copysignf
87462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87463 echo "$as_me:$LINENO: checking for $ac_func" >&5
87464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87465 if eval "test \"\${$as_ac_var+set}\" = set"; then
87466 echo $ECHO_N "(cached) $ECHO_C" >&6
87467 else
87468 if test x$gcc_no_link = xyes; then
87469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87471 { (exit 1); exit 1; }; }
87473 cat >conftest.$ac_ext <<_ACEOF
87474 /* confdefs.h. */
87475 _ACEOF
87476 cat confdefs.h >>conftest.$ac_ext
87477 cat >>conftest.$ac_ext <<_ACEOF
87478 /* end confdefs.h. */
87479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87481 #define $ac_func innocuous_$ac_func
87483 /* System header to define __stub macros and hopefully few prototypes,
87484 which can conflict with char $ac_func (); below.
87485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87486 <limits.h> exists even on freestanding compilers. */
87488 #ifdef __STDC__
87489 # include <limits.h>
87490 #else
87491 # include <assert.h>
87492 #endif
87494 #undef $ac_func
87496 /* Override any gcc2 internal prototype to avoid an error. */
87497 #ifdef __cplusplus
87498 extern "C"
87500 #endif
87501 /* We use char because int might match the return type of a gcc2
87502 builtin and then its argument prototype would still apply. */
87503 char $ac_func ();
87504 /* The GNU C library defines this for functions which it implements
87505 to always fail with ENOSYS. Some functions are actually named
87506 something starting with __ and the normal name is an alias. */
87507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87508 choke me
87509 #else
87510 char (*f) () = $ac_func;
87511 #endif
87512 #ifdef __cplusplus
87514 #endif
87517 main ()
87519 return f != $ac_func;
87521 return 0;
87523 _ACEOF
87524 rm -f conftest.$ac_objext conftest$ac_exeext
87525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87526 (eval $ac_link) 2>conftest.er1
87527 ac_status=$?
87528 grep -v '^ *+' conftest.er1 >conftest.err
87529 rm -f conftest.er1
87530 cat conftest.err >&5
87531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87532 (exit $ac_status); } &&
87533 { ac_try='test -z "$ac_c_werror_flag"
87534 || test ! -s conftest.err'
87535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87536 (eval $ac_try) 2>&5
87537 ac_status=$?
87538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87539 (exit $ac_status); }; } &&
87540 { ac_try='test -s conftest$ac_exeext'
87541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87542 (eval $ac_try) 2>&5
87543 ac_status=$?
87544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87545 (exit $ac_status); }; }; then
87546 eval "$as_ac_var=yes"
87547 else
87548 echo "$as_me: failed program was:" >&5
87549 sed 's/^/| /' conftest.$ac_ext >&5
87551 eval "$as_ac_var=no"
87553 rm -f conftest.err conftest.$ac_objext \
87554 conftest$ac_exeext conftest.$ac_ext
87556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87558 if test `eval echo '${'$as_ac_var'}'` = yes; then
87559 cat >>confdefs.h <<_ACEOF
87560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87561 _ACEOF
87563 else
87564 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87566 done
87570 for ac_func in __signbit
87572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87573 echo "$as_me:$LINENO: checking for $ac_func" >&5
87574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87575 if eval "test \"\${$as_ac_var+set}\" = set"; then
87576 echo $ECHO_N "(cached) $ECHO_C" >&6
87577 else
87578 if test x$gcc_no_link = xyes; then
87579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87581 { (exit 1); exit 1; }; }
87583 cat >conftest.$ac_ext <<_ACEOF
87584 /* confdefs.h. */
87585 _ACEOF
87586 cat confdefs.h >>conftest.$ac_ext
87587 cat >>conftest.$ac_ext <<_ACEOF
87588 /* end confdefs.h. */
87589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87591 #define $ac_func innocuous_$ac_func
87593 /* System header to define __stub macros and hopefully few prototypes,
87594 which can conflict with char $ac_func (); below.
87595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87596 <limits.h> exists even on freestanding compilers. */
87598 #ifdef __STDC__
87599 # include <limits.h>
87600 #else
87601 # include <assert.h>
87602 #endif
87604 #undef $ac_func
87606 /* Override any gcc2 internal prototype to avoid an error. */
87607 #ifdef __cplusplus
87608 extern "C"
87610 #endif
87611 /* We use char because int might match the return type of a gcc2
87612 builtin and then its argument prototype would still apply. */
87613 char $ac_func ();
87614 /* The GNU C library defines this for functions which it implements
87615 to always fail with ENOSYS. Some functions are actually named
87616 something starting with __ and the normal name is an alias. */
87617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87618 choke me
87619 #else
87620 char (*f) () = $ac_func;
87621 #endif
87622 #ifdef __cplusplus
87624 #endif
87627 main ()
87629 return f != $ac_func;
87631 return 0;
87633 _ACEOF
87634 rm -f conftest.$ac_objext conftest$ac_exeext
87635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87636 (eval $ac_link) 2>conftest.er1
87637 ac_status=$?
87638 grep -v '^ *+' conftest.er1 >conftest.err
87639 rm -f conftest.er1
87640 cat conftest.err >&5
87641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87642 (exit $ac_status); } &&
87643 { ac_try='test -z "$ac_c_werror_flag"
87644 || test ! -s conftest.err'
87645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87646 (eval $ac_try) 2>&5
87647 ac_status=$?
87648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87649 (exit $ac_status); }; } &&
87650 { ac_try='test -s conftest$ac_exeext'
87651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87652 (eval $ac_try) 2>&5
87653 ac_status=$?
87654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87655 (exit $ac_status); }; }; then
87656 eval "$as_ac_var=yes"
87657 else
87658 echo "$as_me: failed program was:" >&5
87659 sed 's/^/| /' conftest.$ac_ext >&5
87661 eval "$as_ac_var=no"
87663 rm -f conftest.err conftest.$ac_objext \
87664 conftest$ac_exeext conftest.$ac_ext
87666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87668 if test `eval echo '${'$as_ac_var'}'` = yes; then
87669 cat >>confdefs.h <<_ACEOF
87670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87671 _ACEOF
87673 else
87674 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87676 done
87680 for ac_func in __signbitf
87682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87683 echo "$as_me:$LINENO: checking for $ac_func" >&5
87684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87685 if eval "test \"\${$as_ac_var+set}\" = set"; then
87686 echo $ECHO_N "(cached) $ECHO_C" >&6
87687 else
87688 if test x$gcc_no_link = xyes; then
87689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87691 { (exit 1); exit 1; }; }
87693 cat >conftest.$ac_ext <<_ACEOF
87694 /* confdefs.h. */
87695 _ACEOF
87696 cat confdefs.h >>conftest.$ac_ext
87697 cat >>conftest.$ac_ext <<_ACEOF
87698 /* end confdefs.h. */
87699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87701 #define $ac_func innocuous_$ac_func
87703 /* System header to define __stub macros and hopefully few prototypes,
87704 which can conflict with char $ac_func (); below.
87705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87706 <limits.h> exists even on freestanding compilers. */
87708 #ifdef __STDC__
87709 # include <limits.h>
87710 #else
87711 # include <assert.h>
87712 #endif
87714 #undef $ac_func
87716 /* Override any gcc2 internal prototype to avoid an error. */
87717 #ifdef __cplusplus
87718 extern "C"
87720 #endif
87721 /* We use char because int might match the return type of a gcc2
87722 builtin and then its argument prototype would still apply. */
87723 char $ac_func ();
87724 /* The GNU C library defines this for functions which it implements
87725 to always fail with ENOSYS. Some functions are actually named
87726 something starting with __ and the normal name is an alias. */
87727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87728 choke me
87729 #else
87730 char (*f) () = $ac_func;
87731 #endif
87732 #ifdef __cplusplus
87734 #endif
87737 main ()
87739 return f != $ac_func;
87741 return 0;
87743 _ACEOF
87744 rm -f conftest.$ac_objext conftest$ac_exeext
87745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87746 (eval $ac_link) 2>conftest.er1
87747 ac_status=$?
87748 grep -v '^ *+' conftest.er1 >conftest.err
87749 rm -f conftest.er1
87750 cat conftest.err >&5
87751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87752 (exit $ac_status); } &&
87753 { ac_try='test -z "$ac_c_werror_flag"
87754 || test ! -s conftest.err'
87755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87756 (eval $ac_try) 2>&5
87757 ac_status=$?
87758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87759 (exit $ac_status); }; } &&
87760 { ac_try='test -s conftest$ac_exeext'
87761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87762 (eval $ac_try) 2>&5
87763 ac_status=$?
87764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87765 (exit $ac_status); }; }; then
87766 eval "$as_ac_var=yes"
87767 else
87768 echo "$as_me: failed program was:" >&5
87769 sed 's/^/| /' conftest.$ac_ext >&5
87771 eval "$as_ac_var=no"
87773 rm -f conftest.err conftest.$ac_objext \
87774 conftest$ac_exeext conftest.$ac_ext
87776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87778 if test `eval echo '${'$as_ac_var'}'` = yes; then
87779 cat >>confdefs.h <<_ACEOF
87780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87781 _ACEOF
87783 else
87784 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87786 done
87789 if test x$ac_cv_func_copysignl = x"yes"; then
87791 for ac_func in __signbitl
87793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87794 echo "$as_me:$LINENO: checking for $ac_func" >&5
87795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87796 if eval "test \"\${$as_ac_var+set}\" = set"; then
87797 echo $ECHO_N "(cached) $ECHO_C" >&6
87798 else
87799 if test x$gcc_no_link = xyes; then
87800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87802 { (exit 1); exit 1; }; }
87804 cat >conftest.$ac_ext <<_ACEOF
87805 /* confdefs.h. */
87806 _ACEOF
87807 cat confdefs.h >>conftest.$ac_ext
87808 cat >>conftest.$ac_ext <<_ACEOF
87809 /* end confdefs.h. */
87810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87812 #define $ac_func innocuous_$ac_func
87814 /* System header to define __stub macros and hopefully few prototypes,
87815 which can conflict with char $ac_func (); below.
87816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87817 <limits.h> exists even on freestanding compilers. */
87819 #ifdef __STDC__
87820 # include <limits.h>
87821 #else
87822 # include <assert.h>
87823 #endif
87825 #undef $ac_func
87827 /* Override any gcc2 internal prototype to avoid an error. */
87828 #ifdef __cplusplus
87829 extern "C"
87831 #endif
87832 /* We use char because int might match the return type of a gcc2
87833 builtin and then its argument prototype would still apply. */
87834 char $ac_func ();
87835 /* The GNU C library defines this for functions which it implements
87836 to always fail with ENOSYS. Some functions are actually named
87837 something starting with __ and the normal name is an alias. */
87838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87839 choke me
87840 #else
87841 char (*f) () = $ac_func;
87842 #endif
87843 #ifdef __cplusplus
87845 #endif
87848 main ()
87850 return f != $ac_func;
87852 return 0;
87854 _ACEOF
87855 rm -f conftest.$ac_objext conftest$ac_exeext
87856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87857 (eval $ac_link) 2>conftest.er1
87858 ac_status=$?
87859 grep -v '^ *+' conftest.er1 >conftest.err
87860 rm -f conftest.er1
87861 cat conftest.err >&5
87862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87863 (exit $ac_status); } &&
87864 { ac_try='test -z "$ac_c_werror_flag"
87865 || test ! -s conftest.err'
87866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87867 (eval $ac_try) 2>&5
87868 ac_status=$?
87869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87870 (exit $ac_status); }; } &&
87871 { ac_try='test -s conftest$ac_exeext'
87872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87873 (eval $ac_try) 2>&5
87874 ac_status=$?
87875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87876 (exit $ac_status); }; }; then
87877 eval "$as_ac_var=yes"
87878 else
87879 echo "$as_me: failed program was:" >&5
87880 sed 's/^/| /' conftest.$ac_ext >&5
87882 eval "$as_ac_var=no"
87884 rm -f conftest.err conftest.$ac_objext \
87885 conftest$ac_exeext conftest.$ac_ext
87887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87889 if test `eval echo '${'$as_ac_var'}'` = yes; then
87890 cat >>confdefs.h <<_ACEOF
87891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87892 _ACEOF
87894 else
87895 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87897 done
87901 # Used in libmath/Makefile.am.
87902 if test -n "$LIBMATHOBJS"; then
87903 need_libmath=yes
87908 # Test wchar.h for mbstate_t, which is needed for char_traits and
87909 # others even if wchar_t support is not on.
87910 echo "$as_me:$LINENO: checking for mbstate_t" >&5
87911 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87912 cat >conftest.$ac_ext <<_ACEOF
87913 /* confdefs.h. */
87914 _ACEOF
87915 cat confdefs.h >>conftest.$ac_ext
87916 cat >>conftest.$ac_ext <<_ACEOF
87917 /* end confdefs.h. */
87918 #include <wchar.h>
87920 main ()
87922 mbstate_t teststate;
87924 return 0;
87926 _ACEOF
87927 rm -f conftest.$ac_objext
87928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87929 (eval $ac_compile) 2>conftest.er1
87930 ac_status=$?
87931 grep -v '^ *+' conftest.er1 >conftest.err
87932 rm -f conftest.er1
87933 cat conftest.err >&5
87934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87935 (exit $ac_status); } &&
87936 { ac_try='test -z "$ac_c_werror_flag"
87937 || test ! -s conftest.err'
87938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87939 (eval $ac_try) 2>&5
87940 ac_status=$?
87941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87942 (exit $ac_status); }; } &&
87943 { ac_try='test -s conftest.$ac_objext'
87944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87945 (eval $ac_try) 2>&5
87946 ac_status=$?
87947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87948 (exit $ac_status); }; }; then
87949 have_mbstate_t=yes
87950 else
87951 echo "$as_me: failed program was:" >&5
87952 sed 's/^/| /' conftest.$ac_ext >&5
87954 have_mbstate_t=no
87956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87957 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87958 echo "${ECHO_T}$have_mbstate_t" >&6
87959 if test x"$have_mbstate_t" = xyes; then
87960 cat >>confdefs.h <<\_ACEOF
87961 #define HAVE_MBSTATE_T 1
87962 _ACEOF
87966 # Sanity check for existence of ISO C99 headers for extended encoding.
87968 for ac_header in wchar.h
87970 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87972 echo "$as_me:$LINENO: checking for $ac_header" >&5
87973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87975 echo $ECHO_N "(cached) $ECHO_C" >&6
87977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87979 else
87980 # Is the header compilable?
87981 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87982 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87983 cat >conftest.$ac_ext <<_ACEOF
87984 /* confdefs.h. */
87985 _ACEOF
87986 cat confdefs.h >>conftest.$ac_ext
87987 cat >>conftest.$ac_ext <<_ACEOF
87988 /* end confdefs.h. */
87989 $ac_includes_default
87990 #include <$ac_header>
87991 _ACEOF
87992 rm -f conftest.$ac_objext
87993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87994 (eval $ac_compile) 2>conftest.er1
87995 ac_status=$?
87996 grep -v '^ *+' conftest.er1 >conftest.err
87997 rm -f conftest.er1
87998 cat conftest.err >&5
87999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88000 (exit $ac_status); } &&
88001 { ac_try='test -z "$ac_c_werror_flag"
88002 || test ! -s conftest.err'
88003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88004 (eval $ac_try) 2>&5
88005 ac_status=$?
88006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88007 (exit $ac_status); }; } &&
88008 { ac_try='test -s conftest.$ac_objext'
88009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88010 (eval $ac_try) 2>&5
88011 ac_status=$?
88012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88013 (exit $ac_status); }; }; then
88014 ac_header_compiler=yes
88015 else
88016 echo "$as_me: failed program was:" >&5
88017 sed 's/^/| /' conftest.$ac_ext >&5
88019 ac_header_compiler=no
88021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88022 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88023 echo "${ECHO_T}$ac_header_compiler" >&6
88025 # Is the header present?
88026 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88027 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88028 cat >conftest.$ac_ext <<_ACEOF
88029 /* confdefs.h. */
88030 _ACEOF
88031 cat confdefs.h >>conftest.$ac_ext
88032 cat >>conftest.$ac_ext <<_ACEOF
88033 /* end confdefs.h. */
88034 #include <$ac_header>
88035 _ACEOF
88036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88037 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88038 ac_status=$?
88039 grep -v '^ *+' conftest.er1 >conftest.err
88040 rm -f conftest.er1
88041 cat conftest.err >&5
88042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88043 (exit $ac_status); } >/dev/null; then
88044 if test -s conftest.err; then
88045 ac_cpp_err=$ac_c_preproc_warn_flag
88046 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88047 else
88048 ac_cpp_err=
88050 else
88051 ac_cpp_err=yes
88053 if test -z "$ac_cpp_err"; then
88054 ac_header_preproc=yes
88055 else
88056 echo "$as_me: failed program was:" >&5
88057 sed 's/^/| /' conftest.$ac_ext >&5
88059 ac_header_preproc=no
88061 rm -f conftest.err conftest.$ac_ext
88062 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88063 echo "${ECHO_T}$ac_header_preproc" >&6
88065 # So? What about this header?
88066 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88067 yes:no: )
88068 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88069 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88071 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88072 ac_header_preproc=yes
88074 no:yes:* )
88075 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88076 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88077 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88078 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88079 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88080 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88081 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88082 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88084 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88085 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88086 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88088 cat <<\_ASBOX
88089 ## ----------------------------------------- ##
88090 ## Report this to the package-unused lists. ##
88091 ## ----------------------------------------- ##
88092 _ASBOX
88094 sed "s/^/$as_me: WARNING: /" >&2
88096 esac
88097 echo "$as_me:$LINENO: checking for $ac_header" >&5
88098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88100 echo $ECHO_N "(cached) $ECHO_C" >&6
88101 else
88102 eval "$as_ac_Header=\$ac_header_preproc"
88104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88108 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88109 cat >>confdefs.h <<_ACEOF
88110 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88111 _ACEOF
88112 ac_has_wchar_h=yes
88113 else
88114 ac_has_wchar_h=no
88117 done
88120 for ac_header in wctype.h
88122 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88124 echo "$as_me:$LINENO: checking for $ac_header" >&5
88125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88127 echo $ECHO_N "(cached) $ECHO_C" >&6
88129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88131 else
88132 # Is the header compilable?
88133 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88134 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88135 cat >conftest.$ac_ext <<_ACEOF
88136 /* confdefs.h. */
88137 _ACEOF
88138 cat confdefs.h >>conftest.$ac_ext
88139 cat >>conftest.$ac_ext <<_ACEOF
88140 /* end confdefs.h. */
88141 $ac_includes_default
88142 #include <$ac_header>
88143 _ACEOF
88144 rm -f conftest.$ac_objext
88145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88146 (eval $ac_compile) 2>conftest.er1
88147 ac_status=$?
88148 grep -v '^ *+' conftest.er1 >conftest.err
88149 rm -f conftest.er1
88150 cat conftest.err >&5
88151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88152 (exit $ac_status); } &&
88153 { ac_try='test -z "$ac_c_werror_flag"
88154 || test ! -s conftest.err'
88155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88156 (eval $ac_try) 2>&5
88157 ac_status=$?
88158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88159 (exit $ac_status); }; } &&
88160 { ac_try='test -s conftest.$ac_objext'
88161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88162 (eval $ac_try) 2>&5
88163 ac_status=$?
88164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88165 (exit $ac_status); }; }; then
88166 ac_header_compiler=yes
88167 else
88168 echo "$as_me: failed program was:" >&5
88169 sed 's/^/| /' conftest.$ac_ext >&5
88171 ac_header_compiler=no
88173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88174 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88175 echo "${ECHO_T}$ac_header_compiler" >&6
88177 # Is the header present?
88178 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88179 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88180 cat >conftest.$ac_ext <<_ACEOF
88181 /* confdefs.h. */
88182 _ACEOF
88183 cat confdefs.h >>conftest.$ac_ext
88184 cat >>conftest.$ac_ext <<_ACEOF
88185 /* end confdefs.h. */
88186 #include <$ac_header>
88187 _ACEOF
88188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88190 ac_status=$?
88191 grep -v '^ *+' conftest.er1 >conftest.err
88192 rm -f conftest.er1
88193 cat conftest.err >&5
88194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88195 (exit $ac_status); } >/dev/null; then
88196 if test -s conftest.err; then
88197 ac_cpp_err=$ac_c_preproc_warn_flag
88198 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88199 else
88200 ac_cpp_err=
88202 else
88203 ac_cpp_err=yes
88205 if test -z "$ac_cpp_err"; then
88206 ac_header_preproc=yes
88207 else
88208 echo "$as_me: failed program was:" >&5
88209 sed 's/^/| /' conftest.$ac_ext >&5
88211 ac_header_preproc=no
88213 rm -f conftest.err conftest.$ac_ext
88214 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88215 echo "${ECHO_T}$ac_header_preproc" >&6
88217 # So? What about this header?
88218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88219 yes:no: )
88220 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88221 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88223 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88224 ac_header_preproc=yes
88226 no:yes:* )
88227 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88228 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88229 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88230 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88231 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88232 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88233 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88234 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88237 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88238 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88240 cat <<\_ASBOX
88241 ## ----------------------------------------- ##
88242 ## Report this to the package-unused lists. ##
88243 ## ----------------------------------------- ##
88244 _ASBOX
88246 sed "s/^/$as_me: WARNING: /" >&2
88248 esac
88249 echo "$as_me:$LINENO: checking for $ac_header" >&5
88250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88252 echo $ECHO_N "(cached) $ECHO_C" >&6
88253 else
88254 eval "$as_ac_Header=\$ac_header_preproc"
88256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88261 cat >>confdefs.h <<_ACEOF
88262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88263 _ACEOF
88264 ac_has_wctype_h=yes
88265 else
88266 ac_has_wctype_h=no
88269 done
88272 # Only continue checking if the ISO C99 headers exist and support is on.
88273 if test x"$ac_has_wchar_h" = xyes &&
88274 test x"$ac_has_wctype_h" = xyes &&
88275 test x"$enable_c_mbchar" != xno; then
88277 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88278 # numeric_limits can instantiate type_traits<wchar_t>
88279 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88280 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88281 cat >conftest.$ac_ext <<_ACEOF
88282 /* confdefs.h. */
88283 _ACEOF
88284 cat confdefs.h >>conftest.$ac_ext
88285 cat >>conftest.$ac_ext <<_ACEOF
88286 /* end confdefs.h. */
88287 #include <wchar.h>
88289 main ()
88291 int i = WCHAR_MIN; int j = WCHAR_MAX;
88293 return 0;
88295 _ACEOF
88296 rm -f conftest.$ac_objext
88297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88298 (eval $ac_compile) 2>conftest.er1
88299 ac_status=$?
88300 grep -v '^ *+' conftest.er1 >conftest.err
88301 rm -f conftest.er1
88302 cat conftest.err >&5
88303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88304 (exit $ac_status); } &&
88305 { ac_try='test -z "$ac_c_werror_flag"
88306 || test ! -s conftest.err'
88307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88308 (eval $ac_try) 2>&5
88309 ac_status=$?
88310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88311 (exit $ac_status); }; } &&
88312 { ac_try='test -s conftest.$ac_objext'
88313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88314 (eval $ac_try) 2>&5
88315 ac_status=$?
88316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88317 (exit $ac_status); }; }; then
88318 has_wchar_minmax=yes
88319 else
88320 echo "$as_me: failed program was:" >&5
88321 sed 's/^/| /' conftest.$ac_ext >&5
88323 has_wchar_minmax=no
88325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88326 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88327 echo "${ECHO_T}$has_wchar_minmax" >&6
88329 # Test wchar.h for WEOF, which is what we use to determine whether
88330 # to specialize for char_traits<wchar_t> or not.
88331 echo "$as_me:$LINENO: checking for WEOF" >&5
88332 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88333 cat >conftest.$ac_ext <<_ACEOF
88334 /* confdefs.h. */
88335 _ACEOF
88336 cat confdefs.h >>conftest.$ac_ext
88337 cat >>conftest.$ac_ext <<_ACEOF
88338 /* end confdefs.h. */
88340 #include <wchar.h>
88341 #include <stddef.h>
88343 main ()
88345 wint_t i = WEOF;
88347 return 0;
88349 _ACEOF
88350 rm -f conftest.$ac_objext
88351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88352 (eval $ac_compile) 2>conftest.er1
88353 ac_status=$?
88354 grep -v '^ *+' conftest.er1 >conftest.err
88355 rm -f conftest.er1
88356 cat conftest.err >&5
88357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88358 (exit $ac_status); } &&
88359 { ac_try='test -z "$ac_c_werror_flag"
88360 || test ! -s conftest.err'
88361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88362 (eval $ac_try) 2>&5
88363 ac_status=$?
88364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88365 (exit $ac_status); }; } &&
88366 { ac_try='test -s conftest.$ac_objext'
88367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88368 (eval $ac_try) 2>&5
88369 ac_status=$?
88370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88371 (exit $ac_status); }; }; then
88372 has_weof=yes
88373 else
88374 echo "$as_me: failed program was:" >&5
88375 sed 's/^/| /' conftest.$ac_ext >&5
88377 has_weof=no
88379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88380 echo "$as_me:$LINENO: result: $has_weof" >&5
88381 echo "${ECHO_T}$has_weof" >&6
88383 # Tests for wide character functions used in char_traits<wchar_t>.
88384 ac_wfuncs=yes
88391 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
88393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88394 echo "$as_me:$LINENO: checking for $ac_func" >&5
88395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88396 if eval "test \"\${$as_ac_var+set}\" = set"; then
88397 echo $ECHO_N "(cached) $ECHO_C" >&6
88398 else
88399 if test x$gcc_no_link = xyes; then
88400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88402 { (exit 1); exit 1; }; }
88404 cat >conftest.$ac_ext <<_ACEOF
88405 /* confdefs.h. */
88406 _ACEOF
88407 cat confdefs.h >>conftest.$ac_ext
88408 cat >>conftest.$ac_ext <<_ACEOF
88409 /* end confdefs.h. */
88410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88412 #define $ac_func innocuous_$ac_func
88414 /* System header to define __stub macros and hopefully few prototypes,
88415 which can conflict with char $ac_func (); below.
88416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88417 <limits.h> exists even on freestanding compilers. */
88419 #ifdef __STDC__
88420 # include <limits.h>
88421 #else
88422 # include <assert.h>
88423 #endif
88425 #undef $ac_func
88427 /* Override any gcc2 internal prototype to avoid an error. */
88428 #ifdef __cplusplus
88429 extern "C"
88431 #endif
88432 /* We use char because int might match the return type of a gcc2
88433 builtin and then its argument prototype would still apply. */
88434 char $ac_func ();
88435 /* The GNU C library defines this for functions which it implements
88436 to always fail with ENOSYS. Some functions are actually named
88437 something starting with __ and the normal name is an alias. */
88438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88439 choke me
88440 #else
88441 char (*f) () = $ac_func;
88442 #endif
88443 #ifdef __cplusplus
88445 #endif
88448 main ()
88450 return f != $ac_func;
88452 return 0;
88454 _ACEOF
88455 rm -f conftest.$ac_objext conftest$ac_exeext
88456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88457 (eval $ac_link) 2>conftest.er1
88458 ac_status=$?
88459 grep -v '^ *+' conftest.er1 >conftest.err
88460 rm -f conftest.er1
88461 cat conftest.err >&5
88462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88463 (exit $ac_status); } &&
88464 { ac_try='test -z "$ac_c_werror_flag"
88465 || test ! -s conftest.err'
88466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88467 (eval $ac_try) 2>&5
88468 ac_status=$?
88469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88470 (exit $ac_status); }; } &&
88471 { ac_try='test -s conftest$ac_exeext'
88472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88473 (eval $ac_try) 2>&5
88474 ac_status=$?
88475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88476 (exit $ac_status); }; }; then
88477 eval "$as_ac_var=yes"
88478 else
88479 echo "$as_me: failed program was:" >&5
88480 sed 's/^/| /' conftest.$ac_ext >&5
88482 eval "$as_ac_var=no"
88484 rm -f conftest.err conftest.$ac_objext \
88485 conftest$ac_exeext conftest.$ac_ext
88487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88489 if test `eval echo '${'$as_ac_var'}'` = yes; then
88490 cat >>confdefs.h <<_ACEOF
88491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88492 _ACEOF
88494 else
88495 ac_wfuncs=no
88497 done
88500 # Checks for names injected into std:: by the c_std headers.
88547 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88548 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88549 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88550 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88551 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88552 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88555 echo "$as_me:$LINENO: checking for $ac_func" >&5
88556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88557 if eval "test \"\${$as_ac_var+set}\" = set"; then
88558 echo $ECHO_N "(cached) $ECHO_C" >&6
88559 else
88560 if test x$gcc_no_link = xyes; then
88561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88563 { (exit 1); exit 1; }; }
88565 cat >conftest.$ac_ext <<_ACEOF
88566 /* confdefs.h. */
88567 _ACEOF
88568 cat confdefs.h >>conftest.$ac_ext
88569 cat >>conftest.$ac_ext <<_ACEOF
88570 /* end confdefs.h. */
88571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88573 #define $ac_func innocuous_$ac_func
88575 /* System header to define __stub macros and hopefully few prototypes,
88576 which can conflict with char $ac_func (); below.
88577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88578 <limits.h> exists even on freestanding compilers. */
88580 #ifdef __STDC__
88581 # include <limits.h>
88582 #else
88583 # include <assert.h>
88584 #endif
88586 #undef $ac_func
88588 /* Override any gcc2 internal prototype to avoid an error. */
88589 #ifdef __cplusplus
88590 extern "C"
88592 #endif
88593 /* We use char because int might match the return type of a gcc2
88594 builtin and then its argument prototype would still apply. */
88595 char $ac_func ();
88596 /* The GNU C library defines this for functions which it implements
88597 to always fail with ENOSYS. Some functions are actually named
88598 something starting with __ and the normal name is an alias. */
88599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88600 choke me
88601 #else
88602 char (*f) () = $ac_func;
88603 #endif
88604 #ifdef __cplusplus
88606 #endif
88609 main ()
88611 return f != $ac_func;
88613 return 0;
88615 _ACEOF
88616 rm -f conftest.$ac_objext conftest$ac_exeext
88617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88618 (eval $ac_link) 2>conftest.er1
88619 ac_status=$?
88620 grep -v '^ *+' conftest.er1 >conftest.err
88621 rm -f conftest.er1
88622 cat conftest.err >&5
88623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88624 (exit $ac_status); } &&
88625 { ac_try='test -z "$ac_c_werror_flag"
88626 || test ! -s conftest.err'
88627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88628 (eval $ac_try) 2>&5
88629 ac_status=$?
88630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88631 (exit $ac_status); }; } &&
88632 { ac_try='test -s conftest$ac_exeext'
88633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88634 (eval $ac_try) 2>&5
88635 ac_status=$?
88636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88637 (exit $ac_status); }; }; then
88638 eval "$as_ac_var=yes"
88639 else
88640 echo "$as_me: failed program was:" >&5
88641 sed 's/^/| /' conftest.$ac_ext >&5
88643 eval "$as_ac_var=no"
88645 rm -f conftest.err conftest.$ac_objext \
88646 conftest$ac_exeext conftest.$ac_ext
88648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88650 if test `eval echo '${'$as_ac_var'}'` = yes; then
88651 cat >>confdefs.h <<_ACEOF
88652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88653 _ACEOF
88655 else
88656 ac_wfuncs=no
88658 done
88661 # Checks for wide character functions that are not required
88662 # for basic wchar_t support. Don't disable support if they are missing.
88663 # Injection of these is wrapped with guard macros.
88669 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88672 echo "$as_me:$LINENO: checking for $ac_func" >&5
88673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88674 if eval "test \"\${$as_ac_var+set}\" = set"; then
88675 echo $ECHO_N "(cached) $ECHO_C" >&6
88676 else
88677 if test x$gcc_no_link = xyes; then
88678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88680 { (exit 1); exit 1; }; }
88682 cat >conftest.$ac_ext <<_ACEOF
88683 /* confdefs.h. */
88684 _ACEOF
88685 cat confdefs.h >>conftest.$ac_ext
88686 cat >>conftest.$ac_ext <<_ACEOF
88687 /* end confdefs.h. */
88688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88690 #define $ac_func innocuous_$ac_func
88692 /* System header to define __stub macros and hopefully few prototypes,
88693 which can conflict with char $ac_func (); below.
88694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88695 <limits.h> exists even on freestanding compilers. */
88697 #ifdef __STDC__
88698 # include <limits.h>
88699 #else
88700 # include <assert.h>
88701 #endif
88703 #undef $ac_func
88705 /* Override any gcc2 internal prototype to avoid an error. */
88706 #ifdef __cplusplus
88707 extern "C"
88709 #endif
88710 /* We use char because int might match the return type of a gcc2
88711 builtin and then its argument prototype would still apply. */
88712 char $ac_func ();
88713 /* The GNU C library defines this for functions which it implements
88714 to always fail with ENOSYS. Some functions are actually named
88715 something starting with __ and the normal name is an alias. */
88716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88717 choke me
88718 #else
88719 char (*f) () = $ac_func;
88720 #endif
88721 #ifdef __cplusplus
88723 #endif
88726 main ()
88728 return f != $ac_func;
88730 return 0;
88732 _ACEOF
88733 rm -f conftest.$ac_objext conftest$ac_exeext
88734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88735 (eval $ac_link) 2>conftest.er1
88736 ac_status=$?
88737 grep -v '^ *+' conftest.er1 >conftest.err
88738 rm -f conftest.er1
88739 cat conftest.err >&5
88740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88741 (exit $ac_status); } &&
88742 { ac_try='test -z "$ac_c_werror_flag"
88743 || test ! -s conftest.err'
88744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88745 (eval $ac_try) 2>&5
88746 ac_status=$?
88747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88748 (exit $ac_status); }; } &&
88749 { ac_try='test -s conftest$ac_exeext'
88750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88751 (eval $ac_try) 2>&5
88752 ac_status=$?
88753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88754 (exit $ac_status); }; }; then
88755 eval "$as_ac_var=yes"
88756 else
88757 echo "$as_me: failed program was:" >&5
88758 sed 's/^/| /' conftest.$ac_ext >&5
88760 eval "$as_ac_var=no"
88762 rm -f conftest.err conftest.$ac_objext \
88763 conftest$ac_exeext conftest.$ac_ext
88765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88767 if test `eval echo '${'$as_ac_var'}'` = yes; then
88768 cat >>confdefs.h <<_ACEOF
88769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88770 _ACEOF
88773 done
88776 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88777 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88778 if test x"$has_weof" = xyes &&
88779 test x"$has_wchar_minmax" = xyes &&
88780 test x"$ac_wfuncs" = xyes;
88781 then
88782 ac_isoC99_wchar_t=yes
88783 else
88784 ac_isoC99_wchar_t=no
88786 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88787 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88789 # Use iconv for wchar_t to char conversions. As such, check for
88790 # X/Open Portability Guide, version 2 features (XPG2).
88791 if test "${ac_cv_header_iconv_h+set}" = set; then
88792 echo "$as_me:$LINENO: checking for iconv.h" >&5
88793 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88794 if test "${ac_cv_header_iconv_h+set}" = set; then
88795 echo $ECHO_N "(cached) $ECHO_C" >&6
88797 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88798 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88799 else
88800 # Is the header compilable?
88801 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88802 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88803 cat >conftest.$ac_ext <<_ACEOF
88804 /* confdefs.h. */
88805 _ACEOF
88806 cat confdefs.h >>conftest.$ac_ext
88807 cat >>conftest.$ac_ext <<_ACEOF
88808 /* end confdefs.h. */
88809 $ac_includes_default
88810 #include <iconv.h>
88811 _ACEOF
88812 rm -f conftest.$ac_objext
88813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88814 (eval $ac_compile) 2>conftest.er1
88815 ac_status=$?
88816 grep -v '^ *+' conftest.er1 >conftest.err
88817 rm -f conftest.er1
88818 cat conftest.err >&5
88819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88820 (exit $ac_status); } &&
88821 { ac_try='test -z "$ac_c_werror_flag"
88822 || test ! -s conftest.err'
88823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88824 (eval $ac_try) 2>&5
88825 ac_status=$?
88826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88827 (exit $ac_status); }; } &&
88828 { ac_try='test -s conftest.$ac_objext'
88829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88830 (eval $ac_try) 2>&5
88831 ac_status=$?
88832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88833 (exit $ac_status); }; }; then
88834 ac_header_compiler=yes
88835 else
88836 echo "$as_me: failed program was:" >&5
88837 sed 's/^/| /' conftest.$ac_ext >&5
88839 ac_header_compiler=no
88841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88842 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88843 echo "${ECHO_T}$ac_header_compiler" >&6
88845 # Is the header present?
88846 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88847 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88848 cat >conftest.$ac_ext <<_ACEOF
88849 /* confdefs.h. */
88850 _ACEOF
88851 cat confdefs.h >>conftest.$ac_ext
88852 cat >>conftest.$ac_ext <<_ACEOF
88853 /* end confdefs.h. */
88854 #include <iconv.h>
88855 _ACEOF
88856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88857 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88858 ac_status=$?
88859 grep -v '^ *+' conftest.er1 >conftest.err
88860 rm -f conftest.er1
88861 cat conftest.err >&5
88862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88863 (exit $ac_status); } >/dev/null; then
88864 if test -s conftest.err; then
88865 ac_cpp_err=$ac_c_preproc_warn_flag
88866 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88867 else
88868 ac_cpp_err=
88870 else
88871 ac_cpp_err=yes
88873 if test -z "$ac_cpp_err"; then
88874 ac_header_preproc=yes
88875 else
88876 echo "$as_me: failed program was:" >&5
88877 sed 's/^/| /' conftest.$ac_ext >&5
88879 ac_header_preproc=no
88881 rm -f conftest.err conftest.$ac_ext
88882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88883 echo "${ECHO_T}$ac_header_preproc" >&6
88885 # So? What about this header?
88886 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88887 yes:no: )
88888 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88889 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88890 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88891 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88892 ac_header_preproc=yes
88894 no:yes:* )
88895 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88896 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88897 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
88898 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
88899 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88900 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88901 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
88902 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
88903 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88904 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88905 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88906 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88908 cat <<\_ASBOX
88909 ## ----------------------------------------- ##
88910 ## Report this to the package-unused lists. ##
88911 ## ----------------------------------------- ##
88912 _ASBOX
88914 sed "s/^/$as_me: WARNING: /" >&2
88916 esac
88917 echo "$as_me:$LINENO: checking for iconv.h" >&5
88918 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88919 if test "${ac_cv_header_iconv_h+set}" = set; then
88920 echo $ECHO_N "(cached) $ECHO_C" >&6
88921 else
88922 ac_cv_header_iconv_h=$ac_header_preproc
88924 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88925 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88928 if test $ac_cv_header_iconv_h = yes; then
88929 ac_has_iconv_h=yes
88930 else
88931 ac_has_iconv_h=no
88935 if test "${ac_cv_header_langinfo_h+set}" = set; then
88936 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88937 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88938 if test "${ac_cv_header_langinfo_h+set}" = set; then
88939 echo $ECHO_N "(cached) $ECHO_C" >&6
88941 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88942 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88943 else
88944 # Is the header compilable?
88945 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88946 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88947 cat >conftest.$ac_ext <<_ACEOF
88948 /* confdefs.h. */
88949 _ACEOF
88950 cat confdefs.h >>conftest.$ac_ext
88951 cat >>conftest.$ac_ext <<_ACEOF
88952 /* end confdefs.h. */
88953 $ac_includes_default
88954 #include <langinfo.h>
88955 _ACEOF
88956 rm -f conftest.$ac_objext
88957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88958 (eval $ac_compile) 2>conftest.er1
88959 ac_status=$?
88960 grep -v '^ *+' conftest.er1 >conftest.err
88961 rm -f conftest.er1
88962 cat conftest.err >&5
88963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88964 (exit $ac_status); } &&
88965 { ac_try='test -z "$ac_c_werror_flag"
88966 || test ! -s conftest.err'
88967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88968 (eval $ac_try) 2>&5
88969 ac_status=$?
88970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88971 (exit $ac_status); }; } &&
88972 { ac_try='test -s conftest.$ac_objext'
88973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88974 (eval $ac_try) 2>&5
88975 ac_status=$?
88976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88977 (exit $ac_status); }; }; then
88978 ac_header_compiler=yes
88979 else
88980 echo "$as_me: failed program was:" >&5
88981 sed 's/^/| /' conftest.$ac_ext >&5
88983 ac_header_compiler=no
88985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88987 echo "${ECHO_T}$ac_header_compiler" >&6
88989 # Is the header present?
88990 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
88991 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
88992 cat >conftest.$ac_ext <<_ACEOF
88993 /* confdefs.h. */
88994 _ACEOF
88995 cat confdefs.h >>conftest.$ac_ext
88996 cat >>conftest.$ac_ext <<_ACEOF
88997 /* end confdefs.h. */
88998 #include <langinfo.h>
88999 _ACEOF
89000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89002 ac_status=$?
89003 grep -v '^ *+' conftest.er1 >conftest.err
89004 rm -f conftest.er1
89005 cat conftest.err >&5
89006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89007 (exit $ac_status); } >/dev/null; then
89008 if test -s conftest.err; then
89009 ac_cpp_err=$ac_c_preproc_warn_flag
89010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89011 else
89012 ac_cpp_err=
89014 else
89015 ac_cpp_err=yes
89017 if test -z "$ac_cpp_err"; then
89018 ac_header_preproc=yes
89019 else
89020 echo "$as_me: failed program was:" >&5
89021 sed 's/^/| /' conftest.$ac_ext >&5
89023 ac_header_preproc=no
89025 rm -f conftest.err conftest.$ac_ext
89026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89027 echo "${ECHO_T}$ac_header_preproc" >&6
89029 # So? What about this header?
89030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89031 yes:no: )
89032 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
89033 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
89034 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
89035 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
89036 ac_header_preproc=yes
89038 no:yes:* )
89039 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
89040 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
89041 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
89042 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
89043 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
89044 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
89045 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
89046 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
89047 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
89048 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
89049 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
89050 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
89052 cat <<\_ASBOX
89053 ## ----------------------------------------- ##
89054 ## Report this to the package-unused lists. ##
89055 ## ----------------------------------------- ##
89056 _ASBOX
89058 sed "s/^/$as_me: WARNING: /" >&2
89060 esac
89061 echo "$as_me:$LINENO: checking for langinfo.h" >&5
89062 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
89063 if test "${ac_cv_header_langinfo_h+set}" = set; then
89064 echo $ECHO_N "(cached) $ECHO_C" >&6
89065 else
89066 ac_cv_header_langinfo_h=$ac_header_preproc
89068 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
89069 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
89072 if test $ac_cv_header_langinfo_h = yes; then
89073 ac_has_langinfo_h=yes
89074 else
89075 ac_has_langinfo_h=no
89080 # Check for existence of libiconv.a providing XPG2 wchar_t support.
89081 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
89082 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
89083 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
89084 echo $ECHO_N "(cached) $ECHO_C" >&6
89085 else
89086 ac_check_lib_save_LIBS=$LIBS
89087 LIBS="-liconv $LIBS"
89088 if test x$gcc_no_link = xyes; then
89089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89091 { (exit 1); exit 1; }; }
89093 cat >conftest.$ac_ext <<_ACEOF
89094 /* confdefs.h. */
89095 _ACEOF
89096 cat confdefs.h >>conftest.$ac_ext
89097 cat >>conftest.$ac_ext <<_ACEOF
89098 /* end confdefs.h. */
89100 /* Override any gcc2 internal prototype to avoid an error. */
89101 #ifdef __cplusplus
89102 extern "C"
89103 #endif
89104 /* We use char because int might match the return type of a gcc2
89105 builtin and then its argument prototype would still apply. */
89106 char iconv ();
89108 main ()
89110 iconv ();
89112 return 0;
89114 _ACEOF
89115 rm -f conftest.$ac_objext conftest$ac_exeext
89116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89117 (eval $ac_link) 2>conftest.er1
89118 ac_status=$?
89119 grep -v '^ *+' conftest.er1 >conftest.err
89120 rm -f conftest.er1
89121 cat conftest.err >&5
89122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89123 (exit $ac_status); } &&
89124 { ac_try='test -z "$ac_c_werror_flag"
89125 || test ! -s conftest.err'
89126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89127 (eval $ac_try) 2>&5
89128 ac_status=$?
89129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89130 (exit $ac_status); }; } &&
89131 { ac_try='test -s conftest$ac_exeext'
89132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89133 (eval $ac_try) 2>&5
89134 ac_status=$?
89135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89136 (exit $ac_status); }; }; then
89137 ac_cv_lib_iconv_iconv=yes
89138 else
89139 echo "$as_me: failed program was:" >&5
89140 sed 's/^/| /' conftest.$ac_ext >&5
89142 ac_cv_lib_iconv_iconv=no
89144 rm -f conftest.err conftest.$ac_objext \
89145 conftest$ac_exeext conftest.$ac_ext
89146 LIBS=$ac_check_lib_save_LIBS
89148 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
89149 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
89150 if test $ac_cv_lib_iconv_iconv = yes; then
89151 LIBICONV="-liconv"
89154 ac_save_LIBS="$LIBS"
89155 LIBS="$LIBS $LIBICONV"
89162 for ac_func in iconv_open iconv_close iconv nl_langinfo
89164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89165 echo "$as_me:$LINENO: checking for $ac_func" >&5
89166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89167 if eval "test \"\${$as_ac_var+set}\" = set"; then
89168 echo $ECHO_N "(cached) $ECHO_C" >&6
89169 else
89170 if test x$gcc_no_link = xyes; then
89171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89173 { (exit 1); exit 1; }; }
89175 cat >conftest.$ac_ext <<_ACEOF
89176 /* confdefs.h. */
89177 _ACEOF
89178 cat confdefs.h >>conftest.$ac_ext
89179 cat >>conftest.$ac_ext <<_ACEOF
89180 /* end confdefs.h. */
89181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89183 #define $ac_func innocuous_$ac_func
89185 /* System header to define __stub macros and hopefully few prototypes,
89186 which can conflict with char $ac_func (); below.
89187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89188 <limits.h> exists even on freestanding compilers. */
89190 #ifdef __STDC__
89191 # include <limits.h>
89192 #else
89193 # include <assert.h>
89194 #endif
89196 #undef $ac_func
89198 /* Override any gcc2 internal prototype to avoid an error. */
89199 #ifdef __cplusplus
89200 extern "C"
89202 #endif
89203 /* We use char because int might match the return type of a gcc2
89204 builtin and then its argument prototype would still apply. */
89205 char $ac_func ();
89206 /* The GNU C library defines this for functions which it implements
89207 to always fail with ENOSYS. Some functions are actually named
89208 something starting with __ and the normal name is an alias. */
89209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89210 choke me
89211 #else
89212 char (*f) () = $ac_func;
89213 #endif
89214 #ifdef __cplusplus
89216 #endif
89219 main ()
89221 return f != $ac_func;
89223 return 0;
89225 _ACEOF
89226 rm -f conftest.$ac_objext conftest$ac_exeext
89227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89228 (eval $ac_link) 2>conftest.er1
89229 ac_status=$?
89230 grep -v '^ *+' conftest.er1 >conftest.err
89231 rm -f conftest.er1
89232 cat conftest.err >&5
89233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89234 (exit $ac_status); } &&
89235 { ac_try='test -z "$ac_c_werror_flag"
89236 || test ! -s conftest.err'
89237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89238 (eval $ac_try) 2>&5
89239 ac_status=$?
89240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89241 (exit $ac_status); }; } &&
89242 { ac_try='test -s conftest$ac_exeext'
89243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89244 (eval $ac_try) 2>&5
89245 ac_status=$?
89246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89247 (exit $ac_status); }; }; then
89248 eval "$as_ac_var=yes"
89249 else
89250 echo "$as_me: failed program was:" >&5
89251 sed 's/^/| /' conftest.$ac_ext >&5
89253 eval "$as_ac_var=no"
89255 rm -f conftest.err conftest.$ac_objext \
89256 conftest$ac_exeext conftest.$ac_ext
89258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89260 if test `eval echo '${'$as_ac_var'}'` = yes; then
89261 cat >>confdefs.h <<_ACEOF
89262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89263 _ACEOF
89264 ac_XPG2funcs=yes
89265 else
89266 ac_XPG2funcs=no
89268 done
89271 LIBS="$ac_save_LIBS"
89273 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89274 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89275 if test x"$ac_has_iconv_h" = xyes &&
89276 test x"$ac_has_langinfo_h" = xyes &&
89277 test x"$ac_XPG2funcs" = xyes;
89278 then
89279 ac_XPG2_wchar_t=yes
89280 else
89281 ac_XPG2_wchar_t=no
89283 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89284 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89286 # At the moment, only enable wchar_t specializations if all the
89287 # above support is present.
89288 if test x"$ac_isoC99_wchar_t" = xyes &&
89289 test x"$ac_XPG2_wchar_t" = xyes;
89290 then
89291 cat >>confdefs.h <<\_ACEOF
89292 #define _GLIBCXX_USE_WCHAR_T 1
89293 _ACEOF
89295 enable_wchar_t=yes
89298 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89299 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89300 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89301 echo "${ECHO_T}$enable_wchar_t" >&6
89304 # For showmanyc_helper().
89307 for ac_header in sys/ioctl.h sys/filio.h
89309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89311 echo "$as_me:$LINENO: checking for $ac_header" >&5
89312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89314 echo $ECHO_N "(cached) $ECHO_C" >&6
89316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89318 else
89319 # Is the header compilable?
89320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89322 cat >conftest.$ac_ext <<_ACEOF
89323 /* confdefs.h. */
89324 _ACEOF
89325 cat confdefs.h >>conftest.$ac_ext
89326 cat >>conftest.$ac_ext <<_ACEOF
89327 /* end confdefs.h. */
89328 $ac_includes_default
89329 #include <$ac_header>
89330 _ACEOF
89331 rm -f conftest.$ac_objext
89332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89333 (eval $ac_compile) 2>conftest.er1
89334 ac_status=$?
89335 grep -v '^ *+' conftest.er1 >conftest.err
89336 rm -f conftest.er1
89337 cat conftest.err >&5
89338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89339 (exit $ac_status); } &&
89340 { ac_try='test -z "$ac_c_werror_flag"
89341 || test ! -s conftest.err'
89342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89343 (eval $ac_try) 2>&5
89344 ac_status=$?
89345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89346 (exit $ac_status); }; } &&
89347 { ac_try='test -s conftest.$ac_objext'
89348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89349 (eval $ac_try) 2>&5
89350 ac_status=$?
89351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89352 (exit $ac_status); }; }; then
89353 ac_header_compiler=yes
89354 else
89355 echo "$as_me: failed program was:" >&5
89356 sed 's/^/| /' conftest.$ac_ext >&5
89358 ac_header_compiler=no
89360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89362 echo "${ECHO_T}$ac_header_compiler" >&6
89364 # Is the header present?
89365 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89367 cat >conftest.$ac_ext <<_ACEOF
89368 /* confdefs.h. */
89369 _ACEOF
89370 cat confdefs.h >>conftest.$ac_ext
89371 cat >>conftest.$ac_ext <<_ACEOF
89372 /* end confdefs.h. */
89373 #include <$ac_header>
89374 _ACEOF
89375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89377 ac_status=$?
89378 grep -v '^ *+' conftest.er1 >conftest.err
89379 rm -f conftest.er1
89380 cat conftest.err >&5
89381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89382 (exit $ac_status); } >/dev/null; then
89383 if test -s conftest.err; then
89384 ac_cpp_err=$ac_c_preproc_warn_flag
89385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89386 else
89387 ac_cpp_err=
89389 else
89390 ac_cpp_err=yes
89392 if test -z "$ac_cpp_err"; then
89393 ac_header_preproc=yes
89394 else
89395 echo "$as_me: failed program was:" >&5
89396 sed 's/^/| /' conftest.$ac_ext >&5
89398 ac_header_preproc=no
89400 rm -f conftest.err conftest.$ac_ext
89401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89402 echo "${ECHO_T}$ac_header_preproc" >&6
89404 # So? What about this header?
89405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89406 yes:no: )
89407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89410 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89411 ac_header_preproc=yes
89413 no:yes:* )
89414 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89415 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89416 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89417 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89418 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89419 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89420 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89421 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89424 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89425 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89427 cat <<\_ASBOX
89428 ## ----------------------------------------- ##
89429 ## Report this to the package-unused lists. ##
89430 ## ----------------------------------------- ##
89431 _ASBOX
89433 sed "s/^/$as_me: WARNING: /" >&2
89435 esac
89436 echo "$as_me:$LINENO: checking for $ac_header" >&5
89437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89439 echo $ECHO_N "(cached) $ECHO_C" >&6
89440 else
89441 eval "$as_ac_Header=\$ac_header_preproc"
89443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89447 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89448 cat >>confdefs.h <<_ACEOF
89449 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89450 _ACEOF
89454 done
89457 if test "${glibcxx_cv_POLL+set}" = set; then
89458 echo $ECHO_N "(cached) $ECHO_C" >&6
89459 else
89461 if test x$gcc_no_link = xyes; then
89462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89464 { (exit 1); exit 1; }; }
89466 cat >conftest.$ac_ext <<_ACEOF
89467 /* confdefs.h. */
89468 _ACEOF
89469 cat confdefs.h >>conftest.$ac_ext
89470 cat >>conftest.$ac_ext <<_ACEOF
89471 /* end confdefs.h. */
89472 #include <poll.h>
89474 main ()
89476 struct pollfd pfd[1];
89477 pfd[0].events = POLLIN;
89478 poll(pfd, 1, 0);
89480 return 0;
89482 _ACEOF
89483 rm -f conftest.$ac_objext conftest$ac_exeext
89484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89485 (eval $ac_link) 2>conftest.er1
89486 ac_status=$?
89487 grep -v '^ *+' conftest.er1 >conftest.err
89488 rm -f conftest.er1
89489 cat conftest.err >&5
89490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89491 (exit $ac_status); } &&
89492 { ac_try='test -z "$ac_c_werror_flag"
89493 || test ! -s conftest.err'
89494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89495 (eval $ac_try) 2>&5
89496 ac_status=$?
89497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89498 (exit $ac_status); }; } &&
89499 { ac_try='test -s conftest$ac_exeext'
89500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89501 (eval $ac_try) 2>&5
89502 ac_status=$?
89503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89504 (exit $ac_status); }; }; then
89505 glibcxx_cv_POLL=yes
89506 else
89507 echo "$as_me: failed program was:" >&5
89508 sed 's/^/| /' conftest.$ac_ext >&5
89510 glibcxx_cv_POLL=no
89512 rm -f conftest.err conftest.$ac_objext \
89513 conftest$ac_exeext conftest.$ac_ext
89517 if test $glibcxx_cv_POLL = yes; then
89518 cat >>confdefs.h <<\_ACEOF
89519 #define HAVE_POLL 1
89520 _ACEOF
89525 if test "${glibcxx_cv_S_ISREG+set}" = set; then
89526 echo $ECHO_N "(cached) $ECHO_C" >&6
89527 else
89529 if test x$gcc_no_link = xyes; then
89530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89532 { (exit 1); exit 1; }; }
89534 cat >conftest.$ac_ext <<_ACEOF
89535 /* confdefs.h. */
89536 _ACEOF
89537 cat confdefs.h >>conftest.$ac_ext
89538 cat >>conftest.$ac_ext <<_ACEOF
89539 /* end confdefs.h. */
89540 #include <sys/stat.h>
89542 main ()
89544 struct stat buffer;
89545 fstat(0, &buffer);
89546 S_ISREG(buffer.st_mode);
89548 return 0;
89550 _ACEOF
89551 rm -f conftest.$ac_objext conftest$ac_exeext
89552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89553 (eval $ac_link) 2>conftest.er1
89554 ac_status=$?
89555 grep -v '^ *+' conftest.er1 >conftest.err
89556 rm -f conftest.er1
89557 cat conftest.err >&5
89558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89559 (exit $ac_status); } &&
89560 { ac_try='test -z "$ac_c_werror_flag"
89561 || test ! -s conftest.err'
89562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89563 (eval $ac_try) 2>&5
89564 ac_status=$?
89565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89566 (exit $ac_status); }; } &&
89567 { ac_try='test -s conftest$ac_exeext'
89568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89569 (eval $ac_try) 2>&5
89570 ac_status=$?
89571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89572 (exit $ac_status); }; }; then
89573 glibcxx_cv_S_ISREG=yes
89574 else
89575 echo "$as_me: failed program was:" >&5
89576 sed 's/^/| /' conftest.$ac_ext >&5
89578 glibcxx_cv_S_ISREG=no
89580 rm -f conftest.err conftest.$ac_objext \
89581 conftest$ac_exeext conftest.$ac_ext
89585 if test "${glibcxx_cv_S_IFREG+set}" = set; then
89586 echo $ECHO_N "(cached) $ECHO_C" >&6
89587 else
89589 if test x$gcc_no_link = xyes; then
89590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89592 { (exit 1); exit 1; }; }
89594 cat >conftest.$ac_ext <<_ACEOF
89595 /* confdefs.h. */
89596 _ACEOF
89597 cat confdefs.h >>conftest.$ac_ext
89598 cat >>conftest.$ac_ext <<_ACEOF
89599 /* end confdefs.h. */
89600 #include <sys/stat.h>
89602 main ()
89604 struct stat buffer;
89605 fstat(0, &buffer);
89606 S_IFREG & buffer.st_mode;
89608 return 0;
89610 _ACEOF
89611 rm -f conftest.$ac_objext conftest$ac_exeext
89612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89613 (eval $ac_link) 2>conftest.er1
89614 ac_status=$?
89615 grep -v '^ *+' conftest.er1 >conftest.err
89616 rm -f conftest.er1
89617 cat conftest.err >&5
89618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89619 (exit $ac_status); } &&
89620 { ac_try='test -z "$ac_c_werror_flag"
89621 || test ! -s conftest.err'
89622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89623 (eval $ac_try) 2>&5
89624 ac_status=$?
89625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89626 (exit $ac_status); }; } &&
89627 { ac_try='test -s conftest$ac_exeext'
89628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89629 (eval $ac_try) 2>&5
89630 ac_status=$?
89631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89632 (exit $ac_status); }; }; then
89633 glibcxx_cv_S_IFREG=yes
89634 else
89635 echo "$as_me: failed program was:" >&5
89636 sed 's/^/| /' conftest.$ac_ext >&5
89638 glibcxx_cv_S_IFREG=no
89640 rm -f conftest.err conftest.$ac_objext \
89641 conftest$ac_exeext conftest.$ac_ext
89645 if test $glibcxx_cv_S_ISREG = yes; then
89646 cat >>confdefs.h <<\_ACEOF
89647 #define HAVE_S_ISREG 1
89648 _ACEOF
89650 elif test $glibcxx_cv_S_IFREG = yes; then
89651 cat >>confdefs.h <<\_ACEOF
89652 #define HAVE_S_IFREG 1
89653 _ACEOF
89658 # For xsputn_2().
89660 for ac_header in sys/uio.h
89662 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89664 echo "$as_me:$LINENO: checking for $ac_header" >&5
89665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89667 echo $ECHO_N "(cached) $ECHO_C" >&6
89669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89671 else
89672 # Is the header compilable?
89673 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89675 cat >conftest.$ac_ext <<_ACEOF
89676 /* confdefs.h. */
89677 _ACEOF
89678 cat confdefs.h >>conftest.$ac_ext
89679 cat >>conftest.$ac_ext <<_ACEOF
89680 /* end confdefs.h. */
89681 $ac_includes_default
89682 #include <$ac_header>
89683 _ACEOF
89684 rm -f conftest.$ac_objext
89685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89686 (eval $ac_compile) 2>conftest.er1
89687 ac_status=$?
89688 grep -v '^ *+' conftest.er1 >conftest.err
89689 rm -f conftest.er1
89690 cat conftest.err >&5
89691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89692 (exit $ac_status); } &&
89693 { ac_try='test -z "$ac_c_werror_flag"
89694 || test ! -s conftest.err'
89695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89696 (eval $ac_try) 2>&5
89697 ac_status=$?
89698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89699 (exit $ac_status); }; } &&
89700 { ac_try='test -s conftest.$ac_objext'
89701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89702 (eval $ac_try) 2>&5
89703 ac_status=$?
89704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89705 (exit $ac_status); }; }; then
89706 ac_header_compiler=yes
89707 else
89708 echo "$as_me: failed program was:" >&5
89709 sed 's/^/| /' conftest.$ac_ext >&5
89711 ac_header_compiler=no
89713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89715 echo "${ECHO_T}$ac_header_compiler" >&6
89717 # Is the header present?
89718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89720 cat >conftest.$ac_ext <<_ACEOF
89721 /* confdefs.h. */
89722 _ACEOF
89723 cat confdefs.h >>conftest.$ac_ext
89724 cat >>conftest.$ac_ext <<_ACEOF
89725 /* end confdefs.h. */
89726 #include <$ac_header>
89727 _ACEOF
89728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89730 ac_status=$?
89731 grep -v '^ *+' conftest.er1 >conftest.err
89732 rm -f conftest.er1
89733 cat conftest.err >&5
89734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89735 (exit $ac_status); } >/dev/null; then
89736 if test -s conftest.err; then
89737 ac_cpp_err=$ac_c_preproc_warn_flag
89738 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89739 else
89740 ac_cpp_err=
89742 else
89743 ac_cpp_err=yes
89745 if test -z "$ac_cpp_err"; then
89746 ac_header_preproc=yes
89747 else
89748 echo "$as_me: failed program was:" >&5
89749 sed 's/^/| /' conftest.$ac_ext >&5
89751 ac_header_preproc=no
89753 rm -f conftest.err conftest.$ac_ext
89754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89755 echo "${ECHO_T}$ac_header_preproc" >&6
89757 # So? What about this header?
89758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89759 yes:no: )
89760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89764 ac_header_preproc=yes
89766 no:yes:* )
89767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89780 cat <<\_ASBOX
89781 ## ----------------------------------------- ##
89782 ## Report this to the package-unused lists. ##
89783 ## ----------------------------------------- ##
89784 _ASBOX
89786 sed "s/^/$as_me: WARNING: /" >&2
89788 esac
89789 echo "$as_me:$LINENO: checking for $ac_header" >&5
89790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89792 echo $ECHO_N "(cached) $ECHO_C" >&6
89793 else
89794 eval "$as_ac_Header=\$ac_header_preproc"
89796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89801 cat >>confdefs.h <<_ACEOF
89802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89803 _ACEOF
89807 done
89810 if test "${glibcxx_cv_WRITEV+set}" = set; then
89811 echo $ECHO_N "(cached) $ECHO_C" >&6
89812 else
89814 if test x$gcc_no_link = xyes; then
89815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89817 { (exit 1); exit 1; }; }
89819 cat >conftest.$ac_ext <<_ACEOF
89820 /* confdefs.h. */
89821 _ACEOF
89822 cat confdefs.h >>conftest.$ac_ext
89823 cat >>conftest.$ac_ext <<_ACEOF
89824 /* end confdefs.h. */
89825 #include <sys/uio.h>
89827 main ()
89829 struct iovec iov[2];
89830 writev(0, iov, 0);
89832 return 0;
89834 _ACEOF
89835 rm -f conftest.$ac_objext conftest$ac_exeext
89836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89837 (eval $ac_link) 2>conftest.er1
89838 ac_status=$?
89839 grep -v '^ *+' conftest.er1 >conftest.err
89840 rm -f conftest.er1
89841 cat conftest.err >&5
89842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89843 (exit $ac_status); } &&
89844 { ac_try='test -z "$ac_c_werror_flag"
89845 || test ! -s conftest.err'
89846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89847 (eval $ac_try) 2>&5
89848 ac_status=$?
89849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89850 (exit $ac_status); }; } &&
89851 { ac_try='test -s conftest$ac_exeext'
89852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89853 (eval $ac_try) 2>&5
89854 ac_status=$?
89855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89856 (exit $ac_status); }; }; then
89857 glibcxx_cv_WRITEV=yes
89858 else
89859 echo "$as_me: failed program was:" >&5
89860 sed 's/^/| /' conftest.$ac_ext >&5
89862 glibcxx_cv_WRITEV=no
89864 rm -f conftest.err conftest.$ac_objext \
89865 conftest$ac_exeext conftest.$ac_ext
89869 if test $glibcxx_cv_WRITEV = yes; then
89870 cat >>confdefs.h <<\_ACEOF
89871 #define HAVE_WRITEV 1
89872 _ACEOF
89877 *-qnx6.1* | *-qnx6.2*)
89878 SECTION_FLAGS='-ffunction-sections -fdata-sections'
89881 # If we're not using GNU ld, then there's no point in even trying these
89882 # tests. Check for that first. We should have already tested for gld
89883 # by now (in libtool), but require it now just to be safe...
89884 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
89885 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
89889 # The name set by libtool depends on the version of libtool. Shame on us
89890 # for depending on an impl detail, but c'est la vie. Older versions used
89891 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
89892 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
89893 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
89894 # set (hence we're using an older libtool), then set it.
89895 if test x${with_gnu_ld+set} != xset; then
89896 if test x${ac_cv_prog_gnu_ld+set} != xset; then
89897 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
89898 with_gnu_ld=no
89899 else
89900 with_gnu_ld=$ac_cv_prog_gnu_ld
89904 # Start by getting the version number. I think the libtool test already
89905 # does some of this, but throws away the result.
89907 ldver=`$LD --version 2>/dev/null | head -1 | \
89908 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
89910 glibcxx_gnu_ld_version=`echo $ldver | \
89911 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
89913 # Set --gc-sections.
89914 if test "$with_gnu_ld" = "notbroken"; then
89915 # GNU ld it is! Joy and bunny rabbits!
89917 # All these tests are for C++; save the language and the compiler flags.
89918 # Need to do this so that g++ won't try to link in libstdc++
89919 ac_test_CFLAGS="${CFLAGS+set}"
89920 ac_save_CFLAGS="$CFLAGS"
89921 CFLAGS='-x c++ -Wl,--gc-sections'
89923 # Check for -Wl,--gc-sections
89924 # XXX This test is broken at the moment, as symbols required for linking
89925 # are now in libsupc++ (not built yet). In addition, this test has
89926 # cored on solaris in the past. In addition, --gc-sections doesn't
89927 # really work at the moment (keeps on discarding used sections, first
89928 # .eh_frame and now some of the glibc sections for iconv).
89929 # Bzzzzt. Thanks for playing, maybe next time.
89930 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89931 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89932 if test "$cross_compiling" = yes; then
89933 ac_sectionLDflags=yes
89934 else
89935 cat >conftest.$ac_ext <<_ACEOF
89936 /* confdefs.h. */
89937 _ACEOF
89938 cat confdefs.h >>conftest.$ac_ext
89939 cat >>conftest.$ac_ext <<_ACEOF
89940 /* end confdefs.h. */
89942 int main(void)
89944 try { throw 1; }
89945 catch (...) { };
89946 return 0;
89949 _ACEOF
89950 rm -f conftest$ac_exeext
89951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89952 (eval $ac_link) 2>&5
89953 ac_status=$?
89954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
89956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89957 (eval $ac_try) 2>&5
89958 ac_status=$?
89959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89960 (exit $ac_status); }; }; then
89961 ac_sectionLDflags=yes
89962 else
89963 echo "$as_me: program exited with status $ac_status" >&5
89964 echo "$as_me: failed program was:" >&5
89965 sed 's/^/| /' conftest.$ac_ext >&5
89967 ( exit $ac_status )
89968 ac_sectionLDflags=no
89970 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
89972 if test "$ac_test_CFLAGS" = set; then
89973 CFLAGS="$ac_save_CFLAGS"
89974 else
89975 # this is the suspicious part
89976 CFLAGS=''
89978 if test "$ac_sectionLDflags" = "yes"; then
89979 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
89981 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
89982 echo "${ECHO_T}$ac_sectionLDflags" >&6
89985 # Set linker optimization flags.
89986 if test x"$with_gnu_ld" = x"yes"; then
89987 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
89995 echo "$as_me:$LINENO: checking for main in -lm" >&5
89996 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
89997 if test "${ac_cv_lib_m_main+set}" = set; then
89998 echo $ECHO_N "(cached) $ECHO_C" >&6
89999 else
90000 ac_check_lib_save_LIBS=$LIBS
90001 LIBS="-lm $LIBS"
90002 if test x$gcc_no_link = xyes; then
90003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90005 { (exit 1); exit 1; }; }
90007 cat >conftest.$ac_ext <<_ACEOF
90008 /* confdefs.h. */
90009 _ACEOF
90010 cat confdefs.h >>conftest.$ac_ext
90011 cat >>conftest.$ac_ext <<_ACEOF
90012 /* end confdefs.h. */
90016 main ()
90018 main ();
90020 return 0;
90022 _ACEOF
90023 rm -f conftest.$ac_objext conftest$ac_exeext
90024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90025 (eval $ac_link) 2>conftest.er1
90026 ac_status=$?
90027 grep -v '^ *+' conftest.er1 >conftest.err
90028 rm -f conftest.er1
90029 cat conftest.err >&5
90030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90031 (exit $ac_status); } &&
90032 { ac_try='test -z "$ac_c_werror_flag"
90033 || test ! -s conftest.err'
90034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90035 (eval $ac_try) 2>&5
90036 ac_status=$?
90037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90038 (exit $ac_status); }; } &&
90039 { ac_try='test -s conftest$ac_exeext'
90040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90041 (eval $ac_try) 2>&5
90042 ac_status=$?
90043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90044 (exit $ac_status); }; }; then
90045 ac_cv_lib_m_main=yes
90046 else
90047 echo "$as_me: failed program was:" >&5
90048 sed 's/^/| /' conftest.$ac_ext >&5
90050 ac_cv_lib_m_main=no
90052 rm -f conftest.err conftest.$ac_objext \
90053 conftest$ac_exeext conftest.$ac_ext
90054 LIBS=$ac_check_lib_save_LIBS
90056 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90057 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90058 if test $ac_cv_lib_m_main = yes; then
90059 cat >>confdefs.h <<_ACEOF
90060 #define HAVE_LIBM 1
90061 _ACEOF
90063 LIBS="-lm $LIBS"
90068 for ac_func in copysignf
90070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90071 echo "$as_me:$LINENO: checking for $ac_func" >&5
90072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90073 if eval "test \"\${$as_ac_var+set}\" = set"; then
90074 echo $ECHO_N "(cached) $ECHO_C" >&6
90075 else
90076 if test x$gcc_no_link = xyes; then
90077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90079 { (exit 1); exit 1; }; }
90081 cat >conftest.$ac_ext <<_ACEOF
90082 /* confdefs.h. */
90083 _ACEOF
90084 cat confdefs.h >>conftest.$ac_ext
90085 cat >>conftest.$ac_ext <<_ACEOF
90086 /* end confdefs.h. */
90087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90089 #define $ac_func innocuous_$ac_func
90091 /* System header to define __stub macros and hopefully few prototypes,
90092 which can conflict with char $ac_func (); below.
90093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90094 <limits.h> exists even on freestanding compilers. */
90096 #ifdef __STDC__
90097 # include <limits.h>
90098 #else
90099 # include <assert.h>
90100 #endif
90102 #undef $ac_func
90104 /* Override any gcc2 internal prototype to avoid an error. */
90105 #ifdef __cplusplus
90106 extern "C"
90108 #endif
90109 /* We use char because int might match the return type of a gcc2
90110 builtin and then its argument prototype would still apply. */
90111 char $ac_func ();
90112 /* The GNU C library defines this for functions which it implements
90113 to always fail with ENOSYS. Some functions are actually named
90114 something starting with __ and the normal name is an alias. */
90115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90116 choke me
90117 #else
90118 char (*f) () = $ac_func;
90119 #endif
90120 #ifdef __cplusplus
90122 #endif
90125 main ()
90127 return f != $ac_func;
90129 return 0;
90131 _ACEOF
90132 rm -f conftest.$ac_objext conftest$ac_exeext
90133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90134 (eval $ac_link) 2>conftest.er1
90135 ac_status=$?
90136 grep -v '^ *+' conftest.er1 >conftest.err
90137 rm -f conftest.er1
90138 cat conftest.err >&5
90139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90140 (exit $ac_status); } &&
90141 { ac_try='test -z "$ac_c_werror_flag"
90142 || test ! -s conftest.err'
90143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90144 (eval $ac_try) 2>&5
90145 ac_status=$?
90146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90147 (exit $ac_status); }; } &&
90148 { ac_try='test -s conftest$ac_exeext'
90149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90150 (eval $ac_try) 2>&5
90151 ac_status=$?
90152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90153 (exit $ac_status); }; }; then
90154 eval "$as_ac_var=yes"
90155 else
90156 echo "$as_me: failed program was:" >&5
90157 sed 's/^/| /' conftest.$ac_ext >&5
90159 eval "$as_ac_var=no"
90161 rm -f conftest.err conftest.$ac_objext \
90162 conftest$ac_exeext conftest.$ac_ext
90164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90166 if test `eval echo '${'$as_ac_var'}'` = yes; then
90167 cat >>confdefs.h <<_ACEOF
90168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90169 _ACEOF
90171 else
90172 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
90174 done
90178 for ac_func in __signbit
90180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90181 echo "$as_me:$LINENO: checking for $ac_func" >&5
90182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90183 if eval "test \"\${$as_ac_var+set}\" = set"; then
90184 echo $ECHO_N "(cached) $ECHO_C" >&6
90185 else
90186 if test x$gcc_no_link = xyes; then
90187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90189 { (exit 1); exit 1; }; }
90191 cat >conftest.$ac_ext <<_ACEOF
90192 /* confdefs.h. */
90193 _ACEOF
90194 cat confdefs.h >>conftest.$ac_ext
90195 cat >>conftest.$ac_ext <<_ACEOF
90196 /* end confdefs.h. */
90197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90199 #define $ac_func innocuous_$ac_func
90201 /* System header to define __stub macros and hopefully few prototypes,
90202 which can conflict with char $ac_func (); below.
90203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90204 <limits.h> exists even on freestanding compilers. */
90206 #ifdef __STDC__
90207 # include <limits.h>
90208 #else
90209 # include <assert.h>
90210 #endif
90212 #undef $ac_func
90214 /* Override any gcc2 internal prototype to avoid an error. */
90215 #ifdef __cplusplus
90216 extern "C"
90218 #endif
90219 /* We use char because int might match the return type of a gcc2
90220 builtin and then its argument prototype would still apply. */
90221 char $ac_func ();
90222 /* The GNU C library defines this for functions which it implements
90223 to always fail with ENOSYS. Some functions are actually named
90224 something starting with __ and the normal name is an alias. */
90225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90226 choke me
90227 #else
90228 char (*f) () = $ac_func;
90229 #endif
90230 #ifdef __cplusplus
90232 #endif
90235 main ()
90237 return f != $ac_func;
90239 return 0;
90241 _ACEOF
90242 rm -f conftest.$ac_objext conftest$ac_exeext
90243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90244 (eval $ac_link) 2>conftest.er1
90245 ac_status=$?
90246 grep -v '^ *+' conftest.er1 >conftest.err
90247 rm -f conftest.er1
90248 cat conftest.err >&5
90249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90250 (exit $ac_status); } &&
90251 { ac_try='test -z "$ac_c_werror_flag"
90252 || test ! -s conftest.err'
90253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90254 (eval $ac_try) 2>&5
90255 ac_status=$?
90256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90257 (exit $ac_status); }; } &&
90258 { ac_try='test -s conftest$ac_exeext'
90259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90260 (eval $ac_try) 2>&5
90261 ac_status=$?
90262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90263 (exit $ac_status); }; }; then
90264 eval "$as_ac_var=yes"
90265 else
90266 echo "$as_me: failed program was:" >&5
90267 sed 's/^/| /' conftest.$ac_ext >&5
90269 eval "$as_ac_var=no"
90271 rm -f conftest.err conftest.$ac_objext \
90272 conftest$ac_exeext conftest.$ac_ext
90274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90276 if test `eval echo '${'$as_ac_var'}'` = yes; then
90277 cat >>confdefs.h <<_ACEOF
90278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90279 _ACEOF
90281 else
90282 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
90284 done
90288 for ac_func in __signbitf
90290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90291 echo "$as_me:$LINENO: checking for $ac_func" >&5
90292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90293 if eval "test \"\${$as_ac_var+set}\" = set"; then
90294 echo $ECHO_N "(cached) $ECHO_C" >&6
90295 else
90296 if test x$gcc_no_link = xyes; then
90297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90299 { (exit 1); exit 1; }; }
90301 cat >conftest.$ac_ext <<_ACEOF
90302 /* confdefs.h. */
90303 _ACEOF
90304 cat confdefs.h >>conftest.$ac_ext
90305 cat >>conftest.$ac_ext <<_ACEOF
90306 /* end confdefs.h. */
90307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90309 #define $ac_func innocuous_$ac_func
90311 /* System header to define __stub macros and hopefully few prototypes,
90312 which can conflict with char $ac_func (); below.
90313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90314 <limits.h> exists even on freestanding compilers. */
90316 #ifdef __STDC__
90317 # include <limits.h>
90318 #else
90319 # include <assert.h>
90320 #endif
90322 #undef $ac_func
90324 /* Override any gcc2 internal prototype to avoid an error. */
90325 #ifdef __cplusplus
90326 extern "C"
90328 #endif
90329 /* We use char because int might match the return type of a gcc2
90330 builtin and then its argument prototype would still apply. */
90331 char $ac_func ();
90332 /* The GNU C library defines this for functions which it implements
90333 to always fail with ENOSYS. Some functions are actually named
90334 something starting with __ and the normal name is an alias. */
90335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90336 choke me
90337 #else
90338 char (*f) () = $ac_func;
90339 #endif
90340 #ifdef __cplusplus
90342 #endif
90345 main ()
90347 return f != $ac_func;
90349 return 0;
90351 _ACEOF
90352 rm -f conftest.$ac_objext conftest$ac_exeext
90353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90354 (eval $ac_link) 2>conftest.er1
90355 ac_status=$?
90356 grep -v '^ *+' conftest.er1 >conftest.err
90357 rm -f conftest.er1
90358 cat conftest.err >&5
90359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90360 (exit $ac_status); } &&
90361 { ac_try='test -z "$ac_c_werror_flag"
90362 || test ! -s conftest.err'
90363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90364 (eval $ac_try) 2>&5
90365 ac_status=$?
90366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90367 (exit $ac_status); }; } &&
90368 { ac_try='test -s conftest$ac_exeext'
90369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90370 (eval $ac_try) 2>&5
90371 ac_status=$?
90372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90373 (exit $ac_status); }; }; then
90374 eval "$as_ac_var=yes"
90375 else
90376 echo "$as_me: failed program was:" >&5
90377 sed 's/^/| /' conftest.$ac_ext >&5
90379 eval "$as_ac_var=no"
90381 rm -f conftest.err conftest.$ac_objext \
90382 conftest$ac_exeext conftest.$ac_ext
90384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90386 if test `eval echo '${'$as_ac_var'}'` = yes; then
90387 cat >>confdefs.h <<_ACEOF
90388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90389 _ACEOF
90391 else
90392 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90394 done
90397 if test x$ac_cv_func_copysignl = x"yes"; then
90399 for ac_func in __signbitl
90401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90402 echo "$as_me:$LINENO: checking for $ac_func" >&5
90403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90404 if eval "test \"\${$as_ac_var+set}\" = set"; then
90405 echo $ECHO_N "(cached) $ECHO_C" >&6
90406 else
90407 if test x$gcc_no_link = xyes; then
90408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90410 { (exit 1); exit 1; }; }
90412 cat >conftest.$ac_ext <<_ACEOF
90413 /* confdefs.h. */
90414 _ACEOF
90415 cat confdefs.h >>conftest.$ac_ext
90416 cat >>conftest.$ac_ext <<_ACEOF
90417 /* end confdefs.h. */
90418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90420 #define $ac_func innocuous_$ac_func
90422 /* System header to define __stub macros and hopefully few prototypes,
90423 which can conflict with char $ac_func (); below.
90424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90425 <limits.h> exists even on freestanding compilers. */
90427 #ifdef __STDC__
90428 # include <limits.h>
90429 #else
90430 # include <assert.h>
90431 #endif
90433 #undef $ac_func
90435 /* Override any gcc2 internal prototype to avoid an error. */
90436 #ifdef __cplusplus
90437 extern "C"
90439 #endif
90440 /* We use char because int might match the return type of a gcc2
90441 builtin and then its argument prototype would still apply. */
90442 char $ac_func ();
90443 /* The GNU C library defines this for functions which it implements
90444 to always fail with ENOSYS. Some functions are actually named
90445 something starting with __ and the normal name is an alias. */
90446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90447 choke me
90448 #else
90449 char (*f) () = $ac_func;
90450 #endif
90451 #ifdef __cplusplus
90453 #endif
90456 main ()
90458 return f != $ac_func;
90460 return 0;
90462 _ACEOF
90463 rm -f conftest.$ac_objext conftest$ac_exeext
90464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90465 (eval $ac_link) 2>conftest.er1
90466 ac_status=$?
90467 grep -v '^ *+' conftest.er1 >conftest.err
90468 rm -f conftest.er1
90469 cat conftest.err >&5
90470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90471 (exit $ac_status); } &&
90472 { ac_try='test -z "$ac_c_werror_flag"
90473 || test ! -s conftest.err'
90474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90475 (eval $ac_try) 2>&5
90476 ac_status=$?
90477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90478 (exit $ac_status); }; } &&
90479 { ac_try='test -s conftest$ac_exeext'
90480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90481 (eval $ac_try) 2>&5
90482 ac_status=$?
90483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90484 (exit $ac_status); }; }; then
90485 eval "$as_ac_var=yes"
90486 else
90487 echo "$as_me: failed program was:" >&5
90488 sed 's/^/| /' conftest.$ac_ext >&5
90490 eval "$as_ac_var=no"
90492 rm -f conftest.err conftest.$ac_objext \
90493 conftest$ac_exeext conftest.$ac_ext
90495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90497 if test `eval echo '${'$as_ac_var'}'` = yes; then
90498 cat >>confdefs.h <<_ACEOF
90499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90500 _ACEOF
90502 else
90503 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90505 done
90509 # Used in libmath/Makefile.am.
90510 if test -n "$LIBMATHOBJS"; then
90511 need_libmath=yes
90516 # Test wchar.h for mbstate_t, which is needed for char_traits and
90517 # others even if wchar_t support is not on.
90518 echo "$as_me:$LINENO: checking for mbstate_t" >&5
90519 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
90520 cat >conftest.$ac_ext <<_ACEOF
90521 /* confdefs.h. */
90522 _ACEOF
90523 cat confdefs.h >>conftest.$ac_ext
90524 cat >>conftest.$ac_ext <<_ACEOF
90525 /* end confdefs.h. */
90526 #include <wchar.h>
90528 main ()
90530 mbstate_t teststate;
90532 return 0;
90534 _ACEOF
90535 rm -f conftest.$ac_objext
90536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90537 (eval $ac_compile) 2>conftest.er1
90538 ac_status=$?
90539 grep -v '^ *+' conftest.er1 >conftest.err
90540 rm -f conftest.er1
90541 cat conftest.err >&5
90542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90543 (exit $ac_status); } &&
90544 { ac_try='test -z "$ac_c_werror_flag"
90545 || test ! -s conftest.err'
90546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90547 (eval $ac_try) 2>&5
90548 ac_status=$?
90549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90550 (exit $ac_status); }; } &&
90551 { ac_try='test -s conftest.$ac_objext'
90552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90553 (eval $ac_try) 2>&5
90554 ac_status=$?
90555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90556 (exit $ac_status); }; }; then
90557 have_mbstate_t=yes
90558 else
90559 echo "$as_me: failed program was:" >&5
90560 sed 's/^/| /' conftest.$ac_ext >&5
90562 have_mbstate_t=no
90564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90565 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
90566 echo "${ECHO_T}$have_mbstate_t" >&6
90567 if test x"$have_mbstate_t" = xyes; then
90568 cat >>confdefs.h <<\_ACEOF
90569 #define HAVE_MBSTATE_T 1
90570 _ACEOF
90574 # Sanity check for existence of ISO C99 headers for extended encoding.
90576 for ac_header in wchar.h
90578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90580 echo "$as_me:$LINENO: checking for $ac_header" >&5
90581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90583 echo $ECHO_N "(cached) $ECHO_C" >&6
90585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90587 else
90588 # Is the header compilable?
90589 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90590 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90591 cat >conftest.$ac_ext <<_ACEOF
90592 /* confdefs.h. */
90593 _ACEOF
90594 cat confdefs.h >>conftest.$ac_ext
90595 cat >>conftest.$ac_ext <<_ACEOF
90596 /* end confdefs.h. */
90597 $ac_includes_default
90598 #include <$ac_header>
90599 _ACEOF
90600 rm -f conftest.$ac_objext
90601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90602 (eval $ac_compile) 2>conftest.er1
90603 ac_status=$?
90604 grep -v '^ *+' conftest.er1 >conftest.err
90605 rm -f conftest.er1
90606 cat conftest.err >&5
90607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90608 (exit $ac_status); } &&
90609 { ac_try='test -z "$ac_c_werror_flag"
90610 || test ! -s conftest.err'
90611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90612 (eval $ac_try) 2>&5
90613 ac_status=$?
90614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90615 (exit $ac_status); }; } &&
90616 { ac_try='test -s conftest.$ac_objext'
90617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90618 (eval $ac_try) 2>&5
90619 ac_status=$?
90620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90621 (exit $ac_status); }; }; then
90622 ac_header_compiler=yes
90623 else
90624 echo "$as_me: failed program was:" >&5
90625 sed 's/^/| /' conftest.$ac_ext >&5
90627 ac_header_compiler=no
90629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90631 echo "${ECHO_T}$ac_header_compiler" >&6
90633 # Is the header present?
90634 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90635 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90636 cat >conftest.$ac_ext <<_ACEOF
90637 /* confdefs.h. */
90638 _ACEOF
90639 cat confdefs.h >>conftest.$ac_ext
90640 cat >>conftest.$ac_ext <<_ACEOF
90641 /* end confdefs.h. */
90642 #include <$ac_header>
90643 _ACEOF
90644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90646 ac_status=$?
90647 grep -v '^ *+' conftest.er1 >conftest.err
90648 rm -f conftest.er1
90649 cat conftest.err >&5
90650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90651 (exit $ac_status); } >/dev/null; then
90652 if test -s conftest.err; then
90653 ac_cpp_err=$ac_c_preproc_warn_flag
90654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90655 else
90656 ac_cpp_err=
90658 else
90659 ac_cpp_err=yes
90661 if test -z "$ac_cpp_err"; then
90662 ac_header_preproc=yes
90663 else
90664 echo "$as_me: failed program was:" >&5
90665 sed 's/^/| /' conftest.$ac_ext >&5
90667 ac_header_preproc=no
90669 rm -f conftest.err conftest.$ac_ext
90670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90671 echo "${ECHO_T}$ac_header_preproc" >&6
90673 # So? What about this header?
90674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90675 yes:no: )
90676 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90677 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90679 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90680 ac_header_preproc=yes
90682 no:yes:* )
90683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90687 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90688 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90689 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90690 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90693 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90694 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90696 cat <<\_ASBOX
90697 ## ----------------------------------------- ##
90698 ## Report this to the package-unused lists. ##
90699 ## ----------------------------------------- ##
90700 _ASBOX
90702 sed "s/^/$as_me: WARNING: /" >&2
90704 esac
90705 echo "$as_me:$LINENO: checking for $ac_header" >&5
90706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90708 echo $ECHO_N "(cached) $ECHO_C" >&6
90709 else
90710 eval "$as_ac_Header=\$ac_header_preproc"
90712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90717 cat >>confdefs.h <<_ACEOF
90718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90719 _ACEOF
90720 ac_has_wchar_h=yes
90721 else
90722 ac_has_wchar_h=no
90725 done
90728 for ac_header in wctype.h
90730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90732 echo "$as_me:$LINENO: checking for $ac_header" >&5
90733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90735 echo $ECHO_N "(cached) $ECHO_C" >&6
90737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90739 else
90740 # Is the header compilable?
90741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90743 cat >conftest.$ac_ext <<_ACEOF
90744 /* confdefs.h. */
90745 _ACEOF
90746 cat confdefs.h >>conftest.$ac_ext
90747 cat >>conftest.$ac_ext <<_ACEOF
90748 /* end confdefs.h. */
90749 $ac_includes_default
90750 #include <$ac_header>
90751 _ACEOF
90752 rm -f conftest.$ac_objext
90753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90754 (eval $ac_compile) 2>conftest.er1
90755 ac_status=$?
90756 grep -v '^ *+' conftest.er1 >conftest.err
90757 rm -f conftest.er1
90758 cat conftest.err >&5
90759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90760 (exit $ac_status); } &&
90761 { ac_try='test -z "$ac_c_werror_flag"
90762 || test ! -s conftest.err'
90763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90764 (eval $ac_try) 2>&5
90765 ac_status=$?
90766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90767 (exit $ac_status); }; } &&
90768 { ac_try='test -s conftest.$ac_objext'
90769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90770 (eval $ac_try) 2>&5
90771 ac_status=$?
90772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90773 (exit $ac_status); }; }; then
90774 ac_header_compiler=yes
90775 else
90776 echo "$as_me: failed program was:" >&5
90777 sed 's/^/| /' conftest.$ac_ext >&5
90779 ac_header_compiler=no
90781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90783 echo "${ECHO_T}$ac_header_compiler" >&6
90785 # Is the header present?
90786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90788 cat >conftest.$ac_ext <<_ACEOF
90789 /* confdefs.h. */
90790 _ACEOF
90791 cat confdefs.h >>conftest.$ac_ext
90792 cat >>conftest.$ac_ext <<_ACEOF
90793 /* end confdefs.h. */
90794 #include <$ac_header>
90795 _ACEOF
90796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90797 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90798 ac_status=$?
90799 grep -v '^ *+' conftest.er1 >conftest.err
90800 rm -f conftest.er1
90801 cat conftest.err >&5
90802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90803 (exit $ac_status); } >/dev/null; then
90804 if test -s conftest.err; then
90805 ac_cpp_err=$ac_c_preproc_warn_flag
90806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90807 else
90808 ac_cpp_err=
90810 else
90811 ac_cpp_err=yes
90813 if test -z "$ac_cpp_err"; then
90814 ac_header_preproc=yes
90815 else
90816 echo "$as_me: failed program was:" >&5
90817 sed 's/^/| /' conftest.$ac_ext >&5
90819 ac_header_preproc=no
90821 rm -f conftest.err conftest.$ac_ext
90822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90823 echo "${ECHO_T}$ac_header_preproc" >&6
90825 # So? What about this header?
90826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90827 yes:no: )
90828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90832 ac_header_preproc=yes
90834 no:yes:* )
90835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90848 cat <<\_ASBOX
90849 ## ----------------------------------------- ##
90850 ## Report this to the package-unused lists. ##
90851 ## ----------------------------------------- ##
90852 _ASBOX
90854 sed "s/^/$as_me: WARNING: /" >&2
90856 esac
90857 echo "$as_me:$LINENO: checking for $ac_header" >&5
90858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90860 echo $ECHO_N "(cached) $ECHO_C" >&6
90861 else
90862 eval "$as_ac_Header=\$ac_header_preproc"
90864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90869 cat >>confdefs.h <<_ACEOF
90870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90871 _ACEOF
90872 ac_has_wctype_h=yes
90873 else
90874 ac_has_wctype_h=no
90877 done
90880 # Only continue checking if the ISO C99 headers exist and support is on.
90881 if test x"$ac_has_wchar_h" = xyes &&
90882 test x"$ac_has_wctype_h" = xyes &&
90883 test x"$enable_c_mbchar" != xno; then
90885 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
90886 # numeric_limits can instantiate type_traits<wchar_t>
90887 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
90888 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
90889 cat >conftest.$ac_ext <<_ACEOF
90890 /* confdefs.h. */
90891 _ACEOF
90892 cat confdefs.h >>conftest.$ac_ext
90893 cat >>conftest.$ac_ext <<_ACEOF
90894 /* end confdefs.h. */
90895 #include <wchar.h>
90897 main ()
90899 int i = WCHAR_MIN; int j = WCHAR_MAX;
90901 return 0;
90903 _ACEOF
90904 rm -f conftest.$ac_objext
90905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90906 (eval $ac_compile) 2>conftest.er1
90907 ac_status=$?
90908 grep -v '^ *+' conftest.er1 >conftest.err
90909 rm -f conftest.er1
90910 cat conftest.err >&5
90911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90912 (exit $ac_status); } &&
90913 { ac_try='test -z "$ac_c_werror_flag"
90914 || test ! -s conftest.err'
90915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90916 (eval $ac_try) 2>&5
90917 ac_status=$?
90918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90919 (exit $ac_status); }; } &&
90920 { ac_try='test -s conftest.$ac_objext'
90921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90922 (eval $ac_try) 2>&5
90923 ac_status=$?
90924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90925 (exit $ac_status); }; }; then
90926 has_wchar_minmax=yes
90927 else
90928 echo "$as_me: failed program was:" >&5
90929 sed 's/^/| /' conftest.$ac_ext >&5
90931 has_wchar_minmax=no
90933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90934 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
90935 echo "${ECHO_T}$has_wchar_minmax" >&6
90937 # Test wchar.h for WEOF, which is what we use to determine whether
90938 # to specialize for char_traits<wchar_t> or not.
90939 echo "$as_me:$LINENO: checking for WEOF" >&5
90940 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
90941 cat >conftest.$ac_ext <<_ACEOF
90942 /* confdefs.h. */
90943 _ACEOF
90944 cat confdefs.h >>conftest.$ac_ext
90945 cat >>conftest.$ac_ext <<_ACEOF
90946 /* end confdefs.h. */
90948 #include <wchar.h>
90949 #include <stddef.h>
90951 main ()
90953 wint_t i = WEOF;
90955 return 0;
90957 _ACEOF
90958 rm -f conftest.$ac_objext
90959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90960 (eval $ac_compile) 2>conftest.er1
90961 ac_status=$?
90962 grep -v '^ *+' conftest.er1 >conftest.err
90963 rm -f conftest.er1
90964 cat conftest.err >&5
90965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90966 (exit $ac_status); } &&
90967 { ac_try='test -z "$ac_c_werror_flag"
90968 || test ! -s conftest.err'
90969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90970 (eval $ac_try) 2>&5
90971 ac_status=$?
90972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90973 (exit $ac_status); }; } &&
90974 { ac_try='test -s conftest.$ac_objext'
90975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90976 (eval $ac_try) 2>&5
90977 ac_status=$?
90978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90979 (exit $ac_status); }; }; then
90980 has_weof=yes
90981 else
90982 echo "$as_me: failed program was:" >&5
90983 sed 's/^/| /' conftest.$ac_ext >&5
90985 has_weof=no
90987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90988 echo "$as_me:$LINENO: result: $has_weof" >&5
90989 echo "${ECHO_T}$has_weof" >&6
90991 # Tests for wide character functions used in char_traits<wchar_t>.
90992 ac_wfuncs=yes
90999 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
91001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91002 echo "$as_me:$LINENO: checking for $ac_func" >&5
91003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91004 if eval "test \"\${$as_ac_var+set}\" = set"; then
91005 echo $ECHO_N "(cached) $ECHO_C" >&6
91006 else
91007 if test x$gcc_no_link = xyes; then
91008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91010 { (exit 1); exit 1; }; }
91012 cat >conftest.$ac_ext <<_ACEOF
91013 /* confdefs.h. */
91014 _ACEOF
91015 cat confdefs.h >>conftest.$ac_ext
91016 cat >>conftest.$ac_ext <<_ACEOF
91017 /* end confdefs.h. */
91018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91020 #define $ac_func innocuous_$ac_func
91022 /* System header to define __stub macros and hopefully few prototypes,
91023 which can conflict with char $ac_func (); below.
91024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91025 <limits.h> exists even on freestanding compilers. */
91027 #ifdef __STDC__
91028 # include <limits.h>
91029 #else
91030 # include <assert.h>
91031 #endif
91033 #undef $ac_func
91035 /* Override any gcc2 internal prototype to avoid an error. */
91036 #ifdef __cplusplus
91037 extern "C"
91039 #endif
91040 /* We use char because int might match the return type of a gcc2
91041 builtin and then its argument prototype would still apply. */
91042 char $ac_func ();
91043 /* The GNU C library defines this for functions which it implements
91044 to always fail with ENOSYS. Some functions are actually named
91045 something starting with __ and the normal name is an alias. */
91046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91047 choke me
91048 #else
91049 char (*f) () = $ac_func;
91050 #endif
91051 #ifdef __cplusplus
91053 #endif
91056 main ()
91058 return f != $ac_func;
91060 return 0;
91062 _ACEOF
91063 rm -f conftest.$ac_objext conftest$ac_exeext
91064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91065 (eval $ac_link) 2>conftest.er1
91066 ac_status=$?
91067 grep -v '^ *+' conftest.er1 >conftest.err
91068 rm -f conftest.er1
91069 cat conftest.err >&5
91070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91071 (exit $ac_status); } &&
91072 { ac_try='test -z "$ac_c_werror_flag"
91073 || test ! -s conftest.err'
91074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91075 (eval $ac_try) 2>&5
91076 ac_status=$?
91077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91078 (exit $ac_status); }; } &&
91079 { ac_try='test -s conftest$ac_exeext'
91080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91081 (eval $ac_try) 2>&5
91082 ac_status=$?
91083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91084 (exit $ac_status); }; }; then
91085 eval "$as_ac_var=yes"
91086 else
91087 echo "$as_me: failed program was:" >&5
91088 sed 's/^/| /' conftest.$ac_ext >&5
91090 eval "$as_ac_var=no"
91092 rm -f conftest.err conftest.$ac_objext \
91093 conftest$ac_exeext conftest.$ac_ext
91095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91097 if test `eval echo '${'$as_ac_var'}'` = yes; then
91098 cat >>confdefs.h <<_ACEOF
91099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91100 _ACEOF
91102 else
91103 ac_wfuncs=no
91105 done
91108 # Checks for names injected into std:: by the c_std headers.
91155 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
91156 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
91157 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
91158 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
91159 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
91160 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
91162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91163 echo "$as_me:$LINENO: checking for $ac_func" >&5
91164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91165 if eval "test \"\${$as_ac_var+set}\" = set"; then
91166 echo $ECHO_N "(cached) $ECHO_C" >&6
91167 else
91168 if test x$gcc_no_link = xyes; then
91169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91171 { (exit 1); exit 1; }; }
91173 cat >conftest.$ac_ext <<_ACEOF
91174 /* confdefs.h. */
91175 _ACEOF
91176 cat confdefs.h >>conftest.$ac_ext
91177 cat >>conftest.$ac_ext <<_ACEOF
91178 /* end confdefs.h. */
91179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91181 #define $ac_func innocuous_$ac_func
91183 /* System header to define __stub macros and hopefully few prototypes,
91184 which can conflict with char $ac_func (); below.
91185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91186 <limits.h> exists even on freestanding compilers. */
91188 #ifdef __STDC__
91189 # include <limits.h>
91190 #else
91191 # include <assert.h>
91192 #endif
91194 #undef $ac_func
91196 /* Override any gcc2 internal prototype to avoid an error. */
91197 #ifdef __cplusplus
91198 extern "C"
91200 #endif
91201 /* We use char because int might match the return type of a gcc2
91202 builtin and then its argument prototype would still apply. */
91203 char $ac_func ();
91204 /* The GNU C library defines this for functions which it implements
91205 to always fail with ENOSYS. Some functions are actually named
91206 something starting with __ and the normal name is an alias. */
91207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91208 choke me
91209 #else
91210 char (*f) () = $ac_func;
91211 #endif
91212 #ifdef __cplusplus
91214 #endif
91217 main ()
91219 return f != $ac_func;
91221 return 0;
91223 _ACEOF
91224 rm -f conftest.$ac_objext conftest$ac_exeext
91225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91226 (eval $ac_link) 2>conftest.er1
91227 ac_status=$?
91228 grep -v '^ *+' conftest.er1 >conftest.err
91229 rm -f conftest.er1
91230 cat conftest.err >&5
91231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91232 (exit $ac_status); } &&
91233 { ac_try='test -z "$ac_c_werror_flag"
91234 || test ! -s conftest.err'
91235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91236 (eval $ac_try) 2>&5
91237 ac_status=$?
91238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91239 (exit $ac_status); }; } &&
91240 { ac_try='test -s conftest$ac_exeext'
91241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91242 (eval $ac_try) 2>&5
91243 ac_status=$?
91244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91245 (exit $ac_status); }; }; then
91246 eval "$as_ac_var=yes"
91247 else
91248 echo "$as_me: failed program was:" >&5
91249 sed 's/^/| /' conftest.$ac_ext >&5
91251 eval "$as_ac_var=no"
91253 rm -f conftest.err conftest.$ac_objext \
91254 conftest$ac_exeext conftest.$ac_ext
91256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91258 if test `eval echo '${'$as_ac_var'}'` = yes; then
91259 cat >>confdefs.h <<_ACEOF
91260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91261 _ACEOF
91263 else
91264 ac_wfuncs=no
91266 done
91269 # Checks for wide character functions that are not required
91270 # for basic wchar_t support. Don't disable support if they are missing.
91271 # Injection of these is wrapped with guard macros.
91277 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
91279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91280 echo "$as_me:$LINENO: checking for $ac_func" >&5
91281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91282 if eval "test \"\${$as_ac_var+set}\" = set"; then
91283 echo $ECHO_N "(cached) $ECHO_C" >&6
91284 else
91285 if test x$gcc_no_link = xyes; then
91286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91288 { (exit 1); exit 1; }; }
91290 cat >conftest.$ac_ext <<_ACEOF
91291 /* confdefs.h. */
91292 _ACEOF
91293 cat confdefs.h >>conftest.$ac_ext
91294 cat >>conftest.$ac_ext <<_ACEOF
91295 /* end confdefs.h. */
91296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91298 #define $ac_func innocuous_$ac_func
91300 /* System header to define __stub macros and hopefully few prototypes,
91301 which can conflict with char $ac_func (); below.
91302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91303 <limits.h> exists even on freestanding compilers. */
91305 #ifdef __STDC__
91306 # include <limits.h>
91307 #else
91308 # include <assert.h>
91309 #endif
91311 #undef $ac_func
91313 /* Override any gcc2 internal prototype to avoid an error. */
91314 #ifdef __cplusplus
91315 extern "C"
91317 #endif
91318 /* We use char because int might match the return type of a gcc2
91319 builtin and then its argument prototype would still apply. */
91320 char $ac_func ();
91321 /* The GNU C library defines this for functions which it implements
91322 to always fail with ENOSYS. Some functions are actually named
91323 something starting with __ and the normal name is an alias. */
91324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91325 choke me
91326 #else
91327 char (*f) () = $ac_func;
91328 #endif
91329 #ifdef __cplusplus
91331 #endif
91334 main ()
91336 return f != $ac_func;
91338 return 0;
91340 _ACEOF
91341 rm -f conftest.$ac_objext conftest$ac_exeext
91342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91343 (eval $ac_link) 2>conftest.er1
91344 ac_status=$?
91345 grep -v '^ *+' conftest.er1 >conftest.err
91346 rm -f conftest.er1
91347 cat conftest.err >&5
91348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91349 (exit $ac_status); } &&
91350 { ac_try='test -z "$ac_c_werror_flag"
91351 || test ! -s conftest.err'
91352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91353 (eval $ac_try) 2>&5
91354 ac_status=$?
91355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91356 (exit $ac_status); }; } &&
91357 { ac_try='test -s conftest$ac_exeext'
91358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91359 (eval $ac_try) 2>&5
91360 ac_status=$?
91361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91362 (exit $ac_status); }; }; then
91363 eval "$as_ac_var=yes"
91364 else
91365 echo "$as_me: failed program was:" >&5
91366 sed 's/^/| /' conftest.$ac_ext >&5
91368 eval "$as_ac_var=no"
91370 rm -f conftest.err conftest.$ac_objext \
91371 conftest$ac_exeext conftest.$ac_ext
91373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91375 if test `eval echo '${'$as_ac_var'}'` = yes; then
91376 cat >>confdefs.h <<_ACEOF
91377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91378 _ACEOF
91381 done
91384 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
91385 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
91386 if test x"$has_weof" = xyes &&
91387 test x"$has_wchar_minmax" = xyes &&
91388 test x"$ac_wfuncs" = xyes;
91389 then
91390 ac_isoC99_wchar_t=yes
91391 else
91392 ac_isoC99_wchar_t=no
91394 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
91395 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
91397 # Use iconv for wchar_t to char conversions. As such, check for
91398 # X/Open Portability Guide, version 2 features (XPG2).
91399 if test "${ac_cv_header_iconv_h+set}" = set; then
91400 echo "$as_me:$LINENO: checking for iconv.h" >&5
91401 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91402 if test "${ac_cv_header_iconv_h+set}" = set; then
91403 echo $ECHO_N "(cached) $ECHO_C" >&6
91405 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91406 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91407 else
91408 # Is the header compilable?
91409 echo "$as_me:$LINENO: checking iconv.h usability" >&5
91410 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
91411 cat >conftest.$ac_ext <<_ACEOF
91412 /* confdefs.h. */
91413 _ACEOF
91414 cat confdefs.h >>conftest.$ac_ext
91415 cat >>conftest.$ac_ext <<_ACEOF
91416 /* end confdefs.h. */
91417 $ac_includes_default
91418 #include <iconv.h>
91419 _ACEOF
91420 rm -f conftest.$ac_objext
91421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91422 (eval $ac_compile) 2>conftest.er1
91423 ac_status=$?
91424 grep -v '^ *+' conftest.er1 >conftest.err
91425 rm -f conftest.er1
91426 cat conftest.err >&5
91427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91428 (exit $ac_status); } &&
91429 { ac_try='test -z "$ac_c_werror_flag"
91430 || test ! -s conftest.err'
91431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91432 (eval $ac_try) 2>&5
91433 ac_status=$?
91434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91435 (exit $ac_status); }; } &&
91436 { ac_try='test -s conftest.$ac_objext'
91437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91438 (eval $ac_try) 2>&5
91439 ac_status=$?
91440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91441 (exit $ac_status); }; }; then
91442 ac_header_compiler=yes
91443 else
91444 echo "$as_me: failed program was:" >&5
91445 sed 's/^/| /' conftest.$ac_ext >&5
91447 ac_header_compiler=no
91449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91451 echo "${ECHO_T}$ac_header_compiler" >&6
91453 # Is the header present?
91454 echo "$as_me:$LINENO: checking iconv.h presence" >&5
91455 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
91456 cat >conftest.$ac_ext <<_ACEOF
91457 /* confdefs.h. */
91458 _ACEOF
91459 cat confdefs.h >>conftest.$ac_ext
91460 cat >>conftest.$ac_ext <<_ACEOF
91461 /* end confdefs.h. */
91462 #include <iconv.h>
91463 _ACEOF
91464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91466 ac_status=$?
91467 grep -v '^ *+' conftest.er1 >conftest.err
91468 rm -f conftest.er1
91469 cat conftest.err >&5
91470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91471 (exit $ac_status); } >/dev/null; then
91472 if test -s conftest.err; then
91473 ac_cpp_err=$ac_c_preproc_warn_flag
91474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91475 else
91476 ac_cpp_err=
91478 else
91479 ac_cpp_err=yes
91481 if test -z "$ac_cpp_err"; then
91482 ac_header_preproc=yes
91483 else
91484 echo "$as_me: failed program was:" >&5
91485 sed 's/^/| /' conftest.$ac_ext >&5
91487 ac_header_preproc=no
91489 rm -f conftest.err conftest.$ac_ext
91490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91491 echo "${ECHO_T}$ac_header_preproc" >&6
91493 # So? What about this header?
91494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91495 yes:no: )
91496 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
91497 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91498 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
91499 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
91500 ac_header_preproc=yes
91502 no:yes:* )
91503 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
91504 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
91505 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
91506 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
91507 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
91508 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
91509 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
91510 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
91511 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
91512 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
91513 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
91514 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
91516 cat <<\_ASBOX
91517 ## ----------------------------------------- ##
91518 ## Report this to the package-unused lists. ##
91519 ## ----------------------------------------- ##
91520 _ASBOX
91522 sed "s/^/$as_me: WARNING: /" >&2
91524 esac
91525 echo "$as_me:$LINENO: checking for iconv.h" >&5
91526 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91527 if test "${ac_cv_header_iconv_h+set}" = set; then
91528 echo $ECHO_N "(cached) $ECHO_C" >&6
91529 else
91530 ac_cv_header_iconv_h=$ac_header_preproc
91532 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91533 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91536 if test $ac_cv_header_iconv_h = yes; then
91537 ac_has_iconv_h=yes
91538 else
91539 ac_has_iconv_h=no
91543 if test "${ac_cv_header_langinfo_h+set}" = set; then
91544 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91545 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91546 if test "${ac_cv_header_langinfo_h+set}" = set; then
91547 echo $ECHO_N "(cached) $ECHO_C" >&6
91549 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91550 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91551 else
91552 # Is the header compilable?
91553 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
91554 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
91555 cat >conftest.$ac_ext <<_ACEOF
91556 /* confdefs.h. */
91557 _ACEOF
91558 cat confdefs.h >>conftest.$ac_ext
91559 cat >>conftest.$ac_ext <<_ACEOF
91560 /* end confdefs.h. */
91561 $ac_includes_default
91562 #include <langinfo.h>
91563 _ACEOF
91564 rm -f conftest.$ac_objext
91565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91566 (eval $ac_compile) 2>conftest.er1
91567 ac_status=$?
91568 grep -v '^ *+' conftest.er1 >conftest.err
91569 rm -f conftest.er1
91570 cat conftest.err >&5
91571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91572 (exit $ac_status); } &&
91573 { ac_try='test -z "$ac_c_werror_flag"
91574 || test ! -s conftest.err'
91575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91576 (eval $ac_try) 2>&5
91577 ac_status=$?
91578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91579 (exit $ac_status); }; } &&
91580 { ac_try='test -s conftest.$ac_objext'
91581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91582 (eval $ac_try) 2>&5
91583 ac_status=$?
91584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91585 (exit $ac_status); }; }; then
91586 ac_header_compiler=yes
91587 else
91588 echo "$as_me: failed program was:" >&5
91589 sed 's/^/| /' conftest.$ac_ext >&5
91591 ac_header_compiler=no
91593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91595 echo "${ECHO_T}$ac_header_compiler" >&6
91597 # Is the header present?
91598 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
91599 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
91600 cat >conftest.$ac_ext <<_ACEOF
91601 /* confdefs.h. */
91602 _ACEOF
91603 cat confdefs.h >>conftest.$ac_ext
91604 cat >>conftest.$ac_ext <<_ACEOF
91605 /* end confdefs.h. */
91606 #include <langinfo.h>
91607 _ACEOF
91608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91609 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91610 ac_status=$?
91611 grep -v '^ *+' conftest.er1 >conftest.err
91612 rm -f conftest.er1
91613 cat conftest.err >&5
91614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91615 (exit $ac_status); } >/dev/null; then
91616 if test -s conftest.err; then
91617 ac_cpp_err=$ac_c_preproc_warn_flag
91618 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91619 else
91620 ac_cpp_err=
91622 else
91623 ac_cpp_err=yes
91625 if test -z "$ac_cpp_err"; then
91626 ac_header_preproc=yes
91627 else
91628 echo "$as_me: failed program was:" >&5
91629 sed 's/^/| /' conftest.$ac_ext >&5
91631 ac_header_preproc=no
91633 rm -f conftest.err conftest.$ac_ext
91634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91635 echo "${ECHO_T}$ac_header_preproc" >&6
91637 # So? What about this header?
91638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91639 yes:no: )
91640 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
91641 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91642 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
91643 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
91644 ac_header_preproc=yes
91646 no:yes:* )
91647 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
91648 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
91649 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
91650 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
91651 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
91652 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
91653 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
91654 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
91655 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
91656 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
91657 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
91658 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
91660 cat <<\_ASBOX
91661 ## ----------------------------------------- ##
91662 ## Report this to the package-unused lists. ##
91663 ## ----------------------------------------- ##
91664 _ASBOX
91666 sed "s/^/$as_me: WARNING: /" >&2
91668 esac
91669 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91670 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91671 if test "${ac_cv_header_langinfo_h+set}" = set; then
91672 echo $ECHO_N "(cached) $ECHO_C" >&6
91673 else
91674 ac_cv_header_langinfo_h=$ac_header_preproc
91676 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91677 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91680 if test $ac_cv_header_langinfo_h = yes; then
91681 ac_has_langinfo_h=yes
91682 else
91683 ac_has_langinfo_h=no
91688 # Check for existence of libiconv.a providing XPG2 wchar_t support.
91689 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
91690 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
91691 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
91692 echo $ECHO_N "(cached) $ECHO_C" >&6
91693 else
91694 ac_check_lib_save_LIBS=$LIBS
91695 LIBS="-liconv $LIBS"
91696 if test x$gcc_no_link = xyes; then
91697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91699 { (exit 1); exit 1; }; }
91701 cat >conftest.$ac_ext <<_ACEOF
91702 /* confdefs.h. */
91703 _ACEOF
91704 cat confdefs.h >>conftest.$ac_ext
91705 cat >>conftest.$ac_ext <<_ACEOF
91706 /* end confdefs.h. */
91708 /* Override any gcc2 internal prototype to avoid an error. */
91709 #ifdef __cplusplus
91710 extern "C"
91711 #endif
91712 /* We use char because int might match the return type of a gcc2
91713 builtin and then its argument prototype would still apply. */
91714 char iconv ();
91716 main ()
91718 iconv ();
91720 return 0;
91722 _ACEOF
91723 rm -f conftest.$ac_objext conftest$ac_exeext
91724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91725 (eval $ac_link) 2>conftest.er1
91726 ac_status=$?
91727 grep -v '^ *+' conftest.er1 >conftest.err
91728 rm -f conftest.er1
91729 cat conftest.err >&5
91730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91731 (exit $ac_status); } &&
91732 { ac_try='test -z "$ac_c_werror_flag"
91733 || test ! -s conftest.err'
91734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91735 (eval $ac_try) 2>&5
91736 ac_status=$?
91737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91738 (exit $ac_status); }; } &&
91739 { ac_try='test -s conftest$ac_exeext'
91740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91741 (eval $ac_try) 2>&5
91742 ac_status=$?
91743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91744 (exit $ac_status); }; }; then
91745 ac_cv_lib_iconv_iconv=yes
91746 else
91747 echo "$as_me: failed program was:" >&5
91748 sed 's/^/| /' conftest.$ac_ext >&5
91750 ac_cv_lib_iconv_iconv=no
91752 rm -f conftest.err conftest.$ac_objext \
91753 conftest$ac_exeext conftest.$ac_ext
91754 LIBS=$ac_check_lib_save_LIBS
91756 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
91757 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
91758 if test $ac_cv_lib_iconv_iconv = yes; then
91759 LIBICONV="-liconv"
91762 ac_save_LIBS="$LIBS"
91763 LIBS="$LIBS $LIBICONV"
91770 for ac_func in iconv_open iconv_close iconv nl_langinfo
91772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91773 echo "$as_me:$LINENO: checking for $ac_func" >&5
91774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91775 if eval "test \"\${$as_ac_var+set}\" = set"; then
91776 echo $ECHO_N "(cached) $ECHO_C" >&6
91777 else
91778 if test x$gcc_no_link = xyes; then
91779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91781 { (exit 1); exit 1; }; }
91783 cat >conftest.$ac_ext <<_ACEOF
91784 /* confdefs.h. */
91785 _ACEOF
91786 cat confdefs.h >>conftest.$ac_ext
91787 cat >>conftest.$ac_ext <<_ACEOF
91788 /* end confdefs.h. */
91789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91791 #define $ac_func innocuous_$ac_func
91793 /* System header to define __stub macros and hopefully few prototypes,
91794 which can conflict with char $ac_func (); below.
91795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91796 <limits.h> exists even on freestanding compilers. */
91798 #ifdef __STDC__
91799 # include <limits.h>
91800 #else
91801 # include <assert.h>
91802 #endif
91804 #undef $ac_func
91806 /* Override any gcc2 internal prototype to avoid an error. */
91807 #ifdef __cplusplus
91808 extern "C"
91810 #endif
91811 /* We use char because int might match the return type of a gcc2
91812 builtin and then its argument prototype would still apply. */
91813 char $ac_func ();
91814 /* The GNU C library defines this for functions which it implements
91815 to always fail with ENOSYS. Some functions are actually named
91816 something starting with __ and the normal name is an alias. */
91817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91818 choke me
91819 #else
91820 char (*f) () = $ac_func;
91821 #endif
91822 #ifdef __cplusplus
91824 #endif
91827 main ()
91829 return f != $ac_func;
91831 return 0;
91833 _ACEOF
91834 rm -f conftest.$ac_objext conftest$ac_exeext
91835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91836 (eval $ac_link) 2>conftest.er1
91837 ac_status=$?
91838 grep -v '^ *+' conftest.er1 >conftest.err
91839 rm -f conftest.er1
91840 cat conftest.err >&5
91841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91842 (exit $ac_status); } &&
91843 { ac_try='test -z "$ac_c_werror_flag"
91844 || test ! -s conftest.err'
91845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91846 (eval $ac_try) 2>&5
91847 ac_status=$?
91848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91849 (exit $ac_status); }; } &&
91850 { ac_try='test -s conftest$ac_exeext'
91851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91852 (eval $ac_try) 2>&5
91853 ac_status=$?
91854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91855 (exit $ac_status); }; }; then
91856 eval "$as_ac_var=yes"
91857 else
91858 echo "$as_me: failed program was:" >&5
91859 sed 's/^/| /' conftest.$ac_ext >&5
91861 eval "$as_ac_var=no"
91863 rm -f conftest.err conftest.$ac_objext \
91864 conftest$ac_exeext conftest.$ac_ext
91866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91868 if test `eval echo '${'$as_ac_var'}'` = yes; then
91869 cat >>confdefs.h <<_ACEOF
91870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91871 _ACEOF
91872 ac_XPG2funcs=yes
91873 else
91874 ac_XPG2funcs=no
91876 done
91879 LIBS="$ac_save_LIBS"
91881 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
91882 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
91883 if test x"$ac_has_iconv_h" = xyes &&
91884 test x"$ac_has_langinfo_h" = xyes &&
91885 test x"$ac_XPG2funcs" = xyes;
91886 then
91887 ac_XPG2_wchar_t=yes
91888 else
91889 ac_XPG2_wchar_t=no
91891 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
91892 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
91894 # At the moment, only enable wchar_t specializations if all the
91895 # above support is present.
91896 if test x"$ac_isoC99_wchar_t" = xyes &&
91897 test x"$ac_XPG2_wchar_t" = xyes;
91898 then
91899 cat >>confdefs.h <<\_ACEOF
91900 #define _GLIBCXX_USE_WCHAR_T 1
91901 _ACEOF
91903 enable_wchar_t=yes
91906 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
91907 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
91908 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
91909 echo "${ECHO_T}$enable_wchar_t" >&6
91911 cat >>confdefs.h <<\_ACEOF
91912 #define HAVE_COSF 1
91913 _ACEOF
91915 cat >>confdefs.h <<\_ACEOF
91916 #define HAVE_COSL 1
91917 _ACEOF
91919 cat >>confdefs.h <<\_ACEOF
91920 #define HAVE_COSHF 1
91921 _ACEOF
91923 cat >>confdefs.h <<\_ACEOF
91924 #define HAVE_COSHL 1
91925 _ACEOF
91927 cat >>confdefs.h <<\_ACEOF
91928 #define HAVE_LOGF 1
91929 _ACEOF
91931 cat >>confdefs.h <<\_ACEOF
91932 #define HAVE_LOGL 1
91933 _ACEOF
91935 cat >>confdefs.h <<\_ACEOF
91936 #define HAVE_LOG10F 1
91937 _ACEOF
91939 cat >>confdefs.h <<\_ACEOF
91940 #define HAVE_LOG10L 1
91941 _ACEOF
91943 cat >>confdefs.h <<\_ACEOF
91944 #define HAVE_SINF 1
91945 _ACEOF
91947 cat >>confdefs.h <<\_ACEOF
91948 #define HAVE_SINL 1
91949 _ACEOF
91951 cat >>confdefs.h <<\_ACEOF
91952 #define HAVE_SINHF 1
91953 _ACEOF
91955 cat >>confdefs.h <<\_ACEOF
91956 #define HAVE_SINHL 1
91957 _ACEOF
91960 *-solaris*)
91961 case "$target" in
91962 # *-solaris2.5)
91963 # os_include_dir="os/solaris/solaris2.5"
91964 # ;;
91965 # *-solaris2.6)
91966 # os_include_dir="os/solaris/solaris2.6"
91967 # ;;
91968 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
91969 cat >>confdefs.h <<\_ACEOF
91970 #define HAVE_GETPAGESIZE 1
91971 _ACEOF
91973 cat >>confdefs.h <<\_ACEOF
91974 #define HAVE_SIGSETJMP 1
91975 _ACEOF
91977 cat >>confdefs.h <<\_ACEOF
91978 #define HAVE_MBSTATE_T 1
91979 _ACEOF
91981 cat >>confdefs.h <<\_ACEOF
91982 #define HAVE_POLL 1
91983 _ACEOF
91985 cat >>confdefs.h <<\_ACEOF
91986 #define HAVE_S_ISREG 1
91987 _ACEOF
91989 cat >>confdefs.h <<\_ACEOF
91990 #define HAVE_LC_MESSAGES 1
91991 _ACEOF
91993 cat >>confdefs.h <<\_ACEOF
91994 #define HAVE_BTOWC 1
91995 _ACEOF
91997 cat >>confdefs.h <<\_ACEOF
91998 #define HAVE_FGETWC 1
91999 _ACEOF
92001 cat >>confdefs.h <<\_ACEOF
92002 #define HAVE_FGETWS 1
92003 _ACEOF
92005 cat >>confdefs.h <<\_ACEOF
92006 #define HAVE_FINITE 1
92007 _ACEOF
92009 cat >>confdefs.h <<\_ACEOF
92010 #define HAVE_FPCLASS 1
92011 _ACEOF
92013 cat >>confdefs.h <<\_ACEOF
92014 #define HAVE_FPUTWC 1
92015 _ACEOF
92017 cat >>confdefs.h <<\_ACEOF
92018 #define HAVE_FPUTWS 1
92019 _ACEOF
92021 cat >>confdefs.h <<\_ACEOF
92022 #define HAVE_FWIDE 1
92023 _ACEOF
92025 cat >>confdefs.h <<\_ACEOF
92026 #define HAVE_FWPRINTF 1
92027 _ACEOF
92029 cat >>confdefs.h <<\_ACEOF
92030 #define HAVE_FWSCANF 1
92031 _ACEOF
92033 cat >>confdefs.h <<\_ACEOF
92034 #define HAVE_GETPAGESIZE 1
92035 _ACEOF
92037 cat >>confdefs.h <<\_ACEOF
92038 #define HAVE_GETWC 1
92039 _ACEOF
92041 cat >>confdefs.h <<\_ACEOF
92042 #define HAVE_GETWCHAR 1
92043 _ACEOF
92045 cat >>confdefs.h <<\_ACEOF
92046 #define HAVE_MBRLEN 1
92047 _ACEOF
92049 cat >>confdefs.h <<\_ACEOF
92050 #define HAVE_MBRTOWC 1
92051 _ACEOF
92053 cat >>confdefs.h <<\_ACEOF
92054 #define HAVE_MBSINIT 1
92055 _ACEOF
92057 cat >>confdefs.h <<\_ACEOF
92058 #define HAVE_MBSRTOWCS 1
92059 _ACEOF
92061 cat >>confdefs.h <<\_ACEOF
92062 #define HAVE_NL_LANGINFO 1
92063 _ACEOF
92065 cat >>confdefs.h <<\_ACEOF
92066 #define HAVE_PUTWC 1
92067 _ACEOF
92069 cat >>confdefs.h <<\_ACEOF
92070 #define HAVE_PUTWCHAR 1
92071 _ACEOF
92073 cat >>confdefs.h <<\_ACEOF
92074 #define HAVE_SWPRINTF 1
92075 _ACEOF
92077 cat >>confdefs.h <<\_ACEOF
92078 #define HAVE_SWSCANF 1
92079 _ACEOF
92081 cat >>confdefs.h <<\_ACEOF
92082 #define HAVE_UNGETWC 1
92083 _ACEOF
92085 cat >>confdefs.h <<\_ACEOF
92086 #define HAVE_VFWPRINTF 1
92087 _ACEOF
92089 cat >>confdefs.h <<\_ACEOF
92090 #define HAVE_VSWPRINTF 1
92091 _ACEOF
92093 cat >>confdefs.h <<\_ACEOF
92094 #define HAVE_VWPRINTF 1
92095 _ACEOF
92097 cat >>confdefs.h <<\_ACEOF
92098 #define HAVE_WCRTOMB 1
92099 _ACEOF
92101 cat >>confdefs.h <<\_ACEOF
92102 #define HAVE_WCSCAT 1
92103 _ACEOF
92105 cat >>confdefs.h <<\_ACEOF
92106 #define HAVE_WCSCHR 1
92107 _ACEOF
92109 cat >>confdefs.h <<\_ACEOF
92110 #define HAVE_WCSCMP 1
92111 _ACEOF
92113 cat >>confdefs.h <<\_ACEOF
92114 #define HAVE_WCSCOLL 1
92115 _ACEOF
92117 cat >>confdefs.h <<\_ACEOF
92118 #define HAVE_WCSCPY 1
92119 _ACEOF
92121 cat >>confdefs.h <<\_ACEOF
92122 #define HAVE_WCSCSPN 1
92123 _ACEOF
92125 cat >>confdefs.h <<\_ACEOF
92126 #define HAVE_WCSFTIME 1
92127 _ACEOF
92129 cat >>confdefs.h <<\_ACEOF
92130 #define HAVE_WCSLEN 1
92131 _ACEOF
92133 cat >>confdefs.h <<\_ACEOF
92134 #define HAVE_WCSNCAT 1
92135 _ACEOF
92137 cat >>confdefs.h <<\_ACEOF
92138 #define HAVE_WCSNCMP 1
92139 _ACEOF
92141 cat >>confdefs.h <<\_ACEOF
92142 #define HAVE_WCSNCPY 1
92143 _ACEOF
92145 cat >>confdefs.h <<\_ACEOF
92146 #define HAVE_WCSPBRK 1
92147 _ACEOF
92149 cat >>confdefs.h <<\_ACEOF
92150 #define HAVE_WCSRCHR 1
92151 _ACEOF
92153 cat >>confdefs.h <<\_ACEOF
92154 #define HAVE_WCSRTOMBS 1
92155 _ACEOF
92157 cat >>confdefs.h <<\_ACEOF
92158 #define HAVE_WCSSPN 1
92159 _ACEOF
92161 cat >>confdefs.h <<\_ACEOF
92162 #define HAVE_WCSSTR 1
92163 _ACEOF
92165 cat >>confdefs.h <<\_ACEOF
92166 #define HAVE_WCSTOD 1
92167 _ACEOF
92169 cat >>confdefs.h <<\_ACEOF
92170 #define HAVE_WCSTOK 1
92171 _ACEOF
92173 cat >>confdefs.h <<\_ACEOF
92174 #define HAVE_WCSTOL 1
92175 _ACEOF
92177 cat >>confdefs.h <<\_ACEOF
92178 #define HAVE_WCSTOUL 1
92179 _ACEOF
92181 cat >>confdefs.h <<\_ACEOF
92182 #define HAVE_WCSXFRM 1
92183 _ACEOF
92185 cat >>confdefs.h <<\_ACEOF
92186 #define HAVE_WCTOB 1
92187 _ACEOF
92189 cat >>confdefs.h <<\_ACEOF
92190 #define HAVE_WMEMCHR 1
92191 _ACEOF
92193 cat >>confdefs.h <<\_ACEOF
92194 #define HAVE_WMEMCMP 1
92195 _ACEOF
92197 cat >>confdefs.h <<\_ACEOF
92198 #define HAVE_WMEMCPY 1
92199 _ACEOF
92201 cat >>confdefs.h <<\_ACEOF
92202 #define HAVE_WMEMMOVE 1
92203 _ACEOF
92205 cat >>confdefs.h <<\_ACEOF
92206 #define HAVE_WMEMSET 1
92207 _ACEOF
92209 cat >>confdefs.h <<\_ACEOF
92210 #define HAVE_WPRINTF 1
92211 _ACEOF
92213 cat >>confdefs.h <<\_ACEOF
92214 #define HAVE_WSCANF 1
92215 _ACEOF
92217 cat >>confdefs.h <<\_ACEOF
92218 #define HAVE_ICONV 1
92219 _ACEOF
92221 cat >>confdefs.h <<\_ACEOF
92222 #define HAVE_ICONV_CLOSE 1
92223 _ACEOF
92225 cat >>confdefs.h <<\_ACEOF
92226 #define HAVE_ICONV_OPEN 1
92227 _ACEOF
92229 # Look for the pieces required for wchar_t support in order to
92230 # get all the right HAVE_* macros defined.
92232 # Test wchar.h for mbstate_t, which is needed for char_traits and
92233 # others even if wchar_t support is not on.
92234 echo "$as_me:$LINENO: checking for mbstate_t" >&5
92235 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
92236 cat >conftest.$ac_ext <<_ACEOF
92237 /* confdefs.h. */
92238 _ACEOF
92239 cat confdefs.h >>conftest.$ac_ext
92240 cat >>conftest.$ac_ext <<_ACEOF
92241 /* end confdefs.h. */
92242 #include <wchar.h>
92244 main ()
92246 mbstate_t teststate;
92248 return 0;
92250 _ACEOF
92251 rm -f conftest.$ac_objext
92252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92253 (eval $ac_compile) 2>conftest.er1
92254 ac_status=$?
92255 grep -v '^ *+' conftest.er1 >conftest.err
92256 rm -f conftest.er1
92257 cat conftest.err >&5
92258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92259 (exit $ac_status); } &&
92260 { ac_try='test -z "$ac_c_werror_flag"
92261 || test ! -s conftest.err'
92262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92263 (eval $ac_try) 2>&5
92264 ac_status=$?
92265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92266 (exit $ac_status); }; } &&
92267 { ac_try='test -s conftest.$ac_objext'
92268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92269 (eval $ac_try) 2>&5
92270 ac_status=$?
92271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92272 (exit $ac_status); }; }; then
92273 have_mbstate_t=yes
92274 else
92275 echo "$as_me: failed program was:" >&5
92276 sed 's/^/| /' conftest.$ac_ext >&5
92278 have_mbstate_t=no
92280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92281 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
92282 echo "${ECHO_T}$have_mbstate_t" >&6
92283 if test x"$have_mbstate_t" = xyes; then
92284 cat >>confdefs.h <<\_ACEOF
92285 #define HAVE_MBSTATE_T 1
92286 _ACEOF
92290 # Sanity check for existence of ISO C99 headers for extended encoding.
92292 for ac_header in wchar.h
92294 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92296 echo "$as_me:$LINENO: checking for $ac_header" >&5
92297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92299 echo $ECHO_N "(cached) $ECHO_C" >&6
92301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92303 else
92304 # Is the header compilable?
92305 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92306 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92307 cat >conftest.$ac_ext <<_ACEOF
92308 /* confdefs.h. */
92309 _ACEOF
92310 cat confdefs.h >>conftest.$ac_ext
92311 cat >>conftest.$ac_ext <<_ACEOF
92312 /* end confdefs.h. */
92313 $ac_includes_default
92314 #include <$ac_header>
92315 _ACEOF
92316 rm -f conftest.$ac_objext
92317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92318 (eval $ac_compile) 2>conftest.er1
92319 ac_status=$?
92320 grep -v '^ *+' conftest.er1 >conftest.err
92321 rm -f conftest.er1
92322 cat conftest.err >&5
92323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92324 (exit $ac_status); } &&
92325 { ac_try='test -z "$ac_c_werror_flag"
92326 || test ! -s conftest.err'
92327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92328 (eval $ac_try) 2>&5
92329 ac_status=$?
92330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92331 (exit $ac_status); }; } &&
92332 { ac_try='test -s conftest.$ac_objext'
92333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92334 (eval $ac_try) 2>&5
92335 ac_status=$?
92336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92337 (exit $ac_status); }; }; then
92338 ac_header_compiler=yes
92339 else
92340 echo "$as_me: failed program was:" >&5
92341 sed 's/^/| /' conftest.$ac_ext >&5
92343 ac_header_compiler=no
92345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92346 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92347 echo "${ECHO_T}$ac_header_compiler" >&6
92349 # Is the header present?
92350 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92351 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92352 cat >conftest.$ac_ext <<_ACEOF
92353 /* confdefs.h. */
92354 _ACEOF
92355 cat confdefs.h >>conftest.$ac_ext
92356 cat >>conftest.$ac_ext <<_ACEOF
92357 /* end confdefs.h. */
92358 #include <$ac_header>
92359 _ACEOF
92360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92362 ac_status=$?
92363 grep -v '^ *+' conftest.er1 >conftest.err
92364 rm -f conftest.er1
92365 cat conftest.err >&5
92366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92367 (exit $ac_status); } >/dev/null; then
92368 if test -s conftest.err; then
92369 ac_cpp_err=$ac_c_preproc_warn_flag
92370 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92371 else
92372 ac_cpp_err=
92374 else
92375 ac_cpp_err=yes
92377 if test -z "$ac_cpp_err"; then
92378 ac_header_preproc=yes
92379 else
92380 echo "$as_me: failed program was:" >&5
92381 sed 's/^/| /' conftest.$ac_ext >&5
92383 ac_header_preproc=no
92385 rm -f conftest.err conftest.$ac_ext
92386 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92387 echo "${ECHO_T}$ac_header_preproc" >&6
92389 # So? What about this header?
92390 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92391 yes:no: )
92392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92393 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92395 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92396 ac_header_preproc=yes
92398 no:yes:* )
92399 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92400 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92401 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92402 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92403 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92404 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92405 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92406 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92409 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92410 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92412 cat <<\_ASBOX
92413 ## ----------------------------------------- ##
92414 ## Report this to the package-unused lists. ##
92415 ## ----------------------------------------- ##
92416 _ASBOX
92418 sed "s/^/$as_me: WARNING: /" >&2
92420 esac
92421 echo "$as_me:$LINENO: checking for $ac_header" >&5
92422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92424 echo $ECHO_N "(cached) $ECHO_C" >&6
92425 else
92426 eval "$as_ac_Header=\$ac_header_preproc"
92428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92432 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92433 cat >>confdefs.h <<_ACEOF
92434 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92435 _ACEOF
92436 ac_has_wchar_h=yes
92437 else
92438 ac_has_wchar_h=no
92441 done
92444 for ac_header in wctype.h
92446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92448 echo "$as_me:$LINENO: checking for $ac_header" >&5
92449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92451 echo $ECHO_N "(cached) $ECHO_C" >&6
92453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92455 else
92456 # Is the header compilable?
92457 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92459 cat >conftest.$ac_ext <<_ACEOF
92460 /* confdefs.h. */
92461 _ACEOF
92462 cat confdefs.h >>conftest.$ac_ext
92463 cat >>conftest.$ac_ext <<_ACEOF
92464 /* end confdefs.h. */
92465 $ac_includes_default
92466 #include <$ac_header>
92467 _ACEOF
92468 rm -f conftest.$ac_objext
92469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92470 (eval $ac_compile) 2>conftest.er1
92471 ac_status=$?
92472 grep -v '^ *+' conftest.er1 >conftest.err
92473 rm -f conftest.er1
92474 cat conftest.err >&5
92475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92476 (exit $ac_status); } &&
92477 { ac_try='test -z "$ac_c_werror_flag"
92478 || test ! -s conftest.err'
92479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92480 (eval $ac_try) 2>&5
92481 ac_status=$?
92482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92483 (exit $ac_status); }; } &&
92484 { ac_try='test -s conftest.$ac_objext'
92485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92486 (eval $ac_try) 2>&5
92487 ac_status=$?
92488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92489 (exit $ac_status); }; }; then
92490 ac_header_compiler=yes
92491 else
92492 echo "$as_me: failed program was:" >&5
92493 sed 's/^/| /' conftest.$ac_ext >&5
92495 ac_header_compiler=no
92497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92499 echo "${ECHO_T}$ac_header_compiler" >&6
92501 # Is the header present?
92502 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92503 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92504 cat >conftest.$ac_ext <<_ACEOF
92505 /* confdefs.h. */
92506 _ACEOF
92507 cat confdefs.h >>conftest.$ac_ext
92508 cat >>conftest.$ac_ext <<_ACEOF
92509 /* end confdefs.h. */
92510 #include <$ac_header>
92511 _ACEOF
92512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92514 ac_status=$?
92515 grep -v '^ *+' conftest.er1 >conftest.err
92516 rm -f conftest.er1
92517 cat conftest.err >&5
92518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92519 (exit $ac_status); } >/dev/null; then
92520 if test -s conftest.err; then
92521 ac_cpp_err=$ac_c_preproc_warn_flag
92522 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92523 else
92524 ac_cpp_err=
92526 else
92527 ac_cpp_err=yes
92529 if test -z "$ac_cpp_err"; then
92530 ac_header_preproc=yes
92531 else
92532 echo "$as_me: failed program was:" >&5
92533 sed 's/^/| /' conftest.$ac_ext >&5
92535 ac_header_preproc=no
92537 rm -f conftest.err conftest.$ac_ext
92538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92539 echo "${ECHO_T}$ac_header_preproc" >&6
92541 # So? What about this header?
92542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92543 yes:no: )
92544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92548 ac_header_preproc=yes
92550 no:yes:* )
92551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92558 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92564 cat <<\_ASBOX
92565 ## ----------------------------------------- ##
92566 ## Report this to the package-unused lists. ##
92567 ## ----------------------------------------- ##
92568 _ASBOX
92570 sed "s/^/$as_me: WARNING: /" >&2
92572 esac
92573 echo "$as_me:$LINENO: checking for $ac_header" >&5
92574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92576 echo $ECHO_N "(cached) $ECHO_C" >&6
92577 else
92578 eval "$as_ac_Header=\$ac_header_preproc"
92580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92585 cat >>confdefs.h <<_ACEOF
92586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92587 _ACEOF
92588 ac_has_wctype_h=yes
92589 else
92590 ac_has_wctype_h=no
92593 done
92596 # Only continue checking if the ISO C99 headers exist and support is on.
92597 if test x"$ac_has_wchar_h" = xyes &&
92598 test x"$ac_has_wctype_h" = xyes &&
92599 test x"$enable_c_mbchar" != xno; then
92601 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92602 # numeric_limits can instantiate type_traits<wchar_t>
92603 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92604 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92605 cat >conftest.$ac_ext <<_ACEOF
92606 /* confdefs.h. */
92607 _ACEOF
92608 cat confdefs.h >>conftest.$ac_ext
92609 cat >>conftest.$ac_ext <<_ACEOF
92610 /* end confdefs.h. */
92611 #include <wchar.h>
92613 main ()
92615 int i = WCHAR_MIN; int j = WCHAR_MAX;
92617 return 0;
92619 _ACEOF
92620 rm -f conftest.$ac_objext
92621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92622 (eval $ac_compile) 2>conftest.er1
92623 ac_status=$?
92624 grep -v '^ *+' conftest.er1 >conftest.err
92625 rm -f conftest.er1
92626 cat conftest.err >&5
92627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92628 (exit $ac_status); } &&
92629 { ac_try='test -z "$ac_c_werror_flag"
92630 || test ! -s conftest.err'
92631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92632 (eval $ac_try) 2>&5
92633 ac_status=$?
92634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92635 (exit $ac_status); }; } &&
92636 { ac_try='test -s conftest.$ac_objext'
92637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92638 (eval $ac_try) 2>&5
92639 ac_status=$?
92640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92641 (exit $ac_status); }; }; then
92642 has_wchar_minmax=yes
92643 else
92644 echo "$as_me: failed program was:" >&5
92645 sed 's/^/| /' conftest.$ac_ext >&5
92647 has_wchar_minmax=no
92649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92650 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92651 echo "${ECHO_T}$has_wchar_minmax" >&6
92653 # Test wchar.h for WEOF, which is what we use to determine whether
92654 # to specialize for char_traits<wchar_t> or not.
92655 echo "$as_me:$LINENO: checking for WEOF" >&5
92656 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92657 cat >conftest.$ac_ext <<_ACEOF
92658 /* confdefs.h. */
92659 _ACEOF
92660 cat confdefs.h >>conftest.$ac_ext
92661 cat >>conftest.$ac_ext <<_ACEOF
92662 /* end confdefs.h. */
92664 #include <wchar.h>
92665 #include <stddef.h>
92667 main ()
92669 wint_t i = WEOF;
92671 return 0;
92673 _ACEOF
92674 rm -f conftest.$ac_objext
92675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92676 (eval $ac_compile) 2>conftest.er1
92677 ac_status=$?
92678 grep -v '^ *+' conftest.er1 >conftest.err
92679 rm -f conftest.er1
92680 cat conftest.err >&5
92681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92682 (exit $ac_status); } &&
92683 { ac_try='test -z "$ac_c_werror_flag"
92684 || test ! -s conftest.err'
92685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92686 (eval $ac_try) 2>&5
92687 ac_status=$?
92688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92689 (exit $ac_status); }; } &&
92690 { ac_try='test -s conftest.$ac_objext'
92691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92692 (eval $ac_try) 2>&5
92693 ac_status=$?
92694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92695 (exit $ac_status); }; }; then
92696 has_weof=yes
92697 else
92698 echo "$as_me: failed program was:" >&5
92699 sed 's/^/| /' conftest.$ac_ext >&5
92701 has_weof=no
92703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92704 echo "$as_me:$LINENO: result: $has_weof" >&5
92705 echo "${ECHO_T}$has_weof" >&6
92707 # Tests for wide character functions used in char_traits<wchar_t>.
92708 ac_wfuncs=yes
92715 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92718 echo "$as_me:$LINENO: checking for $ac_func" >&5
92719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92720 if eval "test \"\${$as_ac_var+set}\" = set"; then
92721 echo $ECHO_N "(cached) $ECHO_C" >&6
92722 else
92723 if test x$gcc_no_link = xyes; then
92724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92726 { (exit 1); exit 1; }; }
92728 cat >conftest.$ac_ext <<_ACEOF
92729 /* confdefs.h. */
92730 _ACEOF
92731 cat confdefs.h >>conftest.$ac_ext
92732 cat >>conftest.$ac_ext <<_ACEOF
92733 /* end confdefs.h. */
92734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92736 #define $ac_func innocuous_$ac_func
92738 /* System header to define __stub macros and hopefully few prototypes,
92739 which can conflict with char $ac_func (); below.
92740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92741 <limits.h> exists even on freestanding compilers. */
92743 #ifdef __STDC__
92744 # include <limits.h>
92745 #else
92746 # include <assert.h>
92747 #endif
92749 #undef $ac_func
92751 /* Override any gcc2 internal prototype to avoid an error. */
92752 #ifdef __cplusplus
92753 extern "C"
92755 #endif
92756 /* We use char because int might match the return type of a gcc2
92757 builtin and then its argument prototype would still apply. */
92758 char $ac_func ();
92759 /* The GNU C library defines this for functions which it implements
92760 to always fail with ENOSYS. Some functions are actually named
92761 something starting with __ and the normal name is an alias. */
92762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92763 choke me
92764 #else
92765 char (*f) () = $ac_func;
92766 #endif
92767 #ifdef __cplusplus
92769 #endif
92772 main ()
92774 return f != $ac_func;
92776 return 0;
92778 _ACEOF
92779 rm -f conftest.$ac_objext conftest$ac_exeext
92780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92781 (eval $ac_link) 2>conftest.er1
92782 ac_status=$?
92783 grep -v '^ *+' conftest.er1 >conftest.err
92784 rm -f conftest.er1
92785 cat conftest.err >&5
92786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92787 (exit $ac_status); } &&
92788 { ac_try='test -z "$ac_c_werror_flag"
92789 || test ! -s conftest.err'
92790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92791 (eval $ac_try) 2>&5
92792 ac_status=$?
92793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92794 (exit $ac_status); }; } &&
92795 { ac_try='test -s conftest$ac_exeext'
92796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92797 (eval $ac_try) 2>&5
92798 ac_status=$?
92799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92800 (exit $ac_status); }; }; then
92801 eval "$as_ac_var=yes"
92802 else
92803 echo "$as_me: failed program was:" >&5
92804 sed 's/^/| /' conftest.$ac_ext >&5
92806 eval "$as_ac_var=no"
92808 rm -f conftest.err conftest.$ac_objext \
92809 conftest$ac_exeext conftest.$ac_ext
92811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92813 if test `eval echo '${'$as_ac_var'}'` = yes; then
92814 cat >>confdefs.h <<_ACEOF
92815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92816 _ACEOF
92818 else
92819 ac_wfuncs=no
92821 done
92824 # Checks for names injected into std:: by the c_std headers.
92871 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92872 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92873 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92874 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92875 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92876 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92879 echo "$as_me:$LINENO: checking for $ac_func" >&5
92880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92881 if eval "test \"\${$as_ac_var+set}\" = set"; then
92882 echo $ECHO_N "(cached) $ECHO_C" >&6
92883 else
92884 if test x$gcc_no_link = xyes; then
92885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92887 { (exit 1); exit 1; }; }
92889 cat >conftest.$ac_ext <<_ACEOF
92890 /* confdefs.h. */
92891 _ACEOF
92892 cat confdefs.h >>conftest.$ac_ext
92893 cat >>conftest.$ac_ext <<_ACEOF
92894 /* end confdefs.h. */
92895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92897 #define $ac_func innocuous_$ac_func
92899 /* System header to define __stub macros and hopefully few prototypes,
92900 which can conflict with char $ac_func (); below.
92901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92902 <limits.h> exists even on freestanding compilers. */
92904 #ifdef __STDC__
92905 # include <limits.h>
92906 #else
92907 # include <assert.h>
92908 #endif
92910 #undef $ac_func
92912 /* Override any gcc2 internal prototype to avoid an error. */
92913 #ifdef __cplusplus
92914 extern "C"
92916 #endif
92917 /* We use char because int might match the return type of a gcc2
92918 builtin and then its argument prototype would still apply. */
92919 char $ac_func ();
92920 /* The GNU C library defines this for functions which it implements
92921 to always fail with ENOSYS. Some functions are actually named
92922 something starting with __ and the normal name is an alias. */
92923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92924 choke me
92925 #else
92926 char (*f) () = $ac_func;
92927 #endif
92928 #ifdef __cplusplus
92930 #endif
92933 main ()
92935 return f != $ac_func;
92937 return 0;
92939 _ACEOF
92940 rm -f conftest.$ac_objext conftest$ac_exeext
92941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92942 (eval $ac_link) 2>conftest.er1
92943 ac_status=$?
92944 grep -v '^ *+' conftest.er1 >conftest.err
92945 rm -f conftest.er1
92946 cat conftest.err >&5
92947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92948 (exit $ac_status); } &&
92949 { ac_try='test -z "$ac_c_werror_flag"
92950 || test ! -s conftest.err'
92951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92952 (eval $ac_try) 2>&5
92953 ac_status=$?
92954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92955 (exit $ac_status); }; } &&
92956 { ac_try='test -s conftest$ac_exeext'
92957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92958 (eval $ac_try) 2>&5
92959 ac_status=$?
92960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92961 (exit $ac_status); }; }; then
92962 eval "$as_ac_var=yes"
92963 else
92964 echo "$as_me: failed program was:" >&5
92965 sed 's/^/| /' conftest.$ac_ext >&5
92967 eval "$as_ac_var=no"
92969 rm -f conftest.err conftest.$ac_objext \
92970 conftest$ac_exeext conftest.$ac_ext
92972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92974 if test `eval echo '${'$as_ac_var'}'` = yes; then
92975 cat >>confdefs.h <<_ACEOF
92976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92977 _ACEOF
92979 else
92980 ac_wfuncs=no
92982 done
92985 # Checks for wide character functions that are not required
92986 # for basic wchar_t support. Don't disable support if they are missing.
92987 # Injection of these is wrapped with guard macros.
92993 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
92995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92996 echo "$as_me:$LINENO: checking for $ac_func" >&5
92997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92998 if eval "test \"\${$as_ac_var+set}\" = set"; then
92999 echo $ECHO_N "(cached) $ECHO_C" >&6
93000 else
93001 if test x$gcc_no_link = xyes; then
93002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93004 { (exit 1); exit 1; }; }
93006 cat >conftest.$ac_ext <<_ACEOF
93007 /* confdefs.h. */
93008 _ACEOF
93009 cat confdefs.h >>conftest.$ac_ext
93010 cat >>conftest.$ac_ext <<_ACEOF
93011 /* end confdefs.h. */
93012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93014 #define $ac_func innocuous_$ac_func
93016 /* System header to define __stub macros and hopefully few prototypes,
93017 which can conflict with char $ac_func (); below.
93018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93019 <limits.h> exists even on freestanding compilers. */
93021 #ifdef __STDC__
93022 # include <limits.h>
93023 #else
93024 # include <assert.h>
93025 #endif
93027 #undef $ac_func
93029 /* Override any gcc2 internal prototype to avoid an error. */
93030 #ifdef __cplusplus
93031 extern "C"
93033 #endif
93034 /* We use char because int might match the return type of a gcc2
93035 builtin and then its argument prototype would still apply. */
93036 char $ac_func ();
93037 /* The GNU C library defines this for functions which it implements
93038 to always fail with ENOSYS. Some functions are actually named
93039 something starting with __ and the normal name is an alias. */
93040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93041 choke me
93042 #else
93043 char (*f) () = $ac_func;
93044 #endif
93045 #ifdef __cplusplus
93047 #endif
93050 main ()
93052 return f != $ac_func;
93054 return 0;
93056 _ACEOF
93057 rm -f conftest.$ac_objext conftest$ac_exeext
93058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93059 (eval $ac_link) 2>conftest.er1
93060 ac_status=$?
93061 grep -v '^ *+' conftest.er1 >conftest.err
93062 rm -f conftest.er1
93063 cat conftest.err >&5
93064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93065 (exit $ac_status); } &&
93066 { ac_try='test -z "$ac_c_werror_flag"
93067 || test ! -s conftest.err'
93068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93069 (eval $ac_try) 2>&5
93070 ac_status=$?
93071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93072 (exit $ac_status); }; } &&
93073 { ac_try='test -s conftest$ac_exeext'
93074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93075 (eval $ac_try) 2>&5
93076 ac_status=$?
93077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93078 (exit $ac_status); }; }; then
93079 eval "$as_ac_var=yes"
93080 else
93081 echo "$as_me: failed program was:" >&5
93082 sed 's/^/| /' conftest.$ac_ext >&5
93084 eval "$as_ac_var=no"
93086 rm -f conftest.err conftest.$ac_objext \
93087 conftest$ac_exeext conftest.$ac_ext
93089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93091 if test `eval echo '${'$as_ac_var'}'` = yes; then
93092 cat >>confdefs.h <<_ACEOF
93093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93094 _ACEOF
93097 done
93100 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
93101 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
93102 if test x"$has_weof" = xyes &&
93103 test x"$has_wchar_minmax" = xyes &&
93104 test x"$ac_wfuncs" = xyes;
93105 then
93106 ac_isoC99_wchar_t=yes
93107 else
93108 ac_isoC99_wchar_t=no
93110 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
93111 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
93113 # Use iconv for wchar_t to char conversions. As such, check for
93114 # X/Open Portability Guide, version 2 features (XPG2).
93115 if test "${ac_cv_header_iconv_h+set}" = set; then
93116 echo "$as_me:$LINENO: checking for iconv.h" >&5
93117 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93118 if test "${ac_cv_header_iconv_h+set}" = set; then
93119 echo $ECHO_N "(cached) $ECHO_C" >&6
93121 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93122 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93123 else
93124 # Is the header compilable?
93125 echo "$as_me:$LINENO: checking iconv.h usability" >&5
93126 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
93127 cat >conftest.$ac_ext <<_ACEOF
93128 /* confdefs.h. */
93129 _ACEOF
93130 cat confdefs.h >>conftest.$ac_ext
93131 cat >>conftest.$ac_ext <<_ACEOF
93132 /* end confdefs.h. */
93133 $ac_includes_default
93134 #include <iconv.h>
93135 _ACEOF
93136 rm -f conftest.$ac_objext
93137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93138 (eval $ac_compile) 2>conftest.er1
93139 ac_status=$?
93140 grep -v '^ *+' conftest.er1 >conftest.err
93141 rm -f conftest.er1
93142 cat conftest.err >&5
93143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93144 (exit $ac_status); } &&
93145 { ac_try='test -z "$ac_c_werror_flag"
93146 || test ! -s conftest.err'
93147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93148 (eval $ac_try) 2>&5
93149 ac_status=$?
93150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93151 (exit $ac_status); }; } &&
93152 { ac_try='test -s conftest.$ac_objext'
93153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93154 (eval $ac_try) 2>&5
93155 ac_status=$?
93156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93157 (exit $ac_status); }; }; then
93158 ac_header_compiler=yes
93159 else
93160 echo "$as_me: failed program was:" >&5
93161 sed 's/^/| /' conftest.$ac_ext >&5
93163 ac_header_compiler=no
93165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93167 echo "${ECHO_T}$ac_header_compiler" >&6
93169 # Is the header present?
93170 echo "$as_me:$LINENO: checking iconv.h presence" >&5
93171 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
93172 cat >conftest.$ac_ext <<_ACEOF
93173 /* confdefs.h. */
93174 _ACEOF
93175 cat confdefs.h >>conftest.$ac_ext
93176 cat >>conftest.$ac_ext <<_ACEOF
93177 /* end confdefs.h. */
93178 #include <iconv.h>
93179 _ACEOF
93180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93182 ac_status=$?
93183 grep -v '^ *+' conftest.er1 >conftest.err
93184 rm -f conftest.er1
93185 cat conftest.err >&5
93186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93187 (exit $ac_status); } >/dev/null; then
93188 if test -s conftest.err; then
93189 ac_cpp_err=$ac_c_preproc_warn_flag
93190 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93191 else
93192 ac_cpp_err=
93194 else
93195 ac_cpp_err=yes
93197 if test -z "$ac_cpp_err"; then
93198 ac_header_preproc=yes
93199 else
93200 echo "$as_me: failed program was:" >&5
93201 sed 's/^/| /' conftest.$ac_ext >&5
93203 ac_header_preproc=no
93205 rm -f conftest.err conftest.$ac_ext
93206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93207 echo "${ECHO_T}$ac_header_preproc" >&6
93209 # So? What about this header?
93210 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93211 yes:no: )
93212 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
93213 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93214 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
93215 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
93216 ac_header_preproc=yes
93218 no:yes:* )
93219 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
93220 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
93221 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
93222 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
93223 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
93224 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
93225 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
93226 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
93227 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
93228 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
93229 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
93230 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
93232 cat <<\_ASBOX
93233 ## ----------------------------------------- ##
93234 ## Report this to the package-unused lists. ##
93235 ## ----------------------------------------- ##
93236 _ASBOX
93238 sed "s/^/$as_me: WARNING: /" >&2
93240 esac
93241 echo "$as_me:$LINENO: checking for iconv.h" >&5
93242 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93243 if test "${ac_cv_header_iconv_h+set}" = set; then
93244 echo $ECHO_N "(cached) $ECHO_C" >&6
93245 else
93246 ac_cv_header_iconv_h=$ac_header_preproc
93248 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93249 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93252 if test $ac_cv_header_iconv_h = yes; then
93253 ac_has_iconv_h=yes
93254 else
93255 ac_has_iconv_h=no
93259 if test "${ac_cv_header_langinfo_h+set}" = set; then
93260 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93261 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93262 if test "${ac_cv_header_langinfo_h+set}" = set; then
93263 echo $ECHO_N "(cached) $ECHO_C" >&6
93265 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93266 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93267 else
93268 # Is the header compilable?
93269 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
93270 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
93271 cat >conftest.$ac_ext <<_ACEOF
93272 /* confdefs.h. */
93273 _ACEOF
93274 cat confdefs.h >>conftest.$ac_ext
93275 cat >>conftest.$ac_ext <<_ACEOF
93276 /* end confdefs.h. */
93277 $ac_includes_default
93278 #include <langinfo.h>
93279 _ACEOF
93280 rm -f conftest.$ac_objext
93281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93282 (eval $ac_compile) 2>conftest.er1
93283 ac_status=$?
93284 grep -v '^ *+' conftest.er1 >conftest.err
93285 rm -f conftest.er1
93286 cat conftest.err >&5
93287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93288 (exit $ac_status); } &&
93289 { ac_try='test -z "$ac_c_werror_flag"
93290 || test ! -s conftest.err'
93291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93292 (eval $ac_try) 2>&5
93293 ac_status=$?
93294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93295 (exit $ac_status); }; } &&
93296 { ac_try='test -s conftest.$ac_objext'
93297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93298 (eval $ac_try) 2>&5
93299 ac_status=$?
93300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93301 (exit $ac_status); }; }; then
93302 ac_header_compiler=yes
93303 else
93304 echo "$as_me: failed program was:" >&5
93305 sed 's/^/| /' conftest.$ac_ext >&5
93307 ac_header_compiler=no
93309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93311 echo "${ECHO_T}$ac_header_compiler" >&6
93313 # Is the header present?
93314 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
93315 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
93316 cat >conftest.$ac_ext <<_ACEOF
93317 /* confdefs.h. */
93318 _ACEOF
93319 cat confdefs.h >>conftest.$ac_ext
93320 cat >>conftest.$ac_ext <<_ACEOF
93321 /* end confdefs.h. */
93322 #include <langinfo.h>
93323 _ACEOF
93324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93326 ac_status=$?
93327 grep -v '^ *+' conftest.er1 >conftest.err
93328 rm -f conftest.er1
93329 cat conftest.err >&5
93330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93331 (exit $ac_status); } >/dev/null; then
93332 if test -s conftest.err; then
93333 ac_cpp_err=$ac_c_preproc_warn_flag
93334 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93335 else
93336 ac_cpp_err=
93338 else
93339 ac_cpp_err=yes
93341 if test -z "$ac_cpp_err"; then
93342 ac_header_preproc=yes
93343 else
93344 echo "$as_me: failed program was:" >&5
93345 sed 's/^/| /' conftest.$ac_ext >&5
93347 ac_header_preproc=no
93349 rm -f conftest.err conftest.$ac_ext
93350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93351 echo "${ECHO_T}$ac_header_preproc" >&6
93353 # So? What about this header?
93354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93355 yes:no: )
93356 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
93357 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93358 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
93359 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
93360 ac_header_preproc=yes
93362 no:yes:* )
93363 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
93364 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
93365 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
93366 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
93367 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
93368 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
93369 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
93370 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
93371 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
93372 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
93373 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
93374 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
93376 cat <<\_ASBOX
93377 ## ----------------------------------------- ##
93378 ## Report this to the package-unused lists. ##
93379 ## ----------------------------------------- ##
93380 _ASBOX
93382 sed "s/^/$as_me: WARNING: /" >&2
93384 esac
93385 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93386 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93387 if test "${ac_cv_header_langinfo_h+set}" = set; then
93388 echo $ECHO_N "(cached) $ECHO_C" >&6
93389 else
93390 ac_cv_header_langinfo_h=$ac_header_preproc
93392 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93393 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93396 if test $ac_cv_header_langinfo_h = yes; then
93397 ac_has_langinfo_h=yes
93398 else
93399 ac_has_langinfo_h=no
93404 # Check for existence of libiconv.a providing XPG2 wchar_t support.
93405 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
93406 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
93407 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
93408 echo $ECHO_N "(cached) $ECHO_C" >&6
93409 else
93410 ac_check_lib_save_LIBS=$LIBS
93411 LIBS="-liconv $LIBS"
93412 if test x$gcc_no_link = xyes; then
93413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93415 { (exit 1); exit 1; }; }
93417 cat >conftest.$ac_ext <<_ACEOF
93418 /* confdefs.h. */
93419 _ACEOF
93420 cat confdefs.h >>conftest.$ac_ext
93421 cat >>conftest.$ac_ext <<_ACEOF
93422 /* end confdefs.h. */
93424 /* Override any gcc2 internal prototype to avoid an error. */
93425 #ifdef __cplusplus
93426 extern "C"
93427 #endif
93428 /* We use char because int might match the return type of a gcc2
93429 builtin and then its argument prototype would still apply. */
93430 char iconv ();
93432 main ()
93434 iconv ();
93436 return 0;
93438 _ACEOF
93439 rm -f conftest.$ac_objext conftest$ac_exeext
93440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93441 (eval $ac_link) 2>conftest.er1
93442 ac_status=$?
93443 grep -v '^ *+' conftest.er1 >conftest.err
93444 rm -f conftest.er1
93445 cat conftest.err >&5
93446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93447 (exit $ac_status); } &&
93448 { ac_try='test -z "$ac_c_werror_flag"
93449 || test ! -s conftest.err'
93450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93451 (eval $ac_try) 2>&5
93452 ac_status=$?
93453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93454 (exit $ac_status); }; } &&
93455 { ac_try='test -s conftest$ac_exeext'
93456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93457 (eval $ac_try) 2>&5
93458 ac_status=$?
93459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93460 (exit $ac_status); }; }; then
93461 ac_cv_lib_iconv_iconv=yes
93462 else
93463 echo "$as_me: failed program was:" >&5
93464 sed 's/^/| /' conftest.$ac_ext >&5
93466 ac_cv_lib_iconv_iconv=no
93468 rm -f conftest.err conftest.$ac_objext \
93469 conftest$ac_exeext conftest.$ac_ext
93470 LIBS=$ac_check_lib_save_LIBS
93472 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
93473 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
93474 if test $ac_cv_lib_iconv_iconv = yes; then
93475 LIBICONV="-liconv"
93478 ac_save_LIBS="$LIBS"
93479 LIBS="$LIBS $LIBICONV"
93486 for ac_func in iconv_open iconv_close iconv nl_langinfo
93488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93489 echo "$as_me:$LINENO: checking for $ac_func" >&5
93490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93491 if eval "test \"\${$as_ac_var+set}\" = set"; then
93492 echo $ECHO_N "(cached) $ECHO_C" >&6
93493 else
93494 if test x$gcc_no_link = xyes; then
93495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93497 { (exit 1); exit 1; }; }
93499 cat >conftest.$ac_ext <<_ACEOF
93500 /* confdefs.h. */
93501 _ACEOF
93502 cat confdefs.h >>conftest.$ac_ext
93503 cat >>conftest.$ac_ext <<_ACEOF
93504 /* end confdefs.h. */
93505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93507 #define $ac_func innocuous_$ac_func
93509 /* System header to define __stub macros and hopefully few prototypes,
93510 which can conflict with char $ac_func (); below.
93511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93512 <limits.h> exists even on freestanding compilers. */
93514 #ifdef __STDC__
93515 # include <limits.h>
93516 #else
93517 # include <assert.h>
93518 #endif
93520 #undef $ac_func
93522 /* Override any gcc2 internal prototype to avoid an error. */
93523 #ifdef __cplusplus
93524 extern "C"
93526 #endif
93527 /* We use char because int might match the return type of a gcc2
93528 builtin and then its argument prototype would still apply. */
93529 char $ac_func ();
93530 /* The GNU C library defines this for functions which it implements
93531 to always fail with ENOSYS. Some functions are actually named
93532 something starting with __ and the normal name is an alias. */
93533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93534 choke me
93535 #else
93536 char (*f) () = $ac_func;
93537 #endif
93538 #ifdef __cplusplus
93540 #endif
93543 main ()
93545 return f != $ac_func;
93547 return 0;
93549 _ACEOF
93550 rm -f conftest.$ac_objext conftest$ac_exeext
93551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93552 (eval $ac_link) 2>conftest.er1
93553 ac_status=$?
93554 grep -v '^ *+' conftest.er1 >conftest.err
93555 rm -f conftest.er1
93556 cat conftest.err >&5
93557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93558 (exit $ac_status); } &&
93559 { ac_try='test -z "$ac_c_werror_flag"
93560 || test ! -s conftest.err'
93561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93562 (eval $ac_try) 2>&5
93563 ac_status=$?
93564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93565 (exit $ac_status); }; } &&
93566 { ac_try='test -s conftest$ac_exeext'
93567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93568 (eval $ac_try) 2>&5
93569 ac_status=$?
93570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93571 (exit $ac_status); }; }; then
93572 eval "$as_ac_var=yes"
93573 else
93574 echo "$as_me: failed program was:" >&5
93575 sed 's/^/| /' conftest.$ac_ext >&5
93577 eval "$as_ac_var=no"
93579 rm -f conftest.err conftest.$ac_objext \
93580 conftest$ac_exeext conftest.$ac_ext
93582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93584 if test `eval echo '${'$as_ac_var'}'` = yes; then
93585 cat >>confdefs.h <<_ACEOF
93586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93587 _ACEOF
93588 ac_XPG2funcs=yes
93589 else
93590 ac_XPG2funcs=no
93592 done
93595 LIBS="$ac_save_LIBS"
93597 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93598 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93599 if test x"$ac_has_iconv_h" = xyes &&
93600 test x"$ac_has_langinfo_h" = xyes &&
93601 test x"$ac_XPG2funcs" = xyes;
93602 then
93603 ac_XPG2_wchar_t=yes
93604 else
93605 ac_XPG2_wchar_t=no
93607 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93608 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93610 # At the moment, only enable wchar_t specializations if all the
93611 # above support is present.
93612 if test x"$ac_isoC99_wchar_t" = xyes &&
93613 test x"$ac_XPG2_wchar_t" = xyes;
93614 then
93615 cat >>confdefs.h <<\_ACEOF
93616 #define _GLIBCXX_USE_WCHAR_T 1
93617 _ACEOF
93619 enable_wchar_t=yes
93622 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93623 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93624 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93625 echo "${ECHO_T}$enable_wchar_t" >&6
93627 # All of the dependencies for wide character support are here, so
93628 # turn it on. This requires some syncronization with the
93629 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
93630 cat >>confdefs.h <<\_ACEOF
93631 #define _GLIBCXX_USE_WCHAR_T 1
93632 _ACEOF
93634 # Are these tested for even when cross?
93635 cat >>confdefs.h <<\_ACEOF
93636 #define HAVE_FLOAT_H 1
93637 _ACEOF
93639 cat >>confdefs.h <<\_ACEOF
93640 #define HAVE_IEEEFP_H 1
93641 _ACEOF
93643 cat >>confdefs.h <<\_ACEOF
93644 #define HAVE_INTTYPES_H 1
93645 _ACEOF
93647 cat >>confdefs.h <<\_ACEOF
93648 #define HAVE_LOCALE_H 1
93649 _ACEOF
93651 cat >>confdefs.h <<\_ACEOF
93652 #define HAVE_NAN_H 1
93653 _ACEOF
93655 cat >>confdefs.h <<\_ACEOF
93656 #define HAVE_SYS_FILIO_H 1
93657 _ACEOF
93659 cat >>confdefs.h <<\_ACEOF
93660 #define HAVE_SYS_IOCTL_H 1
93661 _ACEOF
93663 cat >>confdefs.h <<\_ACEOF
93664 #define HAVE_SYS_ISA_DEFS_H 1
93665 _ACEOF
93667 cat >>confdefs.h <<\_ACEOF
93668 #define HAVE_SYS_RESOURCE_H 1
93669 _ACEOF
93671 cat >>confdefs.h <<\_ACEOF
93672 #define HAVE_SYS_TIME_H 1
93673 _ACEOF
93675 cat >>confdefs.h <<\_ACEOF
93676 #define HAVE_SYS_TYPES_H 1
93677 _ACEOF
93679 cat >>confdefs.h <<\_ACEOF
93680 #define HAVE_UNISTD_H 1
93681 _ACEOF
93683 cat >>confdefs.h <<\_ACEOF
93684 #define HAVE_WCHAR_H 1
93685 _ACEOF
93687 cat >>confdefs.h <<\_ACEOF
93688 #define HAVE_WCTYPE_H 1
93689 _ACEOF
93691 cat >>confdefs.h <<\_ACEOF
93692 #define HAVE_LIBM 1
93693 _ACEOF
93696 esac
93697 case "$target" in
93698 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
93699 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
93700 cat >>confdefs.h <<\_ACEOF
93701 #define HAVE___BUILTIN_ABS 1
93702 _ACEOF
93704 cat >>confdefs.h <<\_ACEOF
93705 #define HAVE___BUILTIN_LABS 1
93706 _ACEOF
93708 cat >>confdefs.h <<\_ACEOF
93709 #define HAVE___BUILTIN_FABS 1
93710 _ACEOF
93712 cat >>confdefs.h <<\_ACEOF
93713 #define HAVE___BUILTIN_FABSF 1
93714 _ACEOF
93716 cat >>confdefs.h <<\_ACEOF
93717 #define HAVE___BUILTIN_FABSL 1
93718 _ACEOF
93720 cat >>confdefs.h <<\_ACEOF
93721 #define HAVE___BUILTIN_COS 1
93722 _ACEOF
93724 cat >>confdefs.h <<\_ACEOF
93725 #define HAVE___BUILTIN_COSF 1
93726 _ACEOF
93728 cat >>confdefs.h <<\_ACEOF
93729 #define HAVE___BUILTIN_SIN 1
93730 _ACEOF
93732 cat >>confdefs.h <<\_ACEOF
93733 #define HAVE___BUILTIN_SINF 1
93734 _ACEOF
93737 esac
93738 cat >>confdefs.h <<\_ACEOF
93739 #define HAVE_STRTOF 1
93740 _ACEOF
93742 cat >>confdefs.h <<\_ACEOF
93743 #define HAVE_STRTOLD 1
93744 _ACEOF
93746 cat >>confdefs.h <<\_ACEOF
93747 #define HAVE_MMAP 1
93748 _ACEOF
93750 cat >>confdefs.h <<\_ACEOF
93751 #define HAVE_COPYSIGN 1
93752 _ACEOF
93754 cat >>confdefs.h <<\_ACEOF
93755 #define HAVE_ISNAN 1
93756 _ACEOF
93758 cat >>confdefs.h <<\_ACEOF
93759 #define HAVE_ISNANF 1
93760 _ACEOF
93762 cat >>confdefs.h <<\_ACEOF
93763 #define HAVE_MODFF 1
93764 _ACEOF
93766 cat >>confdefs.h <<\_ACEOF
93767 #define HAVE_HYPOT 1
93768 _ACEOF
93771 *-tpf)
93780 for ac_header in nan.h endian.h machine/endian.h \
93781 sys/param.h sys/types.h locale.h float.h inttypes.h
93783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93785 echo "$as_me:$LINENO: checking for $ac_header" >&5
93786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93788 echo $ECHO_N "(cached) $ECHO_C" >&6
93790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93792 else
93793 # Is the header compilable?
93794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93796 cat >conftest.$ac_ext <<_ACEOF
93797 /* confdefs.h. */
93798 _ACEOF
93799 cat confdefs.h >>conftest.$ac_ext
93800 cat >>conftest.$ac_ext <<_ACEOF
93801 /* end confdefs.h. */
93802 $ac_includes_default
93803 #include <$ac_header>
93804 _ACEOF
93805 rm -f conftest.$ac_objext
93806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93807 (eval $ac_compile) 2>conftest.er1
93808 ac_status=$?
93809 grep -v '^ *+' conftest.er1 >conftest.err
93810 rm -f conftest.er1
93811 cat conftest.err >&5
93812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93813 (exit $ac_status); } &&
93814 { ac_try='test -z "$ac_c_werror_flag"
93815 || test ! -s conftest.err'
93816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93817 (eval $ac_try) 2>&5
93818 ac_status=$?
93819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93820 (exit $ac_status); }; } &&
93821 { ac_try='test -s conftest.$ac_objext'
93822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93823 (eval $ac_try) 2>&5
93824 ac_status=$?
93825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93826 (exit $ac_status); }; }; then
93827 ac_header_compiler=yes
93828 else
93829 echo "$as_me: failed program was:" >&5
93830 sed 's/^/| /' conftest.$ac_ext >&5
93832 ac_header_compiler=no
93834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93836 echo "${ECHO_T}$ac_header_compiler" >&6
93838 # Is the header present?
93839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93841 cat >conftest.$ac_ext <<_ACEOF
93842 /* confdefs.h. */
93843 _ACEOF
93844 cat confdefs.h >>conftest.$ac_ext
93845 cat >>conftest.$ac_ext <<_ACEOF
93846 /* end confdefs.h. */
93847 #include <$ac_header>
93848 _ACEOF
93849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93851 ac_status=$?
93852 grep -v '^ *+' conftest.er1 >conftest.err
93853 rm -f conftest.er1
93854 cat conftest.err >&5
93855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93856 (exit $ac_status); } >/dev/null; then
93857 if test -s conftest.err; then
93858 ac_cpp_err=$ac_c_preproc_warn_flag
93859 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93860 else
93861 ac_cpp_err=
93863 else
93864 ac_cpp_err=yes
93866 if test -z "$ac_cpp_err"; then
93867 ac_header_preproc=yes
93868 else
93869 echo "$as_me: failed program was:" >&5
93870 sed 's/^/| /' conftest.$ac_ext >&5
93872 ac_header_preproc=no
93874 rm -f conftest.err conftest.$ac_ext
93875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93876 echo "${ECHO_T}$ac_header_preproc" >&6
93878 # So? What about this header?
93879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93880 yes:no: )
93881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93885 ac_header_preproc=yes
93887 no:yes:* )
93888 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93890 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
93891 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
93892 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93894 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
93895 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
93896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93898 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93901 cat <<\_ASBOX
93902 ## ----------------------------------------- ##
93903 ## Report this to the package-unused lists. ##
93904 ## ----------------------------------------- ##
93905 _ASBOX
93907 sed "s/^/$as_me: WARNING: /" >&2
93909 esac
93910 echo "$as_me:$LINENO: checking for $ac_header" >&5
93911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93913 echo $ECHO_N "(cached) $ECHO_C" >&6
93914 else
93915 eval "$as_ac_Header=\$ac_header_preproc"
93917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93922 cat >>confdefs.h <<_ACEOF
93923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93924 _ACEOF
93928 done
93930 SECTION_FLAGS='-ffunction-sections -fdata-sections'
93933 # If we're not using GNU ld, then there's no point in even trying these
93934 # tests. Check for that first. We should have already tested for gld
93935 # by now (in libtool), but require it now just to be safe...
93936 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
93937 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
93941 # The name set by libtool depends on the version of libtool. Shame on us
93942 # for depending on an impl detail, but c'est la vie. Older versions used
93943 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
93944 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
93945 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
93946 # set (hence we're using an older libtool), then set it.
93947 if test x${with_gnu_ld+set} != xset; then
93948 if test x${ac_cv_prog_gnu_ld+set} != xset; then
93949 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
93950 with_gnu_ld=no
93951 else
93952 with_gnu_ld=$ac_cv_prog_gnu_ld
93956 # Start by getting the version number. I think the libtool test already
93957 # does some of this, but throws away the result.
93959 ldver=`$LD --version 2>/dev/null | head -1 | \
93960 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
93962 glibcxx_gnu_ld_version=`echo $ldver | \
93963 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
93965 # Set --gc-sections.
93966 if test "$with_gnu_ld" = "notbroken"; then
93967 # GNU ld it is! Joy and bunny rabbits!
93969 # All these tests are for C++; save the language and the compiler flags.
93970 # Need to do this so that g++ won't try to link in libstdc++
93971 ac_test_CFLAGS="${CFLAGS+set}"
93972 ac_save_CFLAGS="$CFLAGS"
93973 CFLAGS='-x c++ -Wl,--gc-sections'
93975 # Check for -Wl,--gc-sections
93976 # XXX This test is broken at the moment, as symbols required for linking
93977 # are now in libsupc++ (not built yet). In addition, this test has
93978 # cored on solaris in the past. In addition, --gc-sections doesn't
93979 # really work at the moment (keeps on discarding used sections, first
93980 # .eh_frame and now some of the glibc sections for iconv).
93981 # Bzzzzt. Thanks for playing, maybe next time.
93982 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
93983 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
93984 if test "$cross_compiling" = yes; then
93985 ac_sectionLDflags=yes
93986 else
93987 cat >conftest.$ac_ext <<_ACEOF
93988 /* confdefs.h. */
93989 _ACEOF
93990 cat confdefs.h >>conftest.$ac_ext
93991 cat >>conftest.$ac_ext <<_ACEOF
93992 /* end confdefs.h. */
93994 int main(void)
93996 try { throw 1; }
93997 catch (...) { };
93998 return 0;
94001 _ACEOF
94002 rm -f conftest$ac_exeext
94003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94004 (eval $ac_link) 2>&5
94005 ac_status=$?
94006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94007 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94009 (eval $ac_try) 2>&5
94010 ac_status=$?
94011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94012 (exit $ac_status); }; }; then
94013 ac_sectionLDflags=yes
94014 else
94015 echo "$as_me: program exited with status $ac_status" >&5
94016 echo "$as_me: failed program was:" >&5
94017 sed 's/^/| /' conftest.$ac_ext >&5
94019 ( exit $ac_status )
94020 ac_sectionLDflags=no
94022 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94024 if test "$ac_test_CFLAGS" = set; then
94025 CFLAGS="$ac_save_CFLAGS"
94026 else
94027 # this is the suspicious part
94028 CFLAGS=''
94030 if test "$ac_sectionLDflags" = "yes"; then
94031 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
94033 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
94034 echo "${ECHO_T}$ac_sectionLDflags" >&6
94037 # Set linker optimization flags.
94038 if test x"$with_gnu_ld" = x"yes"; then
94039 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
94047 echo "$as_me:$LINENO: checking for main in -lm" >&5
94048 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
94049 if test "${ac_cv_lib_m_main+set}" = set; then
94050 echo $ECHO_N "(cached) $ECHO_C" >&6
94051 else
94052 ac_check_lib_save_LIBS=$LIBS
94053 LIBS="-lm $LIBS"
94054 if test x$gcc_no_link = xyes; then
94055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94057 { (exit 1); exit 1; }; }
94059 cat >conftest.$ac_ext <<_ACEOF
94060 /* confdefs.h. */
94061 _ACEOF
94062 cat confdefs.h >>conftest.$ac_ext
94063 cat >>conftest.$ac_ext <<_ACEOF
94064 /* end confdefs.h. */
94068 main ()
94070 main ();
94072 return 0;
94074 _ACEOF
94075 rm -f conftest.$ac_objext conftest$ac_exeext
94076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94077 (eval $ac_link) 2>conftest.er1
94078 ac_status=$?
94079 grep -v '^ *+' conftest.er1 >conftest.err
94080 rm -f conftest.er1
94081 cat conftest.err >&5
94082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94083 (exit $ac_status); } &&
94084 { ac_try='test -z "$ac_c_werror_flag"
94085 || test ! -s conftest.err'
94086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94087 (eval $ac_try) 2>&5
94088 ac_status=$?
94089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94090 (exit $ac_status); }; } &&
94091 { ac_try='test -s conftest$ac_exeext'
94092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94093 (eval $ac_try) 2>&5
94094 ac_status=$?
94095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94096 (exit $ac_status); }; }; then
94097 ac_cv_lib_m_main=yes
94098 else
94099 echo "$as_me: failed program was:" >&5
94100 sed 's/^/| /' conftest.$ac_ext >&5
94102 ac_cv_lib_m_main=no
94104 rm -f conftest.err conftest.$ac_objext \
94105 conftest$ac_exeext conftest.$ac_ext
94106 LIBS=$ac_check_lib_save_LIBS
94108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
94109 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
94110 if test $ac_cv_lib_m_main = yes; then
94111 cat >>confdefs.h <<_ACEOF
94112 #define HAVE_LIBM 1
94113 _ACEOF
94115 LIBS="-lm $LIBS"
94120 for ac_func in copysignf
94122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94123 echo "$as_me:$LINENO: checking for $ac_func" >&5
94124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94125 if eval "test \"\${$as_ac_var+set}\" = set"; then
94126 echo $ECHO_N "(cached) $ECHO_C" >&6
94127 else
94128 if test x$gcc_no_link = xyes; then
94129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94131 { (exit 1); exit 1; }; }
94133 cat >conftest.$ac_ext <<_ACEOF
94134 /* confdefs.h. */
94135 _ACEOF
94136 cat confdefs.h >>conftest.$ac_ext
94137 cat >>conftest.$ac_ext <<_ACEOF
94138 /* end confdefs.h. */
94139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94141 #define $ac_func innocuous_$ac_func
94143 /* System header to define __stub macros and hopefully few prototypes,
94144 which can conflict with char $ac_func (); below.
94145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94146 <limits.h> exists even on freestanding compilers. */
94148 #ifdef __STDC__
94149 # include <limits.h>
94150 #else
94151 # include <assert.h>
94152 #endif
94154 #undef $ac_func
94156 /* Override any gcc2 internal prototype to avoid an error. */
94157 #ifdef __cplusplus
94158 extern "C"
94160 #endif
94161 /* We use char because int might match the return type of a gcc2
94162 builtin and then its argument prototype would still apply. */
94163 char $ac_func ();
94164 /* The GNU C library defines this for functions which it implements
94165 to always fail with ENOSYS. Some functions are actually named
94166 something starting with __ and the normal name is an alias. */
94167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94168 choke me
94169 #else
94170 char (*f) () = $ac_func;
94171 #endif
94172 #ifdef __cplusplus
94174 #endif
94177 main ()
94179 return f != $ac_func;
94181 return 0;
94183 _ACEOF
94184 rm -f conftest.$ac_objext conftest$ac_exeext
94185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94186 (eval $ac_link) 2>conftest.er1
94187 ac_status=$?
94188 grep -v '^ *+' conftest.er1 >conftest.err
94189 rm -f conftest.er1
94190 cat conftest.err >&5
94191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94192 (exit $ac_status); } &&
94193 { ac_try='test -z "$ac_c_werror_flag"
94194 || test ! -s conftest.err'
94195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94196 (eval $ac_try) 2>&5
94197 ac_status=$?
94198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94199 (exit $ac_status); }; } &&
94200 { ac_try='test -s conftest$ac_exeext'
94201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94202 (eval $ac_try) 2>&5
94203 ac_status=$?
94204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94205 (exit $ac_status); }; }; then
94206 eval "$as_ac_var=yes"
94207 else
94208 echo "$as_me: failed program was:" >&5
94209 sed 's/^/| /' conftest.$ac_ext >&5
94211 eval "$as_ac_var=no"
94213 rm -f conftest.err conftest.$ac_objext \
94214 conftest$ac_exeext conftest.$ac_ext
94216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94218 if test `eval echo '${'$as_ac_var'}'` = yes; then
94219 cat >>confdefs.h <<_ACEOF
94220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94221 _ACEOF
94223 else
94224 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
94226 done
94230 for ac_func in __signbit
94232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94233 echo "$as_me:$LINENO: checking for $ac_func" >&5
94234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94235 if eval "test \"\${$as_ac_var+set}\" = set"; then
94236 echo $ECHO_N "(cached) $ECHO_C" >&6
94237 else
94238 if test x$gcc_no_link = xyes; then
94239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94241 { (exit 1); exit 1; }; }
94243 cat >conftest.$ac_ext <<_ACEOF
94244 /* confdefs.h. */
94245 _ACEOF
94246 cat confdefs.h >>conftest.$ac_ext
94247 cat >>conftest.$ac_ext <<_ACEOF
94248 /* end confdefs.h. */
94249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94251 #define $ac_func innocuous_$ac_func
94253 /* System header to define __stub macros and hopefully few prototypes,
94254 which can conflict with char $ac_func (); below.
94255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94256 <limits.h> exists even on freestanding compilers. */
94258 #ifdef __STDC__
94259 # include <limits.h>
94260 #else
94261 # include <assert.h>
94262 #endif
94264 #undef $ac_func
94266 /* Override any gcc2 internal prototype to avoid an error. */
94267 #ifdef __cplusplus
94268 extern "C"
94270 #endif
94271 /* We use char because int might match the return type of a gcc2
94272 builtin and then its argument prototype would still apply. */
94273 char $ac_func ();
94274 /* The GNU C library defines this for functions which it implements
94275 to always fail with ENOSYS. Some functions are actually named
94276 something starting with __ and the normal name is an alias. */
94277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94278 choke me
94279 #else
94280 char (*f) () = $ac_func;
94281 #endif
94282 #ifdef __cplusplus
94284 #endif
94287 main ()
94289 return f != $ac_func;
94291 return 0;
94293 _ACEOF
94294 rm -f conftest.$ac_objext conftest$ac_exeext
94295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94296 (eval $ac_link) 2>conftest.er1
94297 ac_status=$?
94298 grep -v '^ *+' conftest.er1 >conftest.err
94299 rm -f conftest.er1
94300 cat conftest.err >&5
94301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94302 (exit $ac_status); } &&
94303 { ac_try='test -z "$ac_c_werror_flag"
94304 || test ! -s conftest.err'
94305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94306 (eval $ac_try) 2>&5
94307 ac_status=$?
94308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94309 (exit $ac_status); }; } &&
94310 { ac_try='test -s conftest$ac_exeext'
94311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94312 (eval $ac_try) 2>&5
94313 ac_status=$?
94314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94315 (exit $ac_status); }; }; then
94316 eval "$as_ac_var=yes"
94317 else
94318 echo "$as_me: failed program was:" >&5
94319 sed 's/^/| /' conftest.$ac_ext >&5
94321 eval "$as_ac_var=no"
94323 rm -f conftest.err conftest.$ac_objext \
94324 conftest$ac_exeext conftest.$ac_ext
94326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94328 if test `eval echo '${'$as_ac_var'}'` = yes; then
94329 cat >>confdefs.h <<_ACEOF
94330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94331 _ACEOF
94333 else
94334 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
94336 done
94340 for ac_func in __signbitf
94342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94343 echo "$as_me:$LINENO: checking for $ac_func" >&5
94344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94345 if eval "test \"\${$as_ac_var+set}\" = set"; then
94346 echo $ECHO_N "(cached) $ECHO_C" >&6
94347 else
94348 if test x$gcc_no_link = xyes; then
94349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94351 { (exit 1); exit 1; }; }
94353 cat >conftest.$ac_ext <<_ACEOF
94354 /* confdefs.h. */
94355 _ACEOF
94356 cat confdefs.h >>conftest.$ac_ext
94357 cat >>conftest.$ac_ext <<_ACEOF
94358 /* end confdefs.h. */
94359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94361 #define $ac_func innocuous_$ac_func
94363 /* System header to define __stub macros and hopefully few prototypes,
94364 which can conflict with char $ac_func (); below.
94365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94366 <limits.h> exists even on freestanding compilers. */
94368 #ifdef __STDC__
94369 # include <limits.h>
94370 #else
94371 # include <assert.h>
94372 #endif
94374 #undef $ac_func
94376 /* Override any gcc2 internal prototype to avoid an error. */
94377 #ifdef __cplusplus
94378 extern "C"
94380 #endif
94381 /* We use char because int might match the return type of a gcc2
94382 builtin and then its argument prototype would still apply. */
94383 char $ac_func ();
94384 /* The GNU C library defines this for functions which it implements
94385 to always fail with ENOSYS. Some functions are actually named
94386 something starting with __ and the normal name is an alias. */
94387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94388 choke me
94389 #else
94390 char (*f) () = $ac_func;
94391 #endif
94392 #ifdef __cplusplus
94394 #endif
94397 main ()
94399 return f != $ac_func;
94401 return 0;
94403 _ACEOF
94404 rm -f conftest.$ac_objext conftest$ac_exeext
94405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94406 (eval $ac_link) 2>conftest.er1
94407 ac_status=$?
94408 grep -v '^ *+' conftest.er1 >conftest.err
94409 rm -f conftest.er1
94410 cat conftest.err >&5
94411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94412 (exit $ac_status); } &&
94413 { ac_try='test -z "$ac_c_werror_flag"
94414 || test ! -s conftest.err'
94415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94416 (eval $ac_try) 2>&5
94417 ac_status=$?
94418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94419 (exit $ac_status); }; } &&
94420 { ac_try='test -s conftest$ac_exeext'
94421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94422 (eval $ac_try) 2>&5
94423 ac_status=$?
94424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94425 (exit $ac_status); }; }; then
94426 eval "$as_ac_var=yes"
94427 else
94428 echo "$as_me: failed program was:" >&5
94429 sed 's/^/| /' conftest.$ac_ext >&5
94431 eval "$as_ac_var=no"
94433 rm -f conftest.err conftest.$ac_objext \
94434 conftest$ac_exeext conftest.$ac_ext
94436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94438 if test `eval echo '${'$as_ac_var'}'` = yes; then
94439 cat >>confdefs.h <<_ACEOF
94440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94441 _ACEOF
94443 else
94444 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
94446 done
94449 if test x$ac_cv_func_copysignl = x"yes"; then
94451 for ac_func in __signbitl
94453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94454 echo "$as_me:$LINENO: checking for $ac_func" >&5
94455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94456 if eval "test \"\${$as_ac_var+set}\" = set"; then
94457 echo $ECHO_N "(cached) $ECHO_C" >&6
94458 else
94459 if test x$gcc_no_link = xyes; then
94460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94462 { (exit 1); exit 1; }; }
94464 cat >conftest.$ac_ext <<_ACEOF
94465 /* confdefs.h. */
94466 _ACEOF
94467 cat confdefs.h >>conftest.$ac_ext
94468 cat >>conftest.$ac_ext <<_ACEOF
94469 /* end confdefs.h. */
94470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94472 #define $ac_func innocuous_$ac_func
94474 /* System header to define __stub macros and hopefully few prototypes,
94475 which can conflict with char $ac_func (); below.
94476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94477 <limits.h> exists even on freestanding compilers. */
94479 #ifdef __STDC__
94480 # include <limits.h>
94481 #else
94482 # include <assert.h>
94483 #endif
94485 #undef $ac_func
94487 /* Override any gcc2 internal prototype to avoid an error. */
94488 #ifdef __cplusplus
94489 extern "C"
94491 #endif
94492 /* We use char because int might match the return type of a gcc2
94493 builtin and then its argument prototype would still apply. */
94494 char $ac_func ();
94495 /* The GNU C library defines this for functions which it implements
94496 to always fail with ENOSYS. Some functions are actually named
94497 something starting with __ and the normal name is an alias. */
94498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94499 choke me
94500 #else
94501 char (*f) () = $ac_func;
94502 #endif
94503 #ifdef __cplusplus
94505 #endif
94508 main ()
94510 return f != $ac_func;
94512 return 0;
94514 _ACEOF
94515 rm -f conftest.$ac_objext conftest$ac_exeext
94516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94517 (eval $ac_link) 2>conftest.er1
94518 ac_status=$?
94519 grep -v '^ *+' conftest.er1 >conftest.err
94520 rm -f conftest.er1
94521 cat conftest.err >&5
94522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94523 (exit $ac_status); } &&
94524 { ac_try='test -z "$ac_c_werror_flag"
94525 || test ! -s conftest.err'
94526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94527 (eval $ac_try) 2>&5
94528 ac_status=$?
94529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94530 (exit $ac_status); }; } &&
94531 { ac_try='test -s conftest$ac_exeext'
94532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94533 (eval $ac_try) 2>&5
94534 ac_status=$?
94535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94536 (exit $ac_status); }; }; then
94537 eval "$as_ac_var=yes"
94538 else
94539 echo "$as_me: failed program was:" >&5
94540 sed 's/^/| /' conftest.$ac_ext >&5
94542 eval "$as_ac_var=no"
94544 rm -f conftest.err conftest.$ac_objext \
94545 conftest$ac_exeext conftest.$ac_ext
94547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94549 if test `eval echo '${'$as_ac_var'}'` = yes; then
94550 cat >>confdefs.h <<_ACEOF
94551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94552 _ACEOF
94554 else
94555 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
94557 done
94561 # Used in libmath/Makefile.am.
94562 if test -n "$LIBMATHOBJS"; then
94563 need_libmath=yes
94568 # Test wchar.h for mbstate_t, which is needed for char_traits and
94569 # others even if wchar_t support is not on.
94570 echo "$as_me:$LINENO: checking for mbstate_t" >&5
94571 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
94572 cat >conftest.$ac_ext <<_ACEOF
94573 /* confdefs.h. */
94574 _ACEOF
94575 cat confdefs.h >>conftest.$ac_ext
94576 cat >>conftest.$ac_ext <<_ACEOF
94577 /* end confdefs.h. */
94578 #include <wchar.h>
94580 main ()
94582 mbstate_t teststate;
94584 return 0;
94586 _ACEOF
94587 rm -f conftest.$ac_objext
94588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94589 (eval $ac_compile) 2>conftest.er1
94590 ac_status=$?
94591 grep -v '^ *+' conftest.er1 >conftest.err
94592 rm -f conftest.er1
94593 cat conftest.err >&5
94594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94595 (exit $ac_status); } &&
94596 { ac_try='test -z "$ac_c_werror_flag"
94597 || test ! -s conftest.err'
94598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94599 (eval $ac_try) 2>&5
94600 ac_status=$?
94601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94602 (exit $ac_status); }; } &&
94603 { ac_try='test -s conftest.$ac_objext'
94604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94605 (eval $ac_try) 2>&5
94606 ac_status=$?
94607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94608 (exit $ac_status); }; }; then
94609 have_mbstate_t=yes
94610 else
94611 echo "$as_me: failed program was:" >&5
94612 sed 's/^/| /' conftest.$ac_ext >&5
94614 have_mbstate_t=no
94616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94617 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
94618 echo "${ECHO_T}$have_mbstate_t" >&6
94619 if test x"$have_mbstate_t" = xyes; then
94620 cat >>confdefs.h <<\_ACEOF
94621 #define HAVE_MBSTATE_T 1
94622 _ACEOF
94626 # Sanity check for existence of ISO C99 headers for extended encoding.
94628 for ac_header in wchar.h
94630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94632 echo "$as_me:$LINENO: checking for $ac_header" >&5
94633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94635 echo $ECHO_N "(cached) $ECHO_C" >&6
94637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94639 else
94640 # Is the header compilable?
94641 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94642 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94643 cat >conftest.$ac_ext <<_ACEOF
94644 /* confdefs.h. */
94645 _ACEOF
94646 cat confdefs.h >>conftest.$ac_ext
94647 cat >>conftest.$ac_ext <<_ACEOF
94648 /* end confdefs.h. */
94649 $ac_includes_default
94650 #include <$ac_header>
94651 _ACEOF
94652 rm -f conftest.$ac_objext
94653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94654 (eval $ac_compile) 2>conftest.er1
94655 ac_status=$?
94656 grep -v '^ *+' conftest.er1 >conftest.err
94657 rm -f conftest.er1
94658 cat conftest.err >&5
94659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94660 (exit $ac_status); } &&
94661 { ac_try='test -z "$ac_c_werror_flag"
94662 || test ! -s conftest.err'
94663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94664 (eval $ac_try) 2>&5
94665 ac_status=$?
94666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94667 (exit $ac_status); }; } &&
94668 { ac_try='test -s conftest.$ac_objext'
94669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94670 (eval $ac_try) 2>&5
94671 ac_status=$?
94672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94673 (exit $ac_status); }; }; then
94674 ac_header_compiler=yes
94675 else
94676 echo "$as_me: failed program was:" >&5
94677 sed 's/^/| /' conftest.$ac_ext >&5
94679 ac_header_compiler=no
94681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94683 echo "${ECHO_T}$ac_header_compiler" >&6
94685 # Is the header present?
94686 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94687 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94688 cat >conftest.$ac_ext <<_ACEOF
94689 /* confdefs.h. */
94690 _ACEOF
94691 cat confdefs.h >>conftest.$ac_ext
94692 cat >>conftest.$ac_ext <<_ACEOF
94693 /* end confdefs.h. */
94694 #include <$ac_header>
94695 _ACEOF
94696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94698 ac_status=$?
94699 grep -v '^ *+' conftest.er1 >conftest.err
94700 rm -f conftest.er1
94701 cat conftest.err >&5
94702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94703 (exit $ac_status); } >/dev/null; then
94704 if test -s conftest.err; then
94705 ac_cpp_err=$ac_c_preproc_warn_flag
94706 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94707 else
94708 ac_cpp_err=
94710 else
94711 ac_cpp_err=yes
94713 if test -z "$ac_cpp_err"; then
94714 ac_header_preproc=yes
94715 else
94716 echo "$as_me: failed program was:" >&5
94717 sed 's/^/| /' conftest.$ac_ext >&5
94719 ac_header_preproc=no
94721 rm -f conftest.err conftest.$ac_ext
94722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94723 echo "${ECHO_T}$ac_header_preproc" >&6
94725 # So? What about this header?
94726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94727 yes:no: )
94728 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94729 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94731 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94732 ac_header_preproc=yes
94734 no:yes:* )
94735 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94736 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94737 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94738 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94739 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94740 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94741 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94742 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94745 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94746 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94748 cat <<\_ASBOX
94749 ## ----------------------------------------- ##
94750 ## Report this to the package-unused lists. ##
94751 ## ----------------------------------------- ##
94752 _ASBOX
94754 sed "s/^/$as_me: WARNING: /" >&2
94756 esac
94757 echo "$as_me:$LINENO: checking for $ac_header" >&5
94758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94760 echo $ECHO_N "(cached) $ECHO_C" >&6
94761 else
94762 eval "$as_ac_Header=\$ac_header_preproc"
94764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94769 cat >>confdefs.h <<_ACEOF
94770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94771 _ACEOF
94772 ac_has_wchar_h=yes
94773 else
94774 ac_has_wchar_h=no
94777 done
94780 for ac_header in wctype.h
94782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94784 echo "$as_me:$LINENO: checking for $ac_header" >&5
94785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94787 echo $ECHO_N "(cached) $ECHO_C" >&6
94789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94791 else
94792 # Is the header compilable?
94793 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94795 cat >conftest.$ac_ext <<_ACEOF
94796 /* confdefs.h. */
94797 _ACEOF
94798 cat confdefs.h >>conftest.$ac_ext
94799 cat >>conftest.$ac_ext <<_ACEOF
94800 /* end confdefs.h. */
94801 $ac_includes_default
94802 #include <$ac_header>
94803 _ACEOF
94804 rm -f conftest.$ac_objext
94805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94806 (eval $ac_compile) 2>conftest.er1
94807 ac_status=$?
94808 grep -v '^ *+' conftest.er1 >conftest.err
94809 rm -f conftest.er1
94810 cat conftest.err >&5
94811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94812 (exit $ac_status); } &&
94813 { ac_try='test -z "$ac_c_werror_flag"
94814 || test ! -s conftest.err'
94815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94816 (eval $ac_try) 2>&5
94817 ac_status=$?
94818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94819 (exit $ac_status); }; } &&
94820 { ac_try='test -s conftest.$ac_objext'
94821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94822 (eval $ac_try) 2>&5
94823 ac_status=$?
94824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94825 (exit $ac_status); }; }; then
94826 ac_header_compiler=yes
94827 else
94828 echo "$as_me: failed program was:" >&5
94829 sed 's/^/| /' conftest.$ac_ext >&5
94831 ac_header_compiler=no
94833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94835 echo "${ECHO_T}$ac_header_compiler" >&6
94837 # Is the header present?
94838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94840 cat >conftest.$ac_ext <<_ACEOF
94841 /* confdefs.h. */
94842 _ACEOF
94843 cat confdefs.h >>conftest.$ac_ext
94844 cat >>conftest.$ac_ext <<_ACEOF
94845 /* end confdefs.h. */
94846 #include <$ac_header>
94847 _ACEOF
94848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94850 ac_status=$?
94851 grep -v '^ *+' conftest.er1 >conftest.err
94852 rm -f conftest.er1
94853 cat conftest.err >&5
94854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94855 (exit $ac_status); } >/dev/null; then
94856 if test -s conftest.err; then
94857 ac_cpp_err=$ac_c_preproc_warn_flag
94858 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94859 else
94860 ac_cpp_err=
94862 else
94863 ac_cpp_err=yes
94865 if test -z "$ac_cpp_err"; then
94866 ac_header_preproc=yes
94867 else
94868 echo "$as_me: failed program was:" >&5
94869 sed 's/^/| /' conftest.$ac_ext >&5
94871 ac_header_preproc=no
94873 rm -f conftest.err conftest.$ac_ext
94874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94875 echo "${ECHO_T}$ac_header_preproc" >&6
94877 # So? What about this header?
94878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94879 yes:no: )
94880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94884 ac_header_preproc=yes
94886 no:yes:* )
94887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94900 cat <<\_ASBOX
94901 ## ----------------------------------------- ##
94902 ## Report this to the package-unused lists. ##
94903 ## ----------------------------------------- ##
94904 _ASBOX
94906 sed "s/^/$as_me: WARNING: /" >&2
94908 esac
94909 echo "$as_me:$LINENO: checking for $ac_header" >&5
94910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94912 echo $ECHO_N "(cached) $ECHO_C" >&6
94913 else
94914 eval "$as_ac_Header=\$ac_header_preproc"
94916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94921 cat >>confdefs.h <<_ACEOF
94922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94923 _ACEOF
94924 ac_has_wctype_h=yes
94925 else
94926 ac_has_wctype_h=no
94929 done
94932 # Only continue checking if the ISO C99 headers exist and support is on.
94933 if test x"$ac_has_wchar_h" = xyes &&
94934 test x"$ac_has_wctype_h" = xyes &&
94935 test x"$enable_c_mbchar" != xno; then
94937 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
94938 # numeric_limits can instantiate type_traits<wchar_t>
94939 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
94940 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
94941 cat >conftest.$ac_ext <<_ACEOF
94942 /* confdefs.h. */
94943 _ACEOF
94944 cat confdefs.h >>conftest.$ac_ext
94945 cat >>conftest.$ac_ext <<_ACEOF
94946 /* end confdefs.h. */
94947 #include <wchar.h>
94949 main ()
94951 int i = WCHAR_MIN; int j = WCHAR_MAX;
94953 return 0;
94955 _ACEOF
94956 rm -f conftest.$ac_objext
94957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94958 (eval $ac_compile) 2>conftest.er1
94959 ac_status=$?
94960 grep -v '^ *+' conftest.er1 >conftest.err
94961 rm -f conftest.er1
94962 cat conftest.err >&5
94963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94964 (exit $ac_status); } &&
94965 { ac_try='test -z "$ac_c_werror_flag"
94966 || test ! -s conftest.err'
94967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94968 (eval $ac_try) 2>&5
94969 ac_status=$?
94970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94971 (exit $ac_status); }; } &&
94972 { ac_try='test -s conftest.$ac_objext'
94973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94974 (eval $ac_try) 2>&5
94975 ac_status=$?
94976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94977 (exit $ac_status); }; }; then
94978 has_wchar_minmax=yes
94979 else
94980 echo "$as_me: failed program was:" >&5
94981 sed 's/^/| /' conftest.$ac_ext >&5
94983 has_wchar_minmax=no
94985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94986 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
94987 echo "${ECHO_T}$has_wchar_minmax" >&6
94989 # Test wchar.h for WEOF, which is what we use to determine whether
94990 # to specialize for char_traits<wchar_t> or not.
94991 echo "$as_me:$LINENO: checking for WEOF" >&5
94992 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
94993 cat >conftest.$ac_ext <<_ACEOF
94994 /* confdefs.h. */
94995 _ACEOF
94996 cat confdefs.h >>conftest.$ac_ext
94997 cat >>conftest.$ac_ext <<_ACEOF
94998 /* end confdefs.h. */
95000 #include <wchar.h>
95001 #include <stddef.h>
95003 main ()
95005 wint_t i = WEOF;
95007 return 0;
95009 _ACEOF
95010 rm -f conftest.$ac_objext
95011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95012 (eval $ac_compile) 2>conftest.er1
95013 ac_status=$?
95014 grep -v '^ *+' conftest.er1 >conftest.err
95015 rm -f conftest.er1
95016 cat conftest.err >&5
95017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95018 (exit $ac_status); } &&
95019 { ac_try='test -z "$ac_c_werror_flag"
95020 || test ! -s conftest.err'
95021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95022 (eval $ac_try) 2>&5
95023 ac_status=$?
95024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95025 (exit $ac_status); }; } &&
95026 { ac_try='test -s conftest.$ac_objext'
95027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95028 (eval $ac_try) 2>&5
95029 ac_status=$?
95030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95031 (exit $ac_status); }; }; then
95032 has_weof=yes
95033 else
95034 echo "$as_me: failed program was:" >&5
95035 sed 's/^/| /' conftest.$ac_ext >&5
95037 has_weof=no
95039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95040 echo "$as_me:$LINENO: result: $has_weof" >&5
95041 echo "${ECHO_T}$has_weof" >&6
95043 # Tests for wide character functions used in char_traits<wchar_t>.
95044 ac_wfuncs=yes
95051 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
95053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95054 echo "$as_me:$LINENO: checking for $ac_func" >&5
95055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95056 if eval "test \"\${$as_ac_var+set}\" = set"; then
95057 echo $ECHO_N "(cached) $ECHO_C" >&6
95058 else
95059 if test x$gcc_no_link = xyes; then
95060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95062 { (exit 1); exit 1; }; }
95064 cat >conftest.$ac_ext <<_ACEOF
95065 /* confdefs.h. */
95066 _ACEOF
95067 cat confdefs.h >>conftest.$ac_ext
95068 cat >>conftest.$ac_ext <<_ACEOF
95069 /* end confdefs.h. */
95070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95072 #define $ac_func innocuous_$ac_func
95074 /* System header to define __stub macros and hopefully few prototypes,
95075 which can conflict with char $ac_func (); below.
95076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95077 <limits.h> exists even on freestanding compilers. */
95079 #ifdef __STDC__
95080 # include <limits.h>
95081 #else
95082 # include <assert.h>
95083 #endif
95085 #undef $ac_func
95087 /* Override any gcc2 internal prototype to avoid an error. */
95088 #ifdef __cplusplus
95089 extern "C"
95091 #endif
95092 /* We use char because int might match the return type of a gcc2
95093 builtin and then its argument prototype would still apply. */
95094 char $ac_func ();
95095 /* The GNU C library defines this for functions which it implements
95096 to always fail with ENOSYS. Some functions are actually named
95097 something starting with __ and the normal name is an alias. */
95098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95099 choke me
95100 #else
95101 char (*f) () = $ac_func;
95102 #endif
95103 #ifdef __cplusplus
95105 #endif
95108 main ()
95110 return f != $ac_func;
95112 return 0;
95114 _ACEOF
95115 rm -f conftest.$ac_objext conftest$ac_exeext
95116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95117 (eval $ac_link) 2>conftest.er1
95118 ac_status=$?
95119 grep -v '^ *+' conftest.er1 >conftest.err
95120 rm -f conftest.er1
95121 cat conftest.err >&5
95122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95123 (exit $ac_status); } &&
95124 { ac_try='test -z "$ac_c_werror_flag"
95125 || test ! -s conftest.err'
95126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95127 (eval $ac_try) 2>&5
95128 ac_status=$?
95129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95130 (exit $ac_status); }; } &&
95131 { ac_try='test -s conftest$ac_exeext'
95132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95133 (eval $ac_try) 2>&5
95134 ac_status=$?
95135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95136 (exit $ac_status); }; }; then
95137 eval "$as_ac_var=yes"
95138 else
95139 echo "$as_me: failed program was:" >&5
95140 sed 's/^/| /' conftest.$ac_ext >&5
95142 eval "$as_ac_var=no"
95144 rm -f conftest.err conftest.$ac_objext \
95145 conftest$ac_exeext conftest.$ac_ext
95147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95149 if test `eval echo '${'$as_ac_var'}'` = yes; then
95150 cat >>confdefs.h <<_ACEOF
95151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95152 _ACEOF
95154 else
95155 ac_wfuncs=no
95157 done
95160 # Checks for names injected into std:: by the c_std headers.
95207 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
95208 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
95209 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
95210 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
95211 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
95212 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
95214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95215 echo "$as_me:$LINENO: checking for $ac_func" >&5
95216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95217 if eval "test \"\${$as_ac_var+set}\" = set"; then
95218 echo $ECHO_N "(cached) $ECHO_C" >&6
95219 else
95220 if test x$gcc_no_link = xyes; then
95221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95223 { (exit 1); exit 1; }; }
95225 cat >conftest.$ac_ext <<_ACEOF
95226 /* confdefs.h. */
95227 _ACEOF
95228 cat confdefs.h >>conftest.$ac_ext
95229 cat >>conftest.$ac_ext <<_ACEOF
95230 /* end confdefs.h. */
95231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95233 #define $ac_func innocuous_$ac_func
95235 /* System header to define __stub macros and hopefully few prototypes,
95236 which can conflict with char $ac_func (); below.
95237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95238 <limits.h> exists even on freestanding compilers. */
95240 #ifdef __STDC__
95241 # include <limits.h>
95242 #else
95243 # include <assert.h>
95244 #endif
95246 #undef $ac_func
95248 /* Override any gcc2 internal prototype to avoid an error. */
95249 #ifdef __cplusplus
95250 extern "C"
95252 #endif
95253 /* We use char because int might match the return type of a gcc2
95254 builtin and then its argument prototype would still apply. */
95255 char $ac_func ();
95256 /* The GNU C library defines this for functions which it implements
95257 to always fail with ENOSYS. Some functions are actually named
95258 something starting with __ and the normal name is an alias. */
95259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95260 choke me
95261 #else
95262 char (*f) () = $ac_func;
95263 #endif
95264 #ifdef __cplusplus
95266 #endif
95269 main ()
95271 return f != $ac_func;
95273 return 0;
95275 _ACEOF
95276 rm -f conftest.$ac_objext conftest$ac_exeext
95277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95278 (eval $ac_link) 2>conftest.er1
95279 ac_status=$?
95280 grep -v '^ *+' conftest.er1 >conftest.err
95281 rm -f conftest.er1
95282 cat conftest.err >&5
95283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95284 (exit $ac_status); } &&
95285 { ac_try='test -z "$ac_c_werror_flag"
95286 || test ! -s conftest.err'
95287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95288 (eval $ac_try) 2>&5
95289 ac_status=$?
95290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95291 (exit $ac_status); }; } &&
95292 { ac_try='test -s conftest$ac_exeext'
95293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95294 (eval $ac_try) 2>&5
95295 ac_status=$?
95296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95297 (exit $ac_status); }; }; then
95298 eval "$as_ac_var=yes"
95299 else
95300 echo "$as_me: failed program was:" >&5
95301 sed 's/^/| /' conftest.$ac_ext >&5
95303 eval "$as_ac_var=no"
95305 rm -f conftest.err conftest.$ac_objext \
95306 conftest$ac_exeext conftest.$ac_ext
95308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95310 if test `eval echo '${'$as_ac_var'}'` = yes; then
95311 cat >>confdefs.h <<_ACEOF
95312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95313 _ACEOF
95315 else
95316 ac_wfuncs=no
95318 done
95321 # Checks for wide character functions that are not required
95322 # for basic wchar_t support. Don't disable support if they are missing.
95323 # Injection of these is wrapped with guard macros.
95329 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
95331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95332 echo "$as_me:$LINENO: checking for $ac_func" >&5
95333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95334 if eval "test \"\${$as_ac_var+set}\" = set"; then
95335 echo $ECHO_N "(cached) $ECHO_C" >&6
95336 else
95337 if test x$gcc_no_link = xyes; then
95338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95340 { (exit 1); exit 1; }; }
95342 cat >conftest.$ac_ext <<_ACEOF
95343 /* confdefs.h. */
95344 _ACEOF
95345 cat confdefs.h >>conftest.$ac_ext
95346 cat >>conftest.$ac_ext <<_ACEOF
95347 /* end confdefs.h. */
95348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95350 #define $ac_func innocuous_$ac_func
95352 /* System header to define __stub macros and hopefully few prototypes,
95353 which can conflict with char $ac_func (); below.
95354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95355 <limits.h> exists even on freestanding compilers. */
95357 #ifdef __STDC__
95358 # include <limits.h>
95359 #else
95360 # include <assert.h>
95361 #endif
95363 #undef $ac_func
95365 /* Override any gcc2 internal prototype to avoid an error. */
95366 #ifdef __cplusplus
95367 extern "C"
95369 #endif
95370 /* We use char because int might match the return type of a gcc2
95371 builtin and then its argument prototype would still apply. */
95372 char $ac_func ();
95373 /* The GNU C library defines this for functions which it implements
95374 to always fail with ENOSYS. Some functions are actually named
95375 something starting with __ and the normal name is an alias. */
95376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95377 choke me
95378 #else
95379 char (*f) () = $ac_func;
95380 #endif
95381 #ifdef __cplusplus
95383 #endif
95386 main ()
95388 return f != $ac_func;
95390 return 0;
95392 _ACEOF
95393 rm -f conftest.$ac_objext conftest$ac_exeext
95394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95395 (eval $ac_link) 2>conftest.er1
95396 ac_status=$?
95397 grep -v '^ *+' conftest.er1 >conftest.err
95398 rm -f conftest.er1
95399 cat conftest.err >&5
95400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95401 (exit $ac_status); } &&
95402 { ac_try='test -z "$ac_c_werror_flag"
95403 || test ! -s conftest.err'
95404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95405 (eval $ac_try) 2>&5
95406 ac_status=$?
95407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95408 (exit $ac_status); }; } &&
95409 { ac_try='test -s conftest$ac_exeext'
95410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95411 (eval $ac_try) 2>&5
95412 ac_status=$?
95413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95414 (exit $ac_status); }; }; then
95415 eval "$as_ac_var=yes"
95416 else
95417 echo "$as_me: failed program was:" >&5
95418 sed 's/^/| /' conftest.$ac_ext >&5
95420 eval "$as_ac_var=no"
95422 rm -f conftest.err conftest.$ac_objext \
95423 conftest$ac_exeext conftest.$ac_ext
95425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95427 if test `eval echo '${'$as_ac_var'}'` = yes; then
95428 cat >>confdefs.h <<_ACEOF
95429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95430 _ACEOF
95433 done
95436 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
95437 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
95438 if test x"$has_weof" = xyes &&
95439 test x"$has_wchar_minmax" = xyes &&
95440 test x"$ac_wfuncs" = xyes;
95441 then
95442 ac_isoC99_wchar_t=yes
95443 else
95444 ac_isoC99_wchar_t=no
95446 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
95447 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
95449 # Use iconv for wchar_t to char conversions. As such, check for
95450 # X/Open Portability Guide, version 2 features (XPG2).
95451 if test "${ac_cv_header_iconv_h+set}" = set; then
95452 echo "$as_me:$LINENO: checking for iconv.h" >&5
95453 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95454 if test "${ac_cv_header_iconv_h+set}" = set; then
95455 echo $ECHO_N "(cached) $ECHO_C" >&6
95457 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95458 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95459 else
95460 # Is the header compilable?
95461 echo "$as_me:$LINENO: checking iconv.h usability" >&5
95462 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
95463 cat >conftest.$ac_ext <<_ACEOF
95464 /* confdefs.h. */
95465 _ACEOF
95466 cat confdefs.h >>conftest.$ac_ext
95467 cat >>conftest.$ac_ext <<_ACEOF
95468 /* end confdefs.h. */
95469 $ac_includes_default
95470 #include <iconv.h>
95471 _ACEOF
95472 rm -f conftest.$ac_objext
95473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95474 (eval $ac_compile) 2>conftest.er1
95475 ac_status=$?
95476 grep -v '^ *+' conftest.er1 >conftest.err
95477 rm -f conftest.er1
95478 cat conftest.err >&5
95479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95480 (exit $ac_status); } &&
95481 { ac_try='test -z "$ac_c_werror_flag"
95482 || test ! -s conftest.err'
95483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95484 (eval $ac_try) 2>&5
95485 ac_status=$?
95486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95487 (exit $ac_status); }; } &&
95488 { ac_try='test -s conftest.$ac_objext'
95489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95490 (eval $ac_try) 2>&5
95491 ac_status=$?
95492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95493 (exit $ac_status); }; }; then
95494 ac_header_compiler=yes
95495 else
95496 echo "$as_me: failed program was:" >&5
95497 sed 's/^/| /' conftest.$ac_ext >&5
95499 ac_header_compiler=no
95501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95503 echo "${ECHO_T}$ac_header_compiler" >&6
95505 # Is the header present?
95506 echo "$as_me:$LINENO: checking iconv.h presence" >&5
95507 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
95508 cat >conftest.$ac_ext <<_ACEOF
95509 /* confdefs.h. */
95510 _ACEOF
95511 cat confdefs.h >>conftest.$ac_ext
95512 cat >>conftest.$ac_ext <<_ACEOF
95513 /* end confdefs.h. */
95514 #include <iconv.h>
95515 _ACEOF
95516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95518 ac_status=$?
95519 grep -v '^ *+' conftest.er1 >conftest.err
95520 rm -f conftest.er1
95521 cat conftest.err >&5
95522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95523 (exit $ac_status); } >/dev/null; then
95524 if test -s conftest.err; then
95525 ac_cpp_err=$ac_c_preproc_warn_flag
95526 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95527 else
95528 ac_cpp_err=
95530 else
95531 ac_cpp_err=yes
95533 if test -z "$ac_cpp_err"; then
95534 ac_header_preproc=yes
95535 else
95536 echo "$as_me: failed program was:" >&5
95537 sed 's/^/| /' conftest.$ac_ext >&5
95539 ac_header_preproc=no
95541 rm -f conftest.err conftest.$ac_ext
95542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95543 echo "${ECHO_T}$ac_header_preproc" >&6
95545 # So? What about this header?
95546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95547 yes:no: )
95548 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
95549 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95550 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
95551 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
95552 ac_header_preproc=yes
95554 no:yes:* )
95555 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
95556 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
95557 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
95558 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
95559 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
95560 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
95561 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
95562 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
95563 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
95564 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
95565 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
95566 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
95568 cat <<\_ASBOX
95569 ## ----------------------------------------- ##
95570 ## Report this to the package-unused lists. ##
95571 ## ----------------------------------------- ##
95572 _ASBOX
95574 sed "s/^/$as_me: WARNING: /" >&2
95576 esac
95577 echo "$as_me:$LINENO: checking for iconv.h" >&5
95578 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95579 if test "${ac_cv_header_iconv_h+set}" = set; then
95580 echo $ECHO_N "(cached) $ECHO_C" >&6
95581 else
95582 ac_cv_header_iconv_h=$ac_header_preproc
95584 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95585 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95588 if test $ac_cv_header_iconv_h = yes; then
95589 ac_has_iconv_h=yes
95590 else
95591 ac_has_iconv_h=no
95595 if test "${ac_cv_header_langinfo_h+set}" = set; then
95596 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95597 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95598 if test "${ac_cv_header_langinfo_h+set}" = set; then
95599 echo $ECHO_N "(cached) $ECHO_C" >&6
95601 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95602 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95603 else
95604 # Is the header compilable?
95605 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
95606 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
95607 cat >conftest.$ac_ext <<_ACEOF
95608 /* confdefs.h. */
95609 _ACEOF
95610 cat confdefs.h >>conftest.$ac_ext
95611 cat >>conftest.$ac_ext <<_ACEOF
95612 /* end confdefs.h. */
95613 $ac_includes_default
95614 #include <langinfo.h>
95615 _ACEOF
95616 rm -f conftest.$ac_objext
95617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95618 (eval $ac_compile) 2>conftest.er1
95619 ac_status=$?
95620 grep -v '^ *+' conftest.er1 >conftest.err
95621 rm -f conftest.er1
95622 cat conftest.err >&5
95623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95624 (exit $ac_status); } &&
95625 { ac_try='test -z "$ac_c_werror_flag"
95626 || test ! -s conftest.err'
95627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95628 (eval $ac_try) 2>&5
95629 ac_status=$?
95630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95631 (exit $ac_status); }; } &&
95632 { ac_try='test -s conftest.$ac_objext'
95633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95634 (eval $ac_try) 2>&5
95635 ac_status=$?
95636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95637 (exit $ac_status); }; }; then
95638 ac_header_compiler=yes
95639 else
95640 echo "$as_me: failed program was:" >&5
95641 sed 's/^/| /' conftest.$ac_ext >&5
95643 ac_header_compiler=no
95645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95646 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95647 echo "${ECHO_T}$ac_header_compiler" >&6
95649 # Is the header present?
95650 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
95651 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
95652 cat >conftest.$ac_ext <<_ACEOF
95653 /* confdefs.h. */
95654 _ACEOF
95655 cat confdefs.h >>conftest.$ac_ext
95656 cat >>conftest.$ac_ext <<_ACEOF
95657 /* end confdefs.h. */
95658 #include <langinfo.h>
95659 _ACEOF
95660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95662 ac_status=$?
95663 grep -v '^ *+' conftest.er1 >conftest.err
95664 rm -f conftest.er1
95665 cat conftest.err >&5
95666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95667 (exit $ac_status); } >/dev/null; then
95668 if test -s conftest.err; then
95669 ac_cpp_err=$ac_c_preproc_warn_flag
95670 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95671 else
95672 ac_cpp_err=
95674 else
95675 ac_cpp_err=yes
95677 if test -z "$ac_cpp_err"; then
95678 ac_header_preproc=yes
95679 else
95680 echo "$as_me: failed program was:" >&5
95681 sed 's/^/| /' conftest.$ac_ext >&5
95683 ac_header_preproc=no
95685 rm -f conftest.err conftest.$ac_ext
95686 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95687 echo "${ECHO_T}$ac_header_preproc" >&6
95689 # So? What about this header?
95690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95691 yes:no: )
95692 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
95693 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95694 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
95695 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
95696 ac_header_preproc=yes
95698 no:yes:* )
95699 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
95700 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
95701 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
95702 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
95703 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
95704 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
95705 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
95706 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
95707 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
95708 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
95709 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
95710 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
95712 cat <<\_ASBOX
95713 ## ----------------------------------------- ##
95714 ## Report this to the package-unused lists. ##
95715 ## ----------------------------------------- ##
95716 _ASBOX
95718 sed "s/^/$as_me: WARNING: /" >&2
95720 esac
95721 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95722 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95723 if test "${ac_cv_header_langinfo_h+set}" = set; then
95724 echo $ECHO_N "(cached) $ECHO_C" >&6
95725 else
95726 ac_cv_header_langinfo_h=$ac_header_preproc
95728 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95729 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95732 if test $ac_cv_header_langinfo_h = yes; then
95733 ac_has_langinfo_h=yes
95734 else
95735 ac_has_langinfo_h=no
95740 # Check for existence of libiconv.a providing XPG2 wchar_t support.
95741 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
95742 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
95743 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
95744 echo $ECHO_N "(cached) $ECHO_C" >&6
95745 else
95746 ac_check_lib_save_LIBS=$LIBS
95747 LIBS="-liconv $LIBS"
95748 if test x$gcc_no_link = xyes; then
95749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95751 { (exit 1); exit 1; }; }
95753 cat >conftest.$ac_ext <<_ACEOF
95754 /* confdefs.h. */
95755 _ACEOF
95756 cat confdefs.h >>conftest.$ac_ext
95757 cat >>conftest.$ac_ext <<_ACEOF
95758 /* end confdefs.h. */
95760 /* Override any gcc2 internal prototype to avoid an error. */
95761 #ifdef __cplusplus
95762 extern "C"
95763 #endif
95764 /* We use char because int might match the return type of a gcc2
95765 builtin and then its argument prototype would still apply. */
95766 char iconv ();
95768 main ()
95770 iconv ();
95772 return 0;
95774 _ACEOF
95775 rm -f conftest.$ac_objext conftest$ac_exeext
95776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95777 (eval $ac_link) 2>conftest.er1
95778 ac_status=$?
95779 grep -v '^ *+' conftest.er1 >conftest.err
95780 rm -f conftest.er1
95781 cat conftest.err >&5
95782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95783 (exit $ac_status); } &&
95784 { ac_try='test -z "$ac_c_werror_flag"
95785 || test ! -s conftest.err'
95786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95787 (eval $ac_try) 2>&5
95788 ac_status=$?
95789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95790 (exit $ac_status); }; } &&
95791 { ac_try='test -s conftest$ac_exeext'
95792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95793 (eval $ac_try) 2>&5
95794 ac_status=$?
95795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95796 (exit $ac_status); }; }; then
95797 ac_cv_lib_iconv_iconv=yes
95798 else
95799 echo "$as_me: failed program was:" >&5
95800 sed 's/^/| /' conftest.$ac_ext >&5
95802 ac_cv_lib_iconv_iconv=no
95804 rm -f conftest.err conftest.$ac_objext \
95805 conftest$ac_exeext conftest.$ac_ext
95806 LIBS=$ac_check_lib_save_LIBS
95808 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
95809 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
95810 if test $ac_cv_lib_iconv_iconv = yes; then
95811 LIBICONV="-liconv"
95814 ac_save_LIBS="$LIBS"
95815 LIBS="$LIBS $LIBICONV"
95822 for ac_func in iconv_open iconv_close iconv nl_langinfo
95824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95825 echo "$as_me:$LINENO: checking for $ac_func" >&5
95826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95827 if eval "test \"\${$as_ac_var+set}\" = set"; then
95828 echo $ECHO_N "(cached) $ECHO_C" >&6
95829 else
95830 if test x$gcc_no_link = xyes; then
95831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95833 { (exit 1); exit 1; }; }
95835 cat >conftest.$ac_ext <<_ACEOF
95836 /* confdefs.h. */
95837 _ACEOF
95838 cat confdefs.h >>conftest.$ac_ext
95839 cat >>conftest.$ac_ext <<_ACEOF
95840 /* end confdefs.h. */
95841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95843 #define $ac_func innocuous_$ac_func
95845 /* System header to define __stub macros and hopefully few prototypes,
95846 which can conflict with char $ac_func (); below.
95847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95848 <limits.h> exists even on freestanding compilers. */
95850 #ifdef __STDC__
95851 # include <limits.h>
95852 #else
95853 # include <assert.h>
95854 #endif
95856 #undef $ac_func
95858 /* Override any gcc2 internal prototype to avoid an error. */
95859 #ifdef __cplusplus
95860 extern "C"
95862 #endif
95863 /* We use char because int might match the return type of a gcc2
95864 builtin and then its argument prototype would still apply. */
95865 char $ac_func ();
95866 /* The GNU C library defines this for functions which it implements
95867 to always fail with ENOSYS. Some functions are actually named
95868 something starting with __ and the normal name is an alias. */
95869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95870 choke me
95871 #else
95872 char (*f) () = $ac_func;
95873 #endif
95874 #ifdef __cplusplus
95876 #endif
95879 main ()
95881 return f != $ac_func;
95883 return 0;
95885 _ACEOF
95886 rm -f conftest.$ac_objext conftest$ac_exeext
95887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95888 (eval $ac_link) 2>conftest.er1
95889 ac_status=$?
95890 grep -v '^ *+' conftest.er1 >conftest.err
95891 rm -f conftest.er1
95892 cat conftest.err >&5
95893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95894 (exit $ac_status); } &&
95895 { ac_try='test -z "$ac_c_werror_flag"
95896 || test ! -s conftest.err'
95897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95898 (eval $ac_try) 2>&5
95899 ac_status=$?
95900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95901 (exit $ac_status); }; } &&
95902 { ac_try='test -s conftest$ac_exeext'
95903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95904 (eval $ac_try) 2>&5
95905 ac_status=$?
95906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95907 (exit $ac_status); }; }; then
95908 eval "$as_ac_var=yes"
95909 else
95910 echo "$as_me: failed program was:" >&5
95911 sed 's/^/| /' conftest.$ac_ext >&5
95913 eval "$as_ac_var=no"
95915 rm -f conftest.err conftest.$ac_objext \
95916 conftest$ac_exeext conftest.$ac_ext
95918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95920 if test `eval echo '${'$as_ac_var'}'` = yes; then
95921 cat >>confdefs.h <<_ACEOF
95922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95923 _ACEOF
95924 ac_XPG2funcs=yes
95925 else
95926 ac_XPG2funcs=no
95928 done
95931 LIBS="$ac_save_LIBS"
95933 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
95934 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
95935 if test x"$ac_has_iconv_h" = xyes &&
95936 test x"$ac_has_langinfo_h" = xyes &&
95937 test x"$ac_XPG2funcs" = xyes;
95938 then
95939 ac_XPG2_wchar_t=yes
95940 else
95941 ac_XPG2_wchar_t=no
95943 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
95944 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
95946 # At the moment, only enable wchar_t specializations if all the
95947 # above support is present.
95948 if test x"$ac_isoC99_wchar_t" = xyes &&
95949 test x"$ac_XPG2_wchar_t" = xyes;
95950 then
95951 cat >>confdefs.h <<\_ACEOF
95952 #define _GLIBCXX_USE_WCHAR_T 1
95953 _ACEOF
95955 enable_wchar_t=yes
95958 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
95959 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
95960 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
95961 echo "${ECHO_T}$enable_wchar_t" >&6
95963 cat >>confdefs.h <<\_ACEOF
95964 #define HAVE_COPYSIGN 1
95965 _ACEOF
95967 cat >>confdefs.h <<\_ACEOF
95968 #define HAVE_COPYSIGNF 1
95969 _ACEOF
95971 cat >>confdefs.h <<\_ACEOF
95972 #define HAVE_FINITE 1
95973 _ACEOF
95975 cat >>confdefs.h <<\_ACEOF
95976 #define HAVE_FINITEF 1
95977 _ACEOF
95979 cat >>confdefs.h <<\_ACEOF
95980 #define HAVE_FREXPF 1
95981 _ACEOF
95983 cat >>confdefs.h <<\_ACEOF
95984 #define HAVE_HYPOTF 1
95985 _ACEOF
95987 cat >>confdefs.h <<\_ACEOF
95988 #define HAVE_ISINF 1
95989 _ACEOF
95991 cat >>confdefs.h <<\_ACEOF
95992 #define HAVE_ISINFF 1
95993 _ACEOF
95995 cat >>confdefs.h <<\_ACEOF
95996 #define HAVE_ISNAN 1
95997 _ACEOF
95999 cat >>confdefs.h <<\_ACEOF
96000 #define HAVE_ISNANF 1
96001 _ACEOF
96003 cat >>confdefs.h <<\_ACEOF
96004 #define HAVE_SINCOS 1
96005 _ACEOF
96007 cat >>confdefs.h <<\_ACEOF
96008 #define HAVE_SINCOSF 1
96009 _ACEOF
96011 if test x"long_double_math_on_this_cpu" = x"yes"; then
96012 cat >>confdefs.h <<\_ACEOF
96013 #define HAVE_FINITEL 1
96014 _ACEOF
96016 cat >>confdefs.h <<\_ACEOF
96017 #define HAVE_HYPOTL 1
96018 _ACEOF
96020 cat >>confdefs.h <<\_ACEOF
96021 #define HAVE_ISINFL 1
96022 _ACEOF
96024 cat >>confdefs.h <<\_ACEOF
96025 #define HAVE_ISNANL 1
96026 _ACEOF
96030 *-vxworks)
96031 cat >>confdefs.h <<\_ACEOF
96032 #define HAVE_MMAP 1
96033 _ACEOF
96035 cat >>confdefs.h <<\_ACEOF
96036 #define HAVE_ACOSF 1
96037 _ACEOF
96039 cat >>confdefs.h <<\_ACEOF
96040 #define HAVE_ASINF 1
96041 _ACEOF
96043 cat >>confdefs.h <<\_ACEOF
96044 #define HAVE_ATAN2F 1
96045 _ACEOF
96047 cat >>confdefs.h <<\_ACEOF
96048 #define HAVE_ATANF 1
96049 _ACEOF
96051 cat >>confdefs.h <<\_ACEOF
96052 #define HAVE_CEILF 1
96053 _ACEOF
96055 cat >>confdefs.h <<\_ACEOF
96056 #define HAVE_COSF 1
96057 _ACEOF
96059 cat >>confdefs.h <<\_ACEOF
96060 #define HAVE_COSHF 1
96061 _ACEOF
96063 cat >>confdefs.h <<\_ACEOF
96064 #define HAVE_EXPF 1
96065 _ACEOF
96067 cat >>confdefs.h <<\_ACEOF
96068 #define HAVE_FABSF 1
96069 _ACEOF
96071 cat >>confdefs.h <<\_ACEOF
96072 #define HAVE_FLOORF 1
96073 _ACEOF
96075 cat >>confdefs.h <<\_ACEOF
96076 #define HAVE_FMODF 1
96077 _ACEOF
96079 cat >>confdefs.h <<\_ACEOF
96080 #define HAVE_HYPOT 1
96081 _ACEOF
96083 cat >>confdefs.h <<\_ACEOF
96084 #define HAVE_LOG10F 1
96085 _ACEOF
96087 cat >>confdefs.h <<\_ACEOF
96088 #define HAVE_LOGF 1
96089 _ACEOF
96091 cat >>confdefs.h <<\_ACEOF
96092 #define HAVE_POWF 1
96093 _ACEOF
96095 cat >>confdefs.h <<\_ACEOF
96096 #define HAVE_SINF 1
96097 _ACEOF
96099 cat >>confdefs.h <<\_ACEOF
96100 #define HAVE_SINHF 1
96101 _ACEOF
96103 cat >>confdefs.h <<\_ACEOF
96104 #define HAVE_SQRTF 1
96105 _ACEOF
96107 cat >>confdefs.h <<\_ACEOF
96108 #define HAVE_TANF 1
96109 _ACEOF
96111 cat >>confdefs.h <<\_ACEOF
96112 #define HAVE_TANHF 1
96113 _ACEOF
96116 *-windiss*)
96117 cat >>confdefs.h <<\_ACEOF
96118 #define HAVE_ACOSF 1
96119 _ACEOF
96121 cat >>confdefs.h <<\_ACEOF
96122 #define HAVE_ACOSL 1
96123 _ACEOF
96125 cat >>confdefs.h <<\_ACEOF
96126 #define HAVE_ASINF 1
96127 _ACEOF
96129 cat >>confdefs.h <<\_ACEOF
96130 #define HAVE_ASINL 1
96131 _ACEOF
96133 cat >>confdefs.h <<\_ACEOF
96134 #define HAVE_ATAN2F 1
96135 _ACEOF
96137 cat >>confdefs.h <<\_ACEOF
96138 #define HAVE_ATAN2L 1
96139 _ACEOF
96141 cat >>confdefs.h <<\_ACEOF
96142 #define HAVE_ATANF 1
96143 _ACEOF
96145 cat >>confdefs.h <<\_ACEOF
96146 #define HAVE_ATANL 1
96147 _ACEOF
96149 cat >>confdefs.h <<\_ACEOF
96150 #define HAVE_CEILF 1
96151 _ACEOF
96153 cat >>confdefs.h <<\_ACEOF
96154 #define HAVE_CEILL 1
96155 _ACEOF
96157 cat >>confdefs.h <<\_ACEOF
96158 #define HAVE_COPYSIGN 1
96159 _ACEOF
96161 cat >>confdefs.h <<\_ACEOF
96162 #define HAVE_COPYSIGNF 1
96163 _ACEOF
96165 cat >>confdefs.h <<\_ACEOF
96166 #define HAVE_COSF 1
96167 _ACEOF
96169 cat >>confdefs.h <<\_ACEOF
96170 #define HAVE_COSL 1
96171 _ACEOF
96173 cat >>confdefs.h <<\_ACEOF
96174 #define HAVE_COSHF 1
96175 _ACEOF
96177 cat >>confdefs.h <<\_ACEOF
96178 #define HAVE_COSHL 1
96179 _ACEOF
96181 cat >>confdefs.h <<\_ACEOF
96182 #define HAVE_EXPF 1
96183 _ACEOF
96185 cat >>confdefs.h <<\_ACEOF
96186 #define HAVE_EXPL 1
96187 _ACEOF
96189 cat >>confdefs.h <<\_ACEOF
96190 #define HAVE_FABSF 1
96191 _ACEOF
96193 cat >>confdefs.h <<\_ACEOF
96194 #define HAVE_FABSL 1
96195 _ACEOF
96197 cat >>confdefs.h <<\_ACEOF
96198 #define HAVE_FLOORF 1
96199 _ACEOF
96201 cat >>confdefs.h <<\_ACEOF
96202 #define HAVE_FLOORL 1
96203 _ACEOF
96205 cat >>confdefs.h <<\_ACEOF
96206 #define HAVE_FMODF 1
96207 _ACEOF
96209 cat >>confdefs.h <<\_ACEOF
96210 #define HAVE_FMODL 1
96211 _ACEOF
96213 cat >>confdefs.h <<\_ACEOF
96214 #define HAVE_FREXPF 1
96215 _ACEOF
96217 cat >>confdefs.h <<\_ACEOF
96218 #define HAVE_FREXPL 1
96219 _ACEOF
96221 cat >>confdefs.h <<\_ACEOF
96222 #define HAVE_LDEXPF 1
96223 _ACEOF
96225 cat >>confdefs.h <<\_ACEOF
96226 #define HAVE_LDEXPL 1
96227 _ACEOF
96229 cat >>confdefs.h <<\_ACEOF
96230 #define HAVE_LOG10F 1
96231 _ACEOF
96233 cat >>confdefs.h <<\_ACEOF
96234 #define HAVE_LOG10L 1
96235 _ACEOF
96237 cat >>confdefs.h <<\_ACEOF
96238 #define HAVE_LOGF 1
96239 _ACEOF
96241 cat >>confdefs.h <<\_ACEOF
96242 #define HAVE_MODFF 1
96243 _ACEOF
96245 cat >>confdefs.h <<\_ACEOF
96246 #define HAVE_MODFL 1
96247 _ACEOF
96249 cat >>confdefs.h <<\_ACEOF
96250 #define HAVE_POWF 1
96251 _ACEOF
96253 cat >>confdefs.h <<\_ACEOF
96254 #define HAVE_POWL 1
96255 _ACEOF
96257 cat >>confdefs.h <<\_ACEOF
96258 #define HAVE_SINF 1
96259 _ACEOF
96261 cat >>confdefs.h <<\_ACEOF
96262 #define HAVE_SINL 1
96263 _ACEOF
96265 cat >>confdefs.h <<\_ACEOF
96266 #define HAVE_SINHF 1
96267 _ACEOF
96269 cat >>confdefs.h <<\_ACEOF
96270 #define HAVE_SINHL 1
96271 _ACEOF
96273 cat >>confdefs.h <<\_ACEOF
96274 #define HAVE_SQRTF 1
96275 _ACEOF
96277 cat >>confdefs.h <<\_ACEOF
96278 #define HAVE_SQRTL 1
96279 _ACEOF
96281 cat >>confdefs.h <<\_ACEOF
96282 #define HAVE_TANF 1
96283 _ACEOF
96285 cat >>confdefs.h <<\_ACEOF
96286 #define HAVE_TANL 1
96287 _ACEOF
96289 cat >>confdefs.h <<\_ACEOF
96290 #define HAVE_TANHF 1
96291 _ACEOF
96293 cat >>confdefs.h <<\_ACEOF
96294 #define HAVE_TANHL 1
96295 _ACEOF
96299 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
96300 echo "$as_me: error: No support for this host/target combination." >&2;}
96301 { (exit 1); exit 1; }; }
96303 esac
96308 # At some point, we should differentiate between architectures
96309 # like x86, which have long double versions, and alpha/powerpc/etc.,
96310 # which don't. For the time being, punt.
96311 if test x"long_double_math_on_this_cpu" = x"yes"; then
96312 cat >>confdefs.h <<\_ACEOF
96313 #define HAVE_ACOSL 1
96314 _ACEOF
96316 cat >>confdefs.h <<\_ACEOF
96317 #define HAVE_ASINL 1
96318 _ACEOF
96320 cat >>confdefs.h <<\_ACEOF
96321 #define HAVE_ATAN2L 1
96322 _ACEOF
96324 cat >>confdefs.h <<\_ACEOF
96325 #define HAVE_ATANL 1
96326 _ACEOF
96328 cat >>confdefs.h <<\_ACEOF
96329 #define HAVE_CEILL 1
96330 _ACEOF
96332 cat >>confdefs.h <<\_ACEOF
96333 #define HAVE_COPYSIGNL 1
96334 _ACEOF
96336 cat >>confdefs.h <<\_ACEOF
96337 #define HAVE_COSL 1
96338 _ACEOF
96340 cat >>confdefs.h <<\_ACEOF
96341 #define HAVE_COSHL 1
96342 _ACEOF
96344 cat >>confdefs.h <<\_ACEOF
96345 #define HAVE_EXPL 1
96346 _ACEOF
96348 cat >>confdefs.h <<\_ACEOF
96349 #define HAVE_FABSL 1
96350 _ACEOF
96352 cat >>confdefs.h <<\_ACEOF
96353 #define HAVE_FLOORL 1
96354 _ACEOF
96356 cat >>confdefs.h <<\_ACEOF
96357 #define HAVE_FMODL 1
96358 _ACEOF
96360 cat >>confdefs.h <<\_ACEOF
96361 #define HAVE_FREXPL 1
96362 _ACEOF
96364 cat >>confdefs.h <<\_ACEOF
96365 #define HAVE_LDEXPL 1
96366 _ACEOF
96368 cat >>confdefs.h <<\_ACEOF
96369 #define HAVE_LOG10L 1
96370 _ACEOF
96372 cat >>confdefs.h <<\_ACEOF
96373 #define HAVE_LOGL 1
96374 _ACEOF
96376 cat >>confdefs.h <<\_ACEOF
96377 #define HAVE_MODFL 1
96378 _ACEOF
96380 cat >>confdefs.h <<\_ACEOF
96381 #define HAVE_POWL 1
96382 _ACEOF
96384 cat >>confdefs.h <<\_ACEOF
96385 #define HAVE_SINCOSL 1
96386 _ACEOF
96388 cat >>confdefs.h <<\_ACEOF
96389 #define HAVE_SINL 1
96390 _ACEOF
96392 cat >>confdefs.h <<\_ACEOF
96393 #define HAVE_SINHL 1
96394 _ACEOF
96396 cat >>confdefs.h <<\_ACEOF
96397 #define HAVE_SQRTL 1
96398 _ACEOF
96400 cat >>confdefs.h <<\_ACEOF
96401 #define HAVE_TANL 1
96402 _ACEOF
96404 cat >>confdefs.h <<\_ACEOF
96405 #define HAVE_TANHL 1
96406 _ACEOF
96412 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
96415 # Check whether --enable-symvers or --disable-symvers was given.
96416 if test "${enable_symvers+set}" = set; then
96417 enableval="$enable_symvers"
96419 case "$enableval" in
96420 yes|no|gnu) ;;
96421 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
96422 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
96423 { (exit 1); exit 1; }; } ;;
96424 esac
96426 else
96427 enable_symvers=yes
96431 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
96432 # don't know enough about $LD to do tricks...
96434 # FIXME The following test is too strict, in theory.
96435 if test $enable_shared = no ||
96436 test "x$LD" = x ||
96437 test x$glibcxx_gnu_ld_version = x; then
96438 enable_symvers=no
96441 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
96442 if test $enable_symvers != no; then
96443 echo "$as_me:$LINENO: checking for shared libgcc" >&5
96444 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
96445 ac_save_CFLAGS="$CFLAGS"
96446 CFLAGS=' -lgcc_s'
96447 if test x$gcc_no_link = xyes; then
96448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96450 { (exit 1); exit 1; }; }
96452 cat >conftest.$ac_ext <<_ACEOF
96453 /* confdefs.h. */
96454 _ACEOF
96455 cat confdefs.h >>conftest.$ac_ext
96456 cat >>conftest.$ac_ext <<_ACEOF
96457 /* end confdefs.h. */
96460 main ()
96462 return 0;
96464 return 0;
96466 _ACEOF
96467 rm -f conftest.$ac_objext conftest$ac_exeext
96468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96469 (eval $ac_link) 2>conftest.er1
96470 ac_status=$?
96471 grep -v '^ *+' conftest.er1 >conftest.err
96472 rm -f conftest.er1
96473 cat conftest.err >&5
96474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96475 (exit $ac_status); } &&
96476 { ac_try='test -z "$ac_c_werror_flag"
96477 || test ! -s conftest.err'
96478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96479 (eval $ac_try) 2>&5
96480 ac_status=$?
96481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96482 (exit $ac_status); }; } &&
96483 { ac_try='test -s conftest$ac_exeext'
96484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96485 (eval $ac_try) 2>&5
96486 ac_status=$?
96487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96488 (exit $ac_status); }; }; then
96489 glibcxx_shared_libgcc=yes
96490 else
96491 echo "$as_me: failed program was:" >&5
96492 sed 's/^/| /' conftest.$ac_ext >&5
96494 glibcxx_shared_libgcc=no
96496 rm -f conftest.err conftest.$ac_objext \
96497 conftest$ac_exeext conftest.$ac_ext
96498 CFLAGS="$ac_save_CFLAGS"
96499 if test $glibcxx_shared_libgcc = no; then
96500 cat > conftest.c <<EOF
96501 int main (void) { return 0; }
96503 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
96504 -shared -shared-libgcc -o conftest.so \
96505 conftest.c -v 2>&1 >/dev/null \
96506 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
96507 rm -f conftest.c conftest.so
96508 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
96509 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
96510 if test x$gcc_no_link = xyes; then
96511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96513 { (exit 1); exit 1; }; }
96515 cat >conftest.$ac_ext <<_ACEOF
96516 /* confdefs.h. */
96517 _ACEOF
96518 cat confdefs.h >>conftest.$ac_ext
96519 cat >>conftest.$ac_ext <<_ACEOF
96520 /* end confdefs.h. */
96523 main ()
96525 return 0;
96527 return 0;
96529 _ACEOF
96530 rm -f conftest.$ac_objext conftest$ac_exeext
96531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96532 (eval $ac_link) 2>conftest.er1
96533 ac_status=$?
96534 grep -v '^ *+' conftest.er1 >conftest.err
96535 rm -f conftest.er1
96536 cat conftest.err >&5
96537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96538 (exit $ac_status); } &&
96539 { ac_try='test -z "$ac_c_werror_flag"
96540 || test ! -s conftest.err'
96541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96542 (eval $ac_try) 2>&5
96543 ac_status=$?
96544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96545 (exit $ac_status); }; } &&
96546 { ac_try='test -s conftest$ac_exeext'
96547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96548 (eval $ac_try) 2>&5
96549 ac_status=$?
96550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96551 (exit $ac_status); }; }; then
96552 glibcxx_shared_libgcc=yes
96553 else
96554 echo "$as_me: failed program was:" >&5
96555 sed 's/^/| /' conftest.$ac_ext >&5
96558 rm -f conftest.err conftest.$ac_objext \
96559 conftest$ac_exeext conftest.$ac_ext
96560 CFLAGS="$ac_save_CFLAGS"
96563 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
96564 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
96567 # For GNU ld, we need at least this version. The format is described in
96568 # GLIBCXX_CHECK_LINKER_FEATURES above.
96569 glibcxx_min_gnu_ld_version=21400
96570 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
96572 # Check to see if unspecified "yes" value can win, given results above.
96573 # Change "yes" into either "no" or a style name.
96574 if test $enable_symvers = yes; then
96575 if test $with_gnu_ld = yes &&
96576 test $glibcxx_shared_libgcc = yes;
96577 then
96578 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
96579 enable_symvers=gnu
96580 else
96581 # The right tools, the right setup, but too old. Fallbacks?
96582 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
96583 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
96584 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
96585 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
96586 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
96587 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
96588 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
96589 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
96590 if test $glibcxx_gnu_ld_version -ge 21200 ; then
96591 # Globbing fix is present, proper block support is not.
96592 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96593 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96594 enable_symvers=no
96595 else
96596 # 2.11 or older.
96597 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96598 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96599 enable_symvers=no
96602 else
96603 # just fail for now
96604 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
96605 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
96606 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
96607 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
96608 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
96609 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
96610 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96611 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96612 enable_symvers=no
96616 # Everything parsed; figure out what file to use.
96617 case $enable_symvers in
96619 SYMVER_MAP=config/linker-map.dummy
96621 gnu)
96622 SYMVER_MAP=config/linker-map.gnu
96623 cat >>confdefs.h <<\_ACEOF
96624 #define _GLIBCXX_SYMVER 1
96625 _ACEOF
96628 esac
96633 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
96634 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
96637 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
96639 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
96640 # Do checks for resource limit functions.
96642 setrlimit_have_headers=yes
96646 for ac_header in unistd.h sys/time.h sys/resource.h
96648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96650 echo "$as_me:$LINENO: checking for $ac_header" >&5
96651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96653 echo $ECHO_N "(cached) $ECHO_C" >&6
96655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96657 else
96658 # Is the header compilable?
96659 echo "$as_me:$LINENO: checking $ac_header usability" >&5
96660 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96661 cat >conftest.$ac_ext <<_ACEOF
96662 /* confdefs.h. */
96663 _ACEOF
96664 cat confdefs.h >>conftest.$ac_ext
96665 cat >>conftest.$ac_ext <<_ACEOF
96666 /* end confdefs.h. */
96667 $ac_includes_default
96668 #include <$ac_header>
96669 _ACEOF
96670 rm -f conftest.$ac_objext
96671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96672 (eval $ac_compile) 2>conftest.er1
96673 ac_status=$?
96674 grep -v '^ *+' conftest.er1 >conftest.err
96675 rm -f conftest.er1
96676 cat conftest.err >&5
96677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96678 (exit $ac_status); } &&
96679 { ac_try='test -z "$ac_c_werror_flag"
96680 || test ! -s conftest.err'
96681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96682 (eval $ac_try) 2>&5
96683 ac_status=$?
96684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96685 (exit $ac_status); }; } &&
96686 { ac_try='test -s conftest.$ac_objext'
96687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96688 (eval $ac_try) 2>&5
96689 ac_status=$?
96690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96691 (exit $ac_status); }; }; then
96692 ac_header_compiler=yes
96693 else
96694 echo "$as_me: failed program was:" >&5
96695 sed 's/^/| /' conftest.$ac_ext >&5
96697 ac_header_compiler=no
96699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96700 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96701 echo "${ECHO_T}$ac_header_compiler" >&6
96703 # Is the header present?
96704 echo "$as_me:$LINENO: checking $ac_header presence" >&5
96705 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96706 cat >conftest.$ac_ext <<_ACEOF
96707 /* confdefs.h. */
96708 _ACEOF
96709 cat confdefs.h >>conftest.$ac_ext
96710 cat >>conftest.$ac_ext <<_ACEOF
96711 /* end confdefs.h. */
96712 #include <$ac_header>
96713 _ACEOF
96714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96716 ac_status=$?
96717 grep -v '^ *+' conftest.er1 >conftest.err
96718 rm -f conftest.er1
96719 cat conftest.err >&5
96720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96721 (exit $ac_status); } >/dev/null; then
96722 if test -s conftest.err; then
96723 ac_cpp_err=$ac_c_preproc_warn_flag
96724 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96725 else
96726 ac_cpp_err=
96728 else
96729 ac_cpp_err=yes
96731 if test -z "$ac_cpp_err"; then
96732 ac_header_preproc=yes
96733 else
96734 echo "$as_me: failed program was:" >&5
96735 sed 's/^/| /' conftest.$ac_ext >&5
96737 ac_header_preproc=no
96739 rm -f conftest.err conftest.$ac_ext
96740 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96741 echo "${ECHO_T}$ac_header_preproc" >&6
96743 # So? What about this header?
96744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96745 yes:no: )
96746 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
96747 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
96748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
96749 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
96750 ac_header_preproc=yes
96752 no:yes:* )
96753 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
96754 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
96755 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
96756 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
96757 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
96758 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
96759 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
96760 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
96761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
96762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96763 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96764 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96766 cat <<\_ASBOX
96767 ## ----------------------------------------- ##
96768 ## Report this to the package-unused lists. ##
96769 ## ----------------------------------------- ##
96770 _ASBOX
96772 sed "s/^/$as_me: WARNING: /" >&2
96774 esac
96775 echo "$as_me:$LINENO: checking for $ac_header" >&5
96776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96778 echo $ECHO_N "(cached) $ECHO_C" >&6
96779 else
96780 eval "$as_ac_Header=\$ac_header_preproc"
96782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96787 cat >>confdefs.h <<_ACEOF
96788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
96789 _ACEOF
96791 else
96792 setrlimit_have_headers=no
96795 done
96797 # If don't have the headers, then we can't run the tests now, and we
96798 # won't be seeing any of these during testsuite compilation.
96799 if test $setrlimit_have_headers = yes; then
96800 # Can't do these in a loop, else the resulting syntax is wrong.
96802 cat >conftest.$ac_ext <<_ACEOF
96803 /* confdefs.h. */
96804 _ACEOF
96805 cat confdefs.h >>conftest.$ac_ext
96806 cat >>conftest.$ac_ext <<_ACEOF
96807 /* end confdefs.h. */
96808 #include <unistd.h>
96809 #include <sys/time.h>
96810 #include <sys/resource.h>
96813 main ()
96815 int f = RLIMIT_DATA ;
96817 return 0;
96819 _ACEOF
96820 rm -f conftest.$ac_objext
96821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96822 (eval $ac_compile) 2>conftest.er1
96823 ac_status=$?
96824 grep -v '^ *+' conftest.er1 >conftest.err
96825 rm -f conftest.er1
96826 cat conftest.err >&5
96827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96828 (exit $ac_status); } &&
96829 { ac_try='test -z "$ac_c_werror_flag"
96830 || test ! -s conftest.err'
96831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96832 (eval $ac_try) 2>&5
96833 ac_status=$?
96834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96835 (exit $ac_status); }; } &&
96836 { ac_try='test -s conftest.$ac_objext'
96837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96838 (eval $ac_try) 2>&5
96839 ac_status=$?
96840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96841 (exit $ac_status); }; }; then
96842 glibcxx_mresult=1
96843 else
96844 echo "$as_me: failed program was:" >&5
96845 sed 's/^/| /' conftest.$ac_ext >&5
96847 glibcxx_mresult=0
96849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96851 cat >>confdefs.h <<_ACEOF
96852 #define HAVE_LIMIT_DATA $glibcxx_mresult
96853 _ACEOF
96857 cat >conftest.$ac_ext <<_ACEOF
96858 /* confdefs.h. */
96859 _ACEOF
96860 cat confdefs.h >>conftest.$ac_ext
96861 cat >>conftest.$ac_ext <<_ACEOF
96862 /* end confdefs.h. */
96863 #include <unistd.h>
96864 #include <sys/time.h>
96865 #include <sys/resource.h>
96868 main ()
96870 int f = RLIMIT_RSS ;
96872 return 0;
96874 _ACEOF
96875 rm -f conftest.$ac_objext
96876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96877 (eval $ac_compile) 2>conftest.er1
96878 ac_status=$?
96879 grep -v '^ *+' conftest.er1 >conftest.err
96880 rm -f conftest.er1
96881 cat conftest.err >&5
96882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96883 (exit $ac_status); } &&
96884 { ac_try='test -z "$ac_c_werror_flag"
96885 || test ! -s conftest.err'
96886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96887 (eval $ac_try) 2>&5
96888 ac_status=$?
96889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96890 (exit $ac_status); }; } &&
96891 { ac_try='test -s conftest.$ac_objext'
96892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96893 (eval $ac_try) 2>&5
96894 ac_status=$?
96895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96896 (exit $ac_status); }; }; then
96897 glibcxx_mresult=1
96898 else
96899 echo "$as_me: failed program was:" >&5
96900 sed 's/^/| /' conftest.$ac_ext >&5
96902 glibcxx_mresult=0
96904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96906 cat >>confdefs.h <<_ACEOF
96907 #define HAVE_LIMIT_RSS $glibcxx_mresult
96908 _ACEOF
96912 cat >conftest.$ac_ext <<_ACEOF
96913 /* confdefs.h. */
96914 _ACEOF
96915 cat confdefs.h >>conftest.$ac_ext
96916 cat >>conftest.$ac_ext <<_ACEOF
96917 /* end confdefs.h. */
96918 #include <unistd.h>
96919 #include <sys/time.h>
96920 #include <sys/resource.h>
96923 main ()
96925 int f = RLIMIT_VMEM ;
96927 return 0;
96929 _ACEOF
96930 rm -f conftest.$ac_objext
96931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96932 (eval $ac_compile) 2>conftest.er1
96933 ac_status=$?
96934 grep -v '^ *+' conftest.er1 >conftest.err
96935 rm -f conftest.er1
96936 cat conftest.err >&5
96937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96938 (exit $ac_status); } &&
96939 { ac_try='test -z "$ac_c_werror_flag"
96940 || test ! -s conftest.err'
96941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96942 (eval $ac_try) 2>&5
96943 ac_status=$?
96944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96945 (exit $ac_status); }; } &&
96946 { ac_try='test -s conftest.$ac_objext'
96947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96948 (eval $ac_try) 2>&5
96949 ac_status=$?
96950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96951 (exit $ac_status); }; }; then
96952 glibcxx_mresult=1
96953 else
96954 echo "$as_me: failed program was:" >&5
96955 sed 's/^/| /' conftest.$ac_ext >&5
96957 glibcxx_mresult=0
96959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96961 cat >>confdefs.h <<_ACEOF
96962 #define HAVE_LIMIT_VMEM $glibcxx_mresult
96963 _ACEOF
96967 cat >conftest.$ac_ext <<_ACEOF
96968 /* confdefs.h. */
96969 _ACEOF
96970 cat confdefs.h >>conftest.$ac_ext
96971 cat >>conftest.$ac_ext <<_ACEOF
96972 /* end confdefs.h. */
96973 #include <unistd.h>
96974 #include <sys/time.h>
96975 #include <sys/resource.h>
96978 main ()
96980 int f = RLIMIT_AS ;
96982 return 0;
96984 _ACEOF
96985 rm -f conftest.$ac_objext
96986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96987 (eval $ac_compile) 2>conftest.er1
96988 ac_status=$?
96989 grep -v '^ *+' conftest.er1 >conftest.err
96990 rm -f conftest.er1
96991 cat conftest.err >&5
96992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96993 (exit $ac_status); } &&
96994 { ac_try='test -z "$ac_c_werror_flag"
96995 || test ! -s conftest.err'
96996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96997 (eval $ac_try) 2>&5
96998 ac_status=$?
96999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97000 (exit $ac_status); }; } &&
97001 { ac_try='test -s conftest.$ac_objext'
97002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97003 (eval $ac_try) 2>&5
97004 ac_status=$?
97005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97006 (exit $ac_status); }; }; then
97007 glibcxx_mresult=1
97008 else
97009 echo "$as_me: failed program was:" >&5
97010 sed 's/^/| /' conftest.$ac_ext >&5
97012 glibcxx_mresult=0
97014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97016 cat >>confdefs.h <<_ACEOF
97017 #define HAVE_LIMIT_AS $glibcxx_mresult
97018 _ACEOF
97022 cat >conftest.$ac_ext <<_ACEOF
97023 /* confdefs.h. */
97024 _ACEOF
97025 cat confdefs.h >>conftest.$ac_ext
97026 cat >>conftest.$ac_ext <<_ACEOF
97027 /* end confdefs.h. */
97028 #include <unistd.h>
97029 #include <sys/time.h>
97030 #include <sys/resource.h>
97033 main ()
97035 int f = RLIMIT_FSIZE ;
97037 return 0;
97039 _ACEOF
97040 rm -f conftest.$ac_objext
97041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97042 (eval $ac_compile) 2>conftest.er1
97043 ac_status=$?
97044 grep -v '^ *+' conftest.er1 >conftest.err
97045 rm -f conftest.er1
97046 cat conftest.err >&5
97047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97048 (exit $ac_status); } &&
97049 { ac_try='test -z "$ac_c_werror_flag"
97050 || test ! -s conftest.err'
97051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97052 (eval $ac_try) 2>&5
97053 ac_status=$?
97054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97055 (exit $ac_status); }; } &&
97056 { ac_try='test -s conftest.$ac_objext'
97057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97058 (eval $ac_try) 2>&5
97059 ac_status=$?
97060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97061 (exit $ac_status); }; }; then
97062 glibcxx_mresult=1
97063 else
97064 echo "$as_me: failed program was:" >&5
97065 sed 's/^/| /' conftest.$ac_ext >&5
97067 glibcxx_mresult=0
97069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97071 cat >>confdefs.h <<_ACEOF
97072 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
97073 _ACEOF
97077 # Check for rlimit, setrlimit.
97078 if test "${ac_setrlimit+set}" = set; then
97079 echo $ECHO_N "(cached) $ECHO_C" >&6
97080 else
97082 cat >conftest.$ac_ext <<_ACEOF
97083 /* confdefs.h. */
97084 _ACEOF
97085 cat confdefs.h >>conftest.$ac_ext
97086 cat >>conftest.$ac_ext <<_ACEOF
97087 /* end confdefs.h. */
97088 #include <unistd.h>
97089 #include <sys/time.h>
97090 #include <sys/resource.h>
97093 main ()
97095 struct rlimit r;
97096 setrlimit(0, &r);
97098 return 0;
97100 _ACEOF
97101 rm -f conftest.$ac_objext
97102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97103 (eval $ac_compile) 2>conftest.er1
97104 ac_status=$?
97105 grep -v '^ *+' conftest.er1 >conftest.err
97106 rm -f conftest.er1
97107 cat conftest.err >&5
97108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97109 (exit $ac_status); } &&
97110 { ac_try='test -z "$ac_c_werror_flag"
97111 || test ! -s conftest.err'
97112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97113 (eval $ac_try) 2>&5
97114 ac_status=$?
97115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97116 (exit $ac_status); }; } &&
97117 { ac_try='test -s conftest.$ac_objext'
97118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97119 (eval $ac_try) 2>&5
97120 ac_status=$?
97121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97122 (exit $ac_status); }; }; then
97123 ac_setrlimit=yes
97124 else
97125 echo "$as_me: failed program was:" >&5
97126 sed 's/^/| /' conftest.$ac_ext >&5
97128 ac_setrlimit=no
97130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97136 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
97137 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
97138 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
97139 ac_res_limits=yes
97140 cat >>confdefs.h <<\_ACEOF
97141 #define _GLIBCXX_RES_LIMITS 1
97142 _ACEOF
97144 else
97145 ac_res_limits=no
97147 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
97148 echo "${ECHO_T}$ac_res_limits" >&6
97151 # Look for setenv, so that extended locale tests can be performed.
97153 echo "$as_me:$LINENO: checking for setenv declaration" >&5
97154 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
97155 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
97156 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
97157 echo $ECHO_N "(cached) $ECHO_C" >&6
97158 else
97162 ac_ext=cc
97163 ac_cpp='$CXXCPP $CPPFLAGS'
97164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97168 cat >conftest.$ac_ext <<_ACEOF
97169 /* confdefs.h. */
97170 _ACEOF
97171 cat confdefs.h >>conftest.$ac_ext
97172 cat >>conftest.$ac_ext <<_ACEOF
97173 /* end confdefs.h. */
97174 #include <stdlib.h>
97176 main ()
97178 setenv(0, 0, 0);
97180 return 0;
97182 _ACEOF
97183 rm -f conftest.$ac_objext
97184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97185 (eval $ac_compile) 2>conftest.er1
97186 ac_status=$?
97187 grep -v '^ *+' conftest.er1 >conftest.err
97188 rm -f conftest.er1
97189 cat conftest.err >&5
97190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97191 (exit $ac_status); } &&
97192 { ac_try='test -z "$ac_cxx_werror_flag"
97193 || test ! -s conftest.err'
97194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97195 (eval $ac_try) 2>&5
97196 ac_status=$?
97197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97198 (exit $ac_status); }; } &&
97199 { ac_try='test -s conftest.$ac_objext'
97200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97201 (eval $ac_try) 2>&5
97202 ac_status=$?
97203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97204 (exit $ac_status); }; }; then
97205 glibcxx_cv_func_setenv_use=yes
97206 else
97207 echo "$as_me: failed program was:" >&5
97208 sed 's/^/| /' conftest.$ac_ext >&5
97210 glibcxx_cv_func_setenv_use=no
97212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97213 ac_ext=c
97214 ac_cpp='$CPP $CPPFLAGS'
97215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
97224 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
97225 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
97227 for ac_func in setenv
97229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97230 echo "$as_me:$LINENO: checking for $ac_func" >&5
97231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97232 if eval "test \"\${$as_ac_var+set}\" = set"; then
97233 echo $ECHO_N "(cached) $ECHO_C" >&6
97234 else
97235 if test x$gcc_no_link = xyes; then
97236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97238 { (exit 1); exit 1; }; }
97240 cat >conftest.$ac_ext <<_ACEOF
97241 /* confdefs.h. */
97242 _ACEOF
97243 cat confdefs.h >>conftest.$ac_ext
97244 cat >>conftest.$ac_ext <<_ACEOF
97245 /* end confdefs.h. */
97246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97248 #define $ac_func innocuous_$ac_func
97250 /* System header to define __stub macros and hopefully few prototypes,
97251 which can conflict with char $ac_func (); below.
97252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97253 <limits.h> exists even on freestanding compilers. */
97255 #ifdef __STDC__
97256 # include <limits.h>
97257 #else
97258 # include <assert.h>
97259 #endif
97261 #undef $ac_func
97263 /* Override any gcc2 internal prototype to avoid an error. */
97264 #ifdef __cplusplus
97265 extern "C"
97267 #endif
97268 /* We use char because int might match the return type of a gcc2
97269 builtin and then its argument prototype would still apply. */
97270 char $ac_func ();
97271 /* The GNU C library defines this for functions which it implements
97272 to always fail with ENOSYS. Some functions are actually named
97273 something starting with __ and the normal name is an alias. */
97274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97275 choke me
97276 #else
97277 char (*f) () = $ac_func;
97278 #endif
97279 #ifdef __cplusplus
97281 #endif
97284 main ()
97286 return f != $ac_func;
97288 return 0;
97290 _ACEOF
97291 rm -f conftest.$ac_objext conftest$ac_exeext
97292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97293 (eval $ac_link) 2>conftest.er1
97294 ac_status=$?
97295 grep -v '^ *+' conftest.er1 >conftest.err
97296 rm -f conftest.er1
97297 cat conftest.err >&5
97298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97299 (exit $ac_status); } &&
97300 { ac_try='test -z "$ac_c_werror_flag"
97301 || test ! -s conftest.err'
97302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97303 (eval $ac_try) 2>&5
97304 ac_status=$?
97305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97306 (exit $ac_status); }; } &&
97307 { ac_try='test -s conftest$ac_exeext'
97308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97309 (eval $ac_try) 2>&5
97310 ac_status=$?
97311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97312 (exit $ac_status); }; }; then
97313 eval "$as_ac_var=yes"
97314 else
97315 echo "$as_me: failed program was:" >&5
97316 sed 's/^/| /' conftest.$ac_ext >&5
97318 eval "$as_ac_var=no"
97320 rm -f conftest.err conftest.$ac_objext \
97321 conftest$ac_exeext conftest.$ac_ext
97323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97325 if test `eval echo '${'$as_ac_var'}'` = yes; then
97326 cat >>confdefs.h <<_ACEOF
97327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97328 _ACEOF
97331 done
97336 if test $enable_symvers = no; then
97337 enable_abi_check=no
97338 else
97339 case "$host" in
97340 *-*-cygwin*)
97341 enable_abi_check=no ;;
97343 enable_abi_check=yes ;;
97344 esac
97346 else
97347 # Only build this as native, since automake does not understand
97348 # CXX_FOR_BUILD.
97349 enable_abi_check=no
97352 # Export file names for ABI checking.
97353 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
97361 # Propagate the target-specific source directories through the build chain.
97362 ATOMICITY_SRCDIR=config/${atomicity_dir}
97363 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
97364 OS_INC_SRCDIR=config/${os_include_dir}
97365 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
97371 # Determine cross-compile flags and AM_CONDITIONALs.
97372 #AC_SUBST(GLIBCXX_IS_NATIVE)
97373 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
97374 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
97375 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
97378 if test $is_hosted = yes; then
97379 GLIBCXX_HOSTED_TRUE=
97380 GLIBCXX_HOSTED_FALSE='#'
97381 else
97382 GLIBCXX_HOSTED_TRUE='#'
97383 GLIBCXX_HOSTED_FALSE=
97389 if test $enable_libstdcxx_pch = yes; then
97390 GLIBCXX_BUILD_PCH_TRUE=
97391 GLIBCXX_BUILD_PCH_FALSE='#'
97392 else
97393 GLIBCXX_BUILD_PCH_TRUE='#'
97394 GLIBCXX_BUILD_PCH_FALSE=
97400 if test $enable_cheaders = c; then
97401 GLIBCXX_C_HEADERS_C_TRUE=
97402 GLIBCXX_C_HEADERS_C_FALSE='#'
97403 else
97404 GLIBCXX_C_HEADERS_C_TRUE='#'
97405 GLIBCXX_C_HEADERS_C_FALSE=
97411 if test $enable_cheaders = c_std; then
97412 GLIBCXX_C_HEADERS_C_STD_TRUE=
97413 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
97414 else
97415 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
97416 GLIBCXX_C_HEADERS_C_STD_FALSE=
97422 if test $c_compatibility = yes; then
97423 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
97424 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
97425 else
97426 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
97427 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
97433 if test $enable_libstdcxx_debug = yes; then
97434 GLIBCXX_BUILD_DEBUG_TRUE=
97435 GLIBCXX_BUILD_DEBUG_FALSE='#'
97436 else
97437 GLIBCXX_BUILD_DEBUG_TRUE='#'
97438 GLIBCXX_BUILD_DEBUG_FALSE=
97444 if test $enable_symvers != no; then
97445 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
97446 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
97447 else
97448 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
97449 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
97455 if test $enable_wchar_t = yes; then
97456 GLIBCXX_TEST_WCHAR_T_TRUE=
97457 GLIBCXX_TEST_WCHAR_T_FALSE='#'
97458 else
97459 GLIBCXX_TEST_WCHAR_T_TRUE='#'
97460 GLIBCXX_TEST_WCHAR_T_FALSE=
97466 if test $enable_thread = yes; then
97467 GLIBCXX_TEST_THREAD_TRUE=
97468 GLIBCXX_TEST_THREAD_FALSE='#'
97469 else
97470 GLIBCXX_TEST_THREAD_TRUE='#'
97471 GLIBCXX_TEST_THREAD_FALSE=
97477 if test $enable_abi_check = yes; then
97478 GLIBCXX_TEST_ABI_TRUE=
97479 GLIBCXX_TEST_ABI_FALSE='#'
97480 else
97481 GLIBCXX_TEST_ABI_TRUE='#'
97482 GLIBCXX_TEST_ABI_FALSE=
97488 cat >confcache <<\_ACEOF
97489 # This file is a shell script that caches the results of configure
97490 # tests run on this system so they can be shared between configure
97491 # scripts and configure runs, see configure's option --config-cache.
97492 # It is not useful on other systems. If it contains results you don't
97493 # want to keep, you may remove or edit it.
97495 # config.status only pays attention to the cache file if you give it
97496 # the --recheck option to rerun configure.
97498 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97499 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97500 # following values.
97502 _ACEOF
97504 # The following way of writing the cache mishandles newlines in values,
97505 # but we know of no workaround that is simple, portable, and efficient.
97506 # So, don't put newlines in cache variables' values.
97507 # Ultrix sh set writes to stderr and can't be redirected directly,
97508 # and sets the high bit in the cache file unless we assign to the vars.
97510 (set) 2>&1 |
97511 case `(ac_space=' '; set | grep ac_space) 2>&1` in
97512 *ac_space=\ *)
97513 # `set' does not quote correctly, so add quotes (double-quote
97514 # substitution turns \\\\ into \\, and sed turns \\ into \).
97515 sed -n \
97516 "s/'/'\\\\''/g;
97517 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97520 # `set' quotes correctly as required by POSIX, so do not add quotes.
97521 sed -n \
97522 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97524 esac;
97526 sed '
97527 t clear
97528 : clear
97529 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97530 t end
97531 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97532 : end' >>confcache
97533 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97534 if test -w $cache_file; then
97535 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97536 cat confcache >$cache_file
97537 else
97538 echo "not updating unwritable cache $cache_file"
97541 rm -f confcache
97543 if test ${multilib} = yes; then
97544 multilib_arg="--enable-multilib"
97545 else
97546 multilib_arg=
97549 # Export all the install information.
97551 glibcxx_toolexecdir=no
97552 glibcxx_toolexeclibdir=no
97553 glibcxx_prefixdir=$prefix
97555 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
97556 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
97558 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
97559 if test "${with_gxx_include_dir+set}" = set; then
97560 withval="$with_gxx_include_dir"
97561 case "$withval" in
97562 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
97563 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
97564 { (exit 1); exit 1; }; } ;;
97565 no) gxx_include_dir=no ;;
97566 *) gxx_include_dir=$withval ;;
97567 esac
97568 else
97569 gxx_include_dir=no
97571 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97572 echo "${ECHO_T}$gxx_include_dir" >&6
97574 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
97575 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
97576 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
97577 if test "${enable_version_specific_runtime_libs+set}" = set; then
97578 enableval="$enable_version_specific_runtime_libs"
97579 case "$enableval" in
97580 yes) version_specific_libs=yes ;;
97581 no) version_specific_libs=no ;;
97582 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
97583 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
97584 { (exit 1); exit 1; }; };;
97585 esac
97586 else
97587 version_specific_libs=no
97589 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
97590 echo "${ECHO_T}$version_specific_libs" >&6
97592 # Default case for install directory for include files.
97593 if test $version_specific_libs = no && test $gxx_include_dir = no; then
97594 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
97597 # Version-specific runtime libs processing.
97598 if test $version_specific_libs = yes; then
97599 # Need the gcc compiler version to know where to install libraries
97600 # and header files if --enable-version-specific-runtime-libs option
97601 # is selected. FIXME: these variables are misnamed, there are
97602 # no executables installed in _toolexecdir or _toolexeclibdir.
97603 if test x"$gxx_include_dir" = x"no"; then
97604 gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
97606 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97607 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
97610 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
97611 # Install a library built with a cross compiler in tooldir, not libdir.
97612 if test x"$glibcxx_toolexecdir" = x"no"; then
97613 if test -n "$with_cross_host" &&
97614 test x"$with_cross_host" != x"no"; then
97615 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
97616 glibcxx_toolexeclibdir='${toolexecdir}/lib'
97617 else
97618 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97619 glibcxx_toolexeclibdir='${libdir}'
97621 multi_os_directory=`$CXX -print-multi-os-directory`
97622 case $multi_os_directory in
97623 .) ;; # Avoid trailing /.
97624 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
97625 esac
97628 echo "$as_me:$LINENO: checking for install location" >&5
97629 echo $ECHO_N "checking for install location... $ECHO_C" >&6
97630 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97631 echo "${ECHO_T}$gxx_include_dir" >&6
97639 # Export all the include and flag information to Makefiles.
97641 # Used for every C++ compile we perform.
97642 GLIBCXX_INCLUDES="\
97643 -I$glibcxx_builddir/include/$host_alias \
97644 -I$glibcxx_builddir/include \
97645 -I$glibcxx_srcdir/libsupc++"
97647 # For Canadian crosses, pick this up too.
97648 if test $CANADIAN = yes; then
97649 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
97652 # Stuff in the actual top level. Currently only used by libsupc++ to
97653 # get unwind* headers from the gcc dir.
97654 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
97655 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
97657 # Now, export this to all the little Makefiles....
97662 # Optimization flags that are probably a good idea for thrill-seekers. Just
97663 # uncomment the lines below and make, everything else is ready to go...
97664 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
97665 OPTIMIZE_CXXFLAGS=
97668 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
97672 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
97673 grep "enable shared" > /dev/null;
97674 then
97675 LIBSUPCXX_PICFLAGS=-prefer-pic
97676 else
97677 LIBSUPCXX_PICFLAGS=
97681 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
97683 ac_config_files="$ac_config_files scripts/check_survey"
97685 ac_config_files="$ac_config_files scripts/testsuite_flags"
97688 ac_config_commands="$ac_config_commands default"
97691 cat >confcache <<\_ACEOF
97692 # This file is a shell script that caches the results of configure
97693 # tests run on this system so they can be shared between configure
97694 # scripts and configure runs, see configure's option --config-cache.
97695 # It is not useful on other systems. If it contains results you don't
97696 # want to keep, you may remove or edit it.
97698 # config.status only pays attention to the cache file if you give it
97699 # the --recheck option to rerun configure.
97701 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97703 # following values.
97705 _ACEOF
97707 # The following way of writing the cache mishandles newlines in values,
97708 # but we know of no workaround that is simple, portable, and efficient.
97709 # So, don't put newlines in cache variables' values.
97710 # Ultrix sh set writes to stderr and can't be redirected directly,
97711 # and sets the high bit in the cache file unless we assign to the vars.
97713 (set) 2>&1 |
97714 case `(ac_space=' '; set | grep ac_space) 2>&1` in
97715 *ac_space=\ *)
97716 # `set' does not quote correctly, so add quotes (double-quote
97717 # substitution turns \\\\ into \\, and sed turns \\ into \).
97718 sed -n \
97719 "s/'/'\\\\''/g;
97720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97723 # `set' quotes correctly as required by POSIX, so do not add quotes.
97724 sed -n \
97725 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97727 esac;
97729 sed '
97730 t clear
97731 : clear
97732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97733 t end
97734 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97735 : end' >>confcache
97736 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97737 if test -w $cache_file; then
97738 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97739 cat confcache >$cache_file
97740 else
97741 echo "not updating unwritable cache $cache_file"
97744 rm -f confcache
97746 test "x$prefix" = xNONE && prefix=$ac_default_prefix
97747 # Let make expand exec_prefix.
97748 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
97750 # VPATH may cause trouble with some makes, so we remove $(srcdir),
97751 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
97752 # trailing colons and then remove the whole line if VPATH becomes empty
97753 # (actually we leave an empty line to preserve line numbers).
97754 if test "x$srcdir" = x.; then
97755 ac_vpsub='/^[ ]*VPATH[ ]*=/{
97756 s/:*\$(srcdir):*/:/;
97757 s/:*\${srcdir}:*/:/;
97758 s/:*@srcdir@:*/:/;
97759 s/^\([^=]*=[ ]*\):*/\1/;
97760 s/:*$//;
97761 s/^[^=]*=[ ]*$//;
97765 DEFS=-DHAVE_CONFIG_H
97767 ac_libobjs=
97768 ac_ltlibobjs=
97769 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
97770 # 1. Remove the extension, and $U if already installed.
97771 ac_i=`echo "$ac_i" |
97772 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
97773 # 2. Add them.
97774 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
97775 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
97776 done
97777 LIBOBJS=$ac_libobjs
97779 LTLIBOBJS=$ac_ltlibobjs
97782 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
97783 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
97784 Usually this means the macro was only invoked conditionally." >&5
97785 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
97786 Usually this means the macro was only invoked conditionally." >&2;}
97787 { (exit 1); exit 1; }; }
97789 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
97790 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97791 Usually this means the macro was only invoked conditionally." >&5
97792 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97793 Usually this means the macro was only invoked conditionally." >&2;}
97794 { (exit 1); exit 1; }; }
97796 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
97797 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97798 Usually this means the macro was only invoked conditionally." >&5
97799 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" 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_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
97804 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97805 Usually this means the macro was only invoked conditionally." >&5
97806 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97807 Usually this means the macro was only invoked conditionally." >&2;}
97808 { (exit 1); exit 1; }; }
97810 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
97811 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97812 Usually this means the macro was only invoked conditionally." >&5
97813 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97814 Usually this means the macro was only invoked conditionally." >&2;}
97815 { (exit 1); exit 1; }; }
97817 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
97818 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97819 Usually this means the macro was only invoked conditionally." >&5
97820 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97821 Usually this means the macro was only invoked conditionally." >&2;}
97822 { (exit 1); exit 1; }; }
97824 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
97825 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97826 Usually this means the macro was only invoked conditionally." >&5
97827 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97828 Usually this means the macro was only invoked conditionally." >&2;}
97829 { (exit 1); exit 1; }; }
97831 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
97832 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97833 Usually this means the macro was only invoked conditionally." >&5
97834 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97835 Usually this means the macro was only invoked conditionally." >&2;}
97836 { (exit 1); exit 1; }; }
97838 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
97839 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97840 Usually this means the macro was only invoked conditionally." >&5
97841 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97842 Usually this means the macro was only invoked conditionally." >&2;}
97843 { (exit 1); exit 1; }; }
97845 if test -z "${GLIBCXX_TEST_THREAD_TRUE}" && test -z "${GLIBCXX_TEST_THREAD_FALSE}"; then
97846 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
97847 Usually this means the macro was only invoked conditionally." >&5
97848 echo "$as_me: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
97849 Usually this means the macro was only invoked conditionally." >&2;}
97850 { (exit 1); exit 1; }; }
97852 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
97853 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97854 Usually this means the macro was only invoked conditionally." >&5
97855 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97856 Usually this means the macro was only invoked conditionally." >&2;}
97857 { (exit 1); exit 1; }; }
97860 : ${CONFIG_STATUS=./config.status}
97861 ac_clean_files_save=$ac_clean_files
97862 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
97863 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
97864 echo "$as_me: creating $CONFIG_STATUS" >&6;}
97865 cat >$CONFIG_STATUS <<_ACEOF
97866 #! $SHELL
97867 # Generated by $as_me.
97868 # Run this file to recreate the current configuration.
97869 # Compiler output produced by configure, useful for debugging
97870 # configure, is in config.log if it exists.
97872 debug=false
97873 ac_cs_recheck=false
97874 ac_cs_silent=false
97875 SHELL=\${CONFIG_SHELL-$SHELL}
97876 _ACEOF
97878 cat >>$CONFIG_STATUS <<\_ACEOF
97879 ## --------------------- ##
97880 ## M4sh Initialization. ##
97881 ## --------------------- ##
97883 # Be Bourne compatible
97884 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
97885 emulate sh
97886 NULLCMD=:
97887 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
97888 # is contrary to our usage. Disable this feature.
97889 alias -g '${1+"$@"}'='"$@"'
97890 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
97891 set -o posix
97893 DUALCASE=1; export DUALCASE # for MKS sh
97895 # Support unset when possible.
97896 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
97897 as_unset=unset
97898 else
97899 as_unset=false
97903 # Work around bugs in pre-3.0 UWIN ksh.
97904 $as_unset ENV MAIL MAILPATH
97905 PS1='$ '
97906 PS2='> '
97907 PS4='+ '
97909 # NLS nuisances.
97910 for as_var in \
97911 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
97912 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
97913 LC_TELEPHONE LC_TIME
97915 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
97916 eval $as_var=C; export $as_var
97917 else
97918 $as_unset $as_var
97920 done
97922 # Required to use basename.
97923 if expr a : '\(a\)' >/dev/null 2>&1; then
97924 as_expr=expr
97925 else
97926 as_expr=false
97929 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
97930 as_basename=basename
97931 else
97932 as_basename=false
97936 # Name of the executable.
97937 as_me=`$as_basename "$0" ||
97938 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
97939 X"$0" : 'X\(//\)$' \| \
97940 X"$0" : 'X\(/\)$' \| \
97941 . : '\(.\)' 2>/dev/null ||
97942 echo X/"$0" |
97943 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
97944 /^X\/\(\/\/\)$/{ s//\1/; q; }
97945 /^X\/\(\/\).*/{ s//\1/; q; }
97946 s/.*/./; q'`
97949 # PATH needs CR, and LINENO needs CR and PATH.
97950 # Avoid depending upon Character Ranges.
97951 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
97952 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
97953 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
97954 as_cr_digits='0123456789'
97955 as_cr_alnum=$as_cr_Letters$as_cr_digits
97957 # The user is always right.
97958 if test "${PATH_SEPARATOR+set}" != set; then
97959 echo "#! /bin/sh" >conf$$.sh
97960 echo "exit 0" >>conf$$.sh
97961 chmod +x conf$$.sh
97962 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
97963 PATH_SEPARATOR=';'
97964 else
97965 PATH_SEPARATOR=:
97967 rm -f conf$$.sh
97971 as_lineno_1=$LINENO
97972 as_lineno_2=$LINENO
97973 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
97974 test "x$as_lineno_1" != "x$as_lineno_2" &&
97975 test "x$as_lineno_3" = "x$as_lineno_2" || {
97976 # Find who we are. Look in the path if we contain no path at all
97977 # relative or not.
97978 case $0 in
97979 *[\\/]* ) as_myself=$0 ;;
97980 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97981 for as_dir in $PATH
97983 IFS=$as_save_IFS
97984 test -z "$as_dir" && as_dir=.
97985 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
97986 done
97989 esac
97990 # We did not find ourselves, most probably we were run as `sh COMMAND'
97991 # in which case we are not to be found in the path.
97992 if test "x$as_myself" = x; then
97993 as_myself=$0
97995 if test ! -f "$as_myself"; then
97996 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
97997 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
97998 { (exit 1); exit 1; }; }
98000 case $CONFIG_SHELL in
98002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98003 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
98005 IFS=$as_save_IFS
98006 test -z "$as_dir" && as_dir=.
98007 for as_base in sh bash ksh sh5; do
98008 case $as_dir in
98010 if ("$as_dir/$as_base" -c '
98011 as_lineno_1=$LINENO
98012 as_lineno_2=$LINENO
98013 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
98014 test "x$as_lineno_1" != "x$as_lineno_2" &&
98015 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
98016 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
98017 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
98018 CONFIG_SHELL=$as_dir/$as_base
98019 export CONFIG_SHELL
98020 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
98021 fi;;
98022 esac
98023 done
98024 done
98026 esac
98028 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
98029 # uniformly replaced by the line number. The first 'sed' inserts a
98030 # line-number line before each line; the second 'sed' does the real
98031 # work. The second script uses 'N' to pair each line-number line
98032 # with the numbered line, and appends trailing '-' during
98033 # substitution so that $LINENO is not a special case at line end.
98034 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
98035 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
98036 sed '=' <$as_myself |
98037 sed '
98039 s,$,-,
98040 : loop
98041 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
98042 t loop
98043 s,-$,,
98044 s,^['$as_cr_digits']*\n,,
98045 ' >$as_me.lineno &&
98046 chmod +x $as_me.lineno ||
98047 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
98048 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
98049 { (exit 1); exit 1; }; }
98051 # Don't try to exec as it changes $[0], causing all sort of problems
98052 # (the dirname of $[0] is not the place where we might find the
98053 # original and so on. Autoconf is especially sensible to this).
98054 . ./$as_me.lineno
98055 # Exit status is that of the last command.
98056 exit
98060 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
98061 *c*,-n*) ECHO_N= ECHO_C='
98062 ' ECHO_T=' ' ;;
98063 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
98064 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
98065 esac
98067 if expr a : '\(a\)' >/dev/null 2>&1; then
98068 as_expr=expr
98069 else
98070 as_expr=false
98073 rm -f conf$$ conf$$.exe conf$$.file
98074 echo >conf$$.file
98075 if ln -s conf$$.file conf$$ 2>/dev/null; then
98076 # We could just check for DJGPP; but this test a) works b) is more generic
98077 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
98078 if test -f conf$$.exe; then
98079 # Don't use ln at all; we don't have any links
98080 as_ln_s='cp -p'
98081 else
98082 as_ln_s='ln -s'
98084 elif ln conf$$.file conf$$ 2>/dev/null; then
98085 as_ln_s=ln
98086 else
98087 as_ln_s='cp -p'
98089 rm -f conf$$ conf$$.exe conf$$.file
98091 if mkdir -p . 2>/dev/null; then
98092 as_mkdir_p=:
98093 else
98094 test -d ./-p && rmdir ./-p
98095 as_mkdir_p=false
98098 as_executable_p="test -f"
98100 # Sed expression to map a string onto a valid CPP name.
98101 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
98103 # Sed expression to map a string onto a valid variable name.
98104 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
98107 # IFS
98108 # We need space, tab and new line, in precisely that order.
98109 as_nl='
98111 IFS=" $as_nl"
98113 # CDPATH.
98114 $as_unset CDPATH
98116 exec 6>&1
98118 # Open the log real soon, to keep \$[0] and so on meaningful, and to
98119 # report actual input values of CONFIG_FILES etc. instead of their
98120 # values after options handling. Logging --version etc. is OK.
98121 exec 5>>config.log
98123 echo
98124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
98125 ## Running $as_me. ##
98126 _ASBOX
98127 } >&5
98128 cat >&5 <<_CSEOF
98130 This file was extended by package-unused $as_me version-unused, which was
98131 generated by GNU Autoconf 2.59. Invocation command line was
98133 CONFIG_FILES = $CONFIG_FILES
98134 CONFIG_HEADERS = $CONFIG_HEADERS
98135 CONFIG_LINKS = $CONFIG_LINKS
98136 CONFIG_COMMANDS = $CONFIG_COMMANDS
98137 $ $0 $@
98139 _CSEOF
98140 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
98141 echo >&5
98142 _ACEOF
98144 # Files that config.status was made for.
98145 if test -n "$ac_config_files"; then
98146 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
98149 if test -n "$ac_config_headers"; then
98150 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
98153 if test -n "$ac_config_links"; then
98154 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
98157 if test -n "$ac_config_commands"; then
98158 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
98161 cat >>$CONFIG_STATUS <<\_ACEOF
98163 ac_cs_usage="\
98164 \`$as_me' instantiates files from templates according to the
98165 current configuration.
98167 Usage: $0 [OPTIONS] [FILE]...
98169 -h, --help print this help, then exit
98170 -V, --version print version number, then exit
98171 -q, --quiet do not print progress messages
98172 -d, --debug don't remove temporary files
98173 --recheck update $as_me by reconfiguring in the same conditions
98174 --file=FILE[:TEMPLATE]
98175 instantiate the configuration file FILE
98176 --header=FILE[:TEMPLATE]
98177 instantiate the configuration header FILE
98179 Configuration files:
98180 $config_files
98182 Configuration headers:
98183 $config_headers
98185 Configuration commands:
98186 $config_commands
98188 Report bugs to <bug-autoconf@gnu.org>."
98189 _ACEOF
98191 cat >>$CONFIG_STATUS <<_ACEOF
98192 ac_cs_version="\\
98193 package-unused config.status version-unused
98194 configured by $0, generated by GNU Autoconf 2.59,
98195 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
98197 Copyright (C) 2003 Free Software Foundation, Inc.
98198 This config.status script is free software; the Free Software Foundation
98199 gives unlimited permission to copy, distribute and modify it."
98200 srcdir=$srcdir
98201 INSTALL="$INSTALL"
98202 _ACEOF
98204 cat >>$CONFIG_STATUS <<\_ACEOF
98205 # If no file are specified by the user, then we need to provide default
98206 # value. By we need to know if files were specified by the user.
98207 ac_need_defaults=:
98208 while test $# != 0
98210 case $1 in
98211 --*=*)
98212 ac_option=`expr "x$1" : 'x\([^=]*\)='`
98213 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
98214 ac_shift=:
98217 ac_option=$1
98218 ac_optarg=$2
98219 ac_shift=shift
98221 *) # This is not an option, so the user has probably given explicit
98222 # arguments.
98223 ac_option=$1
98224 ac_need_defaults=false;;
98225 esac
98227 case $ac_option in
98228 # Handling of the options.
98229 _ACEOF
98230 cat >>$CONFIG_STATUS <<\_ACEOF
98231 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
98232 ac_cs_recheck=: ;;
98233 --version | --vers* | -V )
98234 echo "$ac_cs_version"; exit 0 ;;
98235 --he | --h)
98236 # Conflict between --help and --header
98237 { { echo "$as_me:$LINENO: error: ambiguous option: $1
98238 Try \`$0 --help' for more information." >&5
98239 echo "$as_me: error: ambiguous option: $1
98240 Try \`$0 --help' for more information." >&2;}
98241 { (exit 1); exit 1; }; };;
98242 --help | --hel | -h )
98243 echo "$ac_cs_usage"; exit 0 ;;
98244 --debug | --d* | -d )
98245 debug=: ;;
98246 --file | --fil | --fi | --f )
98247 $ac_shift
98248 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
98249 ac_need_defaults=false;;
98250 --header | --heade | --head | --hea )
98251 $ac_shift
98252 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
98253 ac_need_defaults=false;;
98254 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
98255 | -silent | --silent | --silen | --sile | --sil | --si | --s)
98256 ac_cs_silent=: ;;
98258 # This is an error.
98259 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
98260 Try \`$0 --help' for more information." >&5
98261 echo "$as_me: error: unrecognized option: $1
98262 Try \`$0 --help' for more information." >&2;}
98263 { (exit 1); exit 1; }; } ;;
98265 *) ac_config_targets="$ac_config_targets $1" ;;
98267 esac
98268 shift
98269 done
98271 ac_configure_extra_args=
98273 if $ac_cs_silent; then
98274 exec 6>/dev/null
98275 ac_configure_extra_args="$ac_configure_extra_args --silent"
98278 _ACEOF
98279 cat >>$CONFIG_STATUS <<_ACEOF
98280 if \$ac_cs_recheck; then
98281 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
98282 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
98285 _ACEOF
98287 cat >>$CONFIG_STATUS <<_ACEOF
98289 # INIT-COMMANDS section.
98293 srcdir="$srcdir"
98294 host="$host"
98295 target="$target"
98296 with_multisubdir="$with_multisubdir"
98297 with_multisrctop="$with_multisrctop"
98298 with_target_subdir="$with_target_subdir"
98299 ac_configure_args="${multilib_arg} ${ac_configure_args}"
98300 multi_basedir="$multi_basedir"
98301 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
98302 CC="$CC"
98304 # Variables needed in config.status (file generation) which aren't already
98305 # passed by autoconf.
98306 SUBDIRS="$SUBDIRS"
98309 _ACEOF
98313 cat >>$CONFIG_STATUS <<\_ACEOF
98314 for ac_config_target in $ac_config_targets
98316 case "$ac_config_target" in
98317 # Handling of arguments.
98318 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
98319 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
98320 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
98321 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
98322 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
98323 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
98324 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
98325 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
98326 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
98327 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
98328 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
98329 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
98330 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
98331 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
98332 { (exit 1); exit 1; }; };;
98333 esac
98334 done
98336 # If the user did not use the arguments to specify the items to instantiate,
98337 # then the envvar interface is used. Set only those that are not.
98338 # We use the long form for the default assignment because of an extremely
98339 # bizarre bug on SunOS 4.1.3.
98340 if $ac_need_defaults; then
98341 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
98342 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
98343 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
98346 # Have a temporary directory for convenience. Make it in the build tree
98347 # simply because there is no reason to put it here, and in addition,
98348 # creating and moving files from /tmp can sometimes cause problems.
98349 # Create a temporary directory, and hook for its removal unless debugging.
98350 $debug ||
98352 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
98353 trap '{ (exit 1); exit 1; }' 1 2 13 15
98356 # Create a (secure) tmp directory for tmp files.
98359 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
98360 test -n "$tmp" && test -d "$tmp"
98361 } ||
98363 tmp=./confstat$$-$RANDOM
98364 (umask 077 && mkdir $tmp)
98365 } ||
98367 echo "$me: cannot create a temporary directory in ." >&2
98368 { (exit 1); exit 1; }
98371 _ACEOF
98373 cat >>$CONFIG_STATUS <<_ACEOF
98376 # CONFIG_FILES section.
98379 # No need to generate the scripts if there are no CONFIG_FILES.
98380 # This happens for instance when ./config.status config.h
98381 if test -n "\$CONFIG_FILES"; then
98382 # Protect against being on the right side of a sed subst in config.status.
98383 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
98384 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
98385 s,@SHELL@,$SHELL,;t t
98386 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
98387 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
98388 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
98389 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
98390 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
98391 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
98392 s,@exec_prefix@,$exec_prefix,;t t
98393 s,@prefix@,$prefix,;t t
98394 s,@program_transform_name@,$program_transform_name,;t t
98395 s,@bindir@,$bindir,;t t
98396 s,@sbindir@,$sbindir,;t t
98397 s,@libexecdir@,$libexecdir,;t t
98398 s,@datadir@,$datadir,;t t
98399 s,@sysconfdir@,$sysconfdir,;t t
98400 s,@sharedstatedir@,$sharedstatedir,;t t
98401 s,@localstatedir@,$localstatedir,;t t
98402 s,@libdir@,$libdir,;t t
98403 s,@includedir@,$includedir,;t t
98404 s,@oldincludedir@,$oldincludedir,;t t
98405 s,@infodir@,$infodir,;t t
98406 s,@mandir@,$mandir,;t t
98407 s,@build_alias@,$build_alias,;t t
98408 s,@host_alias@,$host_alias,;t t
98409 s,@target_alias@,$target_alias,;t t
98410 s,@DEFS@,$DEFS,;t t
98411 s,@ECHO_C@,$ECHO_C,;t t
98412 s,@ECHO_N@,$ECHO_N,;t t
98413 s,@ECHO_T@,$ECHO_T,;t t
98414 s,@LIBS@,$LIBS,;t t
98415 s,@libtool_VERSION@,$libtool_VERSION,;t t
98416 s,@multi_basedir@,$multi_basedir,;t t
98417 s,@build@,$build,;t t
98418 s,@build_cpu@,$build_cpu,;t t
98419 s,@build_vendor@,$build_vendor,;t t
98420 s,@build_os@,$build_os,;t t
98421 s,@host@,$host,;t t
98422 s,@host_cpu@,$host_cpu,;t t
98423 s,@host_vendor@,$host_vendor,;t t
98424 s,@host_os@,$host_os,;t t
98425 s,@target@,$target,;t t
98426 s,@target_cpu@,$target_cpu,;t t
98427 s,@target_vendor@,$target_vendor,;t t
98428 s,@target_os@,$target_os,;t t
98429 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
98430 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
98431 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
98432 s,@CYGPATH_W@,$CYGPATH_W,;t t
98433 s,@PACKAGE@,$PACKAGE,;t t
98434 s,@VERSION@,$VERSION,;t t
98435 s,@ACLOCAL@,$ACLOCAL,;t t
98436 s,@AUTOCONF@,$AUTOCONF,;t t
98437 s,@AUTOMAKE@,$AUTOMAKE,;t t
98438 s,@AUTOHEADER@,$AUTOHEADER,;t t
98439 s,@MAKEINFO@,$MAKEINFO,;t t
98440 s,@install_sh@,$install_sh,;t t
98441 s,@STRIP@,$STRIP,;t t
98442 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
98443 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
98444 s,@mkdir_p@,$mkdir_p,;t t
98445 s,@AWK@,$AWK,;t t
98446 s,@SET_MAKE@,$SET_MAKE,;t t
98447 s,@am__leading_dot@,$am__leading_dot,;t t
98448 s,@AMTAR@,$AMTAR,;t t
98449 s,@am__tar@,$am__tar,;t t
98450 s,@am__untar@,$am__untar,;t t
98451 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
98452 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
98453 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
98454 s,@CC@,$CC,;t t
98455 s,@ac_ct_CC@,$ac_ct_CC,;t t
98456 s,@EXEEXT@,$EXEEXT,;t t
98457 s,@OBJEXT@,$OBJEXT,;t t
98458 s,@CXX@,$CXX,;t t
98459 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
98460 s,@CFLAGS@,$CFLAGS,;t t
98461 s,@CXXFLAGS@,$CXXFLAGS,;t t
98462 s,@LN_S@,$LN_S,;t t
98463 s,@AS@,$AS,;t t
98464 s,@ac_ct_AS@,$ac_ct_AS,;t t
98465 s,@AR@,$AR,;t t
98466 s,@ac_ct_AR@,$ac_ct_AR,;t t
98467 s,@RANLIB@,$RANLIB,;t t
98468 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
98469 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
98470 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
98471 s,@MAINT@,$MAINT,;t t
98472 s,@LIBTOOL@,$LIBTOOL,;t t
98473 s,@CXXCPP@,$CXXCPP,;t t
98474 s,@CPPFLAGS@,$CPPFLAGS,;t t
98475 s,@enable_shared@,$enable_shared,;t t
98476 s,@enable_static@,$enable_static,;t t
98477 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
98478 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
98479 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
98480 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
98481 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
98482 s,@CSTDIO_H@,$CSTDIO_H,;t t
98483 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
98484 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
98485 s,@CPP@,$CPP,;t t
98486 s,@EGREP@,$EGREP,;t t
98487 s,@check_msgfmt@,$check_msgfmt,;t t
98488 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
98489 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
98490 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
98491 s,@USE_NLS@,$USE_NLS,;t t
98492 s,@CLOCALE_H@,$CLOCALE_H,;t t
98493 s,@CCODECVT_H@,$CCODECVT_H,;t t
98494 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
98495 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
98496 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
98497 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
98498 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
98499 s,@CMONEY_CC@,$CMONEY_CC,;t t
98500 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
98501 s,@CTIME_H@,$CTIME_H,;t t
98502 s,@CTIME_CC@,$CTIME_CC,;t t
98503 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
98504 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
98505 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
98506 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
98507 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
98508 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
98509 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
98510 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
98511 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
98512 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
98513 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
98514 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
98515 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
98516 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
98517 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
98518 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
98519 s,@WERROR@,$WERROR,;t t
98520 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
98521 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
98522 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
98523 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
98524 s,@LIBICONV@,$LIBICONV,;t t
98525 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
98526 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
98527 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
98528 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
98529 s,@baseline_dir@,$baseline_dir,;t t
98530 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
98531 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
98532 s,@GLIBCXX_TEST_THREAD_TRUE@,$GLIBCXX_TEST_THREAD_TRUE,;t t
98533 s,@GLIBCXX_TEST_THREAD_FALSE@,$GLIBCXX_TEST_THREAD_FALSE,;t t
98534 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
98535 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
98536 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
98537 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
98538 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
98539 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
98540 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
98541 s,@gxx_include_dir@,$gxx_include_dir,;t t
98542 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
98543 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
98544 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
98545 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
98546 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
98547 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
98548 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
98549 s,@LIBOBJS@,$LIBOBJS,;t t
98550 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
98551 CEOF
98553 _ACEOF
98555 cat >>$CONFIG_STATUS <<\_ACEOF
98556 # Split the substitutions into bite-sized pieces for seds with
98557 # small command number limits, like on Digital OSF/1 and HP-UX.
98558 ac_max_sed_lines=48
98559 ac_sed_frag=1 # Number of current file.
98560 ac_beg=1 # First line for current file.
98561 ac_end=$ac_max_sed_lines # Line after last line for current file.
98562 ac_more_lines=:
98563 ac_sed_cmds=
98564 while $ac_more_lines; do
98565 if test $ac_beg -gt 1; then
98566 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98567 else
98568 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98570 if test ! -s $tmp/subs.frag; then
98571 ac_more_lines=false
98572 else
98573 # The purpose of the label and of the branching condition is to
98574 # speed up the sed processing (if there are no `@' at all, there
98575 # is no need to browse any of the substitutions).
98576 # These are the two extra sed commands mentioned above.
98577 (echo ':t
98578 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
98579 if test -z "$ac_sed_cmds"; then
98580 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
98581 else
98582 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
98584 ac_sed_frag=`expr $ac_sed_frag + 1`
98585 ac_beg=$ac_end
98586 ac_end=`expr $ac_end + $ac_max_sed_lines`
98588 done
98589 if test -z "$ac_sed_cmds"; then
98590 ac_sed_cmds=cat
98592 fi # test -n "$CONFIG_FILES"
98594 _ACEOF
98595 cat >>$CONFIG_STATUS <<\_ACEOF
98596 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
98597 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98598 case $ac_file in
98599 - | *:- | *:-:* ) # input from stdin
98600 cat >$tmp/stdin
98601 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98602 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98603 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98604 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98605 * ) ac_file_in=$ac_file.in ;;
98606 esac
98608 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
98609 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98610 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98611 X"$ac_file" : 'X\(//\)[^/]' \| \
98612 X"$ac_file" : 'X\(//\)$' \| \
98613 X"$ac_file" : 'X\(/\)' \| \
98614 . : '\(.\)' 2>/dev/null ||
98615 echo X"$ac_file" |
98616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98617 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98618 /^X\(\/\/\)$/{ s//\1/; q; }
98619 /^X\(\/\).*/{ s//\1/; q; }
98620 s/.*/./; q'`
98621 { if $as_mkdir_p; then
98622 mkdir -p "$ac_dir"
98623 else
98624 as_dir="$ac_dir"
98625 as_dirs=
98626 while test ! -d "$as_dir"; do
98627 as_dirs="$as_dir $as_dirs"
98628 as_dir=`(dirname "$as_dir") 2>/dev/null ||
98629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98630 X"$as_dir" : 'X\(//\)[^/]' \| \
98631 X"$as_dir" : 'X\(//\)$' \| \
98632 X"$as_dir" : 'X\(/\)' \| \
98633 . : '\(.\)' 2>/dev/null ||
98634 echo X"$as_dir" |
98635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98636 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98637 /^X\(\/\/\)$/{ s//\1/; q; }
98638 /^X\(\/\).*/{ s//\1/; q; }
98639 s/.*/./; q'`
98640 done
98641 test ! -n "$as_dirs" || mkdir $as_dirs
98642 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
98643 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
98644 { (exit 1); exit 1; }; }; }
98646 ac_builddir=.
98648 if test "$ac_dir" != .; then
98649 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
98650 # A "../" for each directory in $ac_dir_suffix.
98651 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
98652 else
98653 ac_dir_suffix= ac_top_builddir=
98656 case $srcdir in
98657 .) # No --srcdir option. We are building in place.
98658 ac_srcdir=.
98659 if test -z "$ac_top_builddir"; then
98660 ac_top_srcdir=.
98661 else
98662 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
98663 fi ;;
98664 [\\/]* | ?:[\\/]* ) # Absolute path.
98665 ac_srcdir=$srcdir$ac_dir_suffix;
98666 ac_top_srcdir=$srcdir ;;
98667 *) # Relative path.
98668 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
98669 ac_top_srcdir=$ac_top_builddir$srcdir ;;
98670 esac
98672 # Do not use `cd foo && pwd` to compute absolute paths, because
98673 # the directories may not exist.
98674 case `pwd` in
98675 .) ac_abs_builddir="$ac_dir";;
98677 case "$ac_dir" in
98678 .) ac_abs_builddir=`pwd`;;
98679 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
98680 *) ac_abs_builddir=`pwd`/"$ac_dir";;
98681 esac;;
98682 esac
98683 case $ac_abs_builddir in
98684 .) ac_abs_top_builddir=${ac_top_builddir}.;;
98686 case ${ac_top_builddir}. in
98687 .) ac_abs_top_builddir=$ac_abs_builddir;;
98688 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
98689 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
98690 esac;;
98691 esac
98692 case $ac_abs_builddir in
98693 .) ac_abs_srcdir=$ac_srcdir;;
98695 case $ac_srcdir in
98696 .) ac_abs_srcdir=$ac_abs_builddir;;
98697 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
98698 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
98699 esac;;
98700 esac
98701 case $ac_abs_builddir in
98702 .) ac_abs_top_srcdir=$ac_top_srcdir;;
98704 case $ac_top_srcdir in
98705 .) ac_abs_top_srcdir=$ac_abs_builddir;;
98706 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
98707 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
98708 esac;;
98709 esac
98712 case $INSTALL in
98713 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
98714 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
98715 esac
98717 if test x"$ac_file" != x-; then
98718 { echo "$as_me:$LINENO: creating $ac_file" >&5
98719 echo "$as_me: creating $ac_file" >&6;}
98720 rm -f "$ac_file"
98722 # Let's still pretend it is `configure' which instantiates (i.e., don't
98723 # use $as_me), people would be surprised to read:
98724 # /* config.h. Generated by config.status. */
98725 if test x"$ac_file" = x-; then
98726 configure_input=
98727 else
98728 configure_input="$ac_file. "
98730 configure_input=$configure_input"Generated from `echo $ac_file_in |
98731 sed 's,.*/,,'` by configure."
98733 # First look for the input files in the build tree, otherwise in the
98734 # src tree.
98735 ac_file_inputs=`IFS=:
98736 for f in $ac_file_in; do
98737 case $f in
98738 -) echo $tmp/stdin ;;
98739 [\\/$]*)
98740 # Absolute (can't be DOS-style, as IFS=:)
98741 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98742 echo "$as_me: error: cannot find input file: $f" >&2;}
98743 { (exit 1); exit 1; }; }
98744 echo "$f";;
98745 *) # Relative
98746 if test -f "$f"; then
98747 # Build tree
98748 echo "$f"
98749 elif test -f "$srcdir/$f"; then
98750 # Source tree
98751 echo "$srcdir/$f"
98752 else
98753 # /dev/null tree
98754 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98755 echo "$as_me: error: cannot find input file: $f" >&2;}
98756 { (exit 1); exit 1; }; }
98757 fi;;
98758 esac
98759 done` || { (exit 1); exit 1; }
98760 _ACEOF
98761 cat >>$CONFIG_STATUS <<_ACEOF
98762 sed "$ac_vpsub
98763 $extrasub
98764 _ACEOF
98765 cat >>$CONFIG_STATUS <<\_ACEOF
98767 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
98768 s,@configure_input@,$configure_input,;t t
98769 s,@srcdir@,$ac_srcdir,;t t
98770 s,@abs_srcdir@,$ac_abs_srcdir,;t t
98771 s,@top_srcdir@,$ac_top_srcdir,;t t
98772 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
98773 s,@builddir@,$ac_builddir,;t t
98774 s,@abs_builddir@,$ac_abs_builddir,;t t
98775 s,@top_builddir@,$ac_top_builddir,;t t
98776 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
98777 s,@INSTALL@,$ac_INSTALL,;t t
98778 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
98779 rm -f $tmp/stdin
98780 if test x"$ac_file" != x-; then
98781 mv $tmp/out $ac_file
98782 else
98783 cat $tmp/out
98784 rm -f $tmp/out
98787 # Run the commands associated with the file.
98788 case $ac_file in
98789 scripts/check_survey ) chmod +x scripts/check_survey ;;
98790 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
98791 esac
98792 done
98793 _ACEOF
98794 cat >>$CONFIG_STATUS <<\_ACEOF
98797 # CONFIG_HEADER section.
98800 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
98801 # NAME is the cpp macro being defined and VALUE is the value it is being given.
98803 # ac_d sets the value in "#define NAME VALUE" lines.
98804 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
98805 ac_dB='[ ].*$,\1#\2'
98806 ac_dC=' '
98807 ac_dD=',;t'
98808 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
98809 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
98810 ac_uB='$,\1#\2define\3'
98811 ac_uC=' '
98812 ac_uD=',;t'
98814 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
98815 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98816 case $ac_file in
98817 - | *:- | *:-:* ) # input from stdin
98818 cat >$tmp/stdin
98819 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98820 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98821 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98822 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98823 * ) ac_file_in=$ac_file.in ;;
98824 esac
98826 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
98827 echo "$as_me: creating $ac_file" >&6;}
98829 # First look for the input files in the build tree, otherwise in the
98830 # src tree.
98831 ac_file_inputs=`IFS=:
98832 for f in $ac_file_in; do
98833 case $f in
98834 -) echo $tmp/stdin ;;
98835 [\\/$]*)
98836 # Absolute (can't be DOS-style, as IFS=:)
98837 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98838 echo "$as_me: error: cannot find input file: $f" >&2;}
98839 { (exit 1); exit 1; }; }
98840 # Do quote $f, to prevent DOS paths from being IFS'd.
98841 echo "$f";;
98842 *) # Relative
98843 if test -f "$f"; then
98844 # Build tree
98845 echo "$f"
98846 elif test -f "$srcdir/$f"; then
98847 # Source tree
98848 echo "$srcdir/$f"
98849 else
98850 # /dev/null tree
98851 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98852 echo "$as_me: error: cannot find input file: $f" >&2;}
98853 { (exit 1); exit 1; }; }
98854 fi;;
98855 esac
98856 done` || { (exit 1); exit 1; }
98857 # Remove the trailing spaces.
98858 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
98860 _ACEOF
98862 # Transform confdefs.h into two sed scripts, `conftest.defines' and
98863 # `conftest.undefs', that substitutes the proper values into
98864 # config.h.in to produce config.h. The first handles `#define'
98865 # templates, and the second `#undef' templates.
98866 # And first: Protect against being on the right side of a sed subst in
98867 # config.status. Protect against being in an unquoted here document
98868 # in config.status.
98869 rm -f conftest.defines conftest.undefs
98870 # Using a here document instead of a string reduces the quoting nightmare.
98871 # Putting comments in sed scripts is not portable.
98873 # `end' is used to avoid that the second main sed command (meant for
98874 # 0-ary CPP macros) applies to n-ary macro definitions.
98875 # See the Autoconf documentation for `clear'.
98876 cat >confdef2sed.sed <<\_ACEOF
98877 s/[\\&,]/\\&/g
98878 s,[\\$`],\\&,g
98879 t clear
98880 : clear
98881 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
98882 t end
98883 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
98884 : end
98885 _ACEOF
98886 # If some macros were called several times there might be several times
98887 # the same #defines, which is useless. Nevertheless, we may not want to
98888 # sort them, since we want the *last* AC-DEFINE to be honored.
98889 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
98890 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
98891 rm -f confdef2sed.sed
98893 # This sed command replaces #undef with comments. This is necessary, for
98894 # example, in the case of _POSIX_SOURCE, which is predefined and required
98895 # on some systems where configure will not decide to define it.
98896 cat >>conftest.undefs <<\_ACEOF
98897 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
98898 _ACEOF
98900 # Break up conftest.defines because some shells have a limit on the size
98901 # of here documents, and old seds have small limits too (100 cmds).
98902 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
98903 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
98904 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
98905 echo ' :' >>$CONFIG_STATUS
98906 rm -f conftest.tail
98907 while grep . conftest.defines >/dev/null
98909 # Write a limited-size here document to $tmp/defines.sed.
98910 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
98911 # Speed up: don't consider the non `#define' lines.
98912 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
98913 # Work around the forget-to-reset-the-flag bug.
98914 echo 't clr' >>$CONFIG_STATUS
98915 echo ': clr' >>$CONFIG_STATUS
98916 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
98917 echo 'CEOF
98918 sed -f $tmp/defines.sed $tmp/in >$tmp/out
98919 rm -f $tmp/in
98920 mv $tmp/out $tmp/in
98921 ' >>$CONFIG_STATUS
98922 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
98923 rm -f conftest.defines
98924 mv conftest.tail conftest.defines
98925 done
98926 rm -f conftest.defines
98927 echo ' fi # grep' >>$CONFIG_STATUS
98928 echo >>$CONFIG_STATUS
98930 # Break up conftest.undefs because some shells have a limit on the size
98931 # of here documents, and old seds have small limits too (100 cmds).
98932 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
98933 rm -f conftest.tail
98934 while grep . conftest.undefs >/dev/null
98936 # Write a limited-size here document to $tmp/undefs.sed.
98937 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
98938 # Speed up: don't consider the non `#undef'
98939 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
98940 # Work around the forget-to-reset-the-flag bug.
98941 echo 't clr' >>$CONFIG_STATUS
98942 echo ': clr' >>$CONFIG_STATUS
98943 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
98944 echo 'CEOF
98945 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
98946 rm -f $tmp/in
98947 mv $tmp/out $tmp/in
98948 ' >>$CONFIG_STATUS
98949 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
98950 rm -f conftest.undefs
98951 mv conftest.tail conftest.undefs
98952 done
98953 rm -f conftest.undefs
98955 cat >>$CONFIG_STATUS <<\_ACEOF
98956 # Let's still pretend it is `configure' which instantiates (i.e., don't
98957 # use $as_me), people would be surprised to read:
98958 # /* config.h. Generated by config.status. */
98959 if test x"$ac_file" = x-; then
98960 echo "/* Generated by configure. */" >$tmp/config.h
98961 else
98962 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
98964 cat $tmp/in >>$tmp/config.h
98965 rm -f $tmp/in
98966 if test x"$ac_file" != x-; then
98967 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
98968 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
98969 echo "$as_me: $ac_file is unchanged" >&6;}
98970 else
98971 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98972 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98973 X"$ac_file" : 'X\(//\)[^/]' \| \
98974 X"$ac_file" : 'X\(//\)$' \| \
98975 X"$ac_file" : 'X\(/\)' \| \
98976 . : '\(.\)' 2>/dev/null ||
98977 echo X"$ac_file" |
98978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98979 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98980 /^X\(\/\/\)$/{ s//\1/; q; }
98981 /^X\(\/\).*/{ s//\1/; q; }
98982 s/.*/./; q'`
98983 { if $as_mkdir_p; then
98984 mkdir -p "$ac_dir"
98985 else
98986 as_dir="$ac_dir"
98987 as_dirs=
98988 while test ! -d "$as_dir"; do
98989 as_dirs="$as_dir $as_dirs"
98990 as_dir=`(dirname "$as_dir") 2>/dev/null ||
98991 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98992 X"$as_dir" : 'X\(//\)[^/]' \| \
98993 X"$as_dir" : 'X\(//\)$' \| \
98994 X"$as_dir" : 'X\(/\)' \| \
98995 . : '\(.\)' 2>/dev/null ||
98996 echo X"$as_dir" |
98997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98998 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98999 /^X\(\/\/\)$/{ s//\1/; q; }
99000 /^X\(\/\).*/{ s//\1/; q; }
99001 s/.*/./; q'`
99002 done
99003 test ! -n "$as_dirs" || mkdir $as_dirs
99004 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99005 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99006 { (exit 1); exit 1; }; }; }
99008 rm -f $ac_file
99009 mv $tmp/config.h $ac_file
99011 else
99012 cat $tmp/config.h
99013 rm -f $tmp/config.h
99015 # Compute $ac_file's index in $config_headers.
99016 _am_stamp_count=1
99017 for _am_header in $config_headers :; do
99018 case $_am_header in
99019 $ac_file | $ac_file:* )
99020 break ;;
99022 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
99023 esac
99024 done
99025 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
99026 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99027 X$ac_file : 'X\(//\)[^/]' \| \
99028 X$ac_file : 'X\(//\)$' \| \
99029 X$ac_file : 'X\(/\)' \| \
99030 . : '\(.\)' 2>/dev/null ||
99031 echo X$ac_file |
99032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99033 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99034 /^X\(\/\/\)$/{ s//\1/; q; }
99035 /^X\(\/\).*/{ s//\1/; q; }
99036 s/.*/./; q'`/stamp-h$_am_stamp_count
99037 done
99038 _ACEOF
99039 cat >>$CONFIG_STATUS <<\_ACEOF
99042 # CONFIG_COMMANDS section.
99044 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
99045 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
99046 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
99047 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
99048 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99049 X"$ac_dest" : 'X\(//\)[^/]' \| \
99050 X"$ac_dest" : 'X\(//\)$' \| \
99051 X"$ac_dest" : 'X\(/\)' \| \
99052 . : '\(.\)' 2>/dev/null ||
99053 echo X"$ac_dest" |
99054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99056 /^X\(\/\/\)$/{ s//\1/; q; }
99057 /^X\(\/\).*/{ s//\1/; q; }
99058 s/.*/./; q'`
99059 { if $as_mkdir_p; then
99060 mkdir -p "$ac_dir"
99061 else
99062 as_dir="$ac_dir"
99063 as_dirs=
99064 while test ! -d "$as_dir"; do
99065 as_dirs="$as_dir $as_dirs"
99066 as_dir=`(dirname "$as_dir") 2>/dev/null ||
99067 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99068 X"$as_dir" : 'X\(//\)[^/]' \| \
99069 X"$as_dir" : 'X\(//\)$' \| \
99070 X"$as_dir" : 'X\(/\)' \| \
99071 . : '\(.\)' 2>/dev/null ||
99072 echo X"$as_dir" |
99073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99074 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99075 /^X\(\/\/\)$/{ s//\1/; q; }
99076 /^X\(\/\).*/{ s//\1/; q; }
99077 s/.*/./; q'`
99078 done
99079 test ! -n "$as_dirs" || mkdir $as_dirs
99080 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99081 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99082 { (exit 1); exit 1; }; }; }
99084 ac_builddir=.
99086 if test "$ac_dir" != .; then
99087 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
99088 # A "../" for each directory in $ac_dir_suffix.
99089 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
99090 else
99091 ac_dir_suffix= ac_top_builddir=
99094 case $srcdir in
99095 .) # No --srcdir option. We are building in place.
99096 ac_srcdir=.
99097 if test -z "$ac_top_builddir"; then
99098 ac_top_srcdir=.
99099 else
99100 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
99101 fi ;;
99102 [\\/]* | ?:[\\/]* ) # Absolute path.
99103 ac_srcdir=$srcdir$ac_dir_suffix;
99104 ac_top_srcdir=$srcdir ;;
99105 *) # Relative path.
99106 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
99107 ac_top_srcdir=$ac_top_builddir$srcdir ;;
99108 esac
99110 # Do not use `cd foo && pwd` to compute absolute paths, because
99111 # the directories may not exist.
99112 case `pwd` in
99113 .) ac_abs_builddir="$ac_dir";;
99115 case "$ac_dir" in
99116 .) ac_abs_builddir=`pwd`;;
99117 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
99118 *) ac_abs_builddir=`pwd`/"$ac_dir";;
99119 esac;;
99120 esac
99121 case $ac_abs_builddir in
99122 .) ac_abs_top_builddir=${ac_top_builddir}.;;
99124 case ${ac_top_builddir}. in
99125 .) ac_abs_top_builddir=$ac_abs_builddir;;
99126 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
99127 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
99128 esac;;
99129 esac
99130 case $ac_abs_builddir in
99131 .) ac_abs_srcdir=$ac_srcdir;;
99133 case $ac_srcdir in
99134 .) ac_abs_srcdir=$ac_abs_builddir;;
99135 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
99136 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
99137 esac;;
99138 esac
99139 case $ac_abs_builddir in
99140 .) ac_abs_top_srcdir=$ac_top_srcdir;;
99142 case $ac_top_srcdir in
99143 .) ac_abs_top_srcdir=$ac_abs_builddir;;
99144 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
99145 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
99146 esac;;
99147 esac
99150 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
99151 echo "$as_me: executing $ac_dest commands" >&6;}
99152 case $ac_dest in
99153 default-1 )
99154 # Only add multilib support code if we just rebuilt the top-level
99155 # Makefile.
99156 case " $CONFIG_FILES " in
99157 *" Makefile "*)
99158 ac_file=Makefile . ${multi_basedir}/config-ml.in
99160 esac ;;
99161 default ) if test -n "$CONFIG_FILES"; then
99162 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
99163 # that multilib installs will end up installed in the correct place.
99164 # The testsuite needs it for multilib-aware ABI baseline files.
99165 # To work around this not being passed down from config-ml.in ->
99166 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
99167 # append it here. Only modify Makefiles that have just been created.
99169 # Also, get rid of this simulated-VPATH thing that automake does.
99170 cat > vpsed << \_EOF
99171 s!`test -f '$<' || echo '$(srcdir)/'`!!
99172 _EOF
99173 for i in $SUBDIRS; do
99174 case $CONFIG_FILES in
99175 *${i}/Makefile*)
99176 #echo "Adding MULTISUBDIR to $i/Makefile"
99177 sed -f vpsed $i/Makefile > tmp
99178 grep '^MULTISUBDIR =' Makefile >> tmp
99179 mv tmp $i/Makefile
99181 esac
99182 done
99183 rm vpsed
99185 (cd include && ${MAKE-make})
99187 esac
99188 done
99189 _ACEOF
99191 cat >>$CONFIG_STATUS <<\_ACEOF
99193 { (exit 0); exit 0; }
99194 _ACEOF
99195 chmod +x $CONFIG_STATUS
99196 ac_clean_files=$ac_clean_files_save
99199 # configure is writing to config.log, and then calls config.status.
99200 # config.status does its own redirection, appending to config.log.
99201 # Unfortunately, on DOS this fails, as config.log is still kept open
99202 # by configure, so config.status won't be able to write to it; its
99203 # output is simply discarded. So we exec the FD to /dev/null,
99204 # effectively closing config.log, so it can be properly (re)opened and
99205 # appended to by config.status. When coming back to configure, we
99206 # need to make the FD available again.
99207 if test "$no_create" != yes; then
99208 ac_cs_success=:
99209 ac_config_status_args=
99210 test "$silent" = yes &&
99211 ac_config_status_args="$ac_config_status_args --quiet"
99212 exec 5>/dev/null
99213 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
99214 exec 5>>config.log
99215 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
99216 # would make configure fail if this is the last instruction.
99217 $ac_cs_success || { (exit 1); exit 1; }